Business processing result notification method and device and electronic equipment
By obtaining and building the service processing results of the first system, notifying the service object to make remote calls, the problem that the second system needs to introduce jar packages and modify codes for each newly accessed first system is solved, and the access efficiency is improved. Reduces system stability risks and realizes automated business processing results notification.
Patent Information
- Application Number
- CN202310722507.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-16
- Publication Date
- 2024-12-17
AI Technical Summary
In the prior art, the second system needs to introduce jar packets and modify codes for each newly accessed first system, resulting in low automation of service processing result notifications and low access efficiency.
By obtaining the class configuration information of the notification service for the business processing result of the first system, building a class object and remotely calling it, it realizes notifying the business processing result to the first system without introducing a new jar package or modifying the code of the second system.
The access efficiency of the new first system is improved, the system stability risks brought about by the transformation of the second system are reduced, and the automatic notification of business processing results is realized.
Smart Images

Figure CN119149262A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device and electronic device for notifying a business processing result. Background Art
[0002] In the related art, after the first system initiates a service processing request to the second system, the second system returns the service processing result to the first system after the service processing request is processed. Figure 1 As shown, the process of funds clearing on the UnionPay platform may include: ① The clearing business system 11 of the UnionPay platform initiates a business clearing request to the clearing instruction processing system 12 of the UnionPay platform; ② After receiving the business clearing request from the clearing business system 11, the clearing instruction processing system 12 queries the clearing business system access configuration information 14, verifies the legitimacy of the business clearing request based on the key, and sends a funds clearing message to the PBOC system 13 according to the PBOC message type required for business clearing; ③ The PBOC system 13 performs clearing after receiving the funds clearing message, and asynchronously notifies the clearing instruction processing system 12 of the clearing result after the clearing is completed; ④ After receiving the asynchronous notification from the PBOC system 13, the clearing instruction processing system 12 notifies the clearing business system 11 of the clearing result. Figure 1 In the example shown, the clearing business system 11 is the first system, and the clearing instruction processing system 12 is the second system. After the clearing business system 11 initiates a business clearing request to the clearing instruction processing system 12, the clearing instruction processing system 12 needs to notify the clearing business system of the clearing result.
[0003] Currently, the second system needs to introduce the jar package of the first system (the jar package stores the code for feeding back the business processing results to the first system) and modify its own code to support notifying the first system of the business processing results.
[0004] However, the above-mentioned service processing result notification method has a low degree of automation. Each time a new first system is connected, the second system needs to be modified once, which makes the access efficiency of the new first system low. Therefore, it is urgently needed to be improved. Summary of the invention
[0005] The embodiments of the present application provide a business processing result notification method, device and electronic device to automatically support notification of a clearing result to a first system without introducing a new jar package of the first system and without changing the second system.
[0006] In a first aspect, an embodiment of the present application further provides a service processing result notification method, which is applied to a second system, and the method includes:
[0007] When it is necessary to notify the first system of the business processing result, obtaining class configuration information of the business processing result notification service of the first system, wherein the first system is the system that initiates the business processing request to the second business system;
[0008] Constructing a class object of the business processing result notification service based on the class configuration information;
[0009] The business processing result notification service is remotely called based on the class service object, so that the first system obtains the business processing result from the second system.
[0010] In a second aspect, an embodiment of the present application further provides a service processing result notification device, which is applied to a second system, and the device includes:
[0011] A configuration information acquisition module, used to acquire class configuration information of a business processing result notification service of a first system when it is necessary to notify a first system of a business processing result, wherein the first system is a system that initiates a business processing request to the second business system;
[0012] A service object generation module, used to construct a class object of the business processing result notification service based on the class configuration information;
[0013] A remote calling module is used to remotely call the business processing result notification service based on the class service object, so that the first system obtains the business processing result from the second system.
[0014] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the method described in the first aspect are implemented.
[0015] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0016] At least one of the above technical solutions adopted in the embodiments of the present application, when the second system needs to notify the first system of the business processing result, it can construct the class object of the business processing result notification service based on the class configuration information of the business processing result notification service of the first system obtained; remotely call the business processing result notification service based on the class service object, so that the first system obtains the business processing result from the second system. When notifying the newly connected first system of the business processing result, this solution can automatically generate the class object of the business processing result notification service, without introducing the jar package of the first system, and without modifying the second system, so it can improve the access efficiency of the new first system. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0018] Figure 1 It is a schematic diagram of a clearing system architecture in the related technology.
[0019] Figure 2 It is a schematic diagram of the architecture of a business processing system provided in one embodiment of the present application.
[0020] Figure 3 It is a flowchart of a business processing result notification method provided in an embodiment of the present application.
[0021] Figure 4 It is a schematic diagram of the architecture of a clearing system provided in one embodiment of the present application.
[0022] Figure 5 It is a flowchart of a method for notifying a liquidation result provided in one embodiment of the present application.
[0023] Figure 6 It is a structural diagram of a business processing result notification device provided in one embodiment of the present application.
[0024] Figure 7 It is a structural diagram of a liquidation result notification device provided in one embodiment of the present application.
[0025] Figure 8 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0027] In order to automatically support notification of business processing results to the first system without introducing the jar package of the first system and without changing the second system, so as to improve the access efficiency of the new first system, the embodiment of the present application provides a business processing result notification method and device.
[0028] In addition, in order to automatically support the notification of clearing results to the clearing business system without introducing the jar package of the clearing business system service and without changing the clearing instruction processing system, so as to improve the access efficiency of the new clearing business system, the embodiment of the present application provides a clearing result notification method and device. The method can be applied to the clearing instruction processing system, and can be specifically executed by an electronic device running the clearing instruction processing system, such as a terminal device or a server, or the method can be executed by software installed in the electronic device. Among them, the terminal device includes but is not limited to: any one of the intelligent terminal devices such as smart phones, personal computers (PC), laptops, tablets, e-readers, network TVs, wearable devices, etc.; among them, the server may include but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.
[0029] The method for notifying a liquidation result provided in the embodiment of the present application can be regarded as an application of the method for notifying a business processing result provided in the embodiment of the present application in the specific scenario of notifying a liquidation result. It can be understood that the method for notifying a business processing result provided in the embodiment of the present application can also be applied in other scenarios.
[0030] Figure 2 FIG. 1 is a schematic diagram showing the architecture of a business processing system provided by an embodiment of the present application. Figure 2 As shown, the business processing system may include a first system 21 and a second system 22, wherein the first system 21 is a system for initiating business processing requests, and the second system 22 is a system for processing or packaging and forwarding business processing requests.
[0031] refer to Figure 2It can be seen that the interaction process between the first system 21 and the second system 22 may include: ① The first system 21 initiates a business processing request to the second system 22; ② After the business processing request is processed, the second system 22 notifies the first system of the business processing result. It should be noted that the business processing result can be obtained by the second system itself, or it can be forwarded to the second system after being processed by a third system. For example, the first system can be the clearing business system of the NetsUnion platform, the second system can be the clearing instruction processing system of the NetsUnion platform, and the third system can be the PBOC system. The PBOC system can be the large-value settlement system of the People's Bank of China.
[0032] exist Figure 2 Based on the above, an embodiment of the present application provides a method for notifying a business processing result, which may include two stages: the first stage is the configuration stage of the business processing result notification service, and the second stage is the stage of applying the business processing result notification service to perform business processing result notification. The above first stage can be regarded as a preparation stage before the business processing result notification, and the preparation stage is generally performed once, that is, when executing a method for notifying a business processing result provided by an embodiment of the present application, it is not necessary to execute the steps of the first stage every time.
[0033] The first stage and the second stage mentioned above are respectively described below.
[0034] Phase 1: In response to the service configuration request, add the business processing result notification service configuration in the second system 22. The configuration information of the business processing result notification service may include: the class of the business processing result notification service and the class name and class method declared in the class of the business processing result notification service. The class method of the business processing result notification service is located in the first system 21, and the class method is used to provide the business processing result notification service. Optionally, the configuration information of the business processing result notification service may also include the version number of the business processing result notification service.
[0035] Optionally, in the first stage, the business processing result notification specification can also be agreed in advance, generally agreed upon through the business processing result notification service configuration template. The configuration template can include the constraints of the request parameter type and response parameter type of the above class method. Optionally, the configuration template can also include the constraints of the data type of the business processing result.
[0036] Phase 2: When it is necessary to notify the first system of the business processing results, the above-mentioned business processing result notification service configuration and business processing result notification specification are applied to notify the first system of the business processing results. Figure 3 .
[0037] like Figure 3 As shown, a service processing result notification method provided in an embodiment of the present application is applied to a second system, and the method may include:
[0038] Step 301: When a business processing result needs to be notified to a first system, class configuration information of a business processing result notification service of the first system is obtained, wherein the first system is a system that initiates a business processing request to the second business system.
[0039] Optionally, the first system may be a newly connected system.
[0040] Step 302: Construct a class object of the business processing result notification service based on the class configuration information.
[0041] As an example, the business processing result notification service is implemented based on JAVA language. On this basis, step 302 may include: using JVM (Java Virtual Machine) bytecode technology and the class configuration information to construct a class object of the business processing result notification service.
[0042] The JVM bytecode technology may include but is not limited to one of javassist and asm.
[0043] Furthermore, in a case where the class configuration information declares the class name and class method used by the business processing result notification service, the use of JVM bytecode technology and the class configuration information to construct the class object of the business processing result notification service may include: constructing a target class and a target method respectively based on the class configuration information, adding the target method to the target class, and constructing the class object of the business processing result notification service.
[0044] Furthermore, step 302 may also include: determining a request parameter type and a response parameter type of the class method based on the configuration information, and constructing a class object of the business processing result notification service based on the request parameter type and the response parameter type.
[0045] Step 303: remotely call the business processing result notification service based on the class service object, so that the first system obtains the business processing result from the second system.
[0046] Optionally, Figure 3 The method shown may also include: providing a business processing result notification service configuration template to each first system, wherein the configuration template includes constraints on the request parameter type and the response parameter type.
[0047] Optionally, the configuration template also includes data type constraints of the business processing results. Specifically, the data type of the business processing results can be in JSON format, or other types.
[0048] The embodiment of the present application provides a method for notifying a business processing result. When the second system needs to notify the first system of the business processing result, the class object of the business processing result notification service can be constructed based on the class configuration information of the business processing result notification service of the first system; the business processing result notification service can be remotely called based on the class service object, so that the first system can obtain the business processing result from the second system. When notifying the newly connected first system of the business processing result, this solution can automatically generate a class object of the business processing result notification service, without the need to introduce the jar package of the first system or to modify the second system, thereby improving the access efficiency of the new first system.
[0049] In addition, since there is no need to modify the second system, the risk of system stability that may be caused by the modification of the second system can be reduced.
[0050] The following is a description of a method for notifying a settlement result provided in an embodiment of the present application.
[0051] The method for notifying a liquidation result provided in the embodiment of the present application may also include two stages: the first stage is the configuration stage of the liquidation result notification service, and the second stage is the stage of applying the liquidation result notification service to notify the liquidation result. The first stage can be regarded as a preparation stage before the liquidation result notification, and the preparation stage is generally performed once, that is, when executing the method for notifying a liquidation result provided in the embodiment of the present application, it is not necessary to perform the steps of the first stage every time.
[0052] Combine the following Figure 4 The first stage and the second stage described above are described separately.
[0053] Figure 4 FIG. 1 is a schematic diagram showing the architecture of a clearing system provided by an embodiment of the present application. Figure 4 As shown, the clearing system may include one or more ( Figure 4 Only one is shown in the figure) of the target clearing business system 41, the clearing instruction processing system 42 and the PBOC system 43, wherein the target clearing business system 41 and the clearing instruction processing system 42 belong to the UnionPay platform, and the target clearing business system 41 can be a clearing business system newly connected to the clearing instruction processing system 44; the clearing instruction processing system 42 can send a clearing request message to the PBOC system 43 to request the PBOC system 43 to perform clearing.
[0054] Phase 1: In addition to adding the clearing business system configuration information 44 to the clearing instruction processing system 42 , the clearing result notification service configuration information 45 is also added to the clearing instruction processing system 42 .
[0055] The clearing business system configuration information 44 may include: a secret key of the target clearing business system and a PBOC message type corresponding to the target clearing business system.
[0056] The configuration information 45 of the clearing result notification service may include: the class of the clearing result notification service, the class name and the class method. The class method is located in the target clearing business system 41, and the class method is used to provide the clearing result notification service. Optionally, the configuration information of the clearing result notification service may also include the version number of the clearing result notification service. For example, the following configuration information may be added to the clearing instruction processing system:
[0057] Service class name, such as: com.epcc.NotifyService
[0058] Service class methods, such as clearResult
[0059] Service version number, such as: 1.0.0
[0060] Optionally, in the first stage, the clearing result notification specification can also be agreed upon in advance, generally through the clearing result notification service configuration template. The configuration template can include the constraints of the request parameter type and response parameter type of the above service class method. Optionally, the configuration template can also include the constraints of the data type of the clearing result. For example, the following clearing result notification specification can be agreed upon in the configuration template:
[0061] 1) Specify the request parameter type of the service class method as String type;
[0062] 2) Specify the response parameter type of the service class method as String type
[0063] 3) The data type of the liquidation result is in JSON format.
[0064] Phase 2: Apply the above-mentioned clearing result notification service configuration and clearing result notification specification to notify the target clearing business system of the clearing result, see Figure 4 The interactive process in ④.
[0065] like Figure 4 As shown in the figure, the process of fund clearing on the UnionPay platform may include:
[0066] ① The target clearing business system 41 initiates a business clearing request to the clearing instruction processing system 42;
[0067] ② After receiving the business clearing request from the target clearing business system 41, the clearing instruction processing system 42 queries the clearing business system access configuration information 44, verifies the legitimacy of the business clearing request according to the key of the target clearing business system 41, and after passing the verification, sends a fund clearing message to the PBOC system 13 according to the PBOC message type required for business clearing;
[0068] ③ After receiving the fund settlement message, the PBOC system 13 performs settlement and after the settlement is completed, asynchronously notifies the settlement result to the settlement instruction processing system 42;
[0069] ④ After receiving the asynchronous notification from the PBOC system 43, the clearing instruction processing system 42 applies the above-mentioned clearing result notification service configuration and clearing result notification specification to notify the target clearing business system 41 of the clearing result.
[0070] The present application provides a method and device for notifying a clearing result, which can be applied to the clearing instruction processing system 42. Figure 4 A detailed description of the interaction process ④ in is introduced below.
[0071] like Figure 5 As shown, a method for notifying a liquidation result provided in an embodiment of the present application is applied to a liquidation instruction processing system. The method may include:
[0072] Step 501: upon receiving the clearing result for the target clearing business system fed back by the PBOC system, obtaining the class configuration information of the business processing result notification service of the target clearing business system, wherein the target clearing business system is the system that initiates the business processing request to the second business system.
[0073] The target clearing business system may be a newly connected clearing business system, and specifically may be a clearing business system newly connected to a clearing instruction processing system.
[0074] Step 502: Construct a class object of the liquidation result notification service based on the class configuration information.
[0075] As an example, the liquidation result notification service is implemented based on JAVA language. On this basis, step 502 may include: using JVM (Java Virtual Machine) bytecode technology and the class configuration information to construct a class object of the liquidation result notification service.
[0076] The JVM bytecode technology may include but is not limited to one of javassist and asm.
[0077] Furthermore, in a case where the class configuration information declares the class name and class method used by the liquidation result notification service, the use of JVM bytecode technology and the class configuration information to construct the class object of the liquidation result notification service may include: respectively constructing a target class and a target method based on the class configuration information, adding the target method to the target class, and constructing the class object of the liquidation result notification service.
[0078] Furthermore, step 502 may also include: determining a request parameter type and a response parameter type of the class method based on the configuration information, and constructing a class object of the liquidation result notification service based on the request parameter type and the response parameter type.
[0079] Step 503: remotely call the clearing result notification service based on the class service object, so that the target clearing business system obtains the clearing result from the clearing instruction processing system.
[0080] Optionally, Figure 3 The method shown may also include: providing a business processing result notification service configuration template to each clearing business system, wherein the configuration template includes constraints on the request parameter type and the response parameter type.
[0081] Optionally, the configuration template also includes data type constraints of the liquidation result. Specifically, the data type of the liquidation result can be in JSON format, or other types.
[0082] The embodiment of the present application provides a method for notifying a clearing result. When a clearing instruction processing system needs to notify a clearing business system of a clearing result, the class object of the clearing result notification service can be constructed based on the class configuration information of the clearing result notification service of the clearing business system obtained; the clearing result notification service can be remotely called based on the class service object, so that the clearing business system can obtain the clearing result from the clearing instruction processing system. When notifying a newly connected clearing business system of a clearing result, this solution can automatically generate a class object of the clearing result notification service, without the need to introduce a jar package of the clearing business system or to modify the clearing instruction processing system, thereby improving the access efficiency of the new clearing business system.
[0083] In addition, since there is no need to modify the clearing instruction processing system, the system stability risk that may be caused by the modification of the clearing instruction system can be reduced.
[0084] Corresponding to the above method embodiment, the embodiment of the present application also provides a business processing result notification device and a settlement result notification device, which are introduced below respectively.
[0085] like Figure 6As shown, a business processing result notification device 600 provided in an embodiment of the present application may include: a configuration information acquisition module 601, a service object generation module 602 and a remote calling module 603.
[0086] The configuration information acquisition module 601 is used to acquire class configuration information of a business processing result notification service of a first system when it is necessary to notify the first system of a business processing result, wherein the first system is a system that initiates a business processing request to the second business system.
[0087] The service object generation module 602 is used to construct the class object of the business processing result notification service based on the class configuration information.
[0088] As an example, the business processing result notification service is implemented based on JAVA language. On this basis, the service object generation module 602 can be used to: construct the class object of the business processing result notification service using JVM (Java Virtual Machine) bytecode technology and the class configuration information.
[0089] The JVM bytecode technology may include but is not limited to one of javassist and asm.
[0090] Furthermore, when the class configuration information declares the class name and class method used by the business processing result notification service, the service object generation module 602 can be specifically used to: construct the target class and target method respectively based on the class configuration information, add the target method to the target class, and construct the class object of the business processing result notification service.
[0091] Furthermore, the service object generation module 602 may also be used to: determine the request parameter type and response parameter type of the class method based on the configuration information, and construct the class object of the business processing result notification service based on the request parameter type and response parameter type.
[0092] The remote calling module 604 is used to remotely call the business processing result notification service based on the class service object, so that the first system obtains the business processing result from the second system.
[0093] Optionally, Figure 6 The device shown may also include: a template providing module, used to provide a business processing result notification service configuration template to each first system, wherein the configuration template includes constraints on the request parameter type and the response parameter type.
[0094] Optionally, the configuration template also includes data type constraints of the business processing results. Specifically, the data type of the business processing results can be in JSON format, or other types.
[0095] The embodiment of the present application provides a business processing result notification device. When the second system needs to notify the first system of the business processing result, the class object of the business processing result notification service can be constructed based on the class configuration information of the business processing result notification service of the first system; the business processing result notification service can be remotely called based on the class service object, so that the first system can obtain the business processing result from the second system. When notifying the newly connected first system of the business processing result, this solution can automatically generate a class object of the business processing result notification service, without the need to introduce the jar package of the first system or to modify the second system, thereby improving the access efficiency of the new first system.
[0096] In addition, since there is no need to modify the second system, the risk of system stability that may be caused by the modification of the second system can be reduced.
[0097] like Figure 7 As shown, a liquidation result notification device 700 provided in an embodiment of the present application may include: a configuration information acquisition module 701, a service object generation module 702 and a remote calling module 703.
[0098] The configuration information acquisition module 701 is used to obtain the class configuration information of the business processing result notification service of the target clearing business system when receiving the clearing result for the target clearing business system fed back by the People's Bank system, wherein the target clearing business system is the system that initiates the business processing request to the second business system.
[0099] The target clearing business system may be a newly connected clearing business system, and specifically may be a clearing business system newly connected to a clearing instruction processing system.
[0100] The service object generation module 702 is used to construct the class object of the liquidation result notification service based on the class configuration information.
[0101] As an example, the liquidation result notification service is implemented based on JAVA language. On this basis, the service object generation module 702 can be used to: construct the class object of the liquidation result notification service by using JVM (Java Virtual Machine) bytecode technology and the class configuration information.
[0102] The JVM bytecode technology may include but is not limited to one of javassist and asm.
[0103] Furthermore, in a case where the class configuration information declares the class name and class method used by the liquidation result notification service, the service object generation module 702 can be specifically used to: construct the target class and target method respectively based on the class configuration information, add the target method to the target class, and construct the class object of the liquidation result notification service.
[0104] Furthermore, the service object generation module 702 may also be used to: determine the request parameter type and the response parameter type of the class method based on the configuration information, and construct the class object of the liquidation result notification service based on the request parameter type and the response parameter type.
[0105] The remote calling module 703 is used to remotely call the liquidation result notification service based on the class service object, so that the target liquidation business system obtains the liquidation result from the liquidation instruction processing system.
[0106] Optionally, Figure 7 The device shown may also include: a template providing module, which is used to provide a business processing result notification service configuration template to each clearing business system, and the configuration template includes the constraint conditions of the request parameter type and the response parameter type.
[0107] Optionally, the configuration template also includes data type constraints of the liquidation result. Specifically, the data type of the liquidation result can be in JSON format, or other types.
[0108] The embodiment of the present application provides a liquidation result notification device. When the liquidation instruction processing system needs to notify the liquidation business system of the liquidation result, the class object of the liquidation result notification service can be constructed based on the class configuration information of the liquidation result notification service of the liquidation business system; the liquidation result notification service can be remotely called based on the class service object, so that the liquidation business system obtains the liquidation result from the liquidation instruction processing system. When notifying the liquidation result to the newly connected liquidation business system, this solution can automatically generate a class object of the liquidation result notification service, without the need to introduce the jar package of the liquidation business system, and without the need to modify the liquidation instruction processing system, so that the access efficiency of the new liquidation business system can be improved.
[0109] In addition, since there is no need to modify the clearing instruction processing system, the system stability risk that may be caused by the modification of the clearing instruction system can be reduced.
[0110] It should be noted that, since the content executed by the device embodiment corresponds to the method embodiment, the description of the device embodiment part in this document is relatively brief, and please refer to the method embodiment part for relevant details.
[0111] Figure 8 FIG. 1 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 8 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.
[0112] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0113] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.
[0114] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a business processing result notification device or a liquidation result notification device at the logical level. The processor executes the program stored in the memory and is specifically used to execute the business processing result notification method or liquidation result notification method provided in the embodiment of the present application.
[0115] The above application Figure 3 or Figure 5The method performed by the device disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0116] The present application also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by an electronic device including multiple application programs, enable the electronic device to execute Figure 3 The service processing result notification device in the embodiment shown in the figure or Figure 5 The method executed by the liquidation result notification device in the illustrated embodiment is specifically used to execute the business processing result notification method or liquidation result notification method provided in the embodiment of the present application.
[0117] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0118] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0119] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0120] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0121] It should be noted that the various embodiments in this application are described in a related manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0122] 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.
[0123] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for notifying a business processing result, characterized in that: Applied to the second system, the method comprises: When it is necessary to notify the first system of the business processing result, obtaining class configuration information of the business processing result notification service of the first system, wherein the first system is the system that initiates the business processing request to the second business system; Constructing a class object of the business processing result notification service based on the class configuration information; The business processing result notification service is remotely called based on the class service object, so that the first system obtains the business processing result from the second system.
2. The method according to claim 1, characterized in that The business processing result notification service is implemented based on JAVA language, and the class object of the business processing result notification service is constructed based on the class configuration information, including: The class object of the business processing result notification service is constructed using JVM bytecode technology and the class configuration information.
3. The method according to claim 2, characterized in that The class configuration information declares the class name and class method used by the business processing result notification service. The class object of the business processing result notification service is constructed by using JVM bytecode technology and the class configuration information, including: Based on the class configuration information, a target class and a target method are respectively constructed, the target method is added to the target class, and a class object of the business processing result notification service is constructed.
4. The method according to claim 3, characterized in that The method further comprises: Determine the request parameter type and the response parameter type of the class method, and construct the class object of the business processing result notification service based on the request parameter type and the response parameter type.
5. The method according to claim 4, characterized in that The method further comprises: A business processing result notification service configuration template is provided to each first system, wherein the configuration template includes constraints of the request parameter type and the response parameter type.
6. The method according to claim 5, characterized in that The configuration template also includes data type constraints for business processing results.
7. The method according to any one of claims 1 to 6, characterized in that The first system is a clearing business system, the second system is a clearing instruction processing system, and the business processing result is a clearing result.
8. A business processing result notification device, characterized in that: Applied to the second system, the device comprises: A configuration information acquisition module, used to acquire class configuration information of a business processing result notification service of a first system when it is necessary to notify a first system of a business processing result, wherein the first system is a system that initiates a business processing request to the second business system; A service object generation module, used to construct a class object of the business processing result notification service based on the class configuration information; A remote calling module is used to remotely call the business processing result notification service based on the class service object, so that the first system obtains the business processing result from the second system.
9. An electronic device, comprising: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: When it is necessary to notify the first system of the business processing result, obtaining class configuration information of the business processing result notification service of the first system, wherein the first system is the system that initiates the business processing request to the second business system; Constructing a class object of the business processing result notification service based on the class configuration information; The business processing result notification service is remotely called based on the class service object, so that the first system obtains the business processing result from the second system.
10. A computer-readable storage medium storing one or more programs, which, when executed by an electronic device including a plurality of application programs, causes the electronic device to perform the following operations: When it is necessary to notify the first system of the business processing result, class configuration information of the business processing result notification service of the first system is obtained, wherein: The first system is a system that initiates a business processing request to the second business system; Constructing a class object of the business processing result notification service based on the class configuration information; The business processing result notification service is remotely called based on the class service object, so that the first system obtains the business processing result from the second system.
