CN109408038B - Open source APP personalized customization method and system - Google Patents

Open source APP personalized customization method and system Download PDF

Info

Publication number
CN109408038B
CN109408038B CN201811097894.5A CN201811097894A CN109408038B CN 109408038 B CN109408038 B CN 109408038B CN 201811097894 A CN201811097894 A CN 201811097894A CN 109408038 B CN109408038 B CN 109408038B
Authority
CN
China
Prior art keywords
user
source code
compiling
app
container
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811097894.5A
Other languages
Chinese (zh)
Other versions
CN109408038A (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.)
Moore Element Fujian Technology Co ltd
Original Assignee
Moore Element Fujian Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Moore Element Fujian Technology Co ltd filed Critical Moore Element Fujian Technology Co ltd
Priority to CN201811097894.5A priority Critical patent/CN109408038B/en
Publication of CN109408038A publication Critical patent/CN109408038A/en
Application granted granted Critical
Publication of CN109408038B publication Critical patent/CN109408038B/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/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation

Abstract

The invention provides an open source APP personalized customization method, which comprises the steps that a SaaS server generates a container for a user; deploying an APP suite purchased by a user in the container; after a user logs in the SaaS server, a source code is acquired on line, and then online compiling is carried out to complete personalized customization; the invention also provides an open source APP personalized customization system which is convenient for a user to perform personalized customization of the APP.

Description

Open source APP personalized customization method and system
Technical Field
The invention relates to an open source APP personalized customization method and system.
Background
SaaS is short for Software-as-a-Service, and is a completely innovative Software application mode beginning to rise in the 21 st century with the development of Internet technology and the maturity of application Software. The method is a mode for providing software through the Internet, a manufacturer uniformly deploys application software on a server of the manufacturer, a customer can order required application software services from the manufacturer through the Internet according to actual requirements of the customer, the cost is paid to the manufacturer according to the amount and time of the ordered services, and the services provided by the manufacturer are obtained through the Internet. The user does not need to purchase software, but rents Web-based software to the provider to manage enterprise operation activities, the software does not need to be maintained, the service provider can manage and maintain the software in full rights, the software manufacturer provides the Internet application to the client and provides the off-line operation and local data storage of the software, and the user can use the ordered software and services anytime and anywhere.
The method mainly includes that a SaaS service provider deploys matched software on a cloud server, and after a user purchases the SaaS service, the user can use the subscribed software functions, and even can perform secondary development in an environment (usually, a webpage) provided by the SaaS service provider. These developments are, however, limited! Firstly, a user can only use the function items specified by the SaaS provider, the function items are extremely limited, and the user is very unfriendly to use; secondly, the bottom source code of the SaaS service provider is not open, and a user cannot touch the bottom software of the SaaS service provider, so that great troubles are brought to system debugging and bottom software management in the development process; thirdly, the user cannot well manage the own data. Taking a database as an example, the database is managed and controlled by a SaaS provider, and a user can only use the database but cannot participate in database management, so that the management and control of the user on the data are severely restricted. Combining the above factors, it is difficult for the user to perform personalized customization in the environment provided by the SaaS provider.
Disclosure of Invention
The invention aims to provide an open source APP personalized customization method and system, which are convenient for a user to customize an APP.
One of the present invention is realized by: an open source APP personalized customization method comprises the following steps:
step 1, a SaaS server generates a container for a user;
step 2, deploying an APP suite purchased by a user in the container;
and 3, after the user logs in the SaaS server, acquiring the source code on line, and then compiling on line to finish personalized customization.
Further, the step 1 is further specifically: the SaaS server generates a container for the user through Docker.
Further, the APP suite includes an application program, a database, a code version, and a plug-in, and step 3 further includes: database maintenance and code version management and control.
Further, the online obtaining of the source code in step 3, and then the online compiling further specifically includes:
step S1, reading the original source code from the database and displaying the original source code on the web page for writing or modifying on the web page;
step S2, when the source code after writing or modifying is submitted to the web back end, the web back end loads the classpath environment, and loads the previously compiled user class environment and the third-party JAR package environment;
step S3, calling a method of jdk to compile the compiled or modified source code to obtain a compiled target file;
and step S4, putting the successfully compiled object file into a specified service environment, and storing the successfully compiled source code into the database.
Further, in step S3, failure or success result information after compiling is obtained at the same time, and fed back to the web front-end page to be displayed to the user; and the detailed information of the compiling failure is also displayed, so that a developer can locate the reason of the compiling failure.
The second invention is realized by the following steps: an open source APP personalization customization system, comprising:
a container generation module, wherein the SaaS server generates a container for a user;
a deployment module, which deploys APP kits purchased by users in the container;
and the personalized customization module is used for acquiring the source code on line after a user logs in the SaaS server, and then compiling on line to finish personalized customization.
Further, the container generation module is further specifically: the SaaS server generates a container for the user through Docker.
Further, the APP suite includes an application program, a database, a code version, and a plug-in, and the personalized customization module further includes: database maintenance and code version management and control.
Further, the online obtaining of the source code in the personalized customization module, and then the online compiling further specifically includes:
the source code writing unit is used for reading original source codes from the database and displaying the original source codes on the web page so as to write or modify the original source codes on the web page;
the loading unit is used for loading a classpath environment by the web back end when the written or modified source code is submitted to the web back end, and loading the previously compiled user class environment and a third-party JAR package environment;
the compiling unit is used for calling a method of jdk to compile the compiled or modified source code to obtain a compiled target file;
and the storage unit is used for placing the successfully compiled target file into a specified service environment and storing the successfully compiled source code into the database.
Furthermore, in the compiling unit, failure or success result information after compiling is obtained at the same time, and is fed back to a web front-end page to be displayed to a user; and the detailed information of the compiling failure is also displayed, so that a developer can locate the reason of the compiling failure.
The invention has the following advantages: personalized data generated by a user are stored in a container exclusive to the user, and the user can independently manage programs, databases, code versions, plug-ins and the like in the container, so that the user can completely control the data and is convenient for personalized customization of the user; data among different users are isolated through the container, and data confusion is avoided;
the invention realizes online compilation without compiling actions through a special integrated development tool or a java command, and without configuring a development environment on an operation terminal and compiling codes everywhere, so that the requirement on the environment of a local machine is low, tools such as JDK, eclipse and the like are not required to be installed, and the requirement on the hardware configuration of the machine is also low.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
FIG. 1 is a flow chart of the method of the present invention.
Detailed Description
As shown in fig. 1, the open source APP personalized customization method of the present invention includes:
step 1, a SaaS server generates a container for a user through a Docker;
step 2, deploying an APP suite purchased by a user in the container, wherein the APP suite comprises an application (the program refers to the application and low-level code), a database, a code version and a plug-in (the plug-in refers to an encryption plug-in, a plug-in which can be deployed in the container operating system or some additional software is installed);
and 3, after the user logs in the SaaS server, acquiring the source code on line, compiling on line, maintaining the database and managing and controlling the code version, and finishing personalized customization.
The online obtaining of the source code in step 3, and then the online compiling further specifically includes:
step S1, reading the original source code from the database and displaying the original source code on the web page for writing or modifying on the web page;
step S2, when the source code after writing or modifying is submitted to the web back end, the web back end loads the classpath environment, and loads the previously compiled user class environment and the third-party JAR package environment;
step S3, compiling the source code after compiling or modifying by calling the method of jdk, obtaining the compiled target file, obtaining the failure or success result information after compiling, feeding back to the web front-end page, and displaying to the user; the detailed information of the compiling failure is also displayed, so that developers can locate the reason of the compiling failure;
and step S4, putting the successfully compiled object file into a specified service environment, and storing the successfully compiled source code into the database.
The invention discloses an open source APP personalized customization system, which comprises:
a container module is generated, and the SaaS server generates a container for the user through a Docker;
the system comprises a deployment module, a storage module and a display module, wherein the deployment module is used for deploying an APP suite purchased by a user in a container, and the APP suite comprises an application program, a database, a code version and a plug-in;
and the personalized customization module is used for acquiring a source code on line after a user logs in the SaaS server, compiling on line, maintaining a database and managing and controlling a code version to finish personalized customization.
The personalized customization module obtains a source code on line, and then the on-line compiling further specifically comprises:
the source code writing unit is used for reading original source codes from the database and displaying the original source codes on the web page so as to write or modify the original source codes on the web page;
the loading unit is used for loading a classpath environment by the web back end when the written or modified source code is submitted to the web back end, and loading the previously compiled user class environment and a third-party JAR package environment;
the compiling unit is used for calling a jdk method to compile the compiled or modified source code to obtain a compiled target file, and simultaneously obtaining failure or success result information after compiling, feeding the failure or success result information back to a web front-end page and displaying the result information to a user; the detailed information of the compiling failure is also displayed, so that developers can locate the reason of the compiling failure;
and the storage unit is used for placing the successfully compiled target file into a specified service environment and storing the successfully compiled source code into the database.
One specific embodiment of the present invention:
a user purchases one or more APP suites (comprising application programs, databases, code version control, plug-ins and the like) through a SaaS service provider platform, and the suites are standard SaaS services;
the SaaS service provider platform generates a user-dedicated container for a user, one or more pieces of APP supporting software purchased by the user are deployed in the container, and management and control of the APP suite in the user-dedicated container completely belong to the user;
after logging in the container, a user can perform software personalized customization through the exclusive container, the use mode is the same as that of using an exclusive operating system, and the user can perform complete control on the matched software, including but not limited to program deployment, debugging, database daily maintenance, code version control and the like;
after logging in the SaaS service provider platform, a user can also perform traditional SaaS functions such as personalized function customization, newly purchasing or uninstalling APP service and the like on software through the SaaS service provider unified platform;
personalized data generated by a user are all stored in a container exclusive to the user, and the user can independently manage programs, databases, code versions, plug-ins and the like in the container, namely the user can completely control the data;
data confusion is avoided by isolating data between different users through the container.
A user A in the electronic industry purchases a set of MES product SaaS service from a SaaS unified platform of a SaaS service provider, the SaaS service provider platform generates a container with MES standard software to the user A according to the service ordered by the user, and the set of standard software in the container can be directly used or customized according to an industry application scene;
similarly, user B in the new energy industry also obtains a container with MES standard software from the purchase of similar SaaS services.
Because the application forms of industries to which A, B users belong are different, A, B users individually develop the MES standard software in a personalized manner, and the application forms and the MES standard software are not influenced by each other.
Quickly, the user A and the user B respectively complete personalized customization of the electronic industry and the new energy industry and are respectively applied to production environments. The software, the database, the code version, the plug-in and the like of each user are managed respectively without interference.
Similarly, due to the excellent use effect, the user a plans to introduce a set of ERP products, and then purchases a set of ERP product SaaS service from a SaaS service provider SaaS unified platform, the service is deployed in a container of the user a, and the user a can directly use the SaaS software or customize the set of SaaS software according to the application form.
Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the appended claims.

Claims (8)

1. An open source APP personalized customization method is characterized in that: the method comprises the following steps:
step 1, a SaaS server generates a container for a user;
step 2, deploying an APP suite purchased by a user in the container;
step 3, after a user logs in the SaaS server, acquiring a source code on line, and then compiling on line to finish personalized customization;
the online obtaining of the source code and the online compiling are further specifically:
step S1, reading the original source code from the database and displaying the original source code on the web page for writing or modifying on the web page;
step S2, when the source code after writing or modifying is submitted to the web back end, the web back end loads the classpath environment, and loads the previously compiled user class environment and the third-party JAR package environment;
step S3, calling a method of jdk to compile the compiled or modified source code to obtain a compiled target file;
and step S4, putting the successfully compiled object file into a specified service environment, and storing the successfully compiled source code into the database.
2. The personalized customization method for open-source APP according to claim 1, characterized in that: the step 1 is further specifically as follows: the SaaS server generates a container for the user through Docker.
3. The personalized customization method for open-source APP according to claim 1, characterized in that: the APP suite comprises an application program, a database, a code version and a plug-in, and the step 3 further comprises: database maintenance and code version management and control.
4. The personalized customization method for open-source APP according to claim 1, characterized in that: in step S3, failure or success result information after compiling is obtained at the same time, and fed back to the web front-end page to be displayed to the user; and the detailed information of the compiling failure is also displayed, so that a developer can locate the reason of the compiling failure.
5. An individualized customization system of open source APP which characterized in that: the method comprises the following steps:
a container generation module, wherein the SaaS server generates a container for a user;
a deployment module, which deploys APP kits purchased by users in the container;
the system comprises a personalized customization module, a software as a service (SaaS) server and a software as a service (SaaS) server, wherein a user logs in the SaaS server, and then acquires a source code on line and compiles the source code on line to finish personalized customization;
the online obtaining of the source code and the online compiling are further specifically:
the source code writing unit is used for reading original source codes from the database and displaying the original source codes on the web page so as to write or modify the original source codes on the web page;
the loading unit is used for loading a classpath environment by the web back end when the written or modified source code is submitted to the web back end, and loading the previously compiled user class environment and a third-party JAR package environment;
the compiling unit is used for calling a method of jdk to compile the compiled or modified source code to obtain a compiled target file;
and the storage unit is used for placing the successfully compiled target file into a specified service environment and storing the successfully compiled source code into the database.
6. The open-source APP personalization customization system of claim 5, wherein: the container generation module is further specifically: the SaaS server generates a container for the user through Docker.
7. The open-source APP personalization customization system of claim 5, wherein: the APP external member includes application, database, code version and plug-in, individualized customization module still includes: database maintenance and code version management and control.
8. The system of claim 5, wherein the system for online compilation on the Web site comprises: in the compiling unit, simultaneously obtaining failure or success result information after compiling, feeding back to a web front-end page, and displaying the result information to a user; and the detailed information of the compiling failure is also displayed, so that a developer can locate the reason of the compiling failure.
CN201811097894.5A 2018-09-20 2018-09-20 Open source APP personalized customization method and system Active CN109408038B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811097894.5A CN109408038B (en) 2018-09-20 2018-09-20 Open source APP personalized customization method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811097894.5A CN109408038B (en) 2018-09-20 2018-09-20 Open source APP personalized customization method and system

Publications (2)

Publication Number Publication Date
CN109408038A CN109408038A (en) 2019-03-01
CN109408038B true CN109408038B (en) 2022-04-08

Family

ID=65465021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811097894.5A Active CN109408038B (en) 2018-09-20 2018-09-20 Open source APP personalized customization method and system

Country Status (1)

Country Link
CN (1) CN109408038B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312044A (en) * 2021-07-01 2021-08-27 珠海聘仓未来科技有限公司 Recruitment-industry-based software as a service (SaaS) office system for same-party merchants

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164206A (en) * 2011-12-16 2013-06-19 上海博腾信息科技有限公司 Software customization system based on software as a service (SAAS)
CN103716403A (en) * 2013-12-31 2014-04-09 曙光云计算技术有限公司 SAAS application deployment method and system for PAAS platform under cloud computing environment
CN104793946A (en) * 2015-04-27 2015-07-22 广州杰赛科技股份有限公司 Application deployment method and system based on cloud computing platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164206A (en) * 2011-12-16 2013-06-19 上海博腾信息科技有限公司 Software customization system based on software as a service (SAAS)
CN103716403A (en) * 2013-12-31 2014-04-09 曙光云计算技术有限公司 SAAS application deployment method and system for PAAS platform under cloud computing environment
CN104793946A (en) * 2015-04-27 2015-07-22 广州杰赛科技股份有限公司 Application deployment method and system based on cloud computing platform

Also Published As

Publication number Publication date
CN109408038A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN101078987B (en) Method, device and system for establishing customizable wrappers for web applications
US11269660B2 (en) Methods and systems for integrated development environment editor support with a single code base
US9063725B2 (en) Portable management
US8015546B2 (en) Rapidly assembling and deploying selected software solutions
EP2932374B1 (en) Systems, methods, and computer program products for a software build and load process using a compilation and deployment service
US11392393B2 (en) Application runtime configuration using design time artifacts
US8549490B2 (en) Static code analysis for packaged application customization
US10296305B2 (en) Method and device for the automated production and provision of at least one software application
US8321856B2 (en) Supplying software updates synchronously
CN109542445A (en) A kind of method and apparatus that Android plug-in unit melts hair
US9342330B2 (en) Deploying a user-configured virtual appliance template including a portion of an existing computing application to enhance functionality
KR102237877B1 (en) Intelligent software auto development system with real-time collaboration support and method thereof
US20120110030A1 (en) Software database system and process of building and operating the same
CN105373390A (en) OEM-oriented online software customization packaging release method and apparatus
US8607191B2 (en) Automated discovery of programmatic resources
CA2754529A1 (en) Card processing
CN112286504A (en) Method for realizing development and loading of small program based on Reactnative in mobile APP
WO2008025514A1 (en) Systems and methods for rapid application configuration and deployment
US7886018B2 (en) Portable metadata service framework
CN109408038B (en) Open source APP personalized customization method and system
US9466037B2 (en) Versioning and effectivity dates for orchestration business process design
Jansen et al. A process model and typology for software product updaters
CN108153223B (en) Staged deployment of scalable real-time web applications for material handling systems
CN111258567A (en) Service code development processing method and device
CN110806891B (en) Method and device for generating software version of embedded device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 350000 room 710, 7 / F, building a, jiuce building, Haixi high tech Industrial Park, Fuzhou high tech Zone, Fuzhou, Fujian

Applicant after: Moore element (Fujian) Technology Co.,Ltd.

Address before: 361000 1218-20, No. 99, Songyu South Second Road, Xiamen area, China (Fujian) pilot Free Trade Zone, Xiamen, Fujian

Applicant before: MOREWIS (XIAMEN) TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant