CN113885849A - Application development method and device based on industrial internet platform and terminal equipment - Google Patents

Application development method and device based on industrial internet platform and terminal equipment Download PDF

Info

Publication number
CN113885849A
CN113885849A CN202111474949.1A CN202111474949A CN113885849A CN 113885849 A CN113885849 A CN 113885849A CN 202111474949 A CN202111474949 A CN 202111474949A CN 113885849 A CN113885849 A CN 113885849A
Authority
CN
China
Prior art keywords
application
project
industrial internet
development
internet platform
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.)
Granted
Application number
CN202111474949.1A
Other languages
Chinese (zh)
Other versions
CN113885849B (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.)
Aerospace Cloud Network Data Research Institute Guangdong Co ltd
Original Assignee
Aerospace Cloud Network Data Research Institute Guangdong 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 Aerospace Cloud Network Data Research Institute Guangdong Co ltd filed Critical Aerospace Cloud Network Data Research Institute Guangdong Co ltd
Priority to CN202111474949.1A priority Critical patent/CN113885849B/en
Publication of CN113885849A publication Critical patent/CN113885849A/en
Application granted granted Critical
Publication of CN113885849B publication Critical patent/CN113885849B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application is applicable to the technical field of industrial internet, and provides an application development method, an application development device and terminal equipment based on an industrial internet platform, wherein the method comprises the following steps: acquiring a development tool set of an industrial internet platform, wherein the industrial internet platform is provided with a mirror image warehouse, and a plurality of types of development tools are collected in the development tool set; determining a target development tool from the multiple types of development tools, and calling the target development tool to create an application project in a local development environment, wherein the application project is provided with a corresponding project file; debugging the application project based on an integrated development environment provided by the industrial internet platform; if the application project is debugged, creating a mirror image file in the mirror image warehouse according to the project file; and running the image file to deploy the application project in the industrial Internet platform. By adopting the method, the difficulty of application development can be reduced, and the development efficiency can be improved.

Description

Application development method and device based on industrial internet platform and terminal equipment
Technical Field
The embodiment of the application belongs to the technical field of industrial internet, and particularly relates to an application development method and device based on an industrial internet platform and terminal equipment.
Background
The application development generally refers to a process of writing software codes by using programming languages such as C #, java, C + +, vb and the like to develop software capable of meeting the actual requirements of users. The application development widens the application field of the computer system and enlarges the functions of hardware.
Generally, when a developer develops an application, the developer needs to write software codes and perform processes such as debugging on the application. And only the application qualified in debugging is allowed to be uploaded to an application platform for being downloaded and used by other users. The whole process has huge workload and higher difficulty, and needs to be supported by certain resources. For example, debugging an application requires considerable use of computer resources and requires a developer to configure the debugging environment, which is time consuming. Therefore, the existing application development mode has higher threshold and lower efficiency, and greatly restricts the development of informatization.
Disclosure of Invention
In view of this, embodiments of the present application provide an application development method and apparatus based on an industrial internet platform, and a terminal device, so as to reduce difficulty in application development and improve development efficiency.
A first aspect of an embodiment of the present application provides an application development method based on an industrial internet platform, including:
acquiring a development tool set of an industrial internet platform, wherein the industrial internet platform is provided with a mirror image warehouse, and a plurality of types of development tools are collected in the development tool set;
determining a target development tool from the multiple types of development tools, and calling the target development tool to create an application project in a local development environment, wherein the application project is provided with a corresponding project file;
debugging the application project based on an integrated development environment provided by the industrial internet platform;
if the application project is debugged, creating a mirror image file in the mirror image warehouse according to the project file;
and running the image file to deploy the application project in the industrial Internet platform.
A second aspect of the embodiments of the present application provides an application development apparatus based on an industrial internet platform, including:
the system comprises a development tool set acquisition module, a development tool set acquisition module and a development tool set acquisition module, wherein the development tool set acquisition module is used for acquiring a development tool set of an industrial internet platform, the industrial internet platform is provided with a mirror image warehouse, and a plurality of types of development tools are collected in the development tool set;
a target development tool determination module for determining a target development tool from the plurality of types of development tools;
the application project creating module is used for calling the target development tool to create an application project in a local development environment, and the application project is provided with a corresponding project file;
the application project debugging module is used for debugging the application project based on an integrated development environment provided by the industrial Internet platform;
the mirror image file creating module is used for creating a mirror image file in the mirror image warehouse according to the project file if the application project is debugged and passed;
and the application project deployment module is used for operating the mirror image file so as to deploy the application project in the industrial Internet platform.
A third aspect of the embodiments of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor, when executing the computer program, implements the application development method based on the industrial internet platform according to the first aspect.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the industrial internet platform-based application development method according to the first aspect.
A fifth aspect of embodiments of the present application provides a computer program product, which when running on a computer, causes the computer to execute the application development method based on the industrial internet platform according to the first aspect.
Compared with the prior art, the embodiment of the application has the following advantages:
according to the method and the device, the target development tool in the development tool set can be called to create the application project in the local development environment by obtaining the development tool set of the industrial internet platform. Then, the debugging of the application item can be completed in an integrated development environment provided by an industrial internet platform, so that the problems that the resources provided by a local terminal are limited and the debugging of the application item is possibly not enough supported are solved, the debugging range is expanded by calling more resources of the industrial internet platform, and the debugging reliability is ensured. According to the method and the device, the resources of the industrial internet platform are used, the local development environment and the integrated development environment of the industrial internet platform are combined to complete the whole process of application project development, the difficulty of application development is reduced, and the development project is improved. The application projects which are developed and debugged can be directly deployed in an industrial Internet platform for other users with requirements to download and use, so that resource waste caused by repeated development of the same type of application is reduced, the technical threshold of application development and the difficulty of enterprise informatization transformation are reduced, and the enterprise is facilitated to improve the generation efficiency.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the embodiments or the description of the prior art will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic flowchart illustrating steps of an application development method based on an industrial internet platform according to an embodiment of the present application;
fig. 2 is a schematic diagram of an implementation manner of step S102 in an application development method based on an industrial internet platform according to an embodiment of the present application;
fig. 3 is a schematic diagram of another implementation manner of step S102 in an application development method based on an industrial internet platform according to an embodiment of the present application;
fig. 4 is a schematic diagram of an implementation manner of step S103 in an application development method based on an industrial internet platform according to an embodiment of the present application;
fig. 5 is a schematic diagram of an implementation manner of step S104 in an application development method based on an industrial internet platform according to an embodiment of the present application;
fig. 6 is a schematic diagram of an implementation manner of step S105 in an application development method based on an industrial internet platform according to an embodiment of the present application;
fig. 7 is a schematic diagram of an application development device based on an industrial internet platform according to an embodiment of the present application;
fig. 8 is a schematic diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
The technical solution of the present application will be described below by way of specific examples.
Referring to fig. 1, a schematic flow chart illustrating steps of an application development method based on an industrial internet platform provided in an embodiment of the present application is shown, which may specifically include the following steps:
s101, acquiring a development tool set of an industrial internet platform, wherein the industrial internet platform is provided with a mirror image warehouse, and the development tool set is provided with multiple types of development tools.
It should be noted that the method may be applied to a terminal device, that is, an execution subject of the embodiment of the present application may be the terminal device, and a developer may perform a series of operations on the terminal device, thereby implementing the whole process of development of an application. In addition, the operation processes of the developer described in the embodiments of the present application may be regarded as being implemented by the terminal device through responses to various operations of the developer.
The industrial internet platform in the embodiment of the application can be a public service platform taking industrial application as a core, and can cover all scenes in the whole application life cycle of development, operation, release, transaction, use, developer communities and the like of the application. That is, a developer may develop an application based on the platform and deploy the application to the platform for use by other users after a transaction.
As an example of the embodiment of the present application, the industrial internet platform may be an incics (industrial interactive system) platform, or an association platform established based on resources of the incics platform, which is not limited in the embodiment of the present application.
Taking the INDIS platform as an example, the INDIS platform is an industrial internet open platform which takes industrial big data as a drive and takes cloud computing, big data and internet of things technology as a core, and can realize comprehensive interconnection and comprehensive integration of products, machines, data and people. The INDIS platform can provide complete industrial Internet service functions covering IaaS, DaaS, PaaS and SaaS, and is suitable for enterprises of different levels, types and scales; the system can support various industrial equipment to be accessed and integrated with various industrial application services, is beneficial to constructing a benign industrial ecosystem, and enables the manufacturing management to be more convenient and efficient.
In the embodiment of the application, multiple types of development tools can be integrated in the incics platform or an association platform established based on the resources of the incics platform (hereinafter, referred to as an industrial internet platform), and the development tools together form a development tool set used by developers.
Illustratively, the industrial internet platform may employ containerization technology to provide up-to-date and best practices of DevOps (a collective term for processes, methods, and systems) and support of mainstream Programming languages, Software Development Kits (SDKs), command-line interfaces (CLIs) CLIs, and RESTful (a design style and development style of web applications) APIs (Application Programming interfaces), etc. In addition, the NDICS platform or its associated platform may also provide Development plug-ins for various Integrated Development Environments (IDEs), provide a micro service component library, create a cloud operating system for developers to develop and run applications, and the like.
The mirror repository in the industrial internet platform may be a service for managing application container engine (Docker) mirrors. The mirror image warehouse can provide safe application mirror image hosting capability, and is convenient for a user to manage the full life cycle of the mirror image.
In the embodiment of the application, when a developer plans to develop a certain application, a development tool set can be obtained from the industrial internet platform through the terminal device to know a development mode provided by the industrial internet platform. In this way, the developer can select an appropriate development tool for application development.
It should be noted that before application development is performed by using a development tool set provided by an industrial internet platform, a developer needs to perform account registration on the platform first to obtain corresponding authorization.
S102, determining a target development tool from the multiple types of development tools, and calling the target development tool to create an application project in a local development environment, wherein the application project has a corresponding project file.
In an embodiment of the present application, the target development tool may be a development tool supported by an industrial internet platform. In general, in order to improve development efficiency, a developer may select a development tool that is most familiar to use from among a plurality of development tools provided by a development tool set as a target development tool.
The developer can then create an application project, i.e., the specific application that the developer is to develop, in a local development environment using the target development tools described above.
Illustratively, a developer may first write software code using a programming language supported by the industrial internet platform. These software codes, along with other essential data, files, configuration information, etc., constitute project files for the application.
In one possible implementation manner of the embodiment of the present application, as shown in fig. 2, invoking the target development tool in S102 to create the application project in the local development environment may specifically include the following sub-steps S1021 to S1023:
s1021, determining at least one application service to be realized by the application project.
In the embodiment of the present application, the application service to be implemented by the application project may refer to a service function that can be implemented after the application is developed. In a supply chain management application, the application services that can be implemented may include functions such as warehousing management, inventory inquiry, depreciation and cancellation, for example.
Before developing an application, a developer determines the service functions which can be realized by the application, and is helped to write corresponding software codes according to the service functions in a targeted manner.
S1022, calling the target development tool to write the file structure of the application project, and adding corresponding file codes in the file structure aiming at the at least one application service to obtain the project file of the application project.
In the embodiment of the application, a developer can use a target development tool to create an application project, and the application project can have different file structures according to the target development tool used by the developer.
Illustratively, taking developing a JAVA Web application deployed in tomcat as an example, the file structure of the JAVA Web application can be expressed as:
TomcatDemo/
src/
main/
java/
webapp/
test/
java/
wherein tomcat demo is the name of the application.
Based on the file structure, a developer can add file codes at corresponding positions according to the service functions to be realized by the application, namely writing code segments for realizing the service functions.
How to write software codes for specific applications and functions implemented by the applications has been introduced in the prior art, and specific code segments depend on specific implementation manners of the functions, which is not described in detail herein.
And S1023, running the project file in the local development environment to create the application project.
The project file is the complete software code of the application and other necessary data or information. After the processing is completed, the developer can operate on the terminal device, so that the terminal device is controlled to run the project file in the local development environment, and a specific application is created. The local development environment may be a development environment provided by the terminal device itself.
In a possible implementation manner of the embodiment of the present application, as shown in fig. 3, the step of invoking the target development tool to create the application project in the local development environment in S102 may further include the following sub-steps S1024-S1026:
s1024, obtaining at least one micro-service component for realizing the at least one application service from the industrial Internet platform.
And S1025, adopting the at least one micro service component to independently form the application project. Alternatively, the first and second electrodes may be,
and S1026, combining the at least one micro service component and the project file into the application project.
In the embodiment of the application, the industrial internet platform can be externally provided with a micro service component library, and the terminal device can obtain a specific micro service component from the micro service component library by responding to the operation of a developer. The microservice components may implement one or more specific services.
Illustratively, the micro-service component library may provide a corresponding inventory query micro-service component for functions such as inventory query in the supply chain management process. Therefore, the terminal equipment can obtain the component from the micro-service component library directly without a developer developing the component again, and the development speed of the application is further accelerated.
In the embodiment of the present application, each micro service component acquired by the terminal device from the micro service component library may be used in combination.
Specifically, if each service function related to the application to be developed by the developer can find a specific micro service component from the micro service component library, after the terminal device obtains the micro service components, the micro service components can be directly combined to complete the development of the application. Illustratively, in the process of developing the supply chain management application, if the application only includes functions of warehousing management, inventory query, depreciation and account cancellation, and the functions can be realized by a plurality of micro-service components in the micro-service component library, the terminal device can directly acquire the micro-service components and combine the micro-service components to obtain the supply chain management application, without encoding corresponding software codes for each service function separately.
Of course, if only the microservice components that can implement part of the service functions can be provided in the microservice component library, the remaining service functions still need to be developed in the terminal device by the developer. Thus, the final combined application project may include several microservice components obtained from a microservice component library and software code written by a developer for part of the service functionality.
S103, debugging the application project based on an integrated development environment provided by the industrial Internet platform.
After the development of the application is completed, the application needs to be debugged to determine whether the application has a bug (bug).
Typically, debugging of an application requires the use of significant computer resources. For a generic terminal device, it may not be able to provide such a large amount of resources. However, the resources to access the industrial internet platform are large enough to meet the debugging task of any application. Therefore, in the embodiment of the application, debugging for the application can be completed in an integrated development environment provided by an industrial internet platform. That is, for each application developed in a local development environment, remote debugging can be performed based on an integrated development environment provided by an industrial internet platform.
In a possible implementation manner of the embodiment of the present application, as shown in fig. 4, the debugging of the application project based on the integrated development environment provided by the industrial internet platform in S103 may specifically include the following sub-steps S1031 to S1035:
and S1031, downloading a remote debugging plug-in from the industrial Internet platform.
In the embodiment of the application, remote debugging can be realized based on a remote debugging plug-in provided by an industrial internet platform. Therefore, before debugging the application, the terminal equipment can download the remote debugging plug-in from the industrial Internet platform.
It should be noted that, the remote debugging also needs to rely on a command line tool, and if the command line tool is not installed in the terminal device, the command line tool needs to be downloaded from the industrial internet platform. For a downloaded and installed command line tool, the terminal device may add the path in which the command line tool resides to the executable path of the environment variable.
S1032, adding a remote debugging task code in the project file.
S1033, calling an integrated development tool to run the project file added with the remote debugging task code so as to generate a debugging configuration page, and performing debugging configuration in the debugging configuration page.
In the embodiment of the application, the remote debugging task code can be used for being triggered to execute the remote debugging operation in the process of running the project file. Specifically, the integrated development tool may be called to run the project file added with the remote debugging task code, so as to generate a debugging configuration page. The terminal equipment can respond to the information input by the developer in the debugging configuration page to complete the debugging configuration.
In one possible implementation manner of the embodiment of the present application, the integrated development tool may be IntelliJ IDEA. The IntelliJ IDEA is an integrated environment developed by using a java programming language, and has strong functions in the aspects of intelligent code assistant, code automatic prompt, reconstruction, JavaEE support, various version tools (git, svn and the like), JUnit, CVS integration, code analysis, innovative GUI design and the like.
In this embodiment of the present application, the terminal device may call IntelliJ IDEA to open a project file, and enter a Run/debug configuration page by responding to an instruction that the developer selects Run → Edit Configurations in the top menu bar.
S1034, entering a path where the remote debugging plug-in is located through a command prompt window.
S1035, logging in the industrial Internet platform and executing a preset debugging instruction in the industrial Internet platform so as to deploy the application project to an integrated development environment of the industrial Internet platform and carry out remote debugging on the application project in the integrated development environment.
After the configuration is completed, the terminal device may open a command prompt (cmd) window based on the instruction of the developer, and enter a path where the remote debugging plug-in is located.
At the moment, the terminal equipment can log in the industrial Internet platform by inputting a user name and a password, and starts remote debugging of the application by executing a preset debugging instruction.
It should be noted that, after the debugging instruction is executed, the project file in the IntelliJ IDEA is broken, and by executing remote debugging, the project file is deployed to the industrial internet platform and enters a debugging mode.
And S104, if the application project is debugged and passed, creating an image file in the image warehouse according to the project file.
If the application project passes the debugging, the application project is in accordance with the corresponding development requirement, and the application project is allowed to be deployed to the industrial Internet platform for being downloaded and used by other users.
When the application is deployed to the industrial internet platform, the terminal device can firstly respond to an operation instruction of a developer and create an image file of the project file in an image warehouse of the industrial internet platform. By creating the mirror image file, a specific series of files can be made into a single file according to a certain format, so that the files can be conveniently downloaded and used by a user.
In a possible implementation manner of the embodiment of the present application, as shown in fig. 5, creating an image file in an image repository according to a project file in S104 may specifically include the following sub-steps S1041 to S1042:
s1041, packaging the application item into a data packet with a preset data format.
S1042, uploading the data packet to the mirror image warehouse as a mirror image file of the project file.
In this embodiment, the preset data format may be a war format. war is a packaging format, and most of java web projects have data packaged into war format data packets and issued. The advantage of packing the data into war format is that there is no directory shortage, and only one published file needs to be managed, and the server can automatically recognize. Taking tomcat server as an example, a war package is placed under webapps of a tomcat container, and when the service is started, the project can be run, and the war package can automatically decompress a folder with the same name.
And uploading the data packet with the preset data format to a mirror image warehouse, wherein the data packet can be used as a mirror image file of the current application.
And S105, running the mirror image file to deploy the application project in the industrial Internet platform.
In the embodiment of the application, the purpose of deploying the application in the industrial internet platform can be achieved by running the image file.
In a possible implementation manner of the embodiment of the present application, as shown in fig. 6, running an image file in S105 to deploy an application project in an industrial internet platform may specifically include the following sub-steps S1051 to S1052:
s1051, executing the operation of creating the application project in the industrial Internet platform.
S1052, aiming at the operation, acquiring and running the image file from the image warehouse so as to deploy the application project in the industrial Internet platform.
In the embodiment of the application, the operation of creating the application project can be performed in the industrial internet platform, and the operation comprises filling information such as application name and type. Then, for the operation, the uploaded image file can be obtained from the image warehouse and run. The image file can be bound with information such as application names and types input in the operation of creating the application project after running, and therefore deployment of the application project in an industrial internet platform is completed.
An application deployed in an industrial internet platform can be exposed to other users, who can download the application from the platform and use it. In this way, all users with requirements can obtain the required applications from the platform.
In the embodiment of the application, by acquiring a development tool set of an industrial internet platform, a target development tool in the development tool set can be called to create an application project in a local development environment. Then, the debugging of the application item can be completed in an integrated development environment provided by an industrial internet platform, so that the problems that the resources provided by a local terminal are limited and the debugging of the application item is possibly not enough supported are solved, the debugging range is expanded by calling more resources of the industrial internet platform, and the debugging reliability is ensured. According to the method and the device, the resources of the industrial internet platform are used, the local development environment and the integrated development environment of the industrial internet platform are combined to complete the whole process of application project development, the difficulty of application development is reduced, and the development project is improved. The application projects which are developed and debugged can be directly deployed in an industrial Internet platform for other users with requirements to download and use, so that resource waste caused by repeated development of the same type of application is reduced, the technical threshold of application development and the difficulty of enterprise informatization transformation are reduced, and the enterprise is facilitated to improve the generation efficiency.
It should be noted that, the sequence numbers of the steps in the foregoing embodiments do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Referring to fig. 7, a schematic diagram of an application development apparatus based on an industrial internet platform provided in an embodiment of the present application is shown, and specifically may include a development tool set obtaining module 701, a target development tool determining module 702, an application project creating module 703, an application project debugging module 704, an image file creating module 705, and an application project deploying module 706, where:
a development tool set acquisition module 701, configured to acquire a development tool set of an industrial internet platform, where the industrial internet platform has a mirror warehouse, and multiple types of development tools are collected in the development tool set;
a target development tool determination module 702 for determining a target development tool from the plurality of types of development tools;
an application project creating module 703, configured to invoke the target development tool to create an application project in a local development environment, where the application project has a corresponding project file;
an application project debugging module 704, configured to debug the application project based on an integrated development environment provided by the industrial internet platform;
an image file creating module 705, configured to create an image file in the image repository according to the project file if the application project is debugged and passed;
and the application project deployment module 706 is used for running the image file so as to deploy the application project in the industrial internet platform.
In this embodiment of the application, the application project creating module 703 may be specifically configured to: determining at least one application service to be implemented by the application project; calling the target development tool to write a file structure of the application project, and adding corresponding file codes in the file structure aiming at the at least one application service to obtain a project file of the application project; and running the project file in the local development environment to create the application project.
In this embodiment of the application, the application project creating module 703 may be further configured to: obtaining at least one micro-service component for realizing the at least one application service from the industrial internet platform; adopting the at least one micro service component to independently constitute the application project; or combining the at least one micro service component and the project file into the application project.
In this embodiment of the present application, the application project debugging module 704 may be specifically configured to: downloading a remote debugging plug-in from the industrial Internet platform; adding a remote debugging task code in the project file; calling an integrated development tool to run the project file added with the remote debugging task code so as to generate a debugging configuration page, and performing debugging configuration in the debugging configuration page; entering a path where the remote debugging plug-in is located through a command prompt window; logging in the industrial Internet platform and executing a preset debugging instruction in the industrial Internet platform so as to deploy the application project to an integrated development environment of the industrial Internet platform and carry out remote debugging on the application project in the integrated development environment.
In this embodiment of the present application, the application project debugging module 704 may further be configured to: and downloading a command line tool from the industrial Internet platform, and adding the path of the command line tool to the executable path of the environment variable.
In this embodiment of the present application, the image file creating module 705 may be specifically configured to: and packaging the application project into a data packet with a preset data format, and uploading the data packet to the mirror image warehouse as a mirror image file of the project file.
In this embodiment of the present application, the application project deployment module 706 may specifically be configured to: executing an operation of creating an application project in the industrial internet platform; and aiming at the operation, acquiring and running the image file from the image warehouse so as to deploy the application project in the industrial Internet platform.
For the apparatus embodiment, since it is substantially similar to the method embodiment, it is described relatively simply, and reference may be made to the description of the method embodiment section for relevant points.
Referring to fig. 8, a schematic diagram of a terminal device provided in an embodiment of the present application is shown. As shown in fig. 8, the terminal device 800 of the present embodiment includes: a processor 810, a memory 820, and a computer program 821 stored in the memory 820 and operable on the processor 810. The processor 810, when executing the computer program 821, implements the steps in the above-mentioned application development method based on the industrial internet platform, for example, steps S101 to S105 shown in fig. 1. Alternatively, the processor 810, when executing the computer program 821, implements the functions of the modules/units in the device embodiments, such as the functions of the modules 701 to 706 shown in fig. 7.
Illustratively, the computer program 821 may be partitioned into one or more modules/units that are stored in the memory 820 and executed by the processor 810 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which may be used to describe the execution of the computer program 821 in the terminal device 800. For example, the computer program 821 may be divided into a tool set obtaining module, a target development tool determining module, an application project creating module, an application project debugging module, an image file creating module, and an application project deploying module, where the specific functions of the modules are as follows:
the system comprises a development tool set acquisition module, a development tool set acquisition module and a development tool set acquisition module, wherein the development tool set acquisition module is used for acquiring a development tool set of an industrial internet platform, the industrial internet platform is provided with a mirror image warehouse, and a plurality of types of development tools are collected in the development tool set;
a target development tool determination module for determining a target development tool from the plurality of types of development tools;
the application project creating module is used for calling the target development tool to create an application project in a local development environment, and the application project is provided with a corresponding project file;
the application project debugging module is used for debugging the application project based on an integrated development environment provided by the industrial Internet platform;
the mirror image file creating module is used for creating a mirror image file in the mirror image warehouse according to the project file if the application project is debugged and passed;
and the application project deployment module is used for operating the mirror image file so as to deploy the application project in the industrial Internet platform.
The terminal device 800 may be a desktop computer, a notebook computer, or the like. The terminal device 800 may include, but is not limited to, a processor 810 and a memory 820. Those skilled in the art will appreciate that fig. 8 is only one example of a terminal device 800 and does not constitute a limitation of terminal device 800, and may include more or fewer components than shown, or some components may be combined, or different components, e.g., terminal device 800 may also include input-output devices, network access devices, buses, etc.
The Processor 810 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 820 may be an internal storage unit of the terminal device 800, such as a hard disk or a memory of the terminal device 800. The memory 820 may also be an external storage device of the terminal device 800, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and so on, provided on the terminal device 800. Further, the memory 820 may also include both an internal storage unit and an external storage device of the terminal apparatus 800. The memory 820 is used for storing the computer program 821 and other programs and data required by the terminal device 800. The memory 820 may also be used to temporarily store data that has been output or is to be output.
The embodiment of the application also discloses a terminal device, which comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein when the processor executes the computer program, the application development method based on the industrial internet platform is realized according to the foregoing embodiments.
The embodiment of the application also discloses a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the application development method based on the industrial internet platform according to the foregoing embodiments.
The embodiment of the application also discloses a computer program product, and when the computer program product runs on a computer, the computer is enabled to execute the application development method based on the industrial internet platform in the foregoing embodiments.
The above-mentioned 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 technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. An application development method based on an industrial internet platform is characterized by comprising the following steps:
acquiring a development tool set of an industrial internet platform, wherein the industrial internet platform is provided with a mirror image warehouse, and a plurality of types of development tools are collected in the development tool set;
determining a target development tool from the multiple types of development tools, and calling the target development tool to create an application project in a local development environment, wherein the application project is provided with a corresponding project file;
debugging the application project based on an integrated development environment provided by the industrial internet platform;
if the application project is debugged, creating a mirror image file in the mirror image warehouse according to the project file;
and running the image file to deploy the application project in the industrial Internet platform.
2. The method of claim 1, wherein said invoking the target development tool to create an application project in a local development environment comprises:
determining at least one application service to be implemented by the application project;
calling the target development tool to write a file structure of the application project, and adding corresponding file codes in the file structure aiming at the at least one application service to obtain a project file of the application project;
and running the project file in the local development environment to create the application project.
3. The method of claim 2, wherein said invoking the target development tool creates an application project in a local development environment, further comprising:
obtaining at least one micro-service component for realizing the at least one application service from the industrial internet platform;
adopting the at least one micro service component to independently constitute the application project; alternatively, the first and second electrodes may be,
and combining the at least one micro service component and the project file into the application project.
4. The method according to any one of claims 1-3, wherein the debugging the application project based on the integrated development environment provided by the industrial internet platform comprises:
downloading a remote debugging plug-in from the industrial Internet platform;
adding a remote debugging task code in the project file;
calling an integrated development tool to run the project file added with the remote debugging task code so as to generate a debugging configuration page, and performing debugging configuration in the debugging configuration page;
entering a path where the remote debugging plug-in is located through a command prompt window;
logging in the industrial Internet platform and executing a preset debugging instruction in the industrial Internet platform so as to deploy the application project to an integrated development environment of the industrial Internet platform and carry out remote debugging on the application project in the integrated development environment.
5. The method of claim 4, wherein after downloading a remote debugging plug-in from the industrial internet platform, the method further comprises:
and downloading a command line tool from the industrial Internet platform, and adding the path of the command line tool to the executable path of the environment variable.
6. The method of any of claims 1-3 or 5, wherein creating an image file in the image repository from the project file comprises:
and packaging the application project into a data packet with a preset data format, and uploading the data packet to the mirror image warehouse as a mirror image file of the project file.
7. The method of claim 6, wherein the running the image file to deploy the application project in the industrial internet platform comprises:
executing an operation of creating an application project in the industrial internet platform;
and aiming at the operation, acquiring and running the image file from the image warehouse so as to deploy the application project in the industrial Internet platform.
8. An application development device based on an industrial internet platform is characterized by comprising:
the system comprises a development tool set acquisition module, a development tool set acquisition module and a development tool set acquisition module, wherein the development tool set acquisition module is used for acquiring a development tool set of an industrial internet platform, the industrial internet platform is provided with a mirror image warehouse, and a plurality of types of development tools are collected in the development tool set;
a target development tool determination module for determining a target development tool from the plurality of types of development tools;
the application project creating module is used for calling the target development tool to create an application project in a local development environment, and the application project is provided with a corresponding project file;
the application project debugging module is used for debugging the application project based on an integrated development environment provided by the industrial Internet platform;
the mirror image file creating module is used for creating a mirror image file in the mirror image warehouse according to the project file if the application project is debugged and passed;
and the application project deployment module is used for operating the mirror image file so as to deploy the application project in the industrial Internet platform.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the industrial internet platform based application development method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the industrial internet platform-based application development method according to any one of claims 1 to 7.
CN202111474949.1A 2021-12-06 2021-12-06 Application development method and device based on industrial internet platform and terminal equipment Active CN113885849B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111474949.1A CN113885849B (en) 2021-12-06 2021-12-06 Application development method and device based on industrial internet platform and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111474949.1A CN113885849B (en) 2021-12-06 2021-12-06 Application development method and device based on industrial internet platform and terminal equipment

Publications (2)

Publication Number Publication Date
CN113885849A true CN113885849A (en) 2022-01-04
CN113885849B CN113885849B (en) 2022-04-12

Family

ID=79015639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111474949.1A Active CN113885849B (en) 2021-12-06 2021-12-06 Application development method and device based on industrial internet platform and terminal equipment

Country Status (1)

Country Link
CN (1) CN113885849B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114722161A (en) * 2022-06-09 2022-07-08 广州易方信息科技股份有限公司 Method and device for rapidly inquiring state of single task of adding PM on IDE interface
CN115695412A (en) * 2022-09-28 2023-02-03 北京亚控科技发展有限公司 Industrial application system, development method, device and storage medium
CN115755818A (en) * 2022-12-02 2023-03-07 江苏欧软信息科技有限公司 Application creation method and system for industrial internet platform
WO2023142082A1 (en) * 2022-01-29 2023-08-03 西门子股份公司 Device control method and apparatus, platform, and computer readable medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150135165A1 (en) * 2013-11-09 2015-05-14 Microsoft Corporation Debugging a web application locally during development
US20150160938A1 (en) * 2013-12-10 2015-06-11 Fmr Llc Automation in rule engine in an integration development environment
CN107608663A (en) * 2017-09-27 2018-01-19 北京蜂语网络科技有限公司 A kind of development approach and device of Mobile solution plug-in unit and Mobile solution
US20190138299A1 (en) * 2017-11-06 2019-05-09 General Electric Company Software development lifecycle as a service
CN109976739A (en) * 2019-03-29 2019-07-05 山东浪潮云信息技术有限公司 A kind of front end development approach based on docker
CN111767031A (en) * 2020-07-14 2020-10-13 中核武汉核电运行技术股份有限公司 Nuclear power industry internet experiment bed based on emulation
CN112558974A (en) * 2019-09-26 2021-03-26 罗克韦尔自动化技术公司 Systems, methods, and computer media for collaborative development of industrial applications
CN112711397A (en) * 2020-12-29 2021-04-27 航天信息股份有限公司 Method and system for establishing system based on micro-service and top-level design

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150135165A1 (en) * 2013-11-09 2015-05-14 Microsoft Corporation Debugging a web application locally during development
US20150160938A1 (en) * 2013-12-10 2015-06-11 Fmr Llc Automation in rule engine in an integration development environment
CN107608663A (en) * 2017-09-27 2018-01-19 北京蜂语网络科技有限公司 A kind of development approach and device of Mobile solution plug-in unit and Mobile solution
US20190138299A1 (en) * 2017-11-06 2019-05-09 General Electric Company Software development lifecycle as a service
CN109976739A (en) * 2019-03-29 2019-07-05 山东浪潮云信息技术有限公司 A kind of front end development approach based on docker
CN112558974A (en) * 2019-09-26 2021-03-26 罗克韦尔自动化技术公司 Systems, methods, and computer media for collaborative development of industrial applications
CN111767031A (en) * 2020-07-14 2020-10-13 中核武汉核电运行技术股份有限公司 Nuclear power industry internet experiment bed based on emulation
CN112711397A (en) * 2020-12-29 2021-04-27 航天信息股份有限公司 Method and system for establishing system based on micro-service and top-level design

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
ENDLESSRAIN: ""工业应用开发中心——工业互联应用平台介绍"", 《HTTPS://ZHUANLAN.ZHIHU.COM/P/83940385》 *
G.FYLAKTOPOULOS等: ""A distributed modular platform for the development of cloud based applications"", 《FUTURE GENERATION COMPUTER SYSTEMS》 *
JASON WIRANATA IVANOVICH等: ""Development Model of Warteg Online Applications based on Web and Mobile"", 《2020 INTERNATIONAL CONFERENCE ON INFORMATION MANAGEMENT AND TECHNOLOGY (ICIMTECH)》 *
太阳石协议: ""工业互联网 第4章 各类工业互联网平台介绍以及OneNET平台使用"", 《HTTPS://BLOG.CSDN.NET/DY22511825/ARTICLE/DETAILS/106874910》 *
孙小东 等: ""工业互联网平台的架构设计"", 《工业加热》 *
徐星 等: "企业开发、测试环境快速部署方案的设计与实现", 《工业控制计算机》 *
李达 等: ""基于数据引擎技术的工业互联网平台"", 《智能科学与技术学报》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023142082A1 (en) * 2022-01-29 2023-08-03 西门子股份公司 Device control method and apparatus, platform, and computer readable medium
CN114722161A (en) * 2022-06-09 2022-07-08 广州易方信息科技股份有限公司 Method and device for rapidly inquiring state of single task of adding PM on IDE interface
CN115695412A (en) * 2022-09-28 2023-02-03 北京亚控科技发展有限公司 Industrial application system, development method, device and storage medium
CN115755818A (en) * 2022-12-02 2023-03-07 江苏欧软信息科技有限公司 Application creation method and system for industrial internet platform
CN115755818B (en) * 2022-12-02 2023-10-31 江苏欧软信息科技有限公司 Application creation method and system of industrial Internet platform

Also Published As

Publication number Publication date
CN113885849B (en) 2022-04-12

Similar Documents

Publication Publication Date Title
CN113885849B (en) Application development method and device based on industrial internet platform and terminal equipment
US11663110B2 (en) Analysis to check web API code usage and specification
US11178207B2 (en) Software version control without affecting a deployed container
CN106559438B (en) Program uploading method and device based on target network platform
US11210070B2 (en) System and a method for automating application development and deployment
US8434070B2 (en) Generating specifications of client-server applications for static analysis
US8806475B2 (en) Techniques for conditional deployment of application artifacts
US11074154B2 (en) Identifying a source file for use in debugging compiled code
US11481200B1 (en) Checking source code validity at time of code update
US20120102474A1 (en) Static analysis of client-server applications using framework independent specifications
US20200183683A1 (en) Application architecture generation
US9436585B1 (en) Image patching in an integrated development environment
US9459986B2 (en) Automatic generation of analysis-equivalent application constructs
US11200048B2 (en) Modification of codified infrastructure for orchestration in a multi-cloud environment
EP3447635A1 (en) Application architecture generation
US10409567B2 (en) Trimming unused dependencies using package graph and module graph
US11288170B1 (en) Log analysis debugging without running on real production environment
US11360801B2 (en) Single nested multi-item workflow display
US9519566B2 (en) Modeling memory use of applications
US20230409417A1 (en) Automated generation of application programming interfaces for microservices
US20070006121A1 (en) Development activity recipe
US11947966B2 (en) Identifying computer instructions enclosed by macros and conflicting macros at build time
US11726778B2 (en) Translating clusters of a monolith application to microservices
CN115113972A (en) Application transformation method, system, cluster, medium and program product
Mariani et al. MASH: tool integration made easy

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