[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114285793A - Distribution method, distribution device, distribution equipment and storage medium - Google Patents

Distribution method, distribution device, distribution equipment and storage medium Download PDF

Info

Publication number
CN114285793A
CN114285793A CN202111569427.XA CN202111569427A CN114285793A CN 114285793 A CN114285793 A CN 114285793A CN 202111569427 A CN202111569427 A CN 202111569427A CN 114285793 A CN114285793 A CN 114285793A
Authority
CN
China
Prior art keywords
target
message request
type
request
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111569427.XA
Other languages
Chinese (zh)
Other versions
CN114285793B (en
Inventor
王文旭
田戴星
潘洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202111569427.XA priority Critical patent/CN114285793B/en
Publication of CN114285793A publication Critical patent/CN114285793A/en
Application granted granted Critical
Publication of CN114285793B publication Critical patent/CN114285793B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a distribution method, a distribution device, distribution equipment and a storage medium. The method comprises the following steps: receiving a message request sent by at least one external system; determining target routing rule configuration information corresponding to the message request according to the type of the message request, wherein the target routing rule configuration information comprises: a target interface address of the target association system; and distributing the message request to a target correlation system according to the target interface address. The embodiment of the invention realizes the customized processing of the transaction message request and the automatic distribution to the affiliated internal association system by providing the transaction message request uniform entrance, automatically analyzing the message request, dynamically identifying the type and routing of the message request, realizing the uniform configuration management, reducing the coupling degree between the systems and improving the expandability of the system.

Description

Distribution method, distribution device, distribution equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computer application, in particular to a distribution method, a distribution device, distribution equipment and a storage medium.
Background
With the increasing development and expansion of the scale of the enterprise-level financial information system, one enterprise-level financial information system usually includes a plurality of association systems inside, and an external system needs to call different interfaces of the internal association system in order to realize business requirements. The internal correlation system and the external system are independent from each other, and the technical stacks, the message request types and the request formats of the external system and the internal correlation system are generally inconsistent. Generally, a service transaction requires an external system to initiate a type of message request and call an interface of an internal association system to complete the whole service transaction. The business scenario of the enterprise-level financial information system changes continuously, so that the interface and the message request type of the internal association system need to change continuously, and requirements are made on the flexibility and the expandability of the system.
The current message routing distribution scheme mainly performs routing distribution according to a URL (Uniform Resource Locator, Uniform Resource Locator for describing a character string of a specified information Resource address) interface address called by a message request, and a single type message request of an external system calls an interface of an internal association system. When the interface is changed, the internal association system needs to provide the interface entry URL again, compile the implementation code of the interface, configure the routing rule, need each internal association system to independently realize the analysis of different message request formats, and independently compile the customized processing code for realizing the message request.
The current common scheme of message request route distribution has the following disadvantages: firstly, in the current scheme, a single type message request of an external system corresponds to interfaces of an internal association system one by one, the external system initiates a message request to a plurality of interface entry URLs of a plurality of internal association systems, when a message request interface is newly added, the internal association system is required to independently realize analysis codes of different message request formats, and automatic analysis cannot be realized; secondly, in the current scheme, when a specific message request needs to be customized, the customized processing codes are dispersed in different internal association systems, are tightly coupled with each association system, are difficult to uniformly manage and flexibly expand, and have high coupling degree and poor expandability.
Disclosure of Invention
In view of this, the present invention provides a distribution method, apparatus, device and storage medium, which solve the problem that the message request routing distribution scheme in the prior art cannot automatically analyze the message request and perform customized processing, implement automatic analysis of the message request and customized processing, reduce the system coupling degree, and have strong system maintainability and high extensibility.
In a first aspect, an embodiment of the present invention provides a distribution method, where the method includes:
receiving a message request sent by at least one external system;
determining target routing rule configuration information corresponding to the message request according to the type of the message request, wherein the target routing rule configuration information comprises: a target interface address of the target association system;
and distributing the message request to a target correlation system according to the target interface address.
In a second aspect, an embodiment of the present invention further provides a distribution apparatus, where the apparatus includes:
the receiving module is used for receiving a message request sent by at least one external system;
a determining module, configured to determine, according to the type of the message request, target routing rule configuration information corresponding to the message request, where the target routing rule configuration information includes: a target interface address of the target association system;
and the distribution module is used for distributing the message request to a target association system according to the target interface address.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: one or more processors; a memory for storing one or more programs; when executed by the one or more processors, cause the one or more processors to implement a distribution method as in any one of the embodiments described above.
In a fourth aspect, the present invention 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 computer program implements the distribution method according to any one of the above embodiments.
The embodiment of the invention realizes the customized processing of the transaction message request and automatically distributes the transaction message request to the affiliated internal association system by providing the uniform entrance of the transaction message request, automatically analyzing the message request, dynamically identifying the type and routing of the message request, realizing the uniform configuration management, reducing the coupling degree between the systems and improving the maintainability and expandability of the system.
Drawings
Fig. 1 is a flow chart of a distribution method according to an embodiment of the present invention;
FIG. 2 is a flow chart of another distribution method according to an embodiment of the present invention;
fig. 3 is a process diagram of a distribution method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a dispensing device according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures. In addition, the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like. In addition, the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
The term "include" and variations thereof as used herein are intended to be open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment".
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example one
Fig. 1 is a flowchart of a distribution method provided in an embodiment of the present invention, where this embodiment is applicable to a distribution situation, for example, an external system of an enterprise-level financial information system initiates a message request to invoke an internal system for message routing distribution, and the method may be executed by a distribution apparatus in an embodiment of the present invention, where the apparatus may be implemented in a software and/or hardware manner, as shown in fig. 1, and the method specifically includes the following steps:
s101, receiving a message request sent by at least one external system.
In this embodiment, the external system refers to an external system with respect to the enterprise-level financial information system internal association system. The external system may be one or more, and this embodiment does not limit this.
It should be noted that the message request refers to a transaction message request. The message request is sent by an external system, different business transactions are carried out, and the types of the corresponding message requests are different.
Specifically, a message request sent by at least one external system is received. In the actual operation process, the embodiment of the invention provides a uniform entry of message requests (the uniform entry refers to a channel entry which is used as the input of message request traffic when interacting with an external system. Typically, a business transaction requires a type of message request to be initiated by an external system.
S102, determining target routing rule configuration information corresponding to the message request according to the type of the message request.
It should be explained that the routing rule configuration information may refer to preconfigured message request routing distribution rule information. The message request routing distribution refers to distributing different types of message requests to different internal association systems according to different routing rules according to different business transactions.
It should be noted that the target routing rule configuration information refers to routing rule configuration information corresponding to a type of message request determined according to the types of different types of message requests.
Wherein the target routing rule configuration information includes: the target is associated with a target interface address of the system.
It should be explained that the target association system refers to an internal association system corresponding to a message request of a type determined according to the type of the message request of different types.
It should be noted that the target interface address refers to a target interface address of the target association system, and mainly refers to an address of an entry interface that receives the message request, that is, a URL interface address in this embodiment.
Specifically, the target routing rule configuration information corresponding to the message request is determined according to the type of the message request. In this embodiment, the configurable routing rule information includes: the message request type, the message request number, the message request processor type corresponding to the message request, and the target interface address of the target association system corresponding to the message request. Different types of message requests need to be forwarded to message processing interfaces corresponding to different target associated systems, and when the message processing interfaces are expanded or changed, routing rules of corresponding message requests need to be modified in routing rule configuration information, and the configuration mode is configuration file configuration.
And S103, distributing the message request to a target correlation system according to the target interface address.
Specifically, after determining the target routing rule configuration information corresponding to the message request according to the type of the message request, the message request is distributed to the target association system according to the target interface address.
The embodiment of the invention realizes the customized processing of the transaction message request and automatically distributes the transaction message request to the affiliated internal association system by providing the uniform entrance of the transaction message request, automatically analyzing the message request, dynamically identifying the type and routing of the message request, realizing the uniform configuration management, reducing the coupling degree between the systems and improving the maintainability and expandability of the system.
Optionally, the target routing rule configuration information further includes: the target message requests a processor type.
It should be noted that the target message request processor type refers to a type of a processor corresponding to a message request of a type determined according to types of message requests of different types.
Optionally, the distributing the message request to the target association system according to the target interface address includes:
and dynamically loading a target processor corresponding to the type of the target message request processor, and forwarding the message request to the target processor so that the target processor processes the message request to obtain target data.
In the field of computers, dynamic loading is a program execution mechanism that enables a computer program to load a library (or other binary object) into memory at runtime (rather than at compile time), then retrieve the addresses of functions and variables in the library, and execute the functions or access the variables, and can unload the library from memory when not needed. In this embodiment, the dynamic loading refers to dynamically loading a target processor corresponding to a target message request processor type and unloading the target processor corresponding to the target message request processor type when not needed.
It should be noted that the target processor refers to a processor corresponding to the type of the target message request processor.
It should be noted that the target data refers to data obtained after the target processor processes the message request.
Specifically, after determining target routing rule configuration information including a target message request processor type corresponding to the message request according to the type of the message request, dynamically loading a target processor corresponding to the target message request processor type, and forwarding the message request to the target processor, so that the target processor processes the message request to obtain target data. In this embodiment, the processing of the message request by the target processor includes, but is not limited to, data processing, error information encapsulation, and the like.
And sending the target data to a target correlation system according to the target interface address.
Specifically, the target data is sent to the target correlation system according to the target interface address of the target correlation system.
Optionally, determining target routing rule configuration information corresponding to the message request according to the type of the message request includes:
and if the message request is not in the preset format, converting the message request into the preset format to obtain the target request.
It should be noted that, for different service transactions, the corresponding message request protocol formats are different, and therefore, the protocol formats of the message requests sent by at least one external system are also different. In order to facilitate processing of message requests in different protocol formats, in the embodiment of the present invention, the message requests in different protocol formats are parsed into a uniform format, the uniform format is set as a preset format, and a format of the message request different from a protocol format in the preset format is a non-preset format.
The target request refers to a message request obtained after converting a protocol format of a message request with a non-preset format into a preset format.
Specifically, a message request sent by at least one external system is received, and if the message request is in a non-preset format, the message request in the non-preset format is converted into a target request in a preset format through analysis.
And acquiring the type of the target request.
Specifically, the type of the target request is obtained after the target request is obtained.
And determining target routing rule configuration information corresponding to the target request according to the type of the target request.
Specifically, the target routing rule configuration information corresponding to the target request is determined according to the type of the target request, and then the target request is distributed to the target association system according to the target interface address of the target association system included in the target routing rule configuration information.
Optionally, the method further includes:
and if the message request is in a preset format, acquiring the type of the message request.
Specifically, a message request sent by at least one external system is received, and if the message request is in a preset format, the type of the message request is acquired.
And determining target routing rule configuration information corresponding to the message request according to the type of the message request.
Specifically, the target routing rule configuration information corresponding to the message request is determined according to the type of the message request, and then the message request is distributed to the target association system according to the target interface address of the target association system included in the target routing rule configuration information.
As an exemplary description of this embodiment, fig. 2 is a flowchart of another distribution method provided in an embodiment of the present invention, and further describes the distribution method in the embodiment of the present invention, as shown in fig. 2, the method specifically includes the following steps:
s201, configuring routing rule parameters.
In this embodiment, parameters such as a routing rule of a message request are configured through a preset routing rule configurator according to a service scenario (referred to as a request type).
The preset routing rule configurator configurable contents comprise: the message request type, the message request number, the message request processor type corresponding to the message request, and the target interface address of the target association system corresponding to the message request.
Different types of message requests need to be forwarded to message processing interfaces corresponding to different target associated systems, and when the message processing interfaces are expanded or changed, routing rules of corresponding message requests need to be modified in routing rule configuration information, and the configuration mode is configuration file configuration.
S202, receiving a message request sent by at least one external system.
In this embodiment, a message request sent by at least one external system is received through a preset message request receiver.
The preset message request receiver is used as a uniform inlet of the message request and is responsible for receiving the message request sent by at least one external system, and the preset message request receiver needs to forward the message request meeting the message specification to a preset message request analyzer.
And S203, analyzing and converting the message request.
In this embodiment, a preset message request parser parses message requests in different protocol formats, converts the message requests into a preset format, and sends the message requests in the preset format to a preset route loader.
The preset message request parser is responsible for parsing message requests of different formats, the message request format sent by the external system includes XML (Extensible Markup Language) and JSON (JavaScript Object Notation, which is a lightweight data exchange format), and the like, and the contents of different types of transaction message request fields are also inconsistent. The preset message request analyzer converts and analyzes the message request into a format object unified by the system in a format conversion mode of traversing nodes or extracting elements and the like according to different format protocols.
The unified format object content mainly comprises a plurality of unified common service fields, such as request serial numbers, request time and the like, and also comprises special fields aiming at specific service transactions. After the message request is analyzed and converted, the preset message request analyzer forwards the message request to a preset route loader.
And S204, acquiring routing rule configuration information.
In this embodiment, the preset routing loader acquires routing rule configuration information, such as a correspondence between the message request and the message request handler, from the preset routing rule configurator.
The preset route loader is mainly responsible for the following processes: and generating a message request processor instantiation object corresponding to the type of the request according to the type of the message request. Firstly, the message request type is required to be taken out from the message request, then the corresponding relation of the message request type is obtained from a preset routing rule configurator according to the message request type, and the message request processor example corresponding to the message request type is dynamically loaded.
And S205, dynamically loading the target processor.
In this embodiment, the preset route loader dynamically loads the target processor corresponding to the target message request processor according to the type of the message request.
S206, forwarding the message request to the target processor.
In this embodiment, the predetermined route matcher forwards the message request to the target processor.
The preset route matcher is mainly responsible for forwarding the message request to a corresponding message request processor instance, and the preset message request processor is used for processing the next request customization processing.
And S207, the target processor processes the message request to obtain target data.
In this embodiment, the preset message request processor and the preset message request distributor are responsible for customizing the message request, and according to the message service type parameter carried by the message request, read the routing rule configuration information corresponding to the message request in the preset routing rule configurator, and automatically distribute the message request to the corresponding internal association system.
The preset message request processor is responsible for centralized customization processing of the message request. The preset message request processor realizes a uniform message request processing method interface, and can perform customized message request processing on a specific type of message request inside, wherein the customized processing in the message request includes but is not limited to data processing, error information encapsulation and other operations.
And S208, sending the target data to a target association system according to the target interface address.
In this embodiment, a preset message request distributor is responsible for message request distribution. And acquiring routing rule configuration information in a preset routing rule configurator, forwarding and routing the message request to a corresponding internal association system interface, and realizing automatic distribution of the message request.
Fig. 3 is a schematic process diagram of a distribution method according to an embodiment of the present invention, and by using the distribution method according to the embodiment of the present invention, automatic analysis and dynamic loading customization processing of a received message request sent by an external system can be implemented and distributed to a corresponding internal association system. At least one external system and at least one internal association system may exist in the process, and fig. 3 illustrates one external system and two internal association systems as an example. As shown in fig. 3, the external system 301 sends the message request through the request interfaces 1 to n, and by the distribution method provided in the embodiment of the present invention, the received message request sent by the external system can be automatically analyzed and dynamically loaded and customized, and distributed to the interfaces 1 to n corresponding to the internal association system 302 and the internal association system 303, so as to complete the distribution of the message request.
Compared with the prior art, all message requests in the embodiment of the invention enter the internal association system from the uniform entrance, and multiple types of message requests can correspond to one interface and only need to provide one URL. The method supports automatic analysis according to the type of the message request, automatically distributes the message request to different internal association systems, can receive and automatically analyze the message request only by dynamically loading the configured routing rule when the interface changes, and has strong maintainability and high expandability.
On the other hand, when the customized processing is required for the message request, the embodiment of the invention can dynamically load the customized processor according to the type of the message request. The message request processor can perform centralized customization processing aiming at specific message requests and then distribute the customized message requests to different internal association systems. The embodiment of the invention uniformly realizes the customized processing codes, the internal association system does not need to be realized again, the customized processing is decoupled with each internal association system, and the system coupling degree is reduced.
Example two
Fig. 4 is a schematic structural diagram of a distribution apparatus according to a second embodiment of the present invention, where the apparatus is suitable for use in a distribution situation, for example, an external system of an enterprise-level financial information system initiates a message request to invoke an internal system to perform message routing distribution, and the apparatus may be implemented by hardware/software, and may be configured in a server to implement a distribution method according to the second embodiment of the present invention. As shown in fig. 4, the apparatus specifically includes: a receiving module 401, a determining module 402 and a distributing module 403.
The receiving module 401 is configured to receive a message request sent by at least one external system;
a determining module 402, configured to determine, according to the type of the message request, target routing rule configuration information corresponding to the message request, where the target routing rule configuration information includes: a target interface address of the target association system;
a distributing module 403, configured to distribute the message request to a target associated system according to the target interface address.
The embodiment of the invention realizes the customized processing of the transaction message request and automatically distributes the transaction message request to the affiliated internal association system by providing the uniform entrance of the transaction message request, automatically analyzing the message request, dynamically identifying the type and routing of the message request, realizing the uniform configuration management, reducing the coupling degree between the systems and improving the maintainability and expandability of the system.
Further, the target routing rule configuration information further includes: the target message requests a processor type.
Further, the distribution module 403 is specifically configured to:
dynamically loading a target processor corresponding to the type of the target message request processor, and forwarding the message request to the target processor so that the target processor processes the message request to obtain target data;
and sending the target data to a target correlation system according to the target interface address.
Further, the determining module 402 is specifically configured to:
if the message request is not in the preset format, converting the message request into the preset format to obtain a target request;
acquiring the type of the target request;
and determining target routing rule configuration information corresponding to the target request according to the type of the target request.
Further, the determining module 402 is further specifically configured to:
if the message request is in a preset format, acquiring the type of the message request;
and determining target routing rule configuration information corresponding to the message request according to the type of the message request.
The distribution device can execute the distribution method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects for executing the distribution method.
EXAMPLE III
Fig. 5 is a schematic structural diagram of an electronic apparatus according to a third embodiment of the present invention, as shown in fig. 5, the electronic apparatus includes a processor 501, a memory 502, an input device 503, and an output device 504; the number of the processors 501 in the electronic device may be one or more, and one processor 501 is taken as an example in fig. 5; the processor 501, the memory 502, the input device 503 and the output device 504 in the electronic apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 5.
The memory 502, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the distribution method in the embodiment of the present invention (e.g., the receiving module 401, the determining module 402, and the distributing module 403 in the distribution apparatus). The processor 501 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the memory 502, that is, the distribution method provided by the above-described embodiment of the present invention is realized:
receiving a message request sent by at least one external system;
determining target routing rule configuration information corresponding to the message request according to the type of the message request, wherein the target routing rule configuration information comprises: a target interface address of the target association system;
and distributing the message request to a target correlation system according to the target interface address.
The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 502 may further include memory located remotely from processor 501, which may be connected to devices/terminals/servers through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 503 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. The output device 504 may include a display device such as a display screen.
Example four
The fourth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the distribution method provided in the fourth embodiment of the present invention, where the method includes:
receiving a message request sent by at least one external system;
determining target routing rule configuration information corresponding to the message request according to the type of the message request, wherein the target routing rule configuration information comprises: a target interface address of the target association system;
and distributing the message request to a target correlation system according to the target interface address.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM or flash Memory), an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method of distribution, comprising:
receiving a message request sent by at least one external system;
determining target routing rule configuration information corresponding to the message request according to the type of the message request, wherein the target routing rule configuration information comprises: a target interface address of the target association system;
and distributing the message request to a target correlation system according to the target interface address.
2. The method of claim 1, wherein the target routing rule configuration information further comprises: the target message requests a processor type.
3. The method of claim 2, wherein distributing the message request to a target association system based on the target interface address comprises:
dynamically loading a target processor corresponding to the type of the target message request processor, and forwarding the message request to the target processor so that the target processor processes the message request to obtain target data;
and sending the target data to a target correlation system according to the target interface address.
4. The method of claim 1, wherein determining the target routing rule configuration information corresponding to the message request according to the type of the message request comprises:
if the message request is not in the preset format, converting the message request into the preset format to obtain a target request;
acquiring the type of the target request;
and determining target routing rule configuration information corresponding to the target request according to the type of the target request.
5. The method of claim 4, further comprising:
if the message request is in a preset format, acquiring the type of the message request;
and determining target routing rule configuration information corresponding to the message request according to the type of the message request.
6. A dispensing device, comprising:
the receiving module is used for receiving a message request sent by at least one external system;
a determining module, configured to determine, according to the type of the message request, target routing rule configuration information corresponding to the message request, where the target routing rule configuration information includes: a target interface address of the target association system;
and the distribution module is used for distributing the message request to a target association system according to the target interface address.
7. The apparatus of claim 6, wherein the target routing rule configuration information further comprises: the target message requests a processor type.
8. The apparatus of claim 7, wherein the distribution module is specifically configured to:
dynamically loading a target processor corresponding to the type of the target message request processor, and forwarding the message request to the target processor so that the target processor processes the message request to obtain target data;
and sending the target data to a target correlation system according to the target interface address.
9. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the processors to implement the distribution method of any one of claims 1-5.
10. A computer-readable storage medium containing a computer program, on which the computer program is stored, characterized in that the program, when executed by one or more processors, implements the distribution method according to any one of claims 1 to 5.
CN202111569427.XA 2021-12-21 2021-12-21 Distribution method, distribution device, distribution equipment and storage medium Active CN114285793B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111569427.XA CN114285793B (en) 2021-12-21 2021-12-21 Distribution method, distribution device, distribution equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111569427.XA CN114285793B (en) 2021-12-21 2021-12-21 Distribution method, distribution device, distribution equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114285793A true CN114285793A (en) 2022-04-05
CN114285793B CN114285793B (en) 2024-06-18

Family

ID=80873432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111569427.XA Active CN114285793B (en) 2021-12-21 2021-12-21 Distribution method, distribution device, distribution equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114285793B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114978991A (en) * 2022-05-17 2022-08-30 平安科技(深圳)有限公司 Route distribution method and device, electronic equipment and computer readable storage medium
CN115665274A (en) * 2022-10-21 2023-01-31 广域铭岛数字科技有限公司 Data transmission method and system of heterogeneous protocol, electronic device and storage medium
CN115866048A (en) * 2022-11-30 2023-03-28 上海芯赛云计算科技有限公司 Data processing method and device, storage medium and electronic device
CN116887197A (en) * 2022-05-26 2023-10-13 银联数据服务有限公司 Banking business processing method and device based on 5G message

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877158A (en) * 2010-03-23 2010-11-03 苏州德融嘉信信用管理技术有限公司 Front service platform of bank and operation processing method thereof
US20140101265A1 (en) * 2012-10-09 2014-04-10 International Business Machines Corporation Dynamic adaption of electronic routing slips for financial messaging
US20140279670A1 (en) * 2013-03-15 2014-09-18 Sap Ag Consistent Interface for Target Group Business Object
US20170034248A1 (en) * 2015-07-30 2017-02-02 Bank Of America Corporation File Movement Service Utility
CN107172160A (en) * 2017-05-23 2017-09-15 中国人民银行清算总中心 The Service controll management assembly device of payment transaction system
CN110309002A (en) * 2019-05-29 2019-10-08 北京达佳互联信息技术有限公司 Message treatment method, device, electronic equipment and storage medium
CN110995873A (en) * 2019-12-27 2020-04-10 美的集团股份有限公司 Gateway service interface discovery method, system, electronic device and storage medium
CN111161077A (en) * 2019-12-31 2020-05-15 中国银行股份有限公司 Bank transaction processing method and device
CN111177065A (en) * 2018-11-12 2020-05-19 深圳市中兴微电子技术有限公司 Multi-chip interconnection method and device
CN112015493A (en) * 2020-08-27 2020-12-01 中国平安财产保险股份有限公司 External system interface docking method, device and storage medium
CN112291325A (en) * 2020-10-23 2021-01-29 上海豹云网络信息服务有限公司 Message processing method and device and computer system
CN113127102A (en) * 2021-05-18 2021-07-16 中国农业银行股份有限公司 Method, device, equipment, storage medium and program for processing service data
CN113438134A (en) * 2021-06-30 2021-09-24 未鲲(上海)科技服务有限公司 Request message processing method, device, server and medium
CN113467971A (en) * 2021-06-29 2021-10-01 未鲲(上海)科技服务有限公司 Service processing method, device, equipment and storage medium
CN113590351A (en) * 2021-07-28 2021-11-02 康佳集团股份有限公司 Data processing method, device, terminal and storage medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877158A (en) * 2010-03-23 2010-11-03 苏州德融嘉信信用管理技术有限公司 Front service platform of bank and operation processing method thereof
US20140101265A1 (en) * 2012-10-09 2014-04-10 International Business Machines Corporation Dynamic adaption of electronic routing slips for financial messaging
US20140279670A1 (en) * 2013-03-15 2014-09-18 Sap Ag Consistent Interface for Target Group Business Object
US20170034248A1 (en) * 2015-07-30 2017-02-02 Bank Of America Corporation File Movement Service Utility
CN107172160A (en) * 2017-05-23 2017-09-15 中国人民银行清算总中心 The Service controll management assembly device of payment transaction system
CN111177065A (en) * 2018-11-12 2020-05-19 深圳市中兴微电子技术有限公司 Multi-chip interconnection method and device
CN110309002A (en) * 2019-05-29 2019-10-08 北京达佳互联信息技术有限公司 Message treatment method, device, electronic equipment and storage medium
CN110995873A (en) * 2019-12-27 2020-04-10 美的集团股份有限公司 Gateway service interface discovery method, system, electronic device and storage medium
CN111161077A (en) * 2019-12-31 2020-05-15 中国银行股份有限公司 Bank transaction processing method and device
CN112015493A (en) * 2020-08-27 2020-12-01 中国平安财产保险股份有限公司 External system interface docking method, device and storage medium
CN112291325A (en) * 2020-10-23 2021-01-29 上海豹云网络信息服务有限公司 Message processing method and device and computer system
CN113127102A (en) * 2021-05-18 2021-07-16 中国农业银行股份有限公司 Method, device, equipment, storage medium and program for processing service data
CN113467971A (en) * 2021-06-29 2021-10-01 未鲲(上海)科技服务有限公司 Service processing method, device, equipment and storage medium
CN113438134A (en) * 2021-06-30 2021-09-24 未鲲(上海)科技服务有限公司 Request message processing method, device, server and medium
CN113590351A (en) * 2021-07-28 2021-11-02 康佳集团股份有限公司 Data processing method, device, terminal and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
H. NATHAN RUDE等: "Request Type Prediction for Web Robot and Internet of Things Traffic", 2015 IEEE 14TH INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND APPLICATIONS (ICMLA), 3 March 2016 (2016-03-03) *
邱晓理: "中国银行客户服务系统设计与实现", 中国金融电脑, no. 05 *
阙鸣;: "交易中间件CICS的研究", 电脑知识与技术, no. 35 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114978991A (en) * 2022-05-17 2022-08-30 平安科技(深圳)有限公司 Route distribution method and device, electronic equipment and computer readable storage medium
CN116887197A (en) * 2022-05-26 2023-10-13 银联数据服务有限公司 Banking business processing method and device based on 5G message
CN116887197B (en) * 2022-05-26 2024-02-02 银联数据服务有限公司 Bank based on 5G message service processing method and device
CN115665274A (en) * 2022-10-21 2023-01-31 广域铭岛数字科技有限公司 Data transmission method and system of heterogeneous protocol, electronic device and storage medium
CN115866048A (en) * 2022-11-30 2023-03-28 上海芯赛云计算科技有限公司 Data processing method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN114285793B (en) 2024-06-18

Similar Documents

Publication Publication Date Title
CN114285793B (en) Distribution method, distribution device, distribution equipment and storage medium
CN112748962B (en) Application loading method, device, electronic equipment and computer readable medium
US10303529B2 (en) Protocol for communication of data structures
CN111427701A (en) Workflow engine system and business processing method
CN112288577A (en) Transaction processing method and device for distributed service, electronic equipment and medium
CN112181542A (en) Function calling method and device, electronic equipment and storage medium
CN111831461A (en) Method and device for processing business process
CN110764769A (en) Method and device for processing user request
CN110457132B (en) Method and device for creating functional object and terminal equipment
CN111865868B (en) Cross-network regional service calling method and system
CN110221840B (en) Function implementation method and device of application program, equipment and storage medium
CN112948306B (en) Method and device for expanding system interface
CN111324467B (en) Business service calling method, device, equipment and storage medium
US20070061820A1 (en) Object request broker
CN112905273A (en) Service calling method and device
CN113992641A (en) Data processing method, device, equipment and storage medium
CN111125503A (en) Method and apparatus for generating information
CN116561013B (en) Testing method and device based on target service framework, electronic equipment and medium
CN112948138A (en) Method and device for processing message
US7743386B2 (en) Context objects for accessing message content
CN116051218A (en) Client billing method and system based on embedded browser
CN112783903B (en) Method and device for generating update log
CN113448652A (en) Request processing method and device
CN113760262A (en) Task processing method, device, computer system and computer readable storage medium
CN113468041A (en) Interface comparison test method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant