CN114895877B - Method and device for establishing enterprise ERP (Enterprise resource planning) in low-code modularization mode based on webpage - Google Patents

Method and device for establishing enterprise ERP (Enterprise resource planning) in low-code modularization mode based on webpage Download PDF

Info

Publication number
CN114895877B
CN114895877B CN202210817961.6A CN202210817961A CN114895877B CN 114895877 B CN114895877 B CN 114895877B CN 202210817961 A CN202210817961 A CN 202210817961A CN 114895877 B CN114895877 B CN 114895877B
Authority
CN
China
Prior art keywords
module
functional
information
data
verification
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
CN202210817961.6A
Other languages
Chinese (zh)
Other versions
CN114895877A (en
Inventor
车明
张东
郭相成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Resource Huiying Network Technology Co ltd
Original Assignee
Beijing Resource Huiying Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Resource Huiying Network Technology Co ltd filed Critical Beijing Resource Huiying Network Technology Co ltd
Priority to CN202210817961.6A priority Critical patent/CN114895877B/en
Publication of CN114895877A publication Critical patent/CN114895877A/en
Application granted granted Critical
Publication of CN114895877B publication Critical patent/CN114895877B/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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P80/00Climate change mitigation technologies for sector-wide applications
    • Y02P80/10Efficient use of energy, e.g. using compressed air or pressurized fluid as energy carrier

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a method and a device for establishing enterprise ERP in a low-code modularization mode based on a webpage, wherein the method comprises the following steps: receiving an industry or application scene selected by a user; entering an ERP establishing page according to an industry or application scene; the ERP establishing page comprises a tool box and an ERP layout area, and a plurality of standardized modules are arranged in the tool box; receiving a plurality of standardized modules selected by a user in a tool box, and adding the standardized modules to an ERP layout area; a plurality of standardized modules in the ERP layout area are overlapped into a functional block to be created as a required service, so that the pressure of non-technical developers is reduced, the code compiling work is avoided, meanwhile, support is provided for professional developers, and the professional developers are helped to extract complicated underlying architecture and infrastructure tasks in the application development process.

Description

Method and device for establishing enterprise ERP (Enterprise resource planning) in low-code modularization mode based on webpage
Technical Field
The application relates to the technical field of EPR (enterprise resource planning), in particular to a method and a device for creating enterprise ERP (enterprise resource planning) in a low-code modularization mode based on a webpage.
Background
ERP is an abbreviation of Enterprise Resource Planning, namely an Enterprise Resource Planning system, is Enterprise management software integrating material Resource management, human Resource management, financial Resource management and information Resource management, and provides a management platform of a decision operation means for an Enterprise decision layer and employees.
With the rapid development of the internet technology, the requirements on ERP developers are increased day by day, the business is rapidly developed, the technology can be required to respond rapidly, the technology is the precipitation of knowledge and experience, the contradiction between 'speed and slowness' restricts the rapid development of the business, and the ERP of the enterprise tends to be stable.
The traditional ERP development needs the steps of communicating business requirements with developers in advance, providing business materials, compiling development documents, creating product models, compiling codes and the like, and the defects of unclear requirements, long development period, high development cost and the like usually occur. Therefore, it is urgently needed to modularize the services and enable the user to quickly build the required services in a visual dragging mode, thereby promoting the development of the low-code industry.
Disclosure of Invention
Therefore, the method and the device for establishing the enterprise ERP in a low-code modularization mode based on the webpage are provided, and the problems that the requirement is unclear, the development period is long, the development cost is high and the like in the prior art are solved.
In order to achieve the above purpose, the present application provides the following technical solutions:
a method for creating enterprise ERP based on webpage low-code modularization comprises the following steps:
acquiring an industry type input by a user;
querying a database for the existence of the industry type;
if the industry type exists, the database associates the functional module related to the industry type and returns functional module data; the functional module data includes: module numbers, module icons, module groupings, and module templates;
grouping according to the grouping attributes of the functional modules and using the grouping attributes as preloading data, and simultaneously storing module numbers in the functional modules as hidden information in a tool kit;
acquiring icon information of the functional module, and acquiring an icon file from a specified path according to an address of the icon information to serve as a display icon of a control in the toolbox;
responding to a plurality of icons selected by a user in the tool box, and adding functional modules corresponding to the icons to the ERP layout area;
verifying the integrity of the data of each functional module, and if the data passes the verification, recording the use information of each functional module;
sending the module number of each functional module to a platform service end; the platform service end verifies the use information of each functional module;
receiving the use information returned by the platform service end, carrying out format verification on the use information, acquiring the combination condition of the service module after the verification is successful, and verifying whether the functional modules can be combined or not;
receiving configuration information returned by the platform service end, carrying out format verification on the configuration information, analyzing the configuration information after the verification is successful, extracting the combination condition of the functional modules, verifying the combination condition of the functional modules needing to be combined, and displaying the combined functional modules in the ERP layout area after the verification is successful;
and after receiving the exclusive information of the functional modules returned by the platform service end, detecting whether an illegal combination mode exists, and if not, combining a plurality of functional modules into a complete service module.
Further, after combining the plurality of functional modules into a complete service module, the method further includes:
traversing all modules in the service module, searching the serial number of each functional module, and sending the serial number of the functional module to the platform service end; the platform service end compares the serial number of the functional module with the existing data in the database, if the use record associated with the functional module exists, the serial number of the use record of the functional module is returned, meanwhile, the record information of the adjacent functional module is searched according to the serial number of the functional module, if the adjacent record exists, the serial number of the adjacent record of the functional module is returned, if the use record serial number of the functional module and the adjacent record serial number both exist, the data is stored in the database to form the record information of the service module, and the serial number of the service module generated in the database is returned.
Further, the method also comprises the following steps:
traversing all service modules in the current project, acquiring service module numbers, and sending the service module numbers to the platform service end;
receiving service module use record information returned by the platform service end, checking the use data of the service module, if the verification is passed, searching the use information and the configuration information of the functional modules in the service module in a database according to the serial number of the service module, searching the template information of the functional modules according to the configuration information, combining the use information of the service modules and the use information of the functional modules, and combining the template files of the plurality of functional modules to form a code file of the service module;
and storing the code file in a disk.
Further, after the code file is stored in a disk, a user deploys the code file by three deployment modes, namely downloading ERP codes, IIS deployment and container deployment.
Further, the responding to the plurality of icons selected by the user in the toolbox comprises:
judging whether the data input by the user is legal or not, and if the data input by the user is legal, forming a complete functional module;
judging whether the functional modules have combination conditions or not, and if so, synthesizing the plurality of functional modules into a new service function;
and judging whether the service flow of the functional module is legal or not, and if so, combining a plurality of functional modules into a complete service flow.
Further, when verifying the integrity of each functional module data, the verification of the functional module number, the verification of the functional module template file and the verification of the functional module configuration data are included.
Further, the adding of the functional modules corresponding to the icons to the ERP layout area is to add the icons to the ERP layout area in a dragging manner.
In a second aspect, an apparatus for creating enterprise ERP based on low-code modularization of web pages includes:
the industry type input module is used for acquiring the industry type input by the user;
the query module is used for querying whether the industry type exists in the database; if the industry type exists, the database associates the functional module related to the industry type and returns functional module data; the functional module data includes: module numbers, module icons, module groups and module templates;
the loading module is used for grouping according to the grouping attribute of the functional module and taking the grouping as preloading data, and meanwhile, the module number in the functional module is taken as hidden information and is stored in a tool kit;
the icon acquisition module is used for acquiring the icon information of the functional module and acquiring an icon file from the specified path as a display icon of the control in the toolbox according to the address of the icon information;
the response module is used for responding to a plurality of icons selected by a user in the tool box and adding the functional modules corresponding to the icons to the ERP layout area;
the first verification module is used for verifying the integrity of the data of each functional module, and if the data passes the verification, the use information of each functional module is recorded;
the data transmission module is used for sending the module number of each functional module to the platform service end; the platform service end verifies the use information of each functional module;
the data receiving module is used for receiving the use information returned by the platform service end;
receiving configuration information returned by the platform service end;
receiving exclusive information of the functional module returned by the platform service end;
the second verification module is used for carrying out format verification on the use information, acquiring the combination condition of the service module after the verification is successful, and verifying whether the functional modules can be combined or not;
carrying out format verification on the configuration information, analyzing the configuration information after the verification is successful, extracting the combination condition of the functional modules, verifying the combination condition of the functional modules needing to be combined, and displaying the combined functional modules in the ERP layout area after the verification is successful;
and detecting whether the exclusive information of the functional modules has an illegal combination mode, and if not, combining the plurality of functional modules into a complete service module.
In a third aspect, a computer device includes a memory storing a computer program and a processor that, when executed, performs the steps of a method for web-based modular creation of enterprise ERP with low code.
In a fourth aspect, a computer readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of a method for web-based modular creation of enterprise ERP.
Compared with the prior art, the method has the following beneficial effects:
the invention provides a method and a device for establishing enterprise ERP in a low-code modularization mode based on a webpage, wherein the method comprises the following steps: receiving an industry or application scene selected by a user; entering an ERP establishing page according to an industry or application scene; the ERP establishing page comprises a tool box and an ERP layout area, and a plurality of standardized modules are arranged in the tool box; receiving a plurality of standardized modules selected by a user in a tool box, and adding the standardized modules to an ERP layout area; a plurality of standardized modules in the ERP layout area are overlapped into a functional block to be created as a required service, so that the pressure of non-technical developers is reduced, the code compiling work is avoided, meanwhile, support is provided for professional developers, and the professional developers are helped to extract complicated underlying architecture and infrastructure tasks in the application development process.
Drawings
To more intuitively explain the prior art and the present application, several exemplary drawings are given below. It should be understood that the specific shapes, configurations, shown in the drawings, are not generally considered limitations on the practice of the present application; for example, it is within the ability of those skilled in the art to make routine adjustments or further optimization of the add/drop/attribute division, specific shapes, positional relationships, connection manners, size ratios, etc. of certain elements (components) based on the technical concepts disclosed in the present application and the exemplary drawings.
Fig. 1 is a schematic structural diagram of a method for creating an enterprise ERP in a low-code modularization manner based on a web page according to an embodiment of the present invention.
Detailed Description
The present application will be described in further detail below with reference to specific embodiments in conjunction with the accompanying drawings.
In the description of the present application: "plurality" means two or more unless otherwise specified. The terms "first", "second", "third", and the like in this application are intended to distinguish one referenced item from another without having a special meaning in technical connotation (e.g., should not be construed as emphasizing a degree or order of importance, etc.). The terms "comprising," "including," "having," and the like, are intended to be inclusive and mean "not limited to" (some elements, components, materials, steps, etc.).
In the present application, terms such as "upper", "lower", "left", "right", "middle", and the like are generally used for easy visual understanding with reference to the drawings, and are not intended to absolutely limit the positional relationship in an actual product. Changes in these relative positional relationships without departing from the technical concepts disclosed in the present application should also be considered as the scope of the present application.
Referring to fig. 1, an embodiment of the present invention provides a method for creating an enterprise ERP based on low-code modularization of a web page, including: selecting a function module, combining the function modules, previewing the service and deploying the service.
The function module is the smallest function unit in common ERP services, and has unicity, reusability and openness. Each functional module is preset in the platform in advance in a plug-in mode by the development platform, and a user can conveniently select and combine the functional modules into a certain service in a dragging mode.
The function module is a standardized control which is designed and developed by a development platform according to a standardized mode and is used by a user in a tool kit. Each functional module on the underlying design comprises: function module template files and function module configuration information.
Function module template file: the method is a text file existing in a development platform plug-in path, and each template comprises html, css, js and other general web page files. When the user uses the function module, the webpage files can be read by the program as templates and then combined into new text files through operations of inserting, replacing, covering and the like after other template files are read by the program.
Configuration information of the functional module: is the data information that exists in the platform database configuration table. The basic information of the function module, the necessary information of the function module, the exclusive information of the function module, and the combination information of the function module are included. The basic information of the function module is records of tag names, method names and the like of html, css and js used in the function module. The necessary information of the function module is the necessary information record that the function module must be input or selected to ensure the normal use of the function module when in use. The exclusive information of the functional module is preset configuration information for ensuring the reasonability of the business process for necessary business conflict when the functional module is used.
S1: inquiring the functional module;
specifically, before a user uses a function module in a development system, an industry needs to be selected to locate an application scene, because different business functions of the ERP in the industry are different. The development user sends a function module to obtain an instruction, the development system analyzes the instruction after obtaining the instruction of the user, the instruction comprises an industry type and the like, the development system can judge whether the industry type is legal, and if the industry type is illegal, parameter error information is returned. If the type of the industry is legal, the industry type data is compared with the existing data in the database to judge whether the industry type exists, and if the industry type does not exist, error information of 'type does not exist' is returned. If so, the database associates the industry type with the functional module associated with the industry type and returns module data, wherein the module data comprises: module numbers, module icons, module groupings, and module templates.
S2: loading a functional module;
specifically, the development platform receives the list information of the function module returned by the user inquiry, carries out data format verification on the returned list information, prompts 'module loading failure' if verification is wrong, and analyzes the data to obtain information such as a module number, a module icon, a module group, a module template and the like if verification is not wrong. The development platform groups the functional modules according to the grouping attributes of the functional modules to serve as pre-loading data, and meanwhile, the module numbers in the functional modules are stored in a tool kit as hidden information;
s3: displaying the functional module;
specifically, after the function module is loaded in the toolbox bar, the icon attribute of the function module is displayed as a small icon representing the function of the function module in the toolbox. And the development platform acquires the icon information of the module and acquires the icon file from the specified path according to the address of the icon information as a display icon of the control in the development platform toolbox.
S4: selecting a functional module;
specifically, a user needs to select a needed module in a tool kit when using the functional module, the module is dragged to the layout area in a dragging mode, after dragging is finished, the module can pop up an editing interface, the user needs to fill necessary data according to the requirements of the functional module, and complete information of the functional module can be displayed in the layout area after the data is filled without errors. The plurality of functional modules form a business process in a dragging mode. In order to ensure the data security of the functional module in the using process, the RSA encryption algorithm is adopted for encryption, data encryption is carried out when a platform request is developed, and data decryption is carried out when a platform service end receives the request.
S41: when the user selects the required function module, the following operations are included:
s411: judging whether the functional module has necessary conditions;
specifically, each functional module is a data template, and when the template is used for realizing the function, a user is required to fill corresponding data, each data has the requirements of a data format and data content, if the filled data is legal, the template can form a complete functional module, and if the filled data is illegal, abnormal information such as 'format error' is prompted, and the user is required to input new data again;
s412: judging whether the functional module has a combination condition;
specifically, each functional module has an independent and single function, and a standardized interface is opened for combining with other functional modules, and the interface includes information such as specified parameters. When the function modules are dragged and combined, the development system can verify the combination condition of the related function modules, if the verification is illegal, the function modules cannot be successfully combined, the condition that the combination condition is not met is prompted, and if the verification is passed, the plurality of function modules synthesize a new service function.
S413: judging whether the service process of the functional module is legal or not;
specifically, each business process is formed by combining a plurality of functional modules, each functional module can verify the combination condition when being combined with the adjacent functional module, but the non-adjacent functional modules cannot verify the combination condition, only after the functional modules are combined with each other to form the complete business process, the development system can intelligently judge according to the business modules in the business process to check whether an illegal combination mode exists, if so, the development system reminds that the business is illegal, and if not, the functional modules can be combined to form the complete business process.
S42: when a user drags a function module from a tool box to a layout area, the following operations are included:
s421: judging whether the functional module has complete data;
specifically, when the functional module is loaded and displayed in the toolbox, the functional module may be incompletely loaded due to some reason, if the functional module is incompletely loaded, an error may occur when the user uses the functional module, and therefore, after the user selects the functional module in the toolbox and drags the functional module to the layout area, data verification may be performed on the functional module. The verification of the functional module comprises: verifying the serial number of the functional module, verifying the template file of the functional module and verifying the configuration data of the functional module.
And (3) verifying the serial number of the functional module: the development platform reads the number information of the functional module hidden in the functional module, verifies whether the number data of the functional module exists or not, prompts that the module is damaged if the number data of the functional module does not exist, sends the number of the functional module to a platform service end if the number data of the functional module exists, receives the sent number of the functional module by the platform service end, firstly verifies the data format of the number of the functional module, prompts that the module is illegal if the number format of the functional module is wrong, otherwise, the platform compares the number of the functional module with the data stored in a database, prompts that the module does not exist if the number does not exist, indicates that the number verification of the functional module is passed if the number exists, and associates the number of the functional module with the corresponding information of the functional module and returns the result.
And (3) verifying the function module template file: and the development platform analyzes the data information after receiving the data information returned when the functional module number is verified, and acquires the template file information. The platform judges whether the template information exists, if the template information does not exist, the template file is prompted to be lost, if the template information exists, the text content of the template file is read according to the file path attribute of the template file information, if the read content does not exist, the module does not exist, otherwise, fingerprint verification (the fingerprint refers to a numerical value obtained by calculating the content by adopting a sha1 algorithm) is carried out on the read content, if the fingerprint content is not matched with the original fingerprint of the function module file, the template file is changed, the template file is prompted to be damaged, and if the fingerprint content is matched, the function template file is verified to be passed.
And (3) verifying the configuration data of the functional module: and the development platform analyzes the data information after receiving the data information returned when the serial number of the functional module is verified, and acquires the configuration information in the data information. The platform judges whether the configuration information exists, if the configuration information does not exist, the configuration data of the functional module is lost, the 'module configuration file is prompted to be lost', if the configuration information exists, the format of the configuration information is verified, and if the configuration information passes the verification, the functional module passes the verification.
S422: recording the use information of the functional module;
specifically, when a user drags the functional service module from the tool box to the layout area, the integrity of the functional module data is verified, if the verification fails, the user prompts that the module selection fails, and if the verification passes, the platform records the use information of the functional module. After the functional module is dragged to the layout area by a user, a configuration interface can be popped up, the user is required to input related necessary data according to requirements, at the moment, the development platform receives the data input by the user, firstly, data format verification is carried out on the data input by the user, if the input data format is wrong, an input format error is prompted, if the input data format is correct, the development platform stores the functional module number, the user input information and other necessary input information into the data, and the use of the functional module is recorded.
S423: recording the use information of the service module;
specifically, a plurality of function modules may be merged into one service module, and when a user drags the plurality of function modules to the layout area and combines the function modules, the following operations are performed: verifying the use information of the functional modules, verifying the combination conditions of the functional modules, verifying the rationality of the service modules and recording the combination information of the service modules.
Verifying the use information of the functional module: each function module needs to be combined with other function modules, and all necessary information must be configured for each function module, so when the service modules are combined, the use record of each module can be verified, the development platform sends the module number of each function module to the platform service end, the platform end analyzes the sent information and analyzes the number of each function module, if the number format of the function module is illegal, a 'module file is prompted to be illegal', if the function module is legal, the platform service end compares the function module number with the module information in the database, if the function module number does not exist in the database, a 'module does not exist', and if the function module number exists, the use information of the function module is associated with the function module number, and the use information of the function module is returned. The development platform receives the use information returned by the platform service end, carries out format verification on the use information, prompts 'no module use information' if the verification fails, and indicates that the use information of the service module is complete if the verification succeeds.
Verifying the combination condition of the functional modules: and after the service module use information is verified, the development platform acquires the combination condition of the service module and verifies whether the combination is available. The development platform sends the module number of each function module to the platform service end, the platform end analyzes the sent information and analyzes the number of each function module, if the number format of the function module is illegal, the 'module file is prompted to be illegal', if the function module is legal, the platform service end can compare the number of the function module with the module information in the database, if the number of the function module does not exist in the database, the 'module does not exist', if the number of the function module does not exist, the configuration information of the function module is associated with the number of the function module, and the configuration information of the function module is returned. The development platform receives the configuration information returned by the platform service end, carries out format verification on the configuration information, prompts 'module configuration information is not available temporarily' if the verification fails, analyzes the configuration information if the verification succeeds, extracts the combination condition of the modules from the configuration information, verifies the combination condition of the functional modules to be combined, prompts 'the modules cannot be combined' if the verification fails, and displays the combined functional modules in the layout area if the verification succeeds.
And (3) verifying the rationality of the service module: each business process is formed by combining a plurality of functional modules, each functional module can verify the combination condition when being combined with the adjacent functional module, but the non-adjacent functional module can not verify the combination condition, when a user combines a plurality of modules to form a certain business module, the development system can detect according to the functional module in the business module, the rationality of the business module process is detected, and the specific operation comprises the following steps: the development platform sends the numbers of all the functional modules in the service modules to a platform service end, the platform service end acquires the sent numbers of the functional modules, firstly, format judgment is carried out on the numbers of the functional modules, after the judgment is passed, the numbers of the functional modules are compared with later data in a database, if the comparison is successful, the numbers are associated with configuration information of the functional modules, the exclusive information of the functional modules is analyzed and then returned, after the development platform receives the exclusive information of the functional modules, whether an illegal combination mode exists or not is detected, if the combination mode exists, the 'service illegal' is reminded, and if the combination mode does not exist, a plurality of functional modules can be combined into a complete service flow.
Recording the combination information of the service module: after the service modules are combined, not only the usage record of each module is recorded, but also the combination record of the adjacent function modules is recorded. And the development platform traverses all modules in the current service module, searches the serial number of each functional module and sends the serial number of the functional module to the platform service end. The platform service end analyzes the sent functional service number, compares the sent functional service number with the existing data in the database, prompts that the module does not exist if the number does not exist, returns the use record number of the functional module if the use record associated with the service number exists, simultaneously searches the record information of the adjacent functional module according to the function module number, prompts that the module does not associate if the adjacent data does not exist, returns the adjacent record number of the functional module if the adjacent record exists, stores the data into the database to form the record information of the service module if the use record number and the adjacent record number of the functional module both exist, and returns the service module number generated by the service module in the database. If a number is missing, the save fails. In order to ensure the data security of the service module in the using process, the RSA encryption algorithm is adopted for encryption, data is encrypted when a platform request is developed, and the data is decrypted when the platform service end receives the request.
S5: service preview;
specifically, a plurality of functional modules form a certain independent business process, and a plurality of business processes form a complete ERP business. After the development of the business process is finished in the layout area of the open system, the preview can be performed through the preview function of the development platform. This preview process includes: detecting service module use information and generating service module codes.
S51: detecting service module use information;
specifically, the whole ERP project generates a plurality of service modules according to service requirements, and the integrity of the use information of each service module is required to be ensured to ensure the integrity of the whole ERP project. The detection comprises the following steps: detecting the service module use information and detecting the service module association information. The development platform traverses all service modules in the current project, acquires service module numbers, sends the service module numbers to a platform service end, the platform service end acquires the service module numbers to perform format judgment, if the format verification fails, an illegal service module is prompted, if the format verification passes, the platform service end can compare the service module numbers with later data in a database, if the service module numbers do not exist, the service module is prompted to not exist, if the service module numbers exist, the service module numbers are associated with service module use records, and use record information of the service modules is returned. The development platform analyzes the use information of the service module, checks the use data of the service module, and if the use data passes the verification, the service module is shown to have integrity.
S52: generating a business module code;
specifically, the service module is composed of a functional module text file and functional module configuration information. After the integrity verification of the service module passes, the development platform searches the use information and the configuration information of the function module in the service module in the database according to the serial number of the service module, searches the template information of the function module according to the configuration information, combines the use information of the service module and the use information of the function module, inserts, replaces and the like the template files of a plurality of function modules to form a code file of the service module, the code file can be stored under a disk of a development platform server for modification, preview and the like of a user, and the user can delete the currently created ERP project through a user background.
The development platform will preview the generated business module, wherein the code involved in the database only provides a script preview.
S6: service deployment;
specifically, the development platform can provide three deployment modes of user downloading of ERP codes, IIS deployment and container deployment.
Downloading ERP codes: the development platform can pack the previewing error-free service codes into a ZIP file and provide network address downloading.
IIS deployment: the user can input an ftp user name, a password and an address according to an ftp uploading interface provided by the development platform, and the service code is uploaded to the server.
Deploying the container: the user can input container configuration information according to a container configuration interface provided by the development platform, and download the container file through the network address after the container packaging is completed.
Because low-code is a visual application development method, developers with different experience levels can create Web applications by using drag-and-drop components and model-driven logic through a graphical user interface through low-code development. The pressure of non-technical developers is reduced, the code compiling work is avoided, meanwhile, support is provided for professional developers, and the professional developers are helped to extract complex underlying architecture and infrastructure tasks in the application development process.
According to the invention, a user can register and log in browsers such as Chrome and the like, after the registration and the login are successful, ERP is created according to needs, the user does not need to write a large number of codes, and only a service flow is constructed in a mode of prompting the next step, so that the 'out-of-box and use' is provided.
The embodiment of the invention provides a device for creating enterprise ERP in a low-code modularization mode based on a webpage, which comprises the following steps:
the industry type input module is used for acquiring the industry type input by the user;
the query module is used for querying whether the industry type exists in the database; if the industry type exists, the database associates the functional module related to the industry type and returns functional module data; the functional module data includes: module numbers, module icons, module groupings, and module templates;
the loading module is used for grouping according to the grouping attributes of the functional modules and serving as preloading data, and meanwhile, the module numbers in the functional modules are stored in the toolbox as hidden information;
the icon acquisition module is used for acquiring the icon information of the functional module and acquiring the icon file from the specified path according to the address of the icon information to be used as the display icon of the control in the toolbox;
the response module is used for responding to a plurality of icons selected by a user in the tool box and adding the functional modules corresponding to the icons to the ERP layout area;
the first verification module is used for verifying the integrity of the data of each functional module, and if the data passes the verification, the use information of each functional module is recorded;
the data transmission module is used for sending the module number of each functional module to the platform service end; the platform service end verifies the use information of each functional module;
the data receiving module is used for receiving the use information returned by the platform service end;
receiving configuration information returned by the platform service end;
receiving exclusive information of the functional module returned by the platform service end;
the second verification module is used for carrying out format verification on the use information, acquiring the combination condition of the service module after the verification is successful, and verifying whether the functional modules can be combined or not;
carrying out format verification on the configuration information, analyzing the configuration information after the verification is successful, extracting the combination condition of the functional modules, verifying the combination condition of the functional modules needing to be combined, and displaying the combined functional modules in the ERP layout area after the verification is successful;
and detecting whether the exclusive information of the functional modules has an illegal combination mode, and if not, combining the plurality of functional modules into a complete service module.
Based on classical visualization and model driving concepts, the invention combines the latest cloud native and multi-end experience technologies, the low code can realize great efficiency improvement and cost reduction under a proper service scene, and a brand-new high-productivity development paradigm is provided for professional developers. On the other hand, the low code enables business personnel who do not know the code to become so-called civilian developers, makes up for the increasingly expanded gap of professional talents, and simultaneously promotes the ultimate agility form of deep cooperation of business and technology. Through the low-code ERP website building device, even ordinary workers without skills can build needed enterprise websites quickly through dragging.
For specific limitations of the device for creating enterprise ERP based on web page low-code modularization, reference may be made to the above limitations of the method for creating enterprise ERP based on web page low-code modularization, and details are not repeated here.
An embodiment of the present invention provides a computer device comprising a memory storing a computer program and a processor implementing the steps of a method for web-based low-code modular enterprise ERP creation when executing the computer program.
Embodiments of the present invention provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of a method for web-based modular creation of enterprise ERP with low code.
All the technical features of the above embodiments can be arbitrarily combined (as long as there is no contradiction between the combinations of the technical features), and for the sake of brevity, all the possible combinations of the technical features in the above embodiments are not described; these examples, which are not explicitly described, should be considered to be within the scope of the present description.
The present application has been described in considerable detail with reference to certain embodiments and examples thereof. It should be understood that several conventional adaptations or further innovations of these specific embodiments may also be made based on the technical idea of the present application; however, such conventional modifications and further innovations can also fall into the scope of the claims of the present application as long as they do not depart from the technical idea of the present application.

Claims (9)

1. A method for modularly creating enterprise ERP based on low codes of web pages is characterized by comprising the following steps:
acquiring an industry type input by a user;
querying a database for the existence of the industry type;
if the industry type exists, the database associates the functional module related to the industry type and returns the functional module data; the functional module data includes: module numbers, module icons, module groupings, and module templates;
grouping according to the grouping attributes of the functional modules and using the grouping attributes as preloading data, and simultaneously storing module numbers in the functional modules as hidden information in a toolbox;
acquiring icon information of the functional module, and acquiring an icon file from a specified path according to an address of the icon information to serve as a display icon of a control in the toolbox;
responding to a plurality of icons selected by a user in the tool box, and adding functional modules corresponding to the icons to an ERP layout area;
verifying the integrity of the data of each functional module, and if the data passes the verification, recording the use information of each functional module;
sending the module number of each functional module to a platform service end; the platform service end verifies the use information of each functional module;
receiving the use information returned by the platform service end, carrying out format verification on the use information, acquiring the combination condition of the service module after the verification is successful, and verifying whether the functional modules can be combined or not;
receiving configuration information returned by the platform service end, carrying out format verification on the configuration information, analyzing the configuration information after the verification is successful, extracting the combination condition of the functional modules, verifying the combination condition of the functional modules needing to be combined, and displaying the combined functional modules in the ERP layout area after the verification is successful;
receiving exclusive information of the functional modules returned by the platform service end, detecting whether an illegal combination mode exists, and if not, combining a plurality of functional modules into a complete service module;
traversing all service modules in the current project, acquiring service module numbers, and sending the service module numbers to the platform service end;
receiving service module use record information returned by the platform service end, checking use data of the service module, if the service module is verified to be passed, searching functional module use information and configuration information in the service module in a database according to the serial number of the service module, searching template information of the functional module according to the configuration information, combining the use information of the service module and the use information of the functional module, and combining template files of a plurality of functional modules to form a code file of the service module;
and storing the code file in a disk.
2. The web-based low-code modular enterprise ERP creation method of claim 1, wherein the combining a plurality of functional modules into a complete business module further comprises:
traversing all modules in the service module, searching the serial number of each functional module, and sending the serial number of the functional module to the platform service end; the platform service end compares the serial number of the functional module with the existing data in the database, if the use record associated with the functional module exists, the serial number of the use record of the functional module is returned, meanwhile, the record information of the adjacent functional module is searched according to the serial number of the functional module, if the adjacent record exists, the serial number of the adjacent record of the functional module is returned, if the use record serial number of the functional module and the adjacent record serial number both exist, the data is stored in the database to form the record information of the service module, and the serial number of the service module generated in the database is returned.
3. The web-based low-code modular enterprise ERP method of claim 1, wherein after the code file is stored in a disk, a user deploys the code file by three deployment modes, namely, downloading ERP codes, IIS deployment and container deployment.
4. A method for web-based low-code modular enterprise ERP creation as claimed in claim 1, wherein responding to a plurality of icons selected by a user in the toolbox comprises:
judging whether the data input by the user is legal or not, and if the data input by the user is legal, forming a complete functional module;
judging whether the functional modules have the combination condition, and if so, combining the functional modules into a new service function;
and judging whether the service flow of the functional module is legal or not, and if so, combining a plurality of functional modules into a complete service flow.
5. The web-based low-code modular enterprise ERP method for creating enterprise ERP according to claim 1, wherein the verification of the integrity of each function module data includes verification of a function module number, verification of a function module template file and verification of function module configuration data.
6. The method for low-code modular enterprise ERP based on web pages as claimed in claim 1, wherein the adding of the functional modules corresponding to the icons to the ERP layout area is to add the icons to the ERP layout area by dragging.
7. An apparatus for modular creation of enterprise ERP based on low code of web page, comprising:
the industry type input module is used for acquiring the industry type input by the user;
the query module is used for querying whether the industry type exists in the database; if the industry type exists, the database associates the functional module related to the industry type and returns the functional module data; the functional module data includes: module numbers, module icons, module groupings, and module templates;
the loading module is used for grouping according to the grouping attribute of the functional module and taking the grouping as preloading data, and meanwhile, the module number in the functional module is taken as hidden information and is stored in a tool kit;
the icon acquisition module is used for acquiring the icon information of the functional module and acquiring an icon file from the specified path as a display icon of the control in the toolbox according to the address of the icon information;
the response module is used for responding to a plurality of icons selected by a user in the tool box and adding the functional modules corresponding to the icons to the ERP layout area;
the first verification module is used for verifying the integrity of the data of each functional module, and if the data passes the verification, the use information of each functional module is recorded;
the data transmission module is used for sending the module number of each functional module to the platform service end; the platform service end verifies the use information of each functional module;
the data receiving module is used for receiving the use information returned by the platform service end;
receiving configuration information returned by the platform service end;
receiving exclusive information of the functional module returned by the platform service end;
the second verification module is used for carrying out format verification on the use information, acquiring the combination condition of the service module after the verification is successful, and verifying whether the functional modules can be combined or not;
carrying out format verification on the configuration information, analyzing the configuration information after the verification is successful, extracting the combination condition of the functional modules, verifying the combination condition of the functional modules needing to be combined, and displaying the combined functional modules in the ERP layout area after the verification is successful;
and detecting whether the exclusive information of the functional modules has an illegal combination mode, and if not, combining the plurality of functional modules into a complete service module.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202210817961.6A 2022-07-13 2022-07-13 Method and device for establishing enterprise ERP (Enterprise resource planning) in low-code modularization mode based on webpage Active CN114895877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210817961.6A CN114895877B (en) 2022-07-13 2022-07-13 Method and device for establishing enterprise ERP (Enterprise resource planning) in low-code modularization mode based on webpage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210817961.6A CN114895877B (en) 2022-07-13 2022-07-13 Method and device for establishing enterprise ERP (Enterprise resource planning) in low-code modularization mode based on webpage

Publications (2)

Publication Number Publication Date
CN114895877A CN114895877A (en) 2022-08-12
CN114895877B true CN114895877B (en) 2022-10-25

Family

ID=82729462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210817961.6A Active CN114895877B (en) 2022-07-13 2022-07-13 Method and device for establishing enterprise ERP (Enterprise resource planning) in low-code modularization mode based on webpage

Country Status (1)

Country Link
CN (1) CN114895877B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230893A (en) * 2020-10-16 2021-01-15 北京中船信息科技有限公司 Ship manufacturing-oriented multi-industrial mechanism model one-stop construction system and method
CN113094042A (en) * 2021-04-29 2021-07-09 国电南瑞科技股份有限公司 Browser-based realization and analysis method for custom component of power automation system
CN114063992A (en) * 2022-01-11 2022-02-18 广东道一信息技术股份有限公司 Modeling method and system of low-code development platform
CN114253515A (en) * 2021-11-19 2022-03-29 苏州趣谷科技有限公司 Low-code development platform for quickly constructing manufacturing type enterprise management software
WO2022115030A1 (en) * 2020-11-24 2022-06-02 Gney Software Pte Ltd Dynamic enterprise application platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230893A (en) * 2020-10-16 2021-01-15 北京中船信息科技有限公司 Ship manufacturing-oriented multi-industrial mechanism model one-stop construction system and method
WO2022115030A1 (en) * 2020-11-24 2022-06-02 Gney Software Pte Ltd Dynamic enterprise application platform
CN113094042A (en) * 2021-04-29 2021-07-09 国电南瑞科技股份有限公司 Browser-based realization and analysis method for custom component of power automation system
CN114253515A (en) * 2021-11-19 2022-03-29 苏州趣谷科技有限公司 Low-code development platform for quickly constructing manufacturing type enterprise management software
CN114063992A (en) * 2022-01-11 2022-02-18 广东道一信息技术股份有限公司 Modeling method and system of low-code development platform

Also Published As

Publication number Publication date
CN114895877A (en) 2022-08-12

Similar Documents

Publication Publication Date Title
US9396279B1 (en) Collaborative virtual markup
JP4667386B2 (en) Business model diagram creation support program, business model diagram creation support method, and business model diagram creation support device
US7530050B2 (en) Method and system for developing software using nodes
EP3104318A1 (en) Information processing apparatus, method, and program
CN108292231A (en) It generates and applies from data
US8327333B2 (en) Apparatus, method, and system of assisting software development
JPH11296544A (en) Structured data management system and computer-readable recording medium where structured data management program is recorded
US20010052112A1 (en) Method and apparatus for developing software
CN101414301B (en) Device and method for processing object in reservoir in content management system
CN108334484B (en) Data entry method and device
US7756333B2 (en) Document layout verification
Núñez et al. A model-driven approach for the development of native mobile applications focusing on the data layer
CN103109289B (en) Based on the script edit methods of WEB, system and WEB client side
CN115658496A (en) Extensible Web automatic test method, system, equipment and storage medium
CN114895877B (en) Method and device for establishing enterprise ERP (Enterprise resource planning) in low-code modularization mode based on webpage
JP4849841B2 (en) PROGRAM GENERATION DEVICE, PROGRAM GENERATION METHOD, PROGRAM, AND RECORDING MEDIUM
US11954008B2 (en) User action generated process discovery
US20070233818A1 (en) Recording medium storing input/output screen generation program, and method for suppressing an unreasonable screen shift
CN102799597A (en) Content extraction method
Kinsbruner AA Frontend Web Developer’s Guide to Testing: Explore leading web test automation frameworks and their future driven by low-code and AI
CN113867700B (en) Model construction method, display platform, server and storage medium
US8479152B2 (en) Representing non-functional requirements (NFRS) in unified modeling language (UML)
JP4592022B2 (en) Automatic execution command generation system, method and program
JP6097231B2 (en) Program generating apparatus and method
JP5614299B2 (en) Approval support program, approval support device, and approval support method

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