CN106502643A - The generation method of Mobile solution and device - Google Patents
The generation method of Mobile solution and device Download PDFInfo
- Publication number
- CN106502643A CN106502643A CN201610841500.7A CN201610841500A CN106502643A CN 106502643 A CN106502643 A CN 106502643A CN 201610841500 A CN201610841500 A CN 201610841500A CN 106502643 A CN106502643 A CN 106502643A
- Authority
- CN
- China
- Prior art keywords
- mobile solution
- entity
- application model
- mark
- application
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/35—Creation or generation of source code model driven
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The application proposes a kind of generation method of Mobile solution and device, and the generation method of the Mobile solution includes:Receive the mark of the Mobile solution to be generated that mobile terminal sends;Obtain predefined application model corresponding with the mark;According to the application model, Mobile solution is generated.The method can automatically generate Mobile solution, to reduce generating required time reduces cost.
Description
Technical field
The application is related to Mobile solution development technique field, more particularly to a kind of generation method of Mobile solution and device
Background technology
For the solution of information management mobile, by the way of coding exploitation, exploitation is mobile should for great majority at present
The page one by one with (APP).But, the exploitation threshold of Mobile solution is high, and the construction cycle is long, for some fragmentations
Information management input is higher.
Content of the invention
The application is intended at least to solve to a certain extent one of technical problem in correlation technique.
For this purpose, a purpose of the application is to propose a kind of generation method of Mobile solution, the method need not be to moving
Dynamic application carries out exploitation page by page, but by auto-building model Mobile solution, to reduce needed for Mobile solution generation
Time and reduces cost.
Further object is to propose a kind of generating means of Mobile solution.
For reaching above-mentioned purpose, the generation method of the Mobile solution that the application first aspect embodiment is proposed, including:Receive
The mark of the Mobile solution to be generated that mobile terminal sends;Obtain predefined application model corresponding with the mark;Root
According to the application model, Mobile solution is generated.
The generation method of the Mobile solution that the application first aspect embodiment is proposed, by according to predefined application mould
Type generates Mobile solution, it is possible to achieve automatically generating for Mobile solution, generates required time and reduction so as to reduce Mobile solution
Cost.
For reaching above-mentioned purpose, the generating means of the Mobile solution that the application second aspect embodiment is proposed, including:Receive
Module, for receiving the mark of the Mobile solution to be generated of mobile terminal transmission;Acquisition module, right with the mark for obtaining
The predefined application model that answers;Application generation module, for according to the application model, generating Mobile solution.
The generating means of the Mobile solution that the application second aspect embodiment is proposed, by according to predefined application mould
Type generates Mobile solution, it is possible to achieve automatically generating for Mobile solution, generates required time and reduction so as to reduce Mobile solution
Cost.
The aspect and advantage that the application is added will be set forth in part in the description, and partly will become from the following description
Obtain substantially, or recognized by the practice of the application.
Description of the drawings
The above-mentioned and/or additional aspect of the application and advantage will become from the following description of the accompanying drawings of embodiments
Substantially and easy to understand, wherein:
Fig. 1 is the schematic flow sheet of the generation method of the Mobile solution that the application one embodiment is proposed;
Fig. 2 is the schematic flow sheet of the generation method of the Mobile solution that the application another embodiment is proposed;
Fig. 3 is the schematic diagram of entity and inter-entity incidence relation in the embodiment of the present application;
Fig. 4 is the schematic flow sheet of application model defined in the embodiment of the present application;
Fig. 5 is a kind of schematic diagram for representing template in the embodiment of the present application;
Fig. 6 is the schematic diagram that another kind represents template in the embodiment of the present application;
Fig. 7 is the schematic flow sheet for generating Mobile solution in the embodiment of the present application according to application model;
Fig. 8 is that entrance entity represents schematic diagram in the embodiment of the present application;
Fig. 9 is that bottom menu represents schematic diagram in the embodiment of the present application;
Figure 10 is the structural representation of the generating means of the Mobile solution that the application one embodiment is proposed;
Figure 11 is the structural representation of the generating means of the Mobile solution that the application another embodiment is proposed.
Specific embodiment
Embodiments herein is described below in detail, the example of the embodiment is shown in the drawings, wherein from start to finish
Same or similar label represents same or similar module or the module with same or like function.Below with reference to attached
The embodiment of figure description is exemplary, is only used for explaining the application, and it is not intended that restriction to the application.Conversely, this
The embodiment of application includes all changes, modification and the equivalent fallen in the range of the spirit and intension of attached claims
Thing.
Fig. 1 is the schematic flow sheet of the generation method of the Mobile solution that the application one embodiment is proposed.
As shown in figure 1, the flow process of the present embodiment includes:
S11:Receive the mark of the Mobile solution to be generated that mobile terminal sends.
Wherein, Mobile solution can generate engine by Mobile solution and generate, when needing to generate Mobile solution in mobile terminal,
The mobile terminal can to Mobile solution generate engine send HTTP (HyperText Transfer Protocol,
HTTP) ask, the mark comprising Mobile solution to be generated in the request, such as, user selects shifting to be generated in mobile terminal
Dynamic application, and each Mobile solution is preassigned unique mark, can receive movement so as to Mobile solution generates engine
The mark of the Mobile solution to be generated that end sends.
S12:Obtain predefined application model corresponding with the mark.
Generate in engine in Mobile solution, the corresponding application model of each Mobile solution can be pre-defined, and set up shifting
Corresponding relation between the mark and application model of dynamic application, it is right with the mark for receiving therefore can be obtained according to the corresponding relation
The application model that answers.
S13:According to the application model, Mobile solution is generated.
Wherein, the content needed for Mobile solution normally represents can be defined in application model, represent form etc., so as to basis
Application model can generate mobile.The definition of specific application model and the stream according to application model generation Mobile solution
Journey may refer to subsequent embodiment.
In the present embodiment, by generating Mobile solution according to predefined application model, it is possible to achieve Mobile solution
Automatically generate, required time and reduces cost is generated so as to reduce Mobile solution.
Fig. 2 is the schematic flow sheet of the generation method of the Mobile solution that the application another embodiment is proposed.
As shown in Fig. 2 the present embodiment includes:
S21:Define entity and inter-entity incidence relation.
Entity refers to certain the class data object with same alike result, for example:Class, student, course, teacher etc., while real
Definition of the body comprising its own attribute.By taking class as an example, the entity attributes for example include:Class number, class's name, specialty, people
Number etc..A kind of as shown in figure 3, give entity and its attribute, and the schematic diagram of inter-entity incidence relation.
The step belongs to global setting, i.e., multiple Mobile solutions can quote above-mentioned entity and correlation.
S22:Each Mobile solution corresponding, defines application model, and sets up between Mobile solution mark and application model
Corresponding relation.
Wherein, when application model is defined, the unique mark of Mobile solution can be generated, such that it is able to set up Mobile solution
Corresponding relation between mark and application model.In addition, can be realized using visualization tool when application model is defined.
As shown in figure 4, the flow process for defining application model can include:
S41:Define the essential information of Mobile solution.
Essential information for example includes title, icon etc., in addition, can correspond to each Mobile solution life when essential information is defined
Into unique mark, to set up the corresponding relation of mark and application model.
S42:Define the entrance entity of Mobile solution.
Wherein, entrance entity refers to that the corresponding entity of homepage content, such as homepage represent after user starts Mobile solution
Raw related content, then entrance entity is student.
S43:Define the entity that Mobile solution includes represents template.
Wherein, entity represents template for showing the form that represents of entity, such as tabular form or grid etc., tool
Body as shown in Figure 5 and Figure 6, sets forth two kinds and represent template.
S44:Define the process content of the entity that Mobile solution includes.
Process content is used for indicating how to process.
Process content for example includes:A process content after entity is selected, such as shows bottom menu, and,
When showing bottom menu, process content can also include the particular content that bottom menu includes, for example, particular content includes looking into
Other entities (can determine according to the incidence relation of definition) being associated with selected entity are seen, statistical information is checked, is looked into
See search information, enter edlin etc. to itself.
When bottom menu includes checking statistical information, target entity (i.e. objects of statistics) and system can also be further defined
Meter dimension, such as target entity is student, then need to count the relevant information of student, and above-mentioned relevant information can be with
Determined by statistical dimension, such as, statistical dimension is male and female studentses ratio, then the male and female studentses ratio of student is counted.
Similar, when bottom menu includes checking search information, then target entity and search dimension can be defined, such as
Target entity is student, and search dimension is sex, then show to scan for student according to sex.
By above-mentioned flow process, the corresponding application model of generation Mobile solution can be defined, need to generate movement afterwards
During application, can be generated according to application model.
S23:When needing to generate Mobile solution, Mobile solution generates engine and receives the request that mobile terminal sends, the request
In comprising Mobile solution to be generated mark.
S24:Mobile solution generates engine according to the corresponding relation between the Mobile solution mark and application model that has set up,
The Mobile solution corresponding application model of mark for obtaining and receiving.
S25:Mobile solution generates engine and generates Mobile solution according to application model.
As shown in fig. 7, the flow process for generating Mobile solution according to application model includes:
S71:Show the essential information of the Mobile solution defined in application model.
Such as, the essential informations such as icon or the title of Mobile solution are shown when initial.
S72:User according to the essential information start Mobile solution after, according to application model definition entrance entity and
Represent template, obtain the corresponding solid data of entrance entity and entrance entity is corresponding represents template.
Such as, after user clicks on the icon of Mobile solution, then Mobile solution can be started.
Entrance entity defined in application model, therefore can determine entrance entity according to application model, and, apply mould
The template that represents of every kind of entity is also defined in type, therefore can obtain that entrance entity is corresponding to be represented after entrance entity is determined
Template.In addition, the initial value of solid data could be arranged to default value, reality can be carried out to entity as needed by user afterwards
Exampleization, so that obtain the corresponding solid data of entity.
Wherein, solid data refers to the concrete data after instantiating to entity, and such as entrance entity is student, student
A lot of attributes, such as age, sex etc. are had, and solid data refers to the occurrence of these attributes, the such as age is 10 years old, and sex is
Man etc..
S73:According to the solid data for obtaining and represent template, render the page, include in the page entrance entity correspondingly
One or more solid data modules.
Wherein, by rendering, the particular content that form represents entrance entity can be represented with defined.
For example, with reference to Fig. 8, so that entrance entity is student as an example, then can be in the homepage of Mobile solution according to the exhibition for defining
Existing form represents the information of concrete student, such as includes the solid data of student A, the solid data of student B, the entity of student C
Data etc..The solid data of each student for example includes:Specific name (such as Zhang San), age (such as 10 years old), sex (such as man)
Deng.
S74:After user chooses a solid data module, according to the process content of application model definition to the mould chosen
Block is processed.
Such as, showing bottom menu after entity is selected and define bottom menu defined in application model includes
Content, then after user chooses a module, bottom menu as shown in Figure 9 can be shown, the content in the bottom menu
It is definable, can includes that the entity to choosing is operated and/or the entity being associated with the entity that chooses is grasped
Make.Specifically such as:" checking statistical information ", " checking entity 1 ", " checking entity 2 ", " editor " etc..Wherein, " look into when user clicks on
See statistical information " after, can be counted according to the target entity defined in application model and statistical dimension, be obtained statistics letter
Breath, may be displayed on the position of definition, as shown in page top after statistical information is obtained." entity 1 " and " entity 2 " is
Refer to other entities being associated with current entity (such as student), specifically can be according to the incidence relation of the inter-entity of global definition
Determine, during such as global definition, student association teacher and class, then " check entity 1 " and " checking entity 2 " can be specially and " look into
See teacher " and " checking class "." editor " in the menu of bottom refers to that the module to choosing enters edlin, such as increases, deletes
Or change some contents etc..
In the present embodiment, by definition, Mobile solution can be modeled, so as to direct when Mobile solution is generated
Automatically generated according to application model, it is not necessary to write code, so as to reducing the Mobile solution generation required time and reducing into
This, can quickly improve the processing speed of business information mobile.
Figure 10 is the structural representation of the generating means of the Mobile solution that the application one embodiment is proposed.
As shown in Figure 10, the device 100 includes:Receiver module 101, acquisition module 102 and generation module 103.
Receiver module 101, for receiving the mark of the Mobile solution to be generated of mobile terminal transmission;
Acquisition module 102, for obtaining predefined application model corresponding with the mark;
Application generation module 103, for according to the application model, generating Mobile solution.
In some embodiments, referring to Figure 11, the device 100 also includes:
Definition module 104, for defining the corresponding application model of Mobile solution;
Identifier generation module 105, for generating Mobile solution mark;
Relation sets up module 106, for setting up the corresponding relation between Mobile solution mark and application model.
In some embodiments, the definition module 104 specifically for:
Define the essential information of Mobile solution;
Define the entrance entity of Mobile solution;
Define the entity that Mobile solution includes represents template;
Define the process content of the entity that Mobile solution includes.
In some embodiments, described application generation module 103 specifically for:
Show the essential information of the Mobile solution defined in application model;
User according to the essential information start Mobile solution after, according to application model definition entrance entity and represent
Template, obtains the corresponding solid data of entrance entity and entrance entity is corresponding represents template;
According to the solid data for obtaining and represent template, render the page, include entrance entity corresponding in the page
Individual or multiple solid data modules;
After user chooses a solid data module, the process content according to application model definition is entered to the module that chooses
Row is processed.
In some embodiments, the process content includes:
Show that bottom menu, the content in the bottom menu include:The entity that chooses is operated and/or to choosing
In the associated entity of entity operated.
It is understood that the device of the present embodiment is corresponding with said method embodiment, particular content may refer to method
The associated description of embodiment, here are no longer described in detail.
In the present embodiment, by generating Mobile solution according to predefined application model, it is possible to achieve Mobile solution
Automatically generate, required time and reduces cost is generated so as to reduce Mobile solution.
It is understood that same or similar part mutually can refer in the various embodiments described above, in certain embodiments
Unspecified content may refer to same or analogous content in other embodiment.
It should be noted that in the description of the present application, term " first ", " second " etc. are only used for describing purpose, and not
It is understood that as instruction or hint relative importance.Additionally, in the description of the present application, unless otherwise stated, the implication of " multiple "
Refer at least two.
In flow chart or here any process described otherwise above or method description are construed as, expression includes
One or more for realizing specific logical function or process the step of the module of code of executable instruction, fragment or portion
Point, and the scope of the preferred embodiment of the application includes other realization, can not wherein press the suitable of shown or discussion
Sequence, including according to involved function by basic simultaneously in the way of or in the opposite order, carry out perform function, this should be by the application
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each several part of the application can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, the software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realizing.For example, if realized with hardware, and in another embodiment, can be with well known in the art
Any one of row technology or their combination are realizing:There is the logic gates for being used for realizing logic function to data-signal
Discrete logic, the special IC with suitable combinational logic gate circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method is carried
Suddenly the hardware that can be by program to instruct correlation is completed, and described program can be stored in a kind of computer-readable storage medium
In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional unit in the application each embodiment can be integrated in a processing module, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a module.Above-mentioned integrated mould
Block both can be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.The integrated module is such as
Fruit using in the form of software function module realize and as independent production marketing or use when, it is also possible to be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or the spy described with reference to the embodiment or example
Point is contained at least one embodiment or example of the application.In this manual, to the schematic representation of above-mentioned term not
Identical embodiment or example are necessarily referred to.And, the specific features of description, structure, material or feature can be any
One or more embodiments or example in combine in an appropriate manner.
Although embodiments herein has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is impossible to the restriction to the application is interpreted as, one of ordinary skill in the art within the scope of application can be to above-mentioned
Embodiment is changed, changes, replacing and modification.
Claims (10)
1. a kind of generation method of Mobile solution, it is characterised in that include:
Receive the mark of the Mobile solution to be generated that mobile terminal sends;
Obtain predefined application model corresponding with the mark;
According to the application model, Mobile solution is generated.
2. method according to claim 1, it is characterised in that also include:
The corresponding application model of Mobile solution is defined, and generates Mobile solution mark, and set up Mobile solution mark and application
Corresponding relation between model, to obtain application model corresponding with the mark for receiving according to the corresponding relation.
3. method according to claim 2, it is characterised in that the corresponding application model of the definition Mobile solution, including:
Define the essential information of Mobile solution;
Define the entrance entity of Mobile solution;
Define the entity that Mobile solution includes represents template;
Define the process content of the entity that Mobile solution includes.
4. method according to claim 3, it is characterised in that described according to the application model, generates Mobile solution, bag
Include:
Show the essential information of the Mobile solution defined in application model;
User according to the essential information start Mobile solution after, according to application model definition entrance entity and represent mould
Plate, obtains the corresponding solid data of entrance entity and entrance entity is corresponding represents template;
According to the solid data for obtaining and represent template, render the page, include in the page entrance entity corresponding one or
Multiple solid data modules;
After user chooses a solid data module, according to the process content of application model definition at the module chosen
Reason.
5. the method according to claim 3 or 4, it is characterised in that the process content includes:
Show that bottom menu, the content in the bottom menu include:The entity that chooses operated and/or to choose
The associated entity of entity is operated.
6. a kind of generating means of Mobile solution, it is characterised in that include:
Receiver module, for receiving the mark of the Mobile solution to be generated of mobile terminal transmission;
Acquisition module, for obtaining predefined application model corresponding with the mark;
Application generation module, for according to the application model, generating Mobile solution.
7. device according to claim 6, it is characterised in that also include:
Definition module, for defining the corresponding application model of Mobile solution;
Identifier generation module, for generating Mobile solution mark;
Relation sets up module, for setting up the corresponding relation between Mobile solution mark and application model.
8. device according to claim 7, it is characterised in that the definition module specifically for:
Define the essential information of Mobile solution;
Define the entrance entity of Mobile solution;
Define the entity that Mobile solution includes represents template;
Define the process content of the entity that Mobile solution includes.
9. device according to claim 8, it is characterised in that the application generation module specifically for:
Show the essential information of the Mobile solution defined in application model;
User according to the essential information start Mobile solution after, according to application model definition entrance entity and represent mould
Plate, obtains the corresponding solid data of entrance entity and entrance entity is corresponding represents template;
According to the solid data for obtaining and represent template, render the page, include in the page entrance entity corresponding one or
Multiple solid data modules;
After user chooses a solid data module, according to the process content of application model definition at the module chosen
Reason.
10. device according to claim 8 or claim 9, it is characterised in that the process content includes:
Show that bottom menu, the content in the bottom menu include:The entity that chooses operated and/or to choose
The associated entity of entity is operated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610841500.7A CN106502643A (en) | 2016-09-22 | 2016-09-22 | The generation method of Mobile solution and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610841500.7A CN106502643A (en) | 2016-09-22 | 2016-09-22 | The generation method of Mobile solution and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106502643A true CN106502643A (en) | 2017-03-15 |
Family
ID=58290242
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610841500.7A Pending CN106502643A (en) | 2016-09-22 | 2016-09-22 | The generation method of Mobile solution and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106502643A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102567026A (en) * | 2011-12-28 | 2012-07-11 | 用友软件股份有限公司 | Mobile application constructing system and method |
CN103970536A (en) * | 2014-04-28 | 2014-08-06 | 广州杰赛科技股份有限公司 | Method and device for generating APP installation program |
CN104199672A (en) * | 2014-09-19 | 2014-12-10 | 北京金和软件股份有限公司 | System allowing users to generate mobile applications |
-
2016
- 2016-09-22 CN CN201610841500.7A patent/CN106502643A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102567026A (en) * | 2011-12-28 | 2012-07-11 | 用友软件股份有限公司 | Mobile application constructing system and method |
CN103970536A (en) * | 2014-04-28 | 2014-08-06 | 广州杰赛科技股份有限公司 | Method and device for generating APP installation program |
CN104199672A (en) * | 2014-09-19 | 2014-12-10 | 北京金和软件股份有限公司 | System allowing users to generate mobile applications |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106020595B (en) | Message reply method and device | |
CN106951925B (en) | Data processing method, device, server and system | |
CN104217717B (en) | Build the method and device of language model | |
CN206058171U (en) | Message processing device and electronic equipment | |
CN106126582A (en) | Recommend method and device | |
CN109447958B (en) | Image processing method, image processing device, storage medium and computer equipment | |
US20170214646A1 (en) | Systems and methods for providing social media location information | |
CN109299258A (en) | A kind of public sentiment event detecting method, device and equipment | |
CN104052714B (en) | The method for pushing and server of multimedia messages | |
CN105205180A (en) | Knowledge map evaluation method and device | |
CN105446988A (en) | Classification predicting method and device | |
CN106611366A (en) | Method and device for automatically selecting article | |
CN107978189A (en) | Intelligent exercise pushing method and system and terminal equipment | |
CN111782758B (en) | CAD-based drawing examination result viewing method and related device | |
CN111126390A (en) | Correlation method and device for identifying identification pattern in media content | |
CN110634088A (en) | Case refereeing method, device and system | |
CN103207906A (en) | Method for delivering search results and search engine | |
CN105183853A (en) | Method and device used for presenting label page | |
CN112435333A (en) | Road scene generation method and related device | |
CN105260092A (en) | Method and device for dynamically changing input keyboard | |
CN105279600A (en) | Label extension giving method in process management system | |
CN103838861A (en) | Method and display system for dynamically displaying information based on three-dimensional GIS | |
CN110427277B (en) | Data verification method, device, equipment and storage medium | |
CN111177562B (en) | Recommendation ordering processing method and device for target object and server | |
CN105261044A (en) | Similar picture identification method and device and electronic equipment |
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: 20170315 |