Method and device for adding parameters in published program
A technology of parameters and programs, which is applied in the computer field, can solve problems such as the cumbersome program modification process, and achieve the effect of solving the cumbersome modification process and saving the release process
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0054] refer to figure 1 , figure 1 It is a schematic flowchart of a method for adding parameters in a released program in an embodiment of the present invention.
[0055] In this embodiment, the method for adding parameters in the published program is applied to the client, and the method includes:
[0056] Step S10: Obtain target parameter information from the associated service program.
[0057] The purpose of this step is to obtain the target parameter information sent by the server at any time through the service program.
[0058] The execution subject of this embodiment is the client, the client program of the client is a published program, and the service program is a group of programs compiled to provide service means for users to maintain and use computers. In order to assist the client to receive data at any time, a windows service program associated with the client is created through the system API. The service program is released together with the client program...
no. 2 example
[0113] Based on the same inventive idea, such as figure 2 As shown, the embodiment of the present invention also provides a device for adding parameters in a published program, including:
[0114] An information acquisition module 10, configured to acquire target parameter information from an associated service program;
[0115] The positioning module 20 is configured to extract the target parameter and the data type of the target parameter from the target parameter information, and obtain the first address in memory of the target function to which the target parameter belongs according to the target parameter information;
[0116] The first allocation module 30 is configured to obtain the data size of the target parameter according to the data type, and allocate a corresponding size of data memory space for the target parameter according to the data size;
[0117] The second allocation module 40 is configured to allocate a piece of code memory space corresponding to the dat...
no. 3 example
[0131] Based on the same inventive idea, such as image 3 As shown, the embodiment of the present invention also provides a computer-readable storage medium 300, on which a computer program 311 is stored, and when the program 311 is executed by a processor, the following steps are implemented:
[0132] Acquiring the target parameter information from the associated service program; extracting the target parameter and the data type of the target parameter from the target parameter information, and obtaining the target function in memory to which the target parameter belongs according to the target parameter information The first address; obtain the data size of the target parameter according to the data type, and allocate a corresponding size of data memory space for the target parameter according to the data size; allocate a section of code memory space corresponding to the data memory space , and set the attribute of the code memory space to PAGE_EXECUTE_READWRITE; read the as...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com