CN103645928A - Software function module processing method and system - Google Patents
Software function module processing method and system Download PDFInfo
- Publication number
- CN103645928A CN103645928A CN201310656214.XA CN201310656214A CN103645928A CN 103645928 A CN103645928 A CN 103645928A CN 201310656214 A CN201310656214 A CN 201310656214A CN 103645928 A CN103645928 A CN 103645928A
- Authority
- CN
- China
- Prior art keywords
- function
- configuration file
- software
- dynamic base
- new
- 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.)
- Pending
Links
Images
Abstract
The invention provides a software function module processing method which is applied to the technical field of computer application. The software function module processing method includes the following steps: compiling codes of the new functions into dynamic libraries, adding the dynamic libraries to a software dynamic loading category, modifying a configuration file, additionally configuring names of the new functions and names of the dynamic libraries corresponding to the new functions, and when software operates the new functions, according to the modified configuration file, determining the corresponding dynamic libraries, and operating the dynamic libraries. By means of the technical scheme of the software function module processing method, the new functions can be added without stopping operating the software.
Description
Technical field
The present invention relates to Computer Applied Technology field, relate in particular to a kind of software function module disposal route and system.
Background technology
Along with the development of computing machine and mechanics of communication, the increasingly sophisticated and diversity of software function, impels the frequency that new function increases to strengthen.
Traditional solution is: stop running software, increase new function code, compiling fresh code, restarts software.But the software that has specific (special) requirements for some, is that can not to stop software excessively long-time, and software is crossed long termination, can cause a large amount of economic losses; Especially for the software of some service class, due to the continuity of business, can not stop the operation of software.
Summary of the invention
The invention provides a kind of software function module disposal route and system, to address the above problem.
The invention provides a kind of software function module disposal route.Said method comprises the following steps:
New function code is compiled into dynamic base and is added under the catalogue of software dynamic load;
Revise configuration file, increase the new function title of configuration and new dynamic base title corresponding to function;
When running software arrives new function, according to the configuration file of revising, determine corresponding dynamic base and move described dynamic base.
The present invention also provides a kind of software function module disposal system, comprising: configuration file 301, function Selection Framework 302, functional module 303; Function Selection Framework 302 is connected with configuration file 301, functional module 303 respectively;
Configuration file 301, for being responsible for representation function and the corresponding dynamic base relation of function and title in application system;
Function Selection Framework 302, for by resolving configuration file 301 contents, then goes to select concrete functional module according to business function;
Functional module 303, for specific implementation software function.
By implementing technical scheme of the present invention, realized and do not needed to stop running software, just can complete the interpolation of new function.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Figure 1 shows that the processing flow chart of the software function module interpolation of the embodiment of the present invention 1;
Figure 2 shows that the processing flow chart of the function Selection Framework selection function module of the embodiment of the present invention 2;
Figure 3 shows that the disposal system figure of the software function module interpolation of the embodiment of the present invention 3.
Embodiment
Hereinafter with reference to accompanying drawing, also describe the present invention in detail in conjunction with the embodiments.It should be noted that, in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.
The invention provides a kind of software function module disposal route, comprise the following steps:
New function code is compiled into dynamic base and is added under the catalogue of software dynamic load;
Revise configuration file, increase the new function title of configuration and new dynamic base title corresponding to function;
When running software arrives new function, according to the configuration file of revising, determine corresponding dynamic base and move described dynamic base.
Wherein, when running software is when the new function, according to the configuration file of revising, the process of determining corresponding dynamic base and moving described dynamic base is:
When running software arrives new function, according to the new function title in the configuration file of revising, select dynamic base corresponding to new function and move described dynamic base.
Wherein, when running software is when the new function, the process of selecting dynamic base corresponding to new function and moving described dynamic base according to the new function title in the configuration file of revising is:
When running software arrives new function, according to the new function title in the configuration file of revising, select dynamic base corresponding to new function, by the power function in new function, complete new function.
The key problem in technology point of the embodiment of the present invention is: an operating software need to add new function, the new function code increasing is compiled into the form of dynamic base, adds under the catalogue of software dynamic load; Revise configuration file, increase the new function title of configuration and new dynamic base title corresponding to function; When running software is in the situation of new function, software can be selected dynamic base corresponding to new function according to the new function title in configuration file, utilize the power function in new function to go new function, so just completed and do not needed to stop the interpolation that software completes new function.
Below in conjunction with Fig. 1, be elaborated:
The processing flow chart that Figure 1 shows that the software function module interpolation of the embodiment of the present invention 1, is described in detail as follows:
Step 101: start;
Step 102: write new function code;
Step 103: be compiled into dynamic base and add dynamic base under the catalogue of software dynamic load;
Step 104: revise configuration file, increase the new function title of configuration, and new dynamic base title corresponding to function;
Step 105: complete new functional module and add.
The processing flow chart that Figure 2 shows that the function Selection Framework selection function module of the embodiment of the present invention 2, is described in detail as follows:
Step 201: start running software;
Step 202: input function title and operational factor;
Step 203: function Selection Framework reading configuration file information;
Step 204: obtain dynamic base title corresponding to functional module according to input function title;
Step 205: judge whether to exist corresponding function, if exist, perform step 206; If do not exist, perform step 203;
Step 206: value-added tax function module invoking performance function, finishing service function;
Step 207: running software stops.
The disposal system figure that Figure 3 shows that the software function module interpolation of the embodiment of the present invention 3, comprising: configuration file 301, function Selection Framework 302, functional module 303; Function Selection Framework 302 is connected with configuration file 301, functional module 303 respectively; Newly-increased functional module is added in software in the mode of dynamic base, by function Selection Framework, read configuration file and go recognition function module, by the dynamic base of value-added tax function module, gone corresponding function.
Wherein, configuration file 301 is parts (information such as dynamic base title that comprise software all functions module) of logging software all functions, in application system, is responsible for representation function and the corresponding dynamic base relation of function and title; By switch, control the application of the difference in functionality module of software, when a certain function does not need, by revising the switch of configuration file corresponding function, with regard to controlling the function of software, close.
The effect of function Selection Framework 302 in application software is by resolving configuration file content, then going to select concrete functional module according to business function, and the power function by unified interface interchange difference in functionality module goes finishing service function.
Functional module 303 is concrete methods of realizings of software function, and its concrete appearance form is that the mode with dynamic base occurs, by being called by function Selection Framework, realizes concrete function.
By implementing technical scheme of the present invention, realized and do not needed to stop running software, just can complete the interpolation of new function.
The present invention also provides a kind of software function module disposal system, comprising: configuration file 301, function Selection Framework 302, functional module 303; Function Selection Framework 302 is connected with configuration file 301, functional module 303 respectively;
Configuration file 301, for being responsible for representation function and the corresponding dynamic base relation of function and title in application system;
Function Selection Framework 302, for by resolving configuration file 301 contents, then goes to select concrete functional module according to business function;
Functional module 303, for specific implementation software function.
Wherein, described configuration file 301, also for control the application of the difference in functionality module of software by switch, when a certain function does not need, closes with regard to controlling the function of software by revising the switch of configuration file corresponding function.
Wherein, described function Selection Framework 302, also the power function for the interface interchange difference in functionality module by unified goes finishing service function.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (6)
1. a software function module disposal route, is characterized in that, comprises the following steps:
New function code is compiled into dynamic base and is added under the catalogue of software dynamic load;
Revise configuration file, increase the new function title of configuration and new dynamic base title corresponding to function;
When running software arrives new function, according to the configuration file of revising, determine corresponding dynamic base and move described dynamic base.
2. method according to claim 2, is characterized in that: when running software is during to new function, according to the configuration file of revising, the process of determining corresponding dynamic base and moving described dynamic base is:
When running software arrives new function, according to the new function title in the configuration file of revising, select dynamic base corresponding to new function and move described dynamic base.
3. method according to claim 3, is characterized in that: when running software is during to new function, the process of selecting dynamic base corresponding to new function and moving described dynamic base according to the new function title in the configuration file of revising is:
When running software arrives new function, according to the new function title in the configuration file of revising, select dynamic base corresponding to new function, by the power function in new function, complete new function.
4. a software function module disposal system, is characterized in that, comprising: configuration file 301, function Selection Framework 302, functional module 303; Function Selection Framework 302 is connected with configuration file 301, functional module 303 respectively;
Configuration file 301, for being responsible for representation function and the corresponding dynamic base relation of function and title in application system;
Function Selection Framework 302, for by resolving configuration file 301 contents, then goes to select concrete functional module according to business function;
Functional module 303, for specific implementation software function.
5. system according to claim 4, it is characterized in that: described configuration file 301, also, for control the application of the difference in functionality module of software by switch, when a certain function does not need, by revising the switch of configuration file corresponding function, with regard to controlling the function of software, close.
6. system according to claim 4, is characterized in that: described function Selection Framework 302, also the power function for the interface interchange difference in functionality module by unified goes finishing service function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310656214.XA CN103645928A (en) | 2013-12-06 | 2013-12-06 | Software function module processing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310656214.XA CN103645928A (en) | 2013-12-06 | 2013-12-06 | Software function module processing method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103645928A true CN103645928A (en) | 2014-03-19 |
Family
ID=50251151
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310656214.XA Pending CN103645928A (en) | 2013-12-06 | 2013-12-06 | Software function module processing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103645928A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104572130A (en) * | 2015-02-02 | 2015-04-29 | 沈阳远大电力电子科技有限公司 | Frequency converter monitoring method and frequency converter monitoring system |
CN104834555A (en) * | 2015-03-30 | 2015-08-12 | 百度在线网络技术(北京)有限公司 | Method for invoking functional module, related device and device repairing method |
CN104850015A (en) * | 2014-09-09 | 2015-08-19 | 北汽福田汽车股份有限公司 | Software packaging method and automobile electronic controller |
CN106201499A (en) * | 2016-07-05 | 2016-12-07 | 中国石油集团渤海钻探工程有限公司 | A kind of software frame realization method and system |
CN106843994A (en) * | 2017-01-18 | 2017-06-13 | 北京北信源软件股份有限公司 | A kind of client software operation method based on on-the-flier compiler |
CN107273165A (en) * | 2017-06-19 | 2017-10-20 | 郑州云海信息技术有限公司 | A kind of system and method for realizing module dynamic call |
CN109144620A (en) * | 2017-06-15 | 2019-01-04 | 武汉斗鱼网络科技有限公司 | A kind of jump method and device of suspended window permission configuration interface |
CN109542494A (en) * | 2018-10-19 | 2019-03-29 | 福建天泉教育科技有限公司 | A kind of the extension control method and terminal of VR software peripheral hardware |
CN110096262A (en) * | 2019-03-16 | 2019-08-06 | 平安城市建设科技(深圳)有限公司 | Generation method, device, terminal and the computer readable storage medium of city system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1310385A (en) * | 2000-02-24 | 2001-08-29 | 英业达股份有限公司 | Dynamic expanding method of computer software function |
US20040088694A1 (en) * | 2002-10-31 | 2004-05-06 | Ho Stanley M. | Systems and methods for updating software |
CN1645326A (en) * | 2005-02-05 | 2005-07-27 | 西安大唐电信有限公司 | Method and system for updating software function |
CN1904837A (en) * | 2006-08-04 | 2007-01-31 | 华为技术有限公司 | Method and system for software multi-version upgrading |
CN101571801A (en) * | 2008-04-28 | 2009-11-04 | 鸿富锦精密工业(深圳)有限公司 | Service expansion system and method |
-
2013
- 2013-12-06 CN CN201310656214.XA patent/CN103645928A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1310385A (en) * | 2000-02-24 | 2001-08-29 | 英业达股份有限公司 | Dynamic expanding method of computer software function |
US20040088694A1 (en) * | 2002-10-31 | 2004-05-06 | Ho Stanley M. | Systems and methods for updating software |
CN1645326A (en) * | 2005-02-05 | 2005-07-27 | 西安大唐电信有限公司 | Method and system for updating software function |
CN1904837A (en) * | 2006-08-04 | 2007-01-31 | 华为技术有限公司 | Method and system for software multi-version upgrading |
CN101571801A (en) * | 2008-04-28 | 2009-11-04 | 鸿富锦精密工业(深圳)有限公司 | Service expansion system and method |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104850015B (en) * | 2014-09-09 | 2018-02-23 | 北汽福田汽车股份有限公司 | A kind of software packaging method and a kind of automobile electronic controller |
CN104850015A (en) * | 2014-09-09 | 2015-08-19 | 北汽福田汽车股份有限公司 | Software packaging method and automobile electronic controller |
CN104572130A (en) * | 2015-02-02 | 2015-04-29 | 沈阳远大电力电子科技有限公司 | Frequency converter monitoring method and frequency converter monitoring system |
CN104834555A (en) * | 2015-03-30 | 2015-08-12 | 百度在线网络技术(北京)有限公司 | Method for invoking functional module, related device and device repairing method |
CN106201499A (en) * | 2016-07-05 | 2016-12-07 | 中国石油集团渤海钻探工程有限公司 | A kind of software frame realization method and system |
CN106843994A (en) * | 2017-01-18 | 2017-06-13 | 北京北信源软件股份有限公司 | A kind of client software operation method based on on-the-flier compiler |
CN106843994B (en) * | 2017-01-18 | 2020-10-16 | 北京北信源软件股份有限公司 | Client software running method based on dynamic compilation |
CN109144620A (en) * | 2017-06-15 | 2019-01-04 | 武汉斗鱼网络科技有限公司 | A kind of jump method and device of suspended window permission configuration interface |
CN109144620B (en) * | 2017-06-15 | 2021-10-15 | 武汉斗鱼网络科技有限公司 | Skipping method and device for suspension window permission setting interface |
CN107273165A (en) * | 2017-06-19 | 2017-10-20 | 郑州云海信息技术有限公司 | A kind of system and method for realizing module dynamic call |
CN109542494A (en) * | 2018-10-19 | 2019-03-29 | 福建天泉教育科技有限公司 | A kind of the extension control method and terminal of VR software peripheral hardware |
CN109542494B (en) * | 2018-10-19 | 2021-11-05 | 福建天泉教育科技有限公司 | Extension control method and terminal for VR software peripheral |
CN110096262A (en) * | 2019-03-16 | 2019-08-06 | 平安城市建设科技(深圳)有限公司 | Generation method, device, terminal and the computer readable storage medium of city system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103645928A (en) | Software function module processing method and system | |
CN102129364B (en) | Method for embedding widget toolbar in application program and rapid widget accessing method | |
US8745573B2 (en) | Platform-independent application development framework | |
JP5295379B2 (en) | Dynamic linking method of program in embedded platform and embedded platform | |
CN103970563B (en) | The method of dynamic load Android class | |
CN100543701C (en) | A kind of method and system that realize embedded software unconventionality testing | |
CN103955364A (en) | Front end assembly method suitable for mobile phone | |
CN101788906B (en) | Resource management method and system thereof | |
CN103617066A (en) | Workflow engine and implementation method thereof | |
WO2016190973A1 (en) | Data binding dependency analysis | |
CN104267981A (en) | Method and device for loading application layout on desktop | |
CN103782276A (en) | Operation transfer from an origin virtual machine to a destination virtual machine | |
CN103443763A (en) | ISA bridging including support for call to overidding virtual functions | |
CN104090765A (en) | Method and device for switching from mobile game to webgame | |
CN102087594A (en) | Management method and device for extension point and plugins | |
CN110688601A (en) | Data processing method and device | |
CN102455903B (en) | Method for generating user application interface | |
CN109426513A (en) | A kind of processing method and equipment of view component | |
CN105426609A (en) | Method for automatically deleting dangling lines in PCB design | |
CN104216646A (en) | Method and device for creating application program based on gesture | |
CN101699396A (en) | Method for generating wireless terminal menu and device thereof | |
CN100481006C (en) | Intelligent card platform redevelopment method and system | |
CN101510160B (en) | Program operation control method of embedded equipment applying function and embedded equipment | |
CN102129385B (en) | Management method capable of dynamically expanding management function of virtual machine | |
CN101295382A (en) | Method and device for implementing service logical relation between business object properties |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140319 |
|
RJ01 | Rejection of invention patent application after publication |