Request processing method, device, electronic device and storage medium

By deploying basic and extended applications in the middle-end system and using the remote calling mechanism to process personalized requests, the problem of difficulty in managing personalized requirements and waste of development resources in the middle-end system is solved, and the development efficiency and maintenance convenience of extended applications are improved. .

CN113810472BActive Publication Date: 2024-10-22阿里巴巴(中国)网络技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110998218.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-27
Publication Date
2024-10-22
Estimated Expiration
2041-08-27

AI Technical Summary

Technical Problem

In the middle-end system, it is more difficult to manage and operate personalized requirements, resulting in a decrease in development efficiency. The traditional architecture causes each participant to repeatedly develop the same functions, resulting in a waste of development resources.

Method used

By deploying basic applications and extended applications in the middle-end system, using the remote calling mechanism to determine the deployment location of the target extended application according to the target request of the requester, initiating remote calls to the target tenant, processing the request and feeding back the results, realizing personalized functions Call and deploy.

Benefits of technology

It improves development efficiency, reduces repeated development, facilitates the maintenance and update of extended applications, reduces the maintenance pressure on the middle-end system, and allows participants to manage computing and storage resources by themselves.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113810472B_ABST
    Figure CN113810472B_ABST
Patent Text Reader

Abstract

One or more embodiments of this specification provide a request processing method, device, electronic device and storage medium, wherein a basic application is deployed in the middle office system, and an extended application implemented based on the basic application is deployed in the middle office system or a tenant served by the middle office system, and the middle office system provides a call service for the basic application and extended application deployed by itself, and the method includes: determining the first extended application involved in the target request according to the target request initiated by the requester; when the first extended application is deployed at the target tenant, initiating a remote call to the target tenant so that the first extended application processes the target request; and feeding back the processing result returned by the target tenant to the requester. This specification completes the processing of the request through the cooperation between the middle office system and the target tenant, which alleviates the processing pressure of the middle office system and enables the target tenant to manage the machine resources used by the extended application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] One or more embodiments of the present specification relate to the field of computer technology, and in particular, to a request processing method, device, electronic device, and storage medium. Background Art

[0002] The middle platform system is composed of a series of execution standards, operating mechanisms, configuration management and execution systems, and operation service teams, which provide all participants with the ability to innovate quickly and at low cost. After the establishment of the middle platform system, the R&D system has changed from "centralized development to improve its own R&D efficiency" to "distributed development to ensure global throughput and improve the R&D efficiency of participants", which has greatly improved the innovation efficiency of the participants. However, as the personalized needs of each participant increase, the participants need to realize the above personalized needs through the middle platform system, which is difficult to manage and operate. Summary of the invention

[0003] In view of this, one or more embodiments of this specification provide a request processing method and device.

[0004] To achieve the above objectives, one or more embodiments of this specification provide the following technical solutions:

[0005] According to a first aspect of one or more embodiments of this specification, a request processing method is proposed, which is applied to a middle office system, wherein a basic application is deployed in the middle office system, and an extended application implemented based on the basic application is deployed in the middle office system or a tenant served by the middle office system, and the middle office system provides a call service for the basic application and the extended application deployed by itself, and the method includes:

[0006] Determining, according to a target request initiated by a requester, a first extended application involved in the target request;

[0007] In the case where the first extended application is deployed at the target tenant, a remote call is initiated to the target tenant, so that the first extended application processes the target request;

[0008] The processing result returned by the target tenant is fed back to the requesting party.

[0009] According to a second aspect of one or more embodiments of this specification, a request processing method is proposed, which is applied to a target tenant, including:

[0010] Receiving a remote call initiated by the middle office system for a first extended application deployed at the target tenant, wherein the remote call is initiated by the middle office system when receiving a target request initiated by a requester and the first extended application involved in the target request is deployed at the target tenant;

[0011] The target request is processed by the first extended application, and the corresponding processing result is returned to the middle-office system, so that the middle-office system can further feed back to the requesting party.

[0012] According to a third aspect of one or more embodiments of this specification, a request processing device is proposed, which is applied to a middle office system, wherein a basic application is deployed in the middle office system, and an extended application implemented based on the basic application is deployed in the middle office system or a tenant served by the middle office system, and the middle office system provides a calling service for the basic application and the extended application deployed by itself, and the device includes:

[0013] A determining unit, configured to determine, according to a target request initiated by a requester, a first extended application involved in the target request;

[0014] a remote calling unit, configured to initiate a remote call to a target tenant when the first extended application is deployed at the target tenant, so that the first extended application processes the target request;

[0015] A feedback unit is used to feed back the processing result returned by the target tenant to the requesting party.

[0016] According to a fourth aspect of one or more embodiments of this specification, a request processing device is provided, which is applied to a target tenant and includes:

[0017] A receiving unit, configured to receive a remote call initiated by the middle office system for a first extended application deployed at the target tenant, wherein the remote call is initiated by the middle office system when receiving a target request initiated by a requester and the first extended application involved in the target request is deployed at the target tenant;

[0018] The returning unit processes the target request through the first extended application, and returns the corresponding processing result to the middle platform system, so that the middle platform system further feeds back to the requesting party.

[0019] According to a fifth aspect of an embodiment of the present application, a device is provided, including:

[0020] processor;

[0021] a memory for storing processor-executable instructions;

[0022] The processor implements the method described in the embodiment of the first aspect above by running the executable instructions.

[0023] According to a sixth aspect of the embodiments of the present application, a computer-readable storage medium is provided, on which computer instructions are stored. When the instructions are executed by a processor, the steps of the method described in the embodiments of the first aspect above are implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 This is a network architecture diagram applicable to a request processing method provided by an exemplary embodiment.

[0025] Figure 2 A flowchart of a request processing method provided by an exemplary embodiment

[0026] Figure 3 It is a flowchart of another request processing method provided by an exemplary embodiment.

[0027] Figure 4 It is a multi-party interaction diagram of a request processing method provided by an exemplary embodiment.

[0028] Figure 5 It is a structural schematic diagram of a device provided by an exemplary embodiment.

[0029] Figure 6 It is a block diagram of a request processing device provided by an exemplary embodiment.

[0030] Figure 7 It is a block diagram of another request processing device provided by an exemplary embodiment. DETAILED DESCRIPTION

[0031] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of this specification. Instead, they are merely examples of devices and methods consistent with some aspects of one or more embodiments of this specification as detailed in the appended claims.

[0032] It should be noted that: in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the steps included in the method may be more or less than those described in this specification. In addition, a single step described in this specification may be decomposed into multiple steps for description in other embodiments; and multiple steps described in this specification may be combined into a single step for description in other embodiments.

[0033] The front end includes various interfaces for interacting with users, such as web pages, mobile apps, etc.; it also includes various functions on the server side that respond to user requests in real time, such as product query and order system. The back end is not directly facing users, but a configuration management system for operators, such as product management, logistics management, settlement management, etc. In the traditional front-end-back end architecture, each participant is independent of each other, and the developers of each participant are responsible for the development work of their own participant. However, each participant has the same functions that need to be implemented. The traditional architecture causes each participant to repeat the development work for the same functions, resulting in a waste of development resources. In order to improve development efficiency, it is necessary to integrate an intermediate platform to provide some common resources for each participant. This intermediate platform is called the middle platform system. The middle platform system can be understood as the support system of the front end. It not only has the common resources that each participant needs to use, but also can respond to the received processing requests.

[0034] Figure 1 This is a network architecture diagram applicable to a request processing method provided by an exemplary embodiment. The middle office system 11 is deployed with basic applications and at least a part of extended applications. The middle office system 11 can be connected with several tenants, and some extended applications can also be deployed in tenants 13 to 15. An enterprise may have multiple teams to handle development work in different fields. Each team can be called a participant. A participant can apply for a tenant. Figure 1 Tenants 13 to 15 in the above table have their own corresponding participants. Figure 1 The requester 12 can send a processing request to the middle office system 11, and the middle office system 11 responds to the processing request by calling the basic application and related extended applications to process the processing request. In some cases, the requester 12 can also be a participant corresponding to the tenant, and this specification does not limit the type of the requester.

[0035] The extended applications in this specification can be understood with the help of the concept of expansion joints. An extension point is a special interface reserved during system development. The system will dynamically find, load and execute the implementation of this type of interface during runtime. Through the extension point, developers can implement the expansion of specified functions through the extended application deployed at the extension point without modifying the source code, and there is no need to make any modifications to the existing source code. In other words, after the extended application is successfully deployed, the middle platform system 11 can implement the above functions by calling the code corresponding to the extended application.

[0036] However, the implementation of the functions corresponding to the extended application often needs to rely on the basic application. Specifically, the functions implemented by calling the basic application are called basic functions. The above basic functions are often the same functions that all participants need to implement, and the functions implemented by calling the extended application can be called personalized functions, which are a type of functions customized by the participants according to their own characteristics and needs. The process of the middle-office system 11 responding to the request may involve calling the basic application and the extended application, and the process of calling the extended application often depends on the process of calling the basic application. For example, the function implemented by calling the basic application is to place an order, then the function implemented by calling the extended application is to display a specific component on the order interface, and the order function is the basis for displaying the function of the specific component. On the technical level, the process of the middle-office system calling the basic application / extended application can be specifically as follows: the middle-office system implements the functions of the basic application / extended application by loading the code of the above-mentioned basic application / extended application.

[0037] Figure 2 This is a flowchart of a request processing method provided by an exemplary embodiment. The method is applied to a middle office system and may include the following steps:

[0038] Step 202: According to the target request initiated by the requester, a first extended application involved in the target request is determined.

[0039] In one embodiment, based on the architecture adopted, there are certain differences in the way in which the requester initiates the target request to the middle-office system. For example, in the C / S architecture (Client / Server), the requester can initiate the above-mentioned target request to the middle-office system through the client. For another example, in the B / S architecture (Browser / Server), the requester can initiate the request from the browser to the middle-office system. The middle-office system can allocate server resources to process the above-mentioned target request. The server resources here can be a separate physical server or a server cluster including multiple physical servers, or a virtual server or a virtual server cluster. Of course, the above-mentioned way in which the requester initiates the target request to the middle-office system is only exemplary, and this specification does not limit the requester of the target request.

[0040] In one embodiment, the middle office system can parse the target request and confirm the processing flow corresponding to the target request, the participants involved in the processing flow, and the tenants used by the participants based on the analysis results. The above processing flow may include basic functions implemented by utilizing the basic capabilities of the middle office system, as well as several extended applications involving personalized functions of the participants.

[0041] Step 204: when the first extended application is deployed at the target tenant, a remote call is initiated to the target tenant, so that the first extended application processes the target request.

[0042] As mentioned above, an enterprise may have multiple teams that handle development work in different fields. Various organizations belonging to the same team can jointly apply for a tenant as a participant. Each tenant enjoys computing, storage and other machine resources for its own independent use. Various organizations among the participants share the machine resources applied for by their tenants. Several extended applications are deployed at the tenant. Participants can deploy extended applications used to implement their own personalized functions at the tenant they use. When the middle-office system executes and processes the target request, if it involves a personalized function implemented by an extended application deployed at the target tenant, the middle-office system can initiate a remote call to the target tenant where the extended application is located, so that the extended application deployed at the target tenant loads the code of the extended application and implements the personalized function by executing the above code.

[0043] In this specification, both the middle-office system and tenants support the deployment of extended applications corresponding to personalized functions. Compared with the related technology that only supports the deployment of extended applications locally in the middle-office system, the participants can use tenants to manage and control the extended applications deployed at the tenants, and use the tenants to control the machine resources used when the extended applications are running.

[0044] Then, for the target request initiated by the requesting party involved in step 202, the middle-office system and the tenant can cooperate with each other in the following ways to complete the processing of the target request: After receiving the target request, the middle-office system parses the target request and determines the processing flow required to process the above target request based on the parsing result. After the processing flow is determined, the middle-office system executes according to the steps indicated by the processing flow. When executing a target extension application involved in the processing flow, it is necessary to determine the deployment location of the above target extension application.

[0045] In one embodiment, each tenant can send the extended application information deployed at itself to the middle station system in advance, and the middle station system forms pre-recorded deployment information based on the extended application information synchronized by each tenant. During the execution of the processing flow, the middle station system can determine the deployment location of the target extended application by querying the pre-recorded deployment information. The above deployment information at least records the corresponding relationship between each extended application and its respective deployment location, and when the extended application is deployed at the tenant application, the deployment location not only indicates whether the extended application is deployed locally in the middle station system or at the tenant, but also indicates which tenant application the tenant where the extended application is located is specifically among many tenants. When forming the corresponding relationship between the extended application and its deployment location, the extended application ID (Identity document, identity identification number) can be used to characterize the extended application, that is, each extended application has a unique extended application ID, and the IDs of each extended application are different, so as to form a set of corresponding relationships between each extended application ID and its corresponding deployment location, and then the above deployment information is formed by each set of corresponding relationships.

[0046] In one embodiment, the deployment information can be maintained by the middle platform system in the form of tables, key-value pairs, etc. For example, the above deployment information can form a total deployment information table that records the deployment locations of all extended applications. When the middle platform system queries the deployment location of the extended application, it can extract the extended application ID involved in the processing flow, match the extracted extended application ID with the corresponding relationship between the extended application ID and the deployment location recorded in the above total deployment information table, and then determine the deployment location of the extended application. Alternatively, the above deployment information can also be classified according to the deployment location, that is, the extended application deployed at the middle platform system forms a deployment information table, and the extended application deployed at each tenant application forms a deployment information table separately. When the middle platform system queries the deployment information of the extended application, it can query different tables simultaneously or sequentially until the location information of the extended application is confirmed. The deployment information is split into multiple deployment information tables for maintenance, and the middle platform system can determine the deployment location of the extended application by querying only some tables, which helps the middle platform system improve query efficiency and reduce resource consumption.

[0047] After the above query process, if the middle-office system confirms that the deployment location of the above target extended application is a certain tenant, then this tenant can be determined as the target tenant. This specification refers to the target extended application at this time as the first extended application. The middle-office system can remotely call the first extended application deployed at the target tenant application to process the target request. Specifically, the middle-office system can send the data to be processed to the target tenant. The target tenant uses its own computing resources to call the first extended application to process the data to be processed and obtain the execution result of the first extended application, thereby realizing the personalized function corresponding to the first extended application. The target tenant returns the execution result of the first extended application to the middle-office system, so that the middle-office system can continue to execute subsequent processing procedures.

[0048] In one embodiment, the process of the middle office system initiating a remote call to the target tenant can be specifically as follows: the middle office system confirms the target remote call protocol corresponding to the target tenant and initiates a remote call to the first extended application deployed in the target tenant application based on the target remote call protocol, wherein the target remote call protocol is the protocol selected for application during remote call according to the RPC (Remote Procedure Call) technology when the target tenant is established, and the remote call protocol is used for the remote call process of the target tenant application. This specification does not limit the specific type of the optional remote call protocol. The above remote call process can be further specified as follows: the middle office system establishes a TCP (Transmission Control Protocol) connection or other form of connection with the target tenant to be called in advance, and all exchanged data during the remote call process are transmitted in the above connection. The above connection can be an on-demand connection, that is, the above connection is disconnected after each call to an extended application is completed, and the connection is re-established at the next call; the above connection can also be a long connection, that is, multiple remote call processes for extended applications share the same connection.

[0049] After the connection is established, the middle office system can determine the address and port of the target tenant according to the remote call protocol selected by the target tenant, and then the middle office system transmits the processing request of the target extension application to the determined address and port of the target tenant using the above connection. After the target tenant receives the processing request for the target extension application, it calls the target extension application to process the processing request and returns the processing result to the middle office system through the above connection.

[0050] The extended application deployed at the tenant may have only a single version, so the middle-office system does not need to pay attention to version differences when making remote calls. However, in actual applications, there may be multiple different versions of the extended application. In this case, the middle-office system can send the target version information to the target tenant so that the first extended application corresponding to the target version can process the above target request. Specifically, for the same processing flow, multiple extended applications may be involved, and the codes recorded in the development kits corresponding to each extended application may have dependencies. Therefore, when there are multiple versions of the extended application, it is necessary to ensure that the version of each extended application used in the processing flow is the same. Otherwise, during the processing of the process, errors may occur in the dependencies between different extended applications, and even the processing flow cannot proceed normally.

[0051] The middle office system can determine the target version to be selected from all versions of the extended application, and when calling the target tenant remotely, the selected target version information is sent to the target tenant, and the target tenant selects the extended application of the version matching the target version information to process the target request; or, the above target version can also be determined by the target tenant, and the target tenant sends the determined target version information to the middle office system. For example, in the process of processing the target request, when the middle office system executes the first extended application of the corresponding processing flow, it can be determined whether the target version used by all extended applications is specified by the middle office system or the target tenant based on the deployment location of the first extended application: if the first extended application is deployed at the middle office system, the middle office system can randomly specify the target version among the different versions of the extended application as the target version selected for this processing flow; if the first extended application is deployed at the target tenant, the target tenant can randomly specify the target version among the different versions of the extended application as the target version selected for this processing flow.

[0052] Regardless of whether the target version is specified by the middle office system or by the target tenant, when executing other extended applications in the processing flow, it is necessary to ensure that the versions of other extended applications selected are the same as the versions corresponding to the previously executed extended applications. When the processing flow corresponding to the above target request is completed, the versions selected by all extended applications involved in the above processing flow are the same.

[0053] After the above query process, if the middle platform system confirms that the deployment location of the above target extension application is the middle platform system, it means that the code corresponding to this target extension application is deployed locally in the middle platform system. This specification refers to the target extension application at this time as the second extension application. The middle platform system can initiate a local call to the second extension application, use the computing resources of the middle platform system itself to process the data to be processed and obtain the execution result of the second extension application.

[0054] It should be pointed out that for the above-mentioned first extended application, the middle-office system must make a remote call to the extended application when executing the first extended application for the first time. During or after the remote call, the middle-office system can confirm whether there is a dependency relationship between the first extended application and other extended applications involved in the target request; if the above-mentioned first extended application does not have a dependency relationship with other extended applications, it means that the first extended application can be executed independently from other extended applications. For the first extended application that can be executed independently, the middle-office system can cache its corresponding code locally in the middle-office system. When the first extended application is executed again in the future, the middle-office system can directly use the above-mentioned code that has been cached locally to process the target request without remotely calling the target tenant, so as to improve processing efficiency and reduce data transmission resources. Therefore, when the middle-office system calls the first extended application to process the target request, the actual processing logic can be: first confirm whether the code corresponding to the first extended application has been cached locally in the middle-office system. If the code of the first extended application already exists, there is no need to remotely call the first extended application deployed at the target tenant application, but directly call the code of the first extended application cached locally in the middle-office system to process the target request; if the code of the first extended application has not been cached locally in the middle-office system, the middle-office system selects the remote call mode to execute the first extended application.

[0055] Step 106: Feedback the processing result returned by the target tenant to the requesting party.

[0056] In one embodiment, completing the processing flow of processing the target request requires not only calling the extended application, but also calling the basic application. When the basic application and all the extended applications in the processing flow are called, the generated processing result is the processing result of the target request. At this time, the middle office system can return the processing result of the target request to the requester to complete the response process to the target request. Alternatively, the part that can be executed independently in the processing flow can directly return the processing result after execution, without returning the processing result together after the overall execution of the processing flow is completed.

[0057] If all extended applications are deployed at the middle office system, then the machine resources used by the extended applications are allocated by the middle office system, and the publishing process of the extended applications is also controlled by the middle office system. The participating parties cannot control the machine resources used by the extended applications and the publishing process of the extended applications. As can be seen from the above embodiments, this specification deploys some extended applications at the tenant. When the requester initiates a target request, the middle office system can choose to call locally or remotely according to the deployment information of the extended application, and complete the processing of the target request through the cooperation between the middle office system and the tenant. Deploying some extended applications at the tenant can facilitate the participants who use the tenant to quickly develop and publish the corresponding code of the extended application, facilitate the maintenance and update of the extended application, and also reduce the maintenance pressure of the middle office system on the extended application. In addition, the participants can also allocate the storage resources, computing resources and other machine resources used by the extended application through the tenant, and manage and control their own extended applications more freely.

[0058] Figure 3 : is a flowchart of another request processing method provided by an exemplary embodiment. The above request processing method is applied to the target tenant. The specific steps of another request processing method are described in detail below:

[0059] Step 302: Receive a remote call initiated by the middle office system for the first extended application deployed at the target tenant, wherein the remote call is initiated by the middle office system when receiving a target request initiated by a requester and the first extended application involved in the target request is deployed at the target tenant.

[0060] Step 304: Process the target request through the first extended application, and return the corresponding processing result to the middle office system, so that the middle office system can further feed back to the requesting party.

[0061] The extended embodiments corresponding to the above steps can refer to the above Figure 2 A detailed description of the request processing method shown is not repeated in this specification.

[0062] Figure 4 This is an interaction diagram of a request processing method provided by an exemplary embodiment. The specific steps of the request processing method interaction are described in detail below:

[0063] Step 402: The target tenant synchronizes the extended application information deployed on itself to the middle office system.

[0064] In one embodiment, the middle office system can be connected to multiple tenant applications respectively. In this embodiment, the target tenant is used as an example for explanation. One or more related participants can jointly manage and use a tenant application. For example, the participants who use and manage the target tenant application at the same time may include multiple participants such as participant A, participant B, and participant C. The management processing procedures of different participants are different. The above-mentioned multiple participants apply for machine resources on a target tenant basis, and the above-mentioned participants share the machine resources corresponding to the target tenant. Each participant in the target tenant can manage and control several extended applications separately or jointly, and the above-mentioned extended applications are deployed at the target tenant. In step 302, the target tenant can synchronize the information of the extended applications deployed at itself to the middle office system. For example, the target tenant can synchronize the IDs of each extended application deployed at itself to the middle office system.

[0065] Step 404: The middle office system uses the extended application information to form deployment information.

[0066] In one embodiment, the extended application involved in the processing flow can be deployed either at the target tenant or at the middle office system. For the extended application deployed at the middle office system, the middle office system can execute it through local calls. In this specification, during the execution of the processing flow, the middle office system needs to cooperate with the tenant application. Specifically, the middle office system needs to determine the deployment location of the extended application during the execution of the processing flow to determine whether the remote call mode or the local call mode is required when calling the extended application. In order to query the deployment location of the extended application during the execution of the processing flow, the middle office system can pre-form deployment information, and the deployment information records the correspondence between the extended application and its deployment location. For example, in step 402, each tenant can synchronize the extended application ID deployed by itself and the correspondence between each extended application and the participating party to the middle office system. The middle platform system can associate the extended application ID synchronized by each tenant with the tenant according to the tenant information of the synchronization operation, and combine the extended application information local to the middle platform system to form deployment information that records the deployment locations of all extended applications. The deployment information records the extended application ID, whether the deployment location of this extended application is located in the local middle platform system or in a tenant application, and the interface information needed to call this extended application. The middle platform system can also further divide the deployment information into multiple parts according to the deployment location of the extended application, that is, the extended application deployed locally in the middle platform system forms a local deployment information, and the extended application deployed at each tenant application forms multiple remote deployment information. The middle platform system can also further classify each remote deployment information according to the participating parties to improve the efficiency of the query. This manual only gives an example of one form of organization of the deployment information. The deployment information can also be organized in other ways, and this manual does not limit it.

[0067] Step 406: The requesting party sends a target request to the middle office system.

[0068] Step 408: The middle office system confirms the identity of the participant.

[0069] In one embodiment, after receiving the target request sent by the requester, the middle office system can parse the target request to obtain the participants involved in processing the target request and the tenants where the participants are located, that is, confirm the identities of the participants. In the case where the middle office system classifies the remote deployment information according to the different participants, when querying the deployment location of the extended application, the middle office system can use the information of the participants to quickly filter out the deployment location of the corresponding extended application from the deployment information.

[0070] Step 410: The middle office system executes the processing flow.

[0071] In one embodiment, the middle platform system can parse the target request and confirm the processing flow required to process the target request from the parsing result. The above processing flow may involve the middle platform system calling the basic functions implemented by the basic application, and may also include the personalized functions corresponding to each extended application. The middle platform system can execute various types of logic in sequence according to the order recorded in the processing flow.

[0072] Step 412: Confirm the deployment location of the extended application.

[0073] In one embodiment, when the middle platform system executes a processing flow and executes a certain extended application, it can query the deployment location of this extended application based on the deployment information formed in step 304. Specifically, the middle platform system can confirm the extended application ID corresponding to this extended application, first query the local deployment information, if the local deployment information records the ID of this extended application, it can be confirmed that the deployment location of this extended application is local to the middle platform system, and the middle platform system can directly process the target request by calling the code of this extended application locally, that is, step 414; if the local deployment information does not contain the ID of this extended application, the middle platform system can use the tenant information contained in the identity of the participant to determine the remote deployment information corresponding to this tenant, and further filter out several extended applications controlled by this participant from this remote deployment information based on the participant information, and then filter out the interface information for calling this extended application based on this extended application ID.

[0074] In step 416, the middle office system can initiate a remote call to the specific interface of the target tenant according to the deployment location of the extended application determined in the above steps. During the remote call process, when the target tenant is established, the protocol applied during the remote call can be selected according to the RPC technology. When the middle office system needs to call the target tenant to process the target request using the first extended application, the remote call process can be performed according to the remote call protocol corresponding to the target tenant.

[0075] Step 418: The target tenant executes the extended application deployed at the target tenant application.

[0076] In one embodiment, the target tenant responds to a remote call initiated by the middle office system to a specific interface at the target tenant, and uses an extended application deployed at the specific interface to process the target request, that is, the target tenant processes the target request by executing the code of this extended application, and returns the execution result generated after the execution of this extended application to the middle office system.

[0077] Step 420: The target tenant returns the execution result of the extended application to the middle office system.

[0078] Step 422: The middle office system completes the processing flow.

[0079] In one embodiment, the processing flow corresponding to the target request may include multiple extended applications that need to be executed. For each extended application, the middle-office system needs to confirm its deployment location, and then select the local call mode or the remote call mode. When the middle-office system calls the basic applications and each extended application involved in the processing flow in the order recorded in the processing flow, it can generate the processing result corresponding to the above target request. When the processing flow is executed and the processing result is generated, the middle-office system can return the processing result to the requester. That is, step 424, to complete the target request processing process.

[0080] Figure 5 is a schematic structural diagram of a device provided by an exemplary embodiment. Figure 5 At the hardware level, the device includes a processor 502, an internal bus 504, a network interface 506, a memory 508, and a non-volatile memory 510, and may also include hardware required for other services. One or more embodiments of this specification may be implemented based on software, such as the processor 502 reading the corresponding computer program from the non-volatile memory 510 into the memory 508 and then running it. Of course, in addition to the software implementation, one or more embodiments of this specification do not exclude other implementations, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0081] Please refer to Figure 6 , the request processing device can be applied to Figure 5The device shown in the figure is used to implement the technical solution of this specification. The device is applied to the middle office system, in which the basic application is deployed, and the extended application based on the basic application is deployed in the middle office system or the tenant served by the middle office system, and the middle office system provides a call service for the basic application and extended application deployed by itself. The request processing device may include:

[0082] A determining unit 602 is configured to determine, according to a target request initiated by a requester, a first extended application involved in the target request;

[0083] Remote calling unit 604: when the first extended application is deployed at the target tenant, initiates a remote call to the target tenant, so that the first extended application processes the target request;

[0084] The feedback unit 606 is used to feed back the processing result returned by the target tenant to the requesting party.

[0085] Optionally, the request processing device may further include a query unit 608 for determining whether the extended application involved in the target request is deployed in the middle office system or the target tenant based on pre-recorded deployment information of each extended application in the middle office system and each tenant.

[0086] Optionally, the initiating a remote call to the target tenant includes:

[0087] Confirm the target remote call protocol corresponding to the target tenant;

[0088] A remote call is initiated to the target tenant based on the target remote call protocol.

[0089] Optionally, the request processing device may further include a version sending unit 610:

[0090] The target version information is sent to the target tenant, so that the target request is processed by the first extended application corresponding to the target version.

[0091] Optionally, the version information corresponding to all extended applications involved in the target request is the same.

[0092] Optionally, the target version is randomly specified by the middle office system or the target tenant.

[0093] Optionally, the request processing device may further include a cache unit 612:

[0094] used to confirm whether the first extended application has a dependency relationship with other extended applications involved in the target request;

[0095] In the case that the first extended application has no dependency relationship with the other extended applications, the code corresponding to the first extended application is cached locally in the middle station system, so that the middle station system calls the code of the first extended application locally.

[0096] Optionally, when the target request further involves a second extended application, and the second extended application is deployed at the middle office system, the request processing device may further include a local calling unit 614:

[0097] A local call is initiated to the second extended application, so that the second extended application processes the target request and feeds back the processing result to the requesting party.

[0098] refer to Figure 7 , the request processing device can be applied to Figure 5 The device shown is used to implement the technical solution of this specification.

[0099] The request processing device is applied to the target tenant, and the device may include:

[0100] Receiving unit 702: used to receive a remote call initiated by the middle office system for the first extended application deployed at the target tenant, wherein the remote call is initiated by the middle office system when receiving a target request initiated by a requester and the first extended application involved in the target request is deployed at the target tenant;

[0101] The returning unit 704 processes the target request through the first extended application, and returns the corresponding processing result to the middle office system, so that the middle office system further feeds back to the requesting party.

[0102] Optionally, the request processing device may further include a version determination unit 606:

[0103] Used to receive information about the target version sent by the middle office system;

[0104] The target request is processed by a first extended application corresponding to the target version.

[0105] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, a game console, a tablet computer, a wearable device or a combination of any of these devices.

[0106] In a typical configuration, a computer includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0107] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0108] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, disk storage, quantum memory, graphene-based storage media or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0109] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0110] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0111] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims 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 herein refers to and includes any or all possible combinations of one or more associated listed items.

[0112] It should be understood that although the terms first, second, third, etc. may be used to describe various information in one or more embodiments of this specification, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0113] The above description is merely a preferred embodiment of one or more embodiments of the present specification and is not intended to limit one or more embodiments of the present specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of one or more embodiments of the present specification shall be included in the scope of protection of one or more embodiments of the present specification.

Claims

1. A request processing method, applied to a middle-office system, wherein a basic application is deployed in the middle-office system, and an extended application implemented based on the basic application is deployed in the middle-office system or a tenant served by the middle-office system, and the middle-office system provides a calling service for the basic application and extended application deployed by itself; The method comprises: Determining, according to a target request initiated by a requester, a first extended application involved in the target request; In the case where the first extended application is deployed at the target tenant, a remote call is initiated to the target tenant, so that the first extended application processes the target request; Wherein, initiating a remote call to the target tenant includes: confirming a target remote call protocol corresponding to the target tenant, and initiating a remote call to the target tenant based on the target remote call protocol; The processing result returned by the target tenant is fed back to the requesting party.

2. The method according to claim 1, further comprising: According to the pre-recorded deployment information of the extended application in the middle office system and each tenant, it is determined whether the extended application involved in the target request is deployed in the middle office system or the target tenant.

3. The method according to claim 1, further comprising: Determine whether the first extended application has a dependency relationship with other extended applications involved in the target request; In the case that the first extended application has no dependency relationship with the other extended applications, the code corresponding to the first extended application is cached locally in the middle station system, so that the middle station system calls the code of the first extended application locally.

4. The method according to claim 1, when the target request further involves a second extended application, and the second extended application is deployed at the middle office system, further comprising: A local call is initiated to the second extended application, so that the second extended application processes the target request and feeds back the processing result to the requesting party.

5. A request processing method, applied to a target tenant, comprising: Receive a remote call initiated by the middle office system for the first extended application deployed at the target tenant, wherein the remote call is initiated by the middle office system when receiving a target request initiated by a requester and the first extended application involved in the target request is deployed at the target tenant; wherein the target tenant application corresponds to a target remote call protocol, and the remote call is initiated by the middle office system to the target tenant based on the target remote call protocol; The target request is processed by the first extended application, and the corresponding processing result is returned to the middle-office system, so that the middle-office system can further feed back to the requesting party.

6. A request processing device, applied to a middle office system, wherein a basic application is deployed in the middle office system, and an extended application implemented based on the basic application is deployed in the middle office system or a tenant served by the middle office system, and the middle office system provides a calling service for the basic application and extended application deployed by itself, the device comprising: A determining unit, configured to determine, according to a target request initiated by a requester, a first extended application involved in the target request; a remote calling unit, configured to initiate a remote call to a target tenant when the first extended application is deployed at the target tenant, so that the first extended application processes the target request; Wherein, initiating a remote call to the target tenant includes: confirming a target remote call protocol corresponding to the target tenant, and initiating a remote call to the target tenant based on the target remote call protocol; A feedback unit is used to feed back the processing result returned by the target tenant to the requesting party.

7. A request processing device, applied to a target tenant, comprising: A receiving unit, configured to receive a remote call initiated by the middle office system for a first extended application deployed at the target tenant, wherein the remote call is initiated by the middle office system when receiving a target request initiated by a requester and the first extended application involved in the target request is deployed at the target tenant; wherein the target tenant application corresponds to a target remote call protocol, and the remote call is initiated by the middle office system to the target tenant based on the target remote call protocol; The returning unit processes the target request through the first extended application, and returns the corresponding processing result to the middle platform system, so that the middle platform system further feeds back to the requesting party.

8. An electronic device comprising: processor; a memory for storing processor-executable instructions; The processor implements the method according to any one of claims 1 to 5 by running the executable instructions.

9. A computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 5.