CN111158684A - System creation method, device, electronic equipment and readable storage medium - Google Patents
System creation method, device, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN111158684A CN111158684A CN201911402653.1A CN201911402653A CN111158684A CN 111158684 A CN111158684 A CN 111158684A CN 201911402653 A CN201911402653 A CN 201911402653A CN 111158684 A CN111158684 A CN 111158684A
- Authority
- CN
- China
- Prior art keywords
- library
- interface
- creating
- application
- data processing
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/252—Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Human Computer Interaction (AREA)
- Stored Programmes (AREA)
Abstract
The application provides a system creating method, a system creating device, electronic equipment and a readable storage medium, and relates to the technical field of software systems. The method comprises the following steps: creating a general data processing library, wherein the general data processing library is used for defining or packaging configuration contents, and the configuration contents comprise at least one of interfaces, constants, algorithms and entity classes; creating a component library according to the general data processing library, wherein the component library is used for creating an application interface corresponding to the application module; and an interface frame expression library is created according to the general data processing library and the component library, and is used as a framework of the webpage system, is used for realizing interface jump orientation and data interaction, and can solve the problems of high difficulty and low efficiency of webpage system development.
Description
Technical Field
The invention relates to the technical field of software systems, in particular to a system creating method, a system creating device, electronic equipment and a readable storage medium.
Background
Front-end development is the process of creating a front-end interface, such as a web page or application, for presentation to a user. In the front-end development process, the creation of the webpage system is generally required to be performed by using a front-end interface system. At the beginning of the design of a web page system, a web page interface generally needs to set the basic structure of the interface according to business requirements, along with the increase of requirements and functions, an interface file can be correspondingly expanded, and the organization of the interface system is more and more bloated and complicated. In addition, when there is association or interaction between services or functions, and when a new requirement or function needs to be added to the webpage system, since there is a lot of adaptation required for interaction of each interface, developers need to handle excessive adaptation requirements in embedded requirements in addition to developing service logic, and interaction codes are complex, so that the difficulty of webpage system development is high, and efficiency is low.
Disclosure of Invention
The application provides a system creating method, a system creating device, electronic equipment and a readable storage medium, which can solve the problems of high difficulty and low efficiency of webpage system development.
In order to achieve the above purpose, the technical solutions provided in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides a system creation method, where the method includes:
creating a general data processing library, wherein the general data processing library is used for defining or packaging configuration contents, and the configuration contents comprise at least one of interfaces, constants, algorithms and entity classes;
creating a component library according to the general data processing library, wherein the component library is used for creating an application interface corresponding to an application module;
and establishing an interface frame expression library according to the general data processing library and the component library, wherein the interface frame expression library is used as a framework of a webpage system and is used for realizing interface jump orientation and data interaction.
In the above embodiment, the general data processing library, the component library and the interface frame representation library are created, so that when a page system is developed, a developer can conveniently reuse program codes from the data processing library, and quickly create an application interface from the component library, so that the page system is presented in the interface frame representation library, the development difficulty of the application of the page system is reduced, and the efficiency of developing the page system is improved.
With reference to the first aspect, in some optional embodiments, the method further comprises:
and creating an application module corresponding to the service and an application interface associated with the application module according to the general data processing library, the component library and the service.
In the above embodiment, developers can subdivide each application module of the service, and modularize the application of the service to be executed, so that each developer can independently develop and create a corresponding application module based on the universal data processing library, the component library and the interface framework representation library, thereby being beneficial to shortening the development time of each application program corresponding to the service.
With reference to the first aspect, in some optional embodiments, the method further comprises:
integrating the application modules into a page system through the interface frame representation library, wherein the system page of the page system displays the application interface associated with the application modules.
In the above embodiment, when the page system is created, the developed application modules can be directly used, the interface frame representation library is directly used to integrate the page system, and the code reuse of each application module is realized through the general data processing library, so that the development process of the page system is simplified, and the development efficiency is improved.
With reference to the first aspect, in some optional embodiments, the number of the application modules is multiple, and the method further includes:
determining at least one target application module from the plurality of application modules based on the new traffic;
and integrating the at least one target application module into a new page system through the interface frame representation library, wherein the system page of the new page system is displayed with an application interface associated with the at least one target application module.
In the above embodiment, when there is a new service that needs to reconstruct the system, the application module needed by the new service may be directly used to integrate the page system, and since the application interface of the application module is associated with the application module, the icon style of the interface after reconstructing the system may be similar to the original style.
With reference to the first aspect, in some alternative embodiments, creating a generic data processing library comprises:
creating a request interface class and a service entity class, and creating a universal function directory partition according to a service, wherein the request interface class is used for defining or packaging an interface, the service entity class is used for referring to the application module, and the universal function directory partition is used for defining or packaging a constant and an algorithm;
and encapsulating the request interface class, the service entity class and the universal function directory partition to form the universal data processing library.
In the above embodiment, the created general data processing library can unify data processing specifications, and can also standardize the unification of interfaces.
With reference to the first aspect, in some optional embodiments, creating a component library from the generic data processing library includes:
creating a component corresponding to the configuration content in the universal data processing library and a style directory partition of the component, wherein the style directory partition comprises an icon associated with the component;
the component and the style directory partition are encapsulated to form the component library.
In the above embodiment, the created component library can unify the interface icon style and the operation experience.
With reference to the first aspect, in some optional implementations, creating an interface framework representation library according to the common data processing library and the component library includes:
creating a function directory partition and a system interface through the general data processing library and the component library, wherein the function directory partition comprises a first directory for interface jump orientation and a second directory for sharing variables, and the system interface comprises a navigation area and a content editing area;
and encapsulating the function directory partition and the system interface to form the interface frame representation library.
In the above embodiment, a unified interface representation and a unified interaction style can be formed by creating the obtained interface frame representation library.
In a second aspect, an embodiment of the present application further provides a system creation apparatus, where the apparatus includes:
the system comprises a processing library creating unit, a configuration library creating unit and a configuration library creating unit, wherein the processing library creating unit is used for creating a general data processing library, the general data processing library is used for defining or packaging configuration content, and the configuration content comprises at least one of interfaces, constants, algorithms and entity classes;
the component library creating unit is used for creating a component library according to the general data processing library, and the component library is used for creating an application interface corresponding to an application module;
and the performance library creating unit is used for creating an interface frame performance library according to the general data processing library and the component library, and the interface frame performance library is used as a framework of a webpage system and used for realizing interface jump orientation and data interaction.
With reference to the second aspect, in some optional embodiments, the apparatus further includes an application creating unit, configured to create, according to the general data processing library, the component library, and the service, an application module corresponding to the service and an application interface associated with the application module.
With reference to the second aspect, in some optional embodiments, the apparatus further includes an application integration unit, configured to integrate the application module into a page system through the interface framework representation library, wherein a system page of the page system exposes the application interface associated with the application module.
With reference to the second aspect, in some optional embodiments, the apparatus further includes a determining unit and an application integration unit, where the number of the application modules is multiple, and the determining unit is configured to determine at least one target application module from the multiple application modules based on the new service;
the application integration unit is used for integrating the at least one target application module into a new page system through the interface frame representation library, wherein the system page of the new page system displays an application interface associated with the at least one target application module.
With reference to the second aspect, in some optional embodiments, the process library creating unit is further configured to:
creating a request interface class and a service entity class, and creating a universal function directory partition according to a service, wherein the request interface class is used for defining or packaging an interface, the service entity class is used for referring to the application module, and the universal function directory partition is used for defining or packaging a constant and an algorithm;
and encapsulating the request interface class, the service entity class and the universal function directory partition to form the universal data processing library.
With reference to the second aspect, in some optional embodiments, the component library creating unit is further configured to:
creating a component corresponding to the configuration content in the universal data processing library and a style directory partition of the component, wherein the style directory partition comprises an icon associated with the component;
the component and the style directory partition are encapsulated to form the component library.
With reference to the second aspect, in some optional embodiments, the performance library creating unit is further configured to:
creating a function directory partition and a system interface through the general data processing library and the component library, wherein the function directory partition comprises a first directory for interface jump orientation and a second directory for sharing variables, and the system interface comprises a navigation area and a content editing area;
and encapsulating the function directory partition and the system interface to form the interface frame representation library.
In a third aspect, an embodiment of the present application further provides an electronic device, where the electronic device includes a processor and a memory coupled to each other, and a computer program is stored in the memory, and when the computer program is executed by the processor, the electronic device is caused to perform the method described above.
In a fourth aspect, the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the above method.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below. It is appreciated that the following drawings depict only certain embodiments of the application and are therefore not to be considered limiting of its scope, for those skilled in the art will be able to derive additional related drawings therefrom without the benefit of the inventive faculty.
Fig. 1 is a block diagram of an electronic device according to an embodiment of the present disclosure.
Fig. 2 is a schematic flowchart of a system creation method provided in an embodiment of the present application.
Fig. 3 is a schematic logic scenario diagram of a system creation method provided in an embodiment of the present application.
Fig. 4 is a functional block diagram of a system creation apparatus according to an embodiment of the present application.
Icon: 10-an electronic device; 11-a processing module; 12-a storage module; 13-a communication module; 100-system creation means; 110-a process library creation unit; 120-component library creation unit; 130-presentation library creation unit.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. It should be noted that the terms "first," "second," and the like are used merely to distinguish one description from another, and are not intended to indicate or imply relative importance.
The embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, an embodiment of the present application provides an electronic device 10, which may be used to implement creation of a page system. The electronic device 10 may include a processing module 11 and a storage module 12 coupled to each other, and the storage module 12 stores therein a computer program, which, when executed by the processing module 11, may cause the electronic device 10 to perform the system creation method described below.
It should be noted that the electronic device 10 may also include other devices, for example, the electronic device 10 may also include a communication module 13, a display screen, and the like. The processing module 11, the storage module 12, the communication module 13, and the display screen are electrically connected to each other directly or indirectly to implement data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
The electronic device 10 may be, but is not limited to, a Personal Computer (PC), a tablet PC, a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a server, and the like.
Referring to fig. 2, an embodiment of the present application further provides a system creation method, which can be applied to the electronic device 10 described above, and the electronic device 10 executes or implements the steps of the method. Understandably, the electronic device 10 is pre-installed with a corresponding development platform (or development tool) for creating the page system. The development platform can be selected according to actual conditions, for example, the development platform can be a Webstorm tool and can be used for developing a webpage system or a front-end system.
In this embodiment, the method may include steps S210 to S230 as follows:
step S210, a general data processing library is created, wherein the general data processing library is used for defining or packaging configuration content, and the configuration content comprises at least one of an interface, a constant, an algorithm and an entity class;
step S220, creating a component library according to the general data processing library, wherein the component library is used for creating an application interface corresponding to an application module;
and step S230, establishing an interface frame expression library according to the general data processing library and the component library, wherein the interface frame expression library is used as a framework of a webpage system and is used for realizing interface jump orientation and data interaction.
In the embodiment, the method obtains the general data processing library, the component library and the interface frame representation library through creation, when the page system is developed, a developer can conveniently reuse program codes from the data processing library, and an application interface is quickly created and obtained from the component library, so that the page system is presented in the interface frame representation library, the development difficulty of the application of the page system is reduced, and the efficiency of developing the page system is improved.
The steps in the system creation method shown in fig. 2 will be described in detail below, as follows:
step S210, creating a general data processing library, where the general data processing library is used to define or package configuration content, where the configuration content includes at least one of an interface, a constant, an algorithm, and an entity class.
In this embodiment, the configuration content may be set according to the actual situation of the service, and may be one or more of an interface, a constant, an algorithm, and an entity class. Interfaces, constants, algorithms and entity classes can be determined according to actual conditions. The universal data processing library can be used for unifying data processing specifications, standardizing the unification of interfaces and ensuring the unification of relevant logics and reference processing of Web (webpage) application in an integrated mode. Understandably, the configuration content is defined or encapsulated in the data processing layer, so that the applications of all services can be called uniformly, and the interfaces are standardized and unified.
As an alternative implementation, step S210 may include: creating a request interface class and a service entity class, and creating a universal function directory partition according to a service, wherein the request interface class is used for defining or packaging an interface, the service entity class is used for referring to the application module, and the universal function directory partition is used for defining or packaging a constant and an algorithm; and encapsulating the request interface class, the service entity class and the universal function directory partition to form the universal data processing library.
In this embodiment, the generic interface class may be used to define a data service interface class for data requests. The data service interface classes include, but are not limited to, data request interfaces, data request address management interfaces, and the like.
For example, when creating a general data processing library, a data request interface may be defined by an HTTP request tool, and Header settings of an HTTP (HyperText Transfer Protocol) request, a data request function of a post, get, delete, put, or the like type may be encapsulated by the HTTP request tool. The data request interface class is used for uniformly processing data request related operations of each application: such as request error reporting, call back, data conversion, etc.
The electronic device 10 may define a data request address management interface through the ReqUri tool, and encapsulate a calling interface of each back-end service in the page system, so as to meet the requirement of mixed calling in each application.
The electronic device 10 may define related objects commonly used in the paging system when creating the generic entity class. The generic entity class is a business entity class, and may include, but is not limited to, a User class, a SysVariableBridgeService class, and the like. The User class is used for defining User objects of login, operation and the like of the page system. The SysVariableBridgeService class is used for storing logic variables required by the page system and is used for data desirability expansion of the page system and each application. Of course, the entity class may also include other business objects, which are not described herein again.
In this embodiment, in the process of creating the universal data processing library, functions and constants commonly used by the page system may be defined, so as to reuse codes of the application modules or the integrated application modules in the subsequent process of creating the application modules or the integrated application modules. The functions and constants may be determined based on actual conditions. For example, the constants include Uti classes for generating service IDs, time conversions, data type conversions, and the like. The method can be used for repackaging the commonly used MD5 algorithm data through an Md5x tool and processing object data conversion, synchronization, serialization and the like through an Obj tool. The MD5 algorithm is referred to as the fifth version Message Digest algorithm (Message Digest AlgorithmMD 5).
Understandably, for different service scenarios, the universal data processing library can be used to ensure that the created application modules corresponding to the services are not directly associated, but access to the same data.
After the request interface class, the service entity class and the universal function directory are created and obtained, the universal data processing library can be obtained through encapsulation processing.
Understandably, the packaging of the generic data processing library is similar to the packaging of the component library and the interface framework representation library described below. For example, the general data processing library can be obtained by packaging the program source files created to obtain the request interface class, the service entity class and the general function directory partition into files in a specified format. The specific format can be determined according to actual conditions, and includes but is not limited to js format, css format, HTML format and the like.
Step S220, a component library is created according to the general data processing library, and the component library is used for creating an application interface corresponding to an application module.
In this embodiment, the component library may be used to provide interactive controls with uniform icon styles and operation experiences. The control included in the component library may be set according to actual situations, for example, the component library may include a control for functional operations such as clicking, inputting, table, popup window, and the like, and an icon corresponding to the control. When the component library is used for creating web page interfaces corresponding to different services, the page system interfaces can be ensured to be similar in forms such as vision, interaction and the like when the application modules and the integrated application modules are created independently.
As an alternative implementation, step S220 may include: creating a component corresponding to the configuration content in the universal data processing library and a style directory partition of the component, wherein the style directory partition comprises an icon associated with the component; the component and the style directory partition are encapsulated to form the component library.
In this embodiment, the electronic device 10 may create the corresponding component and the style directory partition of the component using the common data processing library based on the business requirements. The style directory partition of the component can be understood as a target partition of an interface icon style of the component, and is used for storing the icon styles of the components so as to facilitate a user to select the corresponding components through the style directory partition.
When the component library is created, the created components comprise common components, and the created common components are used for list display and interaction of applications in the unified page. For example, the component library may further include, but is not limited to, Table list components, downlink rop-drop list components, buttons, Input, Radio, CheckBox, and other common controls. The Table list component is used for adding functions of sorting, dragging, filtering and the like, and defining a general icon style corresponding to each function. And the downlink drop-down list component is used for adding functions of filtering, multi-selection, grouping and the like and defining a universal icon style corresponding to each function. Common controls such as Button, Input, Radio, CheckBox and the like are used for adding uniform styles and interactive functions and defining general icon styles corresponding to the functions. And the Dialog popup service component is used for unifying information prompt, operation inquiry, data setting and the like and defining a universal icon style corresponding to each function.
Understandably, each common icon style is an icon associated with a function of a component, and the color and the size of the icon can be uniform. When creating an application module for executing a service based on the service, components in the component library and general icon styles associated with the components may be directly utilized as icons of corresponding functions in a page of the application module. For example, the component library includes a virtual button for performing a selection operation, and an icon associated with the virtual button. When a functional component for executing the selection operation needs to be created in the application module, the virtual button in the component library can be directly used as the functional component in the application module, and the icon of the virtual button can be used as the icon in the display interface in the application module. The components or the functional controls in the component library can be installed in the page system or the application module in a plug-in mode.
In the above embodiment, the created component library is used, so that developers can conveniently create the application modules and the display interfaces of the application modules by using the components in the component library, and the icon styles and the operation experiences of the interfaces of the created application modules can be unified.
And step S230, establishing an interface frame expression library according to the general data processing library and the component library, wherein the interface frame expression library is used as a framework of a webpage system and is used for realizing interface jump orientation and data interaction.
In this embodiment, the interface frame representation library may be understood as a frame or a template of a system interface of the page system, which is used to display each application interface, component icon, and the like in the page system, and may provide an interface for integrating application modules to integrate the application modules. The application interface is an interface of an application module and can comprise icons of components in a component library. The number, size and number of application interfaces and component icons displayed in the system interface can be set according to actual conditions. The system interface can be used for navigation of various functional applications in the page system, and can be used for page jump, data interaction and other operations.
The interface frame representation library can comprise display parts of interface navigation views, system function views, interface layout typesetting and other views. In addition, the interface frame representation library can be used for carrying out logic processing such as switching of navigation pages, interface redirection and the like. The interface frame representation library can also be used for providing data bridge service and realizing data exchange.
As an alternative implementation, step S230 may include: creating a function directory partition and a system interface through the general data processing library and the component library, wherein the function directory partition comprises a first directory for interface jump orientation and a second directory for sharing variables, and the system interface comprises a navigation area and a content editing area; and encapsulating the function directory partition and the system interface to form the interface frame representation library.
In this embodiment, the function directory partition of the interface framework representation library is used for a developer to view the deployment of each function application of the page system, and may be created according to actual situations. In addition, the jump orientation and the shared variable can be set according to the actual situation. Jump direction jumps with pages or functions. The shared variables are used for data sharing, so that each application module can realize interaction through the shared variables without direct interaction.
After the functional directory partition and the system interface are created and obtained by using the development tool, the interface frame expression library can be obtained by packaging the functional directory partition and the system interface. The process of encapsulation is similar to the way in which the encapsulation yields a generic data processing library as described above. For example, the interface framework representation library is obtained by packaging the program source files of the function directory partition and the system interface into files in a specified format. The specific format can be determined according to actual conditions, and includes but is not limited to js format, css format, HTML format and the like.
Understandably, by creating the obtained interface frame expression library, a uniform interface expression and a uniform interaction style can be formed.
As an optional implementation, the method may further include: and creating an application module corresponding to the service and an application interface associated with the application module according to the general data processing library, the component library and the service.
In this embodiment, when an application module corresponding to a service needs to be created, a developer may create, based on the functional requirements of the service, a functional module that does not exist in the general data processing library or the component library by combining existing corresponding functional modules from the general data processing library and the component library through the electronic device 10, so as to quickly create a corresponding application module of the service and a web interface (or an operation interface) of the application module.
One or more application modules of one service can be determined according to actual conditions. The functional requirements of the service can be determined according to the actual situation of the service. For example, if the service of the web page system to be created is for selling goods, the functions of the service include displaying various attributes of the goods, and entering personal information of buyers and sellers. When the number of the application modules of the service is multiple, multiple developers can independently develop different application modules, so that the time for creating all the application modules of the service is shortened, and the development efficiency of the application modules of the service is improved.
Understandably, developers can subdivide each application of the service, and each developer can independently develop and create a corresponding application module based on the universal data processing library, the component library and the interface framework expression library by modularizing the applications of the executed service, thereby being beneficial to shortening the development time of each application program corresponding to the service.
Referring to fig. 3, when a plurality of application modules need to be created, an application module a, an application module B, and other application modules can be created by using the general data processing library, the component library, and the interface framework representation library. Each application module may act as a separate one of the page systems. When each application module needs to be integrated in one page system, a componentization technology can be used, the corresponding application module is selected according to requirements to carry out component packaging and packaging, and the components are output in a component form to obtain a front-end integration platform A, a front-end integration platform B and the like. The front-end integration platform is a page system comprising a plurality of application modules. The application module, the front-end integration platform, the general data processing library, the component library and the interface framework expression library can exchange data with each other. Based on this, each application module only processes the service logic in the application, and does not affect the service outside the application. When application integration is needed, a page system is built in a packaging application module in a component mode, so that the purpose of building projects in an integrated mode is achieved. After integration, the applications are not directly connected, and indirect data flow interaction is carried out by using a data sharing mode provided by the framework presentation layer, so that control among the application modules is realized. When the logic layered part is logically changed, all the applications are uniformly changed only by upgrading the layered output library package by the application or the platform, thereby simplifying the change of the application module of the page system.
As an optional implementation, the method further comprises: integrating the application modules into a page system through the interface frame representation library, wherein the system page of the page system displays the application interface associated with the application modules.
When the page system is established, the developed application modules can be directly utilized, the interface frame representation library is directly utilized to integrate the page system, and the code reuse of each application module is realized through the universal data processing library, so that the development process of the page system is simplified, and the development efficiency is improved.
In this embodiment, the number of the application modules may be one or more. When the number of the application modules is multiple, and when there is a new service that needs to reconstruct the page system, the method may further include: determining at least one target application module from the plurality of application modules based on the new traffic; and integrating the at least one target application module into a new page system through the interface frame representation library, wherein the system page of the new page system is displayed with an application interface associated with the at least one target application module.
When the page system is reconstructed, the application modules required by the reconstructed page system can be determined from the existing application modules based on the new service requirements of the reconstructed page system to serve as target application modules. If the existing application module can not meet all the functional requirements of the new service, a corresponding new application module is created by using the general data processing library and the component library, and then the target application module (or the target application module and the new application module) is used for representing the library integration page system through the interface framework. Because the application interface of the application module is associated with the application module, the style of the icon presented by the system interface is similar to the original style after the system is reconstructed. In addition, because the original application module is used, the code can be reused, and the workload of developers can be reduced, thereby being beneficial to improving the efficiency of page system reconstruction.
Based on the design, universal data processing, components and universal functions of the interface overall situation are respectively built and developed. The developer can create corresponding application modules according to the requirements of the business, and each application module can be used as a subsystem of the page system. In each subsystem application, a general data processing library, a component library and an interface frame expression library are used as dependencies, the consistency of uniform display of icon styles and data interaction of application applications is realized, a single application module is supported to serve as a webpage system, and a plurality of application modules can be quickly combined to integrate the webpage system. In the integration mode, each application module does not directly perform data interaction, so that the multi-application module non-intrusive integration can be realized.
Understandably, through the system creation method provided by the application, developers only need to process business logic and interface interaction in the application, and do not need to analyze and process function management of the whole page system. For example, it is not necessary to analyze and process the jump of the route, the information of the login user, the global setting, and the like. The function management (such as the jumping of the route, the information of the login user and the global setting) of the whole page system can be uniformly realized by the interface frame presentation layer.
Referring to fig. 4, an embodiment of the present application further provides a system creation apparatus 100, which can be applied to the electronic device 10 described above, and is used for executing steps in the system creation method. The system creation apparatus 100 includes at least one software functional module which may be stored in the storage module 12 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the electronic device 10. The processing module 11 is used for executing executable modules stored in the storage module 12, such as software functional modules and computer programs included in the system creation apparatus 100. For example, the system creation apparatus 100 includes a process library creation unit 110, a component library creation unit 120, and a presentation library creation unit 130.
A processing library creating unit 110, configured to create a general data processing library, where the general data processing library is used to define or package configuration contents, and the configuration contents include at least one of interfaces, constants, algorithms, and entity classes.
A component library creating unit 120, configured to create a component library according to the general data processing library, where the component library is used to create an application interface corresponding to an application module.
And a representation library creating unit 130, configured to create an interface framework representation library according to the general data processing library and the component library, where the interface framework representation library is used as a framework of a web page system and is used to implement interface jump orientation and data interaction.
Optionally, the apparatus further includes an application creating unit, configured to create, according to the general data processing library, the component library, and the service, an application module corresponding to the service and an application interface associated with the application module.
Optionally, the apparatus further includes an application integration unit, configured to integrate the application module into a page system through the interface framework representation library, where a system page of the page system exposes the application interface associated with the application module.
Optionally, the apparatus further includes a determining unit and an application integration unit, where the number of the application modules is multiple, and the determining unit is configured to determine at least one target application module from the multiple application modules based on a new service; the application integration unit is used for integrating the at least one target application module into a new page system through the interface frame representation library, wherein the system page of the new page system displays an application interface associated with the at least one target application module.
Optionally, the process library creating unit 110 is further configured to: creating a request interface class and a service entity class, and creating a universal function directory partition according to a service, wherein the request interface class is used for defining or packaging an interface, the service entity class is used for referring to the application module, and the universal function directory partition is used for defining or packaging a constant and an algorithm; and encapsulating the request interface class, the service entity class and the universal function directory partition to form the universal data processing library.
Optionally, the component library creating unit 120 is further configured to: creating a component corresponding to the configuration content in the universal data processing library and a style directory partition of the component, wherein the style directory partition comprises an icon associated with the component; the component and the style directory partition are encapsulated to form the component library.
Optionally, the performance library creating unit 130 is further configured to: creating a function directory partition and a system interface through the general data processing library and the component library, wherein the function directory partition comprises a first directory for interface jump orientation and a second directory for sharing variables, and the system interface comprises a navigation area and a content editing area; and encapsulating the function directory partition and the system interface to form the interface frame representation library.
In this embodiment, the processing module 11 may be an integrated circuit chip having signal processing capability. The processing module 11 may be a general-purpose processor. For example, the processor may be a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Network Processor (NP), or the like; the method, the steps and the logic block diagram disclosed in the embodiments of the present Application may also be implemented or executed by a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
The memory module 12 may be, but is not limited to, a random access memory, a read only memory, a programmable read only memory, an erasable programmable read only memory, an electrically erasable programmable read only memory, and the like. In the present embodiment, the storage module 12 may be used for storing an application module, a development platform, and the like. Of course, the storage module 12 may also be used to store a program, and the processing module 11 executes the program after receiving the execution instruction.
The communication module 13 is configured to establish a communication connection between the electronic device 10 and a server through a network, and to transmit and receive data through the network. For example, the electronic device 10 may transmit the completely created netpage system to a server, so that a manager may publish the created netpage system through the server. The user can access the webpage system in the server through the terminal equipment to perform corresponding business operation. Additionally, the display screen may be used to display a page system.
It should be noted that, for convenience and brevity of description, it may be clearly understood by those skilled in the art that, for the specific working process of the electronic device 10 and the system creation method described above, reference may be made to the corresponding process of each step in the foregoing method, and redundant description is not repeated here.
The embodiment of the application also provides a computer readable storage medium. The readable storage medium has stored therein a computer program which, when run on a computer, causes the computer to execute the system creation method as described in the above embodiments.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by hardware, or by software plus a necessary general hardware platform, and based on such understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments of the present application.
In summary, the present application provides a system creation method, an apparatus, an electronic device, and a readable storage medium. The method comprises the following steps: creating a general data processing library, wherein the general data processing library is used for defining or packaging configuration contents, and the configuration contents comprise at least one of interfaces, constants, algorithms and entity classes; creating a component library according to the general data processing library, wherein the component library is used for creating an application interface corresponding to the application module; and establishing an interface frame expression library according to the general data processing library and the component library, wherein the interface frame expression library is used as a framework of a webpage system and is used for realizing interface jump orientation and data interaction. According to the page system development method and device, the universal data processing library, the component library and the interface frame expression library are obtained through creation, when the page system is developed, a developer can conveniently reuse program codes from the data processing library, and an application interface is quickly created from the component library, so that the page system is presented in the interface frame expression library, the development difficulty of the application of the page system is reduced, and the efficiency of the page system development is improved.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus, system, and method may be implemented in other ways. The apparatus, system, and method embodiments described above are illustrative only, as the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims (16)
1. A method of system creation, the method comprising:
creating a general data processing library, wherein the general data processing library is used for defining or packaging configuration contents, and the configuration contents comprise at least one of interfaces, constants, algorithms and entity classes;
creating a component library according to the general data processing library, wherein the component library is used for creating an application interface corresponding to an application module;
and establishing an interface frame expression library according to the general data processing library and the component library, wherein the interface frame expression library is used as a framework of a webpage system and is used for realizing interface jump orientation and data interaction.
2. The method of claim 1, further comprising:
and creating an application module corresponding to the service and an application interface associated with the application module according to the general data processing library, the component library and the service.
3. The method of claim 2, further comprising:
integrating the application modules into a page system through the interface frame representation library, wherein the system page of the page system displays the application interface associated with the application modules.
4. The method of claim 2, wherein the number of application modules is plural, the method further comprising:
determining at least one target application module from the plurality of application modules based on the new traffic;
and integrating the at least one target application module into a new page system through the interface frame representation library, wherein the system page of the new page system is displayed with an application interface associated with the at least one target application module.
5. The method of claim 1, wherein creating a generic data processing library comprises:
creating a request interface class and a service entity class, and creating a universal function directory partition according to a service, wherein the request interface class is used for defining or packaging an interface, the service entity class is used for referring to the application module, and the universal function directory partition is used for defining or packaging a constant and an algorithm;
and encapsulating the request interface class, the service entity class and the universal function directory partition to form the universal data processing library.
6. The method of claim 1, wherein creating a component library from the common data processing library comprises:
creating a component corresponding to the configuration content in the universal data processing library and a style directory partition of the component, wherein the style directory partition comprises an icon associated with the component;
the component and the style directory partition are encapsulated to form the component library.
7. The method of claim 1, wherein creating an interface framework representation library from the common data processing library and the component library comprises:
creating a function directory partition and a system interface through the general data processing library and the component library, wherein the function directory partition comprises a first directory for interface jump orientation and a second directory for sharing variables, and the system interface comprises a navigation area and a content editing area;
and encapsulating the function directory partition and the system interface to form the interface frame representation library.
8. A system creation apparatus, the apparatus comprising:
the system comprises a processing library creating unit, a configuration library creating unit and a configuration library creating unit, wherein the processing library creating unit is used for creating a general data processing library, the general data processing library is used for defining or packaging configuration content, and the configuration content comprises at least one of interfaces, constants, algorithms and entity classes;
the component library creating unit is used for creating a component library according to the general data processing library, and the component library is used for creating an application interface corresponding to an application module;
and the performance library creating unit is used for creating an interface frame performance library according to the general data processing library and the component library, and the interface frame performance library is used as a framework of a webpage system and used for realizing interface jump orientation and data interaction.
9. The apparatus according to claim 8, further comprising an application creation unit configured to create an application module corresponding to the service and an application interface associated with the application module according to the common data processing library, the component library and the service.
10. The apparatus of claim 9, further comprising an application integration unit for integrating the application modules into a page system through the interface framework representation library, wherein a system page of the page system exposes the application interfaces associated with the application modules.
11. The apparatus according to claim 9, further comprising a determining unit and an application integrating unit, wherein the number of the application modules is plural, and the determining unit is configured to determine at least one target application module from the plural application modules based on a new service;
the application integration unit is used for integrating the at least one target application module into a new page system through the interface frame representation library, wherein the system page of the new page system displays an application interface associated with the at least one target application module.
12. The apparatus of claim 8, wherein the processing library creating unit is further configured to:
creating a request interface class and a service entity class, and creating a universal function directory partition according to a service, wherein the request interface class is used for defining or packaging an interface, the service entity class is used for referring to the application module, and the universal function directory partition is used for defining or packaging a constant and an algorithm;
and encapsulating the request interface class, the service entity class and the universal function directory partition to form the universal data processing library.
13. The apparatus of claim 8, wherein the component library creation unit is further configured to:
creating a component corresponding to the configuration content in the universal data processing library and a style directory partition of the component, wherein the style directory partition comprises an icon associated with the component;
the component and the style directory partition are encapsulated to form the component library.
14. The apparatus of claim 8, wherein the presentation library creating unit is further configured to:
creating a function directory partition and a system interface through the general data processing library and the component library, wherein the function directory partition comprises a first directory for interface jump orientation and a second directory for sharing variables, and the system interface comprises a navigation area and a content editing area;
and encapsulating the function directory partition and the system interface to form the interface frame representation library.
15. An electronic device, characterized in that the electronic device comprises a processor and a memory coupled to each other, the memory storing a computer program which, when executed by the processor, causes the electronic device to perform the method according to any of claims 1-7.
16. A computer-readable storage medium, in which a computer program is stored which, when run on a computer, causes the computer to carry out the method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911402653.1A CN111158684B (en) | 2019-12-30 | 2019-12-30 | System creation method, device, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911402653.1A CN111158684B (en) | 2019-12-30 | 2019-12-30 | System creation method, device, electronic equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111158684A true CN111158684A (en) | 2020-05-15 |
CN111158684B CN111158684B (en) | 2023-07-04 |
Family
ID=70559460
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911402653.1A Active CN111158684B (en) | 2019-12-30 | 2019-12-30 | System creation method, device, electronic equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111158684B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116954586A (en) * | 2023-08-02 | 2023-10-27 | 上海数慧系统技术有限公司 | Space application construction method and system and electronic equipment |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001009794A2 (en) * | 1999-07-30 | 2001-02-08 | Accenture Llp | A system, method and article of manufacture for an e-commerce based architecture |
CN101226471A (en) * | 2007-11-09 | 2008-07-23 | 中科软科技股份有限公司 | Field foundation service platform based on component as well as construction method thereof |
CN103150165A (en) * | 2013-03-07 | 2013-06-12 | 中国农业大学 | Frame and method for building outdoor data acquisition program |
US20150089475A1 (en) * | 2013-09-20 | 2015-03-26 | Oracle International Corporation | Runtime customization infrastructure |
CN106843835A (en) * | 2016-12-21 | 2017-06-13 | 中国电子科技网络信息安全有限公司 | A kind of application systems software constructing system of meta data customizing, system constituting method |
CN107085515A (en) * | 2017-03-30 | 2017-08-22 | 武汉斗鱼网络科技有限公司 | Personal page generation method and device |
US20170249129A1 (en) * | 2014-10-02 | 2017-08-31 | Siemens Aktiengesellschaft | Programming automation in a 3d graphical editor with tightly coupled logic and physical simulation |
CN107832038A (en) * | 2017-10-27 | 2018-03-23 | 中航信移动科技有限公司 | The implementation method and device of Component Gallery |
US20180107459A1 (en) * | 2016-10-17 | 2018-04-19 | Sd Squared Limited | Systems and methods for creating software from library and custom components |
CN108491205A (en) * | 2018-03-22 | 2018-09-04 | 北京焦点新干线信息技术有限公司 | A kind of front end web development methods and system based on component tree |
CN109086342A (en) * | 2018-07-10 | 2018-12-25 | 长沙米拓信息技术有限公司 | The method of mass production and O&M website form, medium and terminal |
CN109101225A (en) * | 2017-06-20 | 2018-12-28 | 腾讯科技(深圳)有限公司 | Component building method and device, Component Gallery framework and computer readable storage medium |
CN109445783A (en) * | 2018-09-25 | 2019-03-08 | 广州城市信息研究所有限公司 | By the construction method and device of the dynamic configuration application of service driving |
CN109542399A (en) * | 2018-10-25 | 2019-03-29 | 深圳市金证科技股份有限公司 | Software development methodology, device, terminal device and computer readable storage medium |
CN109582909A (en) * | 2018-12-19 | 2019-04-05 | 拉扎斯网络科技(上海)有限公司 | Webpage automatic generation method and device, electronic equipment and storage medium |
US20190340230A1 (en) * | 2018-05-07 | 2019-11-07 | Web.Com Group, Inc. | System and method for generating websites from predefined templates |
-
2019
- 2019-12-30 CN CN201911402653.1A patent/CN111158684B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001009794A2 (en) * | 1999-07-30 | 2001-02-08 | Accenture Llp | A system, method and article of manufacture for an e-commerce based architecture |
CN101226471A (en) * | 2007-11-09 | 2008-07-23 | 中科软科技股份有限公司 | Field foundation service platform based on component as well as construction method thereof |
CN103150165A (en) * | 2013-03-07 | 2013-06-12 | 中国农业大学 | Frame and method for building outdoor data acquisition program |
US20150089475A1 (en) * | 2013-09-20 | 2015-03-26 | Oracle International Corporation | Runtime customization infrastructure |
US20170249129A1 (en) * | 2014-10-02 | 2017-08-31 | Siemens Aktiengesellschaft | Programming automation in a 3d graphical editor with tightly coupled logic and physical simulation |
US20180107459A1 (en) * | 2016-10-17 | 2018-04-19 | Sd Squared Limited | Systems and methods for creating software from library and custom components |
CN106843835A (en) * | 2016-12-21 | 2017-06-13 | 中国电子科技网络信息安全有限公司 | A kind of application systems software constructing system of meta data customizing, system constituting method |
CN107085515A (en) * | 2017-03-30 | 2017-08-22 | 武汉斗鱼网络科技有限公司 | Personal page generation method and device |
CN109101225A (en) * | 2017-06-20 | 2018-12-28 | 腾讯科技(深圳)有限公司 | Component building method and device, Component Gallery framework and computer readable storage medium |
CN107832038A (en) * | 2017-10-27 | 2018-03-23 | 中航信移动科技有限公司 | The implementation method and device of Component Gallery |
CN108491205A (en) * | 2018-03-22 | 2018-09-04 | 北京焦点新干线信息技术有限公司 | A kind of front end web development methods and system based on component tree |
US20190340230A1 (en) * | 2018-05-07 | 2019-11-07 | Web.Com Group, Inc. | System and method for generating websites from predefined templates |
CN109086342A (en) * | 2018-07-10 | 2018-12-25 | 长沙米拓信息技术有限公司 | The method of mass production and O&M website form, medium and terminal |
CN109445783A (en) * | 2018-09-25 | 2019-03-08 | 广州城市信息研究所有限公司 | By the construction method and device of the dynamic configuration application of service driving |
CN109542399A (en) * | 2018-10-25 | 2019-03-29 | 深圳市金证科技股份有限公司 | Software development methodology, device, terminal device and computer readable storage medium |
CN109582909A (en) * | 2018-12-19 | 2019-04-05 | 拉扎斯网络科技(上海)有限公司 | Webpage automatic generation method and device, electronic equipment and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116954586A (en) * | 2023-08-02 | 2023-10-27 | 上海数慧系统技术有限公司 | Space application construction method and system and electronic equipment |
CN116954586B (en) * | 2023-08-02 | 2024-05-07 | 上海数慧系统技术有限公司 | Space application construction method and system and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN111158684B (en) | 2023-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11762634B2 (en) | Systems and methods for seamlessly integrating multiple products by using a common visual modeler | |
CN110532020A (en) | A kind of data processing method of micro services layout, apparatus and system | |
CN103001963B (en) | For the method and system of the page navigation feature of minimum download and simulation | |
CN108108239A (en) | Method and device for providing service function and computer readable storage medium | |
CN111796820B (en) | Method and device for constructing front-end page based on integrated assembly and electronic equipment | |
CN113778848A (en) | Test code generation method, device, computer system and medium | |
CN110895471A (en) | Installation package generation method, device, medium and electronic equipment | |
WO2017107851A1 (en) | Method and device for releasing and updating desktop application component | |
CN113127361B (en) | Application development method and device, electronic equipment and storage medium | |
US20160054986A1 (en) | Composable context menus | |
CN114791797A (en) | Application development method, system, device and storage medium based on service middlebox | |
CN114115923A (en) | Operating system building method and system | |
CN114077430A (en) | Interface generation method and device, electronic equipment and storage medium | |
CN115982491A (en) | Page updating method and device, electronic equipment and computer readable storage medium | |
CN113204341A (en) | Page generation method, device and medium | |
CN114048415A (en) | Form generation method and device, electronic equipment and computer readable storage medium | |
CN112685040B (en) | Method, device, equipment and storage medium for generating interface file in android system | |
CN113535175A (en) | Application program front-end code generation method and device, electronic equipment and medium | |
CN113805877A (en) | Project engineering construction method and device based on IDEA plug-in | |
CN111158684B (en) | System creation method, device, electronic equipment and readable storage medium | |
CN111580804B (en) | Method and device for developing software project | |
CN113778393A (en) | Component generation method, device, computer system and computer-readable storage medium | |
CN115269285A (en) | Test method and device, equipment and computer readable storage medium | |
CN116521285A (en) | Application trial method and device, electronic equipment and storage medium | |
CN111464429B (en) | WeChat applet multi-item compatible sharing method, system, storage medium and equipment |
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 |