CN111290737A - Method and device for application program development and electronic equipment - Google Patents
Method and device for application program development and electronic equipment Download PDFInfo
- Publication number
- CN111290737A CN111290737A CN202010063655.9A CN202010063655A CN111290737A CN 111290737 A CN111290737 A CN 111290737A CN 202010063655 A CN202010063655 A CN 202010063655A CN 111290737 A CN111290737 A CN 111290737A
- Authority
- CN
- China
- Prior art keywords
- application
- development
- module
- development scheme
- type
- 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
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000011161 development Methods 0.000 claims abstract description 135
- 230000008878 coupling Effects 0.000 claims abstract description 11
- 238000010168 coupling process Methods 0.000 claims abstract description 11
- 238000005859 coupling reaction Methods 0.000 claims abstract description 11
- 230000006870 function Effects 0.000 claims description 47
- 238000005316 response function Methods 0.000 claims description 8
- 230000008569 process Effects 0.000 abstract description 6
- 238000012545 processing Methods 0.000 abstract description 6
- 238000004883 computer application Methods 0.000 abstract description 2
- 238000012423 maintenance Methods 0.000 abstract description 2
- 238000004590 computer program Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 239000000306 component Substances 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000006378 damage Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 239000008358 core component Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000002347 injection Methods 0.000 description 1
- 239000007924 injection Substances 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000000243 solution Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
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)
Abstract
The embodiment of the disclosure provides a method and a device for application program development and electronic equipment, belonging to the technical field of computer application, wherein the method comprises the following steps: determining the application type of each service module to be developed in the application program; matching a development scheme corresponding to the application type for each business module, wherein the development scheme is any one of a native development scheme, a WebView development scheme and a Flutter development scheme; developing each business module by using the development scheme matched with each business module; and coupling all the service modules to obtain the application program. By the processing scheme, a mixed development scheme aiming at different business modules in the application program is provided, the system adaptability of the business modules is improved, the development difficulty and time consumption are reduced, and the development and maintenance processes of the application program are optimized.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for application development, and an electronic device.
Background
An Application program (APP for short) of a mobile device is a third-party Application program (also called Native APP) that is compiled and run by using a Native development language based on a local operating system of the mobile device, such as an IOS system, Android, Windows Phone, and the like.
Currently, cross-platform use of applications is becoming more common, and the same application may be used in different operating systems, so that adaptation of devices of the mainstream mobile operating system is required. When an enterprise develops a cross-platform application program, each mobile operating system needs to be provided with an independent development project. When an enterprise needs to develop a cross-platform application program in a short time, developers with strong capacity in each development project need to quickly build a native interface, the unification of the program interfaces also needs a large number of communication among developers of each platform project, the development efficiency is low, the cost of the enterprise is increased, and the problem that the program interfaces among different platforms are not uniform easily occurs.
It can be seen that the existing scheme for application program development has the technical problems of high development difficulty, and labor and time cost consumption.
Disclosure of Invention
In view of the above, embodiments of the present disclosure provide a method, an apparatus, and an electronic device for application development, which at least partially solve the problems in the prior art.
In a first aspect, an embodiment of the present disclosure provides a method for application development, including:
determining the application type of each service module to be developed in the application program;
matching a development scheme corresponding to the application type for each business module, wherein the development scheme is any one of a native development scheme, a WebView development scheme and a Flutter development scheme;
developing each business module by using the development scheme matched with each business module;
and coupling all the service modules to obtain the application program.
According to a specific implementation manner of the embodiment of the present disclosure, the application type of the service module is any one of the following types:
a first type having a dynamic editing function;
a second type having a timely response function;
a third type having a base operation function.
According to a specific implementation manner of the embodiment of the present disclosure, the step of matching a development scheme corresponding to an application type for each service module includes any one of the following steps:
if the service type of the service module is the first type, matching a WebView development scheme for the service module;
if the service type of the service module is the second type, matching a Flutter development scheme for the service module;
and if the service type of the service module is the third type, matching a native development scheme for the service module.
According to a specific implementation manner of the embodiment of the present disclosure, the step of determining the application type of each service module to be developed in the application program includes:
acquiring a requirement degree value of each application function corresponding to the service module, wherein the application functions comprise; a dynamic editing function, a timely response function and a basic operation function;
and determining the application type of the service module according to the requirement degree value of each application function corresponding to the service module.
According to a specific implementation manner of the embodiment of the present disclosure, the step of determining the application type of the service module according to the requirement level value of each application function corresponding to the service module includes:
and determining the application type corresponding to the target application function with the maximum requirement degree value as the application type of the service module.
According to a specific implementation manner of the embodiment of the disclosure, if the development scheme corresponding to the application type of the service module is a WebView development scheme;
the step of developing each business module by using the development scheme matched with each business module comprises the following steps:
the page in HTML5 format is loaded using WebView controls.
According to a specific implementation manner of the embodiment of the present disclosure, the mobile operating system in which the application runs is an Android system or an IOS system.
According to a specific implementation manner of the embodiment of the present disclosure, the application program includes a mobile application layer, a common engine and at least two browser engines; wherein,
and the common engine is used for loading and operating the at least two browser engines and combining the file data in the mobile application layer to realize service logic.
According to a specific implementation of the disclosed embodiment, the common engine includes an engine adapter and a native plug-in framework; wherein,
the engine adapter is used for extracting the loading operation interfaces of the at least two browser engines to form a common interface;
the native plug-in framework is used for combining the frameworks in the mobile application layer to realize business logic.
According to a specific implementation manner of the embodiment of the present disclosure, the mobile application layer includes an HTML file, JavaScript, CSS sample table, and multimedia data.
In a second aspect, an embodiment of the present disclosure provides an apparatus for application development, including:
the determining module is used for determining the application type of each service module to be developed in the application program;
the matching module is used for matching a development scheme corresponding to the application type for each business module, wherein the development scheme is any one of a native development scheme, a WebView development scheme and a Flutter development scheme;
the development module is used for developing each business module by utilizing the development scheme matched with each business module;
and the coupling module is used for coupling all the service modules to obtain the application program.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, where the electronic device includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method for application development of the first aspect described above or any implementation of the first aspect.
In a fourth aspect, the disclosed embodiments also provide a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method for application development in the first aspect or any implementation manner of the first aspect.
In a fifth aspect, the embodiments of the present disclosure also provide a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method for application development in the foregoing first aspect or any implementation manner of the first aspect.
The embodiment of the disclosure provides a method and a device for application program development and electronic equipment, belonging to the technical field of computer application, wherein the method comprises the following steps: determining the application type of each service module to be developed in the application program; matching a development scheme corresponding to the application type for each business module, wherein the development scheme is any one of a native development scheme, a WebView development scheme and a Flutter development scheme; developing each business module by using the development scheme matched with each business module; and coupling all the service modules to obtain the application program. By the processing scheme, a mixed development scheme aiming at different business modules in the application program is provided, the system adaptability of the business modules is improved, the development difficulty and time consumption are reduced, and the development and maintenance processes for the application program are optimized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings needed to be used in the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of application development provided by an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an apparatus for application development according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of an electronic device provided in an embodiment of the disclosure.
Detailed Description
The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
The embodiments of the present disclosure are described below with specific examples, and other advantages and effects of the present disclosure will be readily apparent to those skilled in the art from the disclosure in the specification. It is to be understood that the described embodiments are merely illustrative of some, and not restrictive, of the embodiments of the disclosure. The disclosure may be embodied or carried out in various other specific embodiments, and various modifications and changes may be made in the details within the description without departing from the spirit of the disclosure. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the appended claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the disclosure, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. Additionally, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present disclosure, and the drawings only show the components related to the present disclosure rather than the number, shape and size of the components in actual implementation, and the type, amount and ratio of the components in actual implementation may be changed arbitrarily, and the layout of the components may be more complicated.
In addition, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects may be practiced without these specific details.
The embodiment of the disclosure provides a method for application program development. The method for application development provided by the present embodiment may be executed by a computing device, which may be implemented as software, or implemented as a combination of software and hardware, and may be integrally provided in a server, a terminal device, or the like.
Referring to fig. 1, a method for application development provided by an embodiment of the present disclosure includes:
s101, determining the application type of each service module to be developed in an application program;
the method for developing the application program, provided by the embodiment of the disclosure, is used for realizing the independent development of each business module in the application program. The mobile operating system in which the application program developed in this embodiment runs may be an Android system or an IOS system.
Specifically, considering that each service module has different requirements in the aspects of editing function, response function, operation function, and the like, different development schemes also have different functional advantages. The application type of each service module can be determined according to the size of the requirement of each service module in each function aspect.
Optionally, the application type of the service module may be any of the following:
a first type having a dynamic editing function;
a second type having a timely response function;
a third type having a base operation function.
It should be noted that, when determining the application type of the service module, the application type of the service module may be determined according to a function required by the service module, or the application type of the service module may be determined according to the most important function requirement in a plurality of requirements of the service module or the most important function requirement in the development and use process.
S102, matching a development scheme corresponding to the application type for each business module, wherein the development scheme is any one of a native development scheme, a WebView development scheme and a Flutter development scheme;
after the application type of each service module in the application program is determined according to the steps, a development scheme with corresponding functional advantages can be selected according to the application type. In the scheme, three development schemes, namely a native development scheme, a WebView development scheme and a flute development scheme, are mainly provided.
The native development scheme is to develop an application program on a mobile platform such as Android and IOS by using an official development language, a development class library and a development tool. For example, Android is developed by using Java, Eclipse, Android studio, and IOS is developed by using Objective-C and X-code. The hardware equipment can be directly controlled by using official languages and tools, such as multi-touch, NFC, short message reading and the like, and great advantages are achieved in application performance and interaction experience.
The WebView development scheme is a target for loading a page in an HTML format by utilizing a WebView space. The Web technology needs the support of a browser for presentation and user interaction, and the mainly used technologies are HTML5, Java Script, CSS and the like. There are also development frameworks available today, such as Phone Gap, bootstrap, Jquery, etc. The WebView development scheme can be cross-platform, and the written code can run on Android, IOS and Windows at the same time.
The Flutter development scheme is to provide a mobile UI framework, and can quickly construct a high-quality native user interface on IOS and Android. Flutter can work with existing code, has advantages such as cross-platform, high-fidelity and high performance.
Each business module has an application type corresponding to its functional requirements, and various development schemes have different functional advantages. And when the application program is developed, selecting a development scheme with matched performance according to the application type of each business module.
According to a specific implementation manner of the embodiment of the present disclosure, the step of matching a development scheme corresponding to an application type for each service module includes any one of the following steps:
if the service type of the service module is the first type, matching a WebView development scheme for the service module;
if the service type of the service module is the second type, matching a Flutter development scheme for the service module;
and if the service type of the service module is the third type, matching a native development scheme for the service module.
If the main requirement of the service module is a dynamic editing function, the WebView development scheme is utilized so as to frequently and dynamically edit the content without re-edition after each content editing. Such business modules may be advertising banners, operator banners, etc. If the main requirement of the service module is a timely response function, a Flutter development scheme can be used to obtain a higher response speed, one-person development and double-end multiplexing can be realized for the service module with less complicated scenes or less interaction, and the development cost is greatly reduced. In addition, for some service modules which pay attention to basic operations such as interactive experience and the like, or some service modules which are specially applied to IOS or Android, a native development scheme is utilized.
S103, developing each business module by using the development scheme matched with each business module;
after the development scheme matched with each business module is determined according to the steps, each business module can be independently developed by using the determined development scheme. Each development scheme is independent, and coordination is only needed when interaction exists on the business. In most development time, people in each technical direction only need to pay attention to the development of own functions.
For example, according to a specific implementation manner of the embodiment of the present disclosure, if the development scheme corresponding to the application type of the service module is a WebView development scheme;
the step of developing each business module by using the development scheme matched with each business module comprises the following steps:
the page in HTML5 format is loaded using WebView controls.
And S104, coupling all the service modules to obtain the application program.
And after the development team corresponding to each business module finishes the development of each business module, coupling the business modules to obtain a complete application program.
In the method for developing an application program provided by the embodiment of the present disclosure, the application type of each service module to be developed in the application program is determined, so that a matched development scheme is independently selected for each service module, independent development of each service module is realized, and main functional requirements of each service module are ensured. Therefore, the development efficiency can be greatly improved, double-end multiplexing of the same set of codes is realized, the codes are more convenient to maintain, the version is updated quickly, the product cost is reduced, and the iteration speed of the application program is promoted.
On the basis of the foregoing embodiment, according to a specific implementation manner of the embodiment of the present disclosure, the determining the application type of each service module to be developed in the application program in S101 may include:
acquiring a requirement degree value of each application function corresponding to the service module, wherein the application functions comprise; a dynamic editing function, a timely response function and a basic operation function;
and determining the application type of the service module according to the requirement degree value of each application function corresponding to the service module.
The present embodiment provides a specific embodiment for determining the application type of a service module. And specifically calculating the application type of the service module according to the requirement degree value of each application function corresponding to the service module.
Optionally, the step of determining the application type of the service module according to the requirement level value of each application function corresponding to the service module includes:
and determining the application type corresponding to the target application function with the maximum requirement degree value as the application type of the service module.
The application type corresponding to the target application function with the largest requirement degree value is determined as the application type of the business module, so that the optimization of the main functions of the business module can be ensured. Of course, in other embodiments, the application type of the service module may also be determined by providing a weight calculation formula, matching an appropriate weight coefficient for each application function, and substituting each actual parameter value into the result of the weight calculation formula.
The application type of the business module is determined through a specific calculation mode, so that the development process of the application program is more automatic and intelligent, and the development efficiency of the application program is further improved.
In addition, in another specific implementation manner of the embodiment of the present disclosure, the application program includes a mobile application layer, a common engine, and at least two browser engines; wherein,
and the common engine is used for loading and operating the at least two browser engines and combining the file data in the mobile application layer to realize service logic.
Optionally, the common engine comprises an engine adapter and a native plug-in framework; wherein,
the engine adapter is used for extracting the loading operation interfaces of the at least two browser engines to form a common interface;
the native plug-in framework is used for combining the frameworks in the mobile application layer to realize business logic.
Wherein the mobile application layer includes an HTML file, a Java Script, a CSS sample table, and multimedia data.
The shared engine comprises an engine adapter and a native plug-in frame, is downwards adapted to different browser engines, upwards provides a shared browser engine loading interface, provides a native plug-in expansion interface, and improves the expansibility and flexibility of the shared engine by applying a self-defined expansion plug-in based on the plug-in frame; the common engine adapter interface extracts different browser engine loading operation interfaces to form a common interface, and the common interface comprises four methods of engine loading, event monitoring, method returning and engine destruction; in a classical adapter mode, different engines realize interfaces through engine adapters, and a plurality of browser engines are loaded and run in a shared mode.
The common engine specifically includes an engine adapter, a native plug-in framework implementation. The engine adapter is a core component and is used for adapting to different browser engines downwards and providing a common browser engine loading interface upwards. The engine adapter includes a Web window management, a common engine adapter interface, and an engine adapter. Web window management provides window communication, title bar management, access control, and cache update functions for Web applications. The Web window management can be understood as a micro browser, which realizes the basic functions of a basic browser and provides a basic operation environment for Web application. The common engine adapter interface extracts different browser engine loading operation interfaces to form a common interface, and the common interface comprises four methods of engine loading, event monitoring, method returning and engine destruction. In a classical adapter mode, different engines realize interfaces through engine adapters, and various browser engines are loaded and operated in a shared mode to realize the purpose of isolating different browser engines for the management of an upper layer Web window. The engine adapter adapts to different engines according to a common engine adapter interface, each engine corresponding to one adapter.
The native plug-in framework provides a native plug-in expansion interface, so that the plug-in framework-based self-defined expansion plug-ins can be conveniently applied, and the expansibility and flexibility of the shared engine can be improved. The native plug-in framework includes plug-in management, plug-in sets, and bridges. The plug-in management comprises plug-in registration, script injection, event queue and plug-in return, the implementation specification of each plug-in is agreed, and the call of each plug-in the plug-in set is managed in a sharing way, so that the plug-ins can be conveniently expanded transversely. The plug-in set is realized according to the realization standard appointed by the plug-in management, including a system class, an equipment class, a storage class, a network class and the like, and can be transversely expanded. The bridge is designed and realized according to a classic bridge mode, the native plug-in extensions of the four engines are bridged, the development of the plug-in is not limited by a specific engine, and the engine and the plug-in are isolated.
In correspondence with the above method embodiment, referring to fig. 2, the embodiment of the present disclosure further provides an apparatus 20 for application program development, including:
a determining module 201, configured to determine an application type of each service module to be developed in an application program;
a matching module 202, configured to match, for each service module, a development scheme corresponding to an application type, where the development scheme is any one of a native development scheme, a WebView development scheme, and a Flutter development scheme;
the development module 203 is used for developing each business module by using the development scheme matched with each business module;
and the coupling module 204 is configured to couple all the service modules to obtain the application program.
The apparatus shown in fig. 2 may correspondingly execute the content in the above method embodiment, and details of the part not described in detail in this embodiment refer to the content described in the above method embodiment, which is not described again here.
Referring to fig. 3, an embodiment of the present disclosure also provides an electronic device 30, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method for application development of the aforementioned method embodiments.
The disclosed embodiments also provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method for application development in the aforementioned method embodiments.
The disclosed embodiments also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method for application development of the aforementioned method embodiments.
Referring now to FIG. 3, a schematic diagram of an electronic device 30 suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 3, the electronic device 30 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)302 or a program loaded from a storage means 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data necessary for the operation of the electronic apparatus 30 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
Generally, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touch pad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 308 including, for example, magnetic tape, hard disk, etc.; and a communication device 309. The communication means 309 may allow the electronic device 30 to communicate wirelessly or by wire with other devices to exchange data. While the figures illustrate an electronic device 30 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 309, or installed from the storage means 308, or installed from the ROM 302. The computer program, when executed by the processing device 301, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the method.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the method.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof.
The above description is only for the specific embodiments of the present disclosure, but the scope of the present disclosure is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present disclosure should be covered within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.
Claims (13)
1. A method for application development, comprising:
determining the application type of each service module to be developed in the application program;
matching a development scheme corresponding to the application type for each business module, wherein the development scheme is any one of a native development scheme, a WebView development scheme and a Flutter development scheme;
developing each business module by using the development scheme matched with each business module;
and coupling all the service modules to obtain the application program.
2. The method of claim 1, wherein the application type of the service module is any one of the following:
a first type having a dynamic editing function;
a second type having a timely response function;
a third type having a base operation function.
3. The method according to claim 2, wherein the step of matching a development scheme corresponding to the application type for each of the business modules comprises any one of:
if the service type of the service module is the first type, matching a WebView development scheme for the service module;
if the service type of the service module is the second type, matching a Flutter development scheme for the service module;
and if the service type of the service module is the third type, matching a native development scheme for the service module.
4. The method of claim 3, wherein the step of determining the application type of each business module to be developed in the application program comprises:
acquiring a requirement degree value of each application function corresponding to the service module, wherein the application functions comprise; a dynamic editing function, a timely response function and a basic operation function;
and determining the application type of the service module according to the requirement degree value of each application function corresponding to the service module.
5. The method according to claim 4, wherein the step of determining the application type of the service module according to the requirement level value of each application function corresponding to the service module comprises:
and determining the application type corresponding to the target application function with the maximum requirement degree value as the application type of the service module.
6. The method of claim 5, wherein if the development scheme corresponding to the application type of the service module is a WebView development scheme;
the step of developing each business module by using the development scheme matched with each business module comprises the following steps:
the page in HTML5 format is loaded using WebView controls.
7. The method according to any one of claims 1 to 6, wherein the mobile operating system on which the application runs is an Android system or an IOS system.
8. The method of claim 7, wherein the application programs include a mobile application layer, a common engine, and at least two browser engines; wherein,
and the common engine is used for loading and operating the at least two browser engines and combining the file data in the mobile application layer to realize service logic.
9. The method of claim 8, wherein the common engine comprises an engine adapter and a native plug-in framework; wherein,
the engine adapter is used for extracting the loading operation interfaces of the at least two browser engines to form a common interface;
the native plug-in framework is used for combining the frameworks in the mobile application layer to realize business logic.
10. The method of claim 9, wherein the mobile application layer comprises HTML files, JavaScript, CSS sample tables, and multimedia data.
11. An apparatus for application development, comprising:
the determining module is used for determining the application type of each service module to be developed in the application program;
the matching module is used for matching a development scheme corresponding to the application type for each business module, wherein the development scheme is any one of a native development scheme, a WebView development scheme and a Flutter development scheme;
the development module is used for developing each business module by utilizing the development scheme matched with each business module;
and the coupling module is used for coupling all the service modules to obtain the application program.
12. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the preceding claims 1-10.
13. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of the preceding claims 1-10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010063655.9A CN111290737B (en) | 2020-01-20 | 2020-01-20 | Method and device for application program development and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010063655.9A CN111290737B (en) | 2020-01-20 | 2020-01-20 | Method and device for application program development and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111290737A true CN111290737A (en) | 2020-06-16 |
CN111290737B CN111290737B (en) | 2023-03-21 |
Family
ID=71023315
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010063655.9A Active CN111290737B (en) | 2020-01-20 | 2020-01-20 | Method and device for application program development and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111290737B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112035112A (en) * | 2020-09-02 | 2020-12-04 | 北京思明启创科技有限公司 | Application program development method, system, medium and electronic device |
CN112416466A (en) * | 2020-12-02 | 2021-02-26 | 车智互联(北京)科技有限公司 | Application program loading method, mobile terminal and readable storage medium |
CN113064593A (en) * | 2021-04-12 | 2021-07-02 | 深圳市活力天汇科技股份有限公司 | Method and device for dynamic mobile APP, computer equipment and storage medium |
CN114138150A (en) * | 2022-01-28 | 2022-03-04 | 南京高盛魔笛信息科技有限公司 | Method for native integration of third-party APP (application) under Windows platform |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102929646A (en) * | 2011-12-09 | 2013-02-13 | 江西省电力公司信息通信中心 | Application program production method and device |
US20150046914A1 (en) * | 2013-08-12 | 2015-02-12 | Oracle International Corporation | System and method for referencing a dynamic module system within a component oriented application development framework |
CN105786513A (en) * | 2016-02-29 | 2016-07-20 | 四川长虹电器股份有限公司 | Mixed mobile application development method based on Html5 |
CN108762805A (en) * | 2018-05-07 | 2018-11-06 | 武汉斗鱼网络科技有限公司 | A kind of Hybrid Development Frameworks and frame design method based on Cordova and Typescript |
CN109062545A (en) * | 2018-06-29 | 2018-12-21 | 东华大学 | A kind of hybrid Quick Development Framework of Android system native applications |
CN109656538A (en) * | 2017-10-11 | 2019-04-19 | 阿里巴巴集团控股有限公司 | Generation method, device, system, equipment and the medium of application program |
CN109885311A (en) * | 2019-01-28 | 2019-06-14 | 平安科技(深圳)有限公司 | A kind of generation method and equipment of application program |
CN109918055A (en) * | 2019-01-28 | 2019-06-21 | 平安科技(深圳)有限公司 | A kind of generation method and equipment of application program |
CN110297635A (en) * | 2019-06-27 | 2019-10-01 | 百度在线网络技术(北京)有限公司 | Display methods, device, equipment and the storage medium of the page |
CN110442327A (en) * | 2018-05-03 | 2019-11-12 | 阿里巴巴集团控股有限公司 | A kind of application builds method, apparatus, server |
CN110691136A (en) * | 2019-09-29 | 2020-01-14 | 广州华多网络科技有限公司 | Data interaction method and device, electronic equipment and storage medium |
CN110708368A (en) * | 2019-09-25 | 2020-01-17 | 北京计算机技术及应用研究所 | Micro front-end system and method based on routing distribution |
CN110704783A (en) * | 2019-10-09 | 2020-01-17 | 叮当快药科技集团有限公司 | Interaction method and device of H5 page and native APP based on custom protocol |
-
2020
- 2020-01-20 CN CN202010063655.9A patent/CN111290737B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102929646A (en) * | 2011-12-09 | 2013-02-13 | 江西省电力公司信息通信中心 | Application program production method and device |
US20150046914A1 (en) * | 2013-08-12 | 2015-02-12 | Oracle International Corporation | System and method for referencing a dynamic module system within a component oriented application development framework |
CN105786513A (en) * | 2016-02-29 | 2016-07-20 | 四川长虹电器股份有限公司 | Mixed mobile application development method based on Html5 |
CN109656538A (en) * | 2017-10-11 | 2019-04-19 | 阿里巴巴集团控股有限公司 | Generation method, device, system, equipment and the medium of application program |
CN110442327A (en) * | 2018-05-03 | 2019-11-12 | 阿里巴巴集团控股有限公司 | A kind of application builds method, apparatus, server |
CN108762805A (en) * | 2018-05-07 | 2018-11-06 | 武汉斗鱼网络科技有限公司 | A kind of Hybrid Development Frameworks and frame design method based on Cordova and Typescript |
CN109062545A (en) * | 2018-06-29 | 2018-12-21 | 东华大学 | A kind of hybrid Quick Development Framework of Android system native applications |
CN109885311A (en) * | 2019-01-28 | 2019-06-14 | 平安科技(深圳)有限公司 | A kind of generation method and equipment of application program |
CN109918055A (en) * | 2019-01-28 | 2019-06-21 | 平安科技(深圳)有限公司 | A kind of generation method and equipment of application program |
CN110297635A (en) * | 2019-06-27 | 2019-10-01 | 百度在线网络技术(北京)有限公司 | Display methods, device, equipment and the storage medium of the page |
CN110708368A (en) * | 2019-09-25 | 2020-01-17 | 北京计算机技术及应用研究所 | Micro front-end system and method based on routing distribution |
CN110691136A (en) * | 2019-09-29 | 2020-01-14 | 广州华多网络科技有限公司 | Data interaction method and device, electronic equipment and storage medium |
CN110704783A (en) * | 2019-10-09 | 2020-01-17 | 叮当快药科技集团有限公司 | Interaction method and device of H5 page and native APP based on custom protocol |
Non-Patent Citations (1)
Title |
---|
ANDROID进阶开发: "Flutter WebView与JS交互简易指南" * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112035112A (en) * | 2020-09-02 | 2020-12-04 | 北京思明启创科技有限公司 | Application program development method, system, medium and electronic device |
CN112035112B (en) * | 2020-09-02 | 2024-04-05 | 北京思明启创科技有限公司 | Application program development method, system, medium and electronic equipment |
CN112416466A (en) * | 2020-12-02 | 2021-02-26 | 车智互联(北京)科技有限公司 | Application program loading method, mobile terminal and readable storage medium |
CN112416466B (en) * | 2020-12-02 | 2024-02-23 | 车智互联(北京)科技有限公司 | Application program loading method, mobile terminal and readable storage medium |
CN113064593A (en) * | 2021-04-12 | 2021-07-02 | 深圳市活力天汇科技股份有限公司 | Method and device for dynamic mobile APP, computer equipment and storage medium |
CN113064593B (en) * | 2021-04-12 | 2022-04-12 | 深圳市活力天汇科技股份有限公司 | Method and device for dynamic mobile APP, computer equipment and storage medium |
CN114138150A (en) * | 2022-01-28 | 2022-03-04 | 南京高盛魔笛信息科技有限公司 | Method for native integration of third-party APP (application) under Windows platform |
Also Published As
Publication number | Publication date |
---|---|
CN111290737B (en) | 2023-03-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111290737B (en) | Method and device for application program development and electronic equipment | |
WO2020119485A1 (en) | Page display method and device, apparatus, and storage medium | |
US9077770B2 (en) | Mobile web app infrastructure | |
CN111177617A (en) | Web direct operation and maintenance method and device based on operation and maintenance management system and electronic equipment | |
CN111367516B (en) | Application interface generation method and device and electronic equipment | |
CN112035112B (en) | Application program development method, system, medium and electronic equipment | |
CN109657249B (en) | Automatic text replacement method and device for application program and electronic equipment | |
CN111428165A (en) | Three-dimensional model display method and device and electronic equipment | |
CN110489162B (en) | Method, device, medium and equipment for simplifying installation package SO (storage and retrieval) file | |
CN113127361A (en) | Application program development method and device, electronic equipment and storage medium | |
CN109753644B (en) | Rich text editing method and device, mobile terminal and storage medium | |
CN107168738A (en) | Application tool management method, device, equipment and storage medium | |
CN111309406A (en) | Event processing method and device of application program and electronic equipment | |
CN111625291B (en) | Automatic iteration method and device for data processing model and electronic equipment | |
CN110618811B (en) | Information presentation method and device | |
CN109857503B (en) | Page interaction effect self-adaption method and device and electronic equipment | |
CN111290861A (en) | Message processing method and device and electronic equipment | |
CN110908711A (en) | Control development method and device of application program and electronic equipment | |
CN112394920B (en) | Application software development method, platform and electronic equipment | |
CN111666068B (en) | Platform development framework, construction method, equipment and medium | |
CN109614564B (en) | Method and device for improving interaction instantaneity of WebView and H5 | |
CN111625326A (en) | Task pipeline execution method and device and electronic equipment | |
CN111414232A (en) | Method and device for processing template data of virtual machine | |
CN112688863B (en) | Gateway data processing method and device and electronic equipment | |
CN110865810A (en) | Resource multiplexing method and device, electronic equipment and computer readable storage 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |