+

CN119536702A - Business framework architecture method, device, computer equipment, readable storage medium and program product - Google Patents

Business framework architecture method, device, computer equipment, readable storage medium and program product Download PDF

Info

Publication number
CN119536702A
CN119536702A CN202411770658.0A CN202411770658A CN119536702A CN 119536702 A CN119536702 A CN 119536702A CN 202411770658 A CN202411770658 A CN 202411770658A CN 119536702 A CN119536702 A CN 119536702A
Authority
CN
China
Prior art keywords
service
framework
layer
core
business
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.)
Pending
Application number
CN202411770658.0A
Other languages
Chinese (zh)
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.)
China Telecom Cloud Technology Co Ltd
Original Assignee
China Telecom Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Cloud Technology Co Ltd filed Critical China Telecom Cloud Technology Co Ltd
Priority to CN202411770658.0A priority Critical patent/CN119536702A/en
Publication of CN119536702A publication Critical patent/CN119536702A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • G06F8/447Target code generation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Landscapes

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

Abstract

The present application relates to a business framework architecture method, apparatus, computer device, computer readable storage medium and computer program product. The method comprises the steps of obtaining frame core setting information of a service scene, constructing a core layer of the service frame based on the frame core setting information, configuring a core library and a general tool chain of the service scene at the core layer, constructing an upper service frame layer based on the core layer, configuring service components and service setting information of the service scene at the upper service frame layer, and obtaining the service frame of the service scene based on the upper service frame layer. The application realizes the core library and the general tool chain configuration of the service scene at the core layer, then constructs the upper service frame layer on the basis of the core layer, completes the configuration of the service components and the service setting information of the service scene, realizes the service frame framework related to the service scene in a layered design mode, and has stronger long-term maintainability and service management and control capability.

Description

Business framework architecture method, business framework architecture apparatus, computer device, readable storage medium and program product
Technical Field
The present application relates to the field of computer technology, and in particular, to a business framework architecture method, apparatus, computer device, computer readable storage medium, and computer program product.
Background
With the development of computer technology and software technology, the requirements for front-end service development are also increasing. The front-end development is a process of creating a WEB page or a front-end interface such as an APP and the like for presentation to a user, and user interface interaction of an internet product is realized through HTML, CSS and JavaScript and various derived technologies, frames and solutions. Modern front-end business development mostly needs to use a front-end rendering engine and related libraries (such as vue/react), and for performance and engineering, needs to use front-end specific building tools, and for unification of interaction experience, UI libraries (such as ANTDESIGN/Element) are introduced, and the whole development and delivery flow also involves knowledge of Nodejs environment configuration, npm three-party library introduction, tool chain use and the like.
At present, for a development framework of front-end service development, a scaffold of an open source community can be generally selected, however, the scaffold only serves for an initialization stage of the whole life cycle of application development, subsequent updating cannot effectively cover stock projects, updating of a basic library and a tool chain is often time-consuming, and technical details cannot be shielded for service developers through a scaffold scheme, so that development efficiency is reduced.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a business framework architecture method, apparatus, computer device, computer readable storage medium, and computer program product that can improve the development efficiency of front-end business development processes.
In a first aspect, the present application provides a service framework architecture method, including:
Acquiring frame core setting information of a service scene;
Setting a core layer of an information architecture service framework based on the framework core, and configuring a core library and a general tool chain of the service scene at the core layer;
The architecture is based on an upper business framework layer of the core layer, and business components and business setting information of the business scene are configured on the upper business framework layer;
and acquiring a service frame of the service scene based on the upper service frame layer.
In one embodiment, the core layer comprises a Vue technology stack-based core layer;
configuring a core library and a general tool chain of the service scene at the core layer:
obtaining the configuration information of a Vue ecological base and the configuration information of a Vue tool chain of a Vue technical stack;
and configuring a core library and a general tool chain of the service scene at a core layer of the Vue technical stack based on the Vue ecological library configuration information and the Vue tool chain configuration information.
In one embodiment, the method further comprises:
acquiring directory loading constraint information;
And constructing a loader mechanism at a core layer of the service framework based on the directory loading constraint information.
In one embodiment, the architecture is based on an upper business framework layer of the core layer comprising:
acquiring software package information corresponding to the core layer;
and an upper business framework layer based on the core layer based on the software package information architecture.
In one embodiment, the service setting information includes page routing information, page implementation information, and console layout information.
In one embodiment, the method further comprises:
acquiring domain expansion information corresponding to the service scene;
based on the domain expansion information, a business domain expansion framework layer based on the upper business framework layer is constructed.
In a second aspect, the present application further provides a service framework architecture apparatus, including:
The information acquisition module is used for acquiring frame core setting information of the service scene;
The core layer architecture module is used for setting a core layer of the information architecture service framework based on the framework core and configuring a core library and a general tool chain of the service scene at the core layer;
The service framework layer architecture module is used for constructing an upper service framework layer based on the core layer and configuring service components and service setting information of the service scene on the upper service framework layer;
And the frame acquisition module is used for acquiring the service frame of the service scene based on the upper service frame layer.
In a third aspect, the present application also provides a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
Acquiring frame core setting information of a service scene;
Setting a core layer of an information architecture service framework based on the framework core, and configuring a core library and a general tool chain of the service scene at the core layer;
The architecture is based on an upper business framework layer of the core layer, and business components and business setting information of the business scene are configured on the upper business framework layer;
and acquiring a service frame of the service scene based on the upper service frame layer.
In a fourth aspect, the present application also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
Acquiring frame core setting information of a service scene;
Setting a core layer of an information architecture service framework based on the framework core, and configuring a core library and a general tool chain of the service scene at the core layer;
The architecture is based on an upper business framework layer of the core layer, and business components and business setting information of the business scene are configured on the upper business framework layer;
and acquiring a service frame of the service scene based on the upper service frame layer.
In a fifth aspect, the application also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of:
Acquiring frame core setting information of a service scene;
Setting a core layer of an information architecture service framework based on the framework core, and configuring a core library and a general tool chain of the service scene at the core layer;
The architecture is based on an upper business framework layer of the core layer, and business components and business setting information of the business scene are configured on the upper business framework layer;
and acquiring a service frame of the service scene based on the upper service frame layer.
The business framework construction method, the business framework construction device, the computer equipment, the computer readable storage medium and the computer program product are used for acquiring framework core setting information of a business scene, constructing a core layer of a business framework based on the framework core setting information, configuring a core library and a general tool chain of the business scene at the core layer, constructing an upper business framework layer based on the core layer, configuring business components and business setting information of the business scene at the upper business framework layer, and acquiring a business framework of the business scene based on the upper business framework layer. The application constructs the core layer of the service framework based on the framework core setting information of the service scene, realizes the core library and the general tool chain configuration of the service scene at the core layer, then constructs the upper service framework layer on the basis of the core layer, completes the configuration of the service components and the service setting information of the service scene, realizes the service framework related to the service scene in a layered design mode, and has stronger long-term maintainability and service management and control capability. The method is more suitable for the requirements of enterprise-level project development on efficiency and quality, thereby improving the development efficiency of the front-end service development process.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the related art, the drawings that are needed in the description of the embodiments of the present application or the related technologies will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other related drawings may be obtained according to these drawings without inventive effort to those of ordinary skill in the art.
FIG. 1 is an application environment diagram of a business framework architecture approach in one embodiment;
FIG. 2 is a flow diagram of a business framework architecture method in one embodiment;
FIG. 3 is a schematic diagram of a business framework hierarchy architecture in one embodiment;
FIG. 4 is a block diagram of a business framework architecture device in one embodiment;
Fig. 5 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The business framework architecture method provided by the embodiment of the application can be applied to the application environment shown in the figure 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server. When a user on the terminal 102 side needs to implement a service framework architecture under a service scenario, framework core setting information of the service scenario can be submitted to the server 104 through the terminal 102. The server 104 then obtains frame core setting information of the service scene, constructs a core layer of the service frame based on the frame core setting information, configures a core library and a general tool chain of the service scene at the core layer, constructs an upper service frame layer based on the core layer, configures service components and service setting information of the service scene at the upper service frame layer, and obtains the service frame of the service scene based on the upper service frame layer. The user can realize the front-end development processing related to the business scene based on the constructed business framework. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices and portable wearable devices, where the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, projection devices, and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. The head-mounted device may be a Virtual Reality (VR) device, an augmented Reality (Augmented Reality, AR) device, smart glasses, or the like. The server 104 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud computing services.
In an exemplary embodiment, as shown in fig. 2, a service framework architecture method is provided, and the method is applied to the server 104 in fig. 1 for illustration, and includes the following steps 201 to 207. Wherein:
step 201, obtaining frame core setting information of a service scene.
Step 203, setting a core layer of the information architecture service framework based on the framework core, and configuring a core library and a general tool chain of the service scene at the core layer.
The service scenario refers to a specific service scenario of front-end development, for example, a service scenario of a public cloud product console, that is, front-end development processing of products related to the public cloud product console needs to be completed. The frame core setting information refers to related information of setting a frame core layer (core), and comprises information such as selected ecological libraries, configuration, selected general tool chains and the like.
Illustratively, when a user wishes to develop a relevant business framework in a given business scenario, a corresponding business framework request may be initiated to the server 104 through the terminal 102. The server 104 performs framework core setting to perform framework processing of the service framework based on the user request. In the front-end development process, the front-end development generally has various requirements, such as ensuring the unified UI style and interactive design of various product consoles, and minimum requirements for the consistency of customer experience, and meanwhile, engineering means are required for sustainable maintenance. The business developer should not pay much attention to the business independent matters such as the bottom layer dependence, the tool chain ecology, the construction configuration and the like, and needs to have a front-end development framework service upper layer business development, and has enough playing space for team architects in terms of framework construction and technical support. The business framework needs to precipitate best practices and constrain the business to avoid repeated implementations of the same class of work. Meanwhile, the framework is provided with inheritance extensibility, the core part does not bind a certain technical option (such as UI library) strongly, the framework is used as a framework of the framework, and the upper layer can inherit the service frameworks for realizing different scenes based on the basic agreement of the core. Therefore, the application provides an architecture method of an upper business framework, which is used for meeting the requirements of user experience consistency, front-end development experience and development efficiency improvement in enterprise-level project development. The framework development is firstly required to be completed, namely the framework of the core layer is firstly required to be completed, and for the core layer, only the core technology selection and the loading injection logic of the general tool chain configuration + contract catalogue are carried out, and the application is not directly dependent, so that the core layer of the information framework service framework can be set based on the framework core, and the core library and the general tool chain of the service scene can be configured at the core layer
In step 205, the architecture is based on an upper service framework layer of the core layer, and service components and service setting information of the service scene are configured in the upper service framework layer.
Step 207, acquiring a service frame of the service scene based on the upper service frame layer.
Illustratively, after the core layer architecture is completed, an upper business framework layer is also required to be constructed, which will rely on and inherit the core layer. The upper business framework layer is mainly responsible for integrating the three-party library injection, tool chain configuration expansion, upper business component precipitation, business general logic precipitation and the like under the corresponding business scene, and each application directly depends on the like, so that when the upper business framework layer is constructed, the business components and business setting information of the business scene are required to be configured on the upper business framework layer, and the general functions of the three-party library injection, tool chain configuration expansion, upper business component precipitation, business general logic precipitation and the like are realized through configuration. In addition, on the basis of the upper business frame layer, expansion and subdivision of business scenes can be realized, and a frame of the upper business frame layer can be constructed, so that the business execution effect is ensured. The service development obtains an upper development framework with complete functions, provides out-of-box configuration for a console scene, and simultaneously ensures the requirements of unified management and control and satisfies the flexibility of service expansion based on an inheritance and expandable design mode, wherein the inheritance and the expandable design are embodied in a plurality of aspects. In one embodiment, a specific business hierarchy architecture may be shown with reference to FIG. 3.
The business framework construction method comprises the steps of obtaining framework core setting information of a business scene, constructing a core layer of the business framework based on the framework core setting information, configuring a core library and a general tool chain of the business scene at the core layer, constructing an upper business framework layer based on the core layer, configuring business components and business setting information of the business scene at the upper business framework layer, and obtaining the business framework of the business scene based on the upper business framework layer. The application constructs the core layer of the service framework based on the framework core setting information of the service scene, realizes the core library and the general tool chain configuration of the service scene at the core layer, then constructs the upper service framework layer on the basis of the core layer, completes the configuration of the service components and the service setting information of the service scene, realizes the service framework related to the service scene in a layered design mode, and has stronger long-term maintainability and service management and control capability. The method is more suitable for the requirements of enterprise-level project development on efficiency and quality, thereby improving the development efficiency of the front-end service development process.
In one embodiment, the core layer comprises a Vue technology stack based core layer. The step 203 of configuring the core library and the universal tool chain of the service scene at the core layer comprises the steps of obtaining the configuration information of the Vue ecological library and the configuration information of the Vue tool chain of the Vue technical stack, and configuring the core library and the universal tool chain of the service scene at the core layer of the Vue technical stack based on the configuration information of the Vue ecological library and the configuration information of the Vue tool chain.
Illustratively, the Vue is an open source JavaScript library for building a user interface, through its responsive system and componentized architecture, so that a developer can efficiently build an interactive web page, while the present application implements architecture of a business framework core layer through a Vue technology stack. The core layer needs to contain the Vue ecological libraries such as vite, vue-router, vue-i18n and the like and needs to make library configuration according to the Vue ecological library configuration information, wherein vite is a novel front-end construction tool and provides light and rapid module construction capability based on the characteristics of the native ES. In addition, it is also necessary to complete the Vue toolchain, i.e. to configure the generic toolchain at the core layer of the Vue technology stack by obtaining the Vue toolchain configuration information. In this embodiment, the configuration of the core layer is completed through the Vue ecological base configuration information and the Vue tool chain configuration information, so that the application does not directly depend on, thereby ensuring the domain boundary of the core layer.
Further, the method includes obtaining directory loading constraint information and constructing a loader mechanism at a core layer of the business framework based on the directory loading constraint information. ‌ Loader (Loader) is a core component in Webpack, and is mainly used for converting different types of files into Webpack identifiable modules. ‌ the loader functions to convert a source string into another source string, typically at stage ‌ after reading the file content and prior to AST abstract syntax tree analysis during compilation. Loaders play a vital role in front-end development, enabling Webpack to handle various types of files, including JavaScript, CSS, pictures, etc. By using different loaders, a developer can easily integrate these resources into a project and use Webpack's powerful functions for modularization, packaging, and optimization. The development efficiency is improved, the project structure is clearer, and the maintenance and the management are easy. In the scheme of the application, a re-core layer is also required to realize a loader mechanism, which agrees with the directory loading constraint of the upper layer framework and the service application. Depending on the mechanism for automatically loading the contracted catalogue, the upper layer framework can be internally provided with best practices in a service scene, so that service actual projects can be directly used without additional configuration when running. In this embodiment, by implementing the loader constraint on the core layer, management and control on the core layer service can be effectively implemented, so as to ensure development efficiency.
In one embodiment, the architecture in step 205 is based on the upper business framework layer of the core layer including retrieving the software package information corresponding to the core layer and based on the software package information the architecture is based on the upper business framework layer of the core layer.
Illustratively, the software package is ‌ NPM (Node PACKAGE MANAGER), which is a package management and distribution tool installed with Node. Js, mainly used for package management in JavaScript development. NPM is an official packet manager of Node. Js, and has become a standard for unofficial release of Node modules. The application provides rich functions including installing, sharing and releasing JavaScript codes and software packages and managing dependency items required by projects, and in the scheme of the application, a core layer can be released as ‌ NPM packages after the core layer framework is completed, and an upper service framework is dependent and inherited. In addition, for the upper business framework layer, the framework layer can be issued as ‌ NPM package after the framework is completed, and a business developer only needs to perceive the dependence of the framework. The framework is delivered by adopting a source code mode, and is compiled and constructed together with application codes when the application is constructed. In a specific embodiment, the business framework architecture method is realized based on Vue and vite, dev (development) of vite is constructed fast enough according to the requirement, a perfect pre-construction and caching mechanism is provided, the development and construction time experience of the machine is not greatly influenced, the production and construction run on a high-performance server, and the speed difference is negligible. The framework is delivered in a code form through the software package, so that debug and problem positioning of the framework code are facilitated, and three-party dependence can be updated in real time instead of being locked in a built framework library (Lib). For some core dependencies, it may be more timely to have a security update or bug fix follow-up. In this embodiment, the core layer and the upper service frame layer are published through the software package information, so as to ensure the validity of the service frame.
In one embodiment, the service setting information includes page routing information, page implementation information, and console layout information. In a specific embodiment, the application is particularly applied to a service scenario based on a public cloud product console, and a large number of reusable components and service practices are precipitated at the time, and the information can be configured in an upper service framework layer. For example, an EfEditor.vue component is built in under the src/components directory within the framework, which is a vue package to monaco-editor. In the past, each console item almost encounters a scene of using an editor component, which is selected and performs a lot of introduction work, and based on an upper layer framework, the vue component can be used globally in a service code. As another example, 2. Page routing and implementation such as 403/404/500 are built in the src/views directory in the framework, and the traffic can be used as needed according to the actual situation. Or a default Layout (Layout) of the console is built into the framework, almost all console pages require top navigation and left menus, it is this global business element that is more abstract to be multiplexed and globally managed.
In an exemplary embodiment, the method further comprises the steps of obtaining domain expansion information corresponding to the service scene, and constructing a service domain expansion framework layer based on the upper service framework layer based on the domain expansion information.
The layered service framework architecture scheme of the application also maintains an expansion method of a higher-layer framework at an upper-layer service framework layer, and the higher-layer framework specifically needs to be expanded according to service scenes, so that abstract subdivision of the service field is realized. When a user needs to build on the basis of an upper business framework layer, the expansion direction can be provided through the domain expansion information. Therefore, the business field expansion framework layer based on the upper business framework layer is constructed based on the field expansion information. In this way, the extension of the framework is unlimited, depending on the abstraction of the business. In this embodiment, the service framework has inheritance extensibility, the core part does not strongly bind a certain technology option (such as UI library), and should be used as a framework of the framework, but based on the basic convention of the core, the upper layer can inherit and implement the service frameworks of different scenes, so that the expansion of the service framework can be implemented through the domain expansion information, and the availability of the service framework is ensured.
In a specific embodiment, the business framework architecture method comprises the steps of obtaining framework core setting information of a business scene;
Setting a core layer of an information architecture service framework based on a framework core, and acquiring the configuration information of a Vue ecological base and the configuration information of a Vue tool chain of a Vue technical stack;
The method comprises the steps of configuring a core library and a general tool chain of a service scene at a core layer of a Vue technical stack based on Vue ecological library configuration information and Vue tool chain configuration information, obtaining catalog loading constraint information, and constructing a loader mechanism at the core layer of a service frame based on the catalog loading constraint information. The method comprises the steps of obtaining software package information corresponding to a core layer, constructing an upper business framework layer based on the core layer based on the software package information, configuring business components and business setting information of a business scene in the upper business framework layer, and obtaining a business framework of the business scene based on the upper business framework layer. Acquiring domain expansion information corresponding to a service scene, and constructing a service domain expansion framework layer based on an upper service framework layer based on the domain expansion information.
It should be understood that, although the steps in the flowcharts related to the above embodiments are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a service framework architecture device for realizing the above related service framework architecture method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of one or more service framework devices provided below may refer to the limitation of the service framework method hereinabove, and will not be repeated herein.
In one exemplary embodiment, as shown in fig. 4, there is provided a business framework architecture apparatus comprising:
the information acquisition module 401 is configured to acquire frame core setting information of a service scene.
The core layer architecture module 403 is configured to set a core layer of the information architecture service framework based on the framework core, and configure a core library and a general tool chain of the service scenario at the core layer.
The service framework layer architecture module 405 is configured to architecture an upper service framework layer based on the core layer, and configure service components and service setting information of a service scenario in the upper service framework layer.
The frame acquisition module 407 is configured to acquire a service frame of the service scene based on an upper service frame layer.
In one embodiment, the core layer comprises a core layer based on a Vue technology stack, and the core layer architecture module 403 is specifically configured to obtain Vue ecological base configuration information and Vue tool chain configuration information of the Vue technology stack, and configure a core base and a general tool chain of a service scene at the core layer of the Vue technology stack based on the Vue ecological base configuration information and the Vue tool chain configuration information.
In one embodiment, the core layer architecture module 403 is further configured to obtain directory loading constraint information and construct a loader mechanism at the core layer of the business framework based on the directory loading constraint information.
In one embodiment, the service framework layer architecture module 405 is specifically configured to obtain software package information corresponding to a core layer, and to construct an upper service framework layer based on the core layer based on the software package information.
In one embodiment, the service setting information includes page routing information, page implementation information, and console layout information.
In one embodiment, the system further comprises a domain expansion module for acquiring domain expansion information corresponding to the service scene, and based on the domain expansion information, the system constructs a service domain expansion framework layer based on the upper service framework layer.
The various modules in the business framework architecture apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one exemplary embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, an Input/Output interface (I/O) and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is for storing business framework architecture data. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by a processor implements a business framework architecture method.
It will be appreciated by those skilled in the art that the structure shown in FIG. 5 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In an embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, storing a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
In one embodiment, a computer program product or computer program is provided that includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-described method embodiments.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are both information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data are required to meet the related regulations.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile memory and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (RESISTIVE RANDOM ACCESS MEMORY, reRAM), magneto-resistive Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (PHASE CHANGE Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in various forms such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computation, an artificial intelligence (ARTIFICIAL INTELLIGENCE, AI) processor, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the present application.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (10)

1. A business framework architecture method, the method comprising:
Acquiring frame core setting information of a service scene;
Setting a core layer of an information architecture service framework based on the framework core, and configuring a core library and a general tool chain of the service scene at the core layer;
The architecture is based on an upper business framework layer of the core layer, and business components and business setting information of the business scene are configured on the upper business framework layer;
and acquiring a service frame of the service scene based on the upper service frame layer.
2. The method of claim 1, wherein the core layer comprises a Vue technology stack-based core layer;
The configuring the core library and the universal tool chain of the service scene at the core layer comprises the following steps:
obtaining the configuration information of a Vue ecological base and the configuration information of a Vue tool chain of a Vue technical stack;
and configuring a core library and a general tool chain of the service scene at a core layer of the Vue technical stack based on the Vue ecological library configuration information and the Vue tool chain configuration information.
3. The method according to claim 1, wherein the method further comprises:
acquiring directory loading constraint information;
And constructing a loader mechanism at a core layer of the service framework based on the directory loading constraint information.
4. The method of claim 1, wherein the architecture based on an upper business framework layer of the core layer comprises:
acquiring software package information corresponding to the core layer;
and an upper business framework layer based on the core layer based on the software package information architecture.
5. The method of claim 1, wherein the service setting information includes page routing information, page implementation information, and console layout information.
6. The method according to any one of claims 1 to 5, further comprising:
acquiring domain expansion information corresponding to the service scene;
based on the domain expansion information, a business domain expansion framework layer based on the upper business framework layer is constructed.
7. A business framework apparatus, the apparatus comprising:
The information acquisition module is used for acquiring frame core setting information of the service scene;
The core layer architecture module is used for setting a core layer of the information architecture service framework based on the framework core and configuring a core library and a general tool chain of the service scene at the core layer;
The service framework layer architecture module is used for constructing an upper service framework layer based on the core layer and configuring service components and service setting information of the service scene on the upper service framework layer;
And the frame acquisition module is used for acquiring the service frame of the service scene based on the upper service frame layer.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
CN202411770658.0A 2024-12-04 2024-12-04 Business framework architecture method, device, computer equipment, readable storage medium and program product Pending CN119536702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411770658.0A CN119536702A (en) 2024-12-04 2024-12-04 Business framework architecture method, device, computer equipment, readable storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411770658.0A CN119536702A (en) 2024-12-04 2024-12-04 Business framework architecture method, device, computer equipment, readable storage medium and program product

Publications (1)

Publication Number Publication Date
CN119536702A true CN119536702A (en) 2025-02-28

Family

ID=94699912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411770658.0A Pending CN119536702A (en) 2024-12-04 2024-12-04 Business framework architecture method, device, computer equipment, readable storage medium and program product

Country Status (1)

Country Link
CN (1) CN119536702A (en)

Similar Documents

Publication Publication Date Title
US10795660B1 (en) Live code updates
CN112130856B (en) Strong-expansibility front-end visual interface generation method, system, medium and terminal
CN110825362A (en) Low-code application software development system and method
CN112860260B (en) Web-based cross-platform application construction tool and method in college scene
JP2021012740A (en) Composite control
CN113312046B (en) Sub-application page processing method, device and computer equipment
US20070240102A1 (en) Software development tool for sharing test and deployment assets
US20150295781A1 (en) Cloud object
JP2024536124A (en) Checking source code validity when updating code
AU2012307044A1 (en) System and methods for developing component-based computing applications
CN102292736A (en) Collaborative environment project extensibility with composition containers
US20170048331A1 (en) Platform runtime abstraction
CN115480801B (en) A multi-project development, deployment and operation method and system based on Vue framework
US10782935B2 (en) Method and system to provide a generalized framework for dynamic creation of module analytic applications
Von Pilgrim et al. Constructing and visualizing transformation chains
CN113094028A (en) Windows desktop program development framework, method and related components
CN118331660B (en) Interface calling method, device, equipment and storage medium
Kamppi et al. Extending IP-XACT to embedded system HW/SW integration
CN113177292B (en) Universal BIM secondary development implementation method and device
US10802810B2 (en) Consuming persistent library bundles
CN119536702A (en) Business framework architecture method, device, computer equipment, readable storage medium and program product
CN110908644A (en) Configuration method and device of state node, computer equipment and storage medium
de Carvalho Silva et al. A platform of scientific workflows for orchestration of parallel components in a cloud of high performance computing applications
CN115629739A (en) Front-end system implementation method, device, equipment and storage medium
CN110837367B (en) User interface processing method and device and electronic 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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载