CN114003212A - Data processing method, device and equipment - Google Patents

Data processing method, device and equipment Download PDF

Info

Publication number
CN114003212A
CN114003212A CN202010738129.8A CN202010738129A CN114003212A CN 114003212 A CN114003212 A CN 114003212A CN 202010738129 A CN202010738129 A CN 202010738129A CN 114003212 A CN114003212 A CN 114003212A
Authority
CN
China
Prior art keywords
code
project
software
initial
visualization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010738129.8A
Other languages
Chinese (zh)
Inventor
刘桂霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010738129.8A priority Critical patent/CN114003212A/en
Publication of CN114003212A publication Critical patent/CN114003212A/en
Pending legal-status Critical Current

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/34Graphical or visual programming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application provides a data processing method, a device and equipment, wherein the method comprises the following steps: acquiring a visualization operation, wherein the visualization operation is used for selecting a frame code of a current software project from a plurality of frame codes, and the plurality of frame codes correspond to a plurality of export code formats; based on the visualization operation, an initial project code of the software project is obtained, and the initial project code is used for a developer to develop software so as to obtain a final project code of the software project. According to the method and the device, developers can flexibly select the export code format according to requirements, so that the flexibility of the export code format is improved.

Description

Data processing method, device and equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data processing method, apparatus, and device.
Background
In the visual building process, a developer can build a page in a mode of dragging a configuration assembly, so that building of a front-end page is more convenient, and a development flow is shortened.
In order to form a development closed loop, it is often necessary to export a building result into executable code after the building is finished. Generally, a visual building platform only aims at a specified export code format, and the export code format is fixedly set in the visual building platform. Therefore, there is a problem that flexibility in deriving the code format is poor.
Disclosure of Invention
The embodiment of the application provides a data processing method, a data processing device and data processing equipment, which are used for solving the problem of poor flexibility of code format derivation in the prior art.
In a first aspect, an embodiment of the present application provides a data processing method, including:
obtaining a visualization operation, wherein the visualization operation is used for selecting a frame code of a current software project from a plurality of frame codes, and the plurality of frame codes correspond to a plurality of export code formats;
and obtaining an initial project code of the software project based on the visualization operation, wherein the initial project code is used for software development by a developer to obtain a final project code of the software project.
In a second aspect, an embodiment of the present application provides a data processing method, including:
acquiring a final project code of the software project; the final project code is obtained by a developer through software development based on an initial project code of the software project, the initial project code is obtained based on a visualization operation, the visualization operation is used for selecting a framework code of the software project from a plurality of framework codes, and the plurality of framework codes correspond to a plurality of derived code formats;
and executing the final project code.
In a third aspect, an embodiment of the present application provides a data processing apparatus, including:
an obtaining module, configured to obtain a visualization operation, where the visualization operation is used to select a framework code of a current software project from a plurality of framework codes, and the plurality of framework codes correspond to a plurality of export code formats;
and the obtaining module is used for obtaining an initial project code of the software project based on the visualization operation, wherein the initial project code is used for software development of a developer to obtain a final project code of the software project.
In a fourth aspect, an embodiment of the present application provides a data processing apparatus, including:
the acquisition module is used for acquiring a final project code of the software project; the final project code is obtained by a developer through software development based on an initial project code of the software project, the initial project code is obtained based on a visualization operation, the visualization operation is used for selecting a framework code of the software project from a plurality of framework codes, and the plurality of framework codes correspond to a plurality of derived code formats;
and the operation module is used for operating the final project code.
In a fifth aspect, an embodiment of the present application provides a terminal, including: a memory, a processor; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement the method of any of the first aspects.
In a sixth aspect, an embodiment of the present application provides a terminal, including: a memory, a processor; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement the method of any of the second aspects.
Embodiments of the present application also provide a computer-readable storage medium storing a computer program, the computer program comprising at least one code, which is executable by a computer to control the computer to perform the method according to any one of the first aspect.
Embodiments of the present application also provide a computer-readable storage medium storing a computer program, the computer program comprising at least one code, which is executable by a computer to control the computer to perform the method according to any one of the second aspect.
Embodiments of the present application also provide a computer program, which is used to implement the method according to any one of the first aspect when the computer program is executed by a computer.
Embodiments of the present application also provide a computer program, which is used to implement the method according to any one of the second aspect when the computer program is executed by a computer.
According to the data processing method, the data processing device and the data processing equipment, visual operation is obtained, the visual operation is used for selecting the frame codes of the current software project from the plurality of frame codes, the plurality of frame codes correspond to the plurality of export code formats, the initial project codes of the software project are obtained based on the visual operation, the initial project codes are used for software development of developers to obtain the final project codes of the software project, the frame codes of a software development system are selected based on the visual operation input by the developers to determine the export code formats, the developers can flexibly select the export code formats according to requirements, and therefore the flexibility of the export code formats is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic view of an application scenario according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 3A and 3B are schematic diagrams of obtaining a first visualization operation according to an embodiment of the present application;
fig. 4A and 4B are schematic diagrams illustrating a second visualization operation provided by an embodiment of the present application;
fig. 5 is a schematic diagram of a data processing method under a visualization building platform according to an embodiment of the present application;
fig. 6 is a schematic flowchart of a data processing method according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a data processing apparatus according to another embodiment of the present application;
fig. 10 is a schematic structural diagram of a terminal according to another embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. 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 application.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, and "a" and "an" typically include at least two, but do not exclude the presence of at least one.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a commodity or system that includes the element.
In addition, the sequence of steps in each method embodiment described below is only an example and is not strictly limited.
For the convenience of those skilled in the art to understand the technical solutions provided in the embodiments of the present application, a technical environment for implementing the technical solutions is described below.
In the related art, a visual building platform only aims at a specified export code format, the export code format is fixedly set in the visual building platform, and the flexibility of the export code format is poor, so that a data processing mode capable of improving the flexibility of the export code format is urgently needed in the related art.
Based on the actual technical requirements similar to those described above, the data processing method provided by the present application can utilize a technical means to improve the flexibility of deriving the code format.
The following describes a data processing method provided in various embodiments of the present application in detail through an exemplary application scenario.
As shown in fig. 1, an application scenario of the embodiment of the present application may include a terminal 11 and a server 12. The terminal 11 and the server 12 are connected in communication. The terminal 11 may provide a software development system to the developer, which may, for example, build a platform for the visualization of the page. The developer can perform software development using the software development system provided by the terminal 11. During the process of using the terminal 11, the terminal 11 may interact with the server 12 according to requirements to obtain corresponding data from the server 12, or send data to be stored to the server 12 for storage. The terminal 11 may be, for example, a tablet Computer, a Personal Computer (PC), or the like, but in other embodiments, the terminal 11 may also be of other types, which is not limited in this application. The server 12 may comprise any form of data storage server, such as a cloud server, a distributed server, or the like.
The terminal 11 in fig. 1 may execute the method provided in the embodiment of the present application, and the visualization operation is obtained to select a framework code of a current software project from a plurality of framework codes, where the plurality of framework codes correspond to a plurality of export code formats, and obtain an initial project code of the software project based on the visualization operation, where the initial project code is used for a developer to perform software development to obtain a final project code of the software project, so that the framework code of the software development system is selected based on the visualization operation input by the developer to determine an export code format, so that the developer may flexibly select the export code format according to needs, thereby improving flexibility of the export code format.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Fig. 2 is a flowchart illustrating a data processing method according to an embodiment of the present application, where an execution subject of the embodiment may be the terminal 11 in fig. 1. As shown in fig. 2, the method of this embodiment may include:
step 21, acquiring a visualization operation, wherein the visualization operation is used for selecting a frame code of a current software project from a plurality of frame codes, and the plurality of frame codes correspond to a plurality of export code formats;
and step 22, obtaining an initial project code of the software project based on the visualization operation, wherein the initial project code is used for software development by a developer to obtain a final project code of the software project.
It should be noted that the types of software projects may be different for different objects of software development. Taking application development as an example, the software project may specifically refer to a software application, and of course, in other embodiments, the software project may also be other types of projects, which is not limited in this application.
In the embodiment of the application, the framework code is the code of the software development framework provided for developers through the software development system. The frame code may be a code of a software development frame preset by the software development system, or the frame code may be a code of the software development frame uploaded by a developer.
The software development system may provide a developer with a plurality of framework codes corresponding to a plurality of export code formats. The export code format refers to a format of exported code that the software development system is capable of providing. It should be noted that the type of code to be derived may be different according to the derivation requirement. Illustratively, the type of code that needs to be derived may include original code and/or packed code. Accordingly, the derived code format includes a format of a derived original code, and/or a format of a derived packed code. It should be noted that the export code mode corresponding to a frame code may be determined by the frame code itself.
Taking the software development system as a visual building platform as an example, the exported code format may include a format of exported original code and a format of exported packaged code. For two frame codes, the different export code formats corresponding to the two frame codes may include, for example, different headers of the original codes that the two frame codes can export, and/or one of the two frame codes may export one JSS file and one CSS file for all pages, and the other frame code may export one JSS file and one CSS file for each page.
Under certain conditions, the software development system can display an operation interface, and visual operation for selecting the frame code can be acquired in the operation interface. The certain condition may be, for example, obtaining a click operation for creating a project button, and of course, in other embodiments, the certain condition may also be other types of conditions, which is not limited in this application.
For example, taking the example that the visualization operation includes a click operation for a button control, a plurality of button controls may be provided in the operation interface, and the plurality of button controls correspond to the plurality of frame codes one by one. The click operation for any one of the button controls may be a visualization operation for selecting a frame code corresponding to the button control from a plurality of frame codes. Of course, in other embodiments, the visualization operation for selecting the frame code may also be other types of operations, which is not limited in this application.
After obtaining the visualization operation, an initial project code of the software project may be obtained based on the visualization operation, so that a developer may perform software development on the basis of the initial project code.
In an embodiment, the obtaining an initial project code of the software project based on the visualization operation may specifically include: and acquiring a frame code of the software project selected by the visualization operation, wherein the frame code is an initial project code of the software project. In this case, basic information in the software project, such as project name, project ID, etc., may be further added by the developer on the basis of the initial project code of the software project.
Alternatively, in another embodiment, the visualization operation may also be used to set information of the software project, which may include, for example, a project name, etc. The obtaining of the initial project code of the software project based on the visualization operation may specifically include: and acquiring the frame code of the software project selected by the visualization operation, and placing the information of the software project to the corresponding position of the frame code to obtain the initial project code of the software project. At least one place can be reserved in the frame code, and the at least one place can be in one-to-one correspondence with at least one type of information so as to place the information set by the visualization operation into the corresponding place. Therefore, the method and the device allow developers to set the information of the software project in a visual mode, simplify the information setting of the developers on the software project, and are beneficial to improving the use experience of the developers.
For example, at least one text box control may be provided in the user interface, with the visualization operation further comprising a text entry operation for the text box control. The visualization operation for setting the information of the software project may specifically be a text input operation for a textbox control. Of course, in other embodiments, the visualization operation for acquiring the information of the software project may also be other types of operations, which is not limited in this application.
In the embodiment of the present application, the framework of the software may include a project framework, the project framework is a software framework for the whole project, and accordingly, the framework code may include project-level framework code. Based thereon, the visualization operation may include a first visualization operation for selecting a project level framework code of a current software project from a plurality of project level framework codes; the plurality of item level framework codes correspond to the plurality of export code formats. The item level framework code may include package information, so that before release (deployment), the package information may be packaged based on the package information to obtain a format of the packaged code specified by the package information.
For example, taking the example that the first visualization operation includes a click operation for a button control, a plurality of button controls may be provided in the operation interface, and the plurality of button controls correspond to the plurality of item-level frame codes one to one. The click operation for any one of the plurality of button controls may be a first visualization operation for selecting a project-level frame code corresponding to the button control from the plurality of project-level frame codes.
In an embodiment, the obtaining an initial project code of the software project based on the visualization operation may specifically include: and acquiring an item level frame code of the software project selected by the first visualization operation, wherein the item level frame code is an initial project code of the software project.
Alternatively, in another embodiment, the first visualization operation may also be used to set project information of the software project, such as a project name. The obtaining of the initial project code of the software project based on the visualization operation may specifically include: and acquiring the project level frame code of the software project selected by the first visualization operation, and placing the project information configured by the first visualization operation to the corresponding position of the project level frame code to obtain the initial project code of the software project. At least one place holder can be reserved in the project-level framework code, and the at least one place holder can be in one-to-one correspondence with at least one project information so as to place the project information set by the first visualization operation into the corresponding place holder. Therefore, the method and the device allow developers to set the project information of the software project in a visual mode, simplify the setting of the project information of the software project by the developers, and are beneficial to improving the use experience of the developers.
An operation interface (denoted as operation interface a) for acquiring the first visualization operation may be as shown in fig. 3A and 3B, for example. Referring to fig. 3A, the software development system may display, in the operation interface a, an item frame button 31 for selecting an item-level frame code 1 and an item frame button 32 for selecting an item-level frame code 2, where the item frame button 31 and the item frame button 32 are respectively used for selecting different item-level frame codes, and the item-level frame codes selected by the two correspond to different export code manners. Further, assuming that the click operation for the item frame button 31 is acquired in the operation interface a, a text box 33 for acquiring the item name may be further displayed in the operation interface a as shown in fig. 3B. Further still, assuming that a text input operation for the text box 33 and a click operation for the determination button are acquired in the operation interface a, a first visualization operation for selecting the item level frame code 1 and setting the item name of the item level frame code 1 may be acquired.
It should be noted that the border of the item frame button 31 in fig. 3B is a dotted line, which may indicate that the item frame button 31 is selected. The operation interfaces shown in fig. 3A and 3B are examples only.
Optionally, in order to make the software architecture more reasonable, the software frame may further include a page frame, where the page frame is a software frame for a page in the project frame, and correspondingly, the frame code may further include page-level frame code. Based thereon, the visualization operations may further include a second visualization operation to add a page to project level frame code of the software project.
For example, taking the second visualization operation as an example including a click operation for a button control, a button control of a new page may be provided in the operation interface. The click operation for the button control may be a second visualization operation for adding to the item level framework code of the software project.
In a case that the visualization operation includes the first visualization operation and the second visualization operation, the obtaining an initial project code of the software project based on the visualization operation may specifically include: obtaining an initial project frame code of the software project based on the first visualization operation; and obtaining an initial page frame code of the software project based on the second visualization operation, and placing the initial page frame code to a corresponding position of the initial project frame code to obtain the initial project code of the software project.
Similarly, in a case that the first visualization operation may also be used to set project information of the software project, the obtaining an initial project framework code of the software project based on the first visualization operation may specifically include: acquiring item level framework code of the software item selected by the first visualization operation; and placing the project information set by the first visualization operation to a corresponding position of the project-level frame code to obtain an initial project frame code of the software project.
Optionally, the second visualization operation may also be used to set page information of the software project, such as a page name. The obtaining of the initial page frame code of the software project based on the second visualization operation may specifically include: and acquiring the page level frame code of the software project selected by the second visualization operation, and placing the page information configured by the second visualization operation to the corresponding position of the page level frame code to obtain the initial page frame code of the software project. At least one place can be reserved in the page-level frame code, and the at least one place can be in one-to-one correspondence with at least one piece of page information, so that the page information set by the second visualization operation is placed in the corresponding place. Therefore, the method and the device allow developers to set the page information of the software project in a visual mode, simplify the setting of the page information of the software project by the developers, and are beneficial to improving the use experience of the developers.
The operation interface (denoted as operation interface B) for acquiring the second visualization operation may be, for example, as shown in fig. 4A and 4B. Referring to fig. 4A, the software development system can display a new button 41 for adding a page to the project-level framework code 1 in the operation interface b. Further, assuming that the click operation for the new button 41 is acquired in the operation interface B, a window may be further popped up as shown in fig. 4B, and a text box 42 for acquiring a page name may be displayed in the window. Further still, assuming that a text input operation for the text box 42 is acquired in the pop-up window and a click operation for the determination button is acquired, a first visualization operation for adding a page to the project-level frame code and setting a page name may be acquired. It should be noted that the operation interfaces shown in fig. 4A and 4B are only examples.
In the embodiment of the application, after the initial project code of the software project is obtained, a function of further performing software development on the basis of the initial project code can be further provided for a developer. Based on this, after obtaining the initial project code of the software project based on the visualization operation, the method may further include: updating the initial project code of the software project based on the acquired software development operation aiming at the software project to obtain the final project code of the software project.
It should be noted that the type of the software development operation can be flexibly implemented according to the requirement. Illustratively, the software development operation includes a code input operation, and/or a visualization construction operation.
Under the condition that the software development operation comprises code input operation, a developer can obtain a final project code of the software project in a code writing mode on the basis of the initial project code. Under the condition that the software development operation comprises the visualization construction operation, a developer can obtain a final project code of the software project in a visualization operation mode on the basis of the initial project code.
The visualization construction operation may include, for example, a drag operation for the component, a configuration operation for the component, and the like. The component may be a native self-contained element in hypertext Markup Language (HTML), that is, a Document Object Model (DOM) element. The components may also be components provided by the component library after a certain encapsulation of the DOM elements, such as buttons (buttons) in blue background and white characters and components customized by a developer. The component library may be, for example, Ant, which is a read User Interface (UI) component library based on an Ant Design system, and certainly, the component library may also be of other types in other embodiments, which is not limited in this application.
When the software development operation includes a visualization construction operation, the updating the initial project code of the software project based on the acquired software development operation for the software project may specifically include: conducting escaping processing on the visual building operation to obtain escaping codes corresponding to the visual building operation; and placing the escape code to a corresponding position of an initial project code of the software project. The escape code is a software code obtained by performing escape processing on the visual construction operation according to a preset escape rule.
Taking the software development system as a visual building platform as an example, as shown in fig. 5, firstly, a developer may input a first visual operation to the visual building platform, and the visual building platform obtains a project-level frame code selected by the developer based on the first visual operation input by the developer, and then obtains an initial project frame code of an application based on the project-level frame code. Then, the developer can input a second visualization operation to the visualization construction platform, the visualization construction platform obtains the page level frame code based on the second visualization operation input by the developer, then obtains the initial page frame code of the application based on the page level frame code, and places the initial page frame code to the corresponding position of the initial project frame code to obtain the initial project code of the application. Finally, a developer can input visual building operation aiming at the assembly to the visual building platform, the visual building platform can perform escaping processing based on the visual building operation input by the developer to obtain escaping codes corresponding to the visual building operation, and the escaping codes are placed at the corresponding positions of the initial project codes of the application to obtain the final project codes of the application. The final project code of the application can be exported in a mode of packaging the final project code into a packaged code with a certain format, wherein the certain format can be determined by packaging information in the project-level framework code. Alternatively, the final project code of the application may be directly exported as the original code.
According to the data processing method provided by the embodiment of the application, the visualization operation is used for selecting the frame codes of the current software project from the plurality of frame codes by obtaining the visualization operation, the plurality of frame codes correspond to the plurality of export code formats, the initial project codes of the software project are obtained based on the visualization operation, the initial project codes are used for software development by developers to obtain the final project codes of the software project, the frame codes of the software development system are selected based on the visualization operation input by the developers to determine the export code formats, the developers can flexibly select the export code formats according to requirements, and therefore the flexibility of the export code formats is improved.
Fig. 6 is a schematic flow chart of a data processing method according to another embodiment of the present application, where an execution subject of this embodiment may be a terminal that runs a final project code obtained by using the method shown in fig. 2. As shown in fig. 6, the method of this embodiment may include:
step 61, acquiring a final project code of the software project; the final project code is obtained by a developer through software development based on an initial project code of the software project, the initial project code is obtained based on a visualization operation, the visualization operation is used for selecting a framework code of the software project from a plurality of framework codes, and the plurality of framework codes correspond to a plurality of derived code formats;
step 62, the final project code is run.
It should be noted that, for details of obtaining the final item code, reference may be made to specific description of the embodiment shown in fig. 2, and details are not described here again.
According to the data processing method provided by the embodiment of the application, the final project code of the software project is obtained, and the final project code is operated, wherein the final project code is obtained by a developer through software development based on the initial project code of the software project, the initial project code is obtained based on visual operation, the visual operation is used for selecting the frame code of the software project from a plurality of frame codes, the plurality of frame codes correspond to a plurality of export code formats, the codes of the software project operated by the terminal can be flexibly selected by the developer according to requirements, and therefore the flexibility of the export code formats is improved.
Fig. 7 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application; referring to fig. 7, the present embodiment provides a data processing apparatus, which may execute the data processing method described above, and specifically, the data processing apparatus may include:
an obtaining module 71, configured to obtain a visualization operation, where the visualization operation is used to select a framework code of a current software project from a plurality of framework codes, and the plurality of framework codes correspond to a plurality of export code formats;
an obtaining module 72, configured to obtain an initial project code of the software project based on the visualization operation, where the initial project code is used for a developer to perform software development to obtain a final project code of the software project.
Optionally, the visualization operation comprises a first visualization operation for selecting a project level framework code of the current software project from a plurality of project level framework codes; the plurality of item level framework codes correspond to the plurality of export code formats.
Optionally, the visualization operation further comprises a second visualization operation for adding a page to the project-level framework code of the software project.
Optionally, the obtaining module 72 is specifically configured to obtain an initial project frame code of the software project based on the first visualization operation; and obtaining an initial page frame code of the software project based on the second visualization operation, and placing the initial page frame code to a corresponding position of the initial project frame code to obtain the initial project code of the software project.
Optionally, the first visualization operation is further used for setting project information of the software project;
the obtaining module 72 is configured to obtain an initial project frame code of the software project based on the first visualization operation, and specifically includes: acquiring item level framework code of the software item selected by the first visualization operation; and placing the project information set by the first visualization operation to a corresponding position of the project-level frame code to obtain an initial project frame code of the software project.
Optionally, the second visualization operation is further used to set page information of the software project;
the obtaining module 72 is configured to obtain an initial page frame code of the software project based on the second visualization operation, and specifically includes: acquiring page-level frame codes of the software project added by the second visual operation; and placing the page information set by the first visualization operation to a corresponding position of the page-level frame code to obtain an initial page frame code of the software project.
Optionally, the derived code format includes a format of a derived original code, and/or a format of a derived packed code.
Optionally, the apparatus further comprises: and the updating module is used for updating the initial project code of the software project based on the acquired software development operation aiming at the software project to obtain the final project code of the software project.
Optionally, the software development operation includes a code input operation and/or a visualization construction operation.
Optionally, when the software development operation includes a visual construction operation, the updating module is specifically configured to perform escaping processing on the visual construction operation to obtain an escaping code corresponding to the visual construction operation; and placing the escape code in a corresponding position of an initial project code of the software project.
The apparatus shown in fig. 7 can perform the method of the embodiment shown in fig. 2, and reference may be made to the related description of the embodiment shown in fig. 2 for a part of this embodiment that is not described in detail. The implementation process and technical effect of the technical solution refer to the description in the embodiment shown in fig. 2, and are not described herein again.
In one possible implementation, the structure of the data processing apparatus shown in fig. 7 may be implemented as a terminal. As shown in fig. 8, the terminal may include: a processor 81 and a memory 82. Wherein the memory 82 is used for storing programs that support the terminal to execute the data processing method provided in the above-described embodiment shown in fig. 2, and the processor 81 is configured to execute the programs stored in the memory 82.
The program comprises one or more computer instructions which, when executed by the processor 81, are capable of performing the steps of:
obtaining a visualization operation, wherein the visualization operation is used for selecting a frame code of a current software project from a plurality of frame codes, and the plurality of frame codes correspond to a plurality of export code formats;
and obtaining an initial project code of the software project based on the visualization operation, wherein the initial project code is used for software development by a developer to obtain a final project code of the software project.
Optionally, the processor 81 is further configured to perform all or part of the steps in the foregoing embodiment shown in fig. 2.
The terminal may further include a communication interface 83, which is used for the terminal to communicate with other devices or a communication network.
Fig. 9 is a schematic structural diagram of a data processing apparatus according to another embodiment of the present application; referring to fig. 9, the present embodiment provides a data processing apparatus, which may execute the data processing method described above, and specifically, the data processing apparatus may include:
an obtaining module 91, configured to obtain a final project code of the software project; the final project code is obtained by a developer through software development based on an initial project code of the software project, the initial project code is obtained based on a visualization operation, the visualization operation is used for selecting a framework code of the software project from a plurality of framework codes, and the plurality of framework codes correspond to a plurality of derived code formats;
and the operation module 92 is used for operating the final project code.
The apparatus shown in fig. 9 can execute the method of the embodiment shown in fig. 6, and reference may be made to the related description of the embodiment shown in fig. 6 for a part of this embodiment that is not described in detail. The implementation process and technical effect of the technical solution refer to the description in the embodiment shown in fig. 6, and are not described herein again.
In one possible implementation, the structure of the data processing apparatus shown in fig. 9 may be implemented as a terminal. As shown in fig. 10, the terminal may include: a processor 101 and a memory 102. Wherein, the memory 102 is used for storing programs for supporting the terminal to execute the data processing method provided in the embodiment shown in fig. 6, and the processor 101 is configured for executing the programs stored in the memory 102.
The program comprises one or more computer instructions, wherein the one or more computer instructions, when executed by the processor 101, are capable of performing the steps of:
acquiring a final project code of the software project; the final project code is obtained by a developer through software development based on an initial project code of the software project, the initial project code is obtained based on a visualization operation, the visualization operation is used for selecting a framework code of the software project from a plurality of framework codes, and the plurality of framework codes correspond to a plurality of derived code formats;
and executing the final project code.
Optionally, the processor 101 is further configured to perform all or part of the steps in the foregoing embodiment shown in fig. 6.
The terminal may further include a communication interface 103, which is used for the terminal to communicate with other devices or a communication network.
In addition, the present application provides a computer storage medium for storing computer software instructions for a terminal, which includes a program for executing the data processing method in the method embodiment shown in fig. 2.
The embodiment of the present application provides a computer storage medium for storing computer software instructions for a terminal, which includes a program for executing the data processing method in the method embodiment shown in fig. 6.
The above-described embodiments of the apparatus are merely illustrative, and 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 modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course, can also be implemented by a combination of hardware and software. With this understanding in mind, the above-described technical solutions and/or portions thereof that contribute to the prior art may be embodied in the form of a computer program product, which may be embodied on one or more computer-usable storage media having computer-usable program code embodied therein (including but not limited to disk storage, CD-ROM, optical storage, etc.).
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (15)

1. A data processing method, comprising:
obtaining a visualization operation, wherein the visualization operation is used for selecting a frame code of a current software project from a plurality of frame codes, and the plurality of frame codes correspond to a plurality of export code formats;
and obtaining an initial project code of the software project based on the visualization operation, wherein the initial project code is used for software development by a developer to obtain a final project code of the software project.
2. The method of claim 1, wherein the visualization operation comprises a first visualization operation for selecting an item level framework code for a current software item from a plurality of item level framework codes; the plurality of item level framework codes correspond to the plurality of export code formats.
3. The method of claim 2, wherein the visualization operations further comprise a second visualization operation for adding a page to project level framework code of the software project.
4. The method of claim 3, wherein said deriving an initial project code for the item of software based on the visualization operation comprises:
obtaining an initial project frame code of the software project based on the first visualization operation;
and obtaining an initial page frame code of the software project based on the second visualization operation, and placing the initial page frame code to a corresponding position of the initial project frame code to obtain the initial project code of the software project.
5. The method of claim 4, wherein the first visualization operation is further used to set project information for the item of software;
the obtaining of the initial project framework code of the software project based on the first visualization operation comprises:
acquiring item level framework code of the software item selected by the first visualization operation;
and placing the project information set by the first visualization operation to a corresponding position of the project-level frame code to obtain an initial project frame code of the software project.
6. The method of claim 4, wherein the second visualization operation is further used to set page information of the item of software;
obtaining initial page frame code of the software project based on the second visualization operation, including:
acquiring page-level frame codes of the software project added by the second visual operation;
and placing the page information set by the first visualization operation to a corresponding position of the page-level frame code to obtain an initial page frame code of the software project.
7. The method according to any of claims 1-6, wherein the derived code format comprises a format of a derived original code and/or a format of a derived packed code.
8. The method of any of claims 1-6, wherein after obtaining the initial project code for the item of software based on the visualization operation, further comprising:
updating the initial project code of the software project based on the acquired software development operation aiming at the software project to obtain the final project code of the software project.
9. The method of claim 8, wherein the software development operation comprises a code entry operation, and/or a visual construction operation.
10. The method according to claim 9, wherein in a case that the software development operation includes a visualization construction operation, the updating the initial project code of the software project based on the acquired software development operation for the software project includes:
conducting escaping processing on the visual building operation to obtain escaping codes corresponding to the visual building operation;
and placing the escape code to a corresponding position of an initial project code of the software project.
11. A data processing method, comprising:
acquiring a final project code of the software project; the final project code is obtained by a developer through software development based on an initial project code of the software project, the initial project code is obtained based on a visualization operation, the visualization operation is used for selecting a framework code of the software project from a plurality of framework codes, and the plurality of framework codes correspond to a plurality of derived code formats;
and executing the final project code.
12. A data processing apparatus, comprising:
an obtaining module, configured to obtain a visualization operation, where the visualization operation is used to select a framework code of a current software project from a plurality of framework codes, and the plurality of framework codes correspond to a plurality of export code formats;
and the obtaining module is used for obtaining an initial project code of the software project based on the visualization operation, wherein the initial project code is used for software development of a developer to obtain a final project code of the software project.
13. A data processing apparatus, comprising:
the acquisition module is used for acquiring a final project code of the software project; the final project code is obtained by a developer through software development based on an initial project code of the software project, the initial project code is obtained based on a visualization operation, the visualization operation is used for selecting a framework code of the software project from a plurality of framework codes, and the plurality of framework codes correspond to a plurality of derived code formats;
and the operation module is used for operating the final project code.
14. A terminal, comprising: a memory, a processor; wherein the memory is to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement the method of any of claims 1 to 10.
15. A terminal, comprising: a memory, a processor; wherein the memory is to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement the method of claim 11.
CN202010738129.8A 2020-07-28 2020-07-28 Data processing method, device and equipment Pending CN114003212A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010738129.8A CN114003212A (en) 2020-07-28 2020-07-28 Data processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010738129.8A CN114003212A (en) 2020-07-28 2020-07-28 Data processing method, device and equipment

Publications (1)

Publication Number Publication Date
CN114003212A true CN114003212A (en) 2022-02-01

Family

ID=79920498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010738129.8A Pending CN114003212A (en) 2020-07-28 2020-07-28 Data processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN114003212A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193793A (en) * 2010-03-02 2011-09-21 腾讯科技(深圳)有限公司 Method and device for realizing software reusability
CN107577515A (en) * 2017-10-10 2018-01-12 北京小度信息科技有限公司 Extended method, device, electronic equipment and the storage medium of visualization component
CN109034611A (en) * 2018-07-24 2018-12-18 武汉空心科技有限公司 Back-end software development approach, platform and the system quickly delivered
CN111124376A (en) * 2020-01-20 2020-05-08 众能联合数字技术有限公司 Project building system for cod-eCli scaffold
CN111399811A (en) * 2020-03-18 2020-07-10 百度在线网络技术(北京)有限公司 Method, device and equipment for developing visual page and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193793A (en) * 2010-03-02 2011-09-21 腾讯科技(深圳)有限公司 Method and device for realizing software reusability
CN107577515A (en) * 2017-10-10 2018-01-12 北京小度信息科技有限公司 Extended method, device, electronic equipment and the storage medium of visualization component
CN109034611A (en) * 2018-07-24 2018-12-18 武汉空心科技有限公司 Back-end software development approach, platform and the system quickly delivered
CN111124376A (en) * 2020-01-20 2020-05-08 众能联合数字技术有限公司 Project building system for cod-eCli scaffold
CN111399811A (en) * 2020-03-18 2020-07-10 百度在线网络技术(北京)有限公司 Method, device and equipment for developing visual page and storage medium

Similar Documents

Publication Publication Date Title
CN110058856B (en) Page configuration method and device
US20160124914A1 (en) Page Processing for Mobile App
US10908928B2 (en) Rules-based workflow messaging
EP2909998B1 (en) Webpages with onboard hardware functions
CN105335132B (en) Method, device and system for customizing application program function
CN112068911B (en) Electronic form generation method, device, system, equipment and medium
CN107015903B (en) Interface test program generation method and device and electronic equipment
CN109683773B (en) Corpus labeling method and apparatus
CN109857964B (en) Thermodynamic diagram drawing method and device for page operation, storage medium and processor
CN112817595A (en) Interface rendering method and device, storage medium and electronic equipment
KR102181630B1 (en) Apparatus and method for application emulation
CN114003212A (en) Data processing method, device and equipment
CN111209009A (en) Content distribution method and device, storage medium and electronic equipment
US10579373B2 (en) Seamless extension porting
CN110968991A (en) Method and related device for editing characters
CN115081423A (en) Document editing method and device, electronic equipment and storage medium
CN114594945A (en) Method, device, system, equipment and medium for generating advanced popup selection frame
CN112068828A (en) Title control generation method, device, system, equipment and medium
CN111124399B (en) Processing method and device of popup assembly, storage medium and processor
CN111240676A (en) Method and device for generating code of skeleton screen
CN111782180A (en) Page generation method and device, electronic equipment and storage medium
CN111090825A (en) Dynamic customization method for webpage content
CN111290757B (en) Weex-based online code compiling method, device and equipment
CN112579068A (en) Code generation method, device, storage medium and equipment
CN116009863B (en) Front-end page rendering method, device and storage medium

Legal Events

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