CN102193793A - Method and device for realizing software reusability - Google Patents
Method and device for realizing software reusability Download PDFInfo
- Publication number
- CN102193793A CN102193793A CN2010191850591A CN201019185059A CN102193793A CN 102193793 A CN102193793 A CN 102193793A CN 2010191850591 A CN2010191850591 A CN 2010191850591A CN 201019185059 A CN201019185059 A CN 201019185059A CN 102193793 A CN102193793 A CN 102193793A
- Authority
- CN
- China
- Prior art keywords
- code layer
- page
- logic code
- software
- common logic
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a method and a device for realizing software reusability. The method comprises the following steps of: setting a public logic code in a framework according to software application and establishing a public logic code layer; establishing a differential logic code layer according to a difference of software realization; and constructing a display interface according to the public logic code layer and the differential logic code layer. In the invention, the public logic code layer and the differential logic code layer are constructed respectively by setting the public logic code and the differential logic code in the framework according to software application, and the display interface is constructed according to the public logic code layer and the differential logic code layer, so that the aim of reusing a similar software product having the public logic code is fulfilled, the working efficiency is improved and the development cost is reduced.
Description
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of method and apparatus of realizing software repeated usage.
Background technology
IM (Instant Message, instant messaging) technology is a kind of terminal service, it has inherited " concurrency " two big advantages of phone " instantaneity " and Email, general integrated lists of persons, receive and send messages, file transfers or share, multinomial functions 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 that the individual uses, and is used to realize person-to-person information interchange and intercommunication; 2, enterprise instant communication, based on the enterprises office, set up employee's intercommunion platform, solve the information island of enterprises, can carry out integrated to the message of existing business system of enterprise, helping the real-time collaborative work between realization personnel of enterprise and the operation system, is that a kind of height can be managed, IT (Information Technology, infotech) platform low-cost, that easily dispose.Improving constantly of network technology level, make the user to IM (Instant Messaging, instant messaging) aspects such as the ease for use of software, stability and security have proposed higher requirement, requirement to the interface expressive ability of IM also improves constantly, need programmer and designer to link up cooperation more efficiently, increase work efficiency.
Along with advancing by leaps and bounds of IT technology, it is very general that client software becomes, the engineering efficient when programming in order to improve, and it is more and more important that software reuse technology also becomes.Software repeated usage is exactly that existing software component is used to construct new software systems, it is not only multiplexing to program, also comprise and multiplexing to any activity produced in the Software Production process manufactured goods, can be divided into following multiplexer level according to the height of level of abstraction:
1, code is multiplexing
Comprise the multiplexing of object code and source code.The operation back-up system of current most of programming language all provides functions such as connection, binding to support this multiplexing, as " OLE (Object Linking andEmbedding; object connects and embeds) technology; both be supported in source program level definition member and in order to construct new system; make these members remain some independently reusable components again on the rank of object code can be reconfigured flexibly when operation and is various application.
2, design is multiplexing
Design result is higher than the abstraction level of source program, so the multiplexing of it be subjected to the influence of actual environment less, thereby the chance that reusable component is re-used is more, and required modification still less.
That 3, analyzes is multiplexing
This is that reusable analysis member is the higher solution of level of abstraction at some things of Problem Areas or some problem than higher multiplexing of design result, the influence that is subjected to designing technique and realization condition seldom, so reusable chance is bigger.
4, detecting information is multiplexing
This multiplexing rank inconvenience and the multiplexer level of analyzing, design, programming compare accurately, and what therefore be re-used is not the different abstraction hierarchies of same things, but another kind of information is in the rank suitable with program code substantially.
In at present numerous client softwares, the application that most clients all have oneself is provided with the interface, is used for a kind of means of people and software interactive, comes the various actions of configuration software with this.Most application settings all have similar framework, comprise a plurality of pages that are provided with on the interface, and have buttons such as " determining ", " cancellation ", " application " simultaneously, click " determining " or " applications " button and can notify each that page preservation setting is set, if make mistakes then can eject miscue.
Concrete, under existing application is provided with environment, do not stride the situation that a plurality of softwares use, each software all needs to write separately code, with demand and the performance that realizes that each software is different.Fig. 1 is the technical scheme process flow diagram of prior art, wherein, ConfigCenterMgr (engineering project primary control program) is a kind of primary control program mutual between the external world and the software, be used for the different scenes of client software and start application setting, ConfigCenterFrame (application is provided with framework) presents the overall framework of a program, for the window that use to be provided with and the page operation logic on the window provide support, Page1/Page2 ... for using a plurality of pages that are provided with that are provided with, comprise " determining " in the page, " cancellation ", certain operations buttons such as " application " is to realize function corresponding.In the prior art, work out various programs, realize the defined various functions of each page, to realize the technical scheme of whole engineering project by each page that is provided with in application under the framework.
Figure 1 shows that a kind of application method to set up process flow diagram of the prior art, may further comprise the steps:
Particularly, above-mentioned according to the existing application plan of establishment, create the engineering project primary control program, specifically comprise: be described engineering project primary control program configuration filename, select suitable applications Program Type and item types according to actual needs, supporting database is selected suitable user interface capabilities, for example as the main frame pattern, from being provided with of framework pattern, toolbar etc., comprise in addition and select suitable control and interface etc.Described engineering project primary control program is an interface of realizing the external world and software interactive, is used for the different scenes startups of client software and uses setting.
Particularly, described establishment is used to be provided with and is included a plurality of pages that are provided with on the framework interface, and each is provided with between the page not mutual, all is independently individual, simultaneously each page include all that picture " is determined ", certain operations buttons such as " cancellation ", " application ".Can find that because each is provided with the page and all includes some public buttons, as " determining ", " cancellation " or the like, the software redundancy degree that this can increase when programming has undoubtedly reduced the service efficiency of software, has increased cost of software development.In the prior art, all be separately framework to be set to carry out alternately,, realize that each is provided with the specific function of page execution by calling the code that application is provided with framework with application because each is provided with the page.For prior art is further described, now be exemplified below: in the page 1 and the page 2, if all there is " determining " button, then carry out when being somebody's turn to do " determining " operation, the Notifications page 1 and the page 2 are preserved and are provided with respectively, can increase the repetitive operation of software so undoubtedly, reduce service efficiency.
The inventor finds that there is following defective at least in prior art in realizing process of the present invention:
In the prior art, because each software all needs to write separately to use module is set, for example need to write among the software A and comprise " determining ", " cancellation " waits the source code of some public buttons, simultaneously also needing to write picture among the software B " determines ", " cancellation " waits the source code of some public buttons, because each software all is to write separately to use module is set, this makes the programmer need to repeat to work out some existing code in programming process, for example as " determining ", " cancellation " waits the source code of some public buttons, can cause and have a large amount of repeated labors in the page development process, increased cost of software development, and in each software running process variety of issue appears, also be to need each software to independently solve separately problem, increased the time cost of software repair process.
Summary of the invention
The invention provides a kind of method and apparatus of realizing software repeated usage, be used to realize that similar software product can reach multiplexing purpose, reduce cost of development, reach the purpose of the similar software product of quick exploitation.
The invention provides a kind of method that realizes software repeated usage, may further comprise the steps:
According to software application common logic code in the framework is set, creates the common logic code layer;
Create differentiation logical code layer according to the difference that software is realized;
By described common logic code layer and differentiation logical code layer building display interface.
Describedly comprise by described common logic code layer and differentiation logical code layer building display interface:
External interface by configuration receives the startup request that is provided with of using;
Create the window and the logic of public part by described common logic code layer, and notify described differentiation logical code layer to carry out the interface initialization;
The window and the logic of described differentiation logical code layer configuration varianceization part are called described common logic code layer and are made up display interface.
Window and the logic of creating public part by described common logic code layer comprise:
Create in the pre-configured multiple page form one or more.
The window and the logic of described differentiation logical code layer configuration varianceization part, 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 the application configuration center;
Carry out page initialization by described application configuration center, create the window and the logic corresponding page of differentiation part, and the described page is inserted the window and the logic of the public part that described common logic code layer creates, make up display page.
Described common logic code layer comprises the special purpose interface of configuration, connects by this special purpose interface and described differentiation logical code layer.
The invention provides a kind of device of realizing software repeated usage, comprising:
The common layer creating unit is used for being provided with according to software application the common logic code of framework, creates the common logic code layer;
Difference layer creating unit, the difference that is used for realizing according to software is created differentiation logical code layer;
The page makeup unit is used for by described common logic code layer and differentiation logical code layer building display interface.
Described page makeup unit comprises:
Request receives subelement, is used for receiving the startup request that is provided with of using by the external interface of configuration;
First creates subelement, is used for creating by described common logic code layer the window and the logic of public part;
The notice subelement is used to notify described differentiation logical code layer to carry out the interface initialization;
Second creates subelement, is used for the window and the logic of configuration varianceization part, calls described common logic code layer and makes up display interface.
Described first creates subelement also is used for:
Create in the pre-configured multiple page form one or more.
Described second creates subelement also is used for:
Receive the notice of described common logic code layer, create the application configuration center;
Carry out page initialization by described application configuration center, create the window and the logic corresponding page of differentiation part, and the described page is inserted the window and the logic of the public part that described common logic code layer creates, make up display page.
Described common logic code layer comprises the special purpose interface of configuration, connects by this special purpose interface and described differentiation logical code layer.
Compared with prior art, the present invention has the following advantages:
Create common logic code layer and differentiation logical code layer respectively according to common logic code and difference logical code that software application is provided with in the framework, by common logic code layer and differentiation logical code layer building display interface, thereby can make similar software product reach the purpose of software repeated usage with common logic code, increase work efficiency, reduced cost of development.
Description of drawings
In order to be illustrated more clearly in the present invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in the present invention or the description of the Prior Art below, apparently, 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.
Fig. 1 is a kind of application method to set up process flow diagram of the prior art;
Fig. 2 is a kind of method flow synoptic diagram of realizing software repeated usage among the present invention;
Fig. 3 is provided with the structural representation of framework for application provided by the invention;
The schematic flow sheet of the method for the realization software repeated usage that Fig. 4 provides for application scenarios of the present invention;
Fig. 5 realizes using in the method for software repeated usage the bridge joint synoptic diagram that framework is set for the present invention;
Fig. 6 uses for a kind of multipage face in the application scenarios of the present invention synoptic diagram is set;
Fig. 7 uses for a kind of single-page in the application scenarios of the present invention synoptic diagram is set;
Fig. 8 is provided with synoptic diagram for a kind of the application to conduction in the application scenarios of the present invention;
Fig. 9 is a kind of structural representation of realizing the device of software repeated usage provided by the invention;
Figure 10 is a kind of another structural representation of realizing the device of software repeated usage provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing among the present invention, technical scheme of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The invention provides a kind of method that realizes software repeated usage, as shown in Figure 2, this method may further comprise the steps:
Step 201 is provided with common logic code in the framework according to software application, creates the common logic code layer;
Step 202 is created differentiation logical code layer according to the difference that software is realized;
Step 203 is by described common logic code layer and differentiation logical code layer building display interface.
Describedly comprise by described common logic code layer and differentiation logical code layer building display interface:
External interface by configuration receives the startup request that is provided with of using;
Create the window and the logic of public part by described common logic code layer, and notify described differentiation logical code layer to carry out the interface initialization;
The window and the logic of described differentiation logical code layer configuration varianceization part are called described common logic code layer and are made up display interface.
Window and the logic of creating public part by described common logic code layer comprise:
Create in the pre-configured multiple page form one or more.
The window and the logic of described differentiation logical code layer configuration varianceization part, 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 the application configuration center;
Carry out page initialization by described application configuration center, create the window and the logic corresponding page of differentiation part, and the described page is inserted the window and the logic of the public part that described common logic code layer creates, make up display page.
Described common logic code layer comprises the special purpose interface of configuration, connects by this special purpose interface and described differentiation logical code layer.
Below in conjunction with concrete application scenarios, the method for realization software repeated usage provided by the invention is carried out concrete description in detail.
The application that this method provides is provided with framework as shown in Figure 3, mainly comprise AF (ApplicationFramework, application framework) layer and App (Application, use) layer, wherein, the AF layer is the logical code of public part, by the multiplexing code library of the multiple page of various software or same software; The differentiation logical code that the App layer need be realized for the different pages of each software or same software.
Wherein, the AF layer comprises ConfigCenterMgr (configuration center management interface) module, AFConfigCenterFrame (AF layer configuration center framework) module and IAFBizSite module, the App layer comprises BizSite module and AppConfigCenter (APP layer configuration center) module, wherein, ConfigCenterMgr is the interface that externally exposes, and is used for the different scenes of client software and starts application setting; AFConfigCenterFrame is the window and the logic of public part, manage a plurality of pages or leaves that are provided with, for example, in being set, page or leaf has " determining " simultaneously, " cancellation ", buttons such as " application " is clicked " determining " or " applications " button and can be notified each that page preservation setting is set, if make mistakes then can eject logic such as miscue; IAFBizSite is the interface that the AF layer provides, and requires the App layer must realize this interface; The IAFBizSite that BizSite realizes for the App layer, this interface is used for being visited by AFConfigCenterFrame, create the AppConfigCenter module with notice App layer, IAFBizSite shown in Fig. 3 is connected expression AF layer with arrow between the BizSite and requires App layer realization BizSite interface; After the AppConfigCenter module creation, the AFConfigCenterFrame that calls the AF layer carries out the initialization at interface, join boundary's window title, window size or the like factor, create Page1, Page2 etc. simultaneously the page is set, and Page1, Page2 etc. is provided with the page passes to AFConfigCenterFrame, be inserted in the interface.
In conjunction with shown in Figure 3, the method for realization software repeated usage provided by the invention specifically may further comprise the steps as shown in Figure 4:
Step 401 is created the engineering project primary control program.
Concrete, create the engineering project primary control program and be included as engineering project primary control program configuration filename, select suitable applications Program Type and item types according to actual needs, supporting database whether, select suitable user interface capabilities, for example as the main frame pattern, from being provided with of framework pattern, toolbar etc., comprise in addition and select suitable control and interface etc.Described engineering project primary control program is an interface of realizing the external world and software interactive, is used for the different scenes startups of client software and uses setting.
Step 402 after creating the engineering project primary control program, creates to use that framework being set.
In the application scenarios of the present invention, application is provided with framework and comprises common logic code layer and differentiation logical code layer.
The common logic code layer is the logical code of public part, by the multiplexing code library of various software; The differentiation logical code that described differentiation logical code layer is realized for each product needed.
Concrete, the common logic code layer comprises the logical code of public part, and it is multiplexing by various software, for example as most of buttons such as " determining ", " cancellations ", or some executive routines, carry out the logical code of certain function as totalizer, multiplier etc., but be not limited to above-mentioned button that improves or code.The differentiation logical code that differentiation logical code layer is realized for each product needed, for example different titles of the page, title etc. in each software.
Need to prove, logical code in the common logic code layer is except can be by the multiplexing common logic code of various software, the multiplexing common logic code of the page can also be set by the difference in the same software, when for example the difference of same software was provided with the page and has the tabulation of identical drop-down menu, this identical drop-down menu tabulation can be set to the common logic code and that the page is set is multiplexing by a plurality of.
ConfigCenterMgr is the interface that externally exposes, and is used for the different scenes of client software and starts application setting.
AF layer and APP layer that application is provided with framework connect by IAFBizSite and BizSite, and AFConfigCenterFrame notifies APP layer AppConfigCenter module by IAFBizSite and BizSite visit APP layer.
Concrete, the interface initialization comprises that outward appearance setting, content setting, attribute are provided with etc., wherein, it mainly is that AppConfigCenter institute loaded information is provided with that content is provided with, the attribute setting is exactly that situations such as color, figure, characters in a fancy style and shade to the page are provided with, so that set content is satisfied the demand.
AppConfigCenter also is used for allocation window title, size, disposes a title for described window, and with the fixed size of window, to meet design requirement.Simultaneously, according to the demand and the service needed of client, on specified page, include the permutation and combination order of control element and each control element.
Concrete, AppConfigCenter creates the page is set, and the page of being created that is provided with carried out initial configuration, the attribute of the page, the content of the page for example are set, size of the page or the like, the application configuration center also passes to these configuration informations to use framework is set, and is inserted into to use to be provided with in the page of framework, in addition, AppConfigCenter and AFConfigCenterFrame have realized the transmission of information by the BizSite interface and have called.
In the application scenarios of the present invention, the AF layer that above-mentioned application is provided with in the framework has identical code in different software, and the APP layer then has different codes according to the difference of software.For example, for the QQ communication software, the AF layer that its application is provided with in the framework is provided with the code that shows confirming button, cancel button, then is provided with the code that shows QQ window title and corresponding QQ software setting in the APP layer.For TM software, the AF layer that its application is provided with framework is identical with the AF layer of QQ software, does not need to repeat to be provided with, and only needs the APP layer segment that both are different to reset.
In addition, framework to be set and to dispose the mutual of the page in order to realize using, directly the page that is provided with under the configuration page is called, the page that is provided with that calls is re-used, specifically as shown in Figure 5, configuration interface is provided with framework with application and directly links to each other, for application is provided with the multiple frame form under the framework and the interconnected interface platform that provides of page info is set.
Generally for application is provided with framework, it is not limited to a kind of application window is set, it can comprise the window of multiple interfacial configuration, " the multipage face is used and is provided with " window as shown in Figure 6, " single-page is used and is provided with " window as shown in Figure 7 and " being provided with " window as shown in Figure 8 etc. to the conduction application, these different application are provided with display form, can use the identical page that is provided with, i.e. application is provided with type and the relation that the page is a multi-to-multi is set.
For example, carrying out multiwindow uses when being provided with, may call the interior content that the page 2 the insides perhaps are set that the page 1 the inside is set, and these contents may also be other application needed content is set, therefore, for the content of the page 1, both can use the service that provides when being provided with for carrying out multiwindow, service is provided in the time of also can being provided with for fill order's window application, thereby realized that the identical content of pages that is provided with is shared by the application setting of different shape, realized multiplexingly, improved operational efficiency, reduced operating cost.
Different application is provided with framework, and to call the process that the page is set as follows:
A) send recalls information to the configuration page, comprise the content that concrete needs call in the described information;
B) configuration interface travels through the affiliated page that is provided with, and finds the page that is provided with that conforms to recalls information;
C) configuration interface obtains and described conforming to the content of the page is set, and content of pages is sent to use framework, complete call process are set.
Application by different shape is provided with the shared identical page that is provided with of framework, realized similar software product is reached multiplexing purpose, reduced cost of development, realized the purpose of the similar software product of quick exploitation, and on the basis that does not influence software performance, reduced the chance of makeing mistakes.
By adopting method provided by the invention, use the common logic code and the difference logical code that are provided with in the framework according to various software and create common logic code layer and differentiation logical code layer respectively, by common logic code layer and differentiation logical code layer building display interface, thereby can make similar software product reach the purpose of software repeated usage with common logic code, increase work efficiency, reduced cost of development.
The present invention provides the methods and applications scene that realizes software repeated usage in the above-described embodiment, and correspondingly, the present invention also provides the device of the method for using above-mentioned realization software repeated usage.
As shown in Figure 9, the invention provides a kind of device of realizing software repeated usage, this device comprises:
Common layer creating unit 10 is used for being provided with according to software application the common logic code of framework, creates the common logic code layer.
The common logic code layer is the logical code of public part, by the difference of various software or same software the multiplexing code library of the page is set; Described differentiation logical code layer is provided with the differentiation logical code that the page need be realized for the difference of each software or same software.Concrete, the common logic code layer comprises the logical code of public part, and it is multiplexing by various software, for example as most of buttons such as " determining ", " cancellations ", or some executive routines, carry out the logical code of certain function as totalizer, multiplier etc., but be not limited to above-mentioned button that improves or code.
Difference layer creating unit 20, the difference that is used for realizing according to software is created differentiation logical code layer.
The differentiation logical code that differentiation logical code layer is realized for each product needed, for example different titles of the page, title etc. in each software.
As shown in figure 10, the invention provides a kind of device of realizing software repeated usage, this device comprises:
Common layer creating unit 10 is used for being provided with according to software application the common logic code of framework, creates the common logic code layer;
Difference layer creating unit 20, the difference that is used for realizing according to software is created differentiation logical code layer;
Wherein, described page makeup unit 30 comprises:
Request receives subelement 31, is used for receiving the startup request that is provided with of using by the external interface of configuration;
First creates subelement 32, is used for creating by described common logic code layer the window and the logic of public part;
Second creates subelement 34, is used for the window and the logic of configuration varianceization part, calls described common logic code layer and makes up display interface.
Described first creates subelement 32 also is used for:
Create in the pre-configured multiple page form one or more.
Described second creates subelement 34 also is used for:
Receive the notice of described common logic code layer, create the application configuration center;
Carry out page initialization by described application configuration center, create the window and the logic corresponding page of differentiation part, and the described page is inserted the window and the logic of the public part that described common logic code layer creates, make up display page.
Described common logic code layer comprises the special purpose interface of configuration, connects by this special purpose interface and described differentiation logical code layer.
By adopting device provided by the invention, use the common logic code and the difference logical code that are provided with in the framework according to various software and create common logic code layer and differentiation logical code layer respectively, by common logic code layer and differentiation logical code layer building display interface, thereby can make similar software product reach the purpose of software repeated usage with common logic code, increase work efficiency, reduced cost of development.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, 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 embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a station terminal equipment (can be mobile phone, personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be integrated in one, and also can separate deployment; A module can be merged into, also a plurality of submodules can be further split into.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.
Claims (10)
1. a method that realizes software repeated usage is characterized in that, may further comprise the steps:
According to software application common logic code in the framework is set, creates the common logic code layer;
Create differentiation logical code layer according to the difference that software is realized;
By described common logic code layer and differentiation logical code layer building display interface.
2. the method for claim 1 is characterized in that, describedly comprises by described common logic code layer and differentiation logical code layer building display interface:
External interface by configuration receives the startup request that is provided with of using;
Create the window and the logic of public part by described common logic code layer, and notify described differentiation logical code layer to carry out the interface initialization;
The window and the logic of described differentiation logical code layer configuration varianceization part are called described common logic code layer and are made up display interface.
3. method as claimed in claim 2 is characterized in that, window and the logic of creating public part by described common logic code layer comprise:
Create in the pre-configured multiple page form one or more.
4. method as claimed in claim 2 is characterized in that, the window and the logic of described differentiation logical code layer configuration varianceization part are called described common logic code layer structure display interface and comprised:
Described differentiation logical code layer receives the notice of described common logic code layer, creates the application configuration center;
Carry out page initialization by described application configuration center, create the window and the logic corresponding page of differentiation part, and the described page is inserted the window and the logic of the public part that described common logic code layer creates, make up display page.
5. the method for claim 1 is characterized in that, described common logic code layer comprises the special purpose interface of configuration, connects by this special purpose interface and described differentiation logical code layer.
6. a device of realizing software repeated usage is characterized in that, comprising:
The common layer creating unit is used for being provided with according to software application the common logic code of framework, creates the common logic code layer;
Difference layer creating unit, the difference that is used for realizing according to software is created differentiation logical code layer;
The page makeup unit is used for by described common logic code layer and differentiation logical code layer building display interface.
7. device as claimed in claim 6 is characterized in that, described page makeup unit comprises:
Request receives subelement, is used for receiving the startup request that is provided with of using by the external interface of configuration;
First creates subelement, is used for creating by described common logic code layer the window and the logic of public part;
The notice subelement is used to notify described differentiation logical code layer to carry out the interface initialization;
Second creates subelement, is used for the window and the logic of configuration varianceization part, calls described common logic code layer and makes up display interface.
8. device as claimed in claim 7 is characterized in that, described first creates subelement also is used for:
Create in the pre-configured multiple page form one or more.
9. device as claimed in claim 7 is characterized in that, described second creates subelement also is used for:
Receive the notice of described common logic code layer, create the application configuration center;
Carry out page initialization by described application configuration center, create the window and the logic corresponding page of differentiation part, and the described page is inserted the window and the logic of the public part that described common logic code layer creates, make up display page.
10. device as claimed in claim 6 is characterized in that described common logic code layer comprises the special purpose interface of configuration, connects by this special purpose interface and described differentiation logical code layer.
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 true CN102193793A (en) | 2011-09-21 |
CN102193793B 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) |
Cited By (14)
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 |
CN106681784A (en) * | 2016-12-23 | 2017-05-17 | 维沃移动通信有限公司 | System software management method and terminal |
WO2018095306A1 (en) * | 2016-11-25 | 2018-05-31 | 腾讯科技(深圳)有限公司 | Method and device for processing application program page, and storage medium |
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 |
CN111736897A (en) * | 2020-06-16 | 2020-10-02 | 中国建设银行股份有限公司 | Software development method, device and equipment |
CN111752536A (en) * | 2019-09-24 | 2020-10-09 | 北京京东尚科信息技术有限公司 | Page development method, device, equipment and storage medium |
CN111880792A (en) * | 2020-07-15 | 2020-11-03 | 深圳市欢太科技有限公司 | User interface implementation method, mobile terminal and computer readable storage medium |
CN111966877A (en) * | 2020-06-29 | 2020-11-20 | 北京百度网讯科技有限公司 | Front-end service method, device, equipment and storage medium |
CN112905173A (en) * | 2021-05-07 | 2021-06-04 | 南京沁恒微电子股份有限公司 | Engineering multiplexing implementation method based on Eclipse and integrated development environment thereof |
CN113760300A (en) * | 2021-09-13 | 2021-12-07 | 武汉联影智融医疗科技有限公司 | Software continuous integration method and device, computer equipment and storage medium |
CN114003212A (en) * | 2020-07-28 | 2022-02-01 | 阿里巴巴集团控股有限公司 | Data processing method, device and equipment |
Citations (2)
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 |
-
2010
- 2010-03-02 CN CN201019185059.1A patent/CN102193793B/en active Active
Patent Citations (2)
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 |
Cited By (19)
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 |
US11119812B2 (en) | 2016-11-25 | 2021-09-14 | Tencent Technology (Shenzhen) Company Limited | Method and device for processing application program page according to a common interface container |
WO2018095306A1 (en) * | 2016-11-25 | 2018-05-31 | 腾讯科技(深圳)有限公司 | Method and device for processing application program page, and storage medium |
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 |
CN111736897A (en) * | 2020-06-16 | 2020-10-02 | 中国建设银行股份有限公司 | Software development method, device and equipment |
CN111736897B (en) * | 2020-06-16 | 2023-06-09 | 建信金融科技有限责任公司 | Software development method, device and equipment |
CN111966877A (en) * | 2020-06-29 | 2020-11-20 | 北京百度网讯科技有限公司 | Front-end service method, device, equipment and storage medium |
CN111966877B (en) * | 2020-06-29 | 2024-05-07 | 北京百度网讯科技有限公司 | Front-end service method, device, equipment and storage medium |
CN111880792A (en) * | 2020-07-15 | 2020-11-03 | 深圳市欢太科技有限公司 | User interface implementation method, mobile terminal and computer readable 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 |
CN112905173A (en) * | 2021-05-07 | 2021-06-04 | 南京沁恒微电子股份有限公司 | Engineering multiplexing implementation method based on Eclipse and integrated development environment thereof |
CN113760300A (en) * | 2021-09-13 | 2021-12-07 | 武汉联影智融医疗科技有限公司 | Software continuous integration method and device, computer equipment and storage medium |
CN113760300B (en) * | 2021-09-13 | 2023-10-27 | 武汉联影智融医疗科技有限公司 | Software continuous integration method, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN102193793B (en) | 2015-10-07 |
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 | |
CN104137482A (en) | Disaster recovery data center configuration method and device under cloud computing framework | |
CN113626128B (en) | Audio-visual media micro-service third-party module access method, system and electronic equipment | |
CN103645908A (en) | Full life circle development achievement system of intemetware | |
CN102663003A (en) | Page switching method and system for application of mobile terminal in environment with multiple web pages | |
CN112114939A (en) | Distributed system deployment equipment and method | |
CN101222496B (en) | System and method for searching and starting service in network television system | |
CN115878112A (en) | Multi-party complex business agreement intelligent contract generating system and generating method thereof | |
CN115618032A (en) | View generation method and device, electronic equipment and storage medium | |
CN114912897A (en) | Workflow execution method, workflow arrangement method and electronic equipment | |
CN107896242B (en) | Service sharing method and device | |
EP2810179B1 (en) | Method and system for implementing a common data interface to web services | |
CN105760147A (en) | Software page display construction method and system | |
CN104111768B (en) | Interactive window and method and system for customizing, quoting and synchronizing interactive window | |
CN103561113A (en) | Web Service interface generating method and device | |
CN113342317B (en) | Development multi-service dynamic combination method and system based on Android componentization | |
CN114944971B (en) | Method and device for deploying network by using Kubernetes, electronic equipment and storage medium | |
CN114385169A (en) | Application generation method and device | |
CN117032907B (en) | Mobile terminal assembly containerization method and APP container system | |
CN113595872B (en) | Message component configuration method, device, system, equipment and storage medium | |
CN118331704A (en) | Workflow scheduling method, workflow scheduling device and computer storage medium | |
CN102109953A (en) | Terminal, and service processing method thereof | |
CN115904397A (en) | VUE-based multi-system integration method, device, equipment and medium | |
KR20240107301A (en) | Virtual Office Providing System and Method Thereof |
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 |