CN108932119A - A kind of hierarchy of items based on Android system - Google Patents
A kind of hierarchy of items based on Android system Download PDFInfo
- Publication number
- CN108932119A CN108932119A CN201810705262.6A CN201810705262A CN108932119A CN 108932119 A CN108932119 A CN 108932119A CN 201810705262 A CN201810705262 A CN 201810705262A CN 108932119 A CN108932119 A CN 108932119A
- Authority
- CN
- China
- Prior art keywords
- layers
- module
- app
- general
- layer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The present invention relates to field of computer technology, especially a kind of hierarchy of items based on Android system.It solves low code in large and medium-sized projects, resource file, service logic reusing degree and complicated business, UI, tool-class separates difficult problem.The present invention keeps android large and medium-sized projects framework well arranged.Shield the differentiation of version in android large and medium-sized projects development process.Android large and medium-sized projects service logic is separated with UI.Merge into android large and medium-sized projects mostly set code a set of.Code reuse degree improves, and module coupling degree reduces.Maintenance cost reduces, and development efficiency improves.
Description
Technical field
The present invention relates to field of computer technology, especially a kind of hierarchy of items based on Android system.It solves
Code, resource file, service logic reusing degree be low in large and medium-sized projects and complicated business, UI, tool-class separation is difficult asks
Topic.
Background technique
Android large and medium-sized projects are substantially based on core function, derive the version of multiple and different professional abilities
This, to adapt to different industries, different clients group.Currently, exploitation derived version be substantially by duplication, modification come, with
Version constantly replicate addition, code specification is poor, and reusing degree is not high.A large amount of repeated work causes risk to significantly improve, and props up
Support maintenance process switches between multiple projects, and maintenance cost is high.
Summary of the invention
The present invention solves the deficiencies in the prior art, provides that a kind of maintenance cost is low, development efficiency is high based on android system
The hierarchy of items of system.
The technical solution adopted by the present invention to solve the technical problems are as follows:
A kind of hierarchy of items based on Android system, including main application layer, UI layers of module, UI layers general, core business
Layer, general utility tool layer;
General utility tool layer includes Open-Source Tools, system compatible packet, customization tool and open source component, and setting upgrades, at character string
The functions such as reason, character encryption and chracter search;
Kernel business tier includes logging in, sending out mail, forwarding by mail and delete the logical function treatments such as mail;
The base model of general UI layers of setting system development, such as dominant hue, title bar, font size size, category of language;
UI layers of module are divided into basic module and derivative module, carry out derived version script by open source building script Gradle and match
It sets;
Multiple block combiner basis of formation app and derivative app, basic app and derivative app form main application layer, pass through core industry
Layer setting logical process item of being engaged in passes through general utility tool layer setting upgrading, word by the base model of general UI layers setting app
Accord with the functions such as string processing, character encryption and chracter search.
The main application layer, UI layers of module, kernel business tier and general utility tool layer are sequentially connected in series, UI layers of module and general UI
Layer is in parallel.
App entrance is arranged by manifest software in the main application layer.
Module UI layers of the basic module and derivative module carry out data interaction by intent.
Described module UI layers record the derivative code of each version, and by general UI layers UI layers of module are arranged with the basic sample of app
Formula.
The invention has the benefit that
1, a kind of hierarchy of items based on Android system, including main application layer, UI layers of module, UI layers general, core industry
Business layer, general utility tool layer;
General utility tool layer includes Open-Source Tools, system compatible packet, customization tool and open source component, and setting upgrades, at character string
The functions such as reason, character encryption and chracter search;
Kernel business tier includes logging in, sending out mail, forwarding by mail and delete the logical function treatments such as mail;
The base model of general UI layers of setting system development, such as dominant hue, title bar, font size size, category of language;
General utility tool layer, kernel business tier and general UI layers of progress hierarchical design, different function is integrated.When use never
Same layer is called.
UI layers of module are divided into basic module and derivative module, carry out derived version script by open source building script Gradle
Configuration;Developer designs the derivative module of different editions, and derived version script is individually saved.It significantly reduces out
Degree of raising difficult questions, it is stronger that hierarchical design makes developer design specific aim.App diversification is not only realized by combining between level,
And functions expanding ability is stronger.
Multiple block combiner basis of formation app and derivative app, basic app and derivative app form main application layer, pass through core
Logical process item is arranged in heart operation layer, and the base model of app is arranged by general UI layers, is arranged by general utility tool layer and is risen
The functions such as grade, string processing, character encryption and chracter search.The present invention changes conventional items developing thought, and the master answers
It is sequentially connected in series with layer, UI layers of module, kernel business tier and general utility tool layer, UI layers of module in parallel with general UI layers.Developer
It only needs for module UI layers of progress Source code programming, different function, item processing, design pattern is respectively integrated at general UI
On layer, kernel business tier or general utility tool layer, project development difficulty is reduced, and app is more various.
2, app entrance is arranged by manifest software in main application layer, by app entrance convenient for plurality of devices connection.Institute
The basic module for stating UI layers of module and derivative module improve interconnecting property between system by intent progress data interaction
Can, version compatibility is stronger.Described module UI layers record the derivative code of each version, and UI layers of module are arranged by general UI layers
The base model of app records the derivative code of each version respectively, transfers convenient for later maintenance and data.
In conclusion the present invention keeps android large and medium-sized projects framework well arranged.Shield android large and medium-sized projects
The differentiation of version in development process.Android large and medium-sized projects service logic is separated with UI.Make android large and medium-sized projects
More set codes are merged into a set of.Code reuse degree improves, and module coupling degree reduces.Maintenance cost reduces, and development efficiency improves.
Detailed description of the invention
Fig. 1 is layered structure schematic diagram of the present invention;
Fig. 2 connection schematic diagram between level of the present invention;
Dependence schematic diagram of the Fig. 3 between general UI layers and UI layers of module and derived version;
Fig. 4 communication interaction figure between module UI.
Specific embodiment
A kind of hierarchy of items based on Android system, including main application layer, UI layers of module, UI layers general, core
Operation layer, general utility tool layer;
General utility tool layer includes Open-Source Tools, system compatible packet, customization tool and open source component, and setting upgrades, at character string
The functions such as reason, character encryption and chracter search;
Kernel business tier includes logging in, sending out mail, forwarding by mail and delete the logical function treatments such as mail;
The base model of general UI layers of setting system development, such as dominant hue, title bar, font size size, category of language;
UI layers of module are divided into basic module and derivative module, carry out derived version script by open source building script Gradle and match
It sets;
Multiple block combiner basis of formation app and derivative app, basic app and derivative app form main application layer, pass through core industry
Layer setting logical process item of being engaged in passes through general utility tool layer setting upgrading, word by the base model of general UI layers setting app
Accord with the functions such as string processing, character encryption and chracter search.
The main application layer, UI layers of module, kernel business tier and general utility tool layer are sequentially connected in series, UI layers of module and general UI
Layer is in parallel.App entrance is arranged by manifest software in the main application layer.Module UI layers of the basic module and derivative mould
Block carries out data interaction by intent.Described module UI layers record the derivative code of each version, by general UI layers to module UI
The base model of layer setting app.
Technical staff is divided into basic module to UI layers of module and derivative module is individually developed, and multiple block combiners are formed
Basic app and derivative app, basic app and derivative app form main application layer.Technical staff is by general utility tool layer, core business
Layer, general UI layers of progress function integration and outfit.It is only needed when exploitation for derivative module focus development.It is arranged by layer functions
Mode promotes code reuse degree so that app forms a variety of patterns and different function.Module UI layers of the basic module and spread out
Raw module carries out data interaction by intent, improves equipment compatibility.General utility tool layer includes Open-Source Tools, system compatible
Packet, customization tool and open source component, the functions such as setting upgrading, string processing, character encryption and chracter search;
Kernel business tier includes logging in, sending out mail, forwarding by mail and delete the logical function treatments such as mail;
The base model of general UI layers of setting system development, such as dominant hue, title bar, font size size, category of language;
General utility tool layer, kernel business tier and general UI layers of progress hierarchical design, different function is integrated.When use never
Same layer is called.
UI layers of module are divided into basic module and derivative module, carry out derived version script by open source building script Gradle
Configuration;Developer designs the derivative module of different editions, and derived version script is individually saved.It significantly reduces out
Degree of raising difficult questions, it is stronger that hierarchical design makes developer design specific aim.App diversification is not only realized by combining between level,
And functions expanding ability is stronger.
Multiple block combiner basis of formation app and derivative app, basic app and derivative app form main application layer, pass through core
Logical process item is arranged in heart operation layer, and the base model of app is arranged by general UI layers, is arranged by general utility tool layer and is risen
The functions such as grade, string processing, character encryption and chracter search.The present invention changes conventional items developing thought, and the master answers
It is sequentially connected in series with layer, UI layers of module, kernel business tier and general utility tool layer, UI layers of module in parallel with general UI layers.Developer
It only needs for module UI layers of progress Source code programming, different function, item processing, design pattern is respectively integrated at general UI
On layer, kernel business tier or general utility tool layer, project development difficulty is reduced, and app is more various.
App entrance is arranged by manifest software in main application layer, by app entrance convenient for plurality of devices connection.It is described
The basic module that UI layer of module and derivative module improve the performance that interconnects between system by intent progress data interaction,
Version compatibility is stronger.Described module UI layers record the derivative code of each version, are arranged app's to UI layers of module by general UI layers
Base model records the derivative code of each version respectively, transfers convenient for later maintenance and data.
Claims (5)
1. a kind of hierarchy of items based on Android system, it is characterised in that including main application layer, UI layers of module, general
UI layers, kernel business tier, general utility tool layer;
General utility tool layer includes Open-Source Tools, system compatible packet, customization tool and open source component, and setting upgrades, at character string
The functions such as reason, character encryption and chracter search;
Kernel business tier includes logging in, sending out mail, forwarding by mail and delete the logical function treatments such as mail;
The base model of general UI layers of setting system development, such as dominant hue, title bar, font size size, category of language;
UI layers of module are divided into basic module and derivative module, carry out derived version script by open source building script Gradle and match
It sets;
Multiple block combiner basis of formation app and derivative app, basic app and derivative app form main application layer, pass through core industry
Layer setting logical process item of being engaged in passes through general utility tool layer setting upgrading, word by the base model of general UI layers setting app
Accord with the functions such as string processing, character encryption and chracter search.
2. a kind of hierarchy of items based on Android system according to claim 1, it is characterised in that the master answers
It is sequentially connected in series with layer, UI layers of module, kernel business tier and general utility tool layer, UI layers of module in parallel with general UI layers.
3. a kind of hierarchy of items based on Android system according to claim 1, it is characterised in that the master answers
App entrance is arranged by manifest software with layer.
4. a kind of hierarchy of items based on Android system according to claim 1, it is characterised in that the module
UI layers of basic module and derivative module carry out data interaction by intent.
5. a kind of hierarchy of items based on Android system according to claim 2, it is characterised in that the module
UI layers record the derivative code of each version, and by general UI layers UI layers of module are arranged with the base model of app.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810705262.6A CN108932119B (en) | 2018-07-01 | 2018-07-01 | Project layering method based on android system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810705262.6A CN108932119B (en) | 2018-07-01 | 2018-07-01 | Project layering method based on android system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108932119A true CN108932119A (en) | 2018-12-04 |
CN108932119B CN108932119B (en) | 2022-12-30 |
Family
ID=64447521
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810705262.6A Active CN108932119B (en) | 2018-07-01 | 2018-07-01 | Project layering method based on android system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108932119B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111399837A (en) * | 2020-04-01 | 2020-07-10 | 中电万维信息技术有限责任公司 | Questionnaire survey development method based on android system |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110154328A1 (en) * | 2009-12-21 | 2011-06-23 | Samsung Electronics Co., Ltd. | Virtualization Apparatus and Method |
CN103365632A (en) * | 2012-03-26 | 2013-10-23 | 联想(北京)有限公司 | Data module and method and equipment for generating data module |
CN103581295A (en) * | 2013-09-27 | 2014-02-12 | 华数数字电视传媒集团有限公司 | Mobile integration client side system based on multi-service multi-network framework |
CN103645684A (en) * | 2013-11-20 | 2014-03-19 | 江苏大学 | Remote monitoring system based on GPRS transmission and operating method |
US20140215408A1 (en) * | 2013-01-31 | 2014-07-31 | Disney Enterprises, Inc. | Multi-layer user interfaces |
CN104035766A (en) * | 2014-05-23 | 2014-09-10 | 四川长虹电器股份有限公司 | Android system trimming method based on coverage rate test |
CN104063279A (en) * | 2013-03-20 | 2014-09-24 | 腾讯科技(深圳)有限公司 | Task scheduling method and device and terminal |
CN105573914A (en) * | 2015-12-15 | 2016-05-11 | 国云科技股份有限公司 | Project hierarchical method for Android application |
US20170060733A1 (en) * | 2015-08-31 | 2017-03-02 | International Business Machines Corporation | Determining code coverage of an application by test(s) |
CN106775751A (en) * | 2016-12-30 | 2017-05-31 | 深圳中顺易金融服务有限公司 | A kind of web front-end frame system and framework method |
CN106815016A (en) * | 2016-12-23 | 2017-06-09 | 四川大学 | A kind of MVVM based on Domain Driven Design designs a model |
CN107193545A (en) * | 2017-04-07 | 2017-09-22 | 广东省科技基础条件平台中心 | Multilingual co-development device, the method and system of a kind of component-oriented |
-
2018
- 2018-07-01 CN CN201810705262.6A patent/CN108932119B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110154328A1 (en) * | 2009-12-21 | 2011-06-23 | Samsung Electronics Co., Ltd. | Virtualization Apparatus and Method |
CN103365632A (en) * | 2012-03-26 | 2013-10-23 | 联想(北京)有限公司 | Data module and method and equipment for generating data module |
US20140215408A1 (en) * | 2013-01-31 | 2014-07-31 | Disney Enterprises, Inc. | Multi-layer user interfaces |
CN104063279A (en) * | 2013-03-20 | 2014-09-24 | 腾讯科技(深圳)有限公司 | Task scheduling method and device and terminal |
CN103581295A (en) * | 2013-09-27 | 2014-02-12 | 华数数字电视传媒集团有限公司 | Mobile integration client side system based on multi-service multi-network framework |
CN103645684A (en) * | 2013-11-20 | 2014-03-19 | 江苏大学 | Remote monitoring system based on GPRS transmission and operating method |
CN104035766A (en) * | 2014-05-23 | 2014-09-10 | 四川长虹电器股份有限公司 | Android system trimming method based on coverage rate test |
US20170060733A1 (en) * | 2015-08-31 | 2017-03-02 | International Business Machines Corporation | Determining code coverage of an application by test(s) |
CN105573914A (en) * | 2015-12-15 | 2016-05-11 | 国云科技股份有限公司 | Project hierarchical method for Android application |
CN106815016A (en) * | 2016-12-23 | 2017-06-09 | 四川大学 | A kind of MVVM based on Domain Driven Design designs a model |
CN106775751A (en) * | 2016-12-30 | 2017-05-31 | 深圳中顺易金融服务有限公司 | A kind of web front-end frame system and framework method |
CN107193545A (en) * | 2017-04-07 | 2017-09-22 | 广东省科技基础条件平台中心 | Multilingual co-development device, the method and system of a kind of component-oriented |
Non-Patent Citations (3)
Title |
---|
Y. CUIXIA 等: "UI Ripping in Android: Reverse Engineering of Graphical User Interfaces and its Application", 《2015 IEEE CONFERENCE ON COLLABORATION AND INTERNET COMPUTING (CIC), 2015》 * |
张志勇: "多层分布式系统关键技术研究与应用——基于Java Web的南阳地税局直属局网站管理系统", 《HTTPS://D.WANFANGDATA.COM.CN/THESIS/CHJUAGVZAXNOZXDTMJAYMTA1MTKSCFKXOTMWNJUZGGHJCNLXDHNYOA%3D%3D》 * |
桑成龙 等: "一种iphone软件的UI层单元测试方案", 《莆田学院学报》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111399837A (en) * | 2020-04-01 | 2020-07-10 | 中电万维信息技术有限责任公司 | Questionnaire survey development method based on android system |
Also Published As
Publication number | Publication date |
---|---|
CN108932119B (en) | 2022-12-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7739267B2 (en) | Classification and sequencing of mixed data flows | |
US7689582B2 (en) | Data flow system and method for heterogeneous data integration environments | |
CN108509185B (en) | System and method for arbitrary software logic modeling | |
CN106155651A (en) | The method and system that the automation of application version is issued and updated | |
CN102665231B (en) | Method of automatically generating parameter configuration file for LTE (Long Term Evolution) system | |
CN101841515A (en) | Target variable protocol data unit codec code automatic generation implementation method | |
CN102801565B (en) | Method for carrying out centralized management on service configuration in network management system | |
CN111651431A (en) | Database service oriented management flow standardization method | |
CN102663076A (en) | Method for processing file data | |
CN101499063A (en) | Tracing-based database schema evolution method and system | |
CN102306200A (en) | Device and method for concurrently applying incremental data manipulation statements | |
KR102099069B1 (en) | Hybrid ERD Management System, and method thereof | |
CN102722368B (en) | Plug-in software designing method based on document tree and message pump | |
CN102981882A (en) | Analytic method and analytic device | |
CN106777510A (en) | A kind of automatic generation method of guided missile production schedule | |
CN106250134A (en) | The code automatic generation method of unicity language | |
CN107103035A (en) | This earth's surface data-updating method and device | |
CN111290813B (en) | Software interface field data standardization method, device, equipment and medium | |
CN109683881A (en) | A kind of code format method of adjustment and device | |
CN108932119A (en) | A kind of hierarchy of items based on Android system | |
CN108255852A (en) | SQL performs method and device | |
CN101615188B (en) | Method and device for importing multi-source data into data template | |
CN105975258A (en) | Data dictionary management method and system | |
CN103810365A (en) | Automatic grading method based on hydroelectric simulation training system | |
CN109271199A (en) | A kind of method and system for database continuous integrating and script file management |
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 | ||
CB02 | Change of applicant information |
Address after: 730000 Zhangsutan 553, Chengguan District, Lanzhou City, Gansu Province Applicant after: China Power World Wide Information Technology Co.,Ltd. Address before: 730000 Zhangsutan 553, Chengguan District, Lanzhou City, Gansu Province Applicant before: GANSU WANWEI CO. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |