CN109062578B - Development platform based on APP modularization - Google Patents
Development platform based on APP modularization Download PDFInfo
- Publication number
- CN109062578B CN109062578B CN201810858249.4A CN201810858249A CN109062578B CN 109062578 B CN109062578 B CN 109062578B CN 201810858249 A CN201810858249 A CN 201810858249A CN 109062578 B CN109062578 B CN 109062578B
- Authority
- CN
- China
- Prior art keywords
- interface
- module
- player
- message
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention relates to an APP-componentization-based development platform, which subdivides interface elements of an APP into independent modules, and selects different interface elements through specific marks, thereby realizing different interface effects. By the method, development workload of a client in interface modification is avoided, the APP interface is more flexible, the adjustment does not need to submit APP application market audit again, the interface can be updated, and great benefit is brought to maintenance cost reduction. Meanwhile, the user module is independent, so that the modules developed by other personnel can be conveniently butted.
Description
Technical Field
The invention relates to the field of software development, in particular to an APP-componentization-based development platform.
Background
With the increasing popularity of smart phones and the increasing speed of internet surfing of mobile phones, the applications of mobile phone APPs are becoming more popular, and almost all enterprises are paying attention to the development and application of mobile phone APPs due to the implementation of unlimited traffic policies of recent network operators. Mobile phone APP is becoming the primary entry for user traffic.
However, the situation of the internet changes rapidly, and the traditional APP development mode faces a problem;
the APP verification period is too long, when the APP completed in the traditional development mode is submitted to each large application platform, one verification period needs to be passed, the verification period is too long, particularly the verification period of the apple is difficult to predict, and an enterprise often misses the optimal propaganda time point.
The interface adjustment workload is large, the style of the interface is invariable by using a traditional development mode, once a customer puts forward a new style requirement, the adjustment is hopefully completed in the fastest time. Therefore, the developer needs to adjust the program in overtime, so that the programmer is tired, and the development time cannot meet the requirements of clients.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide an APP-based modular development platform, which subdivides the interface elements of an APP into independent modules and selects different interface elements through specific marks, thereby realizing different interface effects. By the method, development workload of a client in interface modification is avoided, the APP interface is more flexible, the adjustment does not need to submit APP application market audit again, the interface can be updated, and great benefit is brought to maintenance cost reduction. Meanwhile, the user module is independent, so that the modules developed by other personnel can be conveniently butted.
The purpose of the invention is realized by the following technical scheme:
an APP componentization-based development platform, the platform comprising:
a user information module assembly, comprising:
designing a user login interface and an information verification interface;
the module component acquires user information from the server, logs in a registration service, stores the user information to the local after the service is completed, and provides a service interface for logging in, registering and acquiring the user information for the external visibility of the module;
when other modules call the module information, local information is inquired first, if no matched information exists, the local information is acquired from the server and stored and returned to other modules;
the interface style module component comprises all interfaces of the APP except the login interface and is used for displaying the content to be displayed;
the player module component is used for simultaneously providing a player and a player interface for realizing video playing, the player interface is packaged into a sub-module by using automatic layout, the player is packaged into a sub-module, and the self command of the player is butted with an external interface of the sub-module of the player interface to realize the control of the player;
a message module component implemented as:
pushing a registration message and setting a component identifier of the registration message;
receiving the message from the server, storing the message locally, comparing the message with the historical message to remove duplicate, and then prompting different messages to the user;
and when the user clicks the message, the message module records and uploads the content of the message and the behavior of the user, and meanwhile, a corresponding style is searched in the interface style module assembly through a module identifier contained in the message module and is displayed to the user.
Further, the obtained user information includes original information and user modification information during user registration.
Furthermore, the page except the list page in all the interfaces of the interface style module component is divided into a plurality of sub-modules, the server represents the sub-modules needed by the interface by transmitting a group of elements to the interface style module, the sub-modules draw the interface according to the parameters of the server, and then the sub-modules are typeset and displayed through the interface style module.
Furthermore, the list style of the interface style module component comprises a plurality of styles, and the styles realize the pull-up and scroll viewing of more interface elements through a mode of adding views in the cells.
Furthermore, the control instructions of the player sub-module and the player interface sub-module are opened to the outside for use, so that the compatibility of other players and player interface access is improved.
Furthermore, the message module component integrates message pushing and message page jumping, so that calling of other modules is facilitated.
Further, in the step of comparing and removing duplicate, the same message is directly discarded without prompting the user, and the user is prompted for different messages.
The invention has the beneficial effects that: compare with traditional APP development platform, this scheme designs into a plurality of independent subassemblies with the basic element that APP constitutes, makes up according to the demand and builds when developing, and every subassembly still is provided with external interface simultaneously, can update it to make the subassembly content become more diversified, make APP's design convenient more and diversified.
Drawings
FIG. 1 is an overall flow chart of the present invention;
FIG. 2 is a block diagram of a user information module component;
FIG. 3 is a block diagram of an interface style module component;
FIG. 4 is a block diagram of the components of a player module;
fig. 5 is a message module component block diagram.
Detailed Description
The technical solution of the present invention is further described in detail with reference to the following specific examples, but the scope of the present invention is not limited to the following.
A development platform based on APP componentization introduces in principle:
and packaging various styles of the interface into different modules, and registering a unique mark. And at different interfaces, the APP selects the corresponding module to display according to the mark returned by the server.
And an external interface is made for the user information module. The method comprises the steps of obtaining user information, inquiring the user information and modifying the user information. The module is mainly used for unifying the user data of the APP so as to be beneficial to other modules needing to use the user information to use and keep the consistency and uniqueness of the user information.
As shown in fig. 1, an APP componentization-based development platform includes a user information module component, a player module component, an interface style module component, and a message module component, as can be seen from fig. 1, each component of an APP is separately and independently designed in the platform, and what content is needed is called from the corresponding component when any APP is developed, and then, the combined typesetting is performed.
As shown in fig. 2, the user information module component implements the steps of:
the interface of the two styles is written by a development tool. One is an interface using a login password, and the other is an interface using a short message verification code.
The module content realizes that the user information is obtained from the server, the registered service is logged in, and the user information is stored locally after the service is completed. Then the service interface for logging in, registering and obtaining the user information is provided for the module to be visible outside.
When other modules call the information of the module, the local information is firstly inquired, if no information exists, the local information is acquired from the server and stored and returned to other modules.
As shown in fig. 3, the interface style module component:
the interface style module is primarily the interface seen within all but the login interface within the APP. The assembly comprises a plurality of sub-module assemblies. Thereby realizing the diversification of the interface, and the realization steps are as follows
For list styles, multiple styles are implemented, where the number of styles is not limited. The style adds a view mode in the cell, so that the user can scroll up to view more interface elements.
For pages except the list page, elements of the page need to be split into small sub-modules, the server tells the sub-modules needed by the interface through a group of element marks transmitted to the interface style module, and the sub-modules perform typesetting on the sub-modules through the interface style module after drawing the interface according to other parameters of the server.
As shown in fig. 4, the player module assembly:
a player module is provided to meet the need for video playback, the player module providing both the player and the interface. And packaging the player interface into a sub-module by using automatic layout, wherein the player only has the function of playing videos and is packaged into a sub-module, and the command of the player is butted with an external interface of the interface sub-module to realize the control of the player. Meanwhile, the two sub-modules open a control instruction method to the outside for external use, so that the access to other players or player interfaces has the characteristics of good compatibility and high expandability, as shown in fig. 4, the whole player in the assembly is divided into a player module sub-assembly and a player interface module sub-assembly, and the corresponding sub-assemblies are respectively expanded with interfaces for connecting other player modules and other player interfaces, for example, the original player module sub-assembly + other player interfaces = a new player, and similarly, the player interface module sub-assembly + other player modules = a new player, or the other player modules + other player interfaces = a new player, so that the design diversity of the player is improved.
As shown in fig. 5, the message module component integrates the pushing of the message and the transferring of the message page, so as to facilitate the calling of other modules, and implement the following steps:
and pushing the registration message to the mobile phone and setting the component mark of the mobile phone.
And receiving the message from the server, locally storing the message, comparing the message with the historical message to remove duplicate, and directly discarding the same message by the module without prompting the user. For different messages, the module prompts the user.
When the user clicks on the message, the module records and uploads the content of the message and the behavior of the user. And meanwhile, searching a corresponding style in the interface style module component through a module mark contained in the message body, and displaying the style to a user.
The foregoing is illustrative of the preferred embodiments of this invention, and it is to be understood that the invention is not limited to the precise form disclosed herein and that various other combinations, modifications, and environments may be resorted to, falling within the scope of the concept as disclosed herein, either as described above or as apparent to those skilled in the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (6)
1. A development platform based on APP componentization, the platform comprising:
a user information module assembly, comprising:
designing a user login interface and an information verification interface;
the module component acquires user information from the server, logs in a registration service, stores the user information to the local after the service is completed, and provides a service interface for logging in, registering and acquiring the user information for the external visibility of the module;
when other modules call the module information, local information is inquired first, if no matched information exists, the local information is acquired from the server and stored and returned to other modules;
the interface style module component comprises all interfaces of the APP except the login interface and is used for displaying the content to be displayed;
the player module assembly is used for simultaneously providing a player and a player interface for realizing video playing, the player interface is packaged into a sub-module by using automatic layout, the player is packaged into a sub-module, and the self command of the player is butted with an external interface of the player interface sub-module to realize the control of the player;
the whole player in the player module assembly is divided into a player module subassembly and a player interface module subassembly, and the player module subassembly and the player interface module subassembly are correspondingly respectively expanded to be in interface butt joint with other player modules and other player interfaces, so that the design diversity of the player is improved;
a message module component implemented as:
pushing a registration message and setting a component identifier of the registration message;
receiving the message from the server, storing the message locally, comparing the message with the historical message to remove duplicate, and then prompting different messages to the user;
and when the user clicks the message, the message module records and uploads the content of the message and the behavior of the user, and meanwhile, a corresponding style is searched in the interface style module assembly through a module identifier contained in the message module and is displayed to the user.
2. The APP componentization-based development platform of claim 1, wherein the obtained user information comprises original information and user modification information at user registration.
3. The development platform based on the APP modularization of claim 2, wherein the page except the list page in all interfaces of the interface style module component is divided into a plurality of sub-modules, the server represents the sub-modules needed by the determined interface by transmitting to a group of elements of the interface style module, and the sub-modules draw the interface according to parameters of the server and then perform typesetting display through the interface style module.
4. The APP-based componentization development platform of claim 3, wherein the list style of the interface style module component comprises a plurality of styles, and the styles enable a user to scroll up and view more interface elements through a mode of adding views in a cell.
5. The APP-based componentization development platform of claim 1, wherein the message module component integrates pushing of messages and jumping of message pages, facilitating calling of other modules.
6. The APP-based componentization development platform of claim 5, wherein in the step of comparing and deduplication processing, the same message is directly discarded without prompting the user, and the user is prompted for a different message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810858249.4A CN109062578B (en) | 2018-07-31 | 2018-07-31 | Development platform based on APP modularization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810858249.4A CN109062578B (en) | 2018-07-31 | 2018-07-31 | Development platform based on APP modularization |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109062578A CN109062578A (en) | 2018-12-21 |
CN109062578B true CN109062578B (en) | 2022-03-01 |
Family
ID=64831984
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810858249.4A Active CN109062578B (en) | 2018-07-31 | 2018-07-31 | Development platform based on APP modularization |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109062578B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110366118A (en) * | 2019-07-05 | 2019-10-22 | 广州市百果园信息技术有限公司 | A kind of radio station, application program and the method for realizing radio station function |
CN114553477B (en) * | 2022-01-12 | 2024-03-22 | 青岛海尔科技有限公司 | Page jump method, device, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103414791A (en) * | 2013-08-30 | 2013-11-27 | 苏州跨界软件科技有限公司 | Mobile application development cloud platform |
CN103761082A (en) * | 2013-12-31 | 2014-04-30 | 湖南大唐先一科技有限公司 | Componential research and development mode and domain driving model combined application development system and platform |
CN104426967A (en) * | 2013-08-30 | 2015-03-18 | 中国石油天然气股份有限公司 | Cross-platform and cross-device mobile application construction method |
CN105739987A (en) * | 2016-02-03 | 2016-07-06 | 成都四方伟业软件股份有限公司 | SOA-oriented rapid JavaWeb application construction system framework |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100694043B1 (en) * | 2000-05-18 | 2007-03-12 | 삼성전자주식회사 | Audio/Video system and function- extending module therefor |
US20080320081A1 (en) * | 2007-06-19 | 2008-12-25 | Microsoft Corporation | Service componentization and composition architecture |
US9888115B2 (en) * | 2013-02-28 | 2018-02-06 | Lennard A. Gumaer | Media device and method of using a media device |
CA3001304C (en) * | 2015-06-05 | 2021-10-19 | C3 Iot, Inc. | Systems, methods, and devices for an enterprise internet-of-things application development platform |
CN104951301B (en) * | 2015-06-10 | 2018-11-23 | 腾讯科技(北京)有限公司 | The user interface process method, apparatus and system of home media playback equipment |
US9870207B2 (en) * | 2015-12-22 | 2018-01-16 | Sap Se | Software development using re-usable software components |
-
2018
- 2018-07-31 CN CN201810858249.4A patent/CN109062578B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103414791A (en) * | 2013-08-30 | 2013-11-27 | 苏州跨界软件科技有限公司 | Mobile application development cloud platform |
CN104426967A (en) * | 2013-08-30 | 2015-03-18 | 中国石油天然气股份有限公司 | Cross-platform and cross-device mobile application construction method |
CN103761082A (en) * | 2013-12-31 | 2014-04-30 | 湖南大唐先一科技有限公司 | Componential research and development mode and domain driving model combined application development system and platform |
CN105739987A (en) * | 2016-02-03 | 2016-07-06 | 成都四方伟业软件股份有限公司 | SOA-oriented rapid JavaWeb application construction system framework |
Non-Patent Citations (1)
Title |
---|
基于移动营销平台的Android APP智能生成技术研究与实现;赵玉凤;《中国优秀硕士学位论文全文数据库 信息科技辑》;20160315;I138-5179 * |
Also Published As
Publication number | Publication date |
---|---|
CN109062578A (en) | 2018-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106843828B (en) | Interface display and loading method and device | |
CA2915619C (en) | Method and apparatus for customized software development kit (sdk) generation | |
WO2019200303A1 (en) | Systems and methods for automated module-based content provisioning | |
US20160085514A1 (en) | Development System and Method for Providing External Functionality | |
CN109388399A (en) | The page and Universal page configuration file generation method, device, equipment and medium | |
Knott | Hands-on mobile app testing: a guide for mobile testers and anyone involved in the mobile app business | |
US11962680B2 (en) | Blockchain ledger growth management | |
CN105120006A (en) | Live commenting control method, live commenting server and live commenting control device for electronic readings | |
JP2022527232A (en) | Mini-program processing methods, devices, equipment and storage media | |
Collins et al. | Mobile devices: Tools and technologies | |
CN109062578B (en) | Development platform based on APP modularization | |
CN107770212A (en) | Rich communication suite distribution platform, method for updating edition and system, mobile terminal | |
CN106781753A (en) | A kind of training system suitable for different mobile terminal | |
CN109829123A (en) | A kind of method for sending information and device | |
CN114244896A (en) | Message pushing method and device, electronic equipment and storage medium | |
CN113127370A (en) | Report system smoking test method, RPA robot and system | |
US20200042940A1 (en) | Interactive apparatus, control apparatus, interactive system, interactive method, and control method | |
WO2017165253A1 (en) | Modular communications | |
Hunter | Irresistible APIs: Designing web APIs that developers will love | |
Esposito | Architecting mobile solutions for the enterprise | |
US8645262B1 (en) | System and method for displaying security information | |
KR20150123013A (en) | Learning method and apparatus for smart devices | |
Venema | Building serverless applications with Google Cloud Run | |
CN112597531A (en) | Data product management method and device | |
CN106127517A (en) | The update method of a kind of advertisement putting plan version and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |