Movatterモバイル変換


[0]ホーム

URL:


CN113760248B - A method and device for generating an application program - Google Patents

A method and device for generating an application program
Download PDF

Info

Publication number
CN113760248B
CN113760248BCN202010653297.7ACN202010653297ACN113760248BCN 113760248 BCN113760248 BCN 113760248BCN 202010653297 ACN202010653297 ACN 202010653297ACN 113760248 BCN113760248 BCN 113760248B
Authority
CN
China
Prior art keywords
template
code
packaging
codes
data
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.)
Active
Application number
CN202010653297.7A
Other languages
Chinese (zh)
Other versions
CN113760248A (en
Inventor
崔宏宝
刘登勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co LtdfiledCriticalBeijing Jingdong Century Trading Co Ltd
Priority to CN202010653297.7ApriorityCriticalpatent/CN113760248B/en
Publication of CN113760248ApublicationCriticalpatent/CN113760248A/en
Application grantedgrantedCritical
Publication of CN113760248BpublicationCriticalpatent/CN113760248B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention discloses a method and a device for generating an application program, and relates to the technical field of computers. One embodiment of the method comprises the steps of responding to selection operation of a first template, determining template components corresponding to the first template, retrieving codes corresponding to the template components from a code base, converting identification, names and mapping objects of the first template into preset format data, packaging the preset format data and the codes, obtaining a code package corresponding to the first template, and outputting the code package to generate an application program through the code package. According to the method, a set of platform for quickly generating App is built for personnel with low research and development capability, the whole operation is simple and easy, the research and development efficiency is greatly improved according to different templates of different operating systems, and the research and development threshold and cost investment are reduced.

Description

Method and device for generating application program
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for generating an application program.
Background
With the rapid development of the internet, the mobile terminal APP is gradually integrated into the life of people. At present, development of the APP at the mobile terminal is carried out based on local respective languages, such as an iOS system uses OC (shorthand for objective-c) and Swift language, an Android system uses java, kotlen language and the like, and REACT NATIVE and Flutter frameworks of cross-platform development are also derived.
However, the existing REACT NATIVE and Flutter frameworks and optimization of language levels such as Swift and Kotlin have technical thresholds, namely, the research and development staff are required to have certain research and development capability, and the research and development team also needs to consume large manpower and time cost in the research and development process.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for generating an application program, which at least can solve the problem in the prior art that developing an APP requires a developer to develop an ability.
To achieve the above object, according to one aspect of an embodiment of the present invention, there is provided a method of generating an application program, including:
In response to a selection operation of a first template, determining a template component corresponding to the first template, and retrieving codes corresponding to the template components from a code base;
Converting the identification, the name and the mapping object of the first template into data in a preset format, wherein the mapping object records the template information of the first template;
And packaging the data in the preset format and the codes, obtaining a code package corresponding to the first template and outputting the code package so as to generate an application program through the code package.
Optionally, the determining the template component corresponding to the first template, retrieving codes corresponding to the template components from a code library, and further comprising displaying attribute information corresponding to the template components, generating a second template in response to a deleting operation of the template components and/or a changing operation of attribute values in the attribute information, and adjusting the codes;
The method for converting the identification, the name and the mapping object of the first template into the predetermined format data comprises the steps of receiving the input of the identification and the name of the second template, creating the mapping object, and converting the input identification, the name and the created mapping object into the predetermined format data;
And packaging the data with the preset format and the codes to obtain a code package corresponding to the first template and outputting the code package.
Optionally, the converting the identifier, the name and the mapping object of the first template into predetermined format data further includes:
responding to the click operation of the dependency relationship, acquiring and displaying a template list associated with the first template according to the identification, receiving the selection operation of a third template in the template list, taking the third template as the next template of the first template, and
Converting the identification, the name and the mapping object of the third template into data in a preset format;
The method comprises the steps of packaging the preset format data of a first template, the preset format data of a third template, codes corresponding to all template components in the first template and codes corresponding to all template components in the third template, generating a code package and outputting the code package, wherein the preset format data of the first template comprises identification of the third template.
Optionally, before determining a template component corresponding to the first template in response to a selection operation on the first template, the method further comprises the steps of responding to a selection operation on an operating system, extracting a template list corresponding to the operating system and displaying the template list, wherein the operating system is an android system, an iOS system or a third party system;
Retrieving codes corresponding to the template components from a code library, including retrieving codes corresponding to the operating system and the template components from the code library;
the packaging of the predetermined format data and the code includes packaging the predetermined format data and the code based on a packaging manner corresponding to the operating system.
To achieve the above object, according to another aspect of an embodiment of the present invention, there is provided an apparatus for generating an application program, including:
a selection module, configured to determine a template component corresponding to a first template in response to a selection operation on the first template, and retrieve codes corresponding to the template components from a code library;
the conversion module is used for converting the identification, the name and the mapping object of the first template into data in a preset format, wherein the mapping object records the template information of the first template;
And the packaging module is used for packaging the data in the preset format and the codes, obtaining and outputting code packages corresponding to the first templates, and generating application programs through the code packages.
Optionally, the selection module is further configured to display attribute information corresponding to the template component, generate a second template in response to a deletion operation of the template component and/or a modification operation of an attribute value in the attribute information, and adjust the code;
The conversion module is used for receiving the input of the identification and the name of the second template, creating a mapping object and converting the input identification, the name and the created mapping object into data in a preset format;
and the packing module is used for packing the data with the preset format and the adjusted codes to obtain and output code packages corresponding to the second templates.
Optionally, the conversion module is further configured to:
responding to the click operation of the dependency relationship, acquiring and displaying a template list associated with the first template according to the identification, receiving the selection operation of a third template in the template list, taking the third template as the next template of the first template, and
Converting the identification, the name and the mapping object of the third template into data in a preset format;
The packaging module is further used for packaging the preset format data of the first template, the preset format data of the third template, codes corresponding to all template components in the first template and codes corresponding to all template components in the third template, generating a code package and outputting the code package, wherein the preset format data of the first template comprises the identification of the third template.
Optionally, the system further comprises an extraction module, a template list and a template extraction module, wherein the extraction module is used for responding to the selection operation of an operating system and extracting and displaying a template list corresponding to the operating system, and the operating system is an android system, an iOS system or a third party system;
the selection module is used for retrieving codes corresponding to the operating system and each template component from a code library;
the packaging module is used for packaging the data with the preset format and the codes based on a packaging mode corresponding to the operating system.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided an electronic device that generates an application program.
The electronic device comprises one or more processors and a storage device, wherein the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are enabled to realize the method for generating the application program.
To achieve the above object, according to still another aspect of the embodiments of the present invention, there is provided a computer-readable medium having stored thereon a computer program which, when executed by a processor, implements any of the above-described methods of generating an application program.
According to the scheme provided by the invention, one embodiment of the invention has the advantage or beneficial effect that the development of the fixed template and the template assembly is carried out in the early stage by a research and development team, so that a multi-terminal SDK library is built. On the basis, a visual online editor is built for a user, so that the user can configure a template component and change the attribute of the template independently, and the user can assemble and package codes configured in an SDK library to generate apps applicable to different operating systems.
Further effects of the above-described non-conventional alternatives are described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a main flow diagram of a method of generating an application according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a multiple operating system generating code packages;
FIG. 3 is a schematic diagram of an online editor interface of an embodiment of the invention;
FIG. 4 is a flow diagram of an alternative method of generating an application according to an embodiment of the invention;
FIG. 5 is a schematic diagram of the main modules of an apparatus for generating an application according to an embodiment of the present invention;
FIG. 6 is an exemplary system architecture diagram in which embodiments of the present invention may be applied;
Fig. 7 is a schematic diagram of a computer system suitable for use in implementing a mobile device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Referring to fig. 1, a main flowchart of a method for generating an application program according to an embodiment of the present invention is shown, including the following steps:
S101, responding to a selection operation of a first template, determining a template component corresponding to the first template, and retrieving codes corresponding to the template components from a code library;
S102, converting the identification, the name and the mapping object of the first template into preset format data, wherein the mapping object records the template information of the first template;
and S103, packaging the data with the preset format and the codes, obtaining a code package corresponding to the first template and outputting the code package so as to generate an application program through the code package.
In the above embodiment, for step S101, the development of the common templates and the template components (i.e., UI-sliced components) is performed in advance for different operating systems in the early stage by the development team, and a multi-terminal SDK (Software Development Kit ) library is built, as shown in fig. 2. For example, the page template, the Android system page template 1, the iOS system page template 2, and the third party system (e.g. windows, phone) page template 3, after the user selects the Android system, the page template 1 is displayed.
The scheme also builds an online editor, as shown in fig. 3, and comprises a template online preview area, a UI element component selection area and a template attribute editing area, wherein the template online preview area, the UI element component selection area and the template attribute editing area are used for a user to select a template (i.e., a first template), configure a template component and attribute information of the template component. For example, after the user selects the template "text_info" in the template online preview area, the middle part of the interface displays the template preview, the upper left corner displays the template components required by the template "text_info", and the upper right corner displays the attribute information corresponding to the template components, including the attribute name and the attribute value.
Codes of all the template components are stored in the SDK library in advance, and codes corresponding to the selected operating system and the template components can be directly retrieved from the SDK library when attribute information of the template components and the template components is not changed. However, after the template component and the attribute information thereof are changed, the code thereof needs to be adapted, and the description is specifically referred to in the following fig. 4.
For step S102, after the first template and the template component are selected, json data in a fixed format is output, wherein [ { "id": "id", "name": "name", "event_next_id": "id", "data": "{ }" ].
Wherein, each field has the following meaning:
id Template ID
NameTemplate name
event_next_idThe next template ID for handoff
DataData required by templates
If the user selects only one template, the event_next_id here is a default value, e.g., 0. However, if the user needs to select a template again after the configuration of the current first template is finished, for example, multiple templates are needed for interface switching, the dependency options can be clicked. The device determines a template list with an association relation/dependency relation based on the identification of the first template for selection by a user in response to the operation of the user. For example, a third template in the template list is selected as the next template of the first template, and the ID of the third template is taken as the value of event_next_id.
It should be noted that, some templates do not have a direct association relationship, for example, the template 4 corresponds to a shopping interface, and the template 5 corresponds to a pet raising interface, so that the association template list of the template 4 does not include the template 5.
Each template parses the data content contained in the data according to different services, which also requires that each template contains a mapping object T of a data relationship for recording the template information. And reflecting the data out of the mapping object T by utilizing JSON analysis tools related to each platform so as to complete business logic. The pseudo code is as follows:
public T parseData(String data){
return jsonUtil.parse(data);
}
For step S103, after completing the json data format conversion and obtaining the codes of the template component, the codes of the Android system and the iOS system are assembled and packaged through gradle and macro definition.
1. The Android system sets the java and res resource catalogs in sourceSets through gradle:
sourceSets{
java.dirs=[Template1/java,Template2/java]
res.dirs=[Template1/res,Template2/res]
}
After the code engineering is assembled, the engineering is constructed and output through a CI (Continuous Integration, continuous construction) platform and a gradle script, wherein the CI belongs to the existing construction tool and is not innovated.
2. The iOS system sets the source_file and sources resource directory by configuration podspec
se.run(){|root|
# Source code file
s.source_files="#{root}/Template1/*.{h,m,mm,cpp,hpp}","#{root}/T emplate1/**/*.{h,m,mm,cpp,hpp}"
Resource setting
s.resources="#{root}/Template/Assets/*.*"
}
If the number of templates selected by the user is plural, then the template is packed with json format data of each template and the code of the template component. For example, json data for the first template, json data for the third template, code for each template component in the first template, and code for each template component in the third template.
According to the method provided by the embodiment, a set of platform for rapidly generating the App is built for people with low research and development capability, the whole operation is simple and easy to implement, the research and development efficiency is greatly improved for different templates of different operating systems, and the research and development cost of a team is reduced while the research and development threshold is reduced.
Referring to FIG. 4, an alternative method flow diagram of generating an application program according to an embodiment of the invention is shown, comprising the steps of:
s401, determining a template component corresponding to a first template in response to a selection operation of the first template, and displaying attribute information corresponding to the template component;
s402, generating a second template in response to a deleting operation of the template component and/or a changing operation of an attribute value in the attribute information, and adjusting codes corresponding to the template components retrieved from a code base;
S403, receiving the input of the identification and the name of the second template, creating a mapping object, and converting the input identification, the name and the created mapping object into data in a preset format;
S404, packaging the data with the preset format and the adjusted codes, obtaining a code package corresponding to the second template and outputting the code package so as to generate an application program through the code package.
In the above embodiment, for steps S401 and S402, referring also to fig. 3, the online editor includes a template online preview area, a UI-component selection area, and a template property editing area. After the user selects the template 'text_info' in the online preview area of the template, the upper left corner of the interface displays a template component corresponding to the template 'text_info', and the upper right corner displays attribute information corresponding to the template component, including attribute names and attribute values.
The user can edit and configure the template components in the UI element component selection area, and the first template is determined, so that the edit and configuration of the template components can only be deleting operation, and the attribute information is changed only by changing the attribute value, but if a template component is deleted, the corresponding attribute information is adaptively deleted. In addition, the initial time of the attribute value is a default value, and the user can not change the attribute value beyond a certain range.
After the template component and/or attribute information of the first template is changed, the state of the template component and/or attribute information may be different from that of the original first template, and the changed first template is set as a second template for distinguishing the template component and/or attribute information from the original first template. After the second template is generated, the code is adaptively adjusted at this time due to the modification of the template component and the attribute information, for example, the template component 1 in the original first template is deleted, the code of the template component 1 is not required to be acquired later, the attribute value of the template component 2 is modified from "Null" to "3", and the corresponding code is also required to be adaptively modified.
For steps S403 and S404, the subsequent json format data conversion and code packaging are performed based on the second template.
The identity and name of the second template may be user-defined or may be generated based on the first template. For example, the name of the first template is text_info, and the name of the corresponding second template is text_info_1, and the same is identified. The mapping object created for the second template may be adapted from copying the mapping object of the first template.
In the method provided by the embodiment, for the selected template, the user can change the template component and the attribute information according to own requirements, so that a personalized template is obtained.
The example is described herein with respect to a splash screen interface and a headpage of an e-commerce platform. Firstly, a research and development team establishes two configurable templates for an Android system and an iOS system respectively, wherein the template 1 comprises a splash screen interface base map, logo, text information, splash screen interface residence time and attribute configuration after splash screen is finished, and the template 2 comprises a head bar button icon and text, corresponding click attributes, a bottom navigation button icon and text and corresponding click attribute configuration. Random template IDs (which may also be user-defined) are generated for template 1 and template 2.
A visual online editor is built, and a user can select a template and configure the template in the editor, such as a base map link, logo, text, a splash screen stay time, event configuration after the splash screen is finished and the like in a splash screen template. After the user finishes the operation, outputting the ID, the name, the mapping object and the next template ID of the template in json format, and retrieving codes corresponding to the template components from the SDK library.
The specific export format is (including partial information of template 1 and template 2, and template 2 is the next template to template 1):
[{"id":"1","name":"Splash","event_next_id":"2","data":"{\"duration\":\"1000\",\"background\":\"background.jpg\",\"logo\":\"logo.jpg\"}"},{"id":"2","name":"Index","event_next_id":"2","data":"{\"banner\":[{\"icon\":\"i con1.jpg\",\"desc\":\" E-commerce platform supermarket
"Event_next" "3" }, { "icon" "icon2. Jpg", "desc" "digital electrical appliance
"Event_next": "4" }, "menu" [ { icon ":" icon1.Jpg "," desc ":" E-commerce platform supermarket
\ ", \" Event_next\ ":" X\ "}, { \" icon\ ":" icon2.Jpg "," desc "," digital appliance "," event_next "," X "} ] }", and the like
According to the configuration information, the template component corresponding to the template 1 and the code corresponding to the template component of the template 2 are selected from the Android system and the iOS system respectively to be combined, and then the packing tools of the operating systems are utilized to carry out packing output.
According to the scheme, a multi-terminal SDK library is built by developing a fixed template and a template component in an initial stage through a research and development team. On the basis, a visual online editor is built for a user, so that the user can configure a template component and change the attribute of the template independently, and the user can assemble and package codes configured in an SDK library to generate apps applicable to different operating systems.
Referring to fig. 5, a schematic diagram of main modules of an apparatus 500 for generating an application according to an embodiment of the present invention is shown, including:
a selection module 501, configured to determine a template component corresponding to a first template in response to a selection operation on the first template, and retrieve codes corresponding to the template components from a code library;
The conversion module 502 is configured to convert the identifier, the name and the mapping object of the first template into predetermined format data, where the mapping object records template information of the first template;
And the packing module 503 is configured to pack the predetermined format data and the code, obtain a code packet corresponding to the first template, and output the code packet, so as to generate an application program through the code packet.
In the embodiment of the present invention, the selection module 501 is further configured to display attribute information corresponding to the template component, generate a second template in response to a deletion operation of the template component and/or a modification operation of an attribute value in the attribute information, and adjust the code;
the conversion module 502 is configured to receive an input of an identifier and a name of the second template, create a mapping object, and convert the input identifier, name, and created mapping object into predetermined format data;
The packing module 503 is configured to pack the predetermined format data and the adjusted code, obtain a code packet corresponding to the second template, and output the code packet.
In the embodiment of the present invention, the conversion module 502 is further configured to:
responding to the click operation of the dependency relationship, acquiring and displaying a template list associated with the first template according to the identification, receiving the selection operation of a third template in the template list, taking the third template as the next template of the first template, and
Converting the identification, the name and the mapping object of the third template into data in a preset format;
the packaging module 503 is further configured to package predetermined format data of a first template, predetermined format data of a third template, codes corresponding to each template component in the first template, and codes corresponding to each template component in the third template, generate a code package, and output the code package, where the predetermined format data of the first template includes an identifier of the third template.
The implementation device of the present invention further includes an extraction module 504 (not shown in the figure) configured to extract and display a template list corresponding to an operating system in response to a selection operation of the operating system, where the operating system is an android system, an iOS system, or a third party system;
The selection module 501 is configured to retrieve codes corresponding to the operating system and each template component from a code library;
The packing module 503 is configured to pack the predetermined format data and the code based on a packing manner corresponding to the operating system.
In addition, the implementation of the apparatus in the embodiments of the present invention has been described in detail in the above method, so that the description is not repeated here.
Fig. 6 illustrates an exemplary system architecture 600 in which embodiments of the present invention may be applied.
As shown in fig. 6, the system architecture 600 may include terminal devices 601, 602, 603, a network 604, and a server 605 (by way of example only). The network 604 is used as a medium to provide communication links between the terminal devices 601, 602, 603 and the server 605. The network 604 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 605 via the network 604 using the terminal devices 601, 602, 603 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 601, 602, 603.
The terminal devices 601, 602, 603 may be various electronic devices having a display screen and supporting web browsing, and the server 605 may be a server providing various services.
It should be noted that, the method provided by the embodiment of the present invention is generally performed by the server 605, and accordingly, the apparatus is generally disposed in the server 605.
It should be understood that the number of terminal devices, networks and servers in fig. 6 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 7, there is illustrated a schematic diagram of a computer system 700 suitable for use in implementing an embodiment of the present invention. The terminal device shown in fig. 7 is only an example, and should not impose any limitation on the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the system 700 are also stored. The CPU 701, ROM 702, and RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Connected to the I/O interface 705 are an input section 706 including a keyboard, a mouse, and the like, an output section 707 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like, a storage section 708 including a hard disk, and the like, and a communication section 709 including a network interface card such as a LAN card, a modem, and the like. The communication section 709 performs communication processing via a network such as the internet. The drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read therefrom is mounted into the storage section 708 as necessary.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 709, and/or installed from the removable medium 711. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 701.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of a computer-readable storage medium may include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules involved in the embodiments of the present invention may be implemented in software or in hardware. The described modules may also be provided in a processor, for example, a processor may be described as including a selection module, a conversion module, and a packaging module. The names of these modules do not constitute a limitation on the module itself in some cases, and for example, the packaging module may also be described as a "packaging code package module".
As a further aspect, the invention also provides a computer readable medium which may be comprised in the device described in the above embodiments or may be present alone without being fitted into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to include:
In response to a selection operation of a first template, determining a template component corresponding to the first template, and retrieving codes corresponding to the template components from a code base;
Converting the identification, the name and the mapping object of the first template into data in a preset format, wherein the mapping object records the template information of the first template;
And packaging the data in the preset format and the codes, obtaining a code package corresponding to the first template and outputting the code package so as to generate an application program through the code package.
According to the technical scheme of the embodiment of the invention, a multi-terminal SDK library is established by developing a fixed template and a template component in the initial stage by a research and development team. On the basis, a visual online editor is built for a user, so that the user can configure a template component and change the attribute of the template independently, and the user can assemble and package codes configured in an SDK library to generate apps applicable to different operating systems.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (8)

CN202010653297.7A2020-07-082020-07-08 A method and device for generating an application programActiveCN113760248B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010653297.7ACN113760248B (en)2020-07-082020-07-08 A method and device for generating an application program

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010653297.7ACN113760248B (en)2020-07-082020-07-08 A method and device for generating an application program

Publications (2)

Publication NumberPublication Date
CN113760248A CN113760248A (en)2021-12-07
CN113760248Btrue CN113760248B (en)2025-01-14

Family

ID=78785517

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010653297.7AActiveCN113760248B (en)2020-07-082020-07-08 A method and device for generating an application program

Country Status (1)

CountryLink
CN (1)CN113760248B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114461358B (en)*2021-12-222024-11-15阿里巴巴(中国)有限公司 Service processing method and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110727431A (en)*2019-09-172020-01-24阿里巴巴集团控股有限公司Applet generation method and apparatus

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103176785A (en)*2011-12-262013-06-26中国电信股份有限公司Widget application online implement system and method
JP6588988B2 (en)*2015-10-282019-10-09株式会社日立製作所 Business program generation support system and business program generation support method
US10769113B2 (en)*2016-03-252020-09-08Microsoft Technology Licensing, LlcAttribute-based dependency identification for operation ordering
US10108399B1 (en)*2016-08-252018-10-23Worldplay, LLCSystems and methods for translating data read from proxy APIs into computing code
CN107579851A (en)*2017-09-142018-01-12郑州云海信息技术有限公司 Method and device for determining the execution order of resource orchestration templates
CN108170656B (en)*2017-12-282021-09-07创新先进技术有限公司Template creating method, document creating method, rendering method and rendering device
CN110955418A (en)*2019-12-132020-04-03中国南方电网有限责任公司 Code generation method, apparatus, computer equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110727431A (en)*2019-09-172020-01-24阿里巴巴集团控股有限公司Applet generation method and apparatus

Also Published As

Publication numberPublication date
CN113760248A (en)2021-12-07

Similar Documents

PublicationPublication DateTitle
CN107832045B (en)Method and apparatus for cross programming language interface conversion
CN109918607B (en)Page construction method and device, medium and computing equipment
CN113504908A (en)Business code generation method and device, electronic equipment and computer readable medium
US20210333984A1 (en)Method and apparatus for generating customized visualization component
CN109725901A (en)Development approach, device, equipment and the computer storage medium of front-end code
CN104731589A (en)Automatic generation method and device of user interface (UI)
CA3061623C (en)File sending in instant messaging applications
CN110795181A (en)Application program interface display method and device based on skip protocol and electronic equipment
CN110851211A (en)Method, apparatus, electronic device, and medium for displaying application information
CN110780874B (en)Method and device for generating information
CN110543297A (en)method and apparatus for generating source code
CN113918194B (en) A method, device, electronic device and storage medium for displaying page components
CN113486635A (en)Document editing method and device, electronic equipment and computer readable medium
CN116569165A (en) Page display method, device, storage medium and electronic equipment
CN112947900A (en)Web application development method and device, server and development terminal
CN113220381A (en)Click data display method and device
CN113495730B (en) Resource package generation and parsing method and device
CN115469849B (en)Service processing system, method, electronic equipment and storage medium
CN113760248B (en) A method and device for generating an application program
CN111124541A (en)Configuration file generation method, device, equipment and medium
CN112905164B (en)Project code processing method and device
CN110096392B (en)Method and device for outputting information
CN113806596B (en)Operation data management method and related device
CN113704593B (en)Operation data processing method and related device
CN115983230A (en)Word document generation method and device based on JSON data

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp