Business model based on mobile application configures system and method
Technical field
The present invention relates to can configure system and method with the business model on multiple terminal.
Background technology
Existing routine mobile application transmission data system is made of " App+ interfaces+Web " three parts, and there are repetitions to set
Count the exploitation of control and interface channel.For different client's use demands, software vendor needs the carry out list repeated to open
Hair, interface debugging, the mobile application corporate identity for developing completion is apparent, is unfavorable for industry popularization.Due to the weight in front end page
Renaturation works, and does not utilize the control to service logic, without really realizing values of the mobile App to IT application in enterprises.
Due to lacking a business model configuration mode, corporate manager, business personnel cannot indiscriminately ad. as one wishes use
Mobile terminal is associated with enterprises and institutions built-in systems, is raised the management level, development ability, the process of management level.
Invention content
Business model provided by the invention based on mobile application configures system and method, be encapsulation to commonly using control and
The exploitation of general-purpose interface can reduce complicated work of the developer in front end page, designer is made to pay close attention to service logic control,
Really realize values of the mobile App to IT application in enterprises.
The business model configuration method based on mobile application that the present invention provides a kind of, including step
S1. it is arranged and encapsulates the basic control of a variety of flow operations;
S2. general business datum upload and download interface are developed;
S3. according to customer demand, Worksheet self-defining is carried out;Gathered data establishes database, and using the form of key-value pair
Preserve data, system assigns the unique attribute of key-value pair to identify the source of data in the database;
S4. according to customer demand, service logic control setting is carried out;
S5. general-purpose interface and packaged basic control are called, the data interaction of client and server-side is carried out.
Further, step S3 includes the following steps:
Parameter initialization is carried out to the data from mobile client, is sent to server-side;
Parameter update is carried out in server-side and is sent to task module, Worksheet self-defining and list inquiry is carried out, according to list
Attribute searches corresponding service data, by the unique attribute of key-value pair come the source of data in identification database;
It analyzes and determines and carries out business datum input.
Further, it carries out Worksheet self-defining and is divided into setting formatter, table data, check item, hop button;Wherein
Formatter, for controlling list in the basic layout of mobile client, pattern;
Table data, by the business datum of SqI inquiry systems, as the entrance for entering list;
Check item, by the element of customizing form, system support to use data in the direct inquiry business systems of SqI as
The value of combobox;System supports the display sequence of form fields, if the Special controlling that must be filled out;
Hop button develops basic control for the common function of list, and system is also supported according to particular service, customization
Function button.
Further, gathered data establishes database, and preserves data in the form of key-value pair, and system assigns key-value pair
Unique attribute specifically includes to identify the source of data in the database:
In database purchase, a value is corresponded to using a field, while forms traffic attribute is added, to identify the word
Section is which business module come from, which business paper;When database checks data, a line record is generally only in list
One field, multirow record can just risk a list.
The present invention also provides the business models based on mobile application using the above method to configure system, including:
Data acquisition module, for using the different function in installation app on mobile terminals carry out data acquisition with
Control encapsulation setting;
Data-interface realizes data interaction for the channel between the data acquisition module and data processing module;
Data processing module is controlled for service logic, according to the request of front end come returning response result;Number is established in control
According to library, data are preserved in the form of key-value pair, assign the unique attribute of key-value pair to identify data in the database
Source;
Data disaply moudle, including mobile client and service client, for calling general-purpose interface and packaged base
This control carries out the data interaction of client and server-side, shows business datum.
Data memory module has database, for storing the business datum and data processed result of front-end collection.
Further, data acquisition module includes
Data acquisition unit, for carrying out data acquisition using the different function in the app installed on mobile terminals;
Basic control encapsulation unit, the basic control for being arranged and encapsulating a variety of flow operations, the basic control is extremely
Include chart control, form controls, button control, grid control, sliding picture presentation control, bar code scan, text input less
Frame control, time input control.
Further, data processing module further includes customizing form setting unit, for according to customer demand, carrying out list
It is self-defined, it is specifically divided into setting formatter, table data, check item, hop button;Wherein
Formatter, for controlling list in the basic layout of mobile client, pattern;
Table data, by the business datum of SqI inquiry systems, as the entrance for entering list;
Check item, by the element of customizing form, system support to use data in the direct inquiry business systems of SqI as
The value of combobox;System supports the display sequence of form fields, if the Special controlling that must be filled out;
Hop button develops basic control for the common function of list, and system is also supported according to particular service, customization
Function button.
Further, the data disaply moudle further includes general-purpose interface setting unit, for general business datum to be arranged
It uploads and download interface, the data interaction of progress client and server-side shows business datum.
The business model configuration system and method advantage based on mobile application of the present invention is clearly:
1, the exploitation to the encapsulation and general-purpose interface of commonly using control, can reduce complicated work of the developer in front end page,
So that designer is paid close attention to service logic control, really realizes values of the mobile App to IT application in enterprises.
2, a large amount of unnecessary duplicate data transmission can be reduced, system processing power and speed are improved;
3, report data is enable to be shown in a variety of mobile terminals, data compatibility is good.
4, developer can be allowed to take more time using the technology to reinforce the traffic handing capacity of mobile terminal client,
Ensure the user experience of mobile application.Comprehensively business is modeled and analyzed simultaneously, the same industry of mobile App can be improved
Spreadability, the effective whole industry solution of formation, and unconventional project solutions.
5, enterprise mobile information is allowed to realize " 3A ".(Anytima), any place (Anywhere) processing any time
With the relevant anything of business (Anything) so that no matter corporate manager, business personnel stay where, can follow one's inclinations institute
Ground is intended to using being mounted with that the mobile terminal of present system is associated with enterprises and institutions built-in systems, raise the management level, development ability,
The process of management level.
Description of the drawings
Fig. 1 is the data transmission schematic diagram of the business model configuration method the present invention is based on mobile application.
Fig. 2 is the inquiry data flow diagram of the method for the present invention.
The function structure schematic diagram of Fig. 3 present systems.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, the present invention is made into one below in conjunction with attached drawing
Step ground detailed description.
The present invention provides a kind of business model configuration method based on mobile application, including
Step S1. settings and the basic control for encapsulating a variety of flow operations.
For example it is arranged and encapsulates the date, the time, number, takes pictures, pop-up box, the local picture of selection, Text Entry, multirow
The basic control such as text, bar code scan.Such as:Bar code scan first, develops the primary bar code scanning functions of android, then
It is converted to the plug-in unit of phonegap, is called for HTML5.
Step S2. develops general business datum upload and download interface, is used for Rapid matching transmission data;
Step S3. carries out Worksheet self-defining according to customer demand;Gathered data establishes database, and using key-value pair
Form preserves data, and system assigns the unique attribute of key-value pair to identify the source of data in the database.
Include the following steps:Parameter initialization is carried out to the data from mobile client, is sent to server-side;It is servicing
End carries out parameter update and is sent to task module, carries out Worksheet self-defining and list inquiry, and corresponding industry is searched according to form attributes
Business data, by the unique attribute of key-value pair come the source of data in identification database;It analyzes and determines and carries out business datum input.
It carries out Worksheet self-defining and is divided into setting formatter, table data, check item, hop button;Wherein
Formatter, for controlling list in the basic layout of mobile client, pattern;
Table data, by the business datum of SqI inquiry systems, as the entrance for entering list;It is defined that is, list need to have
Object, the field in list is the attribute specification of the object.Simultaneity factor is also supported according to the special of the ID of list or list
Attribute is called for operation system.
Check item, by the element of customizing form, such as:Text box combobox radio button check box etc., system
Support uses the data in the direct inquiry business systems of SqI as the value of combobox;System supports the display sequence of form fields,
Whether equal Special controllings must be filled out.
Hop button develops basic control for the common function of list, for example, preserve submit.System also supports basis
Particular service customizes function button.
Since list is self-defined generation, program cannot be identified according to the field of list, not have uniqueness.Cause
, in database purchase, we correspond to a value using a field, while forms traffic attribute is added, to identify the field for this
It is which business module come from, which business paper.When database checks data, a line record is generally only one in list
A field, multirow record can just risk a list.
Step S4. carries out service logic control setting according to customer demand;
Step S5. calls general-purpose interface and packaged basic control, carries out the data interaction of client and server-side.
As shown in Figure 1, the present invention method be using mobile client by data-interface send task requests, configuration or
Query task form parameters, system are supported to be called for operation system according to the ID of list or the specific properties of list.Using one
Field corresponds to a value, while forms traffic attribute is added, to identify the field is which business module come from, which business sheet
According to, facilitate inquiry extract;By the unique attribute of key-value pair come the source of data in identification database, business model, side are extracted
Just corresponding business data transmission is quickly searched to call by enquiry of historical data library to mobile client and commonly use control, can subtract
Few developer makes designer pay close attention to service logic control in the complicated work of front end page, really realizes mobile App to enterprise
The value of industry informationization.A large amount of unnecessary duplicate data transmission can be reduced simultaneously, improve system processing power and speed.
Referring to mono- inquiry data flow of Fig. 2, task list is checked by the app on mobile terminal, according to task attribute
Match query template is gone, input interface is shown if attributes match, if attribute mismatches, just calls default template, acquisition
And data are submitted, input inquiry condition returns to customer inquiries result.
The present invention also provides the business models based on mobile application using the above method to configure system, including:
Data acquisition module, for using the different function in installation app on mobile terminals carry out data acquisition with
Control encapsulation setting;
Data-interface realizes data interaction for the channel between the data acquisition module and data processing module;
Data processing module is controlled for service logic, according to the request of front end come returning response result;Number is established in control
According to library, data are preserved in the form of key-value pair, assign the unique attribute of key-value pair to identify data in the database
Source;
Data disaply moudle, including mobile client and service client, for calling general-purpose interface and packaged base
This control carries out the data interaction of client and server-side, shows business datum.
Data memory module has database, for storing the business datum and data processed result of front-end collection.
Data acquisition module includes data acquisition unit, for utilizing the different work(in the app installed on mobile terminals
It can carry out data acquisition;
Basic control encapsulation unit, the basic control for being arranged and encapsulating a variety of flow operations, the basic control is extremely
Include chart control, form controls, button control, grid control, sliding picture presentation control, bar code scan, text input less
Frame control, time input control.
Further, data processing module further includes customizing form setting unit, for according to customer demand, carrying out list
It is self-defined, it is specifically divided into setting formatter, table data, check item, hop button;Wherein
Formatter, for controlling list in the basic layout of mobile client, pattern;
Table data, by the business datum of SqI inquiry systems, as the entrance for entering list;
Check item, by the element of customizing form, system support to use data in the direct inquiry business systems of SqI as
The value of combobox;System supports the display sequence of form fields, if the Special controlling that must be filled out;
Hop button develops basic control for the common function of list, and system is also supported according to particular service, customization
Function button.
Further, the data disaply moudle further includes general-purpose interface setting unit, for general business datum to be arranged
It uploads and download interface, the data interaction of progress client and server-side shows business datum.
As shown in figure 3, it is mobile client APP that present system function structure, which is front end, there are basic database, list fixed
Justice, flow definition, campaign definitions module have task center and the Project Central of responsible Row control and Service control, by patrolling
Analyzing processing is collected, working report and statement analysis module data and background data base are interacted, correct quick calling list
To mobile client.