APP modular development method, device and equipment based on iOS platform

An APP module and platform technology, applied in software design and other directions, can solve problems such as large memory consumption, and achieve the effect of avoiding circular references, reducing memory consumption, and reducing code interdependence

Active Publication Date: 2019-04-09
ELECTRIC POWER SCI RES INST OF STATE GRID XINJIANG ELECTRIC POWER +3
View PDF12 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention proposes an iOS platform-based APP modular development method, devi

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • APP modular development method, device and equipment based on iOS platform
  • APP modular development method, device and equipment based on iOS platform
  • APP modular development method, device and equipment based on iOS platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0058] Embodiment 1 of the present invention provides an APP modular development method based on the iOS platform. After splitting the APP project to be developed into multiple modules, participate in figure 1 As shown, the method includes the steps:

[0059] In step S11, the interaction between modules is divided into three parts: data processing, routing processing and event monitoring.

[0060] That is, the interactive tasks between the various modules required by the middleware are completed through three parts: data processing, routing processing and event monitoring.

[0061] Each module is each module after splitting.

[0062] Step S12, performing data processing, including performing data sharing and data transfer among modules.

[0063] Data sharing refers to the data that can be obtained by all modules, and the data transferred by the data can be attached to routes and events.

[0064] Step S13, perform routing processing, including processing the page logic of ea...

Embodiment 2

[0071] Embodiment 2 of the present invention provides a preferred embodiment of an iOS platform-based APP modular development method.

[0072] In the development of iOS platform projects, components are usually understood as smaller functional blocks, while larger-grained business functions become modules. An APP will contain many modules, and the modules will call and communicate with each other. Therefore, in order to solve the problem of interdependence between modules and rapid development and construction of projects, in this preferred embodiment, the modules are layered. For the specific architecture diagram, see figure 2 shown.

[0073] As a preferred implementation mode, it is mainly divided into a business layer, a public service layer, and a basic layer. The business layer is composed of various business modules, such as figure 2 Business 1-Business 4 shown in above refers to business modules 1-4; the public service layer is composed of network module, public UI...

Embodiment approach

[0119] This solution not only provides support for native pages on the iOS platform, but also provides support for WebView containers and React Native, so that these two types of business components can be connected to the component system through this solution like native ones. As an implementable method, the specific implementation process is as follows:

[0120] First: Through protocol extension, register protocol routes: https and reacts, so that other components can call these pages through routes. After extension, we can use routes to jump to H5 pages:

[0121] [self jumpTo:@"url / login H5 page"];

[0122] Second, make a bridge between Native and the container, use WebViewJavaScriptBridge on WebView as a JavaScript bridge, add Native Module to React Native, call routing components and data components to handle routing jumps, event notifications and data requests . Routing and notification are relatively simple, and the focus is on the processing of special types of data...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an APP modular development method, device and equipment based on iOS platform. The method comprises the following steps of: dividing interaction among modules into three parts,namely data processing, routing processing and event monitoring; Data processing: carrying out data sharing and data transmission on each module; Routing processing, including processing page logic of each module; And event monitoring: carrying out module initialization and page monitoring. The modular development device comprises the middleware for realizing the method. The electronic equipmentcomprises a processor and a memory in communication connection with the processor, program instructions executed by the processor are stored in the memory, and the processor can execute the modular development method by calling the program instructions. According to the iOS platform-based APP modular development method, device and equipment provided by the invention, cyclic reference caused by intermodule code dependence can be avoided, and the consumption of a memory is reduced.

Description

technical field [0001] The invention relates to the technical field of software development, in particular to an iOS platform-based APP modular development method, device and equipment. Background technique [0002] With the continuous development of the mobile Internet, the amount of program code and business in the development of many APP (Application) projects is increasing. With the development of business, the scale of APP is gradually expanding, code management and collaborative development become difficult, and compilation takes time. It has also set new highs repeatedly, and the split of application functions and the split of R&D teams is also inevitable. These developments require changes in the APP architecture to support the development of large-scale APPs and cross-team collaboration. The existing architecture is no longer suitable for the development speed of business needs. Many projects are facing the problem of refactoring, and the solution is to integrate ea...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/20
CPCG06F8/24
Inventor 郭伟裴永吉马超高磊冷曼
Owner ELECTRIC POWER SCI RES INST OF STATE GRID XINJIANG ELECTRIC POWER
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products