CN102841782A - Global variable managing method and device - Google Patents

Global variable managing method and device Download PDF

Info

Publication number
CN102841782A
CN102841782A CN2011101716405A CN201110171640A CN102841782A CN 102841782 A CN102841782 A CN 102841782A CN 2011101716405 A CN2011101716405 A CN 2011101716405A CN 201110171640 A CN201110171640 A CN 201110171640A CN 102841782 A CN102841782 A CN 102841782A
Authority
CN
China
Prior art keywords
global variable
development platform
write
pattern
return function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011101716405A
Other languages
Chinese (zh)
Other versions
CN102841782B (en
Inventor
开平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201110171640.5A priority Critical patent/CN102841782B/en
Publication of CN102841782A publication Critical patent/CN102841782A/en
Application granted granted Critical
Publication of CN102841782B publication Critical patent/CN102841782B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

The embodiment of the invention discloses a global variable managing method and a global variable managing device, relating to the field of computers and capable of making different platforms adopt a united global variable using way and improving the transplantability of platform codes. The global variable managing method comprises the following steps of: inquiring whether a development platform supports the global variable using way; if the development platform supports the global variable using way, declaring, defining and invoking a global variable of the development platform through macro definition; and if the development platform does not support the global variable using way, defining and storing a structural body of the global variable for the development platform, and declaring, defining and invoking the global variable of the development platform in a form return function through the macro definition, wherein the return function is a function for acquiring the global variable from the structural body. The global variable managing method and the global variable managing device are mainly applied to a global variable using process.

Description

Global variable management method and device
Technical field
The present invention relates to computer realm, relate in particular to a kind of global variable management method and device.
Background technology
The terminal development platform is many at present; Each platform is different to the support pattern of development language global variable; Usually platform is supported global variable to MTK (a kind of cell phone platform of Lian Fake company exploitation is widely used in the non intelligent cell phone system of home-made cellphone), and a plurality of middleware platforms that on MTK, move; Some supports the use-pattern of global variable, and another part is not then supported the use-pattern of global variable.If do not support the global variable use-pattern, the global variable that all need be used all will be initialised to when program start in the plateform system environment, when needs use, obtains through unified public function interface again.
State in realization in the process of global variable use; The inventor finds to have following problem in the prior art at least: because the part development platform is supported the use-pattern of global variable; The part development platform is not then supported the use-pattern of global variable; Cause the software of exploitation bigger, make the portable relatively poor of platform code in the implementation difference of different platform.
Summary of the invention
In view of this, embodiments of the invention provide a kind of global variable management method and device, can make different platform take unified full dose variable use-pattern, improve the portability of platform code.
For achieving the above object, embodiments of the invention adopt following technical scheme:
On the one hand, embodiments of the invention provide a kind of global variable management method, comprising:
Whether the inquiry development platform supports the global variable use-pattern;
If said development platform is supported the global variable use-pattern, then through macro definition realize said development platform global variable statement, define and call;
If said development platform is not supported the global variable use-pattern; It then is the structure of said development platform definition storage global variable; Through macro definition and with the form of return function realize said development platform global variable statement, define and call, said return function is for obtaining the function of global variable from said structure.
On the other hand, embodiments of the invention provide a kind of global variable management devices, comprising:
Query unit is used to inquire about development platform and whether supports the global variable use-pattern;
First definition unit is used for inquiring said development platform when supporting the global variable use-pattern in said query unit, through macro definition realize said development platform global variable statement, define and call;
Second definition unit; Be used for inquiring said development platform when not supporting the global variable use-pattern in said query unit; Structure for said development platform definition storage global variable; Through macro definition and with the form of return function realize said development platform global variable statement, define and call, said return function is for obtaining the function of global variable from said structure.
With respect to prior art; The technical scheme that the embodiment of the invention provides can not supported under the situation of global variable use-pattern in development platform; Through being the structure of said development platform definition storage global variable, through macro definition and with the form of return function realize said development platform global variable statement, define and call; Make the development platform of not supporting the global variable use-pattern when global variable being stated, defining and call, use identical definition form with the development platform of supporting the global variable use-pattern; Thereby make different platform can take unified full dose variable use-pattern, improved the portability of platform code.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The schematic flow sheet of the global variable management method that Fig. 1 provides for the embodiment of the invention;
The structural framing figure of the global variable management devices that Fig. 2 provides for the embodiment of the invention;
The structural framing figure of another global variable management devices that Fig. 3 provides for the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Embodiment 1
The embodiment of the invention provides a kind of global variable management method, and is as shown in Figure 1, and the method comprising the steps of 101,102, and 103.
101, whether the inquiry development platform supports the global variable use-pattern; If said development platform is supported the global variable use-pattern, then execution in step 102; If said development platform is not supported the global variable use-pattern, then execution in step 103.
102, through macro definition realize said development platform global variable statement, define and call.
Wherein, said through macro definition realize said development platform global variable statement, define and call and can realize through following mode, comprising:
Saidly realize being claimed as of said development platform global variable: in the parameter in a macrodefinition tabulation, write the type and the global variable name of global variable, and in macrodefined character string, write the statement global variable through macro definition.Macro definition with the C language is an example, saidly realizes the statement of said development platform global variable through macro definition, specifically can for:
#define?DECLARE_GLOBE_VARIABLE(type,name)extern?type?name
Wherein, need to prove that the macrodefined set form that has parameter is: the grand name of #define (parameter list) character string, for example: #define S (a, b) a*b; In program, be applied as area=S (3,2); Then its macrodefined being implemented as: first step area=S (3,2) is changed to area=a*b; The second step area=S (3,2) is changed to area=3*2.In the embodiment of the invention, DECLARE_GLOBE_VARIABLE is grand name; Parameter list comprises type and name, and type is the type of global variable, and name is the variable name of global variable; Character string is extern type name, the global variable that the expression statement is a type.
Saidly realize being defined as of said development platform global variable: in the parameter in a macrodefinition tabulation, write the initial value of type, global variable name and the said global variable of global variable, and in macrodefined character string, write the type of global variable and to the assignment of said global variable through macro definition.Macro definition with the C language is an example, saidly realize the definition of said development platform global variable through macro definition, specifically can be #define DEFINE_GLOBE_VARIABLE (type, name, val) type name=val.Wherein, DEFINE_GLOBE_VARIABLE is grand name; Parameter list comprises type, name and val, and val is the initial value of global variable; Type name=val is a character string, is expressed as one type global variable initialize.
Said through macro definition realize said development platform global variable call for: in parameter in a macrodefinition tabulation, write the global variable name, in macrodefined character string, write said global variable name.Macro definition with the C language is an example, saidly realize calling of said development platform global variable through macro definition, specifically can be #define GLOBE (name) name; Wherein, GLOBE is grand name; Parameter list comprises name; Character string is name.
103, be the structure of said development platform definition storage global variable; Through macro definition and with the form of return function realize said development platform global variable statement, define and call, said return function is for obtaining the function of global variable from said structure.
Wherein, be the structure of said development platform definition storage global variable, this structure can be expressed as following form, but the embodiment of the invention do not limit this, and the definition form of any structure body can be applied in the embodiment of the invention.
typedef?struct_GlobeVariable{
int?var;
int?var2
}GlobeVariable;
Wherein, said through macro definition and with the form of return function realize said development platform global variable statement, define and call, can realize through following mode, comprising:
Saidly realize being claimed as of said development platform global variable: in the parameter in a macrodefinition tabulation, write the type and the global variable name of global variable, and in macrodefined character string, write statement with the global variable of return function form through macro definition and with the form of return function.For example, be example with the macro definition of C language, saidly realize the statement of said development platform global variable through macro definition and with the form of return function, specifically can for:
#define?DECLARE_GLOBE_VARIABLE(type,name)extern type*?FUN_GLOBE_VARIABLE_##name(QQVOID);
Wherein, DECLARE_GLOBE_VARIABLE is grand name; Parameter list comprises type and name; Character string is extern type*FUN_GLOBE_VARIABLE_##name (QQVOID), and FUN_GLOBE_VARIABLE_##name (QQVOID) is for obtaining the function of global variable from said structure.
Saidly realize being defined as of said development platform global variable: in the parameter in a macrodefinition tabulation, write the initial value of type, global variable name and the said global variable of global variable, and in macrodefined character string, write the assignment of global variable of type and the return function form of global variable through macro definition and with the form of return function.Macro definition with the C language is an example, saidly realizes the definition of said development platform global variable through macro definition and with the form of return function, specifically can for:
#define?DEFINE_GLOBE_VARIABLE(type,name,val)type*
FUN_GLOBE_VARIABLE_##name(QQVOID);
Wherein, DEFINE_GLOBE_VARIABLE is grand name; Parameter list comprises type, name and val, and val is the initial value of global variable; Type*FUN_GLOBE_VARIABLE_##name (QQVOID) is a character string, is expressed as one type global variable initialize.
Said through macro definition and with the form of return function realize said development platform global variable call for: in the parameter in a macrodefinition tabulation, write the global variable name, in macrodefined character string, write the global variable of return function form.Macro definition with the C language is an example, saidly realizes calling of said development platform global variable through macro definition and with the form of return function, specifically can for:
#define?GLOBE(name)(*FUN_GLOBE_VARIABLE_##name());
Wherein, GLOBE is grand name; Parameter list comprises name; Character string is (* FUN_GLOBE_VARIABLE_##name ()).
Further, said FUN_GLOBE_VARIABLE_##name () can be defined as following form, comprising:
type*FUN_GLOBE_VARIABLE_##name(){
return&(QGetGlobeVar?iable()->name);
}。
Further; When the application program of global variable use-pattern development platform is supported in the development platform operation of not supporting the global variable use-pattern; Obtain the global variable information of the application program of said support global variable use-pattern development platform; Said global variable information is kept in the said structure, so that the said said application program of development platform successful operation of not supporting the global variable use-pattern.
Wherein, obtain the global variable information of the application program of supporting global variable use-pattern development platform, can obtain through programmer's manual work, can obtain through the code of scanning application program yet, in the specific implementation, the embodiment of the invention does not limit this.
In the embodiment of the invention; Do not support in development platform under the situation of global variable use-pattern; Through being the structure of said development platform definition storage global variable, through macro definition and with the form of return function realize said development platform global variable statement, define and call; Make the development platform of not supporting the global variable use-pattern and the development platform of supporting the global variable use-pattern; When global variable being stated, defining and call, use identical definition form; Thereby make different platform can take unified full dose variable use-pattern; Improve the portability of platform code, reduced the cost of a plurality of development platform code developments and transplanting.
Embodiment 2
The embodiment of the invention provides a kind of global variable management devices, and is as shown in Figure 2, and this device comprises: query unit 21, first definition unit 22, second definition unit 23.
Query unit 21 is used to inquire about development platform and whether supports the global variable use-pattern.
First definition unit 22 is used for inquiring said development platform when supporting the global variable use-pattern in said query unit 21, through macro definition realize said development platform global variable statement, define and call.
Wherein, said first definition unit 22 through macro definition realize said development platform global variable statement, define and call specifically and can realize through following mode, comprising:
Saidly realize being claimed as of said development platform global variable: in the parameter in a macrodefinition tabulation, write the type and the global variable name of global variable, and in macrodefined character string, write the statement global variable through macro definition; Wherein, said first definition unit 22 realize through macro definition said development platform global variable statement concrete for example, the corresponding description in the step 102 in can reference implementation example 1, the embodiment of the invention will repeat no more here.
Saidly realize being defined as of said development platform global variable: in the parameter in a macrodefinition tabulation, write the initial value of type, global variable name and the said global variable of global variable, and in macrodefined character string, write the type of global variable and to the assignment of said global variable through macro definition; Wherein, said first definition unit 22 realize through macro definition said development platform global variable definition concrete for example, the corresponding description in the step 102 in can reference implementation example 1, the embodiment of the invention will repeat no more here.
Said through macro definition realize said development platform global variable call for: in parameter in a macrodefinition tabulation, write the global variable name, in macrodefined character string, write said global variable name.Wherein, said first definition unit 22 through macro definition realize said development platform global variable call concrete for example, the corresponding description in the step 102 in can reference implementation example 1, the embodiment of the invention will repeat no more here.
Second definition unit 23; Be used for inquiring said development platform when not supporting the global variable use-pattern in said query unit 21; Structure for said development platform definition storage global variable; Through macro definition and with the form of return function realize said development platform global variable statement, define and call, said return function is for obtaining the function of global variable from said structure.
Wherein, said second definition unit 23 through macro definition and with the form of return function realize said development platform global variable statement, define and call specifically and can realize through following mode, comprising:
Saidly realize being claimed as of said development platform global variable: in the parameter in a macrodefinition tabulation, write the type and the global variable name of global variable, and in macrodefined character string, write statement with the global variable of return function form through macro definition and with the form of return function; Wherein, said second definition unit 23 is realized statement for example concrete of said development platform global variable through macro definition and with the form of return function, the corresponding description in the step 103 in can reference implementation example 1, and the embodiment of the invention will repeat no more here.
Saidly realize being defined as of said development platform global variable: in the parameter in a macrodefinition tabulation, write the initial value of type, global variable name and the said global variable of global variable, and in macrodefined character string, write the assignment of global variable of type and the return function form of global variable through macro definition and with the form of return function; Wherein, said second definition unit 23 is realized definition for example concrete of said development platform global variable through macro definition and with the form of return function, the corresponding description in the step 103 in can reference implementation example 1, and the embodiment of the invention will repeat no more here.
Said through macro definition and with the form of return function realize said development platform global variable call for: in the parameter in a macrodefinition tabulation, write the global variable name, in macrodefined character string, write the global variable of return function form.Wherein, said second definition unit 23 through macro definition and with the form of return function realize said development platform global variable call for example concrete, the corresponding description in the step 103 in can reference implementation example 1, the embodiment of the invention will repeat no more here.
Further, as shown in Figure 3, this device also can comprise: acquiring unit 24, storage unit 25.
Acquiring unit 24 is used for when the application program of global variable use-pattern development platform is supported in the development platform operation of not supporting the global variable use-pattern, obtaining the global variable information of the application program of said support global variable use-pattern development platform.Wherein, Said acquiring unit 24 obtains the global variable information of the application program of supporting global variable use-pattern development platform, can obtain through programmer's manual work, also can obtain through the code of scanning application program; In the specific implementation, the embodiment of the invention does not limit this.
Storage unit 25 is used for the said global variable information that said acquiring unit 24 obtains is kept at said structure, so that the said said application program of development platform successful operation of not supporting the global variable use-pattern.
In the embodiment of the invention; Do not support in development platform under the situation of global variable use-pattern; Through being the structure of said development platform definition storage global variable, through macro definition and with the form of return function realize said development platform global variable statement, define and call; Make the development platform of not supporting the global variable use-pattern and the development platform of supporting the global variable use-pattern; When global variable being stated, defining and call, use identical definition form; Thereby make different platform can take unified full dose variable use-pattern; Improve the portability of platform code, reduced the cost of a plurality of development platform code developments and transplanting.
Through the description of above embodiment, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential common hardware, can certainly pass through hardware, but the former is better embodiment under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product, and this computer software product is stored in the storage medium that can read, like the floppy disk of computing machine; Hard disk or CD etc.; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of said claim.

Claims (8)

1. a global variable management method is characterized in that, comprising:
Whether the inquiry development platform supports the global variable use-pattern;
If said development platform is supported the global variable use-pattern, then through macro definition realize said development platform global variable statement, define and call;
If said development platform is not supported the global variable use-pattern; It then is the structure of said development platform definition storage global variable; Through macro definition and with the form of return function realize said development platform global variable statement, define and call, said return function is for obtaining the function of global variable from said structure.
2. method according to claim 1 is characterized in that, said through macrodefined mode realize said development platform global variable statement, define and call and comprise:
Saidly realize being claimed as of said development platform global variable: in the parameter in a macrodefinition tabulation, write the type and the global variable name of global variable, and in macrodefined character string, write the statement global variable through macro definition;
Saidly realize being defined as of said development platform global variable: in the parameter in a macrodefinition tabulation, write the initial value of type, global variable name and the said global variable of global variable, and in macrodefined character string, write the type of global variable and to the assignment of said global variable through macro definition;
Said through macro definition realize said development platform global variable call for: in parameter in a macrodefinition tabulation, write the global variable name, in macrodefined character string, write said global variable name.
3. method according to claim 1 and 2 is characterized in that, said through macro definition and with the form of return function realize said development platform global variable statement, define and call and comprise:
Saidly realize being claimed as of said development platform global variable: in the parameter in a macrodefinition tabulation, write the type and the global variable name of global variable, and in macrodefined character string, write statement with the global variable of return function form through macro definition and with the form of return function;
Saidly realize being defined as of said development platform global variable: in the parameter in a macrodefinition tabulation, write the initial value of type, global variable name and the said global variable of global variable, and in macrodefined character string, write the assignment of global variable of type and the return function form of global variable through macro definition and with the form of return function;
Said through macro definition and with the form of return function realize said development platform global variable call for: in the parameter in a macrodefinition tabulation, write the global variable name, in macrodefined character string, write the global variable of return function form.
4. method according to claim 1; It is characterized in that; When the application program of global variable use-pattern development platform is supported in the development platform operation of not supporting the global variable use-pattern; Obtain the global variable information of the application program of said support global variable use-pattern development platform, said global variable information is kept in the said structure, so that the said said application program of development platform successful operation of not supporting the global variable use-pattern.
5. a global variable management devices is characterized in that, comprising:
Query unit is used to inquire about development platform and whether supports the global variable use-pattern;
First definition unit is used for inquiring said development platform when supporting the global variable use-pattern in said query unit, through macro definition realize said development platform global variable statement, define and call;
Second definition unit; Be used for inquiring said development platform when not supporting the global variable use-pattern in said query unit; Structure for said development platform definition storage global variable; Through macro definition and with the form of return function realize said development platform global variable statement, define and call, said return function is for obtaining the function of global variable from said structure.
6. device according to claim 5 is characterized in that, said first definition unit is used for,
Saidly realize being claimed as of said development platform global variable: in the parameter in a macrodefinition tabulation, write the type and the global variable name of global variable, and in macrodefined character string, write the statement global variable through macro definition;
Saidly realize being defined as of said development platform global variable: in the parameter in a macrodefinition tabulation, write the initial value of type, global variable name and the said global variable of global variable, and in macrodefined character string, write the type of global variable and to the assignment of said global variable through macro definition;
Said through macro definition realize said development platform global variable call for: in parameter in a macrodefinition tabulation, write the global variable name, in macrodefined character string, write said global variable name.
7. according to claim 5 or 6 described devices, it is characterized in that said second definition unit is used for,
Saidly realize being claimed as of said development platform global variable: in the parameter in a macrodefinition tabulation, write the type and the global variable name of global variable, and in macrodefined character string, write statement with the global variable of return function form through macro definition and with the form of return function;
Saidly realize being defined as of said development platform global variable: in the parameter in a macrodefinition tabulation, write the initial value of type, global variable name and the said global variable of global variable, and in macrodefined character string, write the assignment of global variable of type and the return function form of global variable through macro definition and with the form of return function;
Said through macro definition and with the form of return function realize said development platform global variable call for: in the parameter in a macrodefinition tabulation, write the global variable name, in macrodefined character string, write the global variable of return function form.
8. device according to claim 5 is characterized in that, also comprises:
Acquiring unit is used for when the application program of global variable use-pattern development platform is supported in the development platform operation of not supporting the global variable use-pattern, obtaining the global variable information of the application program of said support global variable use-pattern development platform;
Storage unit is used for the said global variable information that said acquiring unit obtains is kept at said structure, so that the said said application program of development platform successful operation of not supporting the global variable use-pattern.
CN201110171640.5A 2011-06-23 2011-06-23 global variable management method and device Active CN102841782B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110171640.5A CN102841782B (en) 2011-06-23 2011-06-23 global variable management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110171640.5A CN102841782B (en) 2011-06-23 2011-06-23 global variable management method and device

Publications (2)

Publication Number Publication Date
CN102841782A true CN102841782A (en) 2012-12-26
CN102841782B CN102841782B (en) 2017-08-01

Family

ID=47369187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110171640.5A Active CN102841782B (en) 2011-06-23 2011-06-23 global variable management method and device

Country Status (1)

Country Link
CN (1) CN102841782B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786525A (en) * 2016-03-23 2016-07-20 鼎点视讯科技有限公司 Method and device for transplanting code from process model to thread model
CN106293864A (en) * 2016-08-01 2017-01-04 惠州华阳通用电子有限公司 A kind of implantation method of inter-vehicle information system development platform functional module
CN106407111A (en) * 2016-09-07 2017-02-15 努比亚技术有限公司 Terminal test apparatus, terminal test device and variable maintenance method
CN107450803A (en) * 2017-07-31 2017-12-08 武汉斗鱼网络科技有限公司 The effect implementation method that links and device
CN110705715A (en) * 2019-09-27 2020-01-17 北京迈格威科技有限公司 Hyper-parameter management method and device and electronic equipment
CN111859312A (en) * 2020-08-06 2020-10-30 泉芯集成电路制造(济南)有限公司 Protection method and device for initial parameter value

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030046673A1 (en) * 2001-06-29 2003-03-06 Microsoft Corporation Linktime recognition of alternative implementations of programmed functionality
CN1499362A (en) * 2002-10-24 2004-05-26 国际商业机器公司 System and device for addressing global variable by using multiple codes in integrated executable program of isomeric system structure
CN1957328A (en) * 2000-03-20 2007-05-02 凤凰技术有限公司 A software development system that presents a logical view of project components, facilitates their selection, and signals missing links prior to compilation
CN101807157A (en) * 2010-03-30 2010-08-18 南京恩瑞特实业有限公司 Defensive programming method based on function access global variables

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1957328A (en) * 2000-03-20 2007-05-02 凤凰技术有限公司 A software development system that presents a logical view of project components, facilitates their selection, and signals missing links prior to compilation
US20030046673A1 (en) * 2001-06-29 2003-03-06 Microsoft Corporation Linktime recognition of alternative implementations of programmed functionality
CN1499362A (en) * 2002-10-24 2004-05-26 国际商业机器公司 System and device for addressing global variable by using multiple codes in integrated executable program of isomeric system structure
CN101807157A (en) * 2010-03-30 2010-08-18 南京恩瑞特实业有限公司 Defensive programming method based on function access global variables

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
MARK15021: "Symbian全局变量处理(global variable)", 《HTTP://BLOG.SINA.COM.CN/S/BLOG_5CCFD2D50100BMBN.HTML》 *
PGPLAY: "在Windows下用MinGW编译OpenSSL,及OpenSSL静态链接库libcrypto.a使用问题", 《HTTP://BLOG.CSDN.NET/PGPLAY/ARTICLE/DETAILS/5081768》 *
张绘国: "AVS-M解码在BREW平台上的实现", 《电视技术》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786525A (en) * 2016-03-23 2016-07-20 鼎点视讯科技有限公司 Method and device for transplanting code from process model to thread model
CN105786525B (en) * 2016-03-23 2019-01-25 鼎点视讯科技有限公司 A kind of process model transplants the method and device of code to threading model
CN106293864A (en) * 2016-08-01 2017-01-04 惠州华阳通用电子有限公司 A kind of implantation method of inter-vehicle information system development platform functional module
CN106293864B (en) * 2016-08-01 2019-05-14 惠州华阳通用电子有限公司 A kind of transplantation method of inter-vehicle information system development platform functional module
CN106407111A (en) * 2016-09-07 2017-02-15 努比亚技术有限公司 Terminal test apparatus, terminal test device and variable maintenance method
CN107450803A (en) * 2017-07-31 2017-12-08 武汉斗鱼网络科技有限公司 The effect implementation method that links and device
CN110705715A (en) * 2019-09-27 2020-01-17 北京迈格威科技有限公司 Hyper-parameter management method and device and electronic equipment
CN110705715B (en) * 2019-09-27 2023-04-18 北京迈格威科技有限公司 Hyper-parameter management method and device and electronic equipment
CN111859312A (en) * 2020-08-06 2020-10-30 泉芯集成电路制造(济南)有限公司 Protection method and device for initial parameter value
CN111859312B (en) * 2020-08-06 2022-12-30 泉芯集成电路制造(济南)有限公司 Protection method and device for initial parameter value

Also Published As

Publication number Publication date
CN102841782B (en) 2017-08-01

Similar Documents

Publication Publication Date Title
RU2595890C2 (en) Method and device for execution of user activity commands
CN102841782A (en) Global variable managing method and device
KR101643022B1 (en) Catalog-based software component management
CN101276271A (en) Method and interceptor system facing to tangent plane programming
CN103235685A (en) Method and device for setting desktop content of terminal operating system
CN102457541A (en) System and method for avoiding resource competition during starting diskless workstation
CN104834555A (en) Method for invoking functional module, related device and device repairing method
CN101763418A (en) File resource access method and device
CN109669692B (en) Source code sharing method, server, computer readable storage medium and system
CN102810184A (en) Method and device for dynamically executing workflow and enterprise system
CN101788906A (en) Resource management method and system thereof
CN111124288A (en) VPD storage management method, device, equipment and readable storage medium
CN112035112A (en) Application program development method, system, medium and electronic device
CN105320558A (en) Mobile terminal and start method thereof
KR20080039080A (en) Terminal having an interfacing function of the heterogeneity language compile library, api calling method and compile function generating method
CN107179903B (en) System and method for developing mobile-based applications using model-driven development
CN101577713B (en) Realization method, device and testing system for virtual user identification module
CN107562499A (en) Using the method, apparatus and computer-readable recording medium of loading
CN101339508A (en) Java2 miniature edition application operation method and device
CN112948247A (en) Processing method, system, device and medium for operation playback of application program
CN104375832A (en) Underlying hardware shielding device and method for computer
CN102054005A (en) Method and device for loading file
CN105740009B (en) Version upgrading method and terminal device
CN1703675B (en) Accelerating multimedia content
CN101387963A (en) Method and system for optimizing system integration

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant