Business framework architecture method and apparatus, computer device, readable storage medium, and program product
By building a business framework through layered design, the problem of time-consuming updates to the front-end business development framework was solved, development efficiency was improved, and maintainability and controllability were enhanced.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- CHINA TELECOM CLOUD TECH CO LTD
- Filing Date
- 2025-11-21
- Publication Date
- 2026-06-11
AI Technical Summary
The existing front-end business development framework is time-consuming to update and cannot effectively cover existing projects, resulting in low development efficiency.
By acquiring the core settings information of the business scenario framework, the core layer of the business framework is constructed and the core library and general toolchain are configured. The upper-level business framework layer is built and the business components and settings information are configured. The business framework architecture is implemented by adopting a layered design.
It improves the efficiency of front-end business development, is suitable for the performance and quality requirements of enterprise-level projects, and has long-term maintainability and business control capabilities.
Smart Images

Figure CN2025136588_11062026_PF_FP_ABST
Abstract
Description
Business framework architecture methods, devices, computer equipment, readable storage media, and program products
[0001] Related applications
[0002] This application claims priority to Chinese patent application filed on December 4, 2024, application number 202411770658.0, entitled "Business Framework Architecture Method, Apparatus, Computer Equipment, Readable Storage Medium and Program Product", the entire contents of which are incorporated herein by reference. Technical Field
[0003] This 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 Technology
[0004] With the development of computer and software technologies, the requirements for front-end business development are becoming increasingly demanding. Front-end development is the process of creating web pages or apps (applications) and other front-end interfaces to present to users. It utilizes HTML (Hypertext Markup Language), CSS (Cascading Style Sheets), and JavaScript, along with various derived technologies, frameworks, and solutions, to implement the user interface interaction of internet products. Modern front-end business development largely requires the use of front-end rendering engines and related libraries (such as Vue / React). For performance and engineering considerations, specific front-end build tools are also needed. UI libraries (such as AntDesign / Element) are introduced to ensure a consistent user experience. The entire development and delivery process also involves knowledge of Node.js environment configuration, npm third-party library imports, and toolchain usage.
[0005] Currently, for front-end business development frameworks, open-source scaffolding can generally be used. However, scaffolding only serves the initialization phase of the entire application development lifecycle, and subsequent updates cannot effectively cover existing projects. Moreover, updates to the basic library and toolchain are often the most time-consuming. These technical details cannot be shielded from business developers through scaffolding solutions, thereby reducing development efficiency. Summary of the Invention
[0006] Based on this, it is necessary to provide a business framework architecture method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve the development efficiency of the front-end business development process, addressing the aforementioned technical problems.
[0007] Firstly, this application provides a business framework architecture method, including:
[0008] Obtain the core framework settings information for the business scenario;
[0009] Based on the core of the aforementioned framework, the core layer of the information architecture business framework is set up, and the core library and general toolchain of the business scenario are configured in the core layer.
[0010] The architecture is based on the upper-level business framework layer of the core layer, and the business components and business settings information of the business scenario are configured in the upper-level business framework layer.
[0011] The business framework for the business scenario is obtained based on the upper-level business framework layer.
[0012] In one embodiment, the core layer includes a core layer based on the Vue technology stack;
[0013] Configure the core library and general toolchain for the business scenario in the core layer:
[0014] Obtain the configuration information of the Vue ecosystem library and the Vue toolchain in the Vue technology stack;
[0015] Based on the Vue ecosystem library configuration information and the Vue toolchain configuration information, configure the core library and general toolchain for the business scenario in the core layer of the Vue technology stack.
[0016] In one embodiment, the method further includes:
[0017] Retrieve directory loading constraint information;
[0018] Based on the directory loading constraint information, a loader mechanism is constructed in the core layer of the business framework.
[0019] In one embodiment, the architecture, based on the upper-layer business framework layer of the core layer, includes:
[0020] Obtain the software package information corresponding to the core layer;
[0021] The software package information architecture is based on the upper business framework layer of the core layer.
[0022] In one embodiment, the business settings information includes page routing information, page implementation information, and console layout information.
[0023] In one embodiment, the method further includes:
[0024] Obtain the domain extension information corresponding to the business scenario;
[0025] Based on the aforementioned domain extension information, a business domain extension framework layer is constructed based on the aforementioned upper-level business framework layer.
[0026] Secondly, this application also provides a business framework architecture apparatus, including:
[0027] The information acquisition module is used to acquire the core framework settings information for business scenarios;
[0028] The core layer architecture module is used to set up the core layer of the information architecture business framework based on the core framework, and to configure the core library and general toolchain of the business scenario in the core layer.
[0029] The business framework layer architecture module is used to architect the upper-level business framework layer based on the core layer, and to configure the business components and business settings information of the business scenario in the upper-level business framework layer.
[0030] The framework acquisition module is used to acquire the business framework of the business scenario based on the upper-layer business framework layer.
[0031] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0032] Obtain the core framework settings information for the business scenario;
[0033] Based on the core of the aforementioned framework, the core layer of the information architecture business framework is set up, and the core library and general toolchain of the business scenario are configured in the core layer.
[0034] The architecture is based on the upper-level business framework layer of the core layer, and the business components and business settings information of the business scenario are configured in the upper-level business framework layer.
[0035] The business framework for the business scenario is obtained based on the upper-level business framework layer.
[0036] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0037] Obtain the core framework settings information for the business scenario;
[0038] Based on the core of the aforementioned framework, the core layer of the information architecture business framework is set up, and the core library and general toolchain of the business scenario are configured in the core layer.
[0039] The architecture is based on the upper-level business framework layer of the core layer, and the business components and business settings information of the business scenario are configured in the upper-level business framework layer.
[0040] The business framework for the business scenario is obtained based on the upper-level business framework layer.
[0041] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:
[0042] Obtain the core framework settings information for the business scenario;
[0043] Based on the core of the aforementioned framework, the core layer of the information architecture business framework is set up, and the core library and general toolchain of the business scenario are configured in the core layer.
[0044] The architecture is based on the upper-level business framework layer of the core layer, and the business components and business settings information of the business scenario are configured in the upper-level business framework layer.
[0045] The business framework for the business scenario is obtained based on the upper-level business framework layer.
[0046] The aforementioned business framework architecture method, apparatus, computer equipment, computer-readable storage medium, and computer program product acquire the core framework settings information of the business scenario; construct the core layer of the business framework based on the core framework settings information, and configure the core library and general toolchain of the business scenario in the core layer; construct the upper-level business framework layer based on the core layer, and configure the business components and business settings information of the business scenario in the upper-level business framework layer; and obtain the business framework of the business scenario based on the upper-level business framework layer. This application constructs the core layer of the business framework based on the core framework settings information of the business scenario, implements the configuration of the core library and general toolchain of the business scenario in the core layer, and then constructs the upper-level business framework layer on the basis of the core layer to complete the configuration of the business components and business settings information of the business scenario. Through a layered design, it achieves a business framework architecture related to the business scenario, which has stronger long-term maintainability and control over business. It is more suitable for the efficiency and quality requirements of enterprise-level project development, thereby improving the development efficiency of the front-end business development process. Attached Figure Description
[0047] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0048] Figure 1 is an application environment diagram of a business framework architecture method in one embodiment;
[0049] Figure 2 is a flowchart illustrating a business framework architecture method in one embodiment;
[0050] Figure 3 is a schematic diagram of the layered architecture of the business framework in one embodiment;
[0051] Figure 4 is a structural block diagram of a business framework architecture device in one embodiment;
[0052] Figure 5 is an internal structure diagram of a computer device in one embodiment. Detailed Implementation
[0053] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0054] The business framework architecture method provided in this application embodiment can be applied to the application environment shown in Figure 1. Terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated on server 104 or placed on a cloud or other network server. When a user on terminal 102 needs to implement a business framework architecture for a business scenario, they can submit the core framework settings information of the business scenario to server 104 through terminal 102. Server 104 then obtains the core framework settings information of the business scenario; constructs the core layer of the business framework based on the core framework settings information, and configures the core library and general toolchain of the business scenario in the core layer; constructs the upper-layer business framework layer based on the core layer, and configures the business components and business settings information of the business scenario in the upper-layer business framework layer; and obtains the business framework of the business scenario based on the upper-layer business framework layer. Users can implement front-end development processing related to the business scenario based on the constructed business framework. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, projection devices, etc. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted displays. Head-mounted displays can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. Server 104 can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server providing cloud computing services.
[0055] In an exemplary embodiment, as shown in FIG2, a business framework architecture method is provided. Taking the application of this method to server 104 in FIG1 as an example, the method includes the following steps 201 to 207. Wherein:
[0056] Step 201: Obtain the core framework settings information for the business scenario.
[0057] Step 203: Based on the core framework, set up the core layer of the information architecture business framework, and configure the core library and general toolchain for business scenarios in the core layer.
[0058] Among them, "business scenario" refers to the specific business scenario of front-end development, such as the business scenario of a public cloud product console, which requires completing the front-end development of related products on the public cloud product console. "Framework core settings information" refers to the information related to setting the framework core layer, including the selected ecosystem libraries and configurations, as well as the selected general toolchain.
[0059] For example, when a user wants to develop a business framework for a specific business scenario, they can send a corresponding business framework architecture request to server 104 through terminal 102. Server 104 then processes the business framework architecture based on the user's request, configuring the core framework settings. In front-end development, there are various requirements, such as ensuring consistent UI style and interaction design across different product consoles, with consistent user experience being the minimum requirement; and the need for sustainable maintenance through engineering methods. Business developers should not focus too much on business-irrelevant matters such as underlying dependencies, toolchain ecosystems, and build configurations; they need a front-end development framework to serve upper-layer business development. For team architects, there should be sufficient room for maneuver in framework construction and technical support. The business framework needs to reflect best practices and constrain business logic to avoid repetitive implementation of the same type of work. Simultaneously, the framework should be inheritable and extensible; the core should not be strongly tied to a particular technology choice (such as a UI library), but should act as a "framework of frameworks," while upper layers can inherit and implement business frameworks for different scenarios based on the core's basic conventions. To address this, this application provides an architectural approach for an upper-layer business framework, designed to meet the requirements of consistent user experience, improved front-end development experience, and enhanced development efficiency encountered in enterprise-level project development. Framework development begins with the architecture of the core layer. This core layer only handles core technology selection, general toolchain configuration, and the loading and injection logic of agreed-upon directories. Applications do not directly depend on it. Therefore, the core layer of the information architecture business framework can be set up based on the framework core, and core libraries and general toolchains for business scenarios can be configured within the core layer.
[0060] Step 205: Architect the upper-level business framework layer based on the core layer, and configure the business components and business settings information of the business scenario in the upper-level business framework layer.
[0061] Step 207: Obtain the business framework for the business scenario based on the upper-level business framework layer.
[0062] For example, after the core layer architecture is completed, an upper-level business framework layer needs to be constructed. This upper-level business framework layer depends on and inherits from the core layer. The upper-level business framework layer is primarily responsible for integrating third-party library injection, toolchain configuration extension, upper-level business component accumulation, and general business logic accumulation for corresponding business scenarios. Various applications directly depend on each other. Therefore, when constructing the upper-level business framework layer, it is necessary to configure the business components and business settings information for the business scenarios within that upper-level business framework layer. This configuration enables common functions such as third-party library injection, toolchain configuration extension, upper-level business component accumulation, and general business logic accumulation. Furthermore, based on the upper-level business framework layer, business scenarios can be expanded and subdivided to construct a higher-level framework, thereby ensuring the effectiveness of business execution. Business development obtains a fully functional upper-level development framework that provides out-of-the-box configuration for console scenarios. Simultaneously, the framework is based on an inheritance + extensibility design, ensuring both unified management and flexibility for business expansion. This inheritance + extensibility design is reflected in several aspects. In one embodiment, the specific business layer architecture can be referenced in Figure 3.
[0063] The aforementioned business framework architecture method involves: acquiring the core framework settings information of the business scenario; constructing the core layer of the business framework based on this core settings information, and configuring the core library and general toolchain for the business scenario within the core layer; constructing an upper-level business framework layer based on the core layer, and configuring the business components and business settings information for the business scenario within this upper-level business framework layer; and obtaining the business framework of the business scenario based on the upper-level business framework layer. This application constructs the core layer of the business framework based on the core framework settings information of the business scenario, implements the configuration of the core library and general toolchain for the business scenario within the core layer, and then constructs an upper-level business framework layer on top of the core layer to complete the configuration of the business components and business settings information for the business scenario. This layered design approach achieves a business framework architecture related to the business scenario, resulting in stronger long-term maintainability and control over the business. It is more suitable for the efficiency and quality requirements of enterprise-level project development, thereby improving the development efficiency of the front-end business process.
[0064] In one embodiment, the core layer includes a core layer based on the Vue technology stack. Step 203, configuring the core libraries and general toolchain for business scenarios in the core layer, includes: obtaining Vue ecosystem library configuration information and Vue toolchain configuration information for the Vue technology stack; and configuring the core libraries and general toolchain for business scenarios in the core layer of the Vue technology stack based on the Vue ecosystem library configuration information and the Vue toolchain configuration information.
[0065] For example, Vue is an open-source JavaScript library for building user interfaces. Through its reactive system and component-based architecture, it enables developers to efficiently build interactive web pages. This application uses the Vue technology stack to implement the core layer architecture of the business framework. The core layer needs to include Vue ecosystem libraries such as vite, vue-router, and vue-i18n, and the libraries need to be configured according to the Vue ecosystem library configuration information. Vite is a new type of front-end build tool that provides lightweight and fast module building capabilities based on native ES features. In addition, a Vue toolchain needs to be completed; that is, a general toolchain is configured in the core layer of the Vue technology stack by obtaining the Vue toolchain configuration information. In this embodiment, the core layer configuration is completed through Vue ecosystem library configuration information and Vue toolchain configuration information, ensuring that the application does not directly depend on it, thereby ensuring the domain boundary of the core layer.
[0066] Furthermore, the method also includes: obtaining directory loading constraint information; and constructing a loader mechanism in the core layer of the business framework based on the directory loading constraint information. A loader is a core component of Webpack, primarily used to convert different types of files into modules that Webpack can recognize. The role of a loader is to transform one source code string into another, typically occurring during the compilation process after reading file content and before AST (Abstract Syntax Tree) analysis. Loaders play a crucial role in front-end development, enabling Webpack to handle various file types, including JavaScript, CSS, and images. By using different loaders, developers can easily integrate these resources into their projects and leverage Webpack's powerful features for modularization, bundling, and optimization. This not only improves development efficiency but also makes the project structure clearer and easier to maintain and manage. In this application's solution, a loader mechanism also needs to be implemented in the core layer, which defines the directory loading constraints for the upper-layer framework and the business application. Relying on this agreed-upon automatic directory loading mechanism, the upper-layer framework can embed best practices for business scenarios, allowing actual business projects to use them directly at runtime without additional configuration. In this embodiment, by implementing loader constraints in the core layer, the control of core layer business can be effectively achieved, thereby ensuring development efficiency.
[0067] In one embodiment, the architecture of the upper-layer business framework layer based on the core layer in step 205 includes: obtaining software package information corresponding to the core layer; and structuring the upper-layer business framework layer based on the software package information.
[0068] For example, the package is NPM (Node Package Manager), a package management and distribution tool installed with Node.js, primarily used for package management in JavaScript development. NPM is the official package manager for Node.js and has become the unofficial standard for publishing Node modules. It provides rich functionality, including installing, sharing, and publishing JavaScript code and packages, as well as managing project dependencies. In this application's solution, specifically, after the core layer architecture is completed, the core layer can be published as an NPM package, and the upper-layer business framework can depend on and inherit from it. Furthermore, the upper-layer business framework layer can also be published as an NPM package after the architecture is completed; business developers only need to be aware of this framework dependency. The framework is delivered in source code form and compiled and built along with the application code during application build. In a specific embodiment, the business framework architecture method of this application is based on Vue and Vite. Vite's on-demand build is fast enough, with a robust pre-build and caching mechanism, so it does not significantly impact the local development build time experience; production builds run on high-performance servers, and the speed difference is negligible. Delivering the framework as code via software packages facilitates debugging and problem localization, and allows third-party dependencies to be updated in real time, rather than being locked into a pre-built framework library. This also ensures timely follow-up on security updates or bug fixes for core dependencies. In this embodiment, software package information is used to publish the core layer and the upper-level business framework layer, thereby guaranteeing the effectiveness of the business framework.
[0069] In one embodiment, the business settings information includes page routing information, page implementation information, and console layout information. In a specific embodiment, this application is applied to a business scenario based on a public cloud product console. This scenario accumulates a large number of reusable components and business practices, which can be configured in the upper-level business framework layer. For example, the EfEditor.vue component is built into the src / components directory within the framework. This component is a Vue wrapper around monaco-editor. In the past, almost every console project encountered scenarios requiring editor components, necessitating individual selection and extensive import work; however, based on the upper-level framework, this Vue component can be used globally directly in the business code. Another example is 2. 403 / 404 / 500 page routes and implementations are built into the src / views directory within the framework, allowing businesses to use them as needed. Alternatively, the framework may include a default console layout. Almost all console pages require top navigation and left-side menus; these global business elements are precisely what need to be abstracted, reused, and globally managed.
[0070] In an exemplary embodiment, the method further includes: obtaining domain extension information corresponding to the business scenario; and constructing a business domain extension framework layer based on the domain extension information and the upper-level business framework layer.
[0071] For example, the layered business framework architecture scheme of this application also retains the extension method of the upper-level framework in the upper-level business framework layer. The upper-level framework needs to be extended according to the business scenario to realize the abstraction and subdivision of the business domain. When the user needs to build on the upper-level business framework layer, the extension direction can be provided through domain extension information. Thus, based on the domain extension information, a business domain extension framework layer based on the upper-level business framework layer is built. In this way, the extension of the framework is unlimited, which depends on the abstraction of the business. In this embodiment, the business framework has inheritable extensibility. The core part is not strongly bound to a certain technology choice (such as a UI library). It should be a "framework of frameworks". Based on the basic conventions of the core, the upper layer can inherit and implement business frameworks for different scenarios. Thus, the extension of the business framework can be realized through domain extension information to ensure the availability of the business framework.
[0072] In a specific embodiment, the business framework architecture method of this application includes: obtaining the core framework settings information of the business scenario;
[0073] Based on the core framework, the core layer of the information architecture business framework is set up, and the configuration information of the Vue ecosystem library and the Vue toolchain of the Vue technology stack is obtained.
[0074] Based on the Vue ecosystem library configuration information and Vue toolchain configuration information, the core libraries and general toolchains for business scenarios are configured in the core layer of the Vue technology stack; directory loading constraint information is obtained; based on the directory loading constraint information, a loader mechanism is constructed in the core layer of the business framework. Package information corresponding to the core layer is obtained; based on the package information, an upper-level business framework layer is constructed based on the core layer, and business components and business settings for business scenarios are configured in this upper-level business framework layer; the business framework for the business scenario is obtained based on the upper-level business framework layer. Domain extension information corresponding to the business scenario is obtained; based on the domain extension information, a business domain extension framework layer is constructed based on the upper-level business framework layer.
[0075] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0076] Based on the same inventive concept, this application also provides a business framework architecture apparatus for implementing the business framework architecture method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more business framework architecture apparatus embodiments provided below can be found in the limitations of the business framework architecture method described above, and will not be repeated here.
[0077] In an exemplary embodiment, as shown in FIG4, a business framework architecture apparatus is provided, including:
[0078] The information acquisition module 401 is used to acquire the core framework settings information of the business scenario.
[0079] Core layer architecture module 403 is used to set up the core layer of the information architecture business framework based on the framework core, and to configure the core library and general toolchain for business scenarios in the core layer.
[0080] The business framework layer architecture module 405 is used to architect the upper-level business framework layer based on the core layer, and to configure the business components and business settings information of the business scenario in the upper-level business framework layer.
[0081] The framework acquisition module 407 is used to acquire the business framework of the business scenario based on the upper-level business framework layer.
[0082] In one embodiment, the core layer includes a core layer based on the Vue technology stack; the core layer architecture module 403 is specifically used to: obtain the Vue ecosystem library configuration information and the Vue toolchain configuration information of the Vue technology stack; and configure the core library and general toolchain for business scenarios in the core layer of the Vue technology stack based on the Vue ecosystem library configuration information and the Vue toolchain configuration information.
[0083] In one embodiment, the core layer architecture module 403 is further configured to: obtain directory loading constraint information; and construct a loader mechanism in the core layer of the business framework based on the directory loading constraint information.
[0084] In one embodiment, the business framework layer architecture module 405 is specifically used to: obtain software package information corresponding to the core layer; and construct an upper-layer business framework layer based on the software package information and the core layer.
[0085] In one embodiment, the business settings information includes page routing information, page implementation information, and console layout information.
[0086] In one embodiment, the system further includes a domain extension module, which is used to: obtain domain extension information corresponding to the business scenario; and construct a business domain extension framework layer based on the domain extension information and the upper-level business framework layer.
[0087] Each module in the aforementioned business framework architecture can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can invoke and execute the operations corresponding to each module.
[0088] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram is shown in Figure 5. The computer device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is connected to the system bus via the I / O interfaces. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes non-volatile storage media and internal memory. The non-volatile storage media 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 stores business framework architecture data. The I / O interfaces of the computer device are used for exchanging information between the processor and external devices. The communication interface of the computer device is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements a business framework architecture method.
[0089] Those skilled in the art will understand that the structure shown in Figure 5 is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or may combine certain components, or may have different component arrangements.
[0090] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
[0091] In one embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0092] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, causing the computer device to perform the steps in the above method embodiments.
[0093] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0094] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0095] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0096] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A business framework architecture method, wherein, The method includes: Obtain the core framework settings information for the business scenario; Based on the core of the aforementioned framework, the core layer of the information architecture business framework is set up, and the core library and general toolchain of the business scenario are configured in the core layer. The architecture is based on the upper-level business framework layer of the core layer, and the business components and business settings information of the business scenario are configured in the upper-level business framework layer. The business framework for the business scenario is obtained based on the upper-level business framework layer.
2. The method of claim 1, wherein, The core layer includes a core layer based on the Vue technology stack; The core library and general toolchain configured in the core layer for the business scenario include: Obtain the configuration information of the Vue ecosystem library and the Vue toolchain in the Vue technology stack; Based on the Vue ecosystem library configuration information and the Vue toolchain configuration information, configure the core library and general toolchain for the business scenario in the core layer of the Vue technology stack.
3. The method of claim 1, wherein, The method further includes: Retrieve directory loading constraint information; Based on the directory loading constraint information, a loader mechanism is constructed in the core layer of the business framework.
4. The method according to claim 1, wherein, The architecture, based on the core layer, includes an upper-layer business framework layer comprising: Obtain the software package information corresponding to the core layer; The software package information architecture is based on the upper business framework layer of the core layer.
5. The method according to claim 1, wherein, The business settings information includes page routing information, page implementation information, and console layout information.
6. The method according to any one of claims 1 to 5, wherein, The method further includes: Obtain the domain extension information corresponding to the business scenario; Based on the aforementioned domain extension information, a business domain extension framework layer is constructed based on the aforementioned upper-level business framework layer.
7. A business framework architecture device, wherein, The device includes: The information acquisition module is used to acquire the core framework settings information for business scenarios; The core layer architecture module is used to set up the core layer of the information architecture business framework based on the core framework, and to configure the core library and general toolchain of the business scenario in the core layer. The business framework layer architecture module is used to architect the upper-level business framework layer based on the core layer, and to configure the business components and business settings information of the business scenario in the upper-level business framework layer. The framework acquisition module is used to acquire the business framework of the business scenario based on the upper-layer business framework layer.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, wherein, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
10. A computer program product comprising a computer program, wherein, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
WEB application development method and system
CN109783083A
Component architecture development method and framework
CN114564193A
Service framework architecture method and device, computer equipment, readable storage medium and program product
CN119536702A
Distributed Computing System with a Synthetic Data as a Service Frameset Assembly Engine
US20200372120A1