CN102193793B - A kind of method and apparatus realizing software repeated usage - Google Patents

A kind of method and apparatus realizing software repeated usage Download PDF

Info

Publication number
CN102193793B
CN102193793B CN201019185059.1A CN201019185059A CN102193793B CN 102193793 B CN102193793 B CN 102193793B CN 201019185059 A CN201019185059 A CN 201019185059A CN 102193793 B CN102193793 B CN 102193793B
Authority
CN
China
Prior art keywords
code layer
page
common logic
software
layer
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.)
Active
Application number
CN201019185059.1A
Other languages
Chinese (zh)
Other versions
CN102193793A (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 CN201019185059.1A priority Critical patent/CN102193793B/en
Publication of CN102193793A publication Critical patent/CN102193793A/en
Application granted granted Critical
Publication of CN102193793B publication Critical patent/CN102193793B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of method and apparatus realizing software repeated usage, the method comprises: arrange the common logic code in framework according to software application, creates common logic code layer; Differentiation logical code layer is created according to the difference of software simulating; By described common logic code layer and differentiation logical code layer building display interface.In the present invention, common logic code in framework is set according to software application and difference logic code creates common logic code layer and differentiation logical code layer respectively, by common logic code layer and differentiation logical code layer building display interface, thus the similar sofware product with common logic code can be made to reach the object of software repeated usage, add work efficiency, reduce cost of development.

Description

A kind of method and apparatus realizing software repeated usage
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of method and apparatus realizing software repeated usage.
Background technology
IM (Instant Message, instant messaging) technology is a kind of terminated service, it inherits " concurrency " two large advantage of " instantaneity " of phone and Email, be generally integrated with lists of persons, receive and send messages, file transfers or share, the multiple function such as voice and video talk, Web conference.
IM software can be divided into following two classes at present: 1, a class is the individual instant messaging of individual application, for realizing person-to-person information interchange and intercommunication; 2, enterprise instant communication, based on enterprises office, set up employee's intercommunion platform, solve the information island of enterprises, can carry out integrated to the message of enterprise's existing business system, help enterprise realizes the real-time collaborative work between personnel and operation system, is IT (Information Technology, the infotech) platform of a kind of height ALARA Principle, low cost, easily deployment.Improving constantly of network technology level, make user to IM (Instant Messaging, instant messaging) ease for use of software, the aspect such as stability and security propose higher requirement, the requirement of the interface expressive ability of IM is also improved constantly, need programmer and designer can link up cooperation more efficiently, increase work efficiency.
Along with advancing by leaps and bounds of IT technology, client software becomes very general, and in order to improve engineering efficiency during programming, software reuse technology also becomes more and more important.Software repeated usage is exactly be used for constructing new software systems by existing software component, it is multiplexing that it is not only program, what also comprise the manufactured goods that activity any in software development process produces is multiplexing, according to the height of level of abstraction, can be divided into following multiplexer level:
1, code is multiplexing
Comprise the multiplexing of object code and source code.It is this multiplexing to support that the operation support system of Most current programming language both provides the functions such as connection, binding, as " OLE (Object Linking andEmbedding; object connects and embeds) technology; be both supported in source program level definition component in order to construct new system; make again these components remain some independently reusable components in the rank of object code, can operationally be reconfigured flexibly as various different application.
2, design is multiplexing
Design result is higher than the abstraction level of source program, and therefore its multiplexing impact by actual environment is less, thus the chance that reusable component is re-used is more, and required amendment is less.
That 3, analyzes is multiplexing
This is higher than design result multiplexing, and reusable analysis component is that the impact by designing technique and realization condition is little, so reusable chance is larger for some things of Problem Areas or the higher solution of the level of abstraction of some problem.
4, detecting information is multiplexing
The inconvenience of this multiplexing rank and analyze, design, programming multiplexer level compares accurately, what be therefore re-used is not the different abstraction hierarchies of same thing, but another kind of information, is substantially in the rank suitable with program code.
In client softwares numerous at present, the application that most client all has oneself arranges interface, for a kind of means of people and software interactive, carrys out the various actions of configuration software with this.Most application arranges and all has similar framework, interface comprises multiple the page is set, and there is the button such as " determination ", " cancellation ", " application " simultaneously, click " determination " or " application " button and can notify that each arranges Page-saving and arranges, if made mistakes, can miscue be ejected.
Concrete, under existing application arranges environment, not across the situation of multiple software application, each software needs to write code separately, to realize the different demand of each software and performance.Fig. 1 is the technical scheme process flow diagram of prior art, wherein, ConfigCenterMgr (engineering project primary control program) is extraneous and a kind of primary control program mutual between software, start application for the different scene of client software to arrange, ConfigCenterFrame (application arranges framework) presents the overall framework of a program, for application arrange window and window on page operation logic provide support, Page1/Page2 ... for the multiple of application setting arrange the page, the page comprises " determination ", " cancellation ", certain operations buttons such as " application " is to realize corresponding function.In the prior art, work out various program by each page arranged under framework in application, realize the various functions that each page defines, to realize the technical scheme of whole engineering project.
Figure 1 shows that one application method to set up process flow diagram of the prior art, comprise the following steps:
Step 101, according to the existing application plan of establishment, creates engineering project primary control program.
Particularly, above-mentioned according to the existing application plan of establishment, create engineering project primary control program, specifically comprise: be described engineering project primary control program configuration filename, select suitable Application Type and item types according to actual needs, whether supporting database, select suitable user interface capabilities, such as main frame pattern, from frame style, the arranging of toolbar, comprise in addition and select suitable control and interface etc.Described engineering project primary control program realizes interface that is extraneous and software interactive, starts application arrange for the different scene of client software.
Step 102, after establishment engineering project primary control program, creates application and arranges framework, and build the page successively.
Particularly, described establishment application arranges framework interface includes and multiplely arranges the page, and each arranges between the page not mutual, is all independently individual, and each page all includes certain operations button such as picture " determination ", " cancellation ", " application " etc. simultaneously.Can find, all include some public buttons because each arranges the page, as " determination ", " cancellation " etc., software redundancy degree when this can increase programming undoubtedly, reduces the service efficiency of software, adds the cost of software development.In prior art, being all separately arrange framework with application to carry out alternately because each arranges the page, by calling the code applied and arrange framework, realizing the specific function that each arranges page execution.In order to be described further prior art, be now exemplified below: in the page 1 and the page 2, if all there is " determination " button, when then " determination " operation is somebody's turn to do in execution, Notifications page 1 and the page 2 are preserved and are arranged respectively, can increase the repetitive operation of software so undoubtedly, reduce service efficiency.
Inventor is realizing in process of the present invention, finds that prior art at least exists following defect:
In prior art, because each software needs to write application separately arrange module, such as, need to write in software A and comprise " determination ", the source code of some common buttons such as " cancellations ", also need in software B to write picture " determination " simultaneously, the source code of some common buttons such as " cancellations ", because each software writes application separately to arrange module, this makes programmer need to repeat to work out some existing codes in programming process, such as " determination ", the source code of some common buttons such as " cancellations ", can cause in page development process and there is a large amount of repeated labors, add the cost of software development, and various problem is there is in each software running process, also be need each software to independently solve respective problem, add the time cost of software repair process.
Summary of the invention
The invention provides a kind of method and apparatus realizing software repeated usage, for realizing the object that similar sofware product can reach multiplexing, reducing cost of development, reaching the object of fast Development similar sofware product.
The invention provides a kind of method realizing software repeated usage, comprise the following steps:
Common logic code in framework is set according to software application, creates common logic code layer;
Differentiation logical code layer is created according to the difference of software simulating;
By described common logic code layer and differentiation logical code layer building display interface.
Describedly to be comprised by described common logic code layer and differentiation logical code layer building display interface:
The startup request of application setting is received by the external interface of configuration;
Created window and the logic of public part by described common logic code layer, and notify that described differentiation logical code layer carries out interface initialization;
The window of described differentiation logical code layer configuration variance part and logic, call described common logic code layer and build display interface.
The window of public part is created and logic comprises by described common logic code layer:
Create in pre-configured multiple page form one or more.
The window of described differentiation logical code layer configuration variance part and logic, call described common logic code layer structure display interface and comprise:
Described differentiation logical code layer receives the notice of described common logic code layer, creates application configuration center;
Carry out page initialization by described application configuration center, create the window of differentiation part and the page corresponding to logic, and the described page is inserted window and the logic of the public part that described common logic code layer creates, build display page.
Described common logic code layer comprises the special purpose interface of configuration, is connected by this special purpose interface and described differentiation logical code layer.
The invention provides a kind of device realizing software repeated usage, comprising:
Common layer creating unit, for arranging the common logic code in framework according to software application, creates common logic code layer;
Difference layer creating unit, for creating differentiation logical code layer according to the difference of software simulating;
Page makeup unit, for by described common logic code layer and differentiation logical code layer building display interface.
Described page makeup unit comprises:
Request receiving subelement, for receiving the startup request that application is arranged by the external interface of configuration;
First creates subelement, for being created window and the logic of public part by described common logic code layer;
Notice subelement, for notifying that described differentiation logical code layer carries out interface initialization;
Second creates subelement, for window and the logic of configuration variance part, calls described common logic code layer and builds display interface.
Described first create subelement also for:
Create in pre-configured multiple page form one or more.
Described second create subelement also for:
Receive the notice of described common logic code layer, create application configuration center;
Carry out page initialization by described application configuration center, create the window of differentiation part and the page corresponding to logic, and the described page is inserted window and the logic of the public part that described common logic code layer creates, build display page.
Described common logic code layer comprises the special purpose interface of configuration, is connected by this special purpose interface and described differentiation logical code layer.
Compared with prior art, the present invention has the following advantages:
Common logic code in framework is set according to software application and difference logic code creates common logic code layer and differentiation logical code layer respectively, by common logic code layer and differentiation logical code layer building display interface, thus the similar sofware product with common logic code can be made to reach the object of software repeated usage, add work efficiency, reduce cost of development.
Accompanying drawing explanation
In order to be illustrated more clearly in the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in the present invention or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is one application method to set up process flow diagram of the prior art;
Fig. 2 is a kind of method flow schematic diagram realizing software repeated usage in the present invention;
Fig. 3 is the structural representation that application provided by the invention arranges framework;
The schematic flow sheet realizing the method for software repeated usage that Fig. 4 provides for application scenarios of the present invention;
Fig. 5 is that the present invention realizes applying the bridge joint schematic diagram arranging framework in the method for software repeated usage;
Fig. 6 is that a kind of multi-page application in application scenarios of the present invention arranges schematic diagram;
Fig. 7 is that a kind of single-page application in application scenarios of the present invention arranges schematic diagram;
Fig. 8 is that a kind of wizard-like application in application scenarios of the present invention arranges schematic diagram;
Fig. 9 is a kind of structural representation realizing the device of software repeated usage provided by the invention;
Figure 10 is a kind of another structural representation realizing the device of software repeated usage provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the present invention, be clearly and completely described technical scheme of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The invention provides a kind of method realizing software repeated usage, as shown in Figure 2, the method comprises the following steps:
Step 201, arranges the common logic code in framework according to software application, create common logic code layer;
Step 202, creates differentiation logical code layer according to the difference of software simulating;
Step 203, by described common logic code layer and differentiation logical code layer building display interface.
Describedly to be comprised by described common logic code layer and differentiation logical code layer building display interface:
The startup request of application setting is received by the external interface of configuration;
Created window and the logic of public part by described common logic code layer, and notify that described differentiation logical code layer carries out interface initialization;
The window of described differentiation logical code layer configuration variance part and logic, call described common logic code layer and build display interface.
The window of public part is created and logic comprises by described common logic code layer:
Create in pre-configured multiple page form one or more.
The window of described differentiation logical code layer configuration variance part and logic, call described common logic code layer structure display interface and comprise:
Described differentiation logical code layer receives the notice of described common logic code layer, creates application configuration center;
Carry out page initialization by described application configuration center, create the window of differentiation part and the page corresponding to logic, and the described page is inserted window and the logic of the public part that described common logic code layer creates, build display page.
Described common logic code layer comprises the special purpose interface of configuration, is connected by this special purpose interface and described differentiation logical code layer.
Below in conjunction with embody rule scene, description concrete is in detail carried out to the method realizing software repeated usage provided by the invention.
The application that the method provides arranges framework as shown in Figure 3, mainly comprise AF (ApplicationFramework, application framework) layer and App (Application, application) layer, wherein, AF layer is the logical code of public part, by the code library that the multiple page of various software or same software is multiplexing; App layer is the differentiation logical code that the different pages of each software or same software need to realize.
Wherein, AF layer comprises ConfigCenterMgr (configuration center management interface) module, AFConfigCenterFrame (AF layer configuration center framework) module and IAFBizSite module, App layer comprises BizSite module and AppConfigCenter (APP layer configuration center) module, wherein, ConfigCenterMgr is the interface externally exposed, and starts application arrange for the different scene of client software; AFConfigCenterFrame is window and the logic of public part, manage and multiple page is set, such as, have " determination " arranging in page simultaneously, " cancellation ", buttons such as " application ", clicks " determination " or " application " button and can notify that each arranges Page-saving and arranges, if made mistakes, can eject the logics such as miscue; The interface that IAFBizSite provides for AF layer, requires that App layer must realize this interface; BizSite is the IAFBizSite that App layer realizes, this interface is used for being accessed by AFConfigCenterFrame, to notify that App layer creates AppConfigCenter module, the arrow shown in Fig. 3 between IAFBizSite and BizSite connects and represents that AF layer requires that App layer realizes BizSite interface; After AppConfigCenter module creation, the AFConfigCenterFrame calling AF layer carries out the initialization at interface, join boundary's window title, window size etc. factor, create Page1, Page2 etc. simultaneously and the page is set, and Page1, Page2 etc. are arranged the page pass to AFConfigCenterFrame, be inserted in interface.
Shown in composition graphs 3, the method realizing software repeated usage provided by the invention as shown in Figure 4, specifically comprises the following steps:
Step 401, creates engineering project primary control program.
Concrete, creating engineering project primary control program comprises for engineering project primary control program configuration filename, select suitable Application Type and item types according to actual needs, whether supporting database, select suitable user interface capabilities, such as main frame pattern, from frame style, the arranging of toolbar, comprise in addition and select suitable control and interface etc.Described engineering project primary control program realizes interface that is extraneous and software interactive, starts application arrange for the different scene of client software.
Step 402, after establishment engineering project primary control program, creates application and arranges framework.
In application scenarios of the present invention, application arranges framework and comprises common logic code layer and differentiation logical code layer.
Common logic code layer is the logical code of public part, by the code library that various software is multiplexing; Described differentiation logical code layer is the differentiation logical code that each product needed realizes.
Concrete, common logic code layer comprises the logical code of public part, and it is multiplexing by various software, such as most of button such as " determination ", " cancellation ", or some executive routines, as totalizer, multiplier etc. perform the logical code of certain function, but be not limited to above-mentioned improved button or code.Differentiation logical code layer is the differentiation logical code that each product needed realizes, such as, in each software different titles, title etc. of the page.
It should be noted that, logical code in common logic code layer is except can by except the multiplexing common logic code of various software, the multiplexing common logic code of the page can also be set by the difference in same software, the such as difference of same software arranges the page when having identical drop down menu list, and this identical drop down menu list can be set to common logic code and to arrange the page multiplexing by multiple.
Step 403, the ConfigCenterMgr module being arranged framework by application starts application setting.
ConfigCenterMgr is the interface externally exposed, and starts application arrange for the different scene of client software.
Step 404, AFConfigCenterFrame creates window and the logic of public part, and accesses differentiation logical code layer, creates AppConfigCenter module.
The AF layer that application arranges framework and APP layer are connected by IAFBizSite and BizSite, and AFConfigCenterFrame accesses APP layer by IAFBizSite and BizSite, notify APP layer AppConfigCenter module.
Step 405, AppConfigCenter calls AFConfigCenterFrame and carries out interface initialization.
Concrete, interface initialization comprises outward appearance setting, curriculum offering, setup of attribute etc., wherein, curriculum offering is mainly arranged the information that AppConfigCenter carries, setup of attribute is exactly that the situations such as color, figure, characters in a fancy style and shade to the page are arranged, and satisfies the demand to make set content.
The size of window also for allocation window title, size, configure a title to described window, and is fixed, to meet design requirement by AppConfigCenter.Meanwhile, according to demand and the service needed of client, specified page includes the permutation and combination order of control element and each control element.
Step 406, AppConfigCenter create and arrange the page 1, arrange the pages such as the page 2, and result are passed to AFConfigCenterFrame, are inserted in interface.
Concrete, AppConfigCenter creates and arranges the page, and initial configuration is carried out to the created page that arranges, the attribute of the page, the content of the page are such as set, size of the page etc., these configuration informations are also passed to application and arrange framework by application configuration center, are inserted into application and arrange in the page of framework, in addition, AppConfigCenter and AFConfigCenterFrame information by BizSite Interface realization transmission with call.
In application scenarios of the present invention, the AF layer that above-mentioned application is arranged in framework has identical code in different software, and APP layer then has different codes according to the difference of software.Such as, for QQ communication software, its application AF layer arranged in framework is provided with the code of display confirming button, cancel button, is then provided with the code of display QQ window name and corresponding QQ software design patterns in APP layer.For TM software, the AF layer that its application arranges framework is identical with the AF layer of QQ software, does not need to repeat to arrange, only needs both different APP layer segments to reset.
In addition, framework is set in order to realize applying and configure the mutual of the page, directly the page that arranges under the configuration page is called, the page that arranges called is re-used, specifically as shown in Figure 5, configuration interface and application arrange framework and are directly connected, and arrange multiple frame form under framework and arrange that page info is interconnected provides interface platform for application.
Generally arrange for framework for application, it is not limited to a kind of application and arranges window, it can comprise the window of multiple interfacial configuration, " multi-page application arrange " window as shown in Figure 6, " single-page application is arranged " window as shown in Figure 7 and " wizard-like application is arranged " window etc. as shown in Figure 8, these different application arrange display form, can use and identical arrange the page, namely application arranges type and arranges the relation that the page is multi-to-multi.
Such as, when the application of execution multiwindow is arranged, the interior content perhaps arranged inside the page 2 arranged inside the page 1 may be called, and these contents may also be other application arranges required content, therefore, for the content of the page 1, both service can be provided for performing when multiwindow application is arranged, also can for providing service when fill order's window application is arranged, thus achieve and identically application that content of pages is different shape is set arranges and shared, achieve multiplexing, improve operational efficiency, reduce operating cost.
Different application arranges framework, and to call the process arranging the page as follows:
A) send recalls information to the configuration page, in described information, comprise the content that concrete needs call;
B) configuration interface traversal belonging to the page is set, find conform to recalls information the page is set;
C) configuration interface obtain described in conform to the content of the page be set, and content of pages is sent to application framework is set, complete call process.
Arrange framework by the application of different shape to share and identical arrange the page, achieve and multiplexing object is reached to similar sofware product, reduce cost of development, achieve the object of fast Development similar sofware product, and do not affecting on the basis of software performance, decreasing the chance of makeing mistakes.
By adopting method provided by the invention, the common logic code that arranges in framework is applied and difference logic code creates common logic code layer and differentiation logical code layer respectively according to various software, by common logic code layer and differentiation logical code layer building display interface, thus the similar sofware product with common logic code can be made to reach the object of software repeated usage, add work efficiency, reduce cost of development.
The present invention provides the methods and applications scene realizing software repeated usage in the above-described embodiment, correspondingly, present invention also offers the above-mentioned device realizing the method for software repeated usage of application.
As shown in Figure 9, the invention provides a kind of device realizing software repeated usage, this device comprises:
Common layer creating unit 10, for arranging the common logic code in framework according to software application, creates common logic code layer.
Common logic code layer is the logical code of public part, is arranged the multiplexing code library of the page by the difference of various software or same software; Described differentiation logical code layer is the differentiation logical code that the difference of each software or same software arranges the page and needs to realize.Concrete, common logic code layer comprises the logical code of public part, and it is multiplexing by various software, such as most of button such as " determination ", " cancellation ", or some executive routines, as totalizer, multiplier etc. perform the logical code of certain function, but be not limited to above-mentioned improved button or code.
Difference layer creating unit 20, for creating differentiation logical code layer according to the difference of software simulating.
Differentiation logical code layer is the differentiation logical code that each product needed realizes, such as, in each software different titles, title etc. of the page.
Page makeup unit 30, for by described common logic code layer and differentiation logical code layer building display interface.
As shown in Figure 10, the invention provides a kind of device realizing software repeated usage, this device comprises:
Common layer creating unit 10, for arranging the common logic code in framework according to software application, creates common logic code layer;
Difference layer creating unit 20, for creating differentiation logical code layer according to the difference of software simulating;
Page makeup unit 30, for by described common logic code layer and differentiation logical code layer building display interface.
Wherein, described page makeup unit 30 comprises:
Request receiving subelement 31, for receiving the startup request that application is arranged by the external interface of configuration;
First creates subelement 32, for being created window and the logic of public part by described common logic code layer;
Notice subelement 33, for notifying that described differentiation logical code layer carries out interface initialization;
Second creates subelement 34, for window and the logic of configuration variance part, calls described common logic code layer and builds display interface.
Described first create subelement 32 also for:
Create in pre-configured multiple page form one or more.
Described second create subelement 34 also for:
Receive the notice of described common logic code layer, create application configuration center;
Carry out page initialization by described application configuration center, create the window of differentiation part and the page corresponding to logic, and the described page is inserted window and the logic of the public part that described common logic code layer creates, build display page.
Described common logic code layer comprises the special purpose interface of configuration, is connected by this special purpose interface and described differentiation logical code layer.
By adopting device provided by the invention, the common logic code that arranges in framework is applied and difference logic code creates common logic code layer and differentiation logical code layer respectively according to various software, by common logic code layer and differentiation logical code layer building display interface, thus the similar sofware product with common logic code can be made to reach the object of software repeated usage, add work efficiency, reduce cost of development.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required general hardware platform by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprising some instructions in order to make a station terminal equipment (can be mobile phone, personal computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should look protection scope of the present invention.
It will be appreciated by those skilled in the art that the module in the device in embodiment can carry out being distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices being different from the present embodiment.The module of above-described embodiment can be integrated in one, and also can be separated deployment; A module can be merged into, also can split into multiple submodule further.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Be only several specific embodiment of the present invention above, but the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (6)

1. realize a method for software repeated usage, it is characterized in that, comprise the following steps:
Common logic code in framework is set according to software application, creates common logic code layer;
Differentiation logical code layer is created according to the difference of software simulating;
By described common logic code layer and differentiation logical code layer building display interface;
Wherein, describedly to be comprised by described common logic code layer and differentiation logical code layer building display interface:
The startup request of application setting is received by the external interface of configuration;
Created window and the logic of public part by described common logic code layer, and notify that described differentiation logical code layer carries out interface initialization;
The window of described differentiation logical code layer configuration variance part and logic, call described common logic code layer and build display interface;
Wherein, the window of described differentiation logical code layer configuration variance part and logic, call described common logic code layer structure display interface and comprise:
Described differentiation logical code layer receives the notice of described common logic code layer, creates application configuration center;
Carry out page initialization by described application configuration center, create the window of differentiation part and the page corresponding to logic, and the described page is inserted window and the logic of the public part that described common logic code layer creates, build display page.
2. the method for claim 1, is characterized in that, creates the window of public part and logic comprises by described common logic code layer:
Create in pre-configured multiple page form one or more.
3. the method for claim 1, is characterized in that, described common logic code layer comprises the special purpose interface of configuration, is connected by this special purpose interface and described differentiation logical code layer.
4. realize a device for software repeated usage, it is characterized in that, comprising:
Common layer creating unit, for arranging the common logic code in framework according to software application, creates common logic code layer;
Difference layer creating unit, for creating differentiation logical code layer according to the difference of software simulating;
Page makeup unit, for by described common logic code layer and differentiation logical code layer building display interface;
Wherein, described page makeup unit comprises:
Request receiving subelement, for receiving the startup request that application is arranged by the external interface of configuration;
First creates subelement, for being created window and the logic of public part by described common logic code layer;
Notice subelement, for notifying that described differentiation logical code layer carries out interface initialization;
Second creates subelement, for window and the logic of configuration variance part, calls described common logic code layer and builds display interface;
Wherein, described second create subelement also for:
Receive the notice of described common logic code layer, create application configuration center;
Carry out page initialization by described application configuration center, create the window of differentiation part and the page corresponding to logic, and the described page is inserted window and the logic of the public part that described common logic code layer creates, build display page.
5. device as claimed in claim 4, is characterized in that, described first create subelement also for:
Create in pre-configured multiple page form one or more.
6. device as claimed in claim 4, it is characterized in that, described common logic code layer comprises the special purpose interface of configuration, is connected by this special purpose interface and described differentiation logical code layer.
CN201019185059.1A 2010-03-02 2010-03-02 A kind of method and apparatus realizing software repeated usage Active CN102193793B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201019185059.1A CN102193793B (en) 2010-03-02 2010-03-02 A kind of method and apparatus realizing software repeated usage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201019185059.1A CN102193793B (en) 2010-03-02 2010-03-02 A kind of method and apparatus realizing software repeated usage

Publications (2)

Publication Number Publication Date
CN102193793A CN102193793A (en) 2011-09-21
CN102193793B true CN102193793B (en) 2015-10-07

Family

ID=44601915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201019185059.1A Active CN102193793B (en) 2010-03-02 2010-03-02 A kind of method and apparatus realizing software repeated usage

Country Status (1)

Country Link
CN (1) CN102193793B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399764A (en) * 2013-07-24 2013-11-20 北京小米科技有限责任公司 Method, device and terminal for setting interface colors
CN105760147A (en) * 2014-12-16 2016-07-13 上海天脉聚源文化传媒有限公司 Software page display construction method and system
CN106502646A (en) * 2016-09-23 2017-03-15 北京五八信息技术有限公司 The page info processing method and processing device of application
CN108108205B (en) 2016-11-25 2019-07-05 腾讯科技(深圳)有限公司 Application page surface treatment method and apparatus
CN106681784A (en) * 2016-12-23 2017-05-17 维沃移动通信有限公司 System software management method and terminal
CN109101264A (en) * 2018-07-27 2018-12-28 武汉斗鱼网络科技有限公司 A kind of method and electronic equipment for direct broadcasting room page development
CN109918126A (en) * 2019-01-28 2019-06-21 平安普惠企业管理有限公司 Method, apparatus, computer equipment and the storage medium of Code Edit
CN111752536A (en) * 2019-09-24 2020-10-09 北京京东尚科信息技术有限公司 Page development method, device, equipment and storage medium
CN111736897B (en) * 2020-06-16 2023-06-09 建信金融科技有限责任公司 Software development method, device and equipment
CN111966877B (en) * 2020-06-29 2024-05-07 北京百度网讯科技有限公司 Front-end service method, device, equipment and storage medium
CN111880792B (en) * 2020-07-15 2024-05-14 深圳市欢太科技有限公司 User interface implementation method, mobile terminal and computer readable storage medium
CN114003212A (en) * 2020-07-28 2022-02-01 阿里巴巴集团控股有限公司 Data processing method, device and equipment
CN112905173B (en) * 2021-05-07 2021-08-06 南京沁恒微电子股份有限公司 Engineering multiplexing implementation method based on Eclipse and integrated development environment thereof
CN113760300B (en) * 2021-09-13 2023-10-27 武汉联影智融医疗科技有限公司 Software continuous integration method, device, computer equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114226A (en) * 2007-08-28 2008-01-30 北京中企开源信息技术有限公司 Code automatically generating device based on model component, system and method
CN101122856A (en) * 2007-07-12 2008-02-13 浙江大学 Embedded type software application frame facing network monitoring instrument and its uses

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101122856A (en) * 2007-07-12 2008-02-13 浙江大学 Embedded type software application frame facing network monitoring instrument and its uses
CN101114226A (en) * 2007-08-28 2008-01-30 北京中企开源信息技术有限公司 Code automatically generating device based on model component, system and method

Also Published As

Publication number Publication date
CN102193793A (en) 2011-09-21

Similar Documents

Publication Publication Date Title
CN102193793B (en) A kind of method and apparatus realizing software repeated usage
CN112650475B (en) Software low-code development system and development method combined with middle platform architecture theory
CN101699393B (en) Network-facing intelligent software interface dynamic generation method
US8850390B2 (en) Status management for phased implementation of configuration changes
CN103312814B (en) The method for building up of VNC concealed channel between cloud management platform and virtual machine terminal user
CN103645908A (en) Full life circle development achievement system of intemetware
CN113626128B (en) Audio-visual media micro-service third-party module access method, system and electronic equipment
CN110428217A (en) A kind of ERP system
CN109523610A (en) Generation method, device and the storage medium of poster
Ray Cooperative management of enterprise networks
CN111610972B (en) Page generation method, device, equipment and storage medium
CN115878112A (en) Multi-party complex business agreement intelligent contract generating system and generating method thereof
CN112118168A (en) Message sending method, device, terminal and storage medium
CN114912897A (en) Workflow execution method, workflow arrangement method and electronic equipment
US20200302365A1 (en) Lifecycle activity testing and error resolution
CN105760147A (en) Software page display construction method and system
CN107896242A (en) One kind service sharing method and device
CN112596711A (en) Personalized authority management setting method and system based on Web system
CN102236510B (en) A kind of method and apparatus utilizing super taskbar to control instant communication software
Tolone Introspect: A meta-level specification framework for dynamic, evolvable collaboration support
CN103561113A (en) Web Service interface generating method and device
CN113342317B (en) Development multi-service dynamic combination method and system based on Android componentization
CN113778542A (en) Service configuration table generation method and device
CN112686391A (en) Modeling method and device based on federal learning, equipment and storage medium
CN116185381B (en) Cloud native low-code construction method, system and application based on micro-service architecture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant