CN107145354A - Software frame and its construction method, electric terminal and readable storage medium storing program for executing - Google Patents

Software frame and its construction method, electric terminal and readable storage medium storing program for executing Download PDF

Info

Publication number
CN107145354A
CN107145354A CN201710317324.1A CN201710317324A CN107145354A CN 107145354 A CN107145354 A CN 107145354A CN 201710317324 A CN201710317324 A CN 201710317324A CN 107145354 A CN107145354 A CN 107145354A
Authority
CN
China
Prior art keywords
abstract
class
service logic
page
software frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710317324.1A
Other languages
Chinese (zh)
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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology 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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201710317324.1A priority Critical patent/CN107145354A/en
Publication of CN107145354A publication Critical patent/CN107145354A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/313Logic programming, e.g. PROLOG programming language

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of software frame and its construction method, electric terminal and readable storage medium storing program for executing, software frame is applied to operate in the page presentation program of electric terminal, page presentation program can realize multiple service logics, and multiple service logics include the first service logic and the second service logic.Software frame includes abstract class and inherited to realize class in abstract class.Method corresponding with the first service logic and abstract method corresponding with the second service logic are packaged with abstract class, method corresponding with the first service logic is implemented in the abstract classes, and abstract method corresponding with the second service logic is declared in the abstract classes;Realize that class is used to realize each abstract method in abstract class.Above-mentioned design to page presentation program by being reintegrated so that the page presentation program of the different type page can be realized by same set of software frame, so as to reach the effect for reducing code redundancy and reduction later maintenance cost.

Description

Software frame and its construction method, electric terminal and readable storage medium storing program for executing
Technical field
The present invention relates to software technology field, in particular to a kind of software frame and its construction method, electric terminal And readable storage medium storing program for executing.
Background technology
At present, the application program operated in electric terminal is mostly by page presentation relevant information, an application program In generally include multiple different page types.In the prior art, it can individually develop a set of new for different page types Software frame.
Find there are many identical business in the page presentation program of the different type page however, being studied through inventor Logic, that is, there are many identical codes in the page presentation program of the different type page, causes serious code redundancy. Also, safeguarded when code update is carried out in the later stage and being safeguarded, it is necessary to be operated accordingly to each page presentation program respectively Cost is too high.
The content of the invention
In view of this, it is an object of the invention to provide a kind of software frame and its construction method, electric terminal and readable Storage medium, to improve above mentioned problem.
In order to achieve the above object, present pre-ferred embodiments provide a kind of software frame, whole applied to electronics is operated in The page presentation program at end, the page presentation program can realize multiple service logics, and the multiple service logic includes tool Body realizes the first service logic and implement code and change with page type that code do not change and change with page type And the second service logic changed;The software frame includes abstract class and inherited to realize class in the abstract class;
Method corresponding with the first service logic is packaged with the abstract class and corresponding with the second service logic abstract Method, the method corresponding with the first service logic is implemented in the abstract class, described corresponding with the second service logic Abstract method be declared in the abstract class;
It is described to realize that class is used to realize each abstract method in the abstract class.
Preferably, in above-mentioned software frame, each abstract method includes default abstract method, described to realize class bag Include packaging group and realize subclass;
The packaging Similar integral is in the abstract class, for realizing each abstract method;
It is described to realize that subclass is inherited in the packaging group, for rewriteeing the default abstract method, to cover the packaging The implementing result of default abstract method in class.
Preferably, in above-mentioned software frame, the method body of each abstract method in the packaging group includes being used for Realize the code of the default effect of corresponding second service logic of the abstract method.
Preferably, in above-mentioned software frame, the method corresponding with the first service logic includes being used for refresh list Method, the method for loading list, the method for loading page or the method for showing the wrong page at least It is a kind of.
Preferably, in above-mentioned software frame, the abstract method corresponding with the second service logic includes being used to ask The method of data, the method for obtaining data type, the method for obtaining page iden-tity or the method for showing advertisement At least one of.
Present pre-ferred embodiments also provide a kind of software frame construction method, applied to the page for operating in electric terminal Presentation program, the page presentation program can realize multiple service logics, and the multiple service logic includes implementing generation The first service logic and implement what code changed and changed with page type that code does not change and changed with page type Second service logic;Methods described includes:
Abstract class is built, method corresponding with first service logic is realized in the abstract class, described abstract Abstract method corresponding with second service logic is stated in class;
Structure is inherited and realizes class in the abstract class, in each abstract side realized in realizing the abstract class in class Method.
Preferably, in above-mentioned software frame construction method, structure is inherited realizes class in the abstract class, in the reality The step of each abstract method in the abstract class being realized in existing class, including:
Structure is inherited in the packaging group of the abstract class, and each abstract side in the abstract class is realized in the packaging group Method, each abstract method includes default abstract method;
Structure is inherited and realizes subclass in the packaging group, and the default abstract method is rewritten in subclass in described realize, To cover the implementing result of the default abstract method in the packaging group.
Preferably, in above-mentioned software frame construction method, each abstract method in the packaging group passes through with lower section Formula is realized:
Performed in the method body of each abstract method in the packaging group for realizing the abstract method corresponding the The default effect of two service logics.
Present pre-ferred embodiments also provide a kind of electric terminal, and the electric terminal includes memory, processor and deposited The page presentation program that can be run on the memory and on the processor is stored up, the page presentation program is based on this hair The software frame of bright offer is realized.
Present pre-ferred embodiments also provide the page exhibition that is stored with a kind of readable storage medium storing program for executing, the readable storage medium storing program for executing Show program, the page presentation program is realized based on the software frame that the present invention is provided.
Software frame provided in an embodiment of the present invention, software frame construction method, electric terminal and readable storage medium storing program for executing, it is right Page presentation program is reintegrated, and the multiple industry to be realized of page presentation program are handled using the abstract class of structure Business logic.The first business that code does not change and changed with page type that implements will be divided into the multiple service logic Logic and the second service logic for implementing code change with page type change, are realized and the first industry in the abstract classes The corresponding method of logic of being engaged in, states abstract method corresponding with the second service logic, and inheriting in abstract class in the abstract classes Realize each abstract method realized in class in the abstract class.So so that the page presentation program of the different type page can base Realized in the software frame, reduce code redundancy, reduce later maintenance cost.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing elaborates.
Brief description of the drawings
Scheme in order to illustrate the embodiments of the present invention more clearly is right below in conjunction with the accompanying drawing in the embodiment of the present invention Technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is a part of the invention Embodiment, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making wound The every other embodiment obtained under the premise of the property made work, belongs to the scope of protection of the invention.
Fig. 1 is a kind of block diagram of electric terminal provided in an embodiment of the present invention.
Fig. 2 is a kind of connection block diagram of software frame provided in an embodiment of the present invention.
Fig. 3 is a kind of connection block diagram for realizing class provided in an embodiment of the present invention.
Fig. 4 is a kind of schematic flow sheet of software frame construction method provided in an embodiment of the present invention.
Fig. 5 is the sub-step schematic diagram of step S102 shown in Fig. 4.
Icon:100- electric terminals;110- memories;120- processors;130- display units;200- page presentation journeys Sequence;300- software frames;310- abstract class;320- realizes class;321- packaging groups;322- realizes subclass.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and designed with a variety of configurations herein.
Therefore, the detailed description of embodiments of the invention below to providing in the accompanying drawings is not intended to limit claimed The scope of the present invention, but be merely representative of the present invention selected embodiment.Based on embodiments of the invention, people in the art The every other embodiment that member is obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then it further need not be defined and explained in subsequent accompanying drawing.Meanwhile, the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
As shown in figure 1, being a kind of block diagram of electric terminal 100 provided in an embodiment of the present invention.The electronics is whole End 100 may be, but not limited to, PC (personal computer, PC), smart mobile phone, tablet personal computer, individual number Word assistant (personal digital assistant, PDA), mobile internet surfing equipment (mobile Internat device, MID) etc..The electric terminal 100 includes page presentation program 200, memory 110, processor 120 and display unit 130, its In, the page presentation program 200 is realized based on software frame provided in an embodiment of the present invention.
The memory 110, processor 120 and each element of display unit 130 directly or indirectly electrically connect each other Connect, to realize the transmission or interaction of data.For example, these elements can pass through one or more communication bus or signal each other Line, which is realized, to be electrically connected with.Be stored with page presentation program 200 in the memory 110, and the page presentation program 200 is based on this The software frame 300 that inventive embodiments are provided is realized.The processor 120 is used to perform the page presentation journey in memory 110 Sequence 200, and then show five application page on display unit 130.
It should be appreciated that the structure shown in Fig. 1 is only signal, the electric terminal 100 can have more more or less than Fig. 1 Component, it is possible to have the configuration different from shown in Fig. 1.Wherein, each component shown in Fig. 1 can pass through software, hardware or its group Close and realize.
As shown in Fig. 2 be that the embodiment of the present invention provides a kind of software frame 300, applied to operating in electric terminal 100 Page presentation program 200.It should be appreciated that page presentation program 200 described herein can be independent application program, can also It is the program for being used in application program realize that all codes of page presentation are constituted.
The page presentation program 200 can realize multiple service logics, and the multiple service logic includes the first business The service logic of logical sum second.Wherein, first service logic refers to implement code in the multiple service logic not The service logic that can change with page type and change, second service logic refers to specific real in the multiple service logic The service logic that modern code can change and change with page type.
In the present embodiment, first service logic can include, but not limited to list refreshing, list loading, loading At least one of page presentation or wrong page presentation.That is, the method corresponding with the first service logic can include, But it is not limited to, the method for refresh list, the method for loading list, the method for loading page or for showing mistake Miss at least one of method of the page.
Second service logic can include, but not limited to realize request of data, data type acquisition, page iden-tity At least one of acquisition or advertising display.That is, second service logic can include, but not limited to be used for number of request According to method, the method for obtaining data type, the method for obtaining page iden-tity or for showing in the method for advertisement At least one.
In actual applications, the multiple service logic is realized by different methods, and methods described herein refers to face The behavior of object (module) in being programmed to object, that is, the concrete operations that a module can be performed, can also be by this place The method stated is interpreted as an instruction set.It should be appreciated that " method corresponding with the first service logic " involved in the present invention, " abstract method " etc. also refers to the behavior of the object (module) in OOP.
In the present embodiment, the software frame 300 includes abstract class 310 and inherited in the realization of the abstract class 310 Class 320.
Method corresponding with the multiple service logic is packaged with the abstract class 310, wherein, with the first service logic Corresponding method is directly implemented in the abstract class 310.That is, encapsulated in the abstract class 310 with the first business In the method body of the corresponding method of logic, there is specific code, can realize that corresponding first business is patrolled by performing the code Volume.For example, in the abstract class 310, the above-mentioned method body for being used to realize the method that list refreshes includes realizing list brush New code.In another example, in the abstract class 310, wrapped in the above-mentioned method body for realizing the method for wrong page presentation Include the code for realizing wrong page presentation.
Method corresponding with the second service logic is only declared in the abstract class 310, that is, the abstract class 310 In each abstract method for only including in the method name of abstract method, the abstract class 310 do not have method body.In the present embodiment In, it is described to realize that class 320 is used to realize each abstract method in the abstract class 310.It should be noted that described herein " realizing each abstract method in the abstract class 310 " refers to, class 320 is realized described, by override instructions to institute Each abstract method stated in abstract class 310 is written over, and write-in needs the specific of execution in the method body of each abstract method Code.
For example, in the abstract class 310, for realizing the method for request of data in the abstract class 310 only by sound It is bright, it will not be implemented, that is, only including code abstract void getRepository ().Class 320 is realized described In, methods described getRepository () method body includes specifically performing code.
In actual applications, once needing some service logic progress to the page presentation program 200 in application program Update, it is meant that need to be updated the page presentation program 200 of the different type page respectively, operational ton is big, and easily goes out It is wrong.By above-mentioned design, when service logic to be updated belongs to the first service logic, only need to update in abstract class 310 with this The method body of the corresponding method of service logic to be updated, then unified replace, you can realize the page presentation journey of all types page The renewal of sequence 200.
Further, due in the page presentation program 200 of the different type page, the specific reality of only the second service logic Modern code can change and change with page type, thus, only need to be to realizing the side of abstract method in class 320 by above-mentioned design Body of laws correspondingly change the software frame 300 that can provide the present embodiment using the page presentation journey to the different type page In sequence 200.
In the present embodiment, second service logic can produce multiple effects after performing, corresponding to different-effect Implement code different.For example, the execution of this service logic of advertising display can produce " display advertisement " and " not show wide Accuse " two kinds of effects, both effects to implement code different.
In actual applications, multiple pages can be included in each application program, each page is required for corresponding page exhibition Show program 200 to carry out page presentation.By taking advertising display this second service logic as an example, part is had in the multiple page The page needs to show advertisement, and another part page need not show advertisement.Study and find through inventor, patrolled for certain second business Volume, if most of page to be needed to the effect realized as default effect, and the code wrap of the default effect will be realized to soft In part framework 300, then on stream, it is only necessary to the page presentation program 200 of a small number of pages of change can complete this second The exploitation of service logic.
Realize that class 320 inherits the abstract class 310 and needs to realize all methods in the abstract class 310 due to described, Thus, as shown in figure 3, alternatively, it is in the present embodiment, described to realize that class 320 include inheriting in the abstract class 310 Packaging group 321 and inherit and realize subclass 322 in the packaging group 321.
The packaging group 321 is used to realize each abstract method in the abstract class 310, wherein, in the packaging group 321 The method body of each abstract method include the default effect for being used to realize the abstract method corresponding second service logic Code.That is, in the packaging group 321, each abstract method is used to realize most of page needs in application program The effect of realization, namely the default effect.
If the effect that some abstract method is actually subjected to realize is different from the default effect, class 320 can be realized described Middle rewriting abstract method, and the effect for being actually subjected to realize described in execution in the method body of the abstract method of rewriting is corresponding Code.
Alternatively, it is described to realize that subclass 322 is used to rewrite the default abstract method in the present embodiment, it is described to cover The implementing result of default abstract method in packaging group 321.Wherein, the default abstract method is the effect for being actually subjected to realize The abstract method different from default effect.The default abstract method is also to be written over by override instructions.
It should be noted that in the present embodiment, the quantity of the default abstract method that each abstract method includes according to Depending on actual demand, the present embodiment is not limited.
As shown in figure 4, the embodiment of the present invention also provides a kind of software frame construction method, for building the embodiment of the present invention The software frame 300 of offer.The specific steps and flow of the software frame construction method are carried out below in conjunction with Fig. 4 detailed Illustrate.
Step S101, builds abstract class 310, is realized in the abstract class 310 corresponding with first service logic Method, states abstract method corresponding with second service logic in the abstract class 310.In the present embodiment, on Step S101 description specifically refers to the detailed description in the above to realizing class 320 shown in Fig. 2.
Wherein, the method corresponding with the first service logic can include, but not limited to the side for refresh list At least one of method, the method for loading list, the method for loading page or method for showing the wrong page. The abstract method corresponding with the second service logic can include, but not limited to method for request data, for obtaining At least one of the method for data type, the method for obtaining page iden-tity or method for showing advertisement.
Step S102, structure is inherited and realizes class 320 in the abstract class 310, it is described realize realize in class 320 it is described Each abstract method in abstract class 310.In the present embodiment, the description as described in step S102 specifically refers to right in the above The detailed description of class 320 is realized shown in Fig. 2.
As shown in figure 5, the step S102 can include step S201 and the sub-steps of step S202 two.
Step S201, structure is inherited in the packaging group 321 of the abstract class 310, is realized in the packaging group 321 described Each abstract method in abstract class 310, each abstract method includes default abstract method.In the present embodiment, on step Rapid S201 description specifically refers to the detailed description in the above to packaging group 321 shown in Fig. 3.
Step S202:Structure is inherited and realizes subclass 322 in the packaging group 321, and rewriting in subclass 322 is realized described The default abstract method, to cover the implementing result of the default abstract method in the packaging group 321.In the present embodiment, The description as described in the step S202 specifically refers to the detailed description in the above to realizing subclass 322 shown in Fig. 3.
Wherein, each abstract method in the packaging group 321 is accomplished by the following way.
Performed in the method body of each abstract method in the packaging group 321 for realizing that the abstract method is corresponding The default effect of second service logic.In the present embodiment, the description as described in this step is specifically referred in the above to bag Fill the detailed description of class 321.
Present pre-ferred embodiments also provide the page exhibition that is stored with a kind of readable storage medium storing program for executing, the readable storage medium storing program for executing Show program 200, the page presentation program 200 is realized based on software frame 300 provided in an embodiment of the present invention.
In summary, software frame 300 provided in an embodiment of the present invention, software frame construction method and electric terminal 100, Page presentation program 200 is reintegrated, multiple service logics that page presentation program 200 can be realized are divided into Implement the first service logic and implement code changes with page type second that code do not change with page type Service logic.Wherein, the corresponding method of the first service logic is realized in the abstract class 310 of structure, and the second service logic is to take out Realization in class 320 is realized as the form of method is stated in abstract class 310, and inherit the abstract class 310.So so that The page presentation program 200 of the different type page can be realized based on software frame 300 provided in an embodiment of the present invention, after reducing The cost of phase updating maintenance.Method corresponding to the first service logic is directly realized, it is necessary to realize corresponding industry in abstract class 310 The page of business logic can be directly invoked, and reduce code redundancy.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can also pass through Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing Show according to the device of multiple embodiments of the present invention, the architectural framework in the cards of method and computer program product, Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code Part a, part for the module, program segment or code is used to realize holding for defined logic function comprising one or more Row instruction.It should also be noted that in some implementations as replacement, the function of being marked in square frame can also with different from The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be performed substantially in parallel, they are sometimes It can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart The combination of individual square frame and block diagram and/or the square frame in flow chart, can use the special base for performing defined function or action Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized using in the form of software function module and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need Illustrate, herein, such as first and second or the like relational terms be used merely to by an entity or operation with Another entity or operation make a distinction, and not necessarily require or imply between these entities or operation there is any this reality The relation or order on border.Moreover, term " comprising ", "comprising" or its any other variant are intended to the bag of nonexcludability Contain, so that process, method, article or equipment including a series of key elements are not only including those key elements, but also including Other key elements being not expressly set out, or also include for this process, method, article or the intrinsic key element of equipment. In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including the key element Process, method, article or equipment in also there is other identical element.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (10)

1. a kind of software frame, it is characterised in that applied to the page presentation program for operating in electric terminal, the page presentation Program can realize multiple service logics, and the multiple service logic includes implementing the code not change with page type change First service logic of change and the second service logic for implementing code change with page type change;The software frame Frame includes abstract class and inherited to realize class in the abstract class;
Method corresponding with the first service logic and abstract method corresponding with the second service logic are packaged with the abstract class, The method corresponding with the first service logic is implemented in the abstract class, described corresponding with the second service logic abstract Method is declared in the abstract class;
It is described to realize that class is used to realize each abstract method in the abstract class.
2. software frame according to claim 1, it is characterised in that each abstract method includes presetting abstract side Method, it is described to realize that class includes packaging group and realizes subclass;
The packaging Similar integral is in the abstract class, for realizing each abstract method;
It is described to realize that subclass is inherited in the packaging group, for rewriteeing the default abstract method, to cover in the packaging group Default abstract method implementing result.
3. software frame according to claim 2, it is characterised in that the method for each abstract method in the packaging group Body includes being used to realize the code of the default effect of corresponding second service logic of the abstract method.
4. the software frame according to any one of claims 1 to 3, it is characterised in that described corresponding with the first service logic Method include for the method for refresh list, the method for loading list, the method for loading page or for showing At least one of method of the mistake page.
5. the software frame according to any one of claims 1 to 3, it is characterised in that described corresponding with the second service logic Abstract method include for the method for request data, the method for obtaining data type, the side for obtaining page iden-tity At least one of method or method for showing advertisement.
6. a kind of software frame construction method, it is characterised in that described applied to the page presentation program for operating in electric terminal Page presentation program can realize multiple service logics, and the multiple service logic includes implementing code not with page type Change and the first service logic of change and the second service logic for implementing code change with page type change;Institute The method of stating includes:
Abstract class is built, method corresponding with first service logic is realized in the abstract class, in the abstract class Statement abstract method corresponding with second service logic;
Structure is inherited and realizes class in the abstract class, in each abstract method realized in realizing the abstract class in class.
7. method according to claim 6, it is characterised in that structure is inherited realizes class in the abstract class, described The step of each abstract method in the abstract class is realized in class is realized, including:
Structure is inherited in the packaging group of the abstract class, and each abstract method in the abstract class is realized in the packaging group, Each abstract method includes default abstract method;
Structure is inherited and realizes subclass in the packaging group, the default abstract method is rewritten in subclass in described realize, to cover The implementing result for the default abstract method covered in the packaging group.
8. method according to claim 7, it is characterised in that each abstract method in the packaging group passes through with lower section Formula is realized:
Performed in the method body of each abstract method in the packaging group for realizing corresponding second industry of the abstract method The default effect for logic of being engaged in.
9. a kind of electric terminal, it is characterised in that the electric terminal includes memory, processor and is stored in the memory Page presentation program that is upper and can running on the processor, the page presentation program is based on any one of Claims 1 to 5 The software frame is realized.
10. a kind of readable storage medium storing program for executing, it is characterised in that the page presentation that is stored with readable storage medium storing program for executing program, described Page presentation program is realized based on the software frame described in any one of Claims 1 to 5.
CN201710317324.1A 2017-05-04 2017-05-04 Software frame and its construction method, electric terminal and readable storage medium storing program for executing Pending CN107145354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710317324.1A CN107145354A (en) 2017-05-04 2017-05-04 Software frame and its construction method, electric terminal and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710317324.1A CN107145354A (en) 2017-05-04 2017-05-04 Software frame and its construction method, electric terminal and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN107145354A true CN107145354A (en) 2017-09-08

Family

ID=59777103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710317324.1A Pending CN107145354A (en) 2017-05-04 2017-05-04 Software frame and its construction method, electric terminal and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN107145354A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107621965A (en) * 2017-09-20 2018-01-23 郑州云海信息技术有限公司 Improve method, system, readable storage medium storing program for executing and the server of code testability
CN108228168A (en) * 2017-12-29 2018-06-29 安徽方正医疗信息技术有限公司 A kind of revocation, the abstract method of recovery operation
CN109101264A (en) * 2018-07-27 2018-12-28 武汉斗鱼网络科技有限公司 A kind of method and electronic equipment for direct broadcasting room page development
CN109783072A (en) * 2019-01-23 2019-05-21 深圳智链物联科技有限公司 Method for processing business, device, terminal device and computer readable storage medium
CN111191161A (en) * 2018-11-15 2020-05-22 武汉斗鱼网络科技有限公司 Page display method, storage medium, electronic device and system
CN111459474A (en) * 2020-03-13 2020-07-28 北京百分点信息科技有限公司 Templated data processing method and device
CN112035093A (en) * 2020-08-24 2020-12-04 北京博皓科技有限公司 Program framework capable of quickly, safely and flexibly producing software
CN112148259A (en) * 2020-09-23 2020-12-29 北京中电普华信息技术有限公司 Abstraction method and device for business object
CN113032398A (en) * 2021-03-26 2021-06-25 苏宁易购集团股份有限公司 Service processing method, computer device and storage medium for multi-type service
CN113312039A (en) * 2021-06-25 2021-08-27 武汉众邦银行股份有限公司 Method and device for constructing responsibility tree mode universal code framework
CN113535152A (en) * 2021-06-23 2021-10-22 北京泰豪智能工程有限公司 Thinking graph-based complex algorithm implementation method, computer storage medium and equipment
CN114764484A (en) * 2021-01-13 2022-07-19 武汉斗鱼网络科技有限公司 Lazy loading implementation method and device, electronic equipment and storage medium
CN115794040A (en) * 2022-11-14 2023-03-14 深圳十沣科技有限公司 Method, device, equipment and storage medium for constructing CAE software architecture

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5970252A (en) * 1997-08-12 1999-10-19 International Business Machines Corporation Method and apparatus for loading components in a component system
US7120899B1 (en) * 1999-10-21 2006-10-10 Unisys Corporation Method for implementing component object model interfaces
CN103543993A (en) * 2012-07-11 2014-01-29 深圳市华高软件科技有限公司 Application program building method and system
CN103729188A (en) * 2013-12-31 2014-04-16 福建三元达软件有限公司 Android system application program development method, Android system application program running method and Android system application program running device
CN105760147A (en) * 2014-12-16 2016-07-13 上海天脉聚源文化传媒有限公司 Software page display construction method and system
CN105760192A (en) * 2016-02-03 2016-07-13 北京元心科技有限公司 Registration method and device for service module of system server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5970252A (en) * 1997-08-12 1999-10-19 International Business Machines Corporation Method and apparatus for loading components in a component system
US7120899B1 (en) * 1999-10-21 2006-10-10 Unisys Corporation Method for implementing component object model interfaces
CN103543993A (en) * 2012-07-11 2014-01-29 深圳市华高软件科技有限公司 Application program building method and system
CN103729188A (en) * 2013-12-31 2014-04-16 福建三元达软件有限公司 Android system application program development method, Android system application program running method and Android system application program running device
CN105760147A (en) * 2014-12-16 2016-07-13 上海天脉聚源文化传媒有限公司 Software page display construction method and system
CN105760192A (en) * 2016-02-03 2016-07-13 北京元心科技有限公司 Registration method and device for service module of system server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JAYCEE110905: "Android移动应用界面的模板化设计", 《HTTP://BLOG.CSDN.NET/JAYCEE110905/ARTICLE/DETAILS/8465485》 *

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107621965A (en) * 2017-09-20 2018-01-23 郑州云海信息技术有限公司 Improve method, system, readable storage medium storing program for executing and the server of code testability
CN108228168A (en) * 2017-12-29 2018-06-29 安徽方正医疗信息技术有限公司 A kind of revocation, the abstract method of recovery operation
CN109101264A (en) * 2018-07-27 2018-12-28 武汉斗鱼网络科技有限公司 A kind of method and electronic equipment for direct broadcasting room page development
CN111191161B (en) * 2018-11-15 2022-06-21 武汉斗鱼网络科技有限公司 Page display method, storage medium, electronic device and system
CN111191161A (en) * 2018-11-15 2020-05-22 武汉斗鱼网络科技有限公司 Page display method, storage medium, electronic device and system
CN109783072A (en) * 2019-01-23 2019-05-21 深圳智链物联科技有限公司 Method for processing business, device, terminal device and computer readable storage medium
CN111459474A (en) * 2020-03-13 2020-07-28 北京百分点信息科技有限公司 Templated data processing method and device
CN111459474B (en) * 2020-03-13 2023-01-24 北京百分点科技集团股份有限公司 Templated data processing method and device
CN112035093A (en) * 2020-08-24 2020-12-04 北京博皓科技有限公司 Program framework capable of quickly, safely and flexibly producing software
CN112148259A (en) * 2020-09-23 2020-12-29 北京中电普华信息技术有限公司 Abstraction method and device for business object
CN112148259B (en) * 2020-09-23 2024-01-09 北京中电普华信息技术有限公司 Business object abstraction method and device
CN114764484A (en) * 2021-01-13 2022-07-19 武汉斗鱼网络科技有限公司 Lazy loading implementation method and device, electronic equipment and storage medium
CN113032398B (en) * 2021-03-26 2022-12-13 苏宁易购集团股份有限公司 Service processing method, computer equipment and storage medium for multi-type service
CN113032398A (en) * 2021-03-26 2021-06-25 苏宁易购集团股份有限公司 Service processing method, computer device and storage medium for multi-type service
CN113535152A (en) * 2021-06-23 2021-10-22 北京泰豪智能工程有限公司 Thinking graph-based complex algorithm implementation method, computer storage medium and equipment
CN113535152B (en) * 2021-06-23 2023-06-30 北京泰豪智能工程有限公司 Complex algorithm implementation method based on thought diagram, computer storage medium and equipment
CN113312039A (en) * 2021-06-25 2021-08-27 武汉众邦银行股份有限公司 Method and device for constructing responsibility tree mode universal code framework
CN115794040A (en) * 2022-11-14 2023-03-14 深圳十沣科技有限公司 Method, device, equipment and storage medium for constructing CAE software architecture
CN115794040B (en) * 2022-11-14 2024-02-06 深圳十沣科技有限公司 Method, device, equipment and storage medium for constructing CAE software architecture

Similar Documents

Publication Publication Date Title
CN107145354A (en) Software frame and its construction method, electric terminal and readable storage medium storing program for executing
US8166387B2 (en) DataGrid user interface control with row details
CN108280119A (en) Page generation method, device and user terminal
CN105138340A (en) Interaction method and system for Native and Web pages
CN103984781A (en) Webpage loading method and device
CN103605502A (en) Form page display method and server
CN104866318A (en) Method and device for displaying label pages in multiple windows
CN103559184A (en) Form page display method and device
CN107870980A (en) Electronic installation, billing data processing method and computer-readable storage medium
CN109299032B (en) Data analysing method, electronic equipment and computer storage medium
CN104346463A (en) Loading method and device of page label and browser client
CN107451237A (en) Serializing and unserializing method, apparatus and equipment
US8122381B2 (en) Context debugger
CN102354275B (en) Text input box and data processing method thereof
CN106528115A (en) Visualized interface development method and device
CN108874875A (en) The asynchronous loading method of web page contents, device, readable storage medium storing program for executing and terminal
CN107391163A (en) page data loading method, device and application in mobile terminal
CN107832088A (en) Control application method and device, computing device, computer-readable storage medium
CN109753198A (en) Interface access method, display methods, equipment, medium
US6828976B2 (en) Method and apparatus for hardware acceleration of graphical fill in display systems
CN109240660B (en) Access method of advertisement data, storage medium, electronic device and system
CN107247594B (en) Logic system, implementation method thereof, computing device and computer-readable storage medium
CN202904626U (en) RFID (Radio frequency identification) technology-based content composer of dynamic display system
CN110020342A (en) The processing method and processing device of data
CN111124400B (en) Calendar component implementation method and device, computer equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170908

RJ01 Rejection of invention patent application after publication