The content of the invention
It is used to generate the new solution gently applied it is an object of the present invention to provide a kind of.
According to the first aspect of the invention, there is provided a kind of generation method gently applied, including:
Obtain source code language frames, native applications topology file and the native applications function file of target native applications;
According to the source code language frames, the native applications topology file and the native applications function are parsed respectively
File, and the analysis result corresponding to is converted to corresponding light application layout file and light application function file respectively;
According to the light application layout file and light application function file, it is light to obtain target corresponding with target native applications
Using.
Alternatively, source code language frames, native applications topology file and the native applications for obtaining target native applications
The step of function file, includes:
Scan the sound code file of the target native applications, obtain the target included in the sound code file it is primary should
Entrance describes file;
Read the entrance and describe file, obtain source code language frames, the native applications layout of the target native applications
File and native applications function file.
Alternatively, the parsing, be converted to the step of light application layout file and light application function file and include:
According to the source code language frames, parse the native applications topology file and obtain the boundary of the target native applications
Face layout structure and interface element, the interface element gently applied to the interface element conversion process, to obtain with phase
The light application layout file of the same interface layout structure;
According to the source code language frames, parse the native applications function file and obtain the work(of the target native applications
Energy framework and functional unit, are converted to the functional unit gently applied, to obtain with described in identical to the functional unit
The light application function file of function structure.
Alternatively, the interface element includes at least one of text, picture, button, link;
And/or
The functional unit includes function variable, data type, class formation, function calling method, condition judgment structure, followed
At least one of ring structure, annotation information.
Alternatively, it is described to obtain the step of target corresponding with target native applications is gently applied and include:
The light application layout file and light application function file are compressed packing processing, obtain with target is primary should
Gently applied with corresponding target.
Alternatively, the native applications topology file is .xml files, and the native applications function file is .java texts
Part;And
The light application layout file is .html files, and the light application function file is .js files.
According to the second aspect of the invention, there is provided a kind of generation equipment gently applied, including:
Acquiring unit, for obtain the source code language frames of target native applications, native applications topology file and it is primary should
With function file;
Resolution unit, for according to the source code language frames, parsing the native applications topology file and institute respectively
State native applications function file;
Converting unit, it is converted to corresponding light application layout file for the analysis result corresponding to respectively and gently should
With function file;
Generation unit, for according to the light application layout file and light application function file, obtain with target is primary should
Gently applied with corresponding target.
Alternatively, the acquiring unit includes:
For scanning the sound code file of the target native applications, it is former to obtain the target included in the sound code file
The entrance of raw application describes the device of file;And
File is described for reading the entrance, obtains source code language frames, the native applications of the target native applications
The device of topology file and native applications function file.
Alternatively,
The resolution unit includes:
For according to the source code language frames, parsing the native applications topology file and obtaining the target native applications
Interface layout structure and interface element device, and
For according to the source code language frames, parsing the native applications function file and obtaining the target native applications
Function structure and functional unit device;
The converting unit includes:
For the interface element gently applied to the interface element conversion process, to obtain with boundary described in identical
The device of the light application layout file of face layout structure, and
For being converted to the functional unit gently applied to the functional unit, to obtain with functional frame described in identical
The device of the light application function file of structure.
According to the third aspect of the invention we, there is provided a kind of electronic equipment, including:
Memory, for store instruction;
Processor, any one for being performed according to the control of the instruction as first aspect present invention provides gently are applied
Generation method.
It was found by the inventors of the present invention that developed again, it is necessary to put into a large amount of R&D costs in the prior art, ability
Acquisition can be provided and gently applied with the target of target native applications identical application function, and be not present one kind can adaptively by
Native applications are converted to the corresponding technical scheme gently applied.Therefore, the technical assignment or to be solved that the present invention to be realized
Technical problem certainly be it is that those skilled in the art never expect or it is not expected that, therefore the present invention is a kind of new technology
Scheme.
By referring to the drawings to the present invention exemplary embodiment detailed description, further feature of the invention and its
Advantage will be made apparent from.
Embodiment
The various exemplary embodiments of the present invention are described in detail now with reference to accompanying drawing.It should be noted that:Unless have in addition
Body illustrates that the unlimited system of part and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally
The scope of invention.
The description only actually at least one exemplary embodiment is illustrative to be never used as to the present invention below
And its application or any restrictions that use.
It may be not discussed in detail for technology, method and apparatus known to person of ordinary skill in the relevant, but suitable
In the case of, the technology, method and apparatus should be considered as part for specification.
In shown here and discussion all examples, any occurrence should be construed as merely exemplary, without
It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined, then it need not be further discussed in subsequent accompanying drawing in individual accompanying drawing.
<Hardware configuration>
Fig. 1 is the block diagram for showing to realize the hardware configuration of the electronic equipment 1000 of embodiments of the invention.
Electronic equipment 1000 can be portable computer, desktop computer, mobile phone, tablet personal computer etc..It is as shown in figure 1, electric
Sub- equipment 1000 can include processor 1100, memory 1200, interface arrangement 1300, communicator 1400, display device
1500th, input unit 1600, loudspeaker 1700, microphone 1800 etc..Wherein, processor 1100 can be central processing unit
CPU, Micro-processor MCV etc..Memory 1200 is for example including ROM (read-only storage), RAM (random access memory), such as
Nonvolatile memory of hard disk etc..Interface arrangement 1300 is such as including USB interface, earphone interface.Communicator 1400
If carrying out wired or wireless communication, it can specifically include Wifi communications, Bluetooth communication, 2G/3G/4G/5G communications etc..It is aobvious
Showing device 1500 is, for example, LCDs, touch display screen etc..Input unit 1600 for example can include touch-screen, keyboard,
Body-sensing input etc..User can pass through loudspeaker 1700 and the inputting/outputting voice information of microphone 1800.
Electronic equipment shown in Fig. 1 is merely illustrative and is in no way intended to the invention, its application, or uses
Any restrictions.Applied in embodiments of the invention, the memory 1200 of electronic equipment 1000 is used for store instruction, described
Instruct for controlling the processor 1100 to be operated to perform the generation method provided in an embodiment of the present invention gently applied, wrap
Include:Obtain source code language frames, native applications topology file and the native applications function file of target native applications;According to described
Source code language frames, the native applications topology file and the native applications function file, and basis respectively are parsed respectively
Corresponding analysis result is converted to corresponding light application layout file and light application function file;According to the light application layout
File and light application function file, obtain target corresponding with target native applications and gently apply.
It will be appreciated by those skilled in the art that although showing multiple devices to electronic equipment 1000 in Fig. 1, still,
The present invention can only relate to partial devices therein, for example, electronic equipment 1000 pertains only to processor 1100 and storage device
1200.Technical staff can instruct according to presently disclosed conceptual design.How control processor is operated for instruction, and this is
It is known in the art that therefore it is not described in detail herein.
The general plotting of the embodiment of the present invention, it is to provide a kind of new technical scheme for generating and gently applying, will can has
Native applications, be adaptively converted to provide same application service light application so that the supplier of native applications without throw
Enter a large amount of R&D costs to develop again, just can obtain it is corresponding with native applications gently apply, extended one's service scale by gently applying,
Lift Consumer's Experience.
<Embodiment>
<Method>
In the present embodiment, there is provided a kind of generation method gently applied, as shown in Fig. 2 including:
Step S2100, obtain source code language frames, native applications topology file and the native applications work(of target native applications
Can file.
It is commonly used to be all based on certain programming language exploitation source code.Source code language frames are the sources of corresponding native applications
The supported Development Framework of programming language that code exploitation uses.Native applications be can be installed in mobile intelligent terminal (such as
Mobile phone) on, can be capable of using terminal hardware capability (loudspeaker, acceleration transducer, shooting it is first-class) application program, generally
Developed using programming language corresponding with the operating system that terminal uses.
For example, target native applications are mounted on the mobile phone of Android system, programming language is corresponding to Android system
Java, the source code language frames of the native applications are exactly the Development Framework for supporting Java;And target native applications are installation IOS systems
On the mobile phone of system, programming language corresponding to IOS systems is Object-C and Swift, the source code language frames of the native applications
Exactly support Object-C or Swift Development Framework.
Source code corresponding with target native applications is included in multiple sound code files.In the present embodiment, in sound code file
Including at least native applications topology file and native applications function file.
Native applications topology file is the sound code file for the interface layout pattern for describing target native applications.Interface layout sample
Formula is the layout pattern of application interface, including interface element for including of the interface layout structure of application interface, application interface etc..Boundary
Face layout structure is that each interface element forms the layout designs structure that application interface is reflected, including each interface element is being answered
Set location, relative position, hierarchical relationship with interface etc..Interface element is included at least one in text, picture, button, link
Kind, every kind of interface element is generally also provided with element property, such as font, background, color, width, height, back gauge etc..
Native applications topology file can have a variety of file formats, for example, native applications topology file is .xml files.
Xml is extensible markup language, and the subset of standard generalized markup language is a kind of for marking e-file to make it have structure
Property markup language, be designed to transmission and data storage.
Native applications function file is the sound code file for supporting application function corresponding to the target native applications offer.Should
It is to form the concrete function for the application service that corresponding application is supplied to user with function, application function is generally as corresponding to exploitation
The source code that the programming language of application is write is realized by a series of technological means such as being compiled, calling.Include corresponding source code
Sound code file can support corresponding to application provide corresponding to application function.For target native applications, native applications function
File can be supported to provide the application function of target native applications.
Native applications function file can have a variety of file formats, for example, native applications function file is .Java files.
.java file is the source file of corresponding programming language written in Java.
In the present embodiment, obtain the source code language frames of target native applications, native applications topology file and it is primary should
Can have with the mode of function file a variety of.
For example, providing interface or interface by the equipment for implementing the present embodiment, for the supplier of target native applications, lead to
Cross the interface or interface and upload source code language frames, native applications topology file and native applications function file respectively.More specifically
, it can also provide and interface is set, source code language frames mark is set for the supplier of target native applications, to indicate the mesh
The source code language frames of native applications are marked, are identified according to the source code language frames, the equipment for implementing the present embodiment can be with slave unit
The multiple source code language frames locally to prestore obtain source code language frames corresponding with the source code language frames mark, further carry
Height obtains efficiency.
Or can be by scanning the sound code files of target native applications, detection obtains the source of the target native applications
Code language frames, native applications topology file and native applications function file, specifically, the source for obtaining target native applications
The step of code language frames, native applications topology file and native applications function file, includes:
Scan the sound code file of the target native applications, obtain the target included in the sound code file it is primary should
Entrance describes file;
Read the entrance and describe file, obtain source code language frames, the native applications layout of the target native applications
File and native applications function file.
For example, native applications are typically to exist in the form of engineering (project), include in the engineering of native applications
There can be entrance in multiple sound code files, generally these sound code files and describe file, it is corresponding for describing that entrance describes file
The attribute information of each sound code file of native applications for call, the attribute information can include each sound code file title and
Type etc., source code language frames information that each sound code file is saved contents in corresponding engineering, sound code file is based on etc..
The entrance in sound code file by reading target native applications describes file, can obtain the source code language of target native applications
Framework, identify which sound code file belongs to native applications topology file or native applications function file, and under corresponding target
Obtain native applications topology file and native applications function file.
More specifically, setting interface can also be provided by implementing the equipment of the present embodiment, for carrying for target native applications
Donor, source code language frames mark, native applications topology file and native applications function file pair are set by the setting interface
That answers saves contents, and after the engineering of target native applications corresponding to supplier's upload of target native applications, implements this reality
Multiple source code language frames that applying the equipment of example can locally be prestored with slave unit obtain corresponding with the source code language frames mark
Source code language frames simultaneously obtain native applications topology file and native applications function file under corresponding engineering catalogue, to carry
Height obtains efficiency.
After step S2100, into step S2200, according to the source code language frames, parse respectively it is described it is primary should
With topology file and the native applications function file, and respectively the analysis result corresponding to be converted to corresponding to gently should
With topology file and light application function file.
Native applications topology file is used for the interface layout pattern for describing target native applications.According to the source code language frame
Frame, native applications topology file is parsed, obtain comprising at least corresponding interface layout pattern, interface cloth in corresponding analysis result
Office's pattern is the layout pattern of application interface, including the interface element that the interface layout structure of application interface, application interface include
Deng.
Generation is corresponding with target native applications gently to apply, and the light application interface is presented should be with target native applications phase
Together, i.e., light application interface is identical with the interface layout pattern that target is primary.Light application uses different exploitation languages from native applications
Speech is developed, and larger difference be present.Therefore, the interface layout pattern for parsing to obtain in native applications topology file is changed
Processing, obtain corresponding light application layout file.The light application layout file is corresponding with native applications topology file, be description with
The sound code file for meeting light application call requirement of target native applications identical interface layout pattern.
For example, target native applications are the applications of Java language exploitation, corresponding native applications topology file is .xml texts
Part, based on source code language frames corresponding to Java language, parse the .xml files and obtain the interface layout of target native applications
After pattern, the interface layout pattern conversion process obtains corresponding with the development language such as HTML/CSS that gently application is based on
.html form, have same interface layout pattern light application layout file.
Similarly, native applications function file is the source code for supporting application function corresponding to the target native applications offer
File.According to the source code language frames, parse native applications function file, obtain corresponding to comprise at least in analysis result pair
The function structure and functional unit answered.Functional unit is to form to support application function corresponding to the target native applications offer
Source code element, specifically, the functional unit include function variable, data type, class formation, function calling method, condition and sentenced
At least one of disconnected structure, loop structure, annotation information.Function structure be coordinate between each functional unit and realize and support described in
The source code framework of application function corresponding to the offer of target native applications, including correlation of each functional unit etc..
Generation is corresponding with target native applications gently to apply, and the light application should be able to realize that target native applications are substantially identical
Application function.Light application is developed from native applications using different development languages, larger difference be present.Therefore, will be primary
Parsing obtains result and does conversion process in application function file, obtains corresponding light application function file.The light application function text
Part is corresponding with native applications topology file, is that description supports the light light application that meets for applying application function corresponding to offer to adjust
With desired sound code file.
For example, target native applications are the applications of Java language exploitation, corresponding native applications function file is .java texts
Part, based on source code language frames corresponding to Java language, parse the .java files and obtain the functional unit of target native applications
After function structure, the functional unit conversion process obtains and gently using the development language such as JavaScirpt being based on
Corresponding .js forms, there is the light application function file of identical function framework.
Conversion process is done by the native applications topology file to target native applications and native applications function file, obtained
The corresponding light application layout file for meeting light application call requirement and light application function file so that can obtain former with target
The light application for the application function that raw application provides with identical application interface, energy implementation goal native applications, it is adaptively complete
Into native applications to the conversion gently applied.
Specifically, step S2200 can with as shown in figure 3, including:
Step S2201, according to the source code language frames, parse the native applications topology file and obtain the target original
The interface layout structure and interface element of raw application, the interface element gently applied to the interface element conversion process, with
Obtain having the light application layout file of interface layout structure described in identical.
For example, target native applications are the applications of Java language exploitation, corresponding native applications topology file is .xml texts
Part, the .xml files are parsed, obtain the interface layout structure and interface element of target native applications, specific interface element is such as
Under:
1st, text:
<TextView
android:Background=" #ffffff "
android:Text=" Hello1 "
android:TextSize=" 18sp "
android:TextColor=" #ffffff "
android:PaddingLeft=" 10dp "
android:Layout_width=" 100dp "
android:Layout_height=" 50dp "/>
2nd, picture:
<ImageView
android:Src="@drawable/ic_launcher "
android:Layout_marginLeft=" 12dp "
android:Layout_width=" 50dp "
android:Layout_height=" 50dp "/>
3rd, button:
<Button
android:TextSize=" 12sp "
android:Background=" #ffffff "
android:Text=" Button "
android:TextAlignment=" center "
android:Layout_width=" match_parent "
android:Layout_height=" 40dp "/>
Assuming that the light application interface file for meeting light application call requirement is .html files, above-mentioned interface element is changed
Handle the interface element gently applied:
1st, text:
<Style type=" text/css ">
h1{background-color:yellow;width:300px;height:100px;padding-left:2em;
font-size:30px}
</style>
<h1>Hello1</h1>
2nd, picture:
3rd, button:
.button{
background-color:#4CAF50;
olor:white;
padding:15px 32px;
text-align:center;
font-size:16px;}
The interface element for the light application that conversion process is obtained, with target native applications identical interface layout structure,
The light application layout file of .html forms corresponding to generation so that the corresponding application interface gently applied has primary with target
Application interface, light application interface and native applications interface are presented using identical interface element, with identical interface layout structure
It is identical.
It should be appreciated that in specific application, light application is generally run by light application platform, due to light application platform
The limitation of itself or interface are presented the improvement of effect, the attribute of interface element for example size, font, color, wide high, back gauge or
Relative position between person's interface layout structure such as interface element can have adaptability conversion, and those skilled in the art are based on
The published conversion plan of the embodiments of the present invention, target native applications can be applied into cloth without creative work
When office file is converted to the light application layout file for meeting demand while implement above-mentioned adaptability conversion, after obtaining adaptability conversion
The light application interface similar to the application interface of target native applications, will not be repeated here.
Step S2202, according to the source code language frames, parse the native applications function file and obtain the target original
The function structure and functional unit of raw application, are converted to the functional unit gently applied, to be had to the functional unit
The light application function file of function structure described in identical.
For example, target native applications are the applications of Java language exploitation, corresponding native applications function file is .java texts
Part, the .java files are parsed, obtain the function structure and functional element of target native applications, specific functional element is as follows:
1st, function variable:Public int a=0;
2nd, data type:Boolean,byte,short,int,long,String
3rd, class formation:
4th, function calling method:
public void fun(int a){
}
5th, condition judgment structure:
if(a>=b) { }
if(a<b){}
If (a==b) { }
6th, loop structure:
while(a<100){}
For (int a=0;a<100;++a){}
for(int a:ArrayA){}
7th, annotation information://XXXXXXX
Assuming that the light application interface file for meeting light application call requirement is .js files, at above-mentioned functional unit conversion
Manage the functional unit gently applied:
1st, function variable:A=0;S=" hello ";
2nd, data type:Correspond to JavaScript regime type:
A=0;A is integer type
A=" hello ";A is character string type
3rd, class formation:
4th, function calling method:
Fun=function (a)
}
Or
function fun(a){
}
5th, condition judgment structure:
if(a>=b) { }
if(a<b){}
If (a==b) { }
6th, loop structure:
while(a<100){}
For (var a=0;a<100;++a){}
for(a in ArrayA){}
7th, annotation information://XXXXXXX
The light application function unit that conversion process is obtained, with target native applications identical function structure, generation pair
The light application function file for the .js forms answered so that corresponding light application is supported to provide gently should with target native applications identical
Use function.
However, it should be understood that above-mentioned example merely to explanation the present embodiment in step S2200 specific implementation,
It is not that limitation must be set step S2201 and before step S2202, those skilled in the art are based in disclosed above
Hold, can be without creatively, adaptively being changed according to practical application request, step S2202 being arranged at into step
Implement before S2201, or step S2201, S2202 parallel practice, it is numerous to list herein.
After step S2200, into step S2300, according to the light application layout file and light application function file,
Target corresponding with target native applications is obtained gently to apply.
Specifically, after light application layout file and light application function file is obtained, can by light application layout file and
Light application function file is placed under same root catalogue or file, is easy to light application operation to call so that can be by light
Application layout file provide light application application interface it is identical with the application interface of target native applications, pass through light application function
The application function for the light application that file provides is identical with the application function of target native applications, obtains corresponding with target native applications
Target gently apply.
In practical application, light application is typically to exist in the form of compressed file, in order to call operation.Therefore, this implementation
Obtaining the step of target corresponding with target native applications is gently applied described in example includes:By the light application layout file and gently
Application function file is compressed packing processing, obtains target corresponding with target native applications and gently applies.
Above by by the native applications topology file of target native applications and native applications function file, be converted to and meet
The light application layout file and light application function file of light application call requirement so that can obtain having with target native applications
Identical application interface, can the light application of application function that provides of implementation goal native applications, adaptively by target is primary should
With being converted to light application.It is simple, convenient to implement, and realization need not put into a large amount of R&D costs and develop again, with regard to can obtain with it is primary
Using corresponding light application, by gently using the scale that extends one's service, lifting Consumer's Experience.
<Example>
The generation method of the light application provided in the embodiment of the present invention is be provided below with reference to example.
In this example, target native applications are the native applications for having computing function, and the native applications are to be based on Java languages
Speech exploitation, source code language frames are corresponding with Java.
Step S101, obtain the source code language frames of the target native applications, native applications topology file and it is primary should
With function file.
Specific obtaining step can step S2100 as shown in Figure 2, will not be repeated here.
In this example, the native applications topology file of acquisition is .xml files, and particular content is as follows:
The native applications function file of acquisition is .java files, wherein as follows with the related particular content of computing function:
Step S102, the source code language frames based on the target native applications, parse native applications topology file and original
Raw application function file, and accordingly carry out conversion process, the light application layout file for obtaining meeting light application call and gently should
With function file.
Step S2200 that specifically can be as shown in Figure 2 is implemented, and will not be repeated here.
In this example, the light application layout file obtained after conversion is specific as follows:
The light application function file obtained after conversion is specific as follows:
Step S103, above-mentioned light application layout file and light application function compressing file are packed, it is light to obtain corresponding target
The project file of application.
<Equipment>
In the present embodiment, the generation equipment 3000 gently applied also is provided, as shown in figure 4, including acquiring unit 3100, solution
Unit 3200, converting unit 3300 and generation unit 3400 are analysed, any one for implementing the present embodiment offer is gently applied
Generation method, will not be repeated here.
The generation equipment 3000 gently applied, including:
Acquiring unit 3100, for obtaining the source code language frames, native applications topology file and original of target native applications
Raw application function file;
Resolution unit 3200, for according to the source code language frames, parse respectively the native applications topology file with
And the native applications function file;
Converting unit 3300, for the analysis result corresponding to respectively be converted to corresponding to light application layout file and
Light application function file;
Generation unit 3400, for according to the light application layout file and light application function file, obtaining former with target
Target corresponding to raw application is gently applied.
Alternatively, the acquiring unit 3100, including:
For scanning the sound code file of the target native applications, it is former to obtain the target included in the sound code file
The entrance of raw application describes the device of file;And
File is described for reading the entrance, obtains source code language frames, the native applications of the target native applications
The device of topology file and native applications function file.
Alternatively, the resolution unit 3200 includes:
For according to the source code language frames, parsing the native applications topology file and obtaining the target native applications
Interface layout structure and interface element device, and
For according to the source code language frames, parsing the native applications function file and obtaining the target native applications
Function structure and functional unit device;
The converting unit 3300 includes:
For the interface element gently applied to the interface element conversion process, to obtain with boundary described in identical
The device of the light application layout file of face layout structure, and
For being converted to the functional unit gently applied to the functional unit, to obtain with functional frame described in identical
The device of the light application function file of structure.
Alternatively,
The interface element includes at least one of text, picture, button, link;
And/or
The functional unit includes function variable, data type, class formation, function calling method, condition judgment structure, followed
At least one of ring structure, annotation information.
Alternatively, the generation unit 3400, including:
For the light application layout file and light application function file to be compressed into packing processing, obtain former with target
The device that target corresponding to raw application is gently applied.
In the present embodiment, it is not intended to limit the form of implementation for the generation equipment 3000 gently applied.Those skilled in the art should
When understanding, the generation equipment 3000 gently applied can be realized by various modes.For example, can be by instructing configuration processor
To realize the generation equipment 3000 gently applied.For example, instruction can be stored in ROM, and when starting the device, will instruct
Read from ROM in programming device to realize the generation equipment 3000 gently applied.For example, the generation equipment that will can gently apply
3000 are cured in dedicated devices (such as ASIC).The generation equipment 3000 gently applied can be divided into separate unit,
Or they can be merged to realization.The generation equipment 3000 gently applied can be by above-mentioned various implementations
One kind is realized, or can be realized by the combination of two or more modes in above-mentioned various implementations.
Specifically, the generation equipment 3000 gently applied, which can be integrated in, provides light application searches, the light application platform of operation
In, can also be connected as peripheral hardware plug-in unit with light application platform etc..
<Electronic equipment>
In the present embodiment, offer a kind of electronic equipment, for the generation for the light application for implementing to provide in the present embodiment
Method, including:
Memory, for store instruction;
Processor, for performing the generation for the light application that any one is provided in the present embodiment according to the control of the instruction
Method.
Specifically, electronic equipment can be the mobile terminals such as mobile phone, tablet personal computer, palm PC, and hardware configuration for example may be used
With electronic equipment as shown in Figure 1.
Embodiments of the invention have been described in conjunction with the accompanying above, according to the present embodiment, there is provided a kind of life gently applied
Into method, equipment and electronic equipment, by by the native applications topology file of target native applications and native applications function file,
Be converted to the light application layout file for meeting light application call requirement and light application function file so that can obtain former with target
The light application for the application function that raw application provides with identical application interface, energy implementation goal native applications, adaptively will
Target native applications are converted to light application.It is simple, convenient to implement, and is developed again without putting into a large amount of R&D costs, with regard to that can obtain
It is corresponding with native applications gently to apply, realize by gently using the scale that extends one's service, lifting Consumer's Experience.
It is well known by those skilled in the art that the development of the electronic information technology with such as large scale integrated circuit technology
With the trend of hardware and software, clearly to divide computer system soft and hardware boundary and seem relatively difficult.Because appoint
What operation can be realized with software, can also be realized by hardware.The execution of any instruction can be completed by hardware, equally also may be used
To be completed by software.Hardware implementations or software implement scheme are used for a certain machine function, depending on price, speed
The Non-technical factors such as degree, reliability, memory capacity, change cycle.Therefore, for the ordinary skill of electronic information technical field
For personnel, mode more direct and that a technical scheme is explicitly described is to describe each operation in the program.Knowing
In the case of road institute operation to be performed, those skilled in the art can directly be set based on the consideration to the Non-technical factor
Count out desired product.
The present invention can be system, method and/or computer program product.Computer program product can include computer
Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the invention.
Computer-readable recording medium can keep and store to perform the tangible of the instruction that uses of equipment by instruction
Equipment.Computer-readable recording medium for example can be-- but be not limited to-- storage device electric, magnetic storage apparatus, optical storage
Equipment, electromagnetism storage device, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer-readable recording medium
More specifically example (non exhaustive list) includes:Portable computer diskette, hard disk, random access memory (RAM), read-only deposit
It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static RAM (SRAM), portable
Compact disk read-only storage (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon
It is stored with punch card or groove internal projection structure and the above-mentioned any appropriate combination of instruction.Calculating used herein above
Machine readable storage medium storing program for executing is not construed as instantaneous signal in itself, the electromagnetic wave of such as radio wave or other Free propagations, leads to
Cross the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or transmitted by electric wire
Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer-readable recording medium it is each calculate/
Processing equipment, or outer computer or outer is downloaded to by network, such as internet, LAN, wide area network and/or wireless network
Portion's storage device.Network can include copper transmission cable, optical fiber is transmitted, is wirelessly transferred, router, fire wall, interchanger, gateway
Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment receive from network to be counted
Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment
In calculation machine readable storage medium storing program for executing.
For perform the computer program instructions that operate of the present invention can be assembly instruction, instruction set architecture (ISA) instruction,
Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages
The source code or object code that any combination is write, programming language of the programming language including object-oriented-such as
Smalltalk, C++ etc., and conventional procedural programming languages-such as " C " language or similar programming language.Computer
Readable program instructions fully can on the user computer perform, partly perform on the user computer, be only as one
Vertical software kit performs, part performs or completely in remote computer on the remote computer on the user computer for part
Or performed on server.In the situation of remote computer is related to, remote computer can pass through network-bag of any kind
LAN (LAN) or wide area network (WAN)-be connected to subscriber computer are included, or, it may be connected to outer computer (such as profit
Pass through Internet connection with ISP).In certain embodiments, by using computer-readable program instructions
Status information carry out personalized customization electronic circuit, such as PLD, field programmable gate array (FPGA) or can
Programmed logic array (PLA) (PLA), the electronic circuit can perform computer-readable program instructions, so as to realize each side of the present invention
Face.
Referring herein to method, apparatus (system) and computer program product according to embodiments of the present invention flow chart and/
Or block diagram describes various aspects of the invention.It should be appreciated that each square frame and flow chart of flow chart and/or block diagram and/
Or in block diagram each square frame combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to all-purpose computer, special-purpose computer or other programmable datas
The processor of processing unit, so as to produce a kind of machine so that these instructions are passing through computer or other programmable datas
During the computing device of processing unit, work(specified in one or more of implementation process figure and/or block diagram square frame is generated
The device of energy/action.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to
Order causes computer, programmable data processing unit and/or other equipment to work in a specific way, so as to be stored with instruction
Computer-readable medium then includes a manufacture, and it is included in one or more of implementation process figure and/or block diagram square frame
The instruction of the various aspects of defined function/action.
Computer-readable program instructions can also be loaded into computer, other programmable data processing units or other
In equipment so that series of operation steps is performed on computer, other programmable data processing units or miscellaneous equipment, with production
Raw computer implemented process, so that performed on computer, other programmable data processing units or miscellaneous equipment
Instruct function/action specified in one or more of implementation process figure and/or block diagram square frame.
Flow chart and block diagram in accompanying drawing show system, method and the computer journey of multiple embodiments according to the present invention
Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation
One module of table, program segment or a part for instruction, the module, program segment or a part for instruction include one or more use
In the executable instruction of logic function as defined in realization.At some as the function of in the realization replaced, being marked in square frame
Can be with different from the order marked in accompanying drawing generation.For example, two continuous square frames can essentially be held substantially in parallel
OK, they can also be performed in the opposite order sometimes, and this is depending on involved function.It is also noted that block diagram and/or
The combination of each square frame and block diagram in flow chart and/or the square frame in flow chart, function or dynamic as defined in performing can be used
The special hardware based system made is realized, or can be realized with the combination of specialized hardware and computer instruction.It is right
It is well known that, realized for those skilled in the art by hardware mode, realized by software mode and by software and
It is all of equal value that the mode of combination of hardware, which is realized,.
It is described above various embodiments of the present invention, described above is exemplary, and non-exclusive, and
It is not limited to disclosed each embodiment.In the case of without departing from the scope and spirit of illustrated each embodiment, for this skill
Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport
Best explaining the principle of each embodiment, practical application or to the technological improvement in market, or make the art its
Its those of ordinary skill is understood that each embodiment disclosed herein.The scope of the present invention is defined by the appended claims.