CN111158684B - System creation method, device, electronic equipment and readable storage medium - Google Patents

System creation method, device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN111158684B
CN111158684B CN201911402653.1A CN201911402653A CN111158684B CN 111158684 B CN111158684 B CN 111158684B CN 201911402653 A CN201911402653 A CN 201911402653A CN 111158684 B CN111158684 B CN 111158684B
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.)
Active
Application number
CN201911402653.1A
Other languages
Chinese (zh)
Other versions
CN111158684A (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 Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software Co Ltd
Original Assignee
Beijing Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software 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 Topsec Technology Co Ltd, Beijing Topsec Network Security Technology Co Ltd, Beijing Topsec Software Co Ltd filed Critical Beijing Topsec Technology Co Ltd
Priority to CN201911402653.1A priority Critical patent/CN111158684B/en
Publication of CN111158684A publication Critical patent/CN111158684A/en
Application granted granted Critical
Publication of CN111158684B publication Critical patent/CN111158684B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a system creation method, a system creation 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 content, and the configuration content comprises 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 creating 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, so that the problems of high difficulty and low efficiency in webpage system development can be solved.

Description

System creation method, device, electronic equipment and readable storage medium
Technical Field
The present invention relates to the technical field of software systems, and in particular, to a system creation method, a device, an electronic apparatus, 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, creation of a web page system is typically required using a front-end interface system. At present, at the beginning of the design of a webpage system, a basic structure of the webpage interface is generally required to be set according to service requirements, and along with the increase of requirements and functions, interface files are correspondingly expanded, so that the organization of the webpage system is also more and more bulky and complicated. In addition, when there is a correlation or interaction between services or functions, when a new requirement or function needs to be added to the webpage system, because a great amount of adaptation needs to be made for interaction between interfaces, developers need to process excessive adaptation needs in embedding requirements besides developing service logic, and interaction codes are complex, so that the development difficulty and efficiency of the webpage system are high.
Disclosure of Invention
The application provides a system creation method, a system creation device, electronic equipment and a readable storage medium, which can solve the problems of great difficulty and low efficiency in webpage system development.
In order to achieve the above objective, the technical solution provided in the embodiments of the present application is as follows:
in a first aspect, an embodiment of the present application provides a system creation method, including:
creating a general data processing library, wherein 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;
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 creating 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 general data processing library, the component library and the interface frame expression library are obtained through creation, so that when the page system is developed, a developer can conveniently multiplex program codes from the data processing library, and an application interface is quickly created from the component library, thereby presenting the page system in the interface frame expression library, reducing the development difficulty of the page system application, and further being beneficial to improving the development efficiency of the page system.
With reference to the first aspect, in some optional embodiments, the method further includes:
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, the developer may subdivide each application module of the service, and by modularizing the application for executing the service, each developer independently develops and creates a corresponding application module based on the general data processing library, the component library and the interface frame expression library, thereby being beneficial to shortening the development duration of each application program corresponding to the service.
With reference to the first aspect, in some optional embodiments, the method further includes:
integrating the application module into a page system through the interface frame expression library, wherein the system page of the page system is displayed with the application interface associated with the application module.
In the above embodiment, when the page system is created, the application modules which have been developed can be directly utilized, the interface frame expression library is directly utilized to integrate the page system, and code multiplexing of each application module is realized through the universal data processing library, so that the development flow 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 application modules is a plurality, and the method further includes:
determining at least one target application module from a plurality of application modules based on the new service;
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.
In the above embodiment, when a new service needs to be reconfigured, the page system may be integrated by directly using an application module required by the new service, and since an application interface of the application module is associated with the application module, an icon style of the interface after the system is reconfigured may be similar to an original style.
With reference to the first aspect, in some optional embodiments, creating the universal data processing library includes:
creating a request interface class, a service entity class and creating a general 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 general function directory partition is used for defining or packaging constants and algorithms;
And encapsulating the request interface class, the business entity class and the general function directory partition to form the general data processing library.
In the above embodiment, the data processing specification may be unified by creating the general data processing library, and in addition, the interface may be unified.
With reference to the first aspect, in some optional embodiments, creating a component library from the general data processing library includes:
creating a component corresponding to the configuration content in the general data processing library and a style directory partition of the component, wherein the style directory partition comprises an icon associated with the component;
the components and the style directory partitions are encapsulated to form the component library.
In the embodiment, the interface icon style and the operation experience can be unified through creating the obtained component library.
With reference to the first aspect, in some optional embodiments, creating an interface frame representation library according to the general 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 functional directory partition and the system interface to form the interface frame representation library.
In the above embodiment, by creating the obtained interface frame representation library, a unified interface representation and a unified interaction style can be formed.
In a second aspect, embodiments of the present application further provide a system creation apparatus, including:
the processing library creation unit is used for creating a general data processing library, wherein 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 the application module;
the expression library creation unit is used for creating 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.
With reference to the second aspect, in some optional embodiments, the apparatus further includes an application creating unit, configured to create 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.
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 frame representation library, where a system page of the page system displays 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 application modules is a plurality of, and the determining unit is configured to determine at least one target application module from a plurality of 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.
With reference to the second aspect, in some optional embodiments, the processing library creating unit is further configured to:
creating a request interface class, a service entity class and creating a general 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 general function directory partition is used for defining or packaging constants and algorithms;
And encapsulating the request interface class, the business entity class and the general function directory partition to form the general 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 general data processing library and a style directory partition of the component, wherein the style directory partition comprises an icon associated with the component;
the components and the style directory partitions 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 functional 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, where the memory stores a computer program, and when the computer program is executed by the processor, causes the electronic device to perform the method described above.
In a fourth aspect, embodiments of the present application further provide a computer readable storage medium, where a computer program is stored, which when run on a computer causes the computer to perform the above-mentioned method.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below. It is to be understood that the following drawings illustrate only certain embodiments of the present application and are therefore not to be considered limiting of its scope, for the person of ordinary skill in the art may derive other relevant drawings from the drawings without inventive effort.
Fig. 1 is a block schematic diagram of an electronic device according to an embodiment of the present application.
Fig. 2 is a flow chart of a system creation method according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a logic scenario of a system creation method according to an embodiment of the present application.
Fig. 4 is a functional block diagram of a system creation device provided in an embodiment of the present application.
Icon: 10-an electronic device; 11-a processing module; 12-a memory module; 13-a communication module; 100-system creation means; 110-a processing library creation unit; 120-a component library creation unit; 130-a performance 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 between descriptions and should not be construed as indicating or implying relative importance.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict.
Referring to fig. 1, an embodiment of the present application provides an electronic device 10 that 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, the storage module 12 storing a computer program that, when executed by the processing module 11, may cause the electronic device 10 to perform a system creation method described below.
It should be noted that the electronic device 10 may further include other devices, for example, the electronic device 10 may further include a communication module 13, a display screen, and the like. The processing module 11, the storage module 12, the communication module 13, the display screen and other elements are directly or indirectly electrically connected to realize 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 (Personal Computer, PC), a tablet, a personal digital assistant (Personal Digital Assistant, PDA), a mobile internet device (Mobile Internet Device, MID), a server, or the like.
Referring to fig. 2, the embodiment of the present application further provides a system creation method, which may be applied to the above-mentioned electronic device 10, and executed or implemented by the electronic device 10 to perform 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 interfaces, constants, algorithms and entity classes;
step S220, a component library is established according to the general data processing library, and the component library is used for establishing an application interface corresponding to the application module;
Step S230, an interface frame expression library is created 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 expression library by creating, so that when developing the page system, a developer can conveniently multiplex program codes from the data processing library, and quickly create and obtain an application interface from the component library, thereby presenting the page system in the interface frame expression library, reducing the development difficulty of the page system application, and further being beneficial to improving the development efficiency of the page system.
The steps in the system creation method shown in fig. 2 will be described in detail as follows:
in step S210, a general data processing library is created, where the general data processing library is used to define or encapsulate configuration content, and the configuration content includes at least one of interfaces, constants, algorithms, and entity classes.
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. The 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, can standardize the unification of interfaces, and ensures the unification of relevant logic and reference processing of Web (Web page) application in an integrated mode. Understandably, configuration content is defined or encapsulated in the data processing layer, so that applications of each service can be called uniformly, and interfaces are standardized uniformly.
As an alternative embodiment, step S210 may include: creating a request interface class, a service entity class and creating a general 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 general function directory partition is used for defining or packaging constants and algorithms; and encapsulating the request interface class, the business entity class and the general function directory partition to form the general data processing library.
In this embodiment, the generic interface class may be used to define the data service interface class of the data request. 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 httprequster tool, and a Header setting of an HTTP (HyperText Transfer Protocol ) request may be encapsulated by the httprequster tool, and data request functions of the post, get, delete, put, etc. types may be encapsulated. The data request interface class is used for uniformly processing the data request related operation of each application: such as request errors, callbacks, data transformations, etc.
The electronic device 10 may define a data request address management interface through a ReqUri tool, and encapsulate call interfaces of each back-end service in the page system for calling interfaces of back-end service in the page system to meet the requirement of mixed call in each application.
The electronic device 10, when creating the generic entity class, may define related objects commonly used in the page system. The generic entity class is a service entity class, and may include, but is not limited to, user class, 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 for expanding the data desirability of the page system and each application. Of course, the entity class may also include other business objects, which are not described in detail herein.
In this embodiment, in the process of creating the general data processing library, functions and constants commonly used in the page system may be defined so as to multiplex codes thereof later when creating the application module or the integrated application module. The functions and constants may be determined based on the actual situation. For example, constants include Uti classes for generating traffic IDs, time conversions, data type conversions, and the like. The method can be used for repackaging common MD5 algorithm data through an Md5x tool, and processing object data conversion, synchronization, serialization and the like through an Obj tool. Wherein the MD5 algorithm refers to a fifth version of the message digest algorithm (Message Digest Algorithm MD 5).
It will be appreciated that for different business scenarios, a generic data processing library may be used to ensure that each application module created to correspond to a business does not make a direct association, but rather makes access to the same data.
After the request interface class, the business entity class and the general function directory partition are created, the general data processing library can be obtained through encapsulation processing.
It is understood that the package-obtaining general data processing library is similar to the package processing of the package-obtaining component library and the interface frame representation library described below. For example, the general data processing library can be obtained by packing the program source files created to obtain the request interface class, the business entity class and the general function directory partition into files with a specified format. The specified format may be determined according to practical situations, including but not limited to js format, css format, HTML format, etc.
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 the application module.
In this embodiment, the component library may be used to provide interactive controls with uniform icon styles and operational experiences. The controls included in the component library may be set according to actual situations, for example, the component library may include controls for clicking, inputting, forming, popup, and other functional operations, and icons corresponding to the controls. When the component library is used for creating web page interfaces corresponding to different services, the visual, interactive and other wind lattices of the web page system interface can be ensured to be similar when the application module and the integrated application module are independently created.
As an alternative embodiment, step S220 may include: creating a component corresponding to the configuration content in the general data processing library and a style directory partition of the component, wherein the style directory partition comprises an icon associated with the component; the components and the style directory partitions are encapsulated to form the component library.
In this embodiment, the electronic device 10 may create corresponding components and style directory partitions for the components using a common database based on business requirements. The style directory partition of the component can be understood as a target partition of the interface icon style of the component, and is used for storing the icon style of each component, so that a user can conveniently select a corresponding component through the style directory partition.
When the component library is created, the created components comprise common components used for list presentation and interaction of applications in the unified page. For example, the component library may further include, but is not limited to, common controls such as Table List component, down drop-down List component, button, input, radio, checkBox, and the like. The Table list component is used for adding functions of sorting, dragging, filtering and the like, and defining general icon styles corresponding to the functions. The Downdrop drop down list component is used for adding functions of filtering, selecting multiple functions, grouping and the like, and defining general icon styles corresponding to the functions. Common controls such as Button, input, radio, checkBox and the like are used for adding unified styles and interactive functions and defining common icon styles corresponding to the functions. The Dialog popup service component is used for unifying information prompt, operation query, data setting and the like, and defining general icon styles corresponding to the functions.
It is understood that each generic icon style is an icon associated with a function of the component, and the color and size of the icon may be uniform. When creating an application module for executing a service based on the service, the components in the component library and the general icon patterns associated with the components can be directly utilized as icons of corresponding functions in pages of the application module. For example, a virtual button for performing a selection operation and an icon associated with the virtual button are included in the component library. 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 embodiment, the created component library is utilized to facilitate a developer to create the application module and the display interface of the application module by utilizing the components in the component library, so that the icon style and the operation experience of the interface of each created application module can be unified.
Step S230, an interface frame expression library is created 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 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 the application module, and may include icons of components in the component library. The number, the size and the number of the component icons of the application interfaces displayed in the system interface can be set according to actual conditions. The system interface can be used for navigating each function application in the page system and can be used for performing page jumping, data interaction and other operations.
The interface frame expression library can comprise display parts of interface navigation views, system function views, interface layout typesets and other views. In addition, the interface frame expression library can be used for performing logic processing such as switching of navigation pages and interface redirection. The interface frame representation library can also be used to provide data bridge services to effect data exchange.
As an alternative embodiment, 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 functional directory partition and the system interface to form the interface frame representation library.
In this embodiment, the functional directory partition of the interface frame representation library is used for a developer to view the deployment of each functional application of the page system, and may be created according to the actual situation. In addition, the jump orientation and the shared variable can be set according to actual conditions. The jump is directed to a jump of the page or function. The shared variable is used for data sharing, so that each application module can realize interaction through the shared variable without direct interaction.
After the function catalog partition and the system interface are created by using the development tool, the interface frame expression library can be obtained by packaging the function catalog partition and the system interface. The packaging process is similar to the way the packaging is used to obtain the general data processing library. For example, the interface frame representation library is obtained by packing the functional directory partition and the program source files of the system interface into files of a specified format. The specified format may be determined according to practical situations, including but not limited to js format, css format, HTML format, etc.
Understandably, by creating the resulting interface frame representation library, a unified interface representation, a unified interaction style, can be formed.
As an alternative embodiment, the method may further comprise: 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, based on the functional requirements of the service, combines existing corresponding functional modules from a general data processing library and a component library through the electronic device 10, and creates a functional module that does not exist in the general data processing library and the component library, so that a web page interface (or an operation interface) of the corresponding application module and the application module of the service can be quickly created.
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 webpage system to be created is for selling goods, the functions of the service include presentation of various attributes of the goods, entry of personal information of buyers and sellers, and the like. When the number of the application modules of the service is multiple, a plurality of 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 by modularizing the application for executing the service, each developer can independently develop and create a corresponding application module based on the general data processing library, the component library and the interface frame representation library, 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, a general data processing library, a component library, an interface frame representation library may be utilized to create an application module a, an application module B and other application modules. Each application module may act as a separate one of the page systems. When each application module needs to be integrated in a page system, a componentization technology can be used to package and encapsulate components by selecting corresponding application modules according to requirements, and the components are output in a form of components to obtain a front-end integrated platform A, a front-end integrated platform B and the like. The front-end integrated platform is a page system comprising a plurality of application modules. The application module, the front-end integrated platform and the general data processing library, the component library and the interface frame representation library can exchange data with each other. Based on this, each application module only processes business logic within the self-application, and does not affect business outside the application. When application integration is needed, a page system is built in a package mode through packaging an application module, so that a rapid integration construction project is achieved. After integration, each application is not directly connected, and indirect data flow interaction is performed by using a data sharing mode provided by a frame presentation layer, so that control among each application module is realized. When the logic layering part carries out logic change, the application or the platform only needs to upgrade the layered output library package, and all the applications are uniformly changed, so that the change of the application module of the page system is simplified.
As an alternative embodiment, the method further comprises: integrating the application module into a page system through the interface frame expression library, wherein the system page of the page system is displayed with the application interface associated with the application module.
When the page system is created, the application modules which have been developed can be directly utilized, the interface frame expression library is directly utilized to integrate the page system, and the code multiplexing of each application module is realized through the universal data processing library, so that the development flow of the page system is simplified, and the development efficiency is improved.
In this embodiment, the number of application modules may be one or more. When the number of the application modules is a plurality of, when a new service needs to reconstruct the page system, the method can further comprise: determining at least one target application module from a plurality of application modules based on the new service; 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.
When the page system is reconfigured, an application module required for reconfiguring the page system can be determined from the existing application modules based on new service requirements of the reconfigured page system, so as to serve as a target application module. If the existing application modules still cannot meet all the functional requirements of the new service, creating corresponding new application modules by utilizing the universal data processing library and the component library, and then representing the target application modules (or the target application modules and the new application modules) into the library integrated page system through the interface framework. Because the application interface of the application module is associated with the application module, the icon style presented by the system interface after the system is reconstructed is similar to the original style. In addition, due to the fact that the original application module is used, codes can be reused, meanwhile, workload of developers can be reduced, and further improvement of page system reconstruction efficiency is facilitated.
Based on the design, general data processing, assembly and general functions of the interface global are respectively built and developed. The developer can create corresponding application modules according to the service requirement, 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, so that unified display of icon patterns of application applications and consistency of data interaction are realized, a single application module is supported as a webpage system, and a plurality of application modules can be quickly combined to integrate the webpage system. In the integrated mode, each application module does not directly perform data interaction, so that the multi-application module noninvasive integration can be realized.
Understandably, with the improved system creation method of the present application, the developer only needs to handle business logic and interface interactions within the application, and does not need to analyze and handle the functional management of the entire page system. For example, no analysis is required to handle the route hops, log in user information, global settings, etc. Functional management of the entire page system (e.g., routing hops, log-in user information, global settings) can be uniformly implemented by the interface framework presentation layer.
Referring to fig. 4, an embodiment of the present application further provides a system creation apparatus 100, which may be applied to the electronic device 10 described above, for executing steps in the system creation method. The System creation means 100 comprises at least one software functional module which may be stored in the memory module 12 in the form of software or firmware (firmware) or cured in the Operating System (OS) of the electronic device 10. The processing module 11 is configured to execute executable modules stored in the storage module 12, such as software functional modules and computer programs included in the system creation device 100. For example, the system creation device 100 includes a processing library creation unit 110, a component library creation unit 120, and a performance library creation unit 130.
The processing library creating unit 110 is configured to create a general data processing library, where the general data processing library is configured to define or encapsulate configuration content, and the configuration content includes at least one of interfaces, constants, algorithms, and entity classes.
And the component library creating unit 120 is 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 the application module.
The expression library creating unit 130 is configured to create an interface frame expression library according to the general data processing library and the component library, where the interface frame expression library is used as a framework of a web page system and is used to implement interface skip orientation and data interaction.
Optionally, the device further includes 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 general data processing library, the component library and the service.
Optionally, the device further comprises an application integration unit, configured to integrate the application module into a page system through the interface frame representation library, where a system page of the page system displays the application interface associated with the application module.
Optionally, the device further comprises a determining unit and an application integration unit, the number of the application modules is a plurality of the application modules, and the determining unit is used for determining at least one target application module from the plurality of the application modules based on new services; 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 processing library creating unit 110 is further configured to: creating a request interface class, a service entity class and creating a general 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 general function directory partition is used for defining or packaging constants and algorithms; and encapsulating the request interface class, the business entity class and the general function directory partition to form the general data processing library.
Optionally, the component library creating unit 120 is further configured to: creating a component corresponding to the configuration content in the general data processing library and a style directory partition of the component, wherein the style directory partition comprises an icon associated with the component; the components and the style directory partitions 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 functional 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 with signal processing capability. The processing module 11 may be a general purpose processor. For example, the processor may be a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a network processor (Network Processor, NP), or the like; the various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed with digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic, discrete hardware components.
The memory module 12 may be, but is not limited to, random access memory, read only memory, programmable read only memory, erasable programmable read only memory, electrically erasable programmable read only memory, and the like. In this embodiment, the storage module 12 may be used to store an application module, a development platform, and the like. Of course, the storage module 12 may also be used to store a program, which is executed by the processing module 11 upon receiving an execution instruction.
The communication module 13 is used for establishing a communication connection between the electronic device 10 and the server through a network, and transmitting and receiving data through the network. For example, the electronic device 10 may send the created web page system to a server to facilitate the manager to publish the created web page system through the server. The user can access the webpage system in the server through the terminal equipment to perform corresponding business operation. Additionally, a display screen may be used to display the page system.
It should be noted that, for convenience and brevity of description, specific working processes of the electronic device 10 and the system creation method described above may refer to corresponding processes of each step in the foregoing method, and will not be described in detail herein.
Embodiments of the present application also provide 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 perform the system creation method as described in the above embodiments.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that the present application may be implemented in hardware, or by means of software plus a necessary general hardware platform, and based on this understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disc, a mobile hard disk, etc.), and includes several instructions to cause a computer device (may be a personal computer, a server, or a network device, etc.) to perform the methods described in the respective implementation scenarios of the present application.
In summary, the present application provides a system creation method, apparatus, electronic device, and 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 content, and the configuration content comprises 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 creating 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 scheme, the general data processing library, the component library and the interface frame expression library are obtained through creation, so that when the page system is developed, a developer can conveniently multiplex program codes from the data processing library, and an application interface is quickly created from the component library, thereby presenting the page system in the interface frame expression library, reducing the development difficulty of the page system application, and further being beneficial to improving the development efficiency of the page system.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus, system, and method may be implemented in other manners as well. The above-described apparatus, systems, and method embodiments are merely illustrative, for example, flow charts 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, the functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the same, but rather, various modifications and variations may be made by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims (12)

1. A system creation method, the method comprising:
creating a general data processing library, wherein 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;
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;
creating 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;
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; the application module is a page system;
The creating a component library according to the general data processing library comprises the following steps:
creating a component corresponding to the configuration content in the general data processing library and a style directory partition of the component, wherein the style directory partition comprises an icon associated with the component;
the components and the style directory partitions are encapsulated to form the component library.
2. The method according to claim 1, wherein the method further comprises:
integrating the application module into a page system through the interface frame expression library, wherein the system page of the page system is displayed with the application interface associated with the application module.
3. The method of claim 1, wherein the number of application modules is a plurality, the method further comprising:
determining at least one target application module from a plurality of application modules based on the new service;
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.
4. The method of claim 1, wherein creating a generic data processing library comprises:
Creating a request interface class, a service entity class and creating a general 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 general function directory partition is used for defining or packaging constants and algorithms;
and encapsulating the request interface class, the business entity class and the general function directory partition to form the general data processing library.
5. The method of claim 1, wherein creating an interface frame representation library from the generic 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 functional directory partition and the system interface to form the interface frame representation library.
6. A system creation apparatus, the apparatus comprising:
the processing library creation unit is used for creating a general data processing library, wherein 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 the application module;
the expression library creation unit is used for creating 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;
the application creation unit is used for 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; the application module is a page system;
the component library creation unit is further configured to: creating a component corresponding to the configuration content in the general data processing library and a style directory partition of the component, wherein the style directory partition comprises an icon associated with the component; the components and the style directory partitions are encapsulated to form the component library.
7. The apparatus of claim 6, further comprising an application integration unit configured to integrate the application module into a page system through the interface frame representation library, wherein a system page of the page system exposes the application interface associated with the application module.
8. The apparatus according to claim 6, further comprising a determining unit and an application integration unit, the number of the application modules being a plurality, the determining unit being configured to determine at least one target application module from a plurality of the 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.
9. The apparatus of claim 6, wherein the processing library creation unit is further to:
creating a request interface class, a service entity class and creating a general 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 general function directory partition is used for defining or packaging constants and algorithms;
and encapsulating the request interface class, the business entity class and the general function directory partition to form the general data processing library.
10. The apparatus of claim 6, wherein the performance library creation 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 functional directory partition and the system interface to form the interface frame representation library.
11. An electronic device comprising a processor and a memory coupled to each other, the memory storing a computer program that, when executed by the processor, causes the electronic device to perform the method of any of claims 1-5.
12. A computer readable storage medium, characterized in that the computer program is stored in the readable storage medium, which, when run on a computer, causes the computer to perform the method according to any one of claims 1-5.
CN201911402653.1A 2019-12-30 2019-12-30 System creation method, device, electronic equipment and readable storage medium Active CN111158684B (en)

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 CN111158684A (en) 2020-05-15
CN111158684B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116954586B (en) * 2023-08-02 2024-05-07 上海数慧系统技术有限公司 Space application construction method and system and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832038A (en) * 2017-10-27 2018-03-23 中航信移动科技有限公司 The implementation method and device of Component Gallery
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

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU6750400A (en) * 1999-07-30 2001-02-19 Accenture Llp A system, method and article of manufacture for an e-commerce based architecture
CN100565453C (en) * 2007-11-09 2009-12-02 中科软科技股份有限公司 A kind of field basic business platform and construction method thereof based on member
CN103150165B (en) * 2013-03-07 2016-05-18 中国农业大学 For building frame system and the program construction method of outdoor data acquisition program
US9916157B2 (en) * 2013-09-20 2018-03-13 Oracle International Corporation Workbook composer for application development framework
EP3201702B1 (en) * 2014-10-02 2023-06-07 Siemens Aktiengesellschaft Programming automation in a 3d graphical editor with tightly coupled logic and physical simulation
US10649741B2 (en) * 2016-10-17 2020-05-12 Engineer.Ai Global 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
CN108491205B (en) * 2018-03-22 2021-02-09 北京焦点新干线信息技术有限公司 Front-end webpage development method 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
CN109445783B (en) * 2018-09-25 2022-04-29 广州城市信息研究所有限公司 Method and device for constructing dynamic configuration application driven by service
CN109542399B (en) * 2018-10-25 2021-08-10 深圳市金证科技股份有限公司 Software development method and device, terminal equipment and computer readable storage medium
CN109582909B (en) * 2018-12-19 2021-08-10 拉扎斯网络科技(上海)有限公司 Webpage automatic generation method and device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN109086342A (en) * 2018-07-10 2018-12-25 长沙米拓信息技术有限公司 The method of mass production and O&M website form, medium and terminal

Also Published As

Publication number Publication date
CN111158684A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
US11762634B2 (en) Systems and methods for seamlessly integrating multiple products by using a common visual modeler
CN103001963B (en) For the method and system of the page navigation feature of minimum download and simulation
US20190196672A1 (en) Visual effects system for "big data" analysis workflow editors, distribution platforms, execution engines, and management systems comprising same
US11667033B2 (en) Systems and methods for robotic process automation
US20160313874A1 (en) Visual effects system for "big data" analysis workflow editors, distribution platforms, execution engines, and management systems comprising same
CN110661665B (en) Alarming method based on Internet of things cloud platform, computer storage medium and equipment
CN110895471A (en) Installation package generation method, device, medium and electronic equipment
CN112114890A (en) Method, device and equipment for processing small program and storage medium
CN113127361A (en) Application program development method and device, electronic equipment and storage medium
CN114791797A (en) Application development method, system, device and storage medium based on service middlebox
CN114115923A (en) Operating system building method and system
CN115185496A (en) Service arrangement method based on Flowable workflow engine
CN116541065A (en) Software system construction method, device, equipment and computer readable storage medium
CN111158684B (en) System creation method, device, electronic equipment and readable storage medium
CN110868324A (en) Service configuration method, device, equipment and storage medium
CN114968032A (en) Service processing method, device, equipment and computer readable storage medium
CN113204341A (en) Page generation method, device and medium
CN115248680A (en) Software construction method, system, device, medium, and program product
CN112068895B (en) Code configuration method, device, video playing equipment and storage medium
CN113805877A (en) Project engineering construction method and device based on IDEA plug-in
CN117406990B (en) Page generation method, page generation device, electronic equipment and computer readable storage medium
CN116450206B (en) Software system construction method, device, equipment and computer readable storage medium
US20220058031A1 (en) Self optimizing application
CN116521285A (en) Application trial method and device, electronic equipment and storage medium
CN113778432A (en) Page forming method and device, content management system and plug-in

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