CN106445497A - Application program development method and system - Google Patents

Application program development method and system Download PDF

Info

Publication number
CN106445497A
CN106445497A CN201610747010.0A CN201610747010A CN106445497A CN 106445497 A CN106445497 A CN 106445497A CN 201610747010 A CN201610747010 A CN 201610747010A CN 106445497 A CN106445497 A CN 106445497A
Authority
CN
China
Prior art keywords
parameter
activity
container
ioam
model
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.)
Pending
Application number
CN201610747010.0A
Other languages
Chinese (zh)
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.)
Hangzhou Lemans Technology Co Ltd
Original Assignee
Hangzhou Lemans 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 Hangzhou Lemans Technology Co Ltd filed Critical Hangzhou Lemans Technology Co Ltd
Publication of CN106445497A publication Critical patent/CN106445497A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code

Abstract

The invention provides an application program development method and an application program development system, wherein the method comprises the steps of: creating an Activity model, and placing the created Activity model into an IOAM container for management; and according to the specific development demand, starting the corresponding Activity model through the IOAM container, and carrying out parameter analysis and calling. According to the application program development method and the application program development system, the conventional development process is simplified and screened, redundant and unusable system settings and operations are removed, only necessary system tasks are kept and then are packaged, complex generalized oriented objects are changed into simple proceduring development. By use of the application program development method and the application program development system provided by the invention, an efficient management container can be established and the system efficiency is improved; the development difficulty is reduced through a proceduring development model; and the occurrence rate of development errors is reduced through reduction of development of code amounts.

Description

Application development method and system
Technical field
The present invention relates to field of computer technology, particularly to a kind of application development method and system.
Background technology
Activity (base application assembly) is the elementary cell of Android system exploitation.Each Activity is given Give a window, user interface can be drawn above.Window is normally filled with screen but it is also possible to being less than screen and floating on other On window.One application program is generally made up of multiple Activities, is typically loose coupling between each Activities Relation.Generally, have an Activity in application program and be designated as " main " Activity, start application journey in first time User is presented to, in order to complete different actions, an Activity can start another Activity when sequence.Tradition Android system program startup after, when jumping to new page every time, need do through below scheme, as shown in Figure 1:
1st, explicit calling system class Intent regenerates the Activity example of a page;
2nd, the Bundle instantiation parameter that calling system is specified;
3rd, argument sequenceization is put into Bundle example one by one;
4th, Bundle injection Activity example;
5th, internalist methodology is called to start this Activity example.
Traditional Android system does not provide the control unit to Activity, does not have strict parameter specification yet.During use, Activity mechanism of control must be set up manually by program developer, specific aim code analysis are write one by one to page parameter.? After program runs a period of time, the Activity of a large amount of derelictions is full of memory headroom, causes internal memory repeatability to waste;Meanwhile, no The presence of main Activity example also can cause certain interference and affect on the work of program developer, for example, work as program It is related to that when asynchronous access, network delay request, line treatment, multithreading operation module, design logic must be very rigorous, no Then can frequently occur that data is asynchronous, caching does not update, data manipulation was lost efficacy, access stale resource etc., cause error in data, journey Sequence is stuck, dodge and the phenomenon such as move back.
In a word, existing application development method is complicated, and the requirement to program developer is higher, and new hand is difficult to left-hand seat; Excessively Object-Oriented Design, system effectiveness is low;Lack management, exploitation error rate is high;Page data interaction is complicated, redundant code Many, thus leading to system error-prone.
Content of the invention
For solving above-mentioned technical problem, overcome the shortcoming and defect of state of the art, the present invention provides a kind of application journey Sequence development approach and system, traditional development process are simplified and are screened, and remove redundancy and the system setting taking less than and grasp Make, leave behind necessary system task and then be packaged, complicated broad sense object-oriented is changed to simply proceduring exploitation, Programmer even may not necessarily be proficient in Android system operation, only need to write the business correlative code of oneself.Finally by IOAM (Inversion of Android Model, ARIXTRA model inversion container) sets up application Activity container, unified note Enter management and control, simple easy to get started, and also development efficiency is high, and page interaction is simple, not error-prone.
The application development method that the present invention provides, comprises the following steps:
Create Activity model, the Activity creating model is put into IOAM container and is managed;
According to specific exploitation demand, corresponding Activity model, line parameter of going forward side by side are started by described IOAM container Parse and call.
As a kind of embodiment, described according to exploitation demand, corresponding Activity mould is started by IOAM container Type, line parameter of going forward side by side parses, and realizes calling, comprises the following steps:
According to exploitation demand setting Activity parameter;
New page is entered by described IOAM container, and will be incoming corresponding for the described Activity parameter of setting In Activity model;
After entering new page, by proceduring framework Stream Processing, the parameter in corresponding Activity model is carried out Parameter analysis of electrochemical;
After the completion of Parameter analysis of electrochemical, process various system settings using proceduring unified frame, realize readjustment.
As a kind of embodiment, further comprising the steps of after according to exploitation demand setting Activity parameter:
Using IOAM container, the old page is reclaimed automatically.
As a kind of embodiment, according to exploitation demand, Activity parameter is set, comprises the following steps:
Basic Activity class is carried out with general shape parameter process, the general style definitions in top tool hurdle and process, bottom work Tool hurdle general pattern process, general transaction, fragment process and map plug-in unit are processed;
Described basis Activity class after processing is packaged and packs, and forms new Activity model.
As a kind of embodiment, in the described incoming corresponding Activity model of Activity parameter by setting, Comprise the following steps:
Create general shape parameter array;
By start Activity model required for parameter in order assignment in described general shape parameter array;
Corresponding Activity model is started by IOAM container, described general shape parameter array is delivered to corresponding simultaneously In Activity model.
As a kind of embodiment, after described general shape parameter array is delivered in corresponding Activity model, Further comprising the steps of:
Legitimacy effect is carried out to the parameter in described general shape parameter array;
If effect failure, directly report an error and log;
If effect success, using reflection class type structure parameter bag.
As a kind of embodiment, after effect success, using reflection class type structure parameter bag, including following Step:
Based on java reflex mechanism, reflect parameter type array by traveling through described general shape parameter array;
Assembling external parameter class;
External parameter class according to described parameter type array instantiation, obtains described parameter bag, and to described parameter Bag is stored in Bundle after being serialized.
As a kind of embodiment, after the described new page in entrance, by proceduring framework Stream Processing to corresponding Parameter in Activity model carries out Parameter analysis of electrochemical and calls, and comprises the following steps:
Obtain the described parameter bag after serializing from Bundle, and effectiveness effect is completely done to described parameter bag;
After effectiveness effect success, obtain the object of described parameter bag, and to each ginseng in the object of described parameter bag Number does logic reasonability effect;
After logic reasonability effect success, call.
Correspondingly, based on same inventive concept, the present invention also provides a kind of application development system, including creation module And calling module;
Described creation module, for creating Activity model, the Activity creating model is put into IOAM container It is managed;
Described calling module, for developing demand according to specific, is started corresponding by described IOAM container Activity model, line parameter of going forward side by side parses and calls.
As a kind of embodiment, described calling module includes arranging unit, transfer unit, resolution unit and process Unit;
Described arranging unit, for according to exploitation demand setting Activity parameter;
Described transfer unit, for entering new page, and the described Activity ginseng by setting by described IOAM container In the incoming corresponding Activity model of number;
Described resolution unit, for after entering new page, by proceduring framework Stream Processing to corresponding Parameter in Activity model carries out Parameter analysis of electrochemical;
Described processing unit, for, after the completion of Parameter analysis of electrochemical, processing various system settings using proceduring unified frame, Realize readjustment.
As a kind of embodiment, described calling module also includes recovery unit;
Described using IOAM container, the old page is reclaimed automatically.
As a kind of embodiment, described arranging unit includes processing subelement and packing subelement:
Described process subelement, for carrying out general shape parameter process, the general sample in top tool hurdle to basic Activity class Formula definition and process, the process of the general pattern in bottom tool hurdle, general transaction, fragment process and map plug set One-tenth is processed;
Described packing subelement, is packaged and packs for the described basis Activity class after processing, formed new Activity model.
As a kind of embodiment, described transfer unit includes creating subelement, assignment subelement and transmission son list Unit;
Described establishment subelement, for creating general shape parameter array;
Described assignment subelement, for by start Activity model required for parameter in order assignment to described general type In parameter array;
Described transmission subelement, for starting corresponding Activity model by IOAM container, simultaneously by described general type Parameter array is delivered in corresponding Activity model.
The present invention having the beneficial effects that compared to prior art:
The application development method and system that the present invention provides, by creating Activity model, by create Activity model is put into IOAM container and is managed;According to specific exploitation demand, started by described IOAM container and correspond to Activity model, line parameter of going forward side by side parse and call.Traditional development process is simplified and is screened by it, remove redundancy and The system setting taking less than and operation, leave behind necessary system task and then are packaged, by complicated broad sense object-oriented It is changed to simply proceduring exploitation.The application development method and system being provided using the present invention, can set up high-efficiency management Container improves system effectiveness, reduces development difficulty by proceduring development model, wrong by reducing the reduction exploitation of exploitation code amount Incidence rate by mistake.
Brief description
The flow chart that Fig. 1 implements the application development method of offer for the present invention one;
Fig. 2 implements the structure chart of the application development system of offer for the present invention one.
Specific embodiment
Below in conjunction with accompanying drawing, the above-mentioned He other technical characteristic of the present invention and advantage are clearly and completely described, Obviously, described embodiment is only the section Example of the present invention, rather than whole embodiments.
The application development method providing referring to Fig. 1, one embodiment of the invention, comprises the following steps:
S100, creates Activity model, the Activity creating model is put into IOAM container and is managed;
S200, according to specific exploitation demand, starts corresponding Activity model, line parameter of going forward side by side by IOAM container Parse and call.
Introducing and the management of Activity be responsible for specially by IOAM container in the present invention.IOAM after system start-up can be automatic Read system registry Activity (defined in manifest.xml), and take over all Activity examples generation, call, The operations such as management, release.
Above mentioned embodiment provide a kind of quick Quick Development Framework based on the primary language of android system, by tradition Development process is simplified and is screened, and removes redundancy and the system setting taking less than and operates, leaves behind necessary system task Then it is packaged, complicated broad sense object-oriented is changed to simply proceduring exploitation, programmer even may not necessarily be complete It is proficient in Android system operation, only need to write the business correlative code of oneself.
As a kind of embodiment, step S200 comprises the following steps:
S210, according to exploitation demand setting Activity parameter;
S220, enters new page, and the incoming corresponding Activity of Activity parameter by setting by IOAM container In model;
S230, after entering new page, by proceduring framework Stream Processing, to the ginseng in corresponding Activity model Number carries out Parameter analysis of electrochemical;
S240, after the completion of Parameter analysis of electrochemical, processes various system settings using proceduring unified frame, realizes readjustment.
By above-mentioned steps, can be with integrated basic framework, programmer's directly incoming parameter during program development.Enter new The page after, directly use parameter, there is no intermediate link, efficiency high, error is lacked.
As a kind of embodiment, further comprising the steps of after according to exploitation demand setting Activity parameter:
Using IOAM container, the old page is reclaimed automatically.
Specifically, first when the page starts/redirects, according to exploitation service needed, only need the type of arrange parameter and assign Value can so avoid, it is not necessary to the title of defined parameters, the parameter name not led on an equal basis because of capital and small letter, abbreviation, coding Inconsequent and the various mistakes brought.
Then, the new page incoming parameter are entered by IOAM container;The old page can not had with automatic returning IOAM container There is rubbish internal memory.The old page can reclaim automatically in not used time, IOAM container, and carries out task adjustment according to system resource situation, Increase system effectiveness.
Next, after entrance new page, Parameter analysis of electrochemical is carried out by proceduring framework Stream Processing.
After the completion for the treatment of Parameter analysis of electrochemical, process various system definition, readjustment definition, system event using proceduring unified frame Process.
User can improve the service logic of oneself, system operation in the method providing and readjustment, jumps to other The page;After system exits, IOAM container exits, releasing memory.
As a kind of embodiment, step S210 comprises the following steps:
S211, basic Activity class carries out general shape parameter process, the general style definitions in top tool hurdle and process, bottom The process of toolbar general pattern, general transaction, fragment process and map plug-in unit are processed;
S212, the basic Activity class after processing is packaged and packs, forms new Activity model.
Above-mentioned basis Activity class is the primary Activity class that Android is supplied to, and is base in Android assembly Originally it is also one of big assembly of most commonly seen four.General shape parameter refers to not do any restriction to parameter type, can be random The type of defined parameters.General shape parameter array refers to the array being combined into by general shape parameter, the class of the individual parameters in array Type can be different.
Based on Android framework, it is fixed that the handling process after Andorid program is started is carried out again the present embodiment Justice, carries out function expansion to Activity, adds general shape parameter to process and (does not limit number of parameters it is not necessary to defined parameters name Claim), top tool hurdle (top Bar) general style definitions and process, bottom tool hurdle (bottom Bar) general pattern process, Generic transaction is processed (including button process, touch screen process, the process of pop-up box readjustment, asynchronous process etc.), fragment process, Map plug-in unit is processed, and then Reseal is packaged into new Activity template Saaf Activity.
Saaf Activity is the main body of Saaf framework, and Saaf also can have oneself exclusive ARIXTRA control, asynchronous figure simultaneously Piece is processed, network processes encapsulation, and realizing foolproof exploitation for developer provides good platform.
Specifically, step S220 comprises the following steps:
S221, creates general shape parameter array;
S222, by start Activity model required for parameter in order assignment in general shape parameter array;
S223, starts corresponding Activity model by IOAM container, general shape parameter array is delivered to correspondence simultaneously Activity model in.
Further step S220, further comprising the steps of:
S224, carries out legitimacy effect to the parameter in general shape parameter array;
S225, if effect failure, directly reports an error and log;
S226, if effect success, using reflection class type structure parameter bag.
Programmer will start certain Activity, creates a general type array, i.e. Object type first, Object is institute There is the base class of customization type.Each Activity can have one to start the explanation entering ginseng needing, and will open according to explanation Move this Activity need the parameter used one by one assignment among this general type array, have several write several, ignore type With parameter name, Saaf can pass through reflex mechanism identification parameter type;After parameter assignment, directly initiated new by IOAM container Activity, simultaneously parameter be delivered to Activity.
After Activity receives parameter, carry out legitimacy verifies first, if parameter has extremely, directly report an error and remember Record daily record, it is to avoid dodge and move back.Wrong parameter assignment can be become default value in system operation, comprise error message, and allow system Continue executing with.During using if in user, even if system is really problematic moves back, it is also possible to greatly reducing and dodging, the use brought Family experience weakens.
As a kind of embodiment, step S226 comprises the following steps:
Based on java reflex mechanism, reflect parameter type array by traveling through general shape parameter array;
Assembling external parameter class;
According to parameter type array instantiation external parameter class, obtain parameter bag, and after parameter bag is serialized It is stored in Bundle.
After parameter verification success, based on java reflex mechanism, system travels through general shape parameter array first and reflects parameter class Type array cls.get Class (), then, assembles external parameter class, after assembling, as parameter, type array is created construction Functional based method, instantiation parameter class, and put into system bundle space after serialized data bag and preserved.So far, parameter Preparation terminates.
It should be noted that the provisional parameter storage using for Activity that Bundle is system to be provided.
As a kind of embodiment, step S230, comprise the following steps:
S231, obtains the parameter bag after serializing from Bundle, and completely does effectiveness effect to parameter bag;
S232, after effectiveness effect success, the object of the bag that gets parms, and each parameter in the object of parameter bag is done Logic reasonability effect;
S233, after logic reasonability effect success, calls.
Correspondingly, based on same inventive concept, the present invention also provides a kind of application development system, including creation module 100 and calling module 200;
Creation module 100 is used for creating Activity model, the Activity creating model is put into IOAM container and enters Line pipe is managed;
Calling module 200 is used for developing demand according to specific, starts corresponding Activity model by IOAM container, Line parameter of going forward side by side parses and calls.
As a kind of embodiment, calling module 200 includes arranging unit, transfer unit, resolution unit and process Unit;
Arranging unit is used for according to exploitation demand setting Activity parameter;
Transfer unit is used for entering new page by IOAM container, and will be incoming corresponding for the Activity parameter of setting In Activity model;
Resolution unit is used for after entering new page, by proceduring framework Stream Processing to corresponding Activity model In parameter carry out Parameter analysis of electrochemical;
Processing unit is used for, after the completion of Parameter analysis of electrochemical, processing various system settings using proceduring unified frame, realizing Readjustment.
As a kind of embodiment, calling module 200 also includes recovery unit;
Using IOAM container, the old page is reclaimed automatically.
As a kind of embodiment, arranging unit includes processing subelement and packing subelement:
Process subelement and be used for basic Activity class is carried out general shape parameter process, the general style definitions in top tool hurdle And process, the process of the general pattern in bottom tool hurdle, general transaction, fragment process and map plug-in unit are processed;
Packing subelement is used for the basic Activity class after processing is packaged and is packed, and forms new Activity Model.
As a kind of embodiment, transfer unit includes creating subelement, assignment subelement and transmission subelement;
Create subelement to be used for creating general shape parameter array;
Assignment subelement be used for by start Activity model required for parameter in order assignment to general shape parameter array In;
Transmission subelement is used for starting corresponding Activity model by IOAM container, passes general shape parameter array simultaneously It is delivered in corresponding Activity model.
With reference to specifically using scene, to application development method and system provided in an embodiment of the present invention, enter Row further illustrates.
First, parameter transmission uses scene
According to service needed, the present invention only needs the type of defined parameters the assignment can be it is not necessary to the title of defined parameters.This It is various that sample avoids the parameter name inconsequent because capital and small letter, abbreviation, coding do not lead on an equal basis and brings Mistake.
For example:Traditional parameter conveying flow is as follows:
Type first according to Activity, by the content object creation intent object of system.
Developer is clearly understood that the parameter name and capital and small letter specification oneself put, and can malfunction not at all, " name " " Name " " NAME " is diverse parameter, increased the workload of programmer, particularly with regard to complex parameters During name, such as:
“MySchoolTeacher””mySchoolTeacher””myschoolTeacher””myschoolte Acher " " my_SchoolTeacher " etc. is a lot, and different habits is write used, different handss mistake etc. and all can be caused parameter acquiring Less than or obtain incorrect.Worse, fault-tolerant increasingly stronger due to compiler, some procedural problem can't cause Program crashing or compiler report an error, and this just increases the depth of recess of problem;Simultaneously because the presence of parameter, increase program Member memory work amount, when Activity is excessive, parameters memorizing confusion is very common phenomenon, especially eldest daughter and Many one or a few letter.
Finally after the completion of parameter assignment, calling system start Activity method starts new Activity.
Only need to start Activity by IOAM using the present invention, directly input type and the parameter number of Activity Group, and parameter without defined parameters title it might even be possible to incoming object instance:Integer, character string, long shaping, floating-point, cloth You, even object type all can, developer uniquely to be done be exactly comparison Activity to be called explanation, put in order ?.
2nd, Parameter analysis of electrochemical is realized
Each of present invention Saaf-Activity gives tacit consent to one external parameter class of generation.Such is Activity's Inner classes, special definition external parameter uses, and the specification of calling of this Activity is also thus to generate.
Parameter analysis of electrochemical work is completed by Saaf frame system, after the page starts success, will serialize from system boundle Parameter bag takes out, and for the loss preventing various problems from causing, completely does validity check to packet, verifies and successfully then obtain Take parameter bag object, and the secondary verification of logic reasonability is done to each parameter in object, finally by ginseng inside the param inheriting Number uses for Activity example.
3rd, Parameter analysis of electrochemical uses scene:
For example, Activity automatically obtains parameter param of an internal base class after inheriting SAAF Activity, when When this Activity is called, by system parsing and assignment automatically, within the Activity object cycle, direct use is this parameter Can.
4th, Saaf-Activity application example
It is inherited from primary system, user processes establishment information, such as setting page configuration file, defines operational space etc., place Manage the click event of all controls.If employing list, map etc. to need the control of initialization data, then this being to list control Carry out data assignment.Process the asynchronous process of special control, such as Asynchronous loading list picture, or be sent to server interaction Data, needs // asynchronous refresh screen etc., the style configuration file on setting top and bottom caption hurdle, if do not set after reception Put, then top caption or bottom caption hurdle are sky.Custom is developed according to conventional app, typically has top and bottom caption hurdle, Saaf is built-in, only need to set pattern, and corresponding key response is processed at unification in above-mentioned processing method function Manage.If be not provided with, top or bottom hurdle do not show.
5th, Saaf-Activity defines top base toolbar general procedure:
It is divided into three regions by all over the screen first:Top area, intermediate host region, bottom hurdle region, if simultaneously It is provided with top and bottom sidebar in Activity, then initialized.
Then define top hurdle toolbar, bottom tool hurdle, manager, column operation etc., be added, remove, replace, And execute other actions.The initialization on user's top base hurdle, if there are then arranging, then need not arranged.
6th, system touch key default treatment:Including " pressing ", " movement ", " lifting " etc..
7th, asynchronous network is processed:
System can restart a thread here, the access data according to user setup and address, carries out network asynchronous visit Ask, access return after, then the default call back function of calling system, call back function by user inherit SAAFActivity after Activity apoplexy due to endogenous wind is realized.
8th, caching and Asynchronous loading:
Caching includes the caching of the contents such as picture, word.It should be noted that the content needing to load is entered by Asynchronous loading The extensive process of row, carries out two dimension loading by internal memory and physical store, to improve efficiency and performance, Asynchronous loading is mainly used in figure Piece and music.
9th, Automatic parameter class:
Define rule first:For example, each Activity class must be with " Activity " ending.
Parameter class is former Activity class name+mark flag " $ "+character string " Param " composition, system will obtain former automatically Class name simultaneously parses assembled character string, and using reflex mechanism get parms Class Type definition.
Tenth, system control event handling:
Define the succession of base class and interface is realized:
Explanation:In bottom Saaf-Activity in addition to realizing primary android base class, also use Activity body real Show click, touch, the general-purpose interface of system readjustment, and all controls of system have been traveled through, commonly used readjustment setting For body Activity, so when programmer develops, be no need for paying close attention to and understand the operation of these internal system it is only necessary to from Which control is oneself Activity page definition need, and then directly directly writes logic in page readjustment.
11, graphical list is processed:
Definition frame control class
The feature of the list view based on Saaf framework is that major embodiment is in the following areas using simply:Automatically cache, General type data loads, common controls event handling.Certainly, Saaf List View is also based on the list view of primary ARIXTRA Carry out structurized encapsulation.
12, automatically cache:
Control, on the basis of original Android, has been specifically added into the list of caching:CacheitemList, this caching list Work asynchronously when whole list view works, be always early row one step when rolling page turning, when turning under user, automatically trigger next The data of page loads, and almost knows from experience less than stagnating sensation, lift Consumer's Experience when making to turn under user.
13, general type data loads:
Call simply based on Saaf framework, only need the incoming civilian Activity that reaches the standard grade, pattern id is set simultaneously;In order to ensure to assign Value is accurately it is only necessary to be combined into template array by the object needing assignment in pattern id, last is data list, lattice Formula is a data according to data above template tissue, and data, without setting type, is directly placed into.
Process description:
1st, system can travel through each control in current list view entry template, the exclusive id specifying of each control (android definition);
2nd, this id is mated with entering template id in ginseng;
If 3 the match is successful, reflected by type and obtain type;
4th, different process are carried out to all kinds, such as Text View, Image View, Image Button etc., be After system is unified to be processed here, it is only necessary to incoming numerical value for programmer, other can be managed, give System;
5th, it is indexed and automatic assignment according to the data parameters of setting;
6th, all traversal completes, and assignment terminates.
14, for common controls event it is also possible to be realized based on SAAF Unified frame, all controls are all uniformly processed, No longer redundant later herein.
The application development method and system that the present invention provides, by creating Activity model, by create Activity model is put into IOAM container and is managed;According to specific exploitation demand, started by described IOAM container and correspond to Activity model, line parameter of going forward side by side parse and call.Traditional development process is simplified and is screened by it, remove redundancy and The system setting taking less than and operation, leave behind necessary system task and then are packaged, by complicated broad sense object-oriented It is changed to simply proceduring exploitation.The application development method and system being provided using the present invention, can set up high-efficiency management Container improves system effectiveness, reduces development difficulty by proceduring development model, wrong by reducing the reduction exploitation of exploitation code amount Incidence rate by mistake.
Particular embodiments described above, has been carried out further to the purpose of the present invention, technical scheme and beneficial effect Describe in detail it will be appreciated that the foregoing is only the specific embodiment of the present invention, the protection being not intended to limit the present invention Scope.Particularly point out, to those skilled in the art, all within the spirit and principles in the present invention, done any repair Change, equivalent, improvement etc., should be included within the scope of the present invention.

Claims (10)

1. a kind of application development method is it is characterised in that comprise the following steps:
Create Activity model, the Activity creating model is put into IOAM container and is managed;
According to specific exploitation demand, corresponding Activity model is started by described IOAM container, line parameter of going forward side by side parses With call.
2. application development method according to claim 1 it is characterised in that described according to exploitation demand, pass through IOAM container starts corresponding Activity model, and line parameter of going forward side by side parses, and realizes calling, comprises the following steps:
According to exploitation demand setting Activity parameter;
New page, and the incoming corresponding Activity mould of described Activity parameter by setting are entered by described IOAM container In type;
After entering new page, by proceduring framework Stream Processing, the parameter in corresponding Activity model is joined Number parsing;
After the completion of Parameter analysis of electrochemical, process various system settings using proceduring unified frame, realize readjustment.
3. application development method according to claim 2 is it is characterised in that arranging according to exploitation demand Further comprising the steps of after Activity parameter:
Using IOAM container, the old page is reclaimed automatically.
4. application development method according to claim 2 is it is characterised in that according to exploitation demand, arrange Activity parameter, comprises the following steps:
Basic Activity class is carried out with general shape parameter process, the general style definitions in top tool hurdle and process, bottom tool hurdle General pattern process, general transaction, fragment process and map plug-in unit are processed;
Described basis Activity class after processing is packaged and packs, and forms new Activity model.
5. application development method according to claim 2 it is characterised in that described will setting Activity parameter In incoming corresponding Activity model, comprise the following steps:
Create general shape parameter array;
By start Activity model required for parameter in order assignment in described general shape parameter array;
Corresponding Activity model is started by IOAM container, described general shape parameter array is delivered to corresponding simultaneously In Activity model.
6. application development method according to claim 5 is it is characterised in that be delivered to described general shape parameter array After in corresponding Activity model, further comprising the steps of:
Legitimacy effect is carried out to the parameter in described general shape parameter array;
If effect failure, directly report an error and log;
If effect success, using reflection class type structure parameter bag.
7. application development method according to claim 6 is it is characterised in that after effect success, using reflection Class type structure parameter bag, comprises the following steps:
Based on java reflex mechanism, reflect parameter type array by traveling through described general shape parameter array;
Assembling external parameter class;
External parameter class according to described parameter type array instantiation, obtains described parameter bag, and described parameter bag is entered It is stored in Bundle after row serializing.
8. application development method according to claim 2 is it is characterised in that after the described new page in entrance, pass through Proceduring framework Stream Processing carries out Parameter analysis of electrochemical and calls to the parameter in corresponding Activity model, walks including following Suddenly:
Obtain the described parameter bag after serializing from Bundle, and effectiveness effect is completely done to described parameter bag;
After effectiveness effect success, obtain the object of described parameter bag, and each parameter in the object of described parameter bag is done Logic reasonability effect;
After logic reasonability effect success, call.
9. a kind of application development system is it is characterised in that include creation module and calling module;
Described creation module, for creating Activity model, the Activity creating model is put into IOAM container and carries out Management;
Described calling module, for developing demand according to specific, starts corresponding Activity mould by described IOAM container Type, line parameter of going forward side by side parses and calls.
10. application development system according to claim 9 is it is characterised in that described calling module includes setting list Unit, transfer unit, resolution unit and processing unit;
Described arranging unit, for according to exploitation demand setting Activity parameter;
Described transfer unit, for entering new page by described IOAM container, and the described Activity parameter of setting is passed Enter in corresponding Activity model;
Described resolution unit, for after entering new page, by proceduring framework Stream Processing to corresponding Activity mould Parameter in type carries out Parameter analysis of electrochemical;
Described processing unit, for, after the completion of Parameter analysis of electrochemical, processing various system settings using proceduring unified frame, realizing Readjustment.
CN201610747010.0A 2016-06-12 2016-08-26 Application program development method and system Pending CN106445497A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2016104117653 2016-06-12
CN201610411765.3A CN105893061A (en) 2016-06-12 2016-06-12 Application program development method and system

Publications (1)

Publication Number Publication Date
CN106445497A true CN106445497A (en) 2017-02-22

Family

ID=56730406

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201610411765.3A Pending CN105893061A (en) 2016-06-12 2016-06-12 Application program development method and system
CN201610747010.0A Pending CN106445497A (en) 2016-06-12 2016-08-26 Application program development method and system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201610411765.3A Pending CN105893061A (en) 2016-06-12 2016-06-12 Application program development method and system

Country Status (1)

Country Link
CN (2) CN105893061A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804089A (en) * 2018-05-03 2018-11-13 福建天泉教育科技有限公司 Can assembling module applied business ability plug-in unit method and its system
CN108965204A (en) * 2017-05-18 2018-12-07 中兴通讯股份有限公司 A kind of method and device of automatic realization IOAM encapsulation
CN109408057A (en) * 2018-10-23 2019-03-01 网易传媒科技(北京)有限公司 Method, apparatus, medium and the calculating equipment of automatic code generating
CN113268469A (en) * 2021-06-11 2021-08-17 福建天晴数码有限公司 Method and system for automatically creating actors

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108153564B (en) * 2016-12-02 2022-02-01 北京京东尚科信息技术有限公司 Interface management method, device and system and computer readable storage medium
CN108228266B (en) * 2016-12-14 2021-08-10 阿里巴巴集团控股有限公司 Method and device for starting Fragment component between different plug-ins under Android plug-in framework
CN108964943B (en) * 2017-05-18 2022-01-28 中兴通讯股份有限公司 Method and device for realizing IOAM packaging
CN107357650B (en) * 2017-06-06 2020-12-15 武汉斗鱼网络科技有限公司 Automatic memory release method and system based on picture resources
CN108334392B (en) * 2018-01-09 2019-09-20 武汉斗鱼网络科技有限公司 Start method, storage medium, equipment and the system of the page in Android system
CN110555181B (en) * 2018-03-30 2022-03-25 武汉斗鱼网络科技有限公司 Page cross-skip method and device
CN108958873B (en) * 2018-07-11 2021-08-20 阿里巴巴(中国)有限公司 Configuration method, device, medium and computer equipment for status bar immersive effect
CN115185712B (en) * 2022-09-08 2022-12-27 中化现代农业有限公司 Data interaction method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102498505A (en) * 2009-08-31 2012-06-13 埃森哲环球服务有限公司 Computer-implemented method for ensuring the privacy of a user, computer program product, device
CN103399752A (en) * 2013-08-08 2013-11-20 天津大学 Mobile phone application chain reaction system and method based on Internet service

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102498505A (en) * 2009-08-31 2012-06-13 埃森哲环球服务有限公司 Computer-implemented method for ensuring the privacy of a user, computer program product, device
CN103399752A (en) * 2013-08-08 2013-11-20 天津大学 Mobile phone application chain reaction system and method based on Internet service

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李元静: ""在Android中使用IOC框架让代码更清爽"", 《HTTPS://BLOG.CSDN.NET/LIYUANJINGLYJ/ARTICLE/DETAILS/48653273》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965204A (en) * 2017-05-18 2018-12-07 中兴通讯股份有限公司 A kind of method and device of automatic realization IOAM encapsulation
CN108804089A (en) * 2018-05-03 2018-11-13 福建天泉教育科技有限公司 Can assembling module applied business ability plug-in unit method and its system
CN109408057A (en) * 2018-10-23 2019-03-01 网易传媒科技(北京)有限公司 Method, apparatus, medium and the calculating equipment of automatic code generating
CN109408057B (en) * 2018-10-23 2022-03-04 网易传媒科技(北京)有限公司 Method, device, medium and computing equipment for automatically generating codes
CN113268469A (en) * 2021-06-11 2021-08-17 福建天晴数码有限公司 Method and system for automatically creating actors

Also Published As

Publication number Publication date
CN105893061A (en) 2016-08-24

Similar Documents

Publication Publication Date Title
CN106445497A (en) Application program development method and system
US10565095B2 (en) Hybrid testing automation engine
US20060277523A1 (en) Annotations for tracking provenance
US20050268280A1 (en) Encapsulating changes to a software application
Cheng et al. Build Mobile Apps with Ionic 4 and Firebase
CN104407863A (en) Abstract control model programming device and method
US11288062B2 (en) Automatic source code refactoring
CN110727429B (en) Front-end page generation method, device and equipment
CN105117215A (en) Development method and device of automobile function
KR101352383B1 (en) Method of program development using Visual Programming Language and computer readable medium thereof
Voelter Fusing Modeling and Programming into Language-Oriented Programming: Our Experiences with MPS
US10275236B2 (en) Generating related templated files
CN112418447B (en) System, method, medium, and apparatus for providing machine learning service
CN103473431A (en) Lightweight method for debugging hypertext preprocessor (PHP) program on line
US20230004477A1 (en) Providing a pseudo language for manipulating complex variables of an orchestration flow
CN116400914A (en) Method for quickly constructing web application based on data model
CN107797793B (en) Method and device for constructing proxy server framework
Starr et al. Models to Code
Leite et al. Designing and executing software architectures models using SysADL Studio
CN114527979A (en) Method and system for generating multi-end form interactive page
Backfield Becoming Functional: Steps for Transforming Into a Functional Programmer
CN110941429A (en) Method, device and equipment for processing business script of webpage
CN112988136B (en) User interface editing method and device
Patel Spring 5.0 Projects: Build Seven Web Development Projects with Spring MVC, Angular 6, JHipster, WebFlux, and Spring Boot 2
Gast How to use objects: code and concepts

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170222