CN114675876A - Business processing method and device, electronic equipment and storage medium - Google Patents

Business processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114675876A
CN114675876A CN202210333639.6A CN202210333639A CN114675876A CN 114675876 A CN114675876 A CN 114675876A CN 202210333639 A CN202210333639 A CN 202210333639A CN 114675876 A CN114675876 A CN 114675876A
Authority
CN
China
Prior art keywords
service
target
sub
application framework
application
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
CN202210333639.6A
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202210333639.6A priority Critical patent/CN114675876A/en
Publication of CN114675876A publication Critical patent/CN114675876A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The application discloses a service processing method, a service processing device, electronic equipment and a storage medium. The method comprises the following steps: receiving a service configuration request sent by a requesting party device, wherein the service configuration request carries a target service to be configured and target function information required by the target service; responding to a service configuration request, and acquiring a main application framework for providing basic functions for a target service from a cloud platform; acquiring a sub-application framework corresponding to target function information from a cloud platform; and constructing a service script file corresponding to the target service based on the main application framework and the sub-application framework. In the process of configuring the service, the service script file is constructed by combining the sub application framework corresponding to the target function information required by the target service on the basis of the main application framework, and the service configuration can have good transverse expandability and code reusability by adopting the modes of the main application framework and the sub application framework, so that the development efficiency is greatly improved, and the modular programming of the sub application level is realized.

Description

Business processing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for processing a service, an electronic device, and a storage medium.
Background
The micro front end is a Web front end architecture based on micro service, applies the concept of micro service to a browser end, and converts Web application from single application to a plurality of small front end applications into one application. Each front-end application can be independently developed, independently deployed and independently operated, so that the development and maintenance efficiency of the whole software system is improved. And the third party access can obey the access rule of the micro front end on the basis of the current micro front end architecture, and can quickly and deeply access the cloud platform to fill the short boards and build the cloud platform ecological circle. Finally, a set of codes is maintained, and the aim of meeting the requirement of insufficient products is fulfilled.
Because the traditional front-end application is a single 'megastone' application, most front-end systems do not perform code transformation of micro-service, so that access of a third party is generally based on re-development of business logic in single engineering or access and communication of the system through other modes such as single sign-on and the like, but the two modes have obvious defects.
Disadvantages of functional development within monomer engineering: the development workload of the front end and the back end is large, and a large amount of repeated development work and repeated tests are caused. Disadvantages of the single sign-on approach to third party systems: user experience is poor, more repeated function intersection exists in the two systems, and matching and assembling cannot be flexibly carried out. Finally, the real service convergence unification is not achieved.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present application provides a service processing method, an apparatus, an electronic device, and a storage medium.
According to an aspect of an embodiment of the present application, a service processing method is provided, including:
receiving a service configuration request sent by a requesting party device, wherein the service configuration request carries a target service to be configured and target function information required by the target service;
responding to the service configuration request, and acquiring a main application framework for providing basic functions for the target service from a cloud platform;
acquiring a sub-application framework corresponding to the target function information from the cloud platform;
and constructing a service script file corresponding to the target service based on the main application framework and the sub-application framework.
Further, the method further comprises:
acquiring a pre-built front-end service framework;
detecting a splitting operation acting on the front-end service framework, and determining a main application framework in the front-end service framework based on the splitting operation;
detecting the remaining service frames except the main application frame in the front-end service frame to obtain at least one piece of functional information, and splitting the remaining service frames according to the functional information to obtain at least one initial sub-application frame;
and storing the main application framework and the initial sub-application framework.
Further, the constructing a service script file corresponding to the target service based on the main application framework and the sub-application framework includes:
acquiring first configuration information corresponding to the main application framework, and configuring the main application framework based on the first configuration information to obtain a target main application;
acquiring second configuration information corresponding to the sub-application framework, and configuring the sub-application framework based on the second configuration information to obtain a target sub-application;
and constructing the service script file based on the target main application and the target sub-application.
Further, the obtaining second configuration information corresponding to the sub-application framework and configuring the sub-application framework based on the second configuration information to obtain the target sub-application includes:
outputting the sub-application framework to an entry page, and acquiring second configuration information corresponding to the sub-application framework based on the entry page, wherein the second configuration information is used for configuring message communication between the sub-application framework and the main application framework and a life cycle corresponding to the sub-application framework;
and configuring the sub-application framework based on the second configuration information to obtain a target sub-application.
Further, the method further comprises:
acquiring a visual menu provided by the cloud platform;
detecting a selection operation acting on the visual menu, and determining a target menu for adding to the target sub-application based on the selection operation;
adding the target menu to the target sub-application.
Further, the method further comprises:
establishing an incidence relation between the target menu and the target sub-application;
and storing the target menu and the association relation to a database.
Further, the method further comprises:
acquiring file updating information corresponding to the service script file;
authenticating the file updating information, and extracting function updating information from the file updating information under the condition that the file updating information is authenticated;
and determining a target application to which the function corresponding to the function updating information belongs from the service script file, and updating the target application by using the function updating information to obtain an updated service script file.
According to another aspect of the embodiments of the present application, there is also provided a service processing apparatus, including:
the system comprises a receiving module, a service configuration module and a service configuration module, wherein the receiving module is used for receiving a service configuration request sent by requesting party equipment, and the service configuration request carries a target service to be configured and target function information required by the target service;
the response module is used for responding to the service configuration request and acquiring a main application framework for providing basic functions for the target service from a cloud platform;
the acquisition module is used for acquiring the sub-application framework corresponding to the target function information from the cloud platform;
and the construction module is used for constructing a service script file corresponding to the target service based on the main application framework and the sub-application framework.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program that executes the above steps when the program is executed.
According to another aspect of the embodiments of the present application, there is also provided an electronic apparatus, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus; wherein: a memory for storing a computer program; a processor for executing the steps of the method by running the program stored in the memory.
Embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the steps of the above method.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the method provided by the embodiment of the application, in the process of configuring the service, on the basis of the main application framework, the sub-application framework corresponding to the target function information required by the target service is combined, the service script file is constructed, the service configuration can have good transverse expandability and code reusability by adopting the modes of the main application framework and the sub-application framework, flexible matching and assembling are realized, meanwhile, the whole front-end style and the interaction thereof can be extremely unified by matching with the common component library and the common style library at the front end, the development efficiency is greatly improved, and the modular programming at the sub-application level is realized.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a flowchart of a service processing method according to an embodiment of the present application;
fig. 2 is a flowchart of a service processing method according to another embodiment of the present application;
fig. 3 is a flowchart of a service processing method according to another embodiment of the present application;
fig. 4 is a block diagram of a service processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments, and the illustrative embodiments and descriptions thereof of the present application are used for explaining the present application and do not constitute a limitation to the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It is noted that, in this document, relational terms such as "first" and "second," and the like, are used solely to distinguish one entity or action from another similar entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiment of the application provides a service processing method and device, electronic equipment and a storage medium. The method provided by the embodiment of the invention can be applied to any required electronic equipment, for example, the electronic equipment can be electronic equipment such as a server and a terminal, and the method is not particularly limited herein, and is hereinafter simply referred to as electronic equipment for convenience in description.
According to an aspect of an embodiment of the present application, a method embodiment of a service processing method is provided. Fig. 1 is a flowchart of a service processing method provided in an embodiment of the present application, and as shown in fig. 1, the method includes:
step S11, receiving a service configuration request sent by the requester device, where the service configuration request carries a target service to be configured and target function information required by the target service.
The method provided by the embodiment of the application is applied to a cloud platform, a preset main application framework and a plurality of sub-application frameworks are deployed in the cloud platform, and service configuration can be performed by a requesting device according to the main application framework and the sub-application frameworks.
In the embodiment of the application, when the requesting device accesses the cloud platform, an access request is sent to the cloud platform, and the access request carries the device identity information of the requesting device. The cloud platform authenticates the equipment identity information after receiving the access request, and after the equipment identity information authentication is passed, a communication link is established between the requesting equipment and the cloud platform. The subsequent requester device may send a service configuration request to the cloud platform based on the communication link, where the service configuration request carries a target service to be configured by the requester device and target function information required by the target service. The target function information may be what functions the target service needs to have when the requester device configures the target service.
Step S12, in response to the service configuration request, acquiring a master application framework for providing basic functions for the target service from the cloud platform.
In the embodiment of the application, after receiving the service configuration request, the cloud platform acquires a pre-deployed main application framework, where the main application framework is a framework for providing basic functions for the service and can be understood as a base for providing basic services for the service.
As one example, the main application framework functions include a login module, a global configuration module, a route forwarding module, a uniform security configuration module, and a sandbox manager. The login module integrates various login modes at present, including short messages, account passwords, mobile phone verification codes and the like; the global configuration module mainly maintains an information configuration center of the main sub-application framework; the route forwarding module: mainly realizes the route forwarding from external access to specific sub-applications; the uniform security configuration module is mainly used for providing common Web security global configuration such as CSRF vulnerability prevention, XSS attack prevention, HTTP response head security field configuration and the like; the sandbox isolation configurator mainly performs isolation of styles and scripts.
And step S13, acquiring the sub-application framework corresponding to the target function information from the cloud platform.
In the embodiment of the application, after the main application framework is determined, the cloud platform may obtain the corresponding sub-application framework in the cloud platform based on the target function information carried in the service configuration request. It should be noted that the sub-application framework is mainly used for storing service code logic corresponding to functions and providing a single-entry packaging configuration for integration with the main application framework.
And step S14, constructing a service script file corresponding to the target service based on the main application framework and the sub-application framework.
In this embodiment of the present application, in step S14, building a service script file corresponding to a target service based on a main application framework and a sub-application framework, includes the following steps a 1-A3:
step A1, obtaining first configuration information corresponding to the main application framework, and configuring the main application framework based on the first configuration information to obtain the target main application.
In this embodiment of the present application, first, configuration is performed based on a main application framework, and specifically, first configuration information uploaded by a requesting device may be obtained, where the first configuration information includes: forwarding processing of a service Rest interface, and adding and updating of service access information; portal-common components, style libraries, and the like. And then configuring the main application framework by using the first configuration information, for example, configuring an interface for the main application framework, and preloading a portal-common component and a style library to obtain a target application framework.
Step A2, obtaining second configuration information corresponding to the sub-application framework, and configuring the sub-application framework based on the second configuration information to obtain the target sub-application.
In this embodiment of the present application, in step a2, obtaining second configuration information corresponding to the sub-application framework, and configuring the sub-application framework based on the second configuration information to obtain the target sub-application, includes: outputting the sub-application framework to an entry page, and acquiring second configuration information corresponding to the sub-application framework uploaded by requester equipment based on the entry page, wherein the second configuration information is used for configuring message communication between the sub-application framework and the main application framework and a life cycle corresponding to the sub-application framework; and configuring the sub-application framework based on the second configuration information to obtain the target sub-application.
It should be noted that, before configuring the sub application framework, the sub application framework needs to be uniformly packaged and output to an entry page, then the sub application framework is initialized, and second configuration information is obtained, where the second configuration information is used to configure message communication and a life cycle of the sub application framework and the main application framework, and mainly solves an event process of value transfer between main sub applications and application mounting and destruction, and the second configuration information is also used to configure service code logic in the sub application framework.
Step A3, constructing the service script file based on the target main application and the target sub-application.
In the embodiment of the application, after the target main application and the target sub-application are obtained, the target main application and the target sub-application are packaged to obtain the service script file. And the common component required by the target service can be acquired in the packaging process, and the extension of the sub-application framework can be realized through the common component. The related public components can be obtained from the business public module specifically, the business public components mainly store public components (table tables, graphs, forms, multiple languages, common regular expressions, pop-up boxes, prompts and the like), style library files, pictures, icon libraries and the like in the cloud platform, so that the rapid reference of subsequent businesses is facilitated, and the components and the style library for providing the business public module need to follow the UED specification of the cloud platform. In addition, the business can also quote own component library and style sheet, so as to achieve the extensibility of the sub-application framework.
According to the method provided by the embodiment of the application, each sub-application framework is loaded in by means of the main application framework, so that the method has good transverse expandability and code reusability, meanwhile, the whole front-end style and interaction thereof are extremely unified by matching the common component library and the common style library of the front end, the development efficiency is greatly improved, and the modular programming of the sub-applications is realized.
In an embodiment of the application, the method further comprises the following steps B1-B4:
and step B1, acquiring the pre-built front-end service framework.
And step B2, detecting the splitting operation acting on the front-end business framework, and determining a main application framework in the front-end business framework based on the splitting operation.
And step B3, detecting the remaining service frames except the main application frame in the front-end service frame to obtain at least one piece of function information, and splitting the remaining service frames according to the function information to obtain at least one initial sub-application frame.
Step B4, storing the main application framework and the initial sub-application framework.
In this embodiment of the application, the main application framework and the sub-application framework in the cloud platform may be obtained by splitting based on the front-end service framework, and specifically, the splitting operation acting on the front-end service framework may be detected, and the main application framework is split from the front-end service framework based on the splitting operation. And meanwhile, detecting the residual service framework to obtain at least one piece of functional information, and splitting the residual service framework according to the functional information to obtain a plurality of sub-initial sub-application frameworks. The primary application framework and the initial child application framework are then stored.
According to the method provided by the embodiment of the application, in the process of configuring the service, the service script file is constructed by combining the sub-application framework corresponding to the target function information required by the target service on the basis of the main application framework, the service configuration can have good transverse expandability and code reusability by adopting the modes of the main application framework and the sub-application framework, and meanwhile, the whole front-end style and the interaction thereof are extremely unified by matching the front-end public component library and the style library, so that the development efficiency is greatly improved, and the modular programming of the sub-application level is realized.
Fig. 2 is a flowchart of a service processing method according to another embodiment of the present application, and as shown in fig. 2, the method further includes:
and step S21, acquiring a visual menu provided by the cloud platform.
And step S22, detecting a selection operation acting on the visual menu, and determining a target menu for adding to the target sub-application based on the selection operation.
In step S23, the target menu is added to the target sub-application.
In this embodiment of the present application, after the target sub-application is configured, the requesting device may further perform menu configuration on the target sub-application according to a service requirement. Specifically, a target menu for adding to the target sub-application is determined by detecting a selected operation acting on the visual menu, and the target menu includes other functions that can be used by the target sub-application. The related configuration use of the menu can be synchronously performed in the process of configuring the target sub-application, so that the target sub-application is diversified, for example, a floating menu and a secondary menu can be added and configured by using a visual menu.
The method provided by the embodiment of the application further comprises the following steps: establishing an incidence relation between a target menu and a target sub-application; and storing the target menu and the association relation to a database. According to the method and the device, the incidence relation between the target menu and the target sub-application is established, so that the subsequent configuration of the same type of service can be directly used, and the service configuration efficiency is improved.
Fig. 3 is a flowchart of a service processing method according to another embodiment of the present application, and as shown in fig. 3, the method further includes:
and step S21, acquiring file updating information corresponding to the service script file.
In step S22, the file update information is authenticated, and if the file update information authentication is passed, the function update information is extracted from the file update information.
And step S23, determining the target application to which the function corresponding to the function update information belongs from the service script file, and updating the target application by using the function update information to obtain an updated service script file.
In the embodiment of the application, after the service script file is obtained, file updating information corresponding to the service script file is obtained. And then, authenticating the file updating information, determining whether the equipment information carried in the file updating information is matched with the previous equipment information, if so, confirming that the file updating information passes the authentication, and then determining the file updating information extraction function updating information. And then acquiring a target application corresponding to the function updating information from the service script file, and updating the function of the target application by using the target function information, wherein the target application can be a target sub-application or a target main application.
Fig. 4 is a block diagram of a service processing apparatus provided in an embodiment of the present application, where the apparatus may be implemented as part of or all of an electronic device through software, hardware, or a combination of the two. As shown in fig. 4, the apparatus includes:
the receiving module 41 is configured to receive a service configuration request sent by a requesting device, where the service configuration request carries a target service to be configured and target function information required by the target service.
And the response module 42 is configured to, in response to the service configuration request, obtain a main application framework for providing basic functions for the target service from the cloud platform.
And an obtaining module 43, configured to obtain a sub-application framework corresponding to the target function information from the cloud platform.
And the building module 44 is used for building a service script file corresponding to the target service based on the main application framework and the sub-application framework.
In this embodiment, the service processing apparatus further includes: the splitting module is used for acquiring a pre-built front-end service framework; detecting a splitting operation acting on a front-end service framework, and determining a main application framework in the front-end service framework based on the splitting operation; detecting the remaining service frames except the main application frame in the front-end service frame to obtain at least one piece of functional information, and splitting the remaining service frames according to the functional information to obtain at least one initial sub-application frame; the primary application framework and the initial sub-application framework are stored.
In the embodiment of the present application, the building module 44 includes:
the first configuration submodule is used for acquiring first configuration information corresponding to the main application framework and configuring the main application framework based on the first configuration information to obtain a target main application;
the second configuration submodule is used for acquiring second configuration information corresponding to the sub-application framework and configuring the sub-application framework based on the second configuration information to obtain a target sub-application;
and the construction submodule is used for constructing the service script file based on the target main application and the target sub-application.
In the embodiment of the application, the second configuration sub-module is configured to output the sub-application framework to the entry page, and obtain second configuration information corresponding to the sub-application framework based on the entry page, where the second configuration information is used to configure message communication between the sub-application framework and the main application framework, and a lifecycle corresponding to the sub-application framework; and configuring the sub-application framework based on the second configuration information to obtain the target sub-application.
In this embodiment, the service processing apparatus further includes: the processing module is used for acquiring a visual menu provided by the cloud platform; detecting a selection operation acting on the visual menu, and determining a target menu for adding to the target sub-application based on the selection operation; adding the target menu to the target sub-application.
In this embodiment, the service processing apparatus further includes: the association module is used for establishing an association relation between the target menu and the target sub-application; and storing the target menu and the association relation to a database.
In this embodiment, the service processing apparatus further includes: the authentication module is used for acquiring file updating information corresponding to the service script file; authenticating the file updating information, and extracting the function updating information from the file updating information under the condition that the file updating information is authenticated; and determining the target application to which the function corresponding to the function updating information belongs from the service script file, and updating the target application by using the function updating information to obtain an updated service script file.
An embodiment of the present application further provides an electronic device, as shown in fig. 5, the electronic device may include: the system comprises a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502 and the memory 1503 complete communication with each other through the communication bus 1504.
A memory 1503 for storing a computer program;
the processor 1501 is configured to implement the steps of the above embodiments when executing the computer program stored in the memory 1503.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In another embodiment provided by the present application, a computer-readable storage medium is further provided, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the instructions cause the computer to execute the service processing method described in any one of the foregoing embodiments.
In yet another embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the business process method of any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk), among others.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for processing a service, comprising:
receiving a service configuration request sent by a requesting party device, wherein the service configuration request carries a target service to be configured and target function information required by the target service;
responding to the service configuration request, and acquiring a main application framework for providing basic functions for the target service from a cloud platform;
acquiring a sub-application framework corresponding to the target function information from the cloud platform;
and constructing a service script file corresponding to the target service based on the main application framework and the sub-application framework.
2. The method of claim 1, further comprising:
acquiring a pre-built front-end service framework;
detecting a splitting operation acting on the front-end service framework, and determining a main application framework in the front-end service framework based on the splitting operation;
detecting the remaining service frames except the main application frame in the front-end service frame to obtain at least one piece of functional information, and splitting the remaining service frames according to the functional information to obtain at least one initial sub-application frame;
and storing the main application framework and the initial sub-application framework.
3. The method according to claim 1, wherein the building a service script file corresponding to the target service based on the main application framework and the sub-application framework comprises:
acquiring first configuration information corresponding to the main application framework, and configuring the main application framework based on the first configuration information to obtain a target main application;
acquiring second configuration information corresponding to the sub-application framework, and configuring the sub-application framework based on the second configuration information to obtain a target sub-application;
and constructing the service script file based on the target main application and the target sub-application.
4. The method according to claim 3, wherein the obtaining second configuration information corresponding to the sub-application framework and configuring the sub-application framework based on the second configuration information to obtain a target sub-application comprises:
outputting the sub-application framework to an entry page, and acquiring second configuration information corresponding to the sub-application framework based on the entry page, wherein the second configuration information is used for configuring message communication between the sub-application framework and the main application framework and a life cycle corresponding to the sub-application framework;
and configuring the sub-application framework based on the second configuration information to obtain the target sub-application.
5. The method of claim 3, further comprising:
acquiring a visual menu provided by the cloud platform;
detecting a selection operation acting on the visual menu, and determining a target menu for adding to the target sub-application based on the selection operation;
adding the target menu to the target sub-application.
6. The method of claim 5, further comprising:
establishing an incidence relation between the target menu and the target sub-application;
and storing the target menu and the association relation to a database.
7. The method of claim 1, further comprising:
acquiring file updating information corresponding to the service script file;
authenticating the file updating information, and extracting function updating information from the file updating information under the condition that the file updating information is authenticated;
and determining a target application to which the function corresponding to the function updating information belongs from the service script file, and updating the target application by using the function updating information to obtain an updated service script file.
8. A traffic processing apparatus, comprising:
the system comprises a receiving module, a service configuration module and a service configuration module, wherein the receiving module is used for receiving a service configuration request sent by requesting party equipment, and the service configuration request carries a target service to be configured and target function information required by the target service;
the response module is used for responding to the service configuration request and acquiring a main application framework for providing basic functions for the target service from a cloud platform;
the acquisition module is used for acquiring the sub-application framework corresponding to the target function information from the cloud platform;
and the construction module is used for constructing a service script file corresponding to the target service based on the main application framework and the sub-application framework.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program is operative to perform the method steps of any of the preceding claims 1 to 7.
10. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus; wherein:
a memory for storing a computer program;
a processor for performing the method steps of any of claims 1 to 7 by executing a program stored on a memory.
CN202210333639.6A 2022-03-30 2022-03-30 Business processing method and device, electronic equipment and storage medium Pending CN114675876A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210333639.6A CN114675876A (en) 2022-03-30 2022-03-30 Business processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210333639.6A CN114675876A (en) 2022-03-30 2022-03-30 Business processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114675876A true CN114675876A (en) 2022-06-28

Family

ID=82076489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210333639.6A Pending CN114675876A (en) 2022-03-30 2022-03-30 Business processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114675876A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115987959A (en) * 2022-12-02 2023-04-18 浪潮通信信息系统有限公司 Customizable APP fusion method based on remote loading

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115987959A (en) * 2022-12-02 2023-04-18 浪潮通信信息系统有限公司 Customizable APP fusion method based on remote loading

Similar Documents

Publication Publication Date Title
CN111010372A (en) Block chain network identity authentication system, data processing method and gateway equipment
WO2016173199A1 (en) Mobile application single sign-on method and device
CN112714158B (en) Transaction processing method, relay network, cross-link gateway, system, medium and equipment
JP2024505692A (en) Data processing methods, devices and computer equipment based on blockchain networks
CN112039868A (en) Firewall policy verification method, device, equipment and storage medium
CN113806037A (en) Service calling method and device, storage medium and electronic equipment
CN112202744B (en) Multi-system data communication method and device
CN108390786B (en) Business operation and maintenance method and device and electronic equipment
CN109510799B (en) Page display method, browser client, equipment and storage medium
CN111770174A (en) Cloud platform deployment method, device, equipment and readable storage medium
CN115695012A (en) Login request processing method and device, electronic equipment and storage medium
CN112087475B (en) Message pushing method and device for cloud platform component application and message server
CN114675876A (en) Business processing method and device, electronic equipment and storage medium
CN114465867A (en) Server maintenance method and device, storage medium and processor
CN111314355B (en) Authentication method, device, equipment and medium of VPN (virtual private network) server
CN115941217B (en) Method for secure communication and related products
CN108737350B (en) Information processing method and client
EP3329650B1 (en) Providing multi-factor authentication credentials via device notifications
CN115412294A (en) Platform service-based access method and device, storage medium and electronic equipment
CN108769135A (en) The connection method of cloud desktop, device, equipment and system
CN108228280A (en) The configuration method and device of browser parameters, storage medium, electronic equipment
CN114553608A (en) Method and device for accessing cloud platform
CN114095498A (en) Cluster environment deployment method, system, computer equipment and storage medium
CN109450885B (en) Network data interception method and device, electronic equipment and storage medium
CN113395326A (en) Network service-based login method, device and computer-readable storage medium

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