CN110928539B - Code engineering generation method and device, electronic equipment and readable storage medium - Google Patents

Code engineering generation method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN110928539B
CN110928539B CN201911144556.7A CN201911144556A CN110928539B CN 110928539 B CN110928539 B CN 110928539B CN 201911144556 A CN201911144556 A CN 201911144556A CN 110928539 B CN110928539 B CN 110928539B
Authority
CN
China
Prior art keywords
page
project
tool
user
code
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
CN201911144556.7A
Other languages
Chinese (zh)
Other versions
CN110928539A (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 Urban Network Neighbor Information Technology Co Ltd
Original Assignee
Beijing Urban Network Neighbor 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 Urban Network Neighbor Information Technology Co Ltd filed Critical Beijing Urban Network Neighbor Information Technology Co Ltd
Priority to CN201911144556.7A priority Critical patent/CN110928539B/en
Publication of CN110928539A publication Critical patent/CN110928539A/en
Application granted granted Critical
Publication of CN110928539B publication Critical patent/CN110928539B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a code engineering generation method, a code engineering generation device, electronic equipment and a storage medium, and aims to enable code engineering of the same set of tool projects to be applied to different project environments after conversion, avoid redevelopment of code engineering of a set of tool projects which are adaptive to the project environments, and save labor and time. The method is applied to a development tool, and comprises the following steps: the method comprises the steps of obtaining a code project of a tool project generated through a development tool, obtaining project environment information input by a user on an operation interface of the development tool, reading conversion codes corresponding to the project environment information, wherein the development tool stores the conversion codes corresponding to different project environment information in advance, converting the code project of the tool project by using the conversion codes, and generating a code project of a target project adaptive to the project environment information.

Description

Code engineering generation method and device, electronic equipment and readable storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a code engineering generation method and apparatus, an electronic device, and a readable storage medium.
Background
The invention of the Internet display page (World Wide Web, Web) technology is a technology developed along with the popularization and use of the Internet, and the invention of the Internet display page technology greatly facilitates the organization and access of people to resources on the Internet. The development of the Web front-end technology can be divided into two parts, namely UI restoration and event processing, wherein the UI restoration is the development of an operation interface seen by a user, and the logic processing is the development of a series of events of a page.
In the prior art, for both the UI restoration and the event processing, a front-end developer needs to write a large amount of codes, the development efficiency is low, and although some visualization tools for webpage development exist in the current market, the front-end page can be quickly built by using a dragging mode and advanced editing in the content aspect is carried out, but the front-end page cannot be used at multiple ends and the actual situation cannot be met far away.
Disclosure of Invention
The embodiment of the invention provides a code engineering generation method, a code engineering generation device, electronic equipment and a readable storage medium, and aims to avoid redeveloping a set of code engineering of a tool project adaptive to a project environment and save labor and time.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a code engineering generation method, which is applied to a development tool, and the method includes:
obtaining a code project of a tool project generated by the development tool;
acquiring project environment information input by a user on an operation interface of the development tool;
inquiring the corresponding relation between the project environment information and the conversion codes stored by the development tool according to the project environment information, and obtaining the conversion codes corresponding to the project environment information according to the corresponding relation; the conversion code is a code which is used for debugging in the project environment identified by the project environment information by adopting a pre-configured code project under the tool project and is acquired for coordinating the code project in the project environment and the project environment adaptation relation;
and converting the code engineering of the tool project by using the conversion codes to generate the code engineering of the target project adaptive to the project environment information.
Optionally, converting the code engineering of the tool project by using the conversion code to generate a code engineering of a target project adapted to the project environment information, including:
extracting object code with the same meaning as the conversion code representation from the code engineering of the tool project;
and replacing the target code with the conversion code to generate a code project of the target project matched with the project environment information.
Optionally, obtaining code engineering of a tool project generated by the development tool comprises:
when detecting the project creating operation input by a user on the operation interface, creating a project;
when detecting page creation operation input by a user on the operation interface, creating a first page under the created project;
when the dragging operation of a user on any page element in the multiple page elements on the operation interface is detected, displaying the dragged page element on the first page;
when the editing operation of a user on the page elements on the first page is detected, editing the page elements on the first page to obtain an edited first page;
when item saving operation input by a user on the operation interface is detected, saving the edited first page as the tool item;
generating a code project for the tool project.
Optionally, the editing operation comprises a processing logic adding operation; when the editing operation of the user on the page elements on the first page is detected, the page elements on the first page are edited to obtain an edited first page, and the method comprises the following steps:
when the user is detected to select the page elements on the first page, processing logic information input by the user aiming at the selected page elements is obtained;
and adding corresponding processing logic to the selected page element according to the processing logic information to obtain the edited first page.
Optionally, the editing operation comprises a property setting operation; when the editing operation of the user on the page elements on the first page is detected, the page elements on the first page are edited to obtain an edited first page, and the method comprises the following steps:
when the user selection operation on the page elements on the first page is detected, acquiring attribute information input by the user aiming at the selected page elements;
and setting corresponding attributes for the selected page elements according to the attribute information to obtain the edited page.
Optionally, after obtaining the edited first page, the method further includes:
when detecting page creation operation input by a user on the operation interface, creating a second page under the created project;
when the dragging operation of the user on any page element in the multiple page elements on the operation interface is detected, displaying the dragged page element on the second page;
when the editing operation of the user on the page elements on the second page is detected, editing the page elements on the second page to obtain an edited second page;
acquiring intra-page and inter-page processing logic information input by a user aiming at the first page and the second page;
adding corresponding in-page and inter-page processing logic for the first page and the second page according to the in-page and inter-page processing logic information to obtain a first page and a second page with in-page and inter-page processing logic;
when detecting a project saving operation input by a user on the operation interface, saving the edited first page as the tool project, including:
and when detecting the item saving operation input by the user on the operation interface, saving the first page and the second page with the in-page and inter-page processing logic as the tool item.
Optionally, obtaining code engineering of a tool project generated by the development tool comprises:
displaying a pre-generated tool project on an operation interface of the development tool;
when the modification operation of the user on the pre-generated tool item is detected, modifying the pre-generated tool item to obtain a modified tool item;
when detecting page creation operation input by a user on the operation interface, newly creating a page under the modified tool item;
acquiring in-page and inter-page processing logic information input by a user aiming at the edited page and the newly-built page in the modified tool project;
adding corresponding in-page and inter-page processing logic for the edited page and the newly-built page according to the in-page and inter-page processing logic information to obtain the edited page and the newly-built page with in-page and inter-page processing logic;
when the project saving operation input by a user on the operation interface is detected, saving the edited page with the in-page and inter-page processing logic and the newly-built page as new tool projects;
generating a code project for the new tool project.
In a second aspect, an embodiment of the present invention provides a code engineering generating apparatus, applied to a development tool, where the apparatus includes:
a first obtaining module for obtaining a code project of a tool project generated by the development tool;
the second obtaining module is used for obtaining project environment information input by a user on an operation interface of the development tool;
the query module is used for querying the corresponding relation between the project environment information and the conversion codes stored by the development tool according to the project environment information and obtaining the conversion codes corresponding to the project environment information according to the corresponding relation; the conversion code is a code which is used for debugging in the project environment identified by the project environment information by adopting a pre-configured code project under the tool project and is acquired for coordinating the code project in the project environment and the project environment adaptation relation;
and the conversion module is used for converting the code engineering of the tool project by using the conversion codes and generating the code engineering of the target project adaptive to the project environment information.
Optionally, the conversion module comprises:
the extraction submodule is used for extracting target codes with the same meaning as the conversion code representation from the code engineering of the tool project;
and the replacing submodule is used for replacing the target code with the converted code so as to generate a code project of the target project adaptive to the project environment information.
Optionally, the first obtaining module includes:
the first newly-built module is used for newly building a project when detecting project building operation input by a user on the operation interface;
the second new sub-module is used for newly building a first page under the newly built project when detecting page building operation input on the operation interface by a user;
the display sub-module is used for displaying the dragged page element on the first page when the dragging operation of the user on any page element in the plurality of page elements on the operation interface is detected;
the editing submodule is used for editing the page elements on the first page when the editing operation of the user on the page elements on the first page is detected, so that an edited first page is obtained;
the saving sub-module is used for saving the edited first page as the tool item when item saving operation input by a user on the operation interface is detected;
and the generation submodule is used for generating a code project of the tool project.
Optionally, the editing operation comprises a processing logic adding operation; the editing sub-module comprises:
the obtaining subunit is configured to, when a user selection operation on a page element on the first page is detected, obtain processing logic information input by the user for the selected page element;
and the adding subunit is used for adding corresponding processing logic to the selected page element according to the processing logic information to obtain the edited first page.
Optionally, the editing operation comprises a property setting operation; the editing sub-module comprises:
the obtaining subunit is configured to, when a user selection operation on a page element on the first page is detected, obtain attribute information input by the user for the selected page element;
and the setting subunit is used for setting corresponding attributes for the selected page elements according to the attribute information to obtain the edited page.
Optionally, after obtaining the edited first page, the apparatus further includes:
the new building module is used for building a second page under the newly built project when detecting page building operation input by a user on the operation interface;
the display module is used for displaying the dragged page element on the second page when the dragging operation of the user on any page element in the plurality of page elements on the operation interface is detected;
the editing module is used for editing the page elements on the second page to obtain an edited second page when the editing operation of the user on the page elements on the second page is detected;
a third obtaining module, configured to obtain intra-page and inter-page processing logic information input by a user for the first page and the second page;
the adding module is used for adding corresponding in-page and inter-page processing logics to the first page and the second page according to the in-page and inter-page processing logic information to obtain a first page and a second page with the in-page and inter-page processing logics;
the save submodule includes:
and the saving subunit is used for saving the first page and the second page with the intra-page and inter-page processing logic as the tool item when the item saving operation input by the user on the operation interface is detected.
Optionally, the first obtaining module includes:
the display module is used for displaying a pre-generated tool project on an operation interface of the development tool;
the modification module is used for modifying the pre-generated tool item when modification operation of the pre-generated tool item by a user is detected to obtain a modified tool item;
the second new building module is used for building a page under the modified tool item when detecting page building operation input by a user on the operation interface;
a fourth obtaining module, configured to obtain intra-page and inter-page processing logic information input by a user for the edited page and the newly created page in the modified tool project;
a logic adding module, configured to add corresponding intra-page and inter-page processing logic to the edited page and the newly created page according to the intra-page and inter-page processing logic information, so as to obtain the edited page and the newly created page having intra-page and inter-page processing logic;
the storage module is used for storing the edited page with the in-page and inter-page processing logic and the newly-built page as new tool projects when the project storage operation input by the user on the operation interface is detected;
and the generating module is used for generating the code engineering of the new tool project.
In a third aspect, an embodiment of the present invention additionally provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor implementing the steps of the code engineering generating method according to the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps of the code engineering generating method according to the first aspect.
In the embodiment of the invention, a development tool obtains a code project of a tool project generated by the development tool, then obtains project environment information input by a user on an operation interface of the development tool, reads a conversion code corresponding to the project environment information, converts the code project of the tool project by using the conversion code, and generates a code project of a target project matched with the project environment information. By adopting the code engineering generating method provided by the embodiment of the invention, the code engineering of the tool project generated by the development tool can be converted into the code engineering of the target project matched with the project environment information, so that the code engineering of the same tool project can be applied to different project environments after conversion, the code engineering of a set of tool project matched with the project environment is prevented from being redeveloped, and the labor and the time are saved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without inventive labor.
FIG. 1 is a flowchart illustrating steps of a method for generating code engineering according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating steps of a method for obtaining code engineering for a tool project, in accordance with an embodiment of the present invention;
FIG. 3 is a flow chart of the steps of a method of generating a tool item in an embodiment of the present invention;
FIG. 4 is a flow chart illustrating steps in another method for code engineering a tool project, in accordance with an embodiment of the present invention;
FIG. 5 is a schematic diagram of a code engineering generation apparatus according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of an electronic device in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
FIG. 1 is a flowchart illustrating steps of a method for generating a code project according to an embodiment of the present invention. Applied to a development tool, as shown in fig. 1, the method comprises the following steps:
s101: code engineering of a tool project generated by the development tool is obtained.
The code engineering of the tool project may be generated using a development tool prior to performing a transformation of a project environment of the code engineering of the tool project.
S102: and acquiring project environment information input by a user on an operation interface of the development tool.
The method comprises the steps of obtaining project environment information, wherein a project environment information input window is arranged on an operation interface of a development tool, the project environment information input window can be arranged on the left side of the operation interface and can also be arranged on the right side of the operation interface, specific positions are not specifically limited, and the project environment information which can be input can be several application environments which are commonly used at present, such as a PC (personal computer) end project, a mobile end project or an applet project.
S103: inquiring the corresponding relation between the project environment information and the conversion codes stored by the development tool according to the project environment information, and obtaining the conversion codes corresponding to the project environment information according to the corresponding relation; and debugging the conversion code in the project environment identified by the project environment information by adopting a pre-configured code project under the tool project, and obtaining the code for coordinating the code project in the project environment and the project environment adaptation relationship.
The development tool stores a plurality of sets of conversion codes and corresponding relations between project environment information and the conversion codes, and can search the corresponding conversion codes according to the project environment information input by a user, wherein the conversion codes are obtained in the debugging process that a pre-configured code project is adaptive to the project environment identified by the project environment information, specifically, under a tool project, the pre-configured code project is adopted, the conversion codes are continuously modified, and the debugging is carried out in the project environment identified by the project environment information until the pre-set code project can be adaptive to the project environment under the coordination of the conversion codes, so that the conversion codes corresponding to the corresponding project environment information can be obtained.
S104: and converting the code engineering of the tool project by using the conversion codes to generate the code engineering of the target project adaptive to the project environment information.
The development tool can convert the code engineering of the tool project by using the searched conversion codes to generate the code engineering of the target project matched with the project environment information.
In a possible implementation manner, step S104 may specifically include:
extracting object code with the same meaning as the conversion code representation from the code engineering of the tool project;
and replacing the target code with the conversion code to generate a code project of the target project matched with the project environment information.
In the embodiment, according to the found conversion codes, codes with the same meaning as the representation of the conversion codes in the code engineering of the tool project are extracted as target codes, and the target codes in the code engineering of the tool project are replaced by the conversion codes, so that the code engineering of the target project after replacement can be adapted to the project environment information. For example: on the PC side, the code of the User is expressed as the User, on the applet side, the code of the User is expressed as the User ID, and when the code engineering of the project environment of the PC side project is converted into the code engineering of the applet project, the code representing the same meaning as the User is replaced by the User ID in the conversion code.
In the embodiment of the invention, a development tool obtains a code project of a tool project generated by the development tool, then obtains project environment information input by a user on an operation interface of the development tool, reads a conversion code corresponding to the project environment information, converts the code project of the tool project by using the conversion code, and generates a code project of a target project matched with the project environment information. By adopting the code engineering generating method provided by the embodiment of the invention, the code engineering of the tool project generated by the development tool can be converted into the code engineering of the target project matched with the project environment information, so that the code engineering of the same tool project can be applied to different project environments after conversion, the code engineering of a set of tool project matched with the project environment is prevented from being redeveloped, and the labor and the time are saved.
Referring to fig. 2, fig. 2 is a flowchart of steps of a method for obtaining code engineering of a tool project according to an embodiment of the present invention, and as shown in fig. 2, step S101 includes the following sub-steps:
s201: and when detecting the project creation operation input by the user on the operation interface, creating a new project.
The method comprises the steps that a project creation option is arranged on an operation interface of a development tool, and when a user clicks the project creation option, information is transmitted to the development tool, so that the development tool detects project creation operation of the user, and a project is newly built on an operation page.
S202: and when detecting page creation operation input by a user on the operation interface, creating a first page under the created project.
After a project is created, a page creation option is set on an operation interface of the development tool, and when a user clicks the page creation option, information is transmitted to the development tool, so that the development tool detects page creation operation of the user, and a first page is created under the newly created project.
S203: when the dragging operation of the user on any page element in the multiple page elements on the operation interface is detected, displaying the dragged page element on the first page.
The operation interface of the newly-created first page is provided with a plurality of page elements, where the page elements may be classified according to an actual application scenario, for example, the page elements are classified into page elements of a web page class or page elements of an APP class, and the classification may be more detailed, and a specific classification manner is not limited in this embodiment. The user can select the page elements according to the needs of the user, drag the page elements to the first page, and when the development tool detects that the page elements are dragged by the user, the dragged page elements can be displayed on the first page.
S204: and when the editing operation of the user on the page elements on the first page is detected, editing the page elements on the first page to obtain an edited first page.
After the page elements are displayed on the first page, the page elements also need to be edited, and when a user edits the page elements, the development tool can detect the editing operation of the user, so that the page elements are edited correspondingly.
In one possible embodiment, where the editing operation comprises a processing logic adding operation, step S204 may comprise the sub-steps of:
s204-1: and when the user selection operation on the page elements on the first page is detected, acquiring the processing logic information input by the user aiming at the selected page elements.
S204-2: and adding corresponding processing logic to the selected page element according to the processing logic information to obtain the edited first page.
When editing page elements, some simple logical additions of page elements need to be performed, for example, a hundred-degree page is established, some corresponding page elements, such as a hundred-degree logo, a microphone icon, and a camera icon, may be selected, and when performing the logical additions, a processing logic of a click-to-jump hundred-to-hundred-degree newsfeed webpage may be added to the hundred-degree logo, or a processing logic of a corresponding microphone device or camera device may be invoked when clicking the microphone icon or camera icon. When the development tool detects the processing logic input aiming at the page element, the logic processing information input by the user can be obtained and added to the corresponding page element.
In one possible embodiment, the editing operation includes a property setting operation, and step S204 may include the following steps:
s204-3: when the user selection operation on the page elements on the first page is detected, acquiring attribute information input by the user aiming at the selected page elements;
s201-4: and setting corresponding attributes for the selected page elements according to the attribute information to obtain the edited page.
After the page elements selected by the user are displayed on the operation interface, the user can continue to logically add the page elements according to needs, specifically, input attribute information of some page elements, when the development tool detects that the user selects the page elements on the first page, the attribute information input by the user aiming at the selected page elements is obtained, and corresponding attributes are set for the selected page elements according to the attribute information. For example, attributes such as size, position, color, appearance time, action, and hierarchy of page elements may be edited, where the action of a page element may be movement of a popup window on a screen, and the hierarchy is a hierarchy between page elements, for example, a button needs to be above a picture to be displayed and clicked to avoid being covered by the picture.
S205: and when detecting the project saving operation input by the user on the operation interface, saving the edited first page as the tool project.
And when the development tool detects the project saving operation input by the user on the operation interface, the edited first page can be saved as a tool project.
S206: generating a code project for the tool project.
After the first page is saved as a tool project, the development tool may generate a corresponding code project according to the tool project.
Referring to fig. 3, fig. 3 is a flowchart illustrating steps of a method for generating tool items according to an embodiment of the present invention, as shown in fig. 3, the method includes the following steps:
s301: and when detecting page creation operation input by a user on the operation interface, creating a second page under the created project.
S302: and when the dragging operation of the user on any page element in the multiple page elements on the operation interface is detected, displaying the dragged page element on the second page.
S303: and when the editing operation of the user on the page elements on the second page is detected, editing the page elements on the second page to obtain an edited second page.
The implementation method of steps S301 to S303 is similar to the implementation method of steps S202 to S204, and for a corresponding explanation, reference is made to the implementation method of steps S202 to S204, which is not repeated herein.
S304: and acquiring intra-page and inter-page processing logic information input by a user aiming at the first page and the second page.
S305: and adding corresponding in-page and inter-page processing logic for the first page and the second page according to the in-page and inter-page processing logic information to obtain a first page and a second page with in-page and inter-page processing logic.
In this embodiment, since some complex processing logics may exist in and between pages, some processing logics in and between pages need to be supplemented, and the development tool may acquire in-page and inter-page processing logic information input by a user for the first page and the second page, and add corresponding in-page and inter-page processing logics to the first page and the second page according to the in-page and inter-page processing logic information, to obtain the first page and the second page having the in-page and inter-page processing logics.
For example, in some complex pages, many commodities and data are involved, and it is complex to edit manually, so some processing logic needs to be supplemented, and a certain action can acquire data from the server. For another example, a line of text in a page that is too long, shown in the form of "XXX …", may have some attributes of the document set to allow the mouse to hover over to show the complete text as "XXXXXXXXX". The processing logic of the jump page is also needed to be set between the pages, and the jump can be carried out to the corresponding next page by clicking a certain page element of the previous page.
S306: and when detecting the item saving operation input by the user on the operation interface, saving the first page and the second page with the in-page and inter-page processing logic as the tool item.
And when the development tool detects the project saving operation input by the user on the operation interface, the first page and the second page with the in-page and inter-page processing logic can be saved as tool projects.
In this embodiment, multiple pages may be created and the processing logic therein may be completed to create a tool project having multiple pages.
Referring to fig. 4, fig. 4 is a flowchart illustrating steps of another method for obtaining code engineering of a tool project according to an embodiment of the present invention, as shown in fig. 4, the method includes the following steps:
s401: and displaying the pre-generated tool items on an operation interface of the development tool.
In the process of generating code projects in different project environments, a tool project needs to be generated first, and then the code project of a target project matched with the project environment information needs to be generated. When the existing tool project needs to be modified or needs to be generated into the code engineering of other project environments, the method can be completed through the development tool. The existing tool items generated through the development tools can be displayed on the operation interface so as to be convenient for subsequent editing.
S402: and when the modification operation of the user on the pre-generated tool item is detected, modifying the pre-generated tool item to obtain a modified tool item.
The user can modify the tool items displayed on the operation interface, and when the development tool detects that the user modifies the pre-generated tool items, the pre-generated tool items can be modified correspondingly, so that the modified tool items are obtained.
S403: and when detecting the page creation operation input by the user on the operation interface, newly creating a page under the modified tool item.
When a page needs to be added in the modified tool project, a user can click a page creation option on the operation interface, and when the development tool detects page creation operation input by the user on the operation interface, a page is newly created under the modified tool project.
S404: and acquiring the in-page and inter-page processing logic information input by the user aiming at the edited page and the newly-built page in the modified tool project.
After the new page is built, a user needs to complete the required processing logic through a development tool, the user can input the processing logic information in the edited page and the page and between the pages input by the new page through an input frame on an operation interface, and the development tool can simultaneously acquire the processing logic information in the edited page and between the pages input by the new page.
S405: and adding corresponding in-page and inter-page processing logic for the edited page and the newly-built page according to the in-page and inter-page processing logic information to obtain the edited page and the newly-built page with the in-page and inter-page processing logic.
The development tool can add corresponding in-page and inter-page processing logic to the edited page and the newly-built page according to the obtained processing logic information to obtain the edited page and the newly-built page with the in-page and inter-page processing logic.
S406: and when detecting the project saving operation input by the user on the operation interface, saving the edited page with the in-page and inter-page processing logic and the newly-built page as new tool projects.
After all pages are edited, the user can click the saving option, and when the development tool detects the project saving operation input by the user on the operation interface, the edited pages with the processing logic in the pages and between the pages and the newly built pages can be saved as new tool projects.
S407: generating a code project for the new tool project.
After the edited page and the newly created page with the in-page and inter-page processing logic are saved as a new tool project, the development tool can generate a corresponding code project according to the new tool project.
In the embodiment, the development tool can modify the existing pre-generated tool project and add the page, and generate and convert the code project into the new tool project, so that the generation operation of the tool project is avoided, and the time and the labor are saved.
Based on the same inventive concept, an embodiment of the present invention provides a code engineering generation apparatus. Referring to fig. 5, fig. 5 is a schematic diagram of a code engineering generation apparatus in an embodiment of the present invention. As shown in fig. 5, the apparatus is applied to a use case platform, and includes:
a first obtaining module 501, configured to obtain a code project of a tool project generated by the development tool;
a second obtaining module 502, configured to obtain project environment information input by a user on an operation interface of the development tool;
the query module 503 is configured to query a corresponding relationship between the project environment information and the conversion codes stored in the development tool according to the project environment information, and obtain the conversion codes corresponding to the project environment information according to the corresponding relationship; the conversion code is a code which is used for debugging in the project environment identified by the project environment information by adopting a pre-configured code project under the tool project and is acquired for coordinating the code project in the project environment and the project environment adaptation relation;
a conversion module 504, configured to convert, by using the conversion code, the code engineering of the tool project, and generate a code engineering of a target project adapted to the project environment information.
Optionally, the conversion module comprises:
the extraction submodule is used for extracting target codes with the same meaning as the conversion code representation from the code engineering of the tool project;
and the replacing submodule is used for replacing the target code with the converted code so as to generate a code project of the target project adaptive to the project environment information.
Optionally, the first obtaining module includes:
the first newly-built module is used for newly building a project when detecting project building operation input by a user on the operation interface;
the second new sub-module is used for newly building a first page under the newly built project when detecting page building operation input on the operation interface by a user;
the display sub-module is used for displaying the dragged page element on the first page when the dragging operation of the user on any page element in the plurality of page elements on the operation interface is detected;
the editing submodule is used for editing the page elements on the first page when the editing operation of the user on the page elements on the first page is detected, so that an edited first page is obtained;
the saving sub-module is used for saving the edited first page as the tool item when item saving operation input by a user on the operation interface is detected;
and the generation submodule is used for generating a code project of the tool project.
Optionally, the editing operation comprises a processing logic adding operation; the editing sub-module comprises:
the obtaining subunit is configured to, when a user selection operation on a page element on the first page is detected, obtain processing logic information input by the user for the selected page element;
and the adding subunit is used for adding corresponding processing logic to the selected page element according to the processing logic information to obtain the edited first page.
Optionally, the editing operation comprises a property setting operation; the editing sub-module comprises:
the obtaining subunit is configured to, when a user selection operation on a page element on the first page is detected, obtain attribute information input by the user for the selected page element;
and the setting subunit is used for setting corresponding attributes for the selected page elements according to the attribute information to obtain the edited page.
Optionally, after obtaining the edited first page, the apparatus further includes:
the first newly-built module is used for newly building a second page under the newly-built project when detecting page building operation input on the operation interface by a user;
the display module is used for displaying the dragged page element on the second page when the dragging operation of the user on any page element in the plurality of page elements on the operation interface is detected;
the editing module is used for editing the page elements on the second page to obtain an edited second page when the editing operation of the user on the page elements on the second page is detected;
a third obtaining module, configured to obtain intra-page and inter-page processing logic information input by a user for the first page and the second page;
the adding module is used for adding corresponding in-page and inter-page processing logics to the first page and the second page according to the in-page and inter-page processing logic information to obtain a first page and a second page with the in-page and inter-page processing logics;
the save submodule includes:
and the saving subunit is used for saving the first page and the second page with the intra-page and inter-page processing logic as the tool item when the item saving operation input by the user on the operation interface is detected.
Optionally, the first obtaining module includes:
the display module is used for displaying a pre-generated tool project on an operation interface of the development tool;
the modification module is used for modifying the pre-generated tool item when modification operation of the pre-generated tool item by a user is detected to obtain a modified tool item;
the second new building module is used for building a page under the modified tool item when detecting page building operation input by a user on the operation interface;
a fourth obtaining module, configured to obtain intra-page and inter-page processing logic information input by a user for the edited page and the newly created page in the modified tool project;
a logic adding module, configured to add corresponding intra-page and inter-page processing logic to the edited page and the newly created page according to the intra-page and inter-page processing logic information, so as to obtain the edited page and the newly created page having intra-page and inter-page processing logic;
the storage module is used for storing the edited page with the in-page and inter-page processing logic and the newly-built page as new tool projects when the project storage operation input by the user on the operation interface is detected;
and the generating module is used for generating the code engineering of the new tool project.
Referring to fig. 6, fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a desktop computer, a tablet computer, a notebook computer, a palm computer, and the like.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic apparatus 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the electronic apparatus 600 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, and this is not limited here.
The interface unit 608 is an interface for connecting an external device to the electronic apparatus 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 600 or may be used to transmit data between the electronic device 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby performing overall monitoring of the electronic device. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The electronic device 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 may be logically connected to the processor 610 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, including: the processor 610, the memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program, when executed by the processor 610, implements each process of the above method embodiment based on applet simulation positioning, and can achieve the same technical effect, and are not described herein again to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements each process of the above method embodiment based on applet simulation positioning, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (14)

1. A code engineering generation method applied to a development tool, the method comprising:
obtaining a code project of a tool project generated by the development tool;
acquiring project environment information input by a user on an operation interface of the development tool;
inquiring the corresponding relation between the project environment information and the conversion codes stored by the development tool according to the project environment information, and obtaining the conversion codes corresponding to the project environment information according to the corresponding relation; the conversion code is a code which is used for debugging in the project environment identified by the project environment information by adopting a pre-configured code project under the tool project and is acquired for coordinating the code project in the project environment and the project environment adaptation relation;
converting the code engineering of the tool project by using the conversion codes to generate the code engineering of the target project matched with the project environment information, wherein the method comprises the following steps: extracting object code with the same meaning as the conversion code representation from the code engineering of the tool project; and replacing the target code with the conversion code to generate a code project of the target project matched with the project environment information.
2. The method of claim 1, wherein obtaining code engineering for a tool project generated by the development tool comprises:
when detecting the project creating operation input by a user on the operation interface, creating a project;
when detecting page creation operation input by a user on the operation interface, creating a first page under the created project;
when the dragging operation of a user on any page element in the multiple page elements on the operation interface is detected, displaying the dragged page element on the first page;
when the editing operation of a user on the page elements on the first page is detected, editing the page elements on the first page to obtain an edited first page;
when item saving operation input by a user on the operation interface is detected, saving the edited first page as the tool item;
generating a code project for the tool project.
3. The method of claim 2, wherein the editing operation comprises processing a logic add operation; when the editing operation of the user on the page elements on the first page is detected, the page elements on the first page are edited to obtain an edited first page, and the method comprises the following steps:
when the user is detected to select the page elements on the first page, processing logic information input by the user aiming at the selected page elements is obtained;
and adding corresponding processing logic to the selected page element according to the processing logic information to obtain the edited first page.
4. The method of claim 2, wherein the editing operation comprises a property setting operation; when the editing operation of the user on the page elements on the first page is detected, the page elements on the first page are edited to obtain an edited first page, and the method comprises the following steps:
when the user selection operation on the page elements on the first page is detected, acquiring attribute information input by the user aiming at the selected page elements;
and setting corresponding attributes for the selected page elements according to the attribute information to obtain the edited first page.
5. The method of claim 2, wherein after obtaining the edited first page, the method further comprises:
when detecting page creation operation input by a user on the operation interface, creating a second page under the created project;
when the dragging operation of the user on any page element in the multiple page elements on the operation interface is detected, displaying the dragged page element on the second page;
when the editing operation of the user on the page elements on the second page is detected, editing the page elements on the second page to obtain an edited second page;
acquiring intra-page and inter-page processing logic information input by a user aiming at the first page and the second page;
adding corresponding in-page and inter-page processing logic for the first page and the second page according to the in-page and inter-page processing logic information to obtain a first page and a second page with in-page and inter-page processing logic;
when detecting a project saving operation input by a user on the operation interface, saving the edited first page as the tool project, including:
and when detecting the item saving operation input by the user on the operation interface, saving the first page and the second page with the in-page and inter-page processing logic as the tool item.
6. The method of claim 1, wherein obtaining code engineering for a tool project generated by the development tool comprises:
displaying a pre-generated tool project on an operation interface of the development tool;
when the modification operation of the user on the pre-generated tool item is detected, modifying the pre-generated tool item to obtain a modified tool item;
when detecting page creation operation input by a user on the operation interface, newly creating a page under the modified tool item;
acquiring in-page and inter-page processing logic information input by a user aiming at the edited page and the newly-built page in the modified tool project;
adding corresponding in-page and inter-page processing logic for the edited page and the newly-built page according to the in-page and inter-page processing logic information to obtain the edited page and the newly-built page with in-page and inter-page processing logic;
when the project saving operation input by a user on the operation interface is detected, saving the edited page with the in-page and inter-page processing logic and the newly-built page as new tool projects;
generating a code project for the new tool project.
7. A code engineering generation apparatus, applied to a development tool, the apparatus comprising:
a first obtaining module for obtaining a code project of a tool project generated by the development tool;
the second obtaining module is used for obtaining project environment information input by a user on an operation interface of the development tool;
the query module is used for querying the corresponding relation between the project environment information and the conversion codes stored by the development tool according to the project environment information and obtaining the conversion codes corresponding to the project environment information according to the corresponding relation; the conversion code is a code which is used for debugging in the project environment identified by the project environment information by adopting a pre-configured code project under the tool project and is acquired for coordinating the code project in the project environment and the project environment adaptation relation;
a conversion module, configured to convert the code engineering of the tool project by using the conversion code, and generate a code engineering of a target project adapted to the project environment information, where the conversion module includes: the extraction submodule is used for extracting target codes with the same meaning as the conversion code representation from the code engineering of the tool project; and the replacing submodule is used for replacing the target code with the converted code so as to generate a code project of the target project adaptive to the project environment information.
8. The apparatus of claim 7, wherein the first obtaining module comprises:
the first newly-built module is used for newly building a project when detecting project building operation input by a user on the operation interface;
the second new sub-module is used for newly building a first page under the newly built project when detecting page building operation input on the operation interface by a user;
the display sub-module is used for displaying the dragged page element on the first page when the dragging operation of the user on any page element in the plurality of page elements on the operation interface is detected;
the editing submodule is used for editing the page elements on the first page when the editing operation of the user on the page elements on the first page is detected, so that an edited first page is obtained;
the saving sub-module is used for saving the edited first page as the tool item when item saving operation input by a user on the operation interface is detected;
and the generation submodule is used for generating a code project of the tool project.
9. The apparatus of claim 8, wherein the editing operation comprises processing a logic add operation; the editing sub-module comprises:
the obtaining subunit is configured to, when a user selection operation on a page element on the first page is detected, obtain processing logic information input by the user for the selected page element;
and the adding subunit is used for adding corresponding processing logic to the selected page element according to the processing logic information to obtain the edited first page.
10. The apparatus of claim 8, wherein the editing operation comprises a property setting operation; the editing sub-module comprises:
the obtaining subunit is configured to, when a user selection operation on a page element on the first page is detected, obtain attribute information input by the user for the selected page element;
and the setting subunit is used for setting corresponding attributes for the selected page elements according to the attribute information to obtain the edited first page.
11. The apparatus of claim 8, wherein after obtaining the edited first page, the apparatus further comprises:
the first newly-built module is used for newly building a second page under the newly-built project when detecting page building operation input on the operation interface by a user;
the display module is used for displaying the dragged page element on the second page when the dragging operation of the user on any page element in the plurality of page elements on the operation interface is detected;
the editing module is used for editing the page elements on the second page to obtain an edited second page when the editing operation of the user on the page elements on the second page is detected;
a third obtaining module, configured to obtain intra-page and inter-page processing logic information input by a user for the first page and the second page;
the adding module is used for adding corresponding in-page and inter-page processing logics to the first page and the second page according to the in-page and inter-page processing logic information to obtain a first page and a second page with the in-page and inter-page processing logics;
the save submodule includes:
and the saving subunit is used for saving the first page and the second page with the intra-page and inter-page processing logic as the tool item when the item saving operation input by the user on the operation interface is detected.
12. The apparatus of claim 7, wherein the first obtaining module comprises:
the display module is used for displaying a pre-generated tool project on an operation interface of the development tool;
the modification module is used for modifying the pre-generated tool item when modification operation of the pre-generated tool item by a user is detected to obtain a modified tool item;
the second new building module is used for building a page under the modified tool item when detecting page building operation input by a user on the operation interface;
a fourth obtaining module, configured to obtain intra-page and inter-page processing logic information input by a user for the edited page and the newly created page in the modified tool project;
a logic adding module, configured to add corresponding intra-page and inter-page processing logic to the edited page and the newly created page according to the intra-page and inter-page processing logic information, so as to obtain the edited page and the newly created page having intra-page and inter-page processing logic;
the storage module is used for storing the edited page with the in-page and inter-page processing logic and the newly-built page as new tool projects when the project storage operation input by the user on the operation interface is detected;
and the generating module is used for generating the code engineering of the new tool project.
13. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the code engineering generating method according to any one of claims 1 to 6.
14. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the code engineering generation method of one of claims 1 to 6.
CN201911144556.7A 2019-11-20 2019-11-20 Code engineering generation method and device, electronic equipment and readable storage medium Active CN110928539B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911144556.7A CN110928539B (en) 2019-11-20 2019-11-20 Code engineering generation method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911144556.7A CN110928539B (en) 2019-11-20 2019-11-20 Code engineering generation method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN110928539A CN110928539A (en) 2020-03-27
CN110928539B true CN110928539B (en) 2021-01-29

Family

ID=69851437

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911144556.7A Active CN110928539B (en) 2019-11-20 2019-11-20 Code engineering generation method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN110928539B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416209B (en) * 2020-10-27 2022-06-14 山东浪潮通软信息科技有限公司 Filling device based on front-end and back-end separation

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108717357A (en) * 2018-05-23 2018-10-30 中国平安人寿保险股份有限公司 Page presentation code conversion method, device, equipment and computer storage media
CN108829395A (en) * 2018-06-19 2018-11-16 中国电子科技集团公司第四十研究所 A kind of signal-oriented driver code automatic generation method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108170428B (en) * 2016-12-05 2021-05-28 阿里巴巴集团控股有限公司 Page construction processing method, device and system
US10402216B1 (en) * 2017-03-24 2019-09-03 Intuit, Inc. Live support integration in a virtual machine based development environment
EP3564812B1 (en) * 2018-04-30 2022-10-26 Mphasis Limited Method and system for automated creation of graphical user interfaces
CN109240661B (en) * 2018-08-02 2022-01-21 武汉烽火众智数字技术有限责任公司 Code generation method and device
CN110096263A (en) * 2019-04-28 2019-08-06 贝壳技术有限公司 Web front end code automatic generation method and device
CN110442336A (en) * 2019-08-05 2019-11-12 上海钧正网络科技有限公司 A kind of web development methods and device, storage medium and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108717357A (en) * 2018-05-23 2018-10-30 中国平安人寿保险股份有限公司 Page presentation code conversion method, device, equipment and computer storage media
CN108829395A (en) * 2018-06-19 2018-11-16 中国电子科技集团公司第四十研究所 A kind of signal-oriented driver code automatic generation method and device

Also Published As

Publication number Publication date
CN110928539A (en) 2020-03-27

Similar Documents

Publication Publication Date Title
CN111061574B (en) Object sharing method and electronic device
CN108737904B (en) Video data processing method and mobile terminal
CN107943390B (en) Character copying method and mobile terminal
CN107977132B (en) Information display method and mobile terminal
CN111338530B (en) Control method of application program icon and electronic equipment
CN109213407B (en) Screenshot method and terminal equipment
CN109739402B (en) Fast application processing method and terminal equipment
CN110096203B (en) Screenshot method and mobile terminal
CN110196668B (en) Information processing method and terminal equipment
CN110673770B (en) Message display method and terminal equipment
CN109189303B (en) Text editing method and mobile terminal
CN109388456B (en) Head portrait selection method and mobile terminal
CN110703972B (en) File control method and electronic equipment
CN109634494A (en) A kind of image processing method and terminal device
CN111026305A (en) Audio processing method and electronic equipment
CN108287644B (en) Information display method of application program and mobile terminal
CN111610903A (en) Information display method and electronic equipment
CN108093137B (en) Dialing method and mobile terminal
CN110049187A (en) A kind of display methods and terminal device
CN110007821B (en) Operation method and terminal equipment
CN109063079B (en) Webpage labeling method and electronic equipment
CN108710521B (en) Note generation method and terminal equipment
CN111090529A (en) Method for sharing information and electronic equipment
CN110851219A (en) Information processing method and electronic equipment
CN110008884A (en) A kind of literal processing method and terminal

Legal Events

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