CN112068879A - Method and device for constructing client application development framework based on configuration - Google Patents

Method and device for constructing client application development framework based on configuration Download PDF

Info

Publication number
CN112068879A
CN112068879A CN202010946521.1A CN202010946521A CN112068879A CN 112068879 A CN112068879 A CN 112068879A CN 202010946521 A CN202010946521 A CN 202010946521A CN 112068879 A CN112068879 A CN 112068879A
Authority
CN
China
Prior art keywords
page
client application
relation table
framework
page jump
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
Application number
CN202010946521.1A
Other languages
Chinese (zh)
Other versions
CN112068879B (en
Inventor
刘阳
孙彦杰
宫志伟
万涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
ICBC Technology Co Ltd
Original Assignee
ICBC Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ICBC Technology Co Ltd filed Critical ICBC Technology Co Ltd
Priority to CN202010946521.1A priority Critical patent/CN112068879B/en
Publication of CN112068879A publication Critical patent/CN112068879A/en
Application granted granted Critical
Publication of CN112068879B publication Critical patent/CN112068879B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a method and a device for constructing a client application development framework based on configuration, wherein the method for constructing the client application development framework based on configuration comprises the following steps: establishing an interface address of a client application program; creating a page jump relation table at a server end, wherein the page jump relation table comprises a page jump path and a page template type; and updating the client application program according to the page jump relation table, the view information table, the interface address and the pre-generated service logic code. The invention can realize new function development without modifying the native code in the process of adding new functions to the client, greatly shortens the online time of the APP iterative version, quickly adapts to information change and meets the user requirements in time.

Description

Method and device for constructing client application development framework based on configuration
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for constructing a client application development framework based on configuration, belonging to the technical field of application native development.
Background
With the rapid development of the internet, an Application program (APP for short) of a mobile phone client is more and more widely used by users, and in such an information and big data era, the rapid update of information is more and more emphasized by users. Under the background, on the premise of ensuring the reliability and stability of software, how to improve the software development efficiency, shorten the development period, reduce the software development cost and reduce the maintenance cost is the main embodiment of competition of application developers.
In the prior art, a client APP developed originally is adopted, and once a new function is added and a code needs to be modified originally, the condition that the check of an application store cannot be waited for is avoided, so that online is not timely, and inconvenience is brought to user experience. Therefore, how to provide a new solution to solve the above technical problems is a technical problem to be solved in the art.
Disclosure of Invention
According to the method and the device for constructing the client application development framework based on the configuration, the following technical effects can be realized: when the function of the client application program is newly added, new function development can be realized without modifying the native code, so that the online time of the APP iteration version is greatly shortened, the information change is quickly adapted, the user requirements are timely met, meanwhile, the user does not need to download and install the APP again to obtain the new version, and the user experience is greatly improved.
In order to achieve the above object, a method for constructing a client application development framework based on configuration is provided, which includes:
establishing an interface address of a client application program;
creating a page jump relation table at a server end, wherein the page jump relation table comprises a page jump path and a page template type;
and updating the client application program according to the page jump relation table, the view information table, the interface address and the pre-generated service logic code.
Preferably, the method for constructing the client application development framework based on configuration further comprises: and constructing a client application program framework based on the MVP framework.
Preferably, the establishing an interface address of the client application includes: and acquiring an interface address of a Model layer in the MVP frame according to the UrlAddress class.
Preferably, the method for constructing the client application development framework based on configuration further comprises:
and determining the jump page and the page template type according to the page jump relation table.
Preferably, the updating the client application according to the page jump relation table, the view information table, the interface address and the pre-generated service logic code includes:
establishing the view information table, wherein the view information table is used for maintaining view related attributes of the page template type and a page jump path corresponding to the page template type;
determining the type of the page template according to the function to be realized of the client application program;
adding the page jump path and the page template type to which the page jump path belongs in the page jump relation table;
and configuring the page template according to the page jump path in the view information table of the page template type.
In a second aspect, the present invention provides a device for constructing a framework based on configured client application development, the device comprising:
the interface address establishing unit is used for establishing an interface address of the client application program;
the system comprises a relation table creating unit, a page jump relation table creating unit and a page template creating unit, wherein the relation table creating unit is used for creating a page jump relation table at a server end, and the page jump relation table comprises a page jump path and a page template type;
and the client updating unit is used for updating the client application program according to the page jump relation table, the view information table, the interface address and the pre-generated service logic code.
Preferably, the device for building a framework based on the configured client application development further comprises:
the framework construction unit is used for constructing a client application program framework based on the MVP framework;
a template type determining unit, which is used for determining a skip page and the page template type according to the page skip relation table;
the interface address establishing unit is specifically configured to obtain an interface address of a Model layer in the MVP framework according to the urladess class.
Preferably, the client update unit includes:
the information table establishing module is used for establishing the view information table, and the view information table is used for maintaining view related attributes of the page template type and a page jump path corresponding to the page template type;
the template type determining module is used for determining the page template type according to the function to be realized of the client application program;
the template type increasing module is used for increasing the page jump path and the page template type to which the page jump path belongs in the page jump relation table;
and the template configuration module is used for configuring the page template in the view information table of the page template type according to the page jump path.
In a third aspect, the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for constructing a client application development framework based on configuration when executing the computer program.
In a fourth aspect, the present invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of a method for building a framework based on a configured client application development.
As can be seen from the above description, according to the method and apparatus for constructing a client application development framework based on configuration provided in the embodiment of the present invention, an interface address of a client application is first established; then, a page jump relation table is established at the server end (the page jump relation table comprises a page jump path and a page template type); and finally, updating the client application program according to the page jump relation table, the view information table, the interface address and the pre-generated service logic code. The method and the system solve the problems that the existing native development iteration process can be on-line only after the edition submission and the verification are passed frequently, and the on-line cannot be realized quickly.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a first flowchart illustrating a method for constructing a framework for developing a client application based on configuration according to an embodiment of the present invention;
fig. 2 is a second flowchart illustrating a method for constructing a framework for developing a client application based on configuration according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating method steps 100 for constructing a framework for client application development based on configuration according to an embodiment of the present invention;
fig. 4 is a third flowchart illustrating a method for constructing a framework for developing a client application based on configuration according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating method steps 300 for constructing a framework for client application development based on configuration, in accordance with an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a method for constructing a client application development framework based on configuration according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating a client development framework in an embodiment of the present invention;
FIG. 8 is a first schematic structural diagram of a configurational client application development framework-based building apparatus according to an embodiment of the present invention;
FIG. 9 is a structural diagram of a second device for constructing a framework based on configured client application development according to an embodiment of the present invention;
FIG. 10 is a schematic structural diagram of a client update unit according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an electronic device in an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
It should be noted that the terms "comprises" and "comprising," and any variations thereof, in the description and claims of this application and the above-described drawings, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
The embodiment of the present invention provides a specific implementation of a method for constructing a client application development framework based on configuration, and referring to fig. 1, the method specifically includes the following steps:
step 100: an interface address for the client application is established.
Preferably, the interface address of the client application is established using the UrlAddress class. It will be appreciated that the UrlAddress class is used to identify hardware resources on a network, and represents an Internet Protocol (IP) address, i.e., the encapsulation of an IP address by java, and its example objects include an IP address, a hostname, that is stored in numerical form. In addition, the UrlAddress class also provides a method to resolve host names to IP addresses (or vice versa).
Step 200: creating a page jump relation table at a server end, wherein the page jump relation table comprises a page jump path and a page template type;
specifically, a page jump relation table is created in the server-side database, and the page jump relation table comprises the following fields: the page jump path and the page template type are used for maintaining the relation between the jump page and the template type. In addition, for the view of the module in the front-end framework, a view information table corresponding to the number of modules is created in the database, and the related attribute fields and the corresponding jump paths of the template type view are respectively maintained, which may include the fields: page name, whether to hide carousel map components, whether to hide horse racing light components, and the like.
It will be appreciated that the use of database configuration is more convenient and flexible than the use of configuration files, and that the configuration can be modified quickly. If a page is required to be modified or added, only the configuration of the database needs to be changed. For example, to add or delete a component on a certain page, only the jump path of the page needs to be found in the view information table, and the corresponding component attribute is set to be displayed or hidden. If a certain page is to be changed from a view type A style to a view type B style, only the view type corresponding to the page jump path needs to be changed from A to B in the page jump relation table, and the relevant attributes are configured in the B type view information table. If a jump page is to be added, only the view type corresponding to the page jump path needs to be configured in the page jump relation table, and the page attribute of the page needs to be configured in the corresponding view information table.
Step 300: and updating the client application program according to the page jump relation table, the view information table, the interface address and the pre-generated service logic code.
Specifically, firstly, the configuration in the UrlAddress is changed, on the basis of a preset framework, a basic function code is written according to the actual APP function requirement, and a common method provided by the framework is called. And then, integrating the server framework by the back end, creating a database table, and changing the access configuration of the database. And finally, modifying the service logic code and compiling and running.
As can be seen from the above description, in the method for constructing a client application development framework based on configuration according to the embodiment of the present invention, an interface address of a client application is first established; then, a page jump relation table is established at the server end (the page jump relation table comprises a page jump path and a page template type); and finally, updating the client application program according to the page jump relation table, the view information table, the interface address and the pre-generated service logic code. The method and the system solve the problems that the existing native development iteration process can be on-line only after the edition submission and the verification are passed frequently, and the on-line cannot be realized quickly.
In an embodiment, referring to fig. 2, the method for constructing a framework based on configured client application development further includes:
step 400: and constructing a client application program framework based on the MVP framework.
The MVP framework in the step 400 is composed of a Model, View and Presenter layers, the Model is separated from the View, and the Model represents a Model and is mainly responsible for loading data; the VIew represents that the VIew is mainly responsible for VIew binding, interface display, interface logic jump and the like; the Presenter is a Presenter, mainly used as a middle man of View and Model, and completes the interaction between the View and the Model, thereby realizing the idea of high cohesion and low coupling. It can be understood that the built framework code is easy to expand, modify and maintain.
In one embodiment, referring to fig. 3, step 100 further comprises:
step 101: and acquiring an interface address of a Model layer in the MVP frame according to the UrlAddress class.
In this embodiment, the UrlAddress class in the client framework is used to maintain the interface address. The interface address requested by the Model layer is obtained from the UrlAddress class so as to be convenient for the integration and use of different APPs.
In an embodiment, referring to fig. 4, the method for constructing a framework based on configured client application development further includes:
step 500: and determining the jump page and the page template type according to the page jump relation table.
In one embodiment, referring to fig. 5, step 300 further comprises:
step 301: establishing the view information table, wherein the view information table is used for maintaining view related attributes of the page template type and a page jump path corresponding to the page template type;
specifically, three View information tables are created in a database aiming at views (Model-module a, View-module b, Presenter-module c) of three modules in a front-end framework, and relevant attribute fields and corresponding jump paths of three template type views are respectively maintained (the jump paths are unique identifiers of the corresponding View information tables) and comprise fields: page name, whether to hide carousel map components, whether to hide horse racing light components, and the like. It will be appreciated that the use of database configuration is more convenient and flexible than the use of configuration files, and that the configuration can be modified quickly.
Step 302: determining the type of the page template according to the function to be realized of the client application program;
specifically, the template type is determined according to the functional requirements of the actual client application program, and the corresponding business logic code is written.
Step 303: adding the page jump path and the page template type to which the page jump path belongs in the page jump relation table;
step 304: and configuring the page template according to the page jump path in the view information table of the page template type.
In steps 301 to 304, firstly, according to the specific function requirement, the view template type to which the page belongs is determined, a jump path and a record of the corresponding page template type are added in the page jump relation table, and finally, the related attribute of the page is configured in the view information table of the template type to which the page belongs.
The invention provides a method for constructing a client application development framework based on configuration, which aims to solve the problems that the original development can not avoid waiting for the auditing time of an application store, but the requirement needs to be quickly realized, and the version content needs to be updated in time.
To further explain the scheme, the application provides a specific application example of the method for constructing the development framework of the client application based on configuration by taking a newly added "epidemic situation district" as an example, and the specific application example specifically includes the following contents, see fig. 6.
Referring to fig. 7, the client development framework in this specific application example is mainly composed of two parts, namely a client and a server, specifically:
a client: the method is divided into Android and iOS, and the client side adopts the current mainstream development mode MVP in the industry to carry out framework building. The MVP mode is composed of a Model layer, a View layer and a Presenter layer, the Model layer is separated from the View layer, and the built framework code is easy to expand, modify and maintain. Based on the MVP mode, the client internally constructs three modules, namely module A, module B and module C.
The View layer is responsible for displaying a UI interface, views of the modules, namely the modules A, the modules B and the modules C are designed by investigating common page styles of the APP, and the View layer can be suitable for page display scenes of most of the APPs. The containing components comprise a carousel picture, a menu, a sliding component, a picture component, a text control, a ticker control and the like. The Presenter layer is responsible for service logic processing, communicates with the view layer, and sends commands to update the UI. The Model layer is responsible for requesting an interface and analyzing data.
The server side: and the server adopts a Springboot rapid development framework. The server side is mainly divided into a view control layer, a service processing layer and a data access layer. The view control layer provides a view control interface for the client, communicates with the client, and returns data for controlling the interface display style of the client. The view control interface return field contains: page name, page template type, whether to hide carousel map components, whether to hide horse race light components, etc., and the data to be displayed by the page. Whether the related component fields are hidden or not is to increase the application range of the page template, and the page layout can be flexibly adjusted according to the actual situation. And the service processing layer processes according to the specific service, specifically analyzes the specific situation and controls the return of the data result. The data access layer is responsible for querying the database, operating the data and the like.
S1: and respectively integrating the android and iOS front ends with a client framework, and changing the configuration in UrlAddress.
It will be appreciated that the UrlAddress class in the client framework is used to maintain the interface address. The interface address requested by the Model layer is acquired from the UrlAddress class, so that different APPs can be conveniently integrated and used.
Specifically, the type of the view template to which the epidemic situation special area UI belongs is determined according to the display requirement of the epidemic situation special area UI. And adding a jump path and a record of the corresponding page template type in the page jump relation table. And then configuring relevant attributes of the page in a view information table of the template type to which the page belongs.
S2: on the basis of the framework, basic function codes are written according to actual APP function requirements, and common methods provided by the framework are called.
S3: and integrating a server framework at the back end, creating a database table, and changing the access configuration of the database.
And calling the view control interface by the client, acquiring interface return data, and transmitting the parameters as a jump path. And initializing an interface style according to the page template type and the page attribute field in the returned result, and filling page content according to the returned data.
And the server finishes service logic processing, and inquires and processes service data according to a specific service scene. And returning the processed data to the front end through the interface.
S4: the business logic code is modified.
Preferably, functional testing and verification is also required in the test environment. After the test is passed, the server side is put into production to complete the online of the epidemic situation special area. Use illustrative examples: usually, in such a scenario, a plurality of tags are displayed on a native page of an APP, and when one tag is clicked to enter one tag page, the configured development framework can be adopted, and the configuration of a database is changed, and a server performs service logic processing, so that multi-tag page, multi-version block function or page version change and the like can be realized. The method reduces the development cost of iOS and protogenesis, saves the time of protogenesis auditing, greatly improves the efficiency, and can ensure that a user can go on the line to the epidemic situation special area function without frequently updating versions and modifying the front end.
As can be seen from the above description, the method for constructing a client application development framework based on configuration provided by the specific application example of the present invention first establishes an interface address of a client application; then, a page jump relation table is established at the server end (the page jump relation table comprises a page jump path and a page template type); and finally, updating the client application program according to the page jump relation table, the interface address and the pre-generated service logic code. The beneficial effect of this application is as follows:
1. the development efficiency is greatly improved, the updating and releasing are fast, and the requirement change is quickly and efficiently adapted.
2. The development cost is reduced, and the personnel investment is reduced.
3. The code repetition rate is reduced, and the code amount is reduced.
4. And the later maintenance cost is low.
5. The user does not need to re-download the installation APP to update the version.
Based on the same inventive concept, the embodiment of the present application further provides a device for constructing a development framework based on configured client applications, which can be used to implement the methods described in the above embodiments, such as the following embodiments. Because the principle of solving the problems of the client application development framework construction device based on the configuration is similar to that of the client application development framework construction method based on the configuration, the implementation of the client application development framework construction device based on the configuration can be implemented by referring to the implementation of the client application development framework construction method based on the configuration, and repeated parts are not repeated. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. While the system described in the embodiments below is preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
The embodiment of the present invention provides a specific implementation manner of a client application development framework building device based on configuration, which can implement the client application development framework building method based on configuration, and with reference to fig. 8, the client application development framework building device based on configuration specifically includes the following contents:
an interface address establishing unit 10, configured to establish an interface address of a client application;
a relation table creating unit 20, configured to create a page jump relation table at a server, where the page jump relation table includes a page jump path and a page template type;
and the client updating unit 30 is configured to update the client application according to the page jump relation table, the view information table, the interface address, and the pre-generated service logic code.
Preferably, referring to fig. 9, the device for building a framework based on configured client application development further includes:
a framework construction unit 40, configured to construct a client application framework based on the MVP framework;
a template type determining unit 50, configured to determine a skip page and the page template type according to the page skip relation table;
the interface address establishing unit 10 is specifically configured to obtain an interface address of a Model layer in the MVP frame according to the urladess class.
Preferably, referring to fig. 10, the client updating unit 30 includes:
an information table establishing module 301, configured to establish the view information table, where the view information table is used to maintain view-related attributes of a page template type and a page jump path corresponding to the page template type;
a template type determining module 302, configured to determine the page template type according to the function to be implemented of the client application;
a template type adding module 303, configured to add the page jump path and a page template type to which the page jump path belongs in the page jump relation table;
a template configuration module 304, configured to configure the page template according to the page jump path in the view information table of the page template type.
As can be seen from the above description, the device for constructing a development framework based on a configured client application according to the embodiment of the present invention first establishes an interface address of the client application; then, a page jump relation table is established at the server end (the page jump relation table comprises a page jump path and a page template type); and finally, updating the client application program according to the page jump relation table, the interface address and the pre-generated service logic code. The method and the system solve the problems that the existing native development iteration process can be on-line only after the edition submission and the verification are passed frequently, and the on-line cannot be realized quickly.
An embodiment of the present application further provides a specific implementation manner of an electronic device, which is capable of implementing all steps in the method for constructing a client application development framework based on configuration in the foregoing embodiment, and referring to fig. 11, the electronic device specifically includes the following contents:
a processor (processor)1201, a memory (memory)1202, a communication Interface 1203, and a bus 1204;
the processor 1201, the memory 1202 and the communication interface 1203 complete communication with each other through the bus 1204; the communication interface 1203 is configured to implement information transmission between related devices, such as a server-side device, a power measurement device, and a client device.
The processor 1201 is configured to call the computer program in the memory 1202, and the processor executes the computer program to implement all the steps in the configuration-based client application development framework building method in the foregoing embodiments, for example, when the processor executes the computer program, the following steps are implemented:
step 100: establishing an interface address of a client application program;
step 200: creating a page jump relation table at a server end, wherein the page jump relation table comprises a page jump path and a page template type;
step 300: and updating the client application program according to the page jump relation table, the view information table, the interface address and the pre-generated service logic code.
Embodiments of the present application further provide a computer-readable storage medium capable of implementing all steps in the configuration-based client application development framework building method in the foregoing embodiments, where the computer-readable storage medium stores a computer program, and the computer program implements all steps of the configuration-based client application development framework building method in the foregoing embodiments when executed by a processor, for example, the processor implements the following steps when executing the computer program:
step 100: establishing an interface address of a client application program;
step 200: creating a page jump relation table at a server end, wherein the page jump relation table comprises a page jump path and a page template type;
step 300: and updating the client application program according to the page jump relation table, the view information table, the interface address and the pre-generated service logic code.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the hardware + program class embodiment, since it is substantially similar to the method embodiment, the description is simple, and the relevant points can be referred to the partial description of the method embodiment.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Although the present application provides method steps as in an embodiment or a flowchart, more or fewer steps may be included based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an actual apparatus or client product executes, it may execute sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the embodiments or methods shown in the figures.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for constructing a client application development framework based on configuration is characterized by comprising the following steps:
establishing an interface address of a client application program;
creating a page jump relation table at a server end, wherein the page jump relation table comprises a page jump path and a page template type;
and updating the client application program according to the page jump relation table, the view information table, the interface address and the pre-generated service logic code.
2. The client application development framework building method according to claim 1, further comprising: and constructing a client application program framework based on the MVP framework.
3. The method for building the framework for developing the client application according to claim 2, wherein the establishing the interface address of the client application comprises:
and acquiring an interface address of a Model layer in the MVP frame according to the UrlAddress class.
4. The client application development framework building method according to claim 1, further comprising:
and determining the jump page and the page template type according to the page jump relation table.
5. The method for constructing a client application development framework according to claim 1, wherein the updating the client application according to the page jump relation table, the view information table, the interface address and the pre-generated business logic code comprises:
establishing the view information table, wherein the view information table is used for maintaining view related attributes of the page template type and a page jump path corresponding to the page template type;
determining the type of the page template according to the function to be realized of the client application program;
adding the page jump path and the page template type to which the page jump path belongs in the page jump relation table;
and configuring a page template according to the jump path in the view information table of the page template type.
6. A client application development framework building device based on configuration is characterized by comprising:
the interface address establishing unit is used for establishing an interface address of the client application program;
the system comprises a relation table creating unit, a page jump relation table creating unit and a page template creating unit, wherein the relation table creating unit is used for creating a page jump relation table at a server end, and the page jump relation table comprises a page jump path and a page template type;
and the client updating unit is used for updating the client application program according to the page jump relation table, the view information table, the interface address and the pre-generated service logic code.
7. The client application development framework building apparatus according to claim 6, further comprising:
the framework construction unit is used for constructing a client application program framework based on the MVP framework;
a template type determining unit, which is used for determining a skip page and the page template type according to the page skip relation table;
the interface address establishing unit is specifically configured to obtain an interface address of a Model layer in the MVP framework according to the urladess class.
8. The client application development framework building apparatus according to claim 6, wherein the client update unit includes:
the information table establishing module is used for establishing the view information table, and the view information table is used for maintaining view related attributes of the page template type and a page jump path corresponding to the page template type;
the template type determining module is used for determining the page template type according to the function to be realized of the client application program;
the template type increasing module is used for increasing the page jump path and the page template type to which the page jump path belongs in the page jump relation table;
and the template configuration module is used for configuring the page template in the view information table of the page template type according to the page jump path.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method for constructing a framework for developing a client application based on configuration according to any one of claims 1 to 5 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for building a framework for development of a client application based on configuration according to any one of claims 1 to 5.
CN202010946521.1A 2020-09-10 2020-09-10 Method and device for constructing client application program development framework based on configuration Active CN112068879B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010946521.1A CN112068879B (en) 2020-09-10 2020-09-10 Method and device for constructing client application program development framework based on configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010946521.1A CN112068879B (en) 2020-09-10 2020-09-10 Method and device for constructing client application program development framework based on configuration

Publications (2)

Publication Number Publication Date
CN112068879A true CN112068879A (en) 2020-12-11
CN112068879B CN112068879B (en) 2023-10-13

Family

ID=73663360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010946521.1A Active CN112068879B (en) 2020-09-10 2020-09-10 Method and device for constructing client application program development framework based on configuration

Country Status (1)

Country Link
CN (1) CN112068879B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112817601A (en) * 2021-02-24 2021-05-18 深圳壹账通智能科技有限公司 Configurable program generation method and device, electronic equipment and storage medium
CN112861060A (en) * 2021-03-23 2021-05-28 金岭教育科技(北京)有限公司 Page creating method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874035A (en) * 2017-01-11 2017-06-20 深圳中顺易金融服务有限公司 One kind is applied for updating(app)The method and its framework of built-in H5
CN108363587A (en) * 2018-03-07 2018-08-03 平安普惠企业管理有限公司 Application program operation and monitoring method, device, computer equipment and storage medium
US20180278671A1 (en) * 2015-11-27 2018-09-27 Alibaba Group Holding Limited Page jump method and apparatus
WO2019233292A1 (en) * 2018-06-07 2019-12-12 阿里巴巴集团控股有限公司 Method and apparatus for developing application
CN110704102A (en) * 2019-09-12 2020-01-17 北京字节跳动网络技术有限公司 Page jump protocol interface document generation method, system, medium and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180278671A1 (en) * 2015-11-27 2018-09-27 Alibaba Group Holding Limited Page jump method and apparatus
CN106874035A (en) * 2017-01-11 2017-06-20 深圳中顺易金融服务有限公司 One kind is applied for updating(app)The method and its framework of built-in H5
CN108363587A (en) * 2018-03-07 2018-08-03 平安普惠企业管理有限公司 Application program operation and monitoring method, device, computer equipment and storage medium
WO2019233292A1 (en) * 2018-06-07 2019-12-12 阿里巴巴集团控股有限公司 Method and apparatus for developing application
CN110704102A (en) * 2019-09-12 2020-01-17 北京字节跳动网络技术有限公司 Page jump protocol interface document generation method, system, medium and electronic device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112817601A (en) * 2021-02-24 2021-05-18 深圳壹账通智能科技有限公司 Configurable program generation method and device, electronic equipment and storage medium
CN112861060A (en) * 2021-03-23 2021-05-28 金岭教育科技(北京)有限公司 Page creating method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112068879B (en) 2023-10-13

Similar Documents

Publication Publication Date Title
US10585677B2 (en) System and method for identifying, indexing, and navigating to deep states of mobile applications
US9983892B2 (en) Deep linking to mobile application states through programmatic replay of user interface events
CN110691136B (en) Data interaction method and device, electronic equipment and storage medium
US9454363B1 (en) Mobile application development system and method
US8745573B2 (en) Platform-independent application development framework
US20190196672A1 (en) Visual effects system for "big data" analysis workflow editors, distribution platforms, execution engines, and management systems comprising same
US9858094B2 (en) Monitoring and actuation of view controller parameters to reach deep states without manual developer intervention
US11797273B2 (en) System and method for enhancing component based development models with auto-wiring
CN111068328A (en) Game advertisement configuration table generation method, terminal device and medium
CN111177621B (en) Web page development method, device and system
US20120166977A1 (en) User programming access to data model in user interface design
CN108170430B (en) Interface display method and system
CN112068879B (en) Method and device for constructing client application program development framework based on configuration
CN115080016A (en) Extended function implementation method, device, equipment and medium based on UE editor
CN101876998B (en) Method and system for editing data
CN110020370B (en) Method and device for realizing animation in client application and framework of animation script
CN114721647B (en) Object-oriented programming method based on codeless application development
US20150378688A1 (en) Developing rich internet application
CN112181408A (en) Method and device for displaying view list on front page of application program
US20220300262A1 (en) Method for constructing, running and implementing cross-platform application, terminal, server and system
CN112181403B (en) Development operation and maintenance integrated implementation method, device, equipment and readable storage medium
CN111124386B (en) Animation event processing method, device, equipment and storage medium based on Unity
CN110599112A (en) Method and device for developing and maintaining network page
CN114296718A (en) Setting method and device of Windows system component
US9389838B2 (en) Method for creating a computer software compiler for client server computing

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
TA01 Transfer of patent application right

Effective date of registration: 20210122

Address after: 100140, 55, Fuxing Avenue, Xicheng District, Beijing

Applicant after: INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Applicant after: ICBC Technology Co.,Ltd.

Address before: 100029 Tianyuan Xiangtai building, No.5 Anding Road, Chaoyang District, Beijing

Applicant before: ICBC Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant