Business function expansion method and device, equipment and storage medium

By predefined extension points in the target system and allowing service plug-ins to access, the problem that standard systems are difficult to meet customers' personalized needs is solved, and the flexibility and scalability of function expansion is achieved, reducing the difficulty of development and maintenance.

CN119987727APending Publication Date: 2025-05-13SHENZHEN JIESHUN SCI & TECH IND
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510081214.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

During the system development process, standard systems are difficult to meet customers' personalized needs, resulting in increased system complexity, increased maintenance and debugging difficulties, and reduced development efficiency.

Method used

By predefined extension points in the target system, the service plug-in is allowed to access, and the service plug-in is detected whether the business function is associated with the configuration information of the extension point. If it exists and the service plug-in is in the startup state, the service plug-in associated with the extension point is called to obtain response information and continue to execute the business function.

Benefits of technology

It realizes functional expansion to meet customers' personalized needs without increasing system complexity, reduces the difficulty of development and maintenance, and improves the flexibility and scalability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119987727A_ABST
    Figure CN119987727A_ABST
Patent Text Reader

Abstract

The invention discloses a business function expansion method and device, equipment and a storage medium, and relates to the technical field of computers, and the method comprises the steps: detecting whether a business function is associated with configuration information of an expansion point or not in a process of operating the business function corresponding to a business realization request, the extension point refers to a predefined interface for inserting a service plug-in function in the target system; if the configuration information of the extension point exists and the configuration information indicates that the service plug-in is in a starting state, calling the service plug-in associated with the extension point to obtain response information returned by the service plug-in; and continuing to execute the service function corresponding to the service implementation request based on the response information. According to the method and the device, the extension point is pre-constructed on the target system, the service plug-in associated with the personalized function can be configured on the extension point, the service plug-in associated with the extension point can be called in the process that the system runs the service function, the user customized function can be executed by utilizing the plug-in, and a newly added program function does not need to be developed in the target system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a business function expansion method, device, equipment and storage medium. Background Art

[0002] During system development, standard systems are usually designed to meet the common needs of most customers. However, customers' business scenarios and needs are diverse and constantly changing. Each customer may have their own unique business processes, functional requirements, and customization requirements.

[0003] In the traditional development model, in order to meet the personalized needs of customers, the development team usually needs to continuously add new functions and modules on the basis of the standard system. However, as personalized needs continue to increase, the complexity of the system will gradually increase. The original architecture and design of the standard system may not be able to support these new functions well, causing the system to become bloated and difficult to manage. In addition, as the complexity of the system increases, the difficulty of maintenance and debugging will also increase accordingly, and the development team will need to spend more time and energy to ensure the stability and performance of the system. As the system becomes more complex, the efficiency of developing new functions and fixing vulnerabilities will decrease. And every modification or addition of new functions needs to consider the impact on the existing system, which will increase the development cycle and time cost. Summary of the invention

[0004] Based on this, it is necessary to provide a business function expansion method, device, equipment and storage medium for the above technical problems to solve at least one of the above technical problems.

[0005] The present invention provides a business function expansion method, which is applied to a target system and includes:

[0006] In the process of running the business function corresponding to the business implementation request, detecting whether the business function is associated with configuration information of an extension point, wherein the extension point refers to an interface for inserting a service plug-in function predefined in the target system;

[0007] If there is configuration information of the extension point, and the configuration information indicates that the service plug-in is in the startup state, calling the service plug-in associated with the extension point to obtain response information returned by the service plug-in;

[0008] Based on the response information, continue to execute the business function corresponding to the business implementation request.

[0009] Optionally, according to a business function expansion method provided by the present invention, the calling of the service plug-in associated with the extension point to obtain response information returned by the service plug-in includes:

[0010] According to the preset routing forwarding rules, the business implementation request is forwarded to the service plug-in, so that the service plug-in processes the business implementation request according to the pre-configured business processing rules and returns the response information.

[0011] Optionally, according to a business function expansion method provided by the present invention, before detecting whether the business function is associated with configuration information of an extension point, the method further includes:

[0012] Determining an extension point constructed in the target system, wherein the extension point is constructed according to the requirements of the business function;

[0013] Obtaining basic plug-in information of the service plug-in associated with the extension point;

[0014] Based on the plug-in basic information and the business identifier associated with the business function, the configuration information of the extension point is generated and stored.

[0015] Optionally, according to a service function expansion method provided by the present invention, the continuing to execute the service function corresponding to the service implementation request based on the response information includes:

[0016] If the service type of the service implementation request is a vehicle authentication service, continuing to execute the service function corresponding to the vehicle authentication service according to the authentication result in the response information;

[0017] If the service type of the service implementation request is a billing service, then continue to execute the service function corresponding to the billing service according to the parking fee in the response information;

[0018] If the service type of the service implementation request is a gate opening request service, then the service function corresponding to the gate opening request service continues to be executed according to the gate opening request result in the response information.

[0019] Optionally, according to a business function expansion method provided by the present invention, in the process of running the business function corresponding to the business implementation request, after detecting whether the business function is associated with the configuration information of the extension point, the method further includes:

[0020] If there is no configuration information associated with the extension point, or the configuration information indicates that the service plug-in is in a shutdown state, the business function corresponding to the business implementation request in the target system is executed.

[0021] Optionally, according to a service function expansion method provided by the present invention, after continuing to execute the service function corresponding to the service implementation request based on the response information, the method further includes:

[0022] If a removal request of a service plug-in is received, the configuration information of the extension point associated with the service plug-in is deleted to stop the calling of the service plug-in.

[0023] The present invention also provides a service function expansion device, comprising:

[0024] A detection module, used to detect whether the business function is associated with the configuration information of the extension point during the process of running the business function corresponding to the business realization request, wherein the extension point refers to an interface for inserting the service plug-in function predefined in the target system;

[0025] A calling module, configured to call the service plug-in associated with the extension point to obtain response information returned by the service plug-in if there is configuration information of the extension point and the configuration information indicates that the service plug-in is in a startup state;

[0026] An execution module is used to continue executing the business function corresponding to the business implementation request based on the response information.

[0027] The present invention also provides a computer device, comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein the processor implements the above-mentioned business function expansion method when executing the computer-readable instructions.

[0028] The present invention also provides one or more readable storage media storing computer-readable instructions, and the computer-readable instructions implement the above-mentioned business function expansion method when executed by a processor.

[0029] The above-mentioned business function expansion method, device, equipment and storage medium include: in the process of running the business function corresponding to the business implementation request, detecting whether the business function is associated with the configuration information of the extension point, wherein the extension point refers to the interface for inserting the service plug-in function predefined in the target system; if the configuration information of the extension point exists, and the configuration information indicates that the service plug-in is in the startup state, then calling the service plug-in associated with the extension point to obtain the response information returned by the service plug-in; based on the response information, continuing to execute the business function corresponding to the business implementation request. The present invention pre-builds an extension point on the target system, and the extension point can be configured with a service plug-in associated with a personalized function. In the process of the system running the business function, if it is detected that the configuration information of the extension point indicates that the service plug-in is in the startup state, then calling the service plug-in associated with the extension point, and the plug-in can be used to execute the user's customized function without the need to develop new program functions in the target system. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0031] Figure 1 This is one of the flow diagrams of the business function expansion method in one embodiment of the present invention;

[0032] Figure 2 This is a second flow chart of a method for expanding business functions in one embodiment of the present invention;

[0033] Figure 3 This is a third flow chart of a method for expanding business functions in one embodiment of the present invention;

[0034] Figure 4 is a structural diagram of a service function expansion device in one embodiment of the present invention;

[0035] Figure 5 is a schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION

[0036] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0037] The terms used in one or more embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of the present invention. The singular forms of "a", "said" and "the" used in one or more embodiments of the present invention are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of the present invention refers to and includes any or all possible combinations of one or more associated listed items.

[0038] The present invention provides the following embodiments. In one embodiment, Figure 1 As shown, Figure 1 This is one of the flow diagrams of a method for expanding business functions in an embodiment of the present invention. The embodiment of the present invention provides a method for expanding business functions. The method is applied to a target system and includes the following steps:

[0039] Step S11, in the process of running the business function corresponding to the business implementation request, detecting whether the business function is associated with the configuration information of the extension point;

[0040] It should be noted that the business request requests initiated by different application scenarios are different. For example, in the parking lot management scenario, the target system can be the parking lot management system, and the business implementation request includes request information for business types such as vehicle authentication, billing, and gate opening.

[0041] It should be noted that the extension point refers to the interface for inserting the service plug-in function predefined in the target system. Optionally, the extension point is constructed in the target system according to the actual business function requirements. The number of extension points can be set according to the actual business needs, which will not be repeated here. In one embodiment, in order to meet different customer needs, a multi-level hierarchical extension point can be adopted. Optionally, the top-level interface includes billing, authentication, gate opening and other services; the second-level interface is the management function of billing, authentication, gate opening and other business divisions; the third-level interface is a more specific business detail function. For example, the top-level interface provides the main entrance for the billing service and handles all requests related to billing. The second-level interface includes functions such as order management and coupon management. The third-level interface includes functions such as creating expense orders, updating expense orders, querying expense orders, creating coupons, and issuing coupons.

[0042] In addition, the service implementation request includes information such as service identification and service parameter information. The service identification refers to the identification of a specific service type. Different service types correspond to different service parameter information. For example, the service parameter information of the billing service includes vehicle information, entry time, exit time and other information.

[0043] In one embodiment, when a business implementation request is received, the system starts to execute the business function corresponding to the business implementation request, that is, the system executes a series of specific business operations according to the business identifier and related configuration information of the business implementation request. The execution process of different types of business functions is different. During the operation, it is necessary to detect whether the business function is associated with the configuration information of the extension point.

[0044] Step S12: If there is configuration information of the extension point, and the configuration information indicates that the service plug-in is in the startup state, the service plug-in associated with the extension point is called to obtain response information returned by the service plug-in;

[0045] It should be noted that the service plug-in is an independent functional module or component. Optionally, a plug-in purchase service module is provided on the target system, and users can purchase and activate the service plug-in according to their needs, so that they can use the customized functions in the service plug-in. In addition, all executable service plug-ins are published and deployed to the Serverless platform, and can also be deployed on the server by themselves. Among them, the Serverless deployment platform is published in a fully automated way, and the plug-in publisher does not need to pay attention to the underlying resource distribution.

[0046] In one embodiment, if there is configuration information of the extension point, and the configuration information indicates that the service plug-in associated with the extension point is in a startup state, it is proved that the service plug-in associated with the extension point can be called, that is, the business implementation request is forwarded to the service plug-in, so that the service plug-in can process the business implementation request according to the set business processing rules, that is, the business implementation request is processed according to the business logic in the service plug-in, so as to obtain the response information returned by the service plug-in.

[0047] In addition, if there is no configuration information associated with the extension point, or the service plug-in associated with the extension point is in a shutdown state, the business function corresponding to the business implementation request in the target system is executed, that is, the business implementation request is processed according to the original business function logic of the system.

[0048] In addition, if a removal request of a service plug-in is received, the configuration information of the extension point associated with the service plug-in is deleted to stop the calling of the service plug-in.

[0049] Step S13: Based on the response information, continue to execute the business function corresponding to the business implementation request.

[0050] In one embodiment, a business function requires multiple steps to be completed. The response information of the plug-in may be only a part of the entire business function. After receiving the response information returned by the service plug-in, the business function corresponding to the business implementation request is continued to be executed according to the response information. For example, in the vehicle authentication scenario, after the service plug-in returns the authentication result, it is also necessary to execute the process steps such as determining whether to release the vehicle communication according to the authentication result.

[0051] The embodiment of the present invention, through the above scheme, includes: in the process of running the business function corresponding to the business implementation request, detecting whether the business function is associated with the configuration information of the extension point, wherein the extension point refers to the interface for inserting the service plug-in function predefined in the target system; if the configuration information of the extension point exists, and the configuration information indicates that the service plug-in is in the startup state, then calling the service plug-in associated with the extension point to obtain the response information returned by the service plug-in; based on the response information, continuing to execute the business function corresponding to the business implementation request. The embodiment of the present invention pre-builds an extension point on the target system, and the extension point can be configured with a service plug-in associated with a personalized function. In the process of the system running the business function, if it is detected that the configuration information of the extension point indicates that the service plug-in is in the startup state, then calling the service plug-in associated with the extension point, and the personalized function corresponding to the user can be executed by using the plug-in, without the need to develop new program functions in the target system.

[0052] In one embodiment of the present invention, calling a service plug-in associated with an extension point to obtain response information returned by the service plug-in includes:

[0053] According to the preset routing forwarding rules, the business implementation request is forwarded to the service plug-in, so that the service plug-in can process the business implementation request according to the pre-configured business processing rules and return the response information.

[0054] It should be noted that the routing forwarding rule refers to the system's decision on which service plug-in to forward the business request to based on specific rules or conditions. Optionally, a plug-in router is used to implement the forwarding of business implementation requests. The plug-in router records the relationship between all businesses and service plug-ins, and can discover the address of the service plug-in deployment and forward it.

[0055] In one embodiment, the business implementation request is forwarded to the corresponding service plug-in according to the preset routing forwarding rules. The service plug-in processes the business implementation request according to the preset configured business processing rules. The business processing rules define how to process the request and return the correct response. The rules may include: parameter verification (checking whether the request contains all necessary information) and business logic processing rules. Further, after the service plug-in processes the business implementation request, it will generate a response message, wherein the response message includes the result of the operation, status code, error message or other necessary data, and then return the response message to the target system.

[0056] The embodiment of the present invention, through the above scheme, includes: forwarding the business implementation request to the service plug-in according to the preset routing forwarding rules, so that the service plug-in processes the business implementation request according to the pre-configured business processing rules, and returns the response information. The service plug-in associated with the extension point is called to process the business implementation request according to the pre-configured business processing rules in the service plug-in. Each service plug-in represents an independent functional module, and the corresponding personalized function can be executed by using the plug-in, without the need to develop new program functions in the target system.

[0057] like Figure 2 As shown, Figure 2 This is a second flow chart of a method for expanding business functions in one embodiment of the present invention. In one embodiment of the present invention, based on the response information, continuing to execute the business function corresponding to the business implementation request includes:

[0058] Step S131, if the service type of the service implementation request is a vehicle authentication service, then continue to execute the service function corresponding to the vehicle authentication service according to the authentication result in the response information;

[0059] Step S132: If the service type of the service implementation request is a billing service, then continue to execute the service function corresponding to the billing service according to the parking fee in the response information;

[0060] Step S133: If the service type of the service implementation request is a request for opening a gate service, then the service function corresponding to the request for opening a gate service is continued to be executed according to the result of the request for opening a gate in the response information.

[0061] In one embodiment, when the service type of the service implementation request is a vehicle authentication service: the response information includes the authentication result. If the service plug-in returns a successful authentication result, the subsequent operations will continue to execute the processes of controlling the gate opening, unlocking the parking space lock, etc. If the authentication fails, the subsequent operations will be terminated, and the user may need to re-verify.

[0062] In one embodiment, when the service type of the service implementation request is a gate opening service: the response information includes the gate opening request result. If the response information returned by the service plug-in indicates that the gate is confirmed to be opened (for example, the license plate recognition is correct and the payment has been completed, then the gate is confirmed to be opened), the target system will continue to execute the process of opening the gate to release the vehicle. If the response information is not to open the gate (for example, the license plate recognition fails or the payment is not completed, then the gate is determined not to be opened), the target system may execute the process of refusing to release the vehicle, and may also prompt the user (for example, the payment is not completed or the license plate recognition is wrong) and other information.

[0063] In one embodiment, when the service type of the service implementation request is a billing service: the response information includes the calculated parking fee. If the service plug-in returns the billing result, the system will continue the fee settlement process, generate a bill or deduct money.

[0064] The embodiment of the present invention includes the following schemes: if the service type of the service implementation request is the vehicle authentication service, then according to the authentication result in the response information, the service function corresponding to the vehicle authentication service is continued to be executed; if the service type of the service implementation request is the billing service, then according to the parking fee in the response information, the service function corresponding to the billing service is continued to be executed; if the service type of the service implementation request is the gate opening service, then according to the gate opening request result in the response information, the service function corresponding to the gate opening service is continued to be executed. In the gate opening, billing and authentication scenarios of the parking lot, the service plug-in of the extension point can access the target system through a predefined interface to provide functions such as authentication and billing. When the system receives a request, it will call the relevant service plug-in according to the configuration, and the service plug-in will return the response information, and then continue to execute the subsequent business process according to the response information. The system can flexibly insert, update or replace plug-ins to realize user-customized business functions without making large-scale modifications to the entire business process.

[0065] like Figure 3 As shown, Figure 3 FIG3 is a flow chart of a method for expanding business functions in an embodiment of the present invention. In an embodiment of the present invention, before detecting whether the business function is associated with configuration information of an extension point, the method further includes:

[0066] Step S21, determining an extension point constructed in the target system, wherein the extension point is constructed according to the requirements of the business function;

[0067] Step S22, obtaining basic plug-in information of the service plug-in associated with the extension point;

[0068] Step S23: Generate and store configuration information of the extension point based on the basic information of the plug-in and the business identifier associated with the business function.

[0069] Specifically, in the target system, an extension point refers to an interface or location where the system can be extended through an external plug-in or module. The process of building an extension point is designed according to business requirements and system architecture. For example, if a functional module needs to add a new processing method or function, an extension point can be defined in the system to allow external service plug-ins to access. This allows other users to access customized functions without having to develop new program functions in the target system. In addition, the basic plug-in information of the service plug-in is obtained. The basic plug-in information usually includes the plug-in identifier (ID), name, type, version, provided function description, interface definition, etc. This information helps the system identify the plug-in and adapt it according to the requirements. Based on the plug-in basic information and the business identifier associated with the business function, the configuration information related to the extension point is generated and stored. The configuration information includes but is not limited to the plug-in usage, the associated business identifier, the dependency, the activation status of the plug-in, the configuration information (such as parameters, thresholds), and other information.

[0070] Through the above steps, the embodiment of the present invention realizes pre-building extension points on the target system. The extension points can be configured with service plug-ins associated with personalized functions. The system can flexibly insert service plug-ins to realize user-customized business functions without the need to develop new program functions in the target system.

[0071] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0072] In one embodiment, a service function expansion device is provided, and the service function expansion device corresponds one-to-one to the service function expansion method in the above embodiment. Figure 4 As shown, Figure 4 : is a schematic diagram of a structure of a service function expansion device in one embodiment of the present invention, the service function expansion device comprises:

[0073] A detection module 31 is used to detect whether the business function is associated with the configuration information of the extension point during the process of running the business function corresponding to the business realization request, wherein the extension point refers to the interface for inserting the service plug-in function predefined in the target system;

[0074] The calling module 32 is used to call the service plug-in associated with the extension point to obtain the response information returned by the service plug-in if there is configuration information of the extension point and the configuration information indicates that the service plug-in is in the startup state;

[0075] The execution module 33 is used to continue executing the business function corresponding to the business implementation request based on the response information.

[0076] The calling module 32 is also used for:

[0077] According to the preset routing forwarding rules, the business implementation request is forwarded to the service plug-in, so that the service plug-in can process the business implementation request according to the pre-configured business processing rules and return the response information.

[0078] The business function expansion device also includes:

[0079] A determination module is used to determine the extension points to be built in the target system, wherein the extension points are built according to the requirements of business functions;

[0080] The plug-in basic information module is used to obtain the plug-in basic information of the service plug-in associated with the extension point;

[0081] The generation module is used to generate and store the configuration information of the extension point based on the basic information of the plug-in and the business identifier associated with the business function.

[0082] The execution module is also used to:

[0083] If the service type of the service implementation request is a vehicle authentication service, then the service function corresponding to the vehicle authentication service shall continue to be executed according to the authentication result in the response information;

[0084] If the service type of the service implementation request is a billing service, the service function corresponding to the billing service will continue to be executed according to the parking fee in the response information;

[0085] If the service type of the service implementation request is a request for gate opening service, the service function corresponding to the request for gate opening service is continued to be executed according to the gate opening request result in the response information.

[0086] The business function expansion device also includes:

[0087] The processing module is used to execute the business function corresponding to the business implementation request in the target system if there is no configuration information associated with the extension point, or the configuration information indicates that the service plug-in is in a shutdown state.

[0088] The business function expansion device also includes:

[0089] The removal module is used to delete the configuration information of the extension point associated with the service plug-in if a removal request of the service plug-in is received, so as to stop the calling of the service plug-in.

[0090] For the specific definition of the business function expansion device, please refer to the definition of the business function expansion method above, which will not be repeated here. Each module in the above-mentioned business function expansion device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0091] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 5 As shown, Figure 5 : is a schematic diagram of a computer device in one embodiment of the present invention. The computer device includes a processor, a memory, a network interface and a database connected by a device bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a readable storage medium and an internal memory. The readable storage medium stores an operating device, a computer-readable instruction and a database. The internal memory provides an environment for the operation of the operating device and the computer-readable instructions in the readable storage medium. The database of the computer device is used to store data involved in the business function expansion method. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer-readable instruction is executed by the processor, a business function expansion method is implemented. The readable storage medium provided in this embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.

[0092] In one embodiment, a computer device is provided. The computer device may be a terminal device, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, and a network interface connected through a device bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a readable storage medium. The readable storage medium stores computer-readable instructions. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer-readable instructions are executed by the processor, a business function expansion method is implemented. The readable storage medium provided in this embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.

[0093] In one embodiment, a computer device is provided, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, and the processor implements the steps of the above-mentioned business function expansion method when executing the computer-readable instructions.

[0094] In one embodiment, a readable storage medium is provided, the readable storage medium stores computer-readable instructions, and the computer-readable instructions are executed by the processor to implement the steps of the business function expansion method as described above. A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When the computer-readable instructions are executed, they may include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0095] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0096] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.

Claims

1. A method for expanding business functions, characterized in that: The method is applied to a target system and comprises: In the process of running the business function corresponding to the business implementation request, detecting whether the business function is associated with configuration information of an extension point, wherein the extension point refers to an interface for inserting a service plug-in function predefined in the target system; If there is configuration information of the extension point, and the configuration information indicates that the service plug-in is in the startup state, calling the service plug-in associated with the extension point to obtain response information returned by the service plug-in; Based on the response information, continue to execute the business function corresponding to the business implementation request.

2. The business function expansion method according to claim 1, characterized in that: The calling of the service plug-in associated with the extension point to obtain response information returned by the service plug-in includes: According to the preset routing forwarding rules, the business implementation request is forwarded to the service plug-in, so that the service plug-in processes the business implementation request according to the pre-configured business processing rules and returns the response information.

3. The business function expansion method according to claim 1, characterized in that: Before detecting whether the business function is associated with the configuration information of the extension point, the method further includes: Determining an extension point constructed in the target system, wherein the extension point is constructed according to the requirements of the business function; Obtaining basic plug-in information of the service plug-in associated with the extension point; Based on the plug-in basic information and the business identifier associated with the business function, the configuration information of the extension point is generated and stored.

4. The business function expansion method according to claim 1, characterized in that: The continuing to execute the business function corresponding to the business implementation request based on the response information includes: If the service type of the service implementation request is a vehicle authentication service, continuing to execute the service function corresponding to the vehicle authentication service according to the authentication result in the response information; If the service type of the service implementation request is a billing service, then continue to execute the service function corresponding to the billing service according to the parking fee in the response information; If the service type of the service implementation request is a gate opening request service, then the service function corresponding to the gate opening request service continues to be executed according to the gate opening request result in the response information.

5. The business function expansion method according to claim 1, characterized in that: In the process of running the business function corresponding to the business implementation request, after detecting whether the business function is associated with the configuration information of the extension point, the method further includes: If there is no configuration information associated with the extension point, or the configuration information indicates that the service plug-in is in a shutdown state, the business function corresponding to the business implementation request in the target system is executed.

6. The business function expansion method according to claim 1, characterized in that: After continuing to execute the business function corresponding to the business implementation request based on the response information, the method further includes: If a removal request of a service plug-in is received, the configuration information of the extension point associated with the service plug-in is deleted to stop the calling of the service plug-in.

7. A business function expansion device, characterized in that: include: A detection module, used to detect whether the business function is associated with the configuration information of the extension point during the process of running the business function corresponding to the business realization request, wherein the extension point refers to an interface for inserting the service plug-in function predefined in the target system; A calling module, configured to call the service plug-in associated with the extension point to obtain response information returned by the service plug-in if there is configuration information of the extension point and the configuration information indicates that the service plug-in is in a startup state; An execution module is used to continue executing the business function corresponding to the business implementation request based on the response information.

8. The service function expansion device according to claim 7, characterized in that: The calling module is also used for: According to the preset routing forwarding rules, the business implementation request is forwarded to the service plug-in, so that the service plug-in processes the business implementation request according to the pre-configured business processing rules and returns the response information.

9. A computer device comprising a memory, a processor, and computer-readable instructions stored in the memory and executed on the processor, characterized in that: When the processor executes the computer-readable instructions, the business function expansion method according to any one of claims 1 to 6 is implemented.

10. A readable storage medium having computer readable instructions stored thereon, characterized in that: When the computer-readable instructions are executed by a processor, the business function expansion method according to any one of claims 1 to 6 is implemented.