CN114979264B - Finance-level message processing method and device - Google Patents

Finance-level message processing method and device Download PDF

Info

Publication number
CN114979264B
CN114979264B CN202210529496.6A CN202210529496A CN114979264B CN 114979264 B CN114979264 B CN 114979264B CN 202210529496 A CN202210529496 A CN 202210529496A CN 114979264 B CN114979264 B CN 114979264B
Authority
CN
China
Prior art keywords
message
financial
label information
data
service interface
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.)
Active
Application number
CN202210529496.6A
Other languages
Chinese (zh)
Other versions
CN114979264A (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.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202210529496.6A priority Critical patent/CN114979264B/en
Publication of CN114979264A publication Critical patent/CN114979264A/en
Application granted granted Critical
Publication of CN114979264B publication Critical patent/CN114979264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Technology Law (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Development Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention provides a financial-level message processing method and a financial-level message processing device, wherein the method comprises the following steps: receiving a financial grade message sent by an external system; according to preset data transmission object definition parameters, mapping a received financial grade message to object data by using a dynamic reflection method, and determining label information of the object; according to the label information of the object, carrying out route calculation based on a logistic regression model, and determining a service interface for data reception in an internal system; and sending the object data to the service interface. According to the definition parameters of the preset data transmission object, the received financial grade message is mapped to object data by using a dynamic reflection method to determine the label information of the object, so that the label is dynamically converted based on annotation, the conversion speed and efficiency of the message are high, and the processing efficiency of the message is improved.

Description

Finance-level message processing method and device
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and an apparatus for processing a financial level message.
Background
In the financial level message processing process, a message is often required to be assembled according to a message protocol format and sent to a receiver, and meanwhile, the received message is also required to be converted into an object which can be processed by a service, for example, a Tag1=value #0001 Tag2=value #0001 message protocol, tag1 and Tag2 labels are required to be dynamically converted into variables such as 'name', 'age', and the like, and the message is converted into a JSON (JavaScriptObject Notation, JS object profile) object such as { 'name': 'xiaoming', 'age': 23, the prior art adopts a database configuration mode to perform conversion, but the database connection number is large, so that the conversion speed is low, and the processing efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a financial-grade message processing method, which is used for improving the processing efficiency of a message, and comprises the following steps:
Receiving a financial grade message sent by an external system;
According to preset data transmission object definition parameters, mapping a received financial grade message to object data by using a dynamic reflection method, and determining label information of the object;
according to the label information of the object, carrying out route calculation based on a logistic regression model, and determining a service interface for data reception in an internal system;
And sending the object data to the service interface.
The embodiment of the invention also provides a financial-grade message processing device, which is used for improving the processing efficiency of the message, and comprises the following steps:
the message receiving module is used for receiving financial-grade message messages sent by an external system;
the message conversion module is used for mapping the received financial grade message into object data by utilizing a dynamic reflection method according to preset data transmission object definition parameters and determining the label information of the object;
The route calculation module is used for carrying out route calculation based on a logistic regression model according to the label information of the object and determining a service interface for data reception in an internal system;
And the internal system forwarding module is used for sending the object data to the service interface.
The embodiment of the invention also provides computer equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the financial-level message processing method when executing the computer program.
Embodiments of the present invention also provide a computer-readable storage medium storing a computer program for executing the above-described financial-level message processing method.
Embodiments of the present invention also provide a computer program product comprising a computer program which, when executed by a processor, implements the above-described financial level message processing method.
In the embodiment of the invention, the financial-grade message sent by an external system is received; according to preset data transmission object definition parameters, mapping a received financial grade message to object data by using a dynamic reflection method, and determining label information of the object; according to the label information of the object, carrying out route calculation based on a logistic regression model, and determining a service interface for data reception in an internal system; and sending the object data to the service interface. According to the definition parameters of the preset data transmission object, the received financial grade message is mapped to object data by using a dynamic reflection method to determine the label information of the object, so that the label is dynamically converted based on annotation, the conversion speed and efficiency of the message are high, and the processing efficiency of the message is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a method for processing a financial-level message according to an embodiment of the invention.
Fig. 2 is a schematic diagram of a method for processing a financial-level message according to an embodiment of the invention.
Fig. 3 is a schematic diagram of the working logic of the financial-level message processing system according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a financial-level message processing apparatus according to an embodiment of the invention.
Fig. 5 is a schematic diagram of a financial-level message processing apparatus according to an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The embodiment of the invention provides a financial-grade message processing method for improving the processing efficiency of a message, as shown in fig. 1, comprising the following steps:
step 101: receiving a financial grade message sent by an external system;
Step 102: according to preset data transmission object definition parameters, mapping a received financial grade message to object data by using a dynamic reflection method, and determining label information of the object;
step 103: according to the label information of the object, carrying out route calculation based on a logistic regression model, and determining a service interface for data reception in an internal system;
Step 104: and sending the object data to the service interface.
As can be seen from the flow shown in fig. 1, in the embodiment of the present invention, a financial level message sent by an external system is received; according to preset data transmission object definition parameters, mapping a received financial grade message to object data by using a dynamic reflection method, and determining label information of the object; according to the label information of the object, carrying out route calculation based on a logistic regression model, and determining a service interface for data reception in an internal system; and sending the object data to the service interface. According to the definition parameters of the preset data transmission object, the received financial grade message is mapped to object data by using a dynamic reflection method to determine the label information of the object, so that the label is dynamically converted based on annotation, the conversion speed and efficiency of the message are high, and the processing efficiency of the message is improved.
When the method is implemented, firstly, a financial-grade message sent by an external system is received, wherein the financial-grade message refers to a message conforming to a data exchange standard protocol of the financial industry, such as a message relating to fund purchase, redemption, fixed casting and the like, the content comprises data items such as transaction types, account numbers, account types and the like, and common data exchange modes comprise TCP, FTP, MQ online and batch modes and the like. In this embodiment, the financial-level message refers to a form of interactive message with the TA system by adopting an MQ message queue online mode. In a specific embodiment, the external system is a TA (chinese settlement company) open-type funds registering and passing system, which is a system for registering the share of open-type funds held by settlement investors by a securities registering and settling institution.
In a specific embodiment, in order to further improve processing efficiency and ensure security of a message, validity check needs to be performed on a received message in advance, and when step 101 is implemented specifically, validity of a financial-grade message sent by an external system is checked according to preset message specification information, and the financial-grade message is received after the validity check. The message specification information refers to relevant specifications for validity of the financial-level message, namely relevant specifications for type, length, value range and the like of the message.
After receiving the financial grade message sent by the external system, the received financial grade message is mapped to object data by using a dynamic reflection method according to preset data transmission object definition parameters, and the label information of the object is determined. In a specific embodiment, the preset data transmission object definition parameters refer to a conversion rule formed by labeling the message by pre-applying a custom Annotation. Java provides a way and method to associate any information or any metadata (metadata) for a program element, annotion is an interface where the program can retrieve Annotion objects specifying the program element by reflection and then metadata within the Annotation by Annotion objects, and the analysis can be used to create documents, track dependencies in the code, and even perform basic compile-time checks. From some aspects, the animation is used just like modifiers and applies to declarations of packages, types, construction methods, member variables, parameters, local variables. This information is stored in the "name=value" structure pair of the animation, the members of which provide the associated information of the program element (members called parameters or Annotation attributes), and the members of which are declared in the form of a parameter-free method in the type of animation. The method name and return value of which define the name and type of the member. In a specific embodiment, a relationship between a data transmission object (DTO, data Transfer object) of a financial-level message and an original message is determined through a custom annotation, so as to obtain a preset data transmission object definition parameter, which specifically includes: formulating a financial-level message specification, and normalizing the format and other contents of the financial-level message; collecting, sorting and receiving message protocols of both sides, and refining related message rules; preprocessing such as sorting, removing blank spaces, punctuation, escape characters and the like on the obtained message protocol; forming a DTO object corresponding to the financial level message according to the custom annotation specification; perfect the definition of DTO object, and make the constraint of DTO object, such as message length, enumeration value, type, routing rule, etc, to form message DTO annotation rule.
After the definition parameters of the data transmission object are obtained, the received financial grade message is mapped to object data by utilizing a dynamic reflection method, the label information of the object is determined, and when the method is implemented, the object data is dynamically mapped in a reflection mode according to the formed message DTO annotation rule, and the label information such as the object type, the length, the enumeration value, the routing rule, the check bit and the like is obtained. Wherein, dynamic Reflection is to map each component in Java class into individual Java object. I.e. in the running state, for any one class, all properties and methods of this class can be known; any one of its methods and attributes can be invoked for any one of the objects. The function of the dynamic acquisition information and the dynamic calling object method is called as a Java reflection mechanism. The method has the functions of judging the class to which any one object belongs when running and constructing the object of any one class when running; the member variable and method of any class are judged at the running time.
After the label information of the object is determined, route calculation is performed based on the logistic regression model according to the label information of the object, and a service interface for data reception in an internal system is determined. The specific implementation process comprises the following steps: and according to the routing rule, scoring estimation is carried out based on a logistic regression model, and the routing address of the service interface for data reception in the internal system is determined. The Logistic regression LR model is also called Logistic regression analysis, and is a generalized linear regression analysis model. In a specific embodiment, the request needs to be routed to a corresponding interface according to the request context, and the specific embodiment is based on LR regression model scoring estimation, so that the rule-based message dynamic routing is realized.
And after determining the service interface for receiving the data in the internal system, sending the object data to the service interface. The internal system refers to a system such as an investment product sales platform in a bank, and can provide investment product sales service for customers, and the system comprises functions of product display, transaction, order form, clearing, comprehensive inquiry, system management, data exchange and the like.
In a specific embodiment, the method for processing a financial-level message provided not only can convert a message sent by an external system and send the converted message to an internal system, but also can package object data transmitted by the internal system into a message and send the message to a corresponding external system, as shown in fig. 2, and further includes, on the basis of fig. 1:
Step 201: receiving object data sent by the service interface;
step 202: according to the definition parameters of the data transmission object, acquiring annotation content corresponding to the received object data by using a dynamic reflection method, and determining the tag information of the received object;
Step 203: assembling the received object data into corresponding financial grade message according to the label information of the received object;
step 204: and carrying out routing calculation based on the logistic regression model according to the label information of the received object, determining a service interface for message reception in the external system, and sending the assembled financial grade message to the service interface for message reception in the external system.
In specific implementation, according to the label information defined by the message DTO annotation rule, object data is automatically assembled into a specified message format (for example 1008=value #00011009 =value # 0001), the length, the check bit, the message start head and the like are automatically assigned, and the assembled message is packaged and then sent to a message receiver.
In addition, in a specific embodiment, a unique identifier MsgID of the message is defined based on a routing rule of the financial-level message, so as to form a message link map of the message, and realize full-link tracking of the message.
A specific example is given below to illustrate how embodiments of the present invention may perform financial level message processing.
This embodiment provides a financial-level message processing system, including:
The message definition module is used for defining a message DTO annotation rule, and comprises a message length, a type, an enumeration value, a routing rule and the like.
And the data preprocessing module is used for checking the functions of the message length, the necessity of filling the contained fields, the message type, the value range, the validity and the like of the received financial-grade message according to the preset message specification information.
The message receiving module is used for realizing dynamic routing of the message based on the score estimation of the LR regression model according to rules defined by the notes; service asynchronous decoupling and full-link asynchronous message receiving are realized by adopting a scheme based on kafka message middleware.
The message sending module is used for packaging the message bottom layer receiving and sending API functions, and adopting a scheme based on kafka message middleware to realize service asynchronous decoupling and full-link asynchronous message sending; the method is used for realizing the dynamic routing of the message based on the LR regression model score estimation according to the rule defined by the annotation.
And the message analysis module is used for splitting the message according to a message format rule specified in advance.
The message conversion module is used for carrying out dynamic tag mapping on the split message according to a message DTO annotation rule specified in advance by the user-defined annotation to generate a corresponding JSON object group; or automatically assembling the JSON object group sent by the internal system into a message format according to a message DTO annotation rule, and automatically assigning a length, a check bit, a message start head and the like.
The user-defined rule function module is used for dynamically defining a message retransmission rule, such as whether retransmission is performed, the number of times of retransmission, the time requirement of retransmission and the like; the method can also be used for self-defining a receipt message processing mode, a retransmission message processing mode and the like;
The full-link tracking function module is used for recording the sending and receiving conditions of the financial-grade message; and defining a message unique identifier MsgID based on a routing rule to form a message link map so as to realize the full-link tracking function of the message.
The working logic of the financial-level message processing system is shown in fig. 3, and includes:
The external system interface sends a financial-grade message to the message receiving module, receives financial-grade message data sent by the external system, carries out message validity check according to the message specification information, comprises the type, the length, the value range and the like of the message, returns legal and illegal judgment, and returns to the external system if illegal; if the message is legal, the message is provided to a message parsing module. And splitting the message according to a message format rule prescribed in advance. The split message is sent to a message conversion module, dynamic label mapping is carried out according to a message DTO annotation rule specified in advance by a user-defined annotation, message format conversion is carried out, and JSON object data which can be understood and processed by a program is converted; and meanwhile, carrying out route calculation according to the obtained route rule label, selecting a corresponding message receiving service interface and sending the message receiving service interface to a corresponding internal system.
The internal system interface transmits JSON object data, supplies the JSON object data to the message conversion module, converts the message format into the message format required by the outside according to the message DTO annotation rule specified in advance by the user-defined annotation, performs route calculation according to the defined route rule label, selects a corresponding service interface, supplies the service interface to the message transmission module, transmits the financial-grade message meeting the specification to the corresponding service interface, and supplies the service interface to the external system.
The problems of long message, multiple database connection numbers, low conversion efficiency, poor visualization effect and the like in the process of message analysis in the prior art are solved by dynamically converting labels based on preset custom annotations; and when the field is changed, the message interface does not need to be correspondingly adjusted, so that the flexibility is higher. By scoring and estimating based on the LR regression model, the dynamic routing of the message based on the routing rule is realized, but in the prior art, a simple version identification mode can only be adopted, so that the simple version routing of the message is realized, and compared with the prior art, the method is more automatic and flexible.
The implementation of the above specific application is only an example, and the rest of the embodiments are not described in detail.
Based on the same inventive concept, the embodiment of the invention also provides a financial-grade message processing device, and because the principle of the problem solved by the financial-grade message processing device is similar to that of the financial-grade message processing method, the implementation of the financial-grade message processing device can refer to the implementation of the financial-grade message processing method, and the repetition is omitted, and the specific structure is shown in fig. 4:
a message receiving module 401, configured to receive a financial level message sent by an external system;
the message conversion module 402 is configured to map the received financial level message to object data by using a dynamic reflection method according to a preset data transmission object definition parameter, and determine tag information of the object;
The route calculation module 403 is configured to perform route calculation based on the logistic regression model according to the label information of the object, and determine a service interface for receiving data in the internal system;
an internal system forwarding module 404, configured to send the object data to the service interface.
In specific implementation, the message receiving module 401 is specifically configured to:
and verifying the validity of the financial-grade message sent by the external system according to preset message specification information, and receiving the financial-grade message after verifying the validity.
In a specific embodiment, the label information of the object includes a routing rule, and accordingly, the routing calculation module 403 is specifically configured to: and according to the routing rule, scoring estimation is carried out based on a logistic regression model, and the routing address of the service interface for data reception in the internal system is determined.
In a specific embodiment, as shown in fig. 5, the apparatus for processing a financial-level message further includes:
an object data receiving module 501, configured to receive object data sent by the service interface;
the object data analysis module 502 is configured to obtain annotation content corresponding to the received object data by using a dynamic reflection method according to the data transmission object definition parameter, and determine tag information of the received object;
The report Wen Pinjie module 503 is configured to assemble the received object data into a corresponding financial level message according to the tag information of the received object;
The message sending module 504 is configured to perform routing computation based on the logistic regression model according to the label information of the received object, determine a service interface for receiving the message in the external system, and send the assembled financial-grade message to the service interface for receiving the message in the external system.
The embodiment of the invention also provides computer equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the financial-level message processing method when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium which stores a computer program for executing the financial-grade message processing method.
Embodiments of the present invention also provide a computer program product comprising a computer program which, when executed by a processor, implements the above-described financial level message processing method.
In summary, the method and device for processing financial-level message provided by the embodiment of the invention have the following advantages:
receiving a financial grade message sent by an external system; according to preset data transmission object definition parameters, mapping a received financial grade message to object data by using a dynamic reflection method, and determining label information of the object; according to the label information of the object, carrying out route calculation based on a logistic regression model, and determining a service interface for data reception in an internal system; and sending the object data to the service interface. According to the definition parameters of the preset data transmission object, the received financial grade message is mapped to object data by using a dynamic reflection method to determine the label information of the object, so that the label is dynamically converted based on annotation, the conversion speed and efficiency of the message are high, the processing efficiency of the message is improved, and the visualization effect is good. By estimating the score based on the LR regression model, the message dynamic routing based on the routing rule is realized, and the efficient interface routing based on autonomous learning can be provided. By forming the message link map, the dynamic tracking of the message full service is realized.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, and various modifications and variations can be made to the embodiments of the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. A method for processing a financial-level message, comprising:
Receiving a financial grade message sent by an external system;
According to preset data transmission object definition parameters, mapping a received financial grade message to object data by using a dynamic reflection method, and determining label information of the object;
according to the label information of the object, carrying out route calculation based on a logistic regression model, and determining a service interface for data reception in an internal system;
Sending the object data to the service interface;
According to preset data transmission object definition parameters, mapping a received financial grade message to object data by using a dynamic reflection method, and determining label information of the object, wherein the method comprises the following steps:
determining the relation between the data transmission object of the financial-level message and the original message through the custom annotation to obtain a preset data transmission object definition parameter; the preset data transmission object definition parameters refer to conversion rules formed by labeling the message by pre-applying user-defined annotations;
According to preset data transmission object definition parameters, mapping object data in a dynamic reflection mode, and obtaining label information of the following objects: object type, length, enumerated value, routing rule, and check bit; wherein dynamic reflection is the mapping of individual components in a Java class into individual Java objects.
2. The method of claim 1, wherein the label information of the object comprises a routing rule;
According to the label information of the object, performing routing calculation based on a logistic regression model, and determining a service interface for data reception in an internal system, wherein the method comprises the following steps:
and according to the routing rule, scoring estimation is carried out based on a logistic regression model, and the routing address of the service interface for data reception in the internal system is determined.
3. The method of claim 1, wherein receiving a financial-level message sent by an external system comprises:
And verifying the validity of the financial-grade message sent by the external system according to preset message specification information, and receiving the financial-grade message after verifying the validity.
4. The method as recited in claim 1, further comprising:
Receiving object data sent by the service interface;
according to the data transmission object definition parameters, acquiring annotation content corresponding to the received object data by using a dynamic reflection method, and determining tag information of the received object;
assembling the received object data into corresponding financial grade message according to the label information of the received object;
And carrying out routing calculation based on the logistic regression model according to the label information of the received object, determining a service interface for message reception in the external system, and sending the assembled financial grade message to the service interface for message reception in the external system.
5. A financial-level message processing apparatus, comprising:
the message receiving module is used for receiving financial-grade message messages sent by an external system;
the message conversion module is used for mapping the received financial grade message into object data by utilizing a dynamic reflection method according to preset data transmission object definition parameters and determining the label information of the object;
The route calculation module is used for carrying out route calculation based on a logistic regression model according to the label information of the object and determining a service interface for data reception in an internal system;
The internal system forwarding module is used for sending the object data to the service interface;
the message conversion module is specifically configured to:
determining the relation between the data transmission object of the financial-level message and the original message through the custom annotation to obtain a preset data transmission object definition parameter; the preset data transmission object definition parameters refer to conversion rules formed by labeling the message by pre-applying user-defined annotations;
According to preset data transmission object definition parameters, mapping object data in a dynamic reflection mode, and obtaining label information of the following objects: object type, length, enumerated value, routing rule, and check bit; wherein dynamic reflection is the mapping of individual components in a Java class into individual Java objects.
6. The apparatus of claim 5, wherein the label information of the object comprises a routing rule;
The route calculation module is specifically configured to: and according to the routing rule, scoring estimation is carried out based on a logistic regression model, and the routing address of the service interface for data reception in the internal system is determined.
7. The apparatus of claim 5, wherein the message receiving module is specifically configured to:
And verifying the validity of the financial-grade message sent by the external system according to preset message specification information, and receiving the financial-grade message after verifying the validity.
8. The apparatus as recited in claim 5, further comprising:
The object data receiving module is used for receiving the object data sent by the service interface;
The object data analysis module is used for acquiring annotation content corresponding to the received object data by utilizing a dynamic reflection method according to the data transmission object definition parameters and determining the label information of the received object;
the message splicing module is used for splicing the received object data into corresponding financial grade message messages according to the label information of the received object;
and the message sending module is used for carrying out route calculation based on the logistic regression model according to the label information of the received object, determining a service interface for message reception in the external system, and sending the assembled financial grade message to the service interface for message reception in the external system.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1 to 4 when executing the computer program.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the method of any of claims 1 to 4.
11. A computer program product, characterized in that it comprises a computer program which, when executed by a processor, implements the method of any of claims 1 to 4.
CN202210529496.6A 2022-05-16 2022-05-16 Finance-level message processing method and device Active CN114979264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210529496.6A CN114979264B (en) 2022-05-16 2022-05-16 Finance-level message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210529496.6A CN114979264B (en) 2022-05-16 2022-05-16 Finance-level message processing method and device

Publications (2)

Publication Number Publication Date
CN114979264A CN114979264A (en) 2022-08-30
CN114979264B true CN114979264B (en) 2024-04-19

Family

ID=82984074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210529496.6A Active CN114979264B (en) 2022-05-16 2022-05-16 Finance-level message processing method and device

Country Status (1)

Country Link
CN (1) CN114979264B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116089734A (en) * 2023-04-12 2023-05-09 神州数码融信云技术服务有限公司 Method and device for processing information of financial product, computer equipment and storage medium
CN116346961B (en) * 2023-05-30 2023-09-05 成方金融科技有限公司 Financial message processing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019210574A1 (en) * 2018-05-04 2019-11-07 平安科技(深圳)有限公司 Message processing method, apparatus, device, and readable storage medium
CN111949614A (en) * 2020-08-12 2020-11-17 中国工商银行股份有限公司 Bank system file conversion method and device
CN113422810A (en) * 2021-06-02 2021-09-21 广州三星通信技术研究有限公司 Method and device for sending information to service provider
CN114168149A (en) * 2021-12-09 2022-03-11 深圳前海微众银行股份有限公司 Data conversion method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019210574A1 (en) * 2018-05-04 2019-11-07 平安科技(深圳)有限公司 Message processing method, apparatus, device, and readable storage medium
CN111949614A (en) * 2020-08-12 2020-11-17 中国工商银行股份有限公司 Bank system file conversion method and device
CN113422810A (en) * 2021-06-02 2021-09-21 广州三星通信技术研究有限公司 Method and device for sending information to service provider
CN114168149A (en) * 2021-12-09 2022-03-11 深圳前海微众银行股份有限公司 Data conversion method and device

Also Published As

Publication number Publication date
CN114979264A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
CN114979264B (en) Finance-level message processing method and device
CN107103462B (en) Method and device for processing snapshot data of cross-border remittance of bank
US7634726B2 (en) Technique for automated e-business services
Motahari Nezhad et al. Semi-automated adaptation of service interactions
CN108563768A (en) Data transfer device, device, equipment and the storage medium of different data model
EP3751491A1 (en) Method and apparatus for storing information
US7506803B2 (en) Systems and methods for validating RFID tag data prior to writing into RFID tag
CN109447641A (en) To the method and apparatus of block chain browser transport block chain data
US20240078246A1 (en) Systems and Methods for Unifying Formats and Adaptively Automating Processing of Business Records Data
CN108960745A (en) A kind of WMS system and ERP system interconnection method
Guo et al. Capability matching of web services based on OWL-S
CN114757619A (en) Package transportation state identification method and related equipment
CN116346961B (en) Financial message processing method and device, electronic equipment and storage medium
CN104408062B (en) Security file processing method and device
US20230385891A1 (en) Prototype message service
US7774793B2 (en) System and method for the integration of data output by a plurality of applications
CN112699119A (en) Cross-system data processing method, device, equipment and storage medium
US20130317889A1 (en) Methods for assessing transition value and devices thereof
CN110995754B (en) Method, device and equipment for managing data message indexes
CN111126983B (en) Order receiving connection method based on sales terminal, sales terminal and sales equipment
EP1560137A1 (en) Technique for reliable message confirmation
US20110161206A1 (en) System and method for collection of data related to the sale of a vehicle
KR20080072010A (en) Representing business transactions
Nurmilaakso XML-based supply chain integration: a review and a case study
CN110995755B (en) Method, device and equipment for configuring data message

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