Unlock instant, AI-driven research and patent intelligence for your innovation.

Source code compiling method, executable file running method and terminal equipment

A technology for executing files and compiling methods, which is applied in the computer field and can solve the problems of low storage space utilization rate of terminal equipment, difficulty in meeting storage requirements, and occupying storage space, etc.

Pending Publication Date: 2020-10-13
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, executable files stored in terminal devices often have target parameters, and the target parameters are only used in the preset phase (for example, initialization phase) of the execution of the executable file. During the running of the executable file, when the above After the preset phase is over, the target parameter is no longer used, but it still occupies the storage space. When there are multiple target parameters, each target parameter is often scattered and stored. Even if the terminal device executes the storage space release operation, it can only It is difficult to meet other subsequent storage needs by obtaining small pieces of storage space scattered and distributed
[0003] Therefore, during the running of the current executable file, there is a technical problem of low utilization rate of the storage space of the terminal device.

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
  • Source code compiling method, executable file running method and terminal equipment
  • Source code compiling method, executable file running method and terminal equipment
  • Source code compiling method, executable file running method and terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] A source code compiling method provided by Embodiment 1 of the present application is described below, please refer to the attached figure 1 , the source code compilation method includes:

[0047] In step S101, determine the target parameter contained in the source code to be compiled, the target parameter is a parameter used only in the preset stage of execution of the executable file, and the executable file is the compiled file corresponding to the compiled source code .

[0048] In the embodiment of this application, the number of "target parameters" determined in step S101 may be multiple or one, and this application does not limit the number of the above-mentioned target parameters determined.

[0049] The inventive idea of ​​the embodiment of the present application is to continuously store the parameters used only in the preset stage of the execution of the executable file, so that after the preset stage is over, the terminal device that executes the executable...

Embodiment 2

[0075] The following describes the execution method of the executable file provided by the second embodiment of the application, please refer to the attached figure 2 , the run method includes:

[0076] In step S201, an executable file containing a target parameter is obtained, the target parameter is a parameter used only in the preset stage of running the executable file, and the executable file is used to indicate that in the executable file During operation, a storage address for storing the target parameter, wherein the storage space corresponding to the storage address is a continuous storage space;

[0077] In the second embodiment of the present application, the executable file obtained in the above step S201 can be obtained through the step S103 in the above embodiment one, such as image 3 As shown, the terminal device 300 is a terminal device that runs the executable file running method described in the second embodiment of the present application, wherein the exe...

Embodiment 3

[0087] Such as Figure 4 As shown, it is a schematic structural diagram of a source code compiling device provided in Embodiment 3 of the present application. For the convenience of description, only the parts related to the embodiment of the present application are shown. The source code compiling device 400 includes:

[0088] The target parameter determination module 401 is used to determine the target parameter contained in the source code to be compiled, the target parameter is a parameter used only in the preset stage of execution of the executable file, and the executable file is the source code corresponding to the source code to be compiled compiled file;

[0089] A storage address determining module 402, configured to determine a storage address for storing the target parameter when the compiled executable file is running when compiling the source code to be compiled, wherein the storage address corresponds to The storage space of is continuous storage space;

[009...

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 a source code compiling method, an executable file running method and terminal equipment. The source code compiling method comprises the steps: determining a target parameter contained in a to-be-compiled source code, wherin the target parameter is a parameter only used in a preset stage of executable file operation, and an executable file is a compiled file corresponding to the to-be-compiled source code; when the to-be-compiled source code is compiled, determining a storage address used for storing the target parameter when the compiled executable file runs, wherein astorage space corresponding to the storage address is a continuous storage space; and generating the executable file based on the storage address. According to the method and the apparatus, the technical problem of low utilization rate of the storage space of the terminal device in the current executable file running process can be solved to a certain extent.

Description

technical field [0001] The application belongs to the field of computer technology, and in particular relates to a source code compiling method, an executable file running method and a terminal device. Background technique [0002] At present, executable files stored in terminal devices often have target parameters, and the target parameters are only used in the preset phase (for example, initialization phase) of the execution of the executable file. During the running of the executable file, when the above After the preset phase is over, the target parameter is no longer used, but it still occupies the storage space. When there are multiple target parameters, each target parameter is often scattered and stored. Even if the terminal device executes the storage space release operation, it can only It is difficult to meet other subsequent storage needs by obtaining small pieces of storage space scattered and distributed. [0003] Therefore, in the current execution process of...

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): G06F8/41
CPCG06F8/41
Inventor 胡彦飞
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD