CN117539508A - Method, system and device for realizing service expansion function - Google Patents
Method, system and device for realizing service expansion function Download PDFInfo
- Publication number
- CN117539508A CN117539508A CN202311549488.9A CN202311549488A CN117539508A CN 117539508 A CN117539508 A CN 117539508A CN 202311549488 A CN202311549488 A CN 202311549488A CN 117539508 A CN117539508 A CN 117539508A
- Authority
- CN
- China
- Prior art keywords
- application
- extension
- service
- function
- expansion
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000006870 function Effects 0.000 claims abstract description 96
- 238000009434 installation Methods 0.000 claims abstract description 12
- 238000004590 computer program Methods 0.000 claims description 3
- 238000007726 management method Methods 0.000 claims 5
- 238000010586 diagram Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a method, a system and a device for realizing service expansion function, wherein the method comprises the following steps: s1, defining a service function expansion point; s2, defining application expansion points; s3, selecting and installing an expansion application in expansion application management according to the requirements of service functions; s4, after the installation is completed, the service function automatically loads the extension application into an extension point of the service function according to the installed configuration information; s5, the service function calls the loaded extension application to provide the extension function, and the invention can realize the service extension function.
Description
Technical Field
The present invention relates to the field of extended function implementation, and in particular, to a method, a system, and an apparatus for implementing a service extended function.
Background
Traditional Web application can only provide fixed functions, cannot meet diversified demands of users, and cannot be flexibly expanded. In addition, with the increase of the number of clients and the continuous development of the own business demands of the clients, the existing business functions tend to be inflexible to expand.
Disclosure of Invention
The invention aims to provide a method, a system and a device for realizing a service expansion function, which aim to solve the problem.
The invention provides a method for realizing service expansion function, comprising the following steps:
the method for realizing the extended function comprises the following steps:
s1, defining a service function expansion point;
s2, defining application expansion points;
s3, selecting and installing an expansion application in expansion application management according to the requirements of service functions;
s4, after the installation is completed, the service function automatically loads the extension application into an extension point of the service function according to the installed configuration information;
s5, the service function calls the loaded extension application to provide the extension function.
The invention also provides a system for realizing the service expansion function, which comprises:
defining a service function module for defining a service function expansion point;
an application extension point defining module for defining an application extension point;
the installation module is used for selecting and installing the extended application in the extended application management according to the requirements of the service functions;
the loading module is used for automatically loading the expansion application into the expansion point of the service function according to the installed configuration information after the installation is completed;
and the calling module is used for calling the loaded extension application by the service function to provide the extension function.
The embodiment of the invention also provides a device for realizing the service expansion function, which comprises: a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor, performs the steps of the method described above.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores an information transmission implementation program, and the program realizes the steps of the method when being executed by a processor.
By adopting the embodiment of the invention, the service expansion function can be realized.
The foregoing description is only an overview of the present invention, and is intended to provide a more clear understanding of the technical means of the present invention, as it is embodied in accordance with the present invention, and to make the above and other objects, features and advantages of the present invention more apparent, as it is embodied in the following detailed description of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method of service extension function implementation of an embodiment of the present invention;
FIG. 2 is a specific flow chart of a method of service extension function implementation of an embodiment of the present invention;
FIG. 3 is a schematic diagram of a system for implementing a service extension function according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an apparatus for implementing a service extension function according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be clearly and completely described in connection with the embodiments, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Method embodiment
According to an embodiment of the present invention, there is provided a method for implementing a service extension function, and fig. 1 is a flowchart of a method for implementing a service extension function according to an embodiment of the present invention, as shown in fig. 1, specifically including:
s1, defining a service function expansion point;
s2, defining application expansion points;
s3, selecting and installing an expansion application in expansion application management according to the requirements of service functions;
s4, after the installation is completed, the service function automatically loads the extension application into an extension point of the service function according to the installed configuration information;
s5, the service function calls the loaded extension application to provide the extension function.
S1 specifically comprises: defining a service function expansion point, wherein the service function expansion point comprises: UI components, menus, buttons and fields, the business function extension point is used for parsing and executing the installed application.
S2 specifically comprises: defining application expansion points, wherein the application expansion points do not exceed service function expansion points.
The method further comprises the steps of: the installed extension applications are managed in extension application management, including enabling, disabling, or uninstalling.
The specific implementation method is as follows:
FIG. 2 is a specific flow chart of a method of service extension function implementation of an embodiment of the present invention;
the following comment functions are used as an application and are extended to the business functions of daily newspapers.
1. Defining an application extension point: the comment mainly includes comment on service data, the expansion point is a UI component, wherein the content of the component describes page display style and operable buttons in a JSON format, and in the embodiment, only one input box and one determination button are defined. The UI component may be loaded into a business data details page,
2. and installing comment applications by a daily report function in the extended application management.
3. After the installation is completed, the display position of the comment on the daily report detail page is defined, the display position depends on the configurability of the system, the detail page component can be configured, the approval UI component can be configured at the position to be displayed, and the approval UI component can not be configured and can be fixedly displayed at a certain position. The present embodiment is fixedly displayed at the lowest part of the daily details page.
4. And pulling the installed comment application through an interface on the daily details page, wherein the interface can acquire the installed application by inquiring the installation information. And a page component for displaying comments at the lowest part of the daily detail page.
5. If other business functions have comments, the comment application can also be installed.
6. The extended application can be used as a specific function, and can also be used as an identifier, and the identifier is installed to represent the business function.
The invention provides a flexible and customizable way to expand the business functions of the Web application, allows the user to select and install the proper expansion application according to the self demand, reduces the development cost of the Web application developer, and enables the business functions to adapt to the business demands of the client.
System embodiment one
According to an embodiment of the present invention, a system for implementing a service extension function is provided, and fig. 3 is a schematic diagram of a system for implementing a service extension function according to an embodiment of the present invention, as shown in fig. 3, specifically including:
defining a service function module for defining a service function expansion point;
an application extension point defining module for defining an application extension point;
the installation module is used for selecting and installing the extended application in the extended application management according to the requirements of the service functions;
the loading module is used for automatically loading the expansion application into the expansion point of the service function according to the installed configuration information after the installation is completed;
and the calling module is used for calling the loaded extension application by the service function to provide the extension function.
The defined service function module is specifically configured to: defining a service function expansion point, wherein the service function expansion point comprises: UI components, menus, buttons and fields, the business function extension point is used for parsing and executing the installed application.
The application extension point defining module is specifically configured to: defining application expansion points, wherein the application expansion points do not exceed service function expansion points.
The system further comprises: and the management module is used for managing the installed extension application in the extension application management, including enabling, disabling or unloading.
The embodiment of the present invention is a system embodiment corresponding to the above method embodiment, and specific operations of each module may be understood by referring to the description of the method embodiment, which is not repeated herein.
Device embodiment 1
An embodiment of the present invention provides a device for implementing a service extension function, as shown in fig. 4, including: memory 40, processor 42, and a computer program stored on memory 40 and executable on processor 42, which when executed by the processor, performs the steps of the method embodiments described above.
Device example two
An embodiment of the present invention provides a computer-readable storage medium, on which an information transmission implementation program is stored, which when executed by the processor 42 implements the steps of the method embodiments described above.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; and these modifications or substitutions may be made to the technical solutions of the embodiments of the present invention without departing from the spirit of the corresponding technical solutions.
Claims (10)
1. A method for implementing a service extension function, comprising:
s1, defining a service function expansion point;
s2, defining application expansion points;
s3, selecting and installing an expansion application in expansion application management according to the requirements of service functions;
s4, after the installation is completed, the service function automatically loads the extension application into an extension point of the service function according to the installed configuration information;
s5, the service function calls the loaded extension application to provide the extension function.
2. The method according to claim 1, wherein S1 specifically comprises: defining a service function expansion point, wherein the service function expansion point comprises: UI components, menus, buttons and fields, the business function extension point is used for parsing and executing the installed application.
3. The method according to claim 2, wherein S2 specifically comprises: defining application expansion points, wherein the application expansion points do not exceed service function expansion points.
4. A method according to claim 3, characterized in that the method further comprises: the installed extension applications are managed in extension application management, including enabling, disabling, or uninstalling.
5. A system for implementing a service extension function, comprising:
defining a service function module for defining a service function expansion point;
an application extension point defining module for defining an application extension point;
the installation module is used for selecting and installing the extended application in the extended application management according to the requirements of the service functions;
the loading module is used for automatically loading the expansion application into the expansion point of the service function according to the installed configuration information after the installation is completed;
and the calling module is used for calling the loaded extension application by the service function to provide the extension function.
6. The system of claim 5, wherein the defined service function module is specifically configured to: defining a service function expansion point, wherein the service function expansion point comprises: UI components, menus, buttons and fields, the business function extension point is used for parsing and executing the installed application.
7. The system of claim 6, wherein the defined application extension point module is specifically configured to: defining application expansion points, wherein the application expansion points do not exceed service function expansion points.
8. The system of claim 7, wherein the system further comprises: and the management module is used for managing the installed extension application in the extension application management, including enabling, disabling or unloading.
9. An apparatus for implementing a service extension function, comprising: memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor, performs the steps of the method of service extension function implementation according to any of claims 1 to 4.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon an information delivery implementation program which, when executed by a processor, implements the steps of the method of service extension function implementation according to any of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311549488.9A CN117539508A (en) | 2023-11-20 | 2023-11-20 | Method, system and device for realizing service expansion function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311549488.9A CN117539508A (en) | 2023-11-20 | 2023-11-20 | Method, system and device for realizing service expansion function |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117539508A true CN117539508A (en) | 2024-02-09 |
Family
ID=89791331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311549488.9A Pending CN117539508A (en) | 2023-11-20 | 2023-11-20 | Method, system and device for realizing service expansion function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117539508A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103645919A (en) * | 2013-12-18 | 2014-03-19 | 用友软件股份有限公司 | Method for extending functions of management information system through plugins |
CN111813385A (en) * | 2020-07-07 | 2020-10-23 | 赞同科技股份有限公司 | Web application-based page plug-in method, device and equipment |
CN113176908A (en) * | 2021-04-29 | 2021-07-27 | 广州嘉为科技有限公司 | Method, system, device and medium for dynamically expanding web function and hot-pluggable |
CN113220295A (en) * | 2021-04-26 | 2021-08-06 | 深圳市云网万店科技有限公司 | Method, system and computer readable storage medium for dynamic expansion of front end component |
-
2023
- 2023-11-20 CN CN202311549488.9A patent/CN117539508A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103645919A (en) * | 2013-12-18 | 2014-03-19 | 用友软件股份有限公司 | Method for extending functions of management information system through plugins |
CN111813385A (en) * | 2020-07-07 | 2020-10-23 | 赞同科技股份有限公司 | Web application-based page plug-in method, device and equipment |
CN113220295A (en) * | 2021-04-26 | 2021-08-06 | 深圳市云网万店科技有限公司 | Method, system and computer readable storage medium for dynamic expansion of front end component |
CN113176908A (en) * | 2021-04-29 | 2021-07-27 | 广州嘉为科技有限公司 | Method, system, device and medium for dynamically expanding web function and hot-pluggable |
Non-Patent Citations (1)
Title |
---|
丸子爸爸的日常: "火狐怎么安装组件,安装扩展以及更新组件", pages 1 - 7, Retrieved from the Internet <URL:《https://jingyan.baidu.com/article/b24f6c822863b986bfe5dadd.html》> * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102693280A (en) | Webpage browsing method, WebApp framework, method and device for executing JavaScript, and mobile terminal | |
US12056415B2 (en) | Desktop sharing method and mobile terminal | |
CN109857506B (en) | Method and device for realizing guide information, electronic equipment and storage medium | |
CN109445841B (en) | Interface document management method, device, server and storage medium | |
CN103593370B (en) | The method and browser of expanded application are realized in a browser | |
CN110825807B (en) | Data interactive conversion method, device, equipment and medium based on artificial intelligence | |
US9654343B2 (en) | System and method for managing service characteristics | |
CN109739661B (en) | Method, device and system for updating messages between collaborative modules | |
CN111309216B (en) | List page display method and device, computer equipment and storage medium | |
US8914790B2 (en) | Contextual solicitation in a starter application | |
CN114385164A (en) | Page generation and rendering method and device, electronic equipment and storage medium | |
CN112395535B (en) | Lazy loading method and apparatus for picture, medium and electronic device | |
CN115390897A (en) | Method and device for micro front-end management, electronic equipment and storage medium | |
CN105404522A (en) | Method for building intelligent terminal application program, device for building intelligent terminal application program and intelligent terminal | |
CN116578219B (en) | Form page self-adaptive display method and device suitable for left and right double screens, computer equipment and computer readable storage medium | |
CN117539508A (en) | Method, system and device for realizing service expansion function | |
CN113721936B (en) | Application management method, intelligent terminal, device and storage medium | |
CN115061796B (en) | Execution method and system for calling between subtasks and electronic equipment | |
CN117130697A (en) | Method and device for fixing application on taskbar | |
CN115470427A (en) | Page loading method, device, equipment and storage medium | |
CN103605519A (en) | Application program control adding method and application program control adding device | |
CN110599112A (en) | Method and device for developing and maintaining network page | |
CN101169715A (en) | Control adding method | |
CN110944047A (en) | Distributed application monitoring method and device | |
EP1884871A1 (en) | System and method for adaptive theming of a mobile device |
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 |