CN107783763A - A kind of application program generation method, device, server and readable storage medium storing program for executing - Google Patents

A kind of application program generation method, device, server and readable storage medium storing program for executing Download PDF

Info

Publication number
CN107783763A
CN107783763A CN201710908702.3A CN201710908702A CN107783763A CN 107783763 A CN107783763 A CN 107783763A CN 201710908702 A CN201710908702 A CN 201710908702A CN 107783763 A CN107783763 A CN 107783763A
Authority
CN
China
Prior art keywords
app
description information
function code
generated
preset function
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
CN201710908702.3A
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.)
Zhuomi Private Ltd
Original Assignee
Happy Honey 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 Happy Honey Co Ltd filed Critical Happy Honey Co Ltd
Priority to CN201710908702.3A priority Critical patent/CN107783763A/en
Publication of CN107783763A publication Critical patent/CN107783763A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/43Checking; Contextual analysis
    • G06F8/436Semantic checking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • G06F8/447Target code generation

Landscapes

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

Abstract

The embodiments of the invention provide a kind of application program generation method, device, server and readable storage medium storing program for executing.This method is applied to server, and this method includes:APP to be generated character description information is obtained, as target text description information;Target text description information is inputted to the semantics recognition model of training in advance, obtains the semanteme of target text description information, it is semantic as target;Wherein, semantics recognition model is used for:Identify the semanteme of APP character description information;Obtain preset function code corresponding to target semanteme;Default IDE is called to be compiled preset function code;Preset function code after compiling is packed, obtains APP to be generated installation kit.Using the embodiment of the present invention, the manufacturing cost of application program can be reduced, and shortens the generation cycle of application program.

Description

A kind of application program generation method, device, server and readable storage medium storing program for executing
Technical field
The present invention relates to field of computer technology, more particularly to a kind of application program generation method, device, electronic equipment And readable storage medium storing program for executing.
Background technology
At present, people can usually touch various APP (Application, application program) in life.And During generating these APP, an APP is often generated, at least needs multiple technical staff's collaborative works one week to complete, cost The higher and cycle is longer.
Therefore, need badly and a kind of application program generation method is provided, to reduce the manufacturing cost of application program, and shorten generation Cycle.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of application program generation method, device, electronic equipment and readable deposited Storage media, to reduce the manufacturing cost of application program and shorten the generation cycle.
In a first aspect, the embodiments of the invention provide a kind of application APP generation method, this method is applied to service Device, this method may include steps of:
APP to be generated character description information is obtained, as target text description information;
Target text description information is inputted to the semantics recognition model of training in advance, obtains target text description information Semanteme, it is semantic as target;Wherein, semantics recognition model is used for:Identify the semanteme of APP character description information;
Obtain preset function code corresponding to target semanteme;
Default IDE is called to be compiled preset function code;
Preset function code after compiling is packed, obtains APP to be generated installation kit.
Alternatively, the step of obtaining preset function code corresponding to target semanteme, can include:
Based on default semantic and script corresponding relation, script corresponding to target semanteme is determined;
The preset function code for determining that script points to is obtained, as preset function code corresponding to target semanteme.
Alternatively, after calling default IDE to be compiled preset function code, this method may be used also With including:
Using the generation APP to be developed of the preset function code building after compiling preview graph, and preview graph is sent to use Family terminal;Wherein, APP to be generated functional module is shown in preview graph;Functional module is to be based on preset function code building 's;
Receive the adjustment information that user terminal is sent;Wherein, adjustment information is:APP to be generated functional module is carried out The information of adjustment;
Response adjustment information is adjusted to preset function code, obtains grooming function code;
Grooming function code is compiled;
Function code after compiling is packed, the step of obtaining APP to be generated installation kit, including:
Grooming function code after compiling is packed, obtains APP to be generated installation kit.
Alternatively, adjustment information includes:Position adjustment information, color adjustment information, delete in information and increase information It is at least one.
Alternatively, in embodiments of the present invention, this method can also include:
Target semanteme is modified using adjustment information, it is semantic to obtain amendment;
It is semantic using target text description information and amendment, semantics recognition model is modified.
Alternatively, APP to be generated character description information is obtained, can be wrapped as the step of target text description information Include:
Obtain APP to be generated voice description information;
Voice description information is converted into character description information, and using the character description information being converted to as target text Word description information.
Alternatively, after APP to be generated installation kit is obtained, this method can also include:
Installation kit is sent to user terminal.
Second aspect, the embodiment of the present invention additionally provide a kind of application APP generating means, and the device is applied to service Device, the device can include:
First obtains unit, for obtaining APP to be generated character description information, as target text description information;
Semantics recognition unit, for target text description information to be inputted to the semantics recognition model of training in advance, obtain The semanteme of target text description information, it is semantic as target;Wherein, semantics recognition model is used for:Identify APP word description letter The semanteme of breath;
Second obtaining unit, for obtaining preset function code corresponding to target semanteme;
First compilation unit, for calling default IDE to be compiled preset function code;
Packaged unit, for being packed to the preset function code after compiling, obtain APP to be generated installation kit.
Alternatively, in embodiments of the present invention, the second obtaining unit can include:
Determination subelement, for based on default semantic and script corresponding relation, determining script corresponding to target semanteme;
First obtains subelement, semantic corresponding as target for obtaining the preset function code for determining that script points to Preset function code.
Alternatively, in embodiments of the present invention, the device can also include:
Generation unit, for after calling default IDE to be compiled preset function code, utilizing The preview graph of preset function code building generation APP to be developed after compiling;
First transmitting element, for preview graph to be sent into user terminal;Wherein, APP to be generated is shown in preview graph Functional module;Functional module is based on preset function code building;
Receiving unit, for receiving the adjustment information of user terminal transmission;Wherein, adjustment information is:To APP's to be generated The information that functional module is adjusted;
Adjustment unit, preset function code is adjusted for responding adjustment information, obtains grooming function code;
Second compilation unit, for being compiled to grooming function code;
Correspondingly, the packaged unit specifically can be used for:
Grooming function code after compiling is packed, obtains APP to be generated installation kit.
Alternatively, the adjustment information can include:Position adjustment information, color adjustment information, delete information and increase letter At least one of breath.
Alternatively, in embodiments of the present invention, the device can also include:
First amending unit, for being modified using adjustment information to target semanteme, it is semantic to obtain amendment;
Second amending unit, for using target text description information and amendment semanteme, being repaiied to semantics recognition model Just.
Alternatively, in embodiments of the present invention, first obtains unit can include:
Second obtains subelement, for obtaining APP to be generated voice description information;
Conversion subunit, for voice description information to be converted into character description information, and the word being converted to is retouched Information is stated as target text description information.
Alternatively, in embodiments of the present invention, the device can also include:
Second transmitting element, for after APP to be generated installation kit is obtained, installation kit to be sent to user terminal.
The third aspect, the embodiments of the invention provide a kind of server, the server includes processor, communication interface, deposited Reservoir and communication bus, wherein, processor, communication interface, memory completes mutual communication by communication bus;
Memory, for depositing computer program;
Processor, during for performing the program deposited on memory, realize the application journey described in any one of first aspect The method and step of sequence APP generation methods.
Fourth aspect, the embodiments of the invention provide a kind of readable storage medium storing program for executing, the readable storage medium storing program for executing internal memory contains meter Calculation machine program, the application APP generation method described in any one of first aspect is realized when computer program is executed by processor Method and step.
5th aspect, the embodiments of the invention provide a kind of computer program product for including instruction, when it is in server During upper operation so that server performs:The method step of application APP generation method described in above-mentioned any one of first aspect Suddenly.
In embodiments of the present invention, server can obtain APP to be generated character description information, and this is acquired Character description information as target text description information.Then, the target text description information is inputted to training in advance and obtained To semantics recognition model in.It is thus possible to identify to obtain semanteme corresponding to the target text description information, and this is identified The semanteme arrived is semantic as target.Afterwards, preset function code corresponding to the target semanteme can be found, it is, can obtain To the source code for generating APP to be generated, the speed for the source code for obtaining APP to be generated is improved.Then, call default integrated Development environment is compiled to the preset function code, and to being packed to the preset function code after compiling, you can obtain Meet the target text description information, APP to be generated installation kit.So, APP to be generated installation can be quickly generated Bag, shortens the cycle for generating APP to be generated.In addition, it is not necessary that relying on substantial amounts of technical staff to generate APP to be generated, drop Low generation APP cost.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of application APP generation method provided in an embodiment of the present invention;
Fig. 2 is another flow chart of application APP generation method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of application APP generating means provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of server provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
In order to solve prior art problem, the embodiments of the invention provide a kind of APP (Application, application program) Generation method, device, server and readable storage medium storing program for executing.
APP generation methods provided in an embodiment of the present invention are illustrated first below.
Referring to Fig. 1, a kind of flow chart of APP generation methods provided in an embodiment of the present invention is shown in figure, this method should For server, this method may include steps of:
S101:APP to be generated character description information is obtained, as target text description information;
S102:Target text description information is inputted to the semantics recognition model of training in advance, obtains target text description The semanteme of information, it is semantic as target;Wherein, semantics recognition model is used for:Identify the semanteme of APP character description information;
S103:Obtain preset function code corresponding to target semanteme;
S104:Default IDE is called to be compiled preset function code;
S105:Preset function code after compiling is packed, obtains APP to be generated installation kit.
For example, server can obtain APP to be generated character description information:A beautiful shop is opened, as Target text description information corresponding to APP to be generated.Then, the target text description information is inputted to semantics recognition model In.So, the semanteme that the semantics recognition model can identify to obtain " shop beautiful Kai Yijia " is:" beautiful shop ".This Sample, it is semantic as target that server can will be somebody's turn to do " beautiful shop ".Wherein, the semantics recognition model is using substantial amounts of, pre- If APP character description information sample, and semanteme corresponding to each character description information sample train what is obtained.
Afterwards, server can be semantic " beautiful shop " according to the target, finds and is preset corresponding to " beautiful shop " Function code.It is, the source code for generating APP to be generated can be obtained, the speed for the source code for obtaining APP to be generated is improved Degree.Then, default IDE is called to be compiled the preset function code, and to the preset function after compiling Code is packed, you can acquisition meets the target text description information, APP to be generated installation kit, it is, can obtain There must be the APP of shop function installation kit.
So, APP to be generated installation kit can be quickly generated, shortens the cycle for generating APP to be generated.In addition, Substantial amounts of technical staff is needed not rely on to generate APP to be generated, reduces generation APP cost.
Wherein, the default IDE can be set by those skilled in the art according to actual conditions, This is not specifically limited.
APP generation methods provided in an embodiment of the present invention are described in detail with reference to specific example.
It is understood that server can obtain APP to be generated voice description information, it is assumed that the voice acquired Description information is:Open a beautiful shop with favorite function.
In this kind of mode, user directly can input voice to user terminal, i.e. directly can be treated to user terminal input Generate APP voice description information.And then user terminal can send the APP to be generated received voice description information To server.So, user need not input APP to be generated character description information by input method, improve user's body Test.Wherein, the user terminal includes but is not limited to mobile phone and tablet personal computer.
Afterwards, server can utilize the voice in aws (Amazon Web Service, Amazon service) to turn text Word function, the voice description information is converted into character description information:A beautiful shop with favorite function is opened, and Using the character description information being converted to as target text description information.Wherein, voice description information is converted into word to retouch The mode for stating information includes but is not limited to utilize the speech-to-text function in aws.
After server obtains target text description information by speech-to-text function, the target text can be described Information is inputted in the semantics recognition model obtained to training in advance.It is then possible to obtain the language that the semantics recognition Model Identification goes out Justice:" beautiful shop " and " collection ".And it is possible to each semanteme that this is identified is as a target semanteme.Wherein, The semantics recognition model can be obtained based on HMM (hidden Markov Model, HMM) training, when So it is not limited thereto.
After target semanteme is obtained, in one implementation, server can be according to default semantic and preset function The corresponding relation of code, preset function code corresponding to each target semanteme is searched, such as can found:Beautiful shop pair The preset function code answered, and preset function code corresponding to collection.In another implementation, it can be based on default Semanteme and script corresponding relation, it is determined that script corresponding to each target semanteme.Then, obtain and determine that script points to pre- If function code, as preset function code corresponding to target semanteme.This is all rational.
After preset function code corresponding to target semanteme is obtained, server can also be to the preset function code of acquisition It is adjusted.For example, detect in preset function code corresponding to beautiful shop, if carry and work(is preset corresponding to collection Can code.If preset function code corresponding to the collection no, is added to preset function corresponding to the beautiful shop In code, preset function code corresponding to target semantic " beautiful shop " and " collection " is obtained.It is then possible to call default IDE preset function code corresponding to obtaining, " beautiful shop " and " collection " is compiled.
And it is possible to treated using preset function code building corresponding to after compiling, " beautiful shop " and " collection " Exploitation generation APP preview graph, and preview graph is sent to user terminal.Wherein, APP to be generated work(is shown in preview graph Energy module, functional module is based on preset function code building.For example, show functional mould in the preview graph that generation obtains Block:Collect the module such as clip module and shopping cart module.
So, user can check the preview graph in the user terminal, and can be to the function mould that is shown in preview graph The position of block is adjusted, so as to which user terminal can obtain:The position of APP to be generated functional module is adjusted Position adjustment information.
It is of course also possible to the color of the functional module to being shown in preview graph is adjusted, so as to which user terminal can obtain :The position adjustment information being adjusted to the color of APP to be generated functional module.Alternatively, it is also possible to show in preview graph The functional module shown is deleted, so as to obtain the deletion information deleted APP to be generated functional module.Can also be past Increase new functional module (such as increasing evaluation module) in preview graph, so as to obtain the functional module progress to APP to be generated Increased increase information, this is all rational.
For example, user terminal can receive:The position adjustment information being adjusted to the position for collecting clip module, Wherein, the position adjustment information is specially:The position of clip module will be collected by lower left corner position adjustment to lower right position.This Sample, user terminal send the position adjustment information that this is received to server.After server receives the position adjustment information, Location parameter in preset function code corresponding to the collection is modified:Location parameter corresponding to the lower left corner is adjusted to right Location parameter corresponding to inferior horn, so as to obtain grooming function code.
In addition, if server receives the color adjustment information to collecting clip module, server can also be according to the color Adjustment information, color parameter in preset function code corresponding to the collection is modified.If server is received to collection The deletion information of clip module, server can also to it is in preset function code corresponding to " beautiful shop " and " collection ", Preset function code is deleted corresponding to collection.If server receives the increase information to evaluation module, server is also Preset function code corresponding to the evaluation module can be obtained, and preset function code corresponding to the evaluation module is added to In preset function code corresponding to " beautiful shop " and " collection ".Wherein, to " beautiful shop " and " collection " After corresponding preset function code carries out any adjustment, grooming function code can obtain.
Pass through this kind of mode, it is possible to achieve the personalized customization to APP to be generated each functional module, improve user Experience.
Then, server is compiled to grooming function code, and the grooming function code after compiling is packed, and is obtained To APP to be generated installation kit, can now generate to obtain APP to be generated.
In addition, inventor is had found by many experiments, generated using to APP generation methods provided in an embodiment of the present invention APP only needs the time of a few minutes, highly shortened the generation APP generation cycle.
In addition, in order that semantics recognition model can identify to obtain the semanteme for more conforming to user view, the server Target semanteme can also be modified using adjustment information, it is semantic to obtain amendment.Then, using target text description information and Amendment is semantic, and semantics recognition model is modified.
For example, server receives position adjustment that user terminal is sent, being adjusted to the position for collecting clip module Information is:The position of clip module will be collected by lower left corner position adjustment to lower right position.So, the server can be utilized and is somebody's turn to do Adjustment information is modified to " collection for being located at the lower right corner " to obtained target semantic " collection ", so as to which it is semantic to obtain amendment " beautiful shop " and " collection for being located at the lower right corner ".Afterwards, target text description information is utilized:" opening one has collection Press from both sides the beautiful shop of function ", and amendment semanteme:" beautiful shop " and " collection for being located at the lower right corner " is come to the semanteme Identification model is modified.So as to so that revised semantics recognition model can identify to obtain to more conform to user view It is semantic.
APP generation methods provided in an embodiment of the present invention tool specific example is illustrated with reference to Fig. 2.
Referring to Fig. 2, APP generation methods provided in an embodiment of the present invention may include steps of:
S201:User logs in the client for generating APP;After logining successfully, APP to be generated voice description is inputted Information;Wherein, the client for being used to generate APP is mounted on the subscriber terminal;
S202:Client receives the voice description information, and the voice description information is converted into character description information, obtains To APP to be generated file destination description information;
S203:Client sends the target text description information to server;
S204:Server is known after the target text description information is received using the semantics recognition model of training in advance The not semanteme of the target text description information, obtain target semanteme;
S205:The default script of server by utilizing and semantic corresponding relation, find script corresponding to the target semanteme, Then the preset function code of script sensing is obtained;
S206:The default IDE of server calls is compiled to obtained preset function code;And to compiling Preset function code after translating is packed, and obtains APP to be generated installation kit;
S207:User terminal downloads the installation kit of the APP to be generated from the server, and installs this using the installation kit and treat Generate APP.
To sum up, using the embodiment of the present invention, APP to be generated installation kit can be quickly generated, it is to be generated to shorten generation Into APP cycle.In addition, it is not necessary that relying on substantial amounts of technical staff to generate APP to be generated, generation APP cost is reduced.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides a kind of application APP generating means, application In server, referring to Fig. 3, the device can include:
First obtains unit 301, for obtaining APP to be generated character description information, as target text description information;
Semantics recognition unit 302, for target text description information to be inputted to the semantics recognition model of training in advance, obtain It is semantic as target to the semanteme of target text description information;Wherein, semantics recognition model is used for:Identify APP word description The semanteme of information;
Second obtaining unit 303, for obtaining preset function code corresponding to target semanteme;
First compilation unit 304, for calling default IDE to be compiled preset function code;
Packaged unit 305, for being packed to the preset function code after compiling, obtain APP to be generated installation kit.
In embodiments of the present invention, server can obtain APP to be generated character description information, and this is acquired Character description information as target text description information.Then, the target text description information is inputted to training in advance and obtained To semantics recognition model in.It is thus possible to identify to obtain semanteme corresponding to the target text description information, and this is identified The semanteme arrived is semantic as target.Afterwards, preset function code corresponding to the target semanteme can be found, it is, can obtain To the source code for generating APP to be generated, the speed for the source code for obtaining APP to be generated is improved.Then, call default integrated Development environment is compiled to the preset function code, and to being packed to the preset function code after compiling, you can obtain Meet the target text description information, APP to be generated installation kit.So, APP to be generated installation can be quickly generated Bag, shortens the cycle for generating APP to be generated.In addition, it is not necessary that relying on substantial amounts of technical staff to generate APP to be generated, drop Low generation APP cost.
Alternatively, in embodiments of the present invention, the second obtaining unit 303 can include:
Determination subelement, for based on default semantic and script corresponding relation, determining script corresponding to target semanteme;
First obtains subelement, semantic corresponding as target for obtaining the preset function code for determining that script points to Preset function code.
Alternatively, in embodiments of the present invention, the device can also include:
Generation unit, for after calling default IDE to be compiled preset function code, utilizing The preview graph of preset function code building generation APP to be developed after compiling;
First transmitting element, for preview graph to be sent into user terminal;Wherein, APP to be generated is shown in preview graph Functional module;Functional module is based on preset function code building;
Receiving unit, for receiving the adjustment information of user terminal transmission;Wherein, adjustment information is:To APP's to be generated The information that functional module is adjusted;
Adjustment unit, preset function code is adjusted for responding adjustment information, obtains grooming function code;
Second compilation unit, for being compiled to grooming function code;
Correspondingly, packaged unit 305 specifically can be used for:
Grooming function code after compiling is packed, obtains APP to be generated installation kit.
Alternatively, adjustment information can include:Position adjustment information, color adjustment information, delete information and increase information At least one of.
Alternatively, in embodiments of the present invention, device can also include:
First amending unit, for being modified using adjustment information to target semanteme, it is semantic to obtain amendment;
Second amending unit, for using target text description information and amendment semanteme, being repaiied to semantics recognition model Just.
Alternatively, in embodiments of the present invention, first obtains unit 301 can include:
Second obtains subelement, for obtaining APP to be generated voice description information;
Conversion subunit, for voice description information to be converted into character description information, and the word being converted to is retouched Information is stated as target text description information.
Alternatively, in embodiments of the present invention, the device can also include:
Second transmitting element, for after APP to be generated installation kit is obtained, installation kit to be sent to user terminal.
Corresponding to above method embodiment and device embodiment, the embodiment of the present invention additionally provides a kind of server, referring to Fig. 4, the server can include processor 401, communication interface 402, memory 403 and communication bus 404, wherein, processor 401, communication interface 402, memory 403 completes mutual communication by communication bus 404;
Memory 403, for depositing computer program;
Processor 401, during for performing the program deposited on memory 403, realize any of the above-described application APP The method and step of generation method.
Server provided in an embodiment of the present invention can obtain APP to be generated character description information, and this is obtained The character description information arrived is as target text description information.Then, the target text description information is inputted to training in advance In obtained semantics recognition model.It is thus possible to identify to obtain semanteme corresponding to the target text description information, and this is identified Obtained semanteme is semantic as target.Afterwards, preset function code corresponding to the target semanteme can be found, it is, can be with The source code for generating APP to be generated is obtained, improves the speed for the source code for obtaining APP to be generated.Then, default collection is called IDE is compiled to the preset function code, and to being packed to the preset function code after compiling, you can obtain The target text description information, APP to be generated installation kit must be met.So, APP to be generated peace can be quickly generated Dress bag, shortens the cycle for generating APP to be generated.In addition, it is not necessary that substantial amounts of technical staff is relied on to generate APP to be generated, Reduce generation APP cost.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or EISA (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc..For just Only represented in expression, figure with a thick line, it is not intended that an only bus or a type of bus.
The communication that communication interface is used between above-mentioned electronic equipment and other equipment.
Memory can include random access memory (Random Access Memory, RAM), can also include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is application specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other PLDs, discrete Door or transistor logic, discrete hardware components.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides a kind of readable storage medium storing program for executing, the readable storage Dielectric memory contains computer program, realizes what any of the above-described embodiment of the method provided when computer program is executed by processor The method and step of application APP generation method.
The computing device of the computer program being serviced device stored in readable storage medium storing program for executing provided in an embodiment of the present invention Afterwards, APP to be generated character description information can be obtained, and the character description information that this is acquired is retouched as target text State information.Then, the target text description information is inputted in the semantics recognition model obtained to training in advance.It is thus possible to Identification obtains semantic corresponding to the target text description information and semantic using the semanteme that the identification obtains as target.Afterwards, may be used To find preset function code corresponding to the target semanteme, it is, being available for generating APP to be generated source code, carry The high speed of acquisition APP to be generated source code.Then, default IDE is called to carry out the preset function code Compiling, and to being packed to the preset function code after compiling, you can acquisition meets the target text description information, to be generated Into APP installation kit.So, APP to be generated installation kit can be quickly generated, shortens the cycle for generating APP to be generated. In addition, it is not necessary that relying on substantial amounts of technical staff to generate APP to be generated, generation APP cost is reduced.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides a kind of computer program production comprising instruction Product, when it runs on the server so that server performs:The application APP that any of the above-described embodiment of the method provides The method and step of generation method.
The computer program product provided in an embodiment of the present invention for including instruction, when it runs on the server so that Server can obtain APP to be generated character description information, and using the character description information that this is acquired as target text Word description information.Then, the target text description information is inputted in the semantics recognition model obtained to training in advance.So as to, It can identify to obtain semantic corresponding to the target text description information and semantic using the semanteme that the identification obtains as target.It Afterwards, preset function code corresponding to the target semanteme can be found, it is, being available for generating APP to be generated source Code, improve the speed for the source code for obtaining APP to be generated.Then, default IDE is called to the preset function generation Code is compiled, and to being packed to the preset function code after compiling, you can acquisition meets the target text description information , APP to be generated installation kit.So, APP to be generated installation kit can be quickly generated, shortens generation APP to be generated Cycle.In addition, it is not necessary that relying on substantial amounts of technical staff to generate APP to be generated, generation APP cost is reduced.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Other identical element also be present in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of related, identical similar portion between each embodiment Divide mutually referring to what each embodiment stressed is the difference with other embodiment.Especially for device, For server and readable storage medium storing program for executing embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, The relevent part can refer to the partial explaination of embodiments of method.
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 substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention It is interior.

Claims (10)

1. a kind of application APP generation method, it is characterised in that applied to server, methods described includes:
APP to be generated character description information is obtained, as target text description information;
The target text description information is inputted to the semantics recognition model of training in advance, obtains the target text description letter The semanteme of breath, it is semantic as target;Wherein, the semantics recognition model is used for:Identify the semanteme of APP character description information;
Obtain preset function code corresponding to the target semanteme;
Default IDE is called to be compiled the preset function code;
Preset function code after compiling is packed, obtains the installation kit of the APP to be generated.
2. according to the method for claim 1, it is characterised in that described to obtain preset function generation corresponding to the target semanteme The step of code, including:
Based on default semantic and script corresponding relation, script corresponding to the target semanteme is determined;
The preset function code for determining that script points to is obtained, as preset function code corresponding to the target semanteme.
3. according to the method for claim 1, it is characterised in that calling default IDE to the default work( After energy code is compiled, methods described also includes:
Using the preview graph of generation APP to be developed described in the preset function code building after compiling, and the preview graph is sent To user terminal;Wherein, the functional module of the APP to be generated is shown in the preview graph;The functional module is to be based on The preset function code building;
Receive the adjustment information that user terminal is sent;Wherein, the adjustment information is:To the functional module of the APP to be generated The information being adjusted;
Respond the adjustment information to be adjusted the preset function code, obtain grooming function code;
The grooming function code is compiled;
Function code after described pair of compiling is packed, the step of obtaining the installation kit of the APP to be generated, including:
Grooming function code after compiling is packed, obtains the installation kit of the APP to be generated.
4. according to the method for claim 3, it is characterised in that the adjustment information includes:Position adjustment information, color are adjusted Whole information, delete at least one of information and increase information.
5. the method according to claim 3 or 4, it is characterised in that methods described also includes:
The target semanteme is modified using the adjustment information, it is semantic to obtain amendment;
It is semantic using the target text description information and the amendment, the semantics recognition model is modified.
6. according to the method any one of claim 1-4, it is characterised in that the word for obtaining APP to be generated is retouched Information is stated, is included as the step of target text description information:
Obtain APP to be generated voice description information;
The voice description information is converted into character description information, and using the character description information being converted to as target text Word description information.
7. according to the method any one of claim 1-4, it is characterised in that obtaining the installation of the APP to be generated After bag, methods described also includes:
The installation kit is sent to user terminal.
8. a kind of application APP generating means, it is characterised in that applied to server, described device includes:
First obtains unit, for obtaining APP to be generated character description information, as target text description information;
Semantics recognition unit, for the target text description information to be inputted to the semantics recognition model of training in advance, obtain The semanteme of the target text description information, it is semantic as target;Wherein, the semantics recognition model is used for:Identify APP text The semanteme of word description information;
Second obtaining unit, for obtaining preset function code corresponding to the target semanteme;
First compilation unit, for calling default IDE to be compiled the preset function code;
Packaged unit, for being packed to the preset function code after compiling, obtain the installation kit of the APP to be generated.
A kind of 9. server, it is characterised in that including processor, communication interface, memory and communication bus, wherein, processor, Communication interface, memory complete mutual communication by communication bus;
Memory, for depositing computer program;
Processor, during for performing the program deposited on memory, realize any described method and steps of claim 1-7.
10. a kind of readable storage medium storing program for executing, it is characterised in that the readable storage medium storing program for executing internal memory contains computer program, the meter Calculation machine program realizes claim 1-7 any described method and steps when being executed by processor.
CN201710908702.3A 2017-09-29 2017-09-29 A kind of application program generation method, device, server and readable storage medium storing program for executing Pending CN107783763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710908702.3A CN107783763A (en) 2017-09-29 2017-09-29 A kind of application program generation method, device, server and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710908702.3A CN107783763A (en) 2017-09-29 2017-09-29 A kind of application program generation method, device, server and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN107783763A true CN107783763A (en) 2018-03-09

Family

ID=61434352

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710908702.3A Pending CN107783763A (en) 2017-09-29 2017-09-29 A kind of application program generation method, device, server and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN107783763A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111933126A (en) * 2019-05-13 2020-11-13 阿里巴巴集团控股有限公司 Voice compiling method and device, electronic equipment and computer readable storage medium
CN112130814A (en) * 2020-08-06 2020-12-25 亿存(北京)信息科技有限公司 Project construction method and device and electronic equipment
CN112614509A (en) * 2020-12-11 2021-04-06 北京读我网络技术有限公司 Method and device for generating voice evaluation installation package and executing voice evaluation
CN112711409A (en) * 2019-10-25 2021-04-27 杭州海康威视数字技术股份有限公司 Application program development and operation method and system and intelligent analysis equipment
WO2021088687A1 (en) * 2019-11-08 2021-05-14 Oppo广东移动通信有限公司 Hotspot compilation unit determining method and apparatus, and server
CN118227096A (en) * 2024-05-20 2024-06-21 浙江口碑网络技术有限公司 Development task arrangement method and device based on large model

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070055965A1 (en) * 2005-05-25 2007-03-08 Colyer Adrian M Generating An Application Software Library
CN101477467A (en) * 2008-12-08 2009-07-08 山东浪潮齐鲁软件产业股份有限公司 Project code releasing method
US7823123B2 (en) * 2004-07-13 2010-10-26 The Mitre Corporation Semantic system for integrating software components
CN103135979A (en) * 2011-12-05 2013-06-05 中国移动通信集团广东有限公司 Method, device and system for generating terminal applications
CN106776564A (en) * 2016-12-21 2017-05-31 张永成 The method for recognizing semantics and system of a kind of knowledge based collection of illustrative plates
CN107066246A (en) * 2016-12-27 2017-08-18 深圳虚觅者科技有限公司 A kind of software development methodology and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7823123B2 (en) * 2004-07-13 2010-10-26 The Mitre Corporation Semantic system for integrating software components
US20070055965A1 (en) * 2005-05-25 2007-03-08 Colyer Adrian M Generating An Application Software Library
CN101477467A (en) * 2008-12-08 2009-07-08 山东浪潮齐鲁软件产业股份有限公司 Project code releasing method
CN103135979A (en) * 2011-12-05 2013-06-05 中国移动通信集团广东有限公司 Method, device and system for generating terminal applications
CN106776564A (en) * 2016-12-21 2017-05-31 张永成 The method for recognizing semantics and system of a kind of knowledge based collection of illustrative plates
CN107066246A (en) * 2016-12-27 2017-08-18 深圳虚觅者科技有限公司 A kind of software development methodology and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111933126A (en) * 2019-05-13 2020-11-13 阿里巴巴集团控股有限公司 Voice compiling method and device, electronic equipment and computer readable storage medium
CN112711409A (en) * 2019-10-25 2021-04-27 杭州海康威视数字技术股份有限公司 Application program development and operation method and system and intelligent analysis equipment
CN112711409B (en) * 2019-10-25 2024-06-04 杭州海康威视数字技术股份有限公司 Application program development and operation method, system and intelligent analysis equipment
WO2021088687A1 (en) * 2019-11-08 2021-05-14 Oppo广东移动通信有限公司 Hotspot compilation unit determining method and apparatus, and server
CN112130814A (en) * 2020-08-06 2020-12-25 亿存(北京)信息科技有限公司 Project construction method and device and electronic equipment
CN112614509A (en) * 2020-12-11 2021-04-06 北京读我网络技术有限公司 Method and device for generating voice evaluation installation package and executing voice evaluation
CN112614509B (en) * 2020-12-11 2022-11-01 北京读我网络技术有限公司 Method and device for generating voice evaluation installation package and executing voice evaluation
CN118227096A (en) * 2024-05-20 2024-06-21 浙江口碑网络技术有限公司 Development task arrangement method and device based on large model
CN118227096B (en) * 2024-05-20 2024-08-16 浙江口碑网络技术有限公司 Development task arrangement method and device based on large model

Similar Documents

Publication Publication Date Title
CN107783763A (en) A kind of application program generation method, device, server and readable storage medium storing program for executing
CN111261144B (en) Voice recognition method, device, terminal and storage medium
CN111145737B (en) Voice test method and device and electronic equipment
WO2019174422A1 (en) Method for analyzing entity association relationship, and related apparatus
CN107944025A (en) Information-pushing method and device
CN104750795A (en) Intelligent semantic searching system and method
CN109753663B (en) Customer emotion grading method and device
KR101666930B1 (en) Target speaker adaptive voice conversion method using deep learning model and voice conversion device implementing the same
CN110244941B (en) Task development method and device, electronic equipment and computer readable storage medium
CN107609047A (en) Application recommendation method and device, mobile device and storage medium
CN110532107B (en) Interface calling method, device, computer equipment and storage medium
CN114035805A (en) Code conversion method, apparatus, medium, and device for pre-compiler
CN113408254A (en) Page form information filling method, device, equipment and readable medium
CN109346079A (en) Voice interactive method and device based on Application on Voiceprint Recognition
CN109688271A (en) The method, apparatus and terminal device of contact information input
CN113435862A (en) Bill processing method and device based on mailbox
CN105408894A (en) Method and device for determining user identity category
CN113360300B (en) Interface call link generation method, device, equipment and readable storage medium
CN104424944A (en) Information processing method and electronic device
CN110335626A (en) Age recognition methods and device, storage medium based on audio
CN109446078A (en) Code test method and device, storage medium, electronic equipment
CN108255898A (en) Page display method and device
CN111967269B (en) Business risk identification method and device and electronic equipment
CN109660672A (en) Conversion method, equipment and the computer readable storage medium of sound-type
CN106897052A (en) APK file compression method and device

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
TA01 Transfer of patent application right

Effective date of registration: 20190611

Address after: Room 1101, Santai Commercial Building, 139 Connaught Road, Hong Kong, China

Applicant after: Hong Kong Lemi Co., Ltd.

Address before: Kamana Bay

Applicant before: Happy honey Company Limited

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210527

Address after: 25, 5th floor, shuangjingfang office building, 3 frisha street, Singapore

Applicant after: Zhuomi Private Ltd.

Address before: Room 1101, Santai Commercial Building, 139 Connaught Road, Hong Kong, China

Applicant before: HONG KONG LIVE.ME Corp.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20180309

RJ01 Rejection of invention patent application after publication