CN109271148A - A kind of mobile application generation method and device - Google Patents

A kind of mobile application generation method and device Download PDF

Info

Publication number
CN109271148A
CN109271148A CN201811149536.4A CN201811149536A CN109271148A CN 109271148 A CN109271148 A CN 109271148A CN 201811149536 A CN201811149536 A CN 201811149536A CN 109271148 A CN109271148 A CN 109271148A
Authority
CN
China
Prior art keywords
component
particular native
target
mobile solution
primary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811149536.4A
Other languages
Chinese (zh)
Other versions
CN109271148B (en
Inventor
周云龙
罗皓月
王崇鉴
李法良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201811149536.4A priority Critical patent/CN109271148B/en
Publication of CN109271148A publication Critical patent/CN109271148A/en
Application granted granted Critical
Publication of CN109271148B publication Critical patent/CN109271148B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design

Abstract

The application provides a kind of mobile application generation method and device, generates request by receiving mobile application, determines target mobile solution platform belonging to mobile application that request generates;Corresponding relationship based on pre-set mobile solution platform and component set searches target element collection corresponding with target mobile solution platform;Component set includes at least one particular native component of mobile solution platform corresponding with the component set, and particular native component indicates to characterize the general character between each primary component of same meaning with the particular native component in different mobile solution platforms;At least one particular native component in displaying target component set;Receive the selection operation to particular native component at least one particular native component, to generate the view page for being constituted mobile application, and then mobile application is generated, the development cost of mobile application is reduced, the operation for being distributed in the same mobile application of different mobile solution platforms is avoided and experiences inconsistent situation.

Description

A kind of mobile application generation method and device
Technical field
The present invention relates to computer software technical fields, more specifically to a kind of mobile application generation method and dress It sets.
Background technique
Mobile solution platform currently on the market is numerous (e.g., IOS, Android etc.), the original of each mobile solution platform Raw component characteristic is again multifarious, is bound to then individually carrying out designing and developing for mobile application for each mobile solution platform The development cost that will lead to mobile application increases suddenly and will cause the operation for being distributed in the mobile application of each mobile solution platform and body Test inconsistent situation.
In view of this, a kind of mobile application generation method and device are provided, to reduce the development cost of mobile application, avoid It is distributed in the operation of the same mobile application of different mobile solution platforms and the situation that experience is inconsistent, is urgently to be resolved ask Topic.
Summary of the invention
In view of this, the present invention provides a kind of mobile application generation method and device, with reduce the exploitation of mobile application at Originally, the operation for the same mobile application for being distributed in different mobile solution platforms and the situation that experience is inconsistent are avoided, is urgently to solve Certainly the problem of.
Technical solution is as follows:
A kind of mobile application generation method, comprising:
It receives mobile application and generates request, determine target mobile solution platform belonging to the mobile application for requesting to generate;
Corresponding relationship based on pre-set mobile solution platform and component set is searched flat with the target mobile application The corresponding target element collection of platform;Component set includes at least one particular native group of mobile solution platform corresponding with the component set Part, the particular native component indicate each original for characterizing same meaning in different mobile solution platforms with the particular native component General character between raw component;
Show at least one particular native component in the target element collection;
The selection operation to particular native component at least one described particular native component is received, is generated for constituting State the view page of mobile application.
Preferably, the component set further includes at least one general purpose module, and the general purpose module in the component set is in response to Selection and industry to any one or more particular native components at least one particular native component in the component set Meaning of being engaged in assigns what operation generated;
At least one particular native component in the display target element collection, comprising: show the target element At least one particular native component and at least one general purpose module in collection;
The selection operation received to particular native component at least one described particular native component, generates and is used for structure At the view page of the mobile application, comprising: receive at least one described particular native component and at least one common group The selection operation of particular native component and/or general purpose module in part generates the view page for constituting the mobile application.
Preferably, the generation method of the component set includes:
Determine each primary component in different mobile solution platforms;
It determines that different mobile solution platforms characterize the primary component of each target of same meaning, determines primary group of each target Common feature between part;
For each primary component of target, extract in the primary component of the target for characterizing the generation of the common feature Code, generates the particular native component of the primary component of the target;For each mobile solution platform, in the mobile solution platform The particular native component of each primary component of target constitutes component set corresponding with the mobile solution platform.
Preferably, described to be directed to each primary component of target, it extracts described for characterizing in the primary component of the target The code of common feature generates the particular native component of the primary component of the target, comprising:
For each primary component of target, extract in the primary component of the target for characterizing the generation of the common feature Code, generates the initial particular native component of the primary component of the target;
For each mobile solution platform, for the initial specific original of the primary component of each of the mobile solution platform Raw component assigns same style information, generates the particular native component of the mobile solution platform;Different mobile solution platform Central Plains The style information that the initial particular native component of raw component is endowed is identical.
Preferably, the component set creation method further include:
Determine each particular native component in component set corresponding with the mobile solution platform;
The selection operation to the particular native component in identified each particular native component is received, each selected is obtained Target particular native component;
It responds and assigns operation to the business meaning of each target particular native component, generate by each specific original of target The general purpose module that raw component is constituted.
A kind of mobile application generating means, comprising:
Mobile application generates request reception unit, generates request for receiving mobile application, determines the movement that request generates Using affiliated target mobile solution platform;
Target element collection searching unit, for the corresponding relationship based on pre-set mobile solution platform and component set, Search target element collection corresponding with the target mobile solution platform;Component set includes mobile application corresponding with the component set At least one particular native component of platform, the particular native component indicate in different mobile solution platforms with the particular native Component characterizes the general character between each primary component of same meaning;
Target element collection display unit, for showing at least one particular native component in the target element collection;
Mobile application generation unit, for receiving the choosing to particular native component at least one described particular native component Operation is selected, the view page for constituting the mobile application is generated.
Preferably, the component set further includes at least one general purpose module, and the general purpose module in the component set is in response to Selection and industry to any one or more particular native components at least one particular native component in the component set Meaning of being engaged in assigns what operation generated;
The target element collection display unit, specifically for showing at least one particular native in the target element collection Component and at least one general purpose module;
The mobile application generation unit is specifically used for receiving at least one described particular native component and at least one The selection operation of particular native component and/or general purpose module in general purpose module generates the view for constituting the mobile application The page.
It preferably, further include component set generation unit, the component set generation unit, comprising:
Primary component determination unit, for determining each primary component in different mobile solution platforms;
Common feature determination unit, for determining that different mobile solution platforms characterize primary group of each target of same meaning Part determines the common feature between each primary component of the target;
Component set generates subelement, for being directed to each primary component of target, extracts and uses in the primary component of the target In the code for characterizing the common feature, the particular native component of the primary component of the target is generated;It is answered for each movement With platform, the particular native component of each primary component of target is constituted corresponding with the mobile solution platform in the mobile solution platform Component set.
Preferably, component set generates subelement, comprising:
First assembly collection generates subelement, for being directed to each primary component of target, extracts the primary component of the target In for characterizing the code of the common feature, generate the initial particular native component of the primary component of the target;
Second component set generates subelement, for being directed to each mobile solution platform, in the mobile solution platform Each of the initial particular native component of primary component assign same style information, generate the particular native of the mobile solution platform Component;The style information that the initial particular native component of primary component is endowed in different mobile solution platforms is identical.
Preferably, the component set generation unit further includes general purpose module generation unit, the general purpose module generation unit Include:
Particular native component determination unit, it is each specific in component set corresponding with the mobile solution platform for determining Primary component;
Particular native component selection unit, for receiving to the particular native component in identified each particular native component Selection operation, obtain each target particular native component selected;
General purpose module generates subelement, for responding the business meaning imparting behaviour to each target particular native component Make, generates the general purpose module being made of each target particular native component.
The application provides a kind of mobile application generation method and device, during realizing that mobile application generates, for The difference for requesting mobile solution platform belonging to the mobile application generated, provides different component set, for user in order to user The component set for being directly based upon display realizes the generation of mobile application, so that the case where not having to switching mobile solution platform Under, realize that the exploitation to mobile application (does not need to carry out opening for individual mobile application for different mobile solution platforms Hair), therefore, reduce the development cost of mobile application;Also, include in component set is mobile application corresponding with the component At least one particular native component of platform, particular native component indicate in different mobile solution platforms with the particular native component The general character between each primary component of same meaning is characterized, therefore, each of same meaning is indicated in different mobile solution platforms It is there is no difference, in this way, the same mobile application generated in different mobile solution platforms between particular native component Just there is no inconsistent situations for operation and experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of mobile application generation method flow chart provided by the embodiments of the present application;
Fig. 2 is another mobile application generation method flow chart provided by the embodiments of the present application;
Fig. 3 is a kind of generation method flow chart of component set provided by the embodiments of the present application;
Fig. 4 is a kind of generation method schematic diagram of particular native component provided by the embodiments of the present application;
Fig. 5 is another component set creation method flow chart provided by the embodiments of the present application;
Fig. 6 is another component set creation method flow chart provided by the embodiments of the present application;
Fig. 7 is a kind of structural schematic diagram of mobile application generating means provided by the embodiments of the present application.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Embodiment:
For the ease of now answering first movement to a kind of understanding of mobile application generation method provided by the embodiments of the present application Some terms involved in generation method are explained.
Mobile solution platform refers to cell phone operating system, including but not limited to IOS, Android etc., and mobile application is flat Platform provides basic environment for the normal operation of mobile phone application (mobile phone application is properly termed as mobile application).
Primary component: refer to interface control (button, text box etc.) provided by each mobile solution platform itself, component property And determined using standard by each mobile solution platform self-characteristic, it is independent of each other.In mobile solution platform, primary component is used The correspondence mobile application operational efficiency highest and user experience of exploitation are best.
It is situated between in detail below with reference to term above to a kind of mobile application generation method provided by the embodiments of the present application It continues, specifically, a kind of mobile application generation method provided by the embodiments of the present application is referring to Figure 1.
As shown in Figure 1, this method comprises:
S101, mobile application generation request is received, determines that target mobile application belonging to the mobile application for requesting to generate is put down Platform;
In the embodiment of the present application, the mobile application that can receive user's transmission generates request, determines that the mobile application generates Request generate mobile application belonging to mobile solution platform (for the ease of distinguish, the shifting for temporarily determining this place Dynamic application platform is known as target mobile solution platform).
For example, if mobile solution platform belonging to the mobile application is mobile for IOS when mobile application is IOS mobile application Application platform;If mobile application is Android mobile application, mobile solution platform belonging to the mobile application is Android Mobile solution platform.
S102, the corresponding relationship based on pre-set mobile solution platform and component set are searched and target mobile application The corresponding target element collection of platform;Component set includes at least one particular native of mobile solution platform corresponding with the component set Component, particular native component indicate to characterize each primary of same meaning with the particular native component in different mobile solution platforms General character between component;
Wherein, it is previously provided with the corresponding relationship of mobile solution platform and component set, is asked determining that mobile application generates After seeking target mobile solution platform belonging to the mobile application for requesting to generate, pre-set mobile solution platform can be searched With the corresponding relationship of component set, find out corresponding with target mobile solution platform component set (for the ease of distinguishing, temporarily will herein The component set found out is known as target element collection).
It in the embodiment of the present application, include at least one spy of mobile solution platform corresponding with the component set in component set Fixed primary component, particular native component indicate to characterize each of same meaning with the particular native component in different mobile solution platforms General character between a primary component.
For example, preset the correspondence of IOS mobile solution platform and IOS component set, Android mobile solution platform and Android component set is corresponding;The movement of target belonging to the mobile application generated is requested to be answered if it is determined that mobile application generates When with platform being IOS mobile solution platform, search the corresponding relationship of pre-set mobile solution platform and component set, determine with The corresponding target element of target mobile solution platform integrates as IOS component set, includes IOS mobile solution platform in IOS component set At least one particular native component, each particular native component instruction in IOS component set have in each mobile solution platform with The particular native component characterizes the general character between each primary component of same meaning.
For example, mobile solution platform 1, mobile solution platform 2 and mobile solution platform 3 if it exists, wherein mobile application Platform 1 corresponds to component set 1, the corresponding component set 2 of mobile solution platform 2, the corresponding component set 3 of mobile solution platform 3;For with movement For a particular native component in the corresponding component set 1 of application platform 1, which indicates mobile solution platform Characterized in 1 with the particular native component the primary component 1 of same meaning, in mobile solution platform 2 with the particular native component table It levies in the primary component 2 and mobile solution platform 3 of same meaning and to characterize primary group of same meaning with the particular native component General character between part 3.General character between primary component 1, primary component 2 and primary component 3 can be primary component 1, primary The intersection 1 of function in component 2 and primary component 3 is applicable in the intersection of scene in primary component 1, primary component 2 and primary component 3 2 and primary component 1, primary component 2 and primary component 3 in appearance style intersection 3;Wherein, intersection 1, intersection 2 and intersection 3 Union can regard the general character between primary component 1, primary component 2 and primary component 3 as.
Wherein, particular native component is that the particular native component of target mobile solution platform illustrates the particular native component Programming language is identical as the programming language that the target mobile solution platform is supported.For example, particular native component is that IOS movement is answered When with particular native component in platform, volume that the programming language of the particular native component is supported by IOS mobile solution platform Cheng Yuyan;When particular native component is the particular native component in Andriod mobile solution platform, the volume of the particular native component The programming language that Cheng Yuyan is supported by Android mobile solution platform.
At least one particular native component in S103, displaying target component set;
It in the embodiment of the present application, can be to user's displaying target component set after determining target element collection.That is, to User shows at least one particular native component in the target element collection;Wherein, the target element collection of display be can be by user Operation.
S104, reception generate for constituting the selection operation of particular native component at least one particular native component The view page of mobile application.
Mobile application is made of at least one view page, and the generating mode of view page can be in mobile application are as follows: connects User is received to the selection operation of particular native component at least one particular native component of display, by the spy being easily selected by a user Fixed primary component constitutes view page.
Fig. 2 is another mobile application generation method flow chart provided by the embodiments of the present application.
As shown in Fig. 2, this method comprises:
S201, mobile application generation request is received, determines that target mobile application belonging to the mobile application for requesting to generate is put down Platform;
S202, the corresponding relationship based on pre-set mobile solution platform and component set are searched and target mobile application The corresponding target element collection of platform;Component set includes at least one particular native of mobile solution platform corresponding with the component set Component and at least one general purpose module;
In the embodiment of the present application, particular native component indicate in different mobile solution platforms with the particular native component table Levy the general character between each primary component of same meaning.
Optionally, the general purpose module in component set was in response to appointing at least one particular native component in component set The selection of one or more of anticipating particular native components and business meaning assign what operation generated.
It may include that at least one particular native component is logical at least one for each component set, in the component set With component, each general purpose module at least one general purpose module in component set is in response to at least one of the component set The selection of any one or more particular native components and business meaning assign what operation generated in particular native component.
It include particular native component 1, particular native component 2 and particular native in the component set 1 that is, component set 1 if it exists Component 3, wherein user can be responded to any one in particular native component 1, particular native component 2 and particular native component 3 The selection operation of a or multiple particular native components;And response user is to the business meaning for each particular native component being selected Operation is assigned, to generate the general purpose module in the component set 1.For example, the particular native component in component set 1 can be chosen 1 (the particular native component 1 is particular text class component), (the particular native component 3 is particular picture class to particular native component 3 Component), and respond the business meaning that user executes particular native component 1 and particular native component 3 and assign operation, to generate cake Figure component exhibiting (pie chart shows that approach can regard a general purpose module in component set 1 as).
At least one particular native component and at least one general purpose module in S203, displaying target component set;
S204, receive to particular native component at least one particular native component and at least one general purpose module and/or The selection operation of general purpose module generates the view page for constituting mobile application.
Mobile application is made of at least one view page, and the generating mode of view page can be in mobile application are as follows: connects It receives to the particular native component and/or general purpose module at least one particular native component of display and at least one general purpose module Selection operation, to constitute the view page in mobile application.For example, receiving at least one particular native component to display With the selection operation of the particular native component at least one general purpose module, to constitute view page (this in mobile application When, which is only made of particular native component);Alternatively, receiving at least one particular native component of display and extremely The selection operation of general purpose module in a few general purpose module, to constitute the view page in mobile application (at this point, the view The page is only made of general purpose module);Alternatively, receiving at least one particular native component of display and at least one general purpose module In particular native component and general purpose module selection operation, to constitute the view page in mobile application (at this point, the view The page is made of particular native component and general purpose module).
For the ease of now implementing to the application to a kind of understanding of mobile application generation method provided by the embodiments of the present application The generation method for the component set in mobile application generation method that example provides describes in detail.
Fig. 3 is a kind of generation method flow chart of component set provided by the embodiments of the present application.
As shown in figure 3, this method comprises:
S301, each primary component in different mobile solution platforms is determined;
In the embodiment of the present application, each mobile solution platform of component set to be generated is determined;For example, if desired generate with The corresponding component set of IOS mobile solution platform, then it needs to be determined that each primary component in IOS mobile solution platform;If desired it gives birth to It is at component set corresponding with Android mobile solution platform, then it needs to be determined that each primary in Android mobile solution platform Component.
The application is to need to generate component set corresponding with IOS mobile solution platform and put down with Android mobile application The corresponding component set of platform is illustrated.Based on this, each primary component in IOS mobile solution platform is determined in step S301 With each primary component in determining Android mobile solution platform.
S302, it determines that different mobile solution platforms characterize the primary component of each target of same meaning, determines that each target is primary Common feature between component;
In the embodiment of the present application, determine that different mobile solution platforms characterize the primary component of each target of same meaning, Determine the common feature between the primary component of each target.For example, the primary component 11 in IOS mobile solution platform can be determined (the primary component 21 is primary component 21 in (the primary component 11 is text class component) and Android mobile solution platform Text class component) be characterize two primary components of target of same meaning, and then determine primary component 11 and primary component 21 it Between common feature;Common feature between primary component 11 and primary component 21 indicate primary component 11 and primary component 21 it Between general character.
S303, it is directed to the primary component of each target, extracted for characterizing the code of common feature in the primary component of the target, Generate the particular native component of the primary component of the target;For each mobile solution platform, each mesh in the mobile solution platform The particular native component for marking primary component constitutes component set corresponding with the mobile solution platform.
In the embodiment of the present application, it for primary component 11, extracts in the primary component 11 for characterizing the common feature Code, and then the code for characterizing the common feature in the primary component 11 by extracting constitutes the primary component 11 Particular native component 12 (the particular native component 12 can regard the particular text class group in IOS mobile solution platform as Part), which is a particular native component in component set corresponding with IOS mobile solution platform;For Primary component 21 extracts in the primary component 21 for characterizing the code of common feature, and then the primary component by extracting The code for characterizing the common feature in 21 constitutes (particular native component of particular native component 22 of the primary component 21 22 can regard the particular text class component in Android mobile solution platform as), the particular native component 22 be with A particular native component in the corresponding component set of Android mobile solution platform.
Referring to fig. 4, Fig. 4 is a kind of generation method schematic diagram of particular native component provided by the embodiments of the present application.By Fig. 4 It is found that can be by the text class component (primary component) in IOS mobile solution platform and the text in Android mobile solution platform This class component (primary component) regards two primary components of target that different mobile solution platforms characterize same meaning as, and then really It makes in particular text class component (particular native component) and the Android mobile solution platform in IOS mobile solution platform Feature text class component (particular native component);By in IOS mobile solution platform button class component (primary component) and Button class component (primary component) in Android mobile solution platform regards different mobile solution platforms as and characterizes same meaning Two primary components of target, and then determine the specific button class component in IOS mobile solution platform (particular native component) With the feature button class component (particular native component) in Android mobile solution platform;By the figure in IOS mobile solution platform Picture class component (primary component) in piece class component (primary component) and Android mobile solution platform regards different movements as Application platform characterizes two primary components of target of same meaning, and then determines the particular picture in IOS mobile solution platform Feature image class component (particular native component) in class component (particular native component) and Android mobile solution platform.And And it finds not deposit in Android mobile solution platform in IOS mobile solution platform there are a primary component 4 after study In the primary component for characterizing same meaning with the primary component 4, therefore, any operation is not carried out to the primary component 4, that is, no Generate the particular native component of the primary component 4.
Fig. 5 is another component set creation method flow chart provided by the embodiments of the present application.
As shown in figure 5, this method comprises:
S501, each primary component in different mobile solution platforms is determined;
S502, it determines that different mobile solution platforms characterize the primary component of each target of same meaning, determines that each target is primary Common feature between component;
The implementation procedure of step S501-S502 provided by the embodiments of the present application and step S301- provided by the above embodiment The implementation procedure of S302 is identical, and the specific executive mode in relation to step S501-S502 refers to above-described embodiment to step The detailed description of S301-S302, it is not limited here.
S503, it is directed to the primary component of each target, extracted for characterizing the code of common feature in the primary component of the target, Generate the initial particular native component of the primary component of the target;
Optionally, it for the primary component of each target, extracts in the primary component of the target for characterizing the generation of common feature Code, the initial particular native component of the primary component of the target is made of the code extracted.For example, can will be in above-described embodiment Particular native component 12 regard the initial particular native component in IOS mobile solution platform as, by the spy in above-described embodiment Fixed primary component 22 regards the initial particular native component in Android mobile solution platform as.
S504, it is directed to each mobile solution platform, for the initial specific of the primary component of each of the mobile solution platform Primary component assigns same style information, generates the particular native component of the mobile solution platform;In different mobile solution platforms The style information that the initial particular native component of primary component is endowed is identical.
In the embodiment of the present application, first for this for initial particular native component each of determining in step S503 Beginning particular native component assigns style information, to generate the particular native component of the initial particular native component;For step It each of is determined in S503 for initial particular native component, the style information phase that each initial particular native component is endowed Together.
For example, can be to regard particular native component 12 as initial particular native component, for the initial particular native group After part assigns style information, particular native component is generated, the particular native component of the generation is one in IOS mobile solution platform A particular native component;It is regarding particular native component 22 as initial particular native component, is being assigned for the initial particular native component After giving style information, particular native component is generated, the particular native component of the generation is one in Android mobile solution platform A particular native component.Wherein, the style information assigned by particular native component 12 and particular native component 22 is identical.
In the embodiment of the present application, it is preferred that style information can be the theme color, logo etc..It is above only this Shen Please the preferred embodiment of style information that provides of embodiment, the particular content in relation to style information, inventor can be according to oneself need Any setting is asked, it is not limited here.
Further, Fig. 6 is another component set creation method flow chart provided by the embodiments of the present application.
As shown in fig. 6, this method comprises:
S601, each primary component in different mobile solution platforms is determined;
S602, it determines that different mobile solution platforms characterize the primary component of each target of same meaning, determines that each target is primary Common feature between component;
S603, it is directed to the primary component of each target, extracted for characterizing the code of common feature in the primary component of the target, Generate the particular native component of the primary component of the target;
The implementation procedure of step S601-S603 provided by the embodiments of the present application and step S301- provided by the above embodiment The implementation procedure of S303 is identical, and the specific executive mode in relation to step S601-S603 refers to above-described embodiment to step S301- The description of the implementation procedure of S303, it is not limited here.
Each particular native component in S604, determination component set corresponding with mobile solution platform;
In the embodiment of the present application, each target for a mobile solution platform, in the mobile solution platform The particular native component of primary component can regard the particular native component in the corresponding component set of the mobile solution platform as.
If being directed to a mobile solution platform, user needs to generate the general purpose module of the mobile solution platform, then needs first Determine each particular native component in the mobile solution platform.
S605, reception obtain each the selection operation of particular native component in identified each particular native component The target particular native component selected;
S606, response assign operation to the business meaning of each target particular native component, generate by each target particular native The general purpose module that component is constituted.
For a mobile solution platform, each particular native component in the mobile solution platform is determined, if It needs to generate a general purpose module in the mobile solution platform, user can be responded to particular native in the mobile solution platform The selection operation of component, obtain each particular native component being easily selected by a user (for the ease of distinguishing, will temporarily be selected by user herein The each particular native component selected is known as a target particular native component);And then it is specific to each target by response user The business meaning of primary component assigns operation, assigns business meaning for each target particular native component, can be by imparting business Each target particular native component after meaning constitutes general purpose module.
Fig. 7 is a kind of structural schematic diagram of mobile application generating means provided by the embodiments of the present application.
As shown in fig. 7, the device includes:
Mobile application generates request reception unit 71, generates request for receiving mobile application, determines the shifting that request generates It is dynamic to apply affiliated target mobile solution platform;
Target element collection searching unit 72, for being closed based on pre-set mobile solution platform and the corresponding of component set Target element collection corresponding with target mobile solution platform is searched by system;Component set includes mobile application corresponding with the component set At least one particular native component of platform, particular native component indicate in different mobile solution platforms with the particular native component Characterize the general character between each primary component of same meaning;
Target element collection display unit 73, at least one particular native component in displaying target component set;
Mobile application generation unit 74, for receiving the selection to particular native component at least one particular native component Operation, generates the view page for constituting mobile application.
In the embodiment of the present application, it is preferred that component set further includes at least one general purpose module, the common group in component set Part is in response to the selection to any one or more particular native components at least one particular native component in component set And business meaning assigns what operation generated;Target element collection display unit, specifically at least one in displaying target component set A particular native component and at least one general purpose module;Mobile application generation unit is specifically used for receiving specific at least one The selection operation of particular native component and/or general purpose module in primary component and at least one general purpose module is generated for constituting The view page of mobile application.
Further, a kind of mobile application generating means provided by the embodiments of the present application further include component set generation unit, Component set generation unit, comprising:
Primary component determination unit, for determining each primary component in different mobile solution platforms;
Common feature determination unit, for determining that different mobile solution platforms characterize primary group of each target of same meaning Part determines the common feature between the primary component of each target;
Component set generates subelement, for being directed to the primary component of each target, extracts in the primary component of the target for table The code for levying common feature, generates the particular native component of the primary component of the target;For each mobile solution platform, the movement The particular native component of each primary component of target constitutes component set corresponding with the mobile solution platform in application platform.
In the embodiment of the present application, it is preferred that component set generates subelement, comprising:
First assembly collection generates subelement, for being directed to the primary component of each target, extracts and uses in the primary component of the target In the code of characterization common feature, the initial particular native component of the primary component of the target is generated;
Second component set generates subelement, is every in the mobile solution platform for being directed to each mobile solution platform The initial particular native component of a primary component assigns same style information, generates the particular native group of the mobile solution platform Part;The style information that the initial particular native component of primary component is endowed in different mobile solution platforms is identical.
In the embodiment of the present application, it is preferred that component set generation unit further includes general purpose module generation unit, common group Part generation unit includes:
Particular native component determination unit, for determining each particular native in component set corresponding with mobile solution platform Component;
Particular native component selection unit, for receiving to the particular native component in identified each particular native component Selection operation, obtain each target particular native component selected;
General purpose module generates subelement, raw for responding the business meaning imparting operation to each target particular native component At the general purpose module being made of each target particular native component.
The application provides a kind of mobile application generation method and device, during realizing that mobile application generates, for The difference for requesting mobile solution platform belonging to the mobile application generated, provides different component set, for user in order to user The component set for being directly based upon display realizes the generation of mobile application, so that the case where not having to switching mobile solution platform Under, realize that the exploitation to mobile application (does not need to carry out opening for individual mobile application for different mobile solution platforms Hair), therefore, reduce the development cost of mobile application;Also, include in component set is mobile application corresponding with the component At least one particular native component of platform, particular native component indicate in different mobile solution platforms with the particular native component The general character between each primary component of same meaning is characterized, therefore, each of same meaning is indicated in different mobile solution platforms It is there is no difference, in this way, the same mobile application generated in different mobile solution platforms between particular native component Just there is no inconsistent situations for operation and experience.
A kind of mobile application generation method provided by the present invention and device are described in detail above, answered herein With a specific example illustrates the principle and implementation of the invention, the explanation of above example is only intended to help to manage Solve method and its core concept of the invention;At the same time, for those skilled in the art, according to the thought of the present invention, There will be changes in specific embodiment and application range, and to sum up, the content of the present specification should not be construed as to of the invention Limitation.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, phase Place is closed referring to method part illustration.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain Lid non-exclusive inclusion, so that the element that the process, method, article or equipment including a series of elements is intrinsic, It further include either the element intrinsic for these process, method, article or equipments.In the absence of more restrictions, The element limited by sentence "including a ...", it is not excluded that in the process, method, article or equipment for including element also There are other identical elements.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of mobile application generation method characterized by comprising
It receives mobile application and generates request, determine target mobile solution platform belonging to the mobile application for requesting to generate;
Corresponding relationship based on pre-set mobile solution platform and component set is searched and the target mobile solution platform pair The target element collection answered;Component set includes at least one particular native component of mobile solution platform corresponding with the component set, The particular native component indicates to characterize each primary of same meaning with the particular native component in different mobile solution platforms General character between component;
Show at least one particular native component in the target element collection;
The selection operation to particular native component at least one described particular native component is received, is generated for constituting the shifting The view page of dynamic application.
2. the method according to claim 1, wherein the component set further includes at least one general purpose module, institute State the general purpose module in component set be in response to at least one particular native component in the component set any one or The selection of multiple particular native components and business meaning assign what operation generated;
At least one particular native component in the display target element collection, comprising: show that the target element is concentrated At least one particular native component and at least one general purpose module;
The selection operation received to particular native component at least one described particular native component, generates for constituting State the view page of mobile application, comprising: receive at least one described particular native component and at least one general purpose module The selection operation of particular native component and/or general purpose module generates the view page for constituting the mobile application.
3. according to the method described in claim 2, it is characterized in that, the generation method of the component set includes:
Determine each primary component in different mobile solution platforms;
Determine that different mobile solution platforms characterize the primary component of each target of same meaning, determine each primary component of the target it Between common feature;
For each primary component of target, extract for characterizing the code of the common feature in the primary component of the target, Generate the particular native component of the primary component of the target;It is each in the mobile solution platform for each mobile solution platform The particular native component of a primary component of target constitutes component set corresponding with the mobile solution platform.
4. according to the method described in claim 3, extracting should it is characterized in that, described be directed to each primary component of target For characterizing the code of the common feature in the primary component of target, the particular native component of the primary component of the target is generated, is wrapped It includes:
For each primary component of target, extract for characterizing the code of the common feature in the primary component of the target, Generate the initial particular native component of the primary component of the target;
For each mobile solution platform, for the initial particular native group of the primary component of each of the mobile solution platform Part assigns same style information, generates the particular native component of the mobile solution platform;Primary group in different mobile solution platforms The style information that the initial particular native component of part is endowed is identical.
5. according to the method described in claim 4, it is characterized in that, the component set creation method further include:
Determine each particular native component in component set corresponding with the mobile solution platform;
The selection operation to the particular native component in identified each particular native component is received, each mesh selected is obtained Mark particular native component;
It responds and assigns operation to the business meaning of each target particular native component, generate by each target particular native group The general purpose module that part is constituted.
6. a kind of mobile application generating means characterized by comprising
Mobile application generates request reception unit, generates request for receiving mobile application, determines the mobile application that request generates Affiliated target mobile solution platform;
Target element collection searching unit is searched for the corresponding relationship based on pre-set mobile solution platform and component set Target element collection corresponding with the target mobile solution platform;Component set includes mobile solution platform corresponding with the component set At least one particular native component, the particular native component indicate in different mobile solution platforms with the particular native component Characterize the general character between each primary component of same meaning;
Target element collection display unit, for showing at least one particular native component in the target element collection;
Mobile application generation unit, for receiving the selection behaviour to particular native component at least one described particular native component Make, generates the view page for constituting the mobile application.
7. device according to claim 6, which is characterized in that the component set further includes at least one general purpose module, institute State the general purpose module in component set be in response to at least one particular native component in the component set any one or The selection of multiple particular native components and business meaning assign what operation generated;
The target element collection display unit, specifically for showing at least one particular native component in the target element collection With at least one general purpose module;
The mobile application generation unit is specifically used for receiving at least one described particular native component and at least one is general The selection operation of particular native component and/or general purpose module in component generates the view page for constituting the mobile application.
8. device according to claim 7, which is characterized in that further include component set generation unit, the component set generates Unit, comprising:
Primary component determination unit, for determining each primary component in different mobile solution platforms;
Common feature determination unit, for determining that different mobile solution platforms characterize the primary component of each target of same meaning, really Common feature between fixed each primary component of target;
Component set generates subelement, for being directed to each primary component of target, extracts in the primary component of the target for table The code for levying the common feature generates the particular native component of the primary component of the target;It is flat for each mobile application Platform, the particular native component of each primary component of target constitutes corresponding with the mobile solution platform group in the mobile solution platform Part collection.
9. device according to claim 8, which is characterized in that component set generates subelement, comprising:
First assembly collection generates subelement, for being directed to each primary component of target, extracts and uses in the primary component of the target In the code for characterizing the common feature, the initial particular native component of the primary component of the target is generated;
Second component set generates subelement, is every in the mobile solution platform for being directed to each mobile solution platform The initial particular native component of a primary component assigns same style information, generates the particular native group of the mobile solution platform Part;The style information that the initial particular native component of primary component is endowed in different mobile solution platforms is identical.
10. device according to claim 9, which is characterized in that the component set generation unit further includes that general purpose module is raw At unit, the general purpose module generation unit includes:
Particular native component determination unit, for determining each particular native in component set corresponding with the mobile solution platform Component;
Particular native component selection unit, for receiving the choosing to the particular native component in identified each particular native component Operation is selected, each target particular native component selected is obtained;
General purpose module generates subelement, raw for responding the business meaning imparting operation to each target particular native component At the general purpose module being made of each target particular native component.
CN201811149536.4A 2018-09-29 2018-09-29 Mobile application generation method and device Active CN109271148B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811149536.4A CN109271148B (en) 2018-09-29 2018-09-29 Mobile application generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811149536.4A CN109271148B (en) 2018-09-29 2018-09-29 Mobile application generation method and device

Publications (2)

Publication Number Publication Date
CN109271148A true CN109271148A (en) 2019-01-25
CN109271148B CN109271148B (en) 2022-03-01

Family

ID=65195821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811149536.4A Active CN109271148B (en) 2018-09-29 2018-09-29 Mobile application generation method and device

Country Status (1)

Country Link
CN (1) CN109271148B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090024915A1 (en) * 2007-04-27 2009-01-22 Bea Systems, Inc. Web based application constructor using objects as pages
CN102654833A (en) * 2012-02-01 2012-09-05 中兴通讯(香港)有限公司 Mobile phone application development method and system
CN104484189A (en) * 2014-12-31 2015-04-01 北京拼图科技有限公司 Construction and design method of application interface
CN104636147A (en) * 2015-03-09 2015-05-20 北京恒华伟业科技股份有限公司 Cross-platform mobile application implementation method and cross-platform mobile application implementation system
CN104714830A (en) * 2015-04-03 2015-06-17 普元信息技术股份有限公司 System and method for achieving cross-platform application development based on native development language
US20150169293A1 (en) * 2012-03-30 2015-06-18 Anypresence, Inc. Systems and methods for building and deploying mobile applications
CN105302558A (en) * 2015-11-03 2016-02-03 北京京东尚科信息技术有限公司 Content presentation system and method for multiple clients
US20160098250A1 (en) * 2014-10-03 2016-04-07 Kony, Inc. Application prototyping tool
CN106873991A (en) * 2017-01-20 2017-06-20 腾讯科技(深圳)有限公司 Page generation method and device
CN107577459A (en) * 2017-08-21 2018-01-12 杰为软件系统(深圳)有限公司 A kind of towed cross-platform development system and method based on modularization

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090024915A1 (en) * 2007-04-27 2009-01-22 Bea Systems, Inc. Web based application constructor using objects as pages
CN102654833A (en) * 2012-02-01 2012-09-05 中兴通讯(香港)有限公司 Mobile phone application development method and system
US20150169293A1 (en) * 2012-03-30 2015-06-18 Anypresence, Inc. Systems and methods for building and deploying mobile applications
US20160098250A1 (en) * 2014-10-03 2016-04-07 Kony, Inc. Application prototyping tool
CN104484189A (en) * 2014-12-31 2015-04-01 北京拼图科技有限公司 Construction and design method of application interface
CN104636147A (en) * 2015-03-09 2015-05-20 北京恒华伟业科技股份有限公司 Cross-platform mobile application implementation method and cross-platform mobile application implementation system
CN104714830A (en) * 2015-04-03 2015-06-17 普元信息技术股份有限公司 System and method for achieving cross-platform application development based on native development language
CN105302558A (en) * 2015-11-03 2016-02-03 北京京东尚科信息技术有限公司 Content presentation system and method for multiple clients
CN106873991A (en) * 2017-01-20 2017-06-20 腾讯科技(深圳)有限公司 Page generation method and device
CN107577459A (en) * 2017-08-21 2018-01-12 杰为软件系统(深圳)有限公司 A kind of towed cross-platform development system and method based on modularization

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
NG MOON HUI: "Cross-platform mobile applications for android and iOS", 《IEEE-6TH JOINT IFIP WIRELESS AND MOBILE NETWORKING CONFERENCE (WMNC)》 *
邵明鑫: "多平台移动用户界面生成方法的研究", 《计算机工程与应用》 *

Also Published As

Publication number Publication date
CN109271148B (en) 2022-03-01

Similar Documents

Publication Publication Date Title
US11079908B2 (en) Method and apparatus for adding icon to interface of android system, and mobile terminal
US20160004515A1 (en) Method for providing application development environment and device
EP3187992A1 (en) Intelligent terminal and method for displaying application icons thereof
CN103970414A (en) Application icon management method and terminal
CN105446590B (en) A kind of the application icon display methods and system of mobile terminal
CN105892896A (en) Desktop switching method and terminal
CN103648043B (en) Search control method and control device to intelligent television
CN105868226A (en) Application software intelligent classification method, terminal and server
CN110109638A (en) For the display methods of android terminal, device and android terminal
CN110928397B (en) User interface refreshing method and device, storage medium and electronic device
CN104281363B (en) A kind of method of interface operation
CN104317561A (en) Method of interface operation
CN110187953A (en) A kind of operation method and device of application program
CN104008156A (en) Information interaction method, server and terminals
CN101197867A (en) Main menu structure of mobile phone
CN109672907B (en) Material display processing method, device and equipment
CN109271148A (en) A kind of mobile application generation method and device
JP2016502214A (en) Manage tab buttons
CN102087596A (en) Embedded browsing device and multi-page mixed display method thereof
CN116069432A (en) Split screen display method and device, electronic equipment and readable storage medium
CN110737380B (en) Thinking guide graph display method and device, storage medium and electronic equipment
US10671449B2 (en) Methods and apparatuses for setting application property and message processing
CN104281364B (en) A kind of terminal
CN103917944B (en) The system and method for dynamic more new equipment Chinese part folder content
CN105468314B (en) A kind of information processing method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant