CN109960491A - Application program generation method, generating means, electronic equipment and storage medium - Google Patents

Application program generation method, generating means, electronic equipment and storage medium Download PDF

Info

Publication number
CN109960491A
CN109960491A CN201711432672.XA CN201711432672A CN109960491A CN 109960491 A CN109960491 A CN 109960491A CN 201711432672 A CN201711432672 A CN 201711432672A CN 109960491 A CN109960491 A CN 109960491A
Authority
CN
China
Prior art keywords
application
application page
application program
page
component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711432672.XA
Other languages
Chinese (zh)
Inventor
苗佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jin Bo Xunrui Network Technology Co Ltd
Beijing Jinxun Ruibo Network Technology Co Ltd
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Original Assignee
Beijing Jin Bo Xunrui Network Technology Co Ltd
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jin Bo Xunrui Network Technology Co Ltd, Beijing Kingsoft Cloud Network Technology Co Ltd, Beijing Kingsoft Cloud Technology Co Ltd filed Critical Beijing Jin Bo Xunrui Network Technology Co Ltd
Priority to CN201711432672.XA priority Critical patent/CN109960491A/en
Publication of CN109960491A publication Critical patent/CN109960491A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/22Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • 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/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a kind of application program generation method, generating means, electronic equipment and storage mediums, wherein method includes: in description components code library, the each application page in multiple application pages for including for application program to be generated, based on the component that the application page includes, the component code unit of component included by the application page is searched;For each application page, it will be combined for the component code unit that the application page is found, obtain the code unit group for generating the application page;By code unit group corresponding to each application page in multiple application pages, it is associated according to the logic that jumps between multiple application pages;Multiple code unit groups after association are encapsulated as application program installation kit.The embodiment of the present invention does not need to carry out written in code to the component of each application page, reduces the time expended because writing component code, to improve the efficiency of the exploitation of intelligent terminal application program.

Description

Application program generation method, generating means, electronic equipment and storage medium
Technical field
The present invention relates to technical field of software development, more particularly to a kind of application program generation method, generating means, electricity Sub- equipment and storage medium.
Background technique
Intelligent terminal is a kind of with the end accessed the Internet capability, can need to install a variety of application programs according to user The mobile electronic equipments such as end equipment, such as smart phone, tablet computer, smartwatch.With the popularization of intelligent terminals, for The type and quantity for the application program that intelligent terminal is developed become more and more abundant.
The application program generation method of existing intelligent terminal, application program are usually to be write in local computer.So And several application pages are usually contained when an intelligent terminal application program operation, and comprising several in each application page Component, if carrying out code one by one to various components, each application page of intelligent terminal application program by local computer It writes, it will the consumption plenty of time, cause the development efficiency of intelligent terminal application program low.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of application program generation method, generating means, electronic equipment and deposits Storage media, to improve the purpose of the development efficiency of intelligent terminal application program.Specific technical solution is as follows:
In a first aspect, the embodiment of the invention provides a kind of intelligent terminal application program generation methods, comprising:
In description components code library, each applications pages in multiple application pages for including for application program to be generated Face the component code unit of component included by the application page is searched based on the component that the application page includes;
For each application page, it will be combined, obtain for the component code unit that the application page is found To the code unit group for generating the application page;
By code unit group corresponding to each application page in the multiple application page, according to the multiple application The logic that jumps between the page is associated;
Multiple code unit groups after association are encapsulated as application program installation kit.
Optionally, the component code unit that is directed to each application page, will be found for the application page It is combined, obtains the code unit group for generating the application page, comprising:
Each component code unit that the application page that operation interface of the acquisition based on displaying is inputted includes is in the application Position in the page;
For each application page, the component code unit that will be found for the application page, according to the application Position of each component that the page includes in the application page is combined, and obtains the code unit for generating the application page Group.
Optionally, code unit group corresponding to each application page by the multiple application page, according to Jumping between the multiple application page be before logic is associated, the method also includes:
It obtains and jumps logic between the multiple application page that the operation interface based on displaying is inputted.
Optionally, described in description components code library, in the multiple application pages for including for application program to be generated Each application page the component code list of component included by the application page is searched based on the component that the application page includes Before member, the method also includes:
Determine multiple application pages that the selected application program to be generated of operation interface based on displaying includes, and every Component included by a application page.
Optionally, it is described after multiple code unit groups by after association are encapsulated as application program installation kit Method further include:
The application program installation kit is sent to intelligent terminal.
Optionally, it is described after multiple code unit groups by after association are encapsulated as application program installation kit Method further include:
It generates comprising the xml formatted file for jumping logic between each application page.
Optionally, described to generate comprising after the xml formatted file for jumping logic between each application page, the method is also Include:
The application page and the xml formatted file are sent to intelligent terminal.
Second aspect, the embodiment of the invention provides a kind of intelligent terminal application program generating means, comprising:
Searching module, multiple application pages for including for application program to be generated in description components code library In each application page the component code of component included by the application page is searched based on the component that the application page includes Unit;
Composite module will be directed to the component code list that the application page is found for being directed to each application page Member is combined, and obtains the code unit group for generating the application page;
Relating module, for pressing code unit group corresponding to each application page in the multiple application page It is associated according to the logic that jumps between the multiple application page;
Package module, for multiple code unit groups after association to be encapsulated as application program installation kit.
Optionally, the application program generating means further include:
First obtains module, each component for including for obtaining the application page that the operation interface based on displaying is inputted Position of the code unit in the application page;
The composite module, is specifically used for:
For each application page, the component code unit that will be found for the application page, according to the application Position of each component that the page includes in the application page is combined, and obtains the code unit for generating the application page Group.
Optionally, the application program generating means further include:
Second obtains module, for obtaining between the multiple application page that the operation interface based on displaying is inputted Jump logic.
Optionally, the application program generating means further include:
Determining module, for determining that the selected application program to be generated of operation interface based on displaying included multiple answers The component included by the page and each application page.
Optionally, the application program generating means further include:
First sending module, for the application program installation kit to be sent to intelligent terminal.
Optionally, the application program generating means further include:
Generation module, for generating comprising the xml formatted file for jumping logic between each application page.
Optionally, the application program generating means further include:
Second sending module, for the application page and the xml formatted file to be sent to intelligent terminal.
The third aspect, the embodiment of the invention provides a kind of server, including processor, communication interface, memory and logical Believe bus, wherein the processor, the communication interface, the memory complete mutual lead to by the communication bus Letter;
Machine readable storage medium is stored with the machine-executable instruction that can be executed by processor, and processor can by machine It executes instruction and promotes: realizing the application program generation method step that above-mentioned first aspect provides.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Dielectric memory contains computer program, when the computer program is executed by processor, realizes answering for above-mentioned first aspect offer With program creating method step.
5th aspect, the embodiment of the invention also provides a kind of computer program products comprising instruction, when it is being calculated When being run on machine, so that computer executes the application program generation method step that above-mentioned first aspect provides.
6th aspect, the embodiment of the invention also provides a kind of computer programs, when run on a computer, so that Computer executes the application program generation method step that above-mentioned first aspect provides.
A kind of application program generation method, generating means, electronic equipment and storage medium provided in an embodiment of the present invention, When generating application program, by directly searching the included group of each application page of application program to be generated in description components code library The component code unit of part does not need to carry out written in code to the component of each application page, to reduce because writing component generation Code and expend time;It is combined by the component code unit that will be found, obtains the code for generating application page Unit group does not need to carry out written in code to each application page, the time expended because writing application page is reduced, to mention The efficiency of the exploitation of very intelligent terminal application program.Certainly, it implements any of the products of the present invention or method must be not necessarily required to together When reach all the above advantage.
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 Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of application program generation method provided in an embodiment of the present invention;
Fig. 2 is to add the schematic diagram of component code unit in application program generation method provided in an embodiment of the present invention;
Fig. 3 is to edit in application program generation method provided in an embodiment of the present invention to component code cell attribute Schematic diagram;
Fig. 4 is another flow diagram of application program generation method provided in an embodiment of the present invention;
Fig. 5 is another flow diagram of application program generation method provided in an embodiment of the present invention;
Fig. 6 is the timing diagram of application program generating process in application program generation method provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of application program generating means provided in an embodiment of the present invention;
Fig. 8 is another structural schematic diagram of application program generating means provided in an embodiment of the present invention;
Fig. 9 is the yet another construction schematic diagram of application program generating means provided in an embodiment of the present invention;
Figure 10 is the structural schematic diagram of server provided in an embodiment of the present invention.
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.
As shown in Figure 1, can be applied to server the embodiment of the invention provides a kind of application program generation method, when So it also can be applied to the other kinds of equipment with data processing operation function, which may comprise steps of:
S101, in description components code library, each of multiple application pages for including for application program to be generated Application page searches the component code unit of component included by the application page based on the component that the application page includes.
Application program would generally show multiple operation interfaces at runtime, these operation interfaces can correspond to this using journey Multiple application pages of sequence.It wherein, include different components in application page, different components can be in these application pages To realize the different function of application program.By taking wechat application program as an example, it is somebody's turn to do in intelligent terminal operation in application, leading in screen Can often show " wechat ", " address list ", " it was found that " and " I " this four operation interfaces, that is, correspond to four application pages.
It wherein, include the chat content of nearest contact person in application page corresponding to " wechat " operation interface;" communication It include different contact persons in application page corresponding to record " operation interface;" it was found that " application page corresponding to operation interface In include the buttons such as " circle of friends ", " sweep and sweep ";Include personal information, setting in application page corresponding to " I " operation interface Equal buttons.
From the above, it can be seen that the button for including in above-mentioned each application page can be to realize that the application program is a certain specific Function, such as " sweep and sweep " button of wechat application program, after clicking the button, i.e., openable camera scans bar code Or two dimensional code.The above-mentioned button to realize a certain function, component is embodied object in a typically application page.
For existing application development approach in development and application program, said modules are usually when developing a certain application program Joint development, that is to say, that when generating a certain application program, multiple application pages that application program to be generated includes, with And the component that each application page includes is also required to carry out written in code, also needs constantly to be debugged after writing, causes to apply The program development period is elongated.
In the embodiment of the present invention, when generating a certain application program, it may not be necessary to the component for including to each application page Written in code is carried out, but is searched in each application page included by application program to be generated in preset component code library, The component code unit of component included by each application page.That is, various components are stored in the form of code unit In description components code library, when needing using these components, saved component code need to be only searched in description components library Unit.
Specifically, a large amount of component code unit, and these component generations can be pre-saved in description components code library Code unit need to by stringent compatibility test, with guarantee each component in different performance, different configuration of intelligent terminal, equal energy It is enough to work normally.
Optionally, component code unit can using HTML 5 (HyperText Markup Language 5.0, it is super literary 5.0 version of this markup language) language format or JavaScript language format (a kind of scripting language) write.
Illustratively, a certain chat application is generated if necessary, can first determine that the application program to be generated includes Several application pages, such as chat content application page, address list application page, setting options application page, then, then determine Which component is needed in each application page.For example, if needing text display component in chat content application page, it can be pre- If the component code unit in component code library, directly in lookup description components code library.
It should be noted that the above-mentioned specific example to application page and component, not to being applied in the embodiment of the present invention The specific restriction of the page and component, those skilled in the art can different application pages and component determine according to actual needs.
As a kind of optional embodiment of the embodiment of the present invention, when generating application program, journey is applied for be generated Multiple application pages included by sequence can first generate multiple visual blank application pages, in description components code library After the component code unit of component needed for finding each application page, these component code units directly can be towed into blank In application page, to improve the search efficiency to component in each application page.
It specifically, is the method schematic diagram that component code unit is added in the embodiment of the present invention with reference to Fig. 2, Fig. 2.Wherein, Multiple component code units on the right side of in figure to be capable of providing in the visualization interface of description components code library, comprising: input group Part code unit, single choice/final election component code unit, selection component code unit, button assembly code unit, list element generation Code unit, particular components code unit, other assemblies code unit, these component code units are shown in visual form Come, application developer can be made visually to identify these component code units;Left side is the visualization of blank application page in figure Interface, wherein containing the visualization interface of text box component code unit, which is used for Input text;The visualization interface of select button component, the component code unit component generated is for selecting a certain project; It takes pictures the visualization interface of component, the component code unit component generated is for taking pictures, the visualization of hyperlink component Interface, the component code unit component generated is for jumping to the other application page or component.
Fig. 3 is the schematic diagram edited to component code cell attribute in the embodiment of the present invention.With reference to Fig. 3, when at this After adding component code unit in application page, the specific object of the component code unit can also be edited, for example, right Radio button display name in figure is modified, and is modified to the description of the component code unit, to the component code unit Value the operation such as modify.After the completion of modification, clicking save button can be reserved for setting, and clicking cancel button can not save Setting.
It, can also be in description components code library in advance to each as another optional embodiment of the embodiment of the present invention Component code unit is according to different function classifications, for example, showing respectively according to text, voice plays, image is shown, function is jumped Turn that different function is waited to classify description components code library, to improve the effect in description components code library lookup component code unit Rate.
S102 will be combined for the component code unit that the application page is found, obtain for each application page To the code unit group for generating the application page.
In the embodiment of the present invention, in order to generate the application page of the application program, each applications pages that can will be found The component code unit of component included by face is combined, to obtain the code unit group for generating the application page.
In the application page of one application program, each component usually has specific position, such as text input component leads to It is frequently located in the top or bottom position of an application page, list element is usually located at the leftward position of an application page.
As a kind of optional embodiment of the embodiment of the present invention, can be answered based on each component in an application page at this It is combined with the position of the page, to make the code unit group rational deployment after combination in application page.
Illustratively, with reference to Fig. 2, when finding in application page A comprising component code unit a, component code unit b and When component code unit c, wherein the correspondence component of component code unit a is text input component, positioned at the top of application page Position, the corresponding component of component code unit b is hyperlink component, positioned at the bottom position of application page, component code list The corresponding component of first c is component of taking pictures, positioned at the medium position of application page, can by above three component code unit according to The position of corresponding component is combined, to obtain code unit group.
S103, by code unit group corresponding to each application page in multiple application pages, according to multiple applications pages The logic that jumps between face is associated.
It is readily appreciated that, in an application program, can be jumped between each application page, show exist between them Jump relationship.For example, after user clicks a certain button in the displaying interface corresponding to the application page A of an application program, Displaying interface corresponding to application page B can be jumped to.Specifically, illustrate by taking wechat as an example, user applies at " address list " Some contact person is clicked in displaying interface corresponding to the page, then application program can jump to corresponding to " wechat " application page Show the chat interface of the contact person in interface.
Under normal conditions, jumping movement and can be triggered by a certain specific components between above-mentioned application page is such as shown above In example, the multiple contact persons arranged in displaying interface corresponding to " address list " application page, these contact persons can actually be regarded Applications pages can be realized after some hyperlink component is triggered because user clicks for multiple and different hyperlink components Jumping between face.
In the embodiment of the present invention, after the code unit group for generating multiple application pages, can by code unit group according to The logic that jumps between multiple application pages is associated, each so as to realize after code unit group generates application page Application page jumps.
Multiple code unit groups after association are encapsulated as application program installation kit by S104.
In the embodiment of the present invention, after each code unit group is associated, jumping between each application page may be implemented, into And by the way that above-mentioned multiple code unit groups are encapsulated as application program installation kit, it can be installed and used for intelligent terminal.
A kind of application program generation method provided in an embodiment of the present invention, when generating application program, by preset group The component code unit that the included component of each application page of application program to be generated is directly searched in part code library, does not need to each The component of application page carries out written in code, to reduce the time expended because writing component code;By that will find Component code unit be combined, obtain not needing for the code unit group for generating application page to each application page Written in code is carried out, the time expended because writing application page is reduced, thus improve the exploitation of intelligent terminal application program Efficiency.
As shown in figure 4, can be applied to server the embodiment of the invention also provides a kind of application program generation method, It can certainly be applied to the other kinds of equipment with data processing operation function, comprising the following steps:
S201 determines multiple application pages that the selected application program to be generated of operation interface based on displaying includes, And component included by each application page.
Application program at runtime, can show multiple operation interfaces, content shown by these operation interfaces to user Can be different, to show different information to user.Application developer can be selected to be generated based on the operation interface of displaying At multiple application pages included by application program.
For example, when developing a application program, if it is desired to user communication record is shown in the first operation interface, Chat content is shown in two operation interfaces, the setting options of application program is shown in third operation interface, then program development people The operation interface that member can show according to above-mentioned hope selects three application pages, and the group that respectively application page is included Part, after selection, server determines component included by selected application page and respective application page.
S202, in description components code library, each of multiple application pages for including for application program to be generated Application page searches the component code unit of component included by the application page based on the component that the application page includes.
Application program would generally show multiple operation interfaces at runtime, these operation interfaces can correspond to this using journey Multiple application pages of sequence.It wherein, include different components in application page, different components can be in these application pages To realize the different function of application program.
For existing application development approach in development and application program, said modules are usually when developing a certain application program Joint development, that is to say, that when generating a certain application program, multiple application pages that application program to be generated includes, with And the component that each application page includes is also required to carry out written in code, also needs constantly to be debugged after writing, causes to apply The program development period is elongated.
In the embodiment of the present invention, when generating a certain application program, it may not be necessary to the component for including to each application page Written in code is carried out, but is searched in each application page included by application program to be generated in preset component code library, The component code unit of component included by each application page.That is, various components are stored in the form of code unit In description components code library, when needing using these components, saved component code need to be only searched in description components library Unit.
S203, each component code unit that the application page that operation interface of the acquisition based on displaying is inputted includes is at this Position in application page.
As it was noted above, application program is at runtime, multiple operation interfaces can be shown to user, and operation circle shown In face, may include the components such as different buttons, single choice/checks options, input frame, these components can in application page Component code unit is corresponding.Application developer can be inputted each component code unit and be existed based on the operation interface for wishing to show Position in respective application page, thus the clearly position of the component in the operation interface.
For example, each component code unit that the application page inputted includes, the position in the application page can be One coordinate value, the coordinate value is for showing the component code unit in the application page present position.When clear component code Unit is behind the position in respective application page, the coordinate value of available above-mentioned the inputted component code unit of server, That is position.
S204 will be combined for the component code unit that the application page is found, obtain for each application page To the code unit group for generating the application page.
The step can be identical as the step S102 in the embodiment of the present invention one, and details are not described herein.
S205 is obtained and is jumped logic between multiple application pages that the operation interface based on displaying is inputted.
As it was noted above, application program is at runtime, multiple operation interfaces, each operation shown can be shown to user It can be jumped between interface.In development and application program, application developer can be defeated based on the operation interface for wishing to show Enter and jump logic between multiple application pages, so that clearly each operation interface jumps relationship.
For example, what is inputted jumps logic and can have recorded jumping between each application page in the list for column hops table Relationship, server is available above-mentioned to jump list.
S206, by code unit group corresponding to each application page in multiple application pages, according to multiple applications pages The logic that jumps between face is associated.
The step can be identical as the step S103 in the embodiment of the present invention one, and details are not described herein.
Multiple code unit groups after association are encapsulated as application program installation kit by S207.
The step can be identical as the step S104 in the embodiment of the present invention one, and details are not described herein.
As a kind of optional embodiment of the embodiment of the present invention, above-mentioned application program installation kit can be sent out by network It send to intelligent terminal;Or store the application program installation kit to server, it is downloaded and is used by intelligent terminal.
A kind of application program generation method provided in an embodiment of the present invention, server can determine by application developer's base In the selected application program to be generated of operation interface of displaying, included multiple application pages and each application page institute Including component;It can also obtain, in the application page inputted by application developer based on the operation interface of displaying, institute Including position of each component code unit in the application page;It can also obtain, by application developer based on displaying Logic is jumped between multiple application pages that operation interface is inputted, so as to according to the true meaning of application developer Figure, between the multiple application pages, the component in each application page, module position and each application page that determine application program to be developed Jump logic, human-computer interaction is realized in program development process.
As shown in figure 5, the embodiment of the invention also discloses a kind of application program generation method, which may include following Step:
S301, in description components code library, each of multiple application pages for including for application program to be generated Application page searches the component code unit of component included by the application page based on the component that the application page includes.
Application program would generally show multiple operation interfaces at runtime, these operation interfaces can correspond to this using journey Multiple application pages of sequence.It wherein, include different components in application page, different components can be in these application pages To realize the different function of application program.
For existing application development approach in development and application program, said modules are usually when developing a certain application program Joint development, that is to say, that when generating a certain application program, multiple application pages that application program to be generated includes, with And the component that each application page includes is also required to carry out written in code, also needs constantly to be debugged after writing, causes to apply The program development period is elongated.
In the embodiment of the present invention, when generating a certain application program, it may not be necessary to the component for including to each application page Written in code is carried out, but is searched in each application page included by application program to be generated in preset component code library, The component code unit of component included by each application page.That is, various components are stored in the form of code unit In description components code library, when needing using these components, saved component code need to be only searched in description components library Unit.
S302 will be combined for the component code unit that the application page is found, obtain for each application page To the code unit group for generating the application page.
The step can be identical as the step S102 in the embodiment of the present invention one, and details are not described herein.
S303, by code unit group corresponding to each application page in multiple application pages, according to multiple applications pages The logic that jumps between face is associated.
The step can be identical as the step S103 in the embodiment of the present invention one, and details are not described herein.
Multiple code unit groups after association are encapsulated as application program installation kit by S304.
The step can be identical as the step S104 in the embodiment of the present invention one, and details are not described herein.
S305 is generated comprising the xml formatted file for jumping logic between each application page.
In the embodiment of the present invention, a base application can be installed in an intelligent terminal, in the base application Full browser kernel comprising supporting HTML5 language, the base application can be obtained by mobile phone from server end downloading. Browser kernel can be obtained based on Google's browser kernel of open source.Application page is installed in server end and generates program, The each application page and each application page that application program to be generated can be generated jump logic, this jumps logic and can save For xml (eXtensible Markup Language, extensible markup language) formatted file.
Application page and xml formatted file are sent to intelligent terminal by S306.
Above-mentioned application page and xml formatted file can be sent to intelligent terminal by server end, and intelligent terminal can lead to The webpage format file is downloaded and loaded to the browser or included browser for crossing institute's installation foundation application program, can be Multiple application pages of application program are generated in browser, and jump the xml formatted file of logic by load, and realization is browsing Each application page in device jumps.
Application program generation method provided in an embodiment of the present invention, can will be comprising application page and xml formatted file Webpage format file is sent to intelligent terminal, and it is multiple application pages that intelligent terminal, which is based on browser load webpage format file, It does not need to download application program installation kit generated, the flow consumption of downloading complete routine installation kit can be reduced.
Fig. 6 is the timing diagram of application program generating process in application program generation method provided in an embodiment of the present invention, figure In, it may include an application page edit tool in the generation program that server end, which is equipped with application program and generates program, use In generating different application pages, it can also include one and jump logical edit tool, for generating jumping for each application page Logic.
It realizes that process can be with are as follows: server end generates the generation project of application program, according to selected component code Unit tows to these component code units in different application pages, then by jumping logical edit tool editor and life Logic is jumped between each application page, to generate application program;Intelligent terminal is downloaded from server and uses this using journey Sequence.
As it can be seen that in above-mentioned application program generation method, the generation of logic is jumped between the generation of application page, application page, It is all to be completed in server end.Intelligent terminal can directly download and allow generated application program installation kit, improve The development efficiency of application program.
Corresponding to above method embodiment, embodiment that the embodiment of the present invention also provides corresponding devices.
As shown in fig. 7, the embodiment of the invention provides a kind of application program generating means, comprising:
Searching module 401, multiple applications pages for including for application program to be generated in description components code library Each application page in face searches the component generation of component included by the application page based on the component that the application page includes Code unit.
Composite module 402 will be directed to the component code unit that the application page is found for being directed to each application page It is combined, obtains the code unit group for generating the application page.
Relating module 403, for by code unit group corresponding to each application page in multiple application pages, according to The logic that jumps between multiple application pages is associated.
Package module 404, for multiple code unit groups after association to be encapsulated as application program installation kit.
Wherein, composite module 402 are specifically used for:
For each application page, the component code unit that will be found for the application page, according to the application page Including position of each component in the application page be combined, obtain the code unit group for generating the application page.
A kind of application program generating means provided in an embodiment of the present invention, when generating application program, by preset group The component code unit that the included component of each application page of application program to be generated is directly searched in part code library, does not need to each The component of application page carries out written in code, to reduce the time expended because writing component code;By that will find Component code unit be combined, obtain not needing for the code unit group for generating application page to each application page Written in code is carried out, the time expended because writing application page is reduced, thus improve the exploitation of intelligent terminal application program Efficiency.
As shown in figure 8, the embodiment of the invention also provides a kind of application program generating means, comprising:
Searching module 401, multiple applications pages for including for application program to be generated in description components code library Each application page in face searches the component generation of component included by the application page based on the component that the application page includes Code unit.
Composite module 402 will be directed to the component code unit that the application page is found for being directed to each application page It is combined, obtains the code unit group for generating the application page.
Relating module 403, for by code unit group corresponding to each application page in multiple application pages, according to The logic that jumps between multiple application pages is associated.
Package module 404, for multiple code unit groups after association to be encapsulated as application program installation kit.
First obtains module 501, each for obtain that the application page that the operation interface based on displaying is inputted includes Position of the component code unit in the application page.
Second obtains module 502, for obtaining between multiple application pages that the operation interface based on displaying is inputted Jump logic.
Determining module 503, for determine the selected application program to be generated of operation interface based on displaying include it is more Component included by a application page and each application page.
First sending module 504, for application program installation kit to be sent to intelligent terminal.
A kind of application program generating means provided in an embodiment of the present invention can determine and be based on showing by application developer The selected application program to be generated of operation interface in, included by included multiple application pages and each application page Component;It can also obtain, it is included in the application page inputted by application developer based on the operation interface of displaying Position of each component code unit in the application page;It can also obtain, operation circle by application developer based on displaying Logic is jumped between multiple application pages that face is inputted, so as to determine according to the true intention of application developer Jumping between multiple application pages of application program to be developed, the component in each application page, module position and each application page Logic realizes human-computer interaction in program development process.
As shown in figure 9, the embodiment of the invention also provides a kind of application program generating means, comprising:
Searching module 401, multiple applications pages for including for application program to be generated in description components code library Each application page in face searches the component generation of component included by the application page based on the component that the application page includes Code unit.
Composite module 402 will be directed to the component code unit that the application page is found for being directed to each application page It is combined, obtains the code unit group for generating the application page.
Relating module 403, for by code unit group corresponding to each application page in multiple application pages, according to The logic that jumps between multiple application pages is associated.
Package module 404, for multiple code unit groups after association to be encapsulated as application program installation kit.
Generation module 601, for generating comprising the xml formatted file for jumping logic between each application page.
Second sending module 602, for application page and xml formatted file to be sent to intelligent terminal.
Application program generating means provided in an embodiment of the present invention, can will be comprising application page and xml formatted file Webpage format file is sent to intelligent terminal, and it is multiple application pages that intelligent terminal, which is based on browser load webpage format file, It does not need to download application program installation kit generated, the flow consumption of downloading complete routine installation kit can be reduced.
The embodiment of the invention also provides a kind of servers, and as shown in Figure 10, which includes 701 He of processor Machine readable storage medium 702, machine readable storage medium are stored with the machine-executable instruction that can be executed by processor, place Reason device is promoted to perform the steps of by machine-executable instruction
In description components code library, each applications pages in multiple application pages for including for application program to be generated Face the component code unit of component included by the application page is searched based on the component that the application page includes;
For each application page, it will be combined, used for the component code unit that the application page is found In the code unit group for generating the application page;
By code unit group corresponding to each application page in multiple application pages, according between multiple application pages The logic that jumps be associated;
Multiple code unit groups after association are encapsulated as application program installation kit.
Machine readable storage medium 702 may include random access memory (Random Access Memory, abbreviation It RAM), also may include nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.It can Choosing, memory can also be that at least one is located remotely from the storage device of aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, Abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), field programmable gate array (Field-Programmable Gate Array, Abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.
Server provided in an embodiment of the present invention, when generating application program, by direct in description components code library The component code unit for searching the included component of each application page of application program to be generated, does not need the component to each application page Written in code is carried out, to reduce the time expended because writing component code;Pass through the component code unit that will be found It is combined, obtains the code unit group for generating application page, do not need to carry out written in code to each application page, subtract Few time expended because writing application page, to improve the efficiency of the exploitation of intelligent terminal application program.
The embodiment of the invention also provides a kind of computer readable storage medium, it is stored in computer readable storage medium Computer program, when computer program is executed by processor, to execute following steps:
In description components code library, each applications pages in multiple application pages for including for application program to be generated Face the component code unit of component included by the application page is searched based on the component that the application page includes;
For each application page, it will be combined, used for the component code unit that the application page is found In the code unit group for generating the application page;
By code unit group corresponding to each application page in multiple application pages, according between multiple application pages The logic that jumps be associated;
Multiple code unit groups after association are encapsulated as application program installation kit.
A kind of computer readable storage medium provided in an embodiment of the present invention, when generating application program, by default The component code unit that the included component of each application page of application program to be generated is directly searched in component code library, does not need pair The component of each application page carries out written in code, to reduce the time expended because writing component code;By that will search To component code unit be combined, obtain not needing for the code unit group for generating application page to each applications pages Face carries out written in code, the time expended because writing application page is reduced, to improve the exploitation of intelligent terminal application program Efficiency.
The embodiment of the invention also provides a kind of computer program products comprising instruction, when it runs on computers When, so that computer executes following steps:
In description components code library, each applications pages in multiple application pages for including for application program to be generated Face the component code unit of component included by the application page is searched based on the component that the application page includes;
For each application page, it will be combined, used for the component code unit that the application page is found In the code unit group for generating the application page;
By code unit group corresponding to each application page in multiple application pages, according between multiple application pages The logic that jumps be associated;
Multiple code unit groups after association are encapsulated as application program installation kit.
A kind of computer program product comprising instruction provided in an embodiment of the present invention passes through when generating application program The component code unit of the included component of each application page of application program to be generated is directly searched in description components code library, no It needs to carry out written in code to the component of each application page, to reduce the time expended because writing component code;Pass through The component code unit found is combined, obtains not needing for the code unit group for generating application page to each Application page carries out written in code, the time expended because writing application page is reduced, to improve intelligent terminal application program Exploitation efficiency.
The embodiment of the invention also provides a kind of computer programs, when run on a computer, so that computer is held Row following steps:
In description components code library, each applications pages in multiple application pages for including for application program to be generated Face the component code unit of component included by the application page is searched based on the component that the application page includes;
For each application page, it will be combined, used for the component code unit that the application page is found In the code unit group for generating the application page;
By code unit group corresponding to each application page in multiple application pages, according between multiple application pages The logic that jumps be associated;
Multiple code unit groups after association are encapsulated as application program installation kit.
A kind of computer program provided in an embodiment of the present invention, when generating application program, by description components code The component code unit that the included component of each application page of application program to be generated is directly searched in library, does not need to each applications pages The component in face carries out written in code, to reduce the time expended because writing component code;Pass through the component that will be found Code unit is combined, and obtains the code unit group for generating application page, does not need to carry out generation to each application page Code is write, and the time expended because writing application page is reduced, to improve the efficiency of the exploitation of intelligent terminal application program.
For device/server/computer readable storage medium storing program for executing embodiment, implement since it is substantially similar to method Example, so being described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (16)

1. a kind of application program generation method, which is characterized in that the described method includes:
In description components code library, each application page in multiple application pages for including for application program to be generated, Based on the component that the application page includes, the component code unit of component included by the application page is searched;
For each application page, it will be combined, used for the component code unit that the application page is found In the code unit group for generating the application page;
By code unit group corresponding to each application page in the multiple application page, according to the multiple application page Between the logic that jumps be associated;
Multiple code unit groups after association are encapsulated as application program installation kit.
2. application program generation method according to claim 1, which is characterized in that described to be directed to each applications pages Face will be combined for the component code unit that the application page is found, obtain the code for generating the application page Unit group, comprising:
Each component code unit that the application page that operation interface of the acquisition based on displaying is inputted includes is in the application page In position;
For each application page, the component code unit that will be found for the application page, according to the application page Including position of each component in the application page be combined, obtain the code unit group for generating the application page.
3. application program generation method according to claim 1, which is characterized in that it is described will be in the multiple application page Each application page corresponding to code unit group, be associated it according to the logic that jumps between the multiple application page Before, the method also includes:
It obtains and jumps logic between the multiple application page that the operation interface based on displaying is inputted.
4. application program generation method according to claim 1, which is characterized in that it is described in description components code library, The each application page in multiple application pages for including for application program to be generated, the group for including based on the application page Part, before the component code unit for searching component included by the application page, the method also includes:
It determines multiple application pages that the selected application program to be generated of operation interface based on displaying includes, and each answers The component included by the page.
5. application program generation method according to claim 1, which is characterized in that multiple generations by after association Code unit group is encapsulated as after application program installation kit, the method also includes:
The application program installation kit is sent to intelligent terminal.
6. application program generation method according to claim 1, which is characterized in that multiple generations by after association Code unit group is encapsulated as after application program installation kit, the method also includes:
It generates comprising the xml formatted file for jumping logic between each application page.
7. application program generation method according to claim 6, which is characterized in that described to generate comprising between each application page The xml formatted file for jumping logic after, the method also includes:
The application page and the xml formatted file are sent to intelligent terminal.
8. a kind of application program generating means, which is characterized in that described device includes:
Searching module is used in description components code library, in the multiple application pages for including for application program to be generated Each application page searches the component code unit of component included by the application page based on the component that the application page includes;
Composite module, for being directed to each application page, by the component code unit found for the application page into Row combination, obtains the code unit group for generating the application page;
Relating module, for by code unit group corresponding to each application page in the multiple application page, according to institute The logic that jumps stated between multiple application pages is associated;
Package module, for multiple code unit groups after association to be encapsulated as application program installation kit.
9. application program generating means according to claim 8, which is characterized in that the application program generating means are also wrapped It includes:
First obtains module, each component code for including for obtaining the application page that the operation interface based on displaying is inputted Position of the unit in the application page;
The composite module, is specifically used for:
For each application page, the component code unit that will be found for the application page, according to the application page Including position of each component in the application page be combined, obtain the code unit group for generating the application page.
10. application program generating means according to claim 8, which is characterized in that the application program generating means are also Include:
Second obtains module, for obtaining jumping between the multiple application page that the operation interface based on displaying is inputted Logic.
11. application program generating means according to claim 8, which is characterized in that the application program generating means are also Include:
Determining module, the multiple applications pages for including for determining the selected application program to be generated of operation interface based on displaying Component included by face and each application page.
12. application program generating means according to claim 8, which is characterized in that the application program generating means are also Include:
First sending module, for the application program installation kit to be sent to intelligent terminal.
13. application program generating means according to claim 8, which is characterized in that the application program generating means are also Include:
Generation module, for generating comprising the xml formatted file for jumping logic between each application page.
14. application program generating means according to claim 13, which is characterized in that the application program generating means are also Include:
Second sending module, for the application page and the xml formatted file to be sent to intelligent terminal.
15. a kind of electronic equipment, which is characterized in that including processor and machine readable storage medium, the machine readable storage Media storage has the machine-executable instruction that can be executed by the processor, and the processor is by the machine-executable instruction Promote: realizing the described in any item method and steps of claim 1 to 7.
16. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program realizes claim 1 to 7 described in any item method and steps when the computer program is executed by processor.
CN201711432672.XA 2017-12-26 2017-12-26 Application program generation method, generating means, electronic equipment and storage medium Pending CN109960491A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711432672.XA CN109960491A (en) 2017-12-26 2017-12-26 Application program generation method, generating means, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711432672.XA CN109960491A (en) 2017-12-26 2017-12-26 Application program generation method, generating means, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109960491A true CN109960491A (en) 2019-07-02

Family

ID=67022064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711432672.XA Pending CN109960491A (en) 2017-12-26 2017-12-26 Application program generation method, generating means, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109960491A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045653A (en) * 2019-12-16 2020-04-21 京东数字科技控股有限公司 System generation method and device, computer readable medium and electronic equipment
CN112035117A (en) * 2020-08-27 2020-12-04 北京三快在线科技有限公司 Page display system, method and device
CN112114804A (en) * 2020-08-26 2020-12-22 长沙市到家悠享网络科技有限公司 Application program generation method, device and system
CN112230910A (en) * 2019-07-15 2021-01-15 腾讯科技(深圳)有限公司 Page generation method, device, equipment and storage medium of embedded program
WO2021008295A1 (en) * 2019-07-15 2021-01-21 腾讯科技(深圳)有限公司 Mini-program production method and apparatus, and terminal and storage medium
CN112631566A (en) * 2020-12-28 2021-04-09 航天信息股份有限公司 Code generation method and device, storage medium and electronic equipment
CN112631494A (en) * 2020-12-31 2021-04-09 中国农业银行股份有限公司 Column generation method and device
CN114218052A (en) * 2021-11-11 2022-03-22 深圳前海微众银行股份有限公司 Service interaction graph generation method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681841A (en) * 2012-02-01 2012-09-19 中兴通讯(香港)有限公司 Method and system for developing mobile phone application
CN104142826A (en) * 2014-07-28 2014-11-12 百度在线网络技术(北京)有限公司 Method, device and system for constructing page
CN105468377A (en) * 2015-12-10 2016-04-06 北京中科汇联科技股份有限公司 Method and system for generating page of mobile terminal
CN106980504A (en) * 2017-03-28 2017-07-25 腾讯科技(深圳)有限公司 A kind of application development method and its instrument, equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681841A (en) * 2012-02-01 2012-09-19 中兴通讯(香港)有限公司 Method and system for developing mobile phone application
CN104142826A (en) * 2014-07-28 2014-11-12 百度在线网络技术(北京)有限公司 Method, device and system for constructing page
CN105468377A (en) * 2015-12-10 2016-04-06 北京中科汇联科技股份有限公司 Method and system for generating page of mobile terminal
CN106980504A (en) * 2017-03-28 2017-07-25 腾讯科技(深圳)有限公司 A kind of application development method and its instrument, equipment

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11645051B2 (en) 2019-07-15 2023-05-09 Tencent Technology (Shenzhen) Company Limited Mini program production method and apparatus, terminal, and storage medium
CN112230910A (en) * 2019-07-15 2021-01-15 腾讯科技(深圳)有限公司 Page generation method, device, equipment and storage medium of embedded program
WO2021008295A1 (en) * 2019-07-15 2021-01-21 腾讯科技(深圳)有限公司 Mini-program production method and apparatus, and terminal and storage medium
US11954464B2 (en) 2019-07-15 2024-04-09 Tencent Technology (Shenzhen) Company Limited Mini program production method and apparatus, terminal, and storage medium
CN112230910B (en) * 2019-07-15 2023-09-15 腾讯科技(深圳)有限公司 Page generation method, device and equipment of embedded program and storage medium
CN111045653A (en) * 2019-12-16 2020-04-21 京东数字科技控股有限公司 System generation method and device, computer readable medium and electronic equipment
CN111045653B (en) * 2019-12-16 2022-01-07 京东科技控股股份有限公司 System generation method and device, computer readable medium and electronic equipment
CN112114804A (en) * 2020-08-26 2020-12-22 长沙市到家悠享网络科技有限公司 Application program generation method, device and system
CN112035117A (en) * 2020-08-27 2020-12-04 北京三快在线科技有限公司 Page display system, method and device
CN112631566A (en) * 2020-12-28 2021-04-09 航天信息股份有限公司 Code generation method and device, storage medium and electronic equipment
CN112631494A (en) * 2020-12-31 2021-04-09 中国农业银行股份有限公司 Column generation method and device
CN112631494B (en) * 2020-12-31 2022-06-03 中国农业银行股份有限公司 Column generation method and device
WO2023082654A1 (en) * 2021-11-11 2023-05-19 深圳前海微众银行股份有限公司 Method, apparatus and device for generating service interaction diagram, and storage medium
CN114218052B (en) * 2021-11-11 2023-08-29 深圳前海微众银行股份有限公司 Service interaction diagram generation method, device, equipment and storage medium
CN114218052A (en) * 2021-11-11 2022-03-22 深圳前海微众银行股份有限公司 Service interaction graph generation method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109960491A (en) Application program generation method, generating means, electronic equipment and storage medium
CN111104635B (en) Method and device for generating form webpage
CN108228305A (en) Display methods, device, storage medium and the electronic equipment of five application page
CN105868096B (en) For showing the method, device and equipment of web page test result in a browser
CN103853548A (en) Method and system for deep links in application contexts
CN105824830B (en) Method, client and equipment for displaying page
CN102567516A (en) Script loading method and device
CN104238897A (en) Menu item displaying method and device
JP2015097086A (en) Multi-media data electronic publishing system
CN108717435A (en) Webpage loading method, information processing method, computer equipment and storage medium
CN109101225B (en) Component construction method and device, component library architecture and computer readable storage medium
CN108549568A (en) Using entrance processing method, apparatus, storage medium and electronic equipment
CN104820683A (en) Terminal
CN102289426A (en) E-book reading mark positioning method and mobile terminal
CN110532159A (en) Data decryptor method, apparatus, equipment and computer readable storage medium
CN106055721A (en) Accessible webpage processing method and relevant equipment
US20140068464A1 (en) System And Method For Capturing Computer Application-Related Information
US20160323402A1 (en) Visualization of user behavior
CN104834687A (en) Picture display method
CN104598571A (en) Method and device for playing multimedia resource
CN107391534B (en) Page display method, page file return method, page display device, page file return device and computer storage medium
CN105630893A (en) Display method and device of photo title
CN105630342A (en) Terminal and file display method of terminal
CN103365895B (en) Web page resources monitoring method and device
CN115081423A (en) Document editing method and device, electronic equipment and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190702