CN111711512A - Message sending method and device - Google Patents
Message sending method and device Download PDFInfo
- Publication number
- CN111711512A CN111711512A CN202010618785.4A CN202010618785A CN111711512A CN 111711512 A CN111711512 A CN 111711512A CN 202010618785 A CN202010618785 A CN 202010618785A CN 111711512 A CN111711512 A CN 111711512A
- Authority
- CN
- China
- Prior art keywords
- message
- data
- error
- loan
- full
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0006—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/03—Credit; Loans; Processing thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0033—Systems modifying transmission characteristics according to link quality, e.g. power backoff arrangements specific to the transmitter
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Quality & Reliability (AREA)
- Technology Law (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Marketing (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a message sending method and a device, wherein the method comprises the following steps: processing and complementing the obtained public loan data and private loan data to obtain a full data message, and sending the full data message to a message receiver; circularly executing the following steps until the feedback error code and the error message are not received in a preset time period: receiving an error code and an error message fed back by a message receiver; modifying the full data message according to the error code and the error message to generate an incremental data message; and sending the incremental data message to a message receiver. The method only needs to send the increment data modified by errors without sending all data messages, thereby reducing the data volume of message sending and improving the message sending efficiency; because the incremental data message is not limited to be sent for times every day, the incremental data message can be sent for multiple times even if errors occur, the message sending task can be guaranteed to be completed in one day, the incremental data message does not need to be sent for the next day, and the time consumed for sending the message is reduced.
Description
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a message sending method and apparatus.
Background
In response to the requirement of the financial information system of the Chinese people's bank on the collection of loan detail data of each financial institution, each financial institution needs to report loan information to the financial information system of the people's bank through message middleware. And each financial institution reports the previous quarter of the public loan data and the previous quarter of the private loan data to the people's bank through messages. However, repeated reporting is avoided, the full data message sent by each financial institution is only allowed to be reported once every day, the requirement on the message is high when the message middleware of the message is received by the people's bank, the error probability of the full data message is very high, the message can be sent after being modified again only the next day after the first-day sending failure is caused, and the sending time of the loan information message is greatly increased until the modified full data message has no error.
Disclosure of Invention
The embodiment of the invention provides a message sending method, which is used for reducing the sending time of an accurate poverty-righting loan information message and comprises the following steps:
acquiring the data of the public loan and the data of the private loan;
processing and complementing the public loan data and the private loan data to obtain a full data message, and sending the full data message to a message receiver;
the following steps are executed in a circulating manner until the error code and the error message fed back by the message receiver are not received within a preset time period:
receiving an error code and an error message fed back by the message receiver;
modifying the full message according to the error code and the error message to generate an incremental data message;
and sending the incremental data message to a message receiver.
In a specific embodiment, the processing and completion of the public loan data and the private loan data includes:
when the format of the public loan data and the private loan data is not in accordance with the preset message format, carrying out format adjustment conversion on the public loan data and the private loan data;
and when the data length of the public loan data and the private loan data is shorter than the preset message data length, completing the public loan data and the private loan data.
In specific implementation, modifying the full data message according to the error code and the error message to generate an incremental data message, including:
determining the error reason according to the error code and the error message;
and modifying the full data message according to the error reason to generate an incremental data message.
Further, if the error source is that one or more error fields with null field values exist in the full data message;
determining a corresponding value of the error field according to the type of the error field and a preset value rule;
and modifying the full data message according to the corresponding value of the error field to generate an incremental data message.
The embodiment of the invention also provides a message sending device, which is used for reducing the sending time consumption of the accurate poverty-righting loan information message, and comprises the following components:
the data acquisition module is used for acquiring the data of the public loan and the data of the private loan;
the system comprises a full message sending module, a message receiving party and a data processing module, wherein the full message sending module is used for processing and completing the public loan data and the private loan data to obtain a full data message and sending the full data message to a message receiving party;
the increment message sending module is used for circularly executing the following steps until the error code and the error message fed back by the message receiver are not received within a preset time period:
receiving an error code and an error message fed back by the message receiver;
modifying the full data message according to the error code and the error message to generate an incremental data message;
and sending the incremental data message to a message receiver.
In a specific embodiment, the full packet sending module is specifically configured to:
when the format of the public loan data and the private loan data is not in accordance with the preset message format, carrying out format adjustment conversion on the public loan data and the private loan data;
and when the data length of the public loan data and the private loan data is shorter than the preset message data length, completing the public loan data and the private loan data.
In specific implementation, the incremental message sending module is specifically configured to:
determining the error reason according to the error code and the error message;
and modifying the full data message according to the error reason to generate an incremental data message.
Further, the incremental message sending module is specifically configured to:
if the error reason is that one or more error fields with empty field values exist in the full data message;
determining a corresponding value of the error field according to the type of the error field and a preset value rule;
and modifying the full data message according to the corresponding value of the error field to generate an incremental data message.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the message sending method is realized when the processor executes the computer program.
An embodiment of the present invention also provides a computer-readable storage medium, where a computer program for executing the message sending method is stored in the computer-readable storage medium.
In the embodiment of the invention, the data of the public loan and the data of the private loan are obtained; processing and complementing the public loan data and the private loan data to obtain a full data message, and sending the full data message to a message receiver; the following steps are executed in a circulating way until the error code and the error message fed back by the message receiver are not received within a preset time period: receiving an error code and an error message fed back by a message receiver; modifying the full data message according to the error code and the error message to generate an incremental data message; and sending the incremental data message to a message receiver. After the full data message is sent once, the full data message is modified according to the error code and the error message fed back by the message receiver to obtain an incremental data message, only the incremental data modified due to the error is needed to be sent, and all the data messages do not need to be sent after the error occurs every time, so that the data quantity of message sending is reduced, and the message sending efficiency is improved; after the incremental data message is sent again, the error code and the error message fed back by the message receiving party are received and are modified until the error code and the error message are not received any more, and because the incremental data message is not limited in sending times every day, errors can be sent for many times even if the errors occur, the message sending task can be guaranteed to be completed in one day, the message is not required to be sent for the next day, and the time consumed for sending the accurate poverty-facilitating loan information message is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a message sending method in an embodiment of the present invention.
FIG. 2 is a diagram illustrating an implementation of step 102 in an embodiment of the present invention.
FIG. 3 is a diagram illustrating an implementation of step 104 in an embodiment of the present invention.
FIG. 4 is a diagram illustrating an implementation of step 302 according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a message sending system in an embodiment of the present invention.
Fig. 6 is a schematic diagram of the working logic of the message sending system in an embodiment of the present invention.
Fig. 7 is a schematic diagram of a message sending apparatus in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a message sending method for reducing the sending time of an accurate poverty-alleviation loan information message, as shown in fig. 1, the method comprises the following steps:
step 101: acquiring the data of the public loan and the data of the private loan;
step 102: processing and complementing the public loan data and the private loan data to obtain a full data message, and sending the full data message to a message receiver;
the following steps are executed in a circulating manner until the error code and the error message fed back by the message receiver are not received within a preset time period:
step 103: receiving an error code and an error message fed back by the message receiver;
step 104: modifying the full message according to the error code and the error message to generate an incremental data message;
step 105: and sending the incremental data message to a message receiver.
As can be known from the process shown in fig. 1, in the embodiment of the present invention, the loan-to-public data and the loan-to-private data are obtained; processing and complementing the public loan data and the private loan data to obtain a full data message, and sending the full data message to a message receiver; the following steps are executed in a circulating way until the error code and the error message fed back by the message receiver are not received within a preset time period: receiving an error code and an error message fed back by a message receiver; modifying the full data message according to the error code and the error message to generate an incremental data message; and sending the incremental data message to a message receiver. After the full data message is sent once, the full data message is modified according to the error code and the error message fed back by the message receiver to obtain an incremental data message, only the incremental data modified due to the error is needed to be sent, and all the data messages do not need to be sent after the error occurs every time, so that the data quantity of message sending is reduced, and the message sending efficiency is improved; after the incremental data message is sent again, the error code and the error message fed back by the message receiving party are received and are modified until the error code and the error message are not received any more, and because the incremental data message is not limited in sending times every day, errors can be sent for many times even if the errors occur, the message sending task can be guaranteed to be completed in one day, the message is not required to be sent for the next day, and the time consumed for sending the accurate poverty-facilitating loan information message is reduced.
In specific implementation, first, the data of the public loan and the data of the private loan are obtained. In the embodiment of the invention, the public loan data and the private loan data are derived from personal accurate poverty relief loan information, industry accurate poverty relief loan information and project accurate poverty relief loan information recorded and counted in a bank background system. The personal accurate poverty relief loan refers to a loan issued by a banking financial institution to the profiling card-setting poor population and a total loan issued by a banking financial institution to individuals outside the profiling card-setting poor population and having poverty relief driving effect on the profiling card-setting poor population. The industry accurate poverty relief loan refers to all loans which are issued by banking financial institutions to enterprises (affairs) in the border or other organizations which can be used as borrowers by national regulations, are used for developing the industry and have poverty relief driving effect on poor population for establishing the file card. The project accurate poverty relief loan refers to all loans which are issued by banking financial institutions to in-border enterprises (affairs) legal persons or other organizations specified by the state and can be used as borrowers to serve projects of establishing files and setting up poverty population. The project loan types comprise easy poverty relief relocation loan, farmland infrastructure loan, ecological environment modification loan and rural infrastructure loan.
After obtaining the public loan data and the private loan data, processing and complementing the public loan data and the private loan data to obtain a full data message, which is specifically implemented as shown in fig. 2 and includes:
step 201: when the format of the public loan data and the private loan data is not in accordance with the preset message format, carrying out format adjustment conversion on the public loan data and the private loan data;
step 202: and when the data length of the public loan data and the private loan data is shorter than the preset message data length, completing the public loan data and the private loan data.
After obtaining the full data message, sending the full data message to a message receiver, and circularly executing the following steps until an error code and an error message fed back by the message receiver are not received within a preset time period:
receiving an error code and an error message fed back by a message receiver;
modifying the full message according to the error code and the error message to generate an incremental data message;
and sending the incremental data message to a message receiver.
The preset time period generally refers to the time when the message receiver feeds back an error after receiving the message, for example, the average feedback time is 5 minutes, and the preset time can be set to 5-10 minutes.
Wherein, according to the error code and the error message, the full message is modified to generate an incremental data message, and in specific implementation, as shown in fig. 3, the method includes:
step 301: determining the error reason according to the error code and the error message;
step 302: and modifying the full data message according to the error reason to generate an incremental data message.
In a specific embodiment, the error cause is mainly that one or more error fields with empty field values exist in the full data packet, and at this time, the specific implementation method of step 302, as shown in fig. 4, includes:
step 401: determining the corresponding value of the error field according to the type of the error field and a preset value-taking rule;
step 402: and modifying the full data message according to the corresponding value of the error field to generate an incremental data message.
The preset value-taking rule is a field value-taking rule preset by service personnel according to the requirement of message sending, for example, when the field of the 'area where the client is located' is empty, the field can be filled according to places such as service handling branches or institutions. It will be understood by those skilled in the art that the foregoing values are merely exemplary and are not intended to limit the scope of the present invention.
A specific example is given below to illustrate how the embodiment of the present invention performs message sending. The embodiment is applied to the report of the detailed message of the accurate poverty-alleviation loan of the pedestrian of China bank.
And if the size of the message sent by the financial institution exceeds 4M, performing packet transmission, wherein each packet message cannot exceed 4M. To avoid repeated delivery, a full data message can only be delivered once a day. In the embodiment of the invention, the sent incremental data message reports the modified data in an incremental manner, the reporting times are not limited every day, the line number of the incremental data message is consistent with the line number of the full data message, the record number of the incremental data message is consistent with the record number of the error information receipt message fed back by the human, and if the inconsistent system is not processed, the human system returns an error code through the feedback message.
As shown in fig. 5, the structure of the message sending system for sending a message in this embodiment includes: an IMRS-D subsystem, an IMRS-EMER subsystem and a front-end processor (message middleware).
The IMRS-D subsystem (information management report system of the Chinese banking software center-China) always supervises and reports an A3326 financial accurate poverty-relief loan statistical table in a processing person, and partial information of personal accurate poverty-relief loans, industrial accurate poverty-relief loans and project accurate poverty-relief loans is already stored in a private loan detail table and a public loan detail table in a database. According to the requirement of message elements provided by the people's bank, on the basis of the private loan statement and the public loan statement stored in the IMRS-D subsystem at present, the missing elements are supplemented and processed, and all elements required by the message can be processed. Because the message transmission needs to transmit the full data message first and then transmit the modified incremental data message according to the error information fed back, the IMRS-D subsystem cannot realize the process of modifying the incremental data message to transmit the modified incremental data message again. The IMRS-EMER (information management reporting system-human emergency) subsystem can realize the process of reporting the modified incremental data message after the error information is fed back.
The IMRS-D subsystem modifies the private loan statement and the public loan statement and supplements elements required by the full data message; comparing the private loan statement with the public loan statement, analyzing which elements exist in the statement and are not taken from which upstream systems in the bank, and if the message elements are directly taken from the statement, or converting the message elements according to format requirements to obtain the corresponding relation between the statement and the message;
the IMRS-EMER subsystem receives the private loan detail list and the public loan detail list which are downloaded by the IMRS-D subsystem, generates a full data message consisting of a personal accurate poverty-righting loan data message, an industry accurate poverty-righting loan data message and a project accurate poverty-righting loan data message by using the private loan detail list and the public loan detail list, is butted with a message middleware of a people bank end through a front-end processor, firstly reports the full data message, after error information is fed back, compares error codes according to the error message and the error codes returned by the people bank end, finds out the error message, analyzes error reasons, and then reports the modified incremental data message. The precise poverty relief message requires almost no fields for the message to be empty. However, the existing fields or fields to be supplemented in the private loan statement and the public loan statement in the IMRS-D subsystem at present cannot guarantee that no null value exists at all. Therefore, completion of the data is an important step in incremental data reporting. For some fields, such as the region where the client is located and the organization code, the message specification already stipulates that several methods are used, and a method of preferentially selecting one preset field can be adopted, if the requirement is not met, another preset field is selected, so that the generated field is not empty. For fields with only one access, such as "project name", which is a field in the IMRS-D subsystem where details on the public loan are not stored, it is necessary to retrieve from the upstream CCMS system (corporate credit management system) that the "project name" in the CCMS system is actually a business entry.
In order to improve the message correctness and reduce the times of repeatedly sending incremental data messages, errors possibly occurring need to be analyzed by contrasting error codes, and the accurate corresponding relation between data and the messages is supplemented as much as possible and continuously corrected.
The IMRS-D subsystem and the IMRS-EMER subsystem are the existing systems of the Chinese bank, and the IMRS-D subsystem and the IMRS-EMER subsystem are directly connected to download and receive the list of the private loan and the list of the public loan. The message middleware used by the people bank end is TongLINK/Q, the version is V8.1.11.0, therefore, the selected message middleware needs to be capable of being in butt joint with the TongLINK/Q of the people bank end. Namely, the front-end processor is expected to purchase a machine which accords with the standard of the people bank, and the IMRS-EMER subsystem is in butt joint with the message middleware at the people bank end through the front-end processor. The IMRS-D subsystem stores data by adopting an oracle database, and the IMRS-EMER subsystem provides a web page by adopting a java framework to provide a page for business personnel to modify messages.
The working logic flow of the message sending system implemented by the specific application is shown in fig. 6, and includes:
s1: the IMRS-D subsystem receives data of an upstream system through a DCDS (data download platform), processes a private loan statement and a public loan statement, and directly transmits the data to the IMRS-EMER subsystem in an FTP mode.
S2: the IMRS-EMER subsystem receives the detailed tables of the private loan and the public loan, processes batch data messages of personal accurate poverty relief loan, industrial accurate poverty relief loan and project accurate poverty relief loan, generates a full data message and sends the full data message to the front-end processor.
S3: the front-end processor receives the full data message and sends the message to the bank end of people.
S4: and the people bank end receives the full data message and feeds back an error code and an error message to the front-end processor.
S5: and the front-end processor receives the error code and the error message and sends the error code and the error message to the IMRS-EMER subsystem.
S6: and the IMRS-EMER subsystem receives the error codes and the error messages, service personnel modify the web front end of the IMRS-EMER subsystem, and the IMRS-EMER subsystem sends the modified incremental data messages to the front-end processor.
S7: the front-end processor receives the incremental data message and sends the incremental data message to the bank end of the people.
S8: and the people bank end receives the incremental data message and feeds back an error code and an error message to the front-end processor.
S5: and repeating the steps S5 to S8 until the people bank does not feed back the error code within a preset time period, which indicates that the sent message meets the requirements of the people bank.
In specific implementation, the IMRS-D subsystem can analyze messages needing to be sent compared with the private and public loan statement in advance, and can amend data to be completed by one-time table structure amendment and processing program amendment, lay the data analyzed in advance, and process the messages by the amended program when the messages are sent subsequently. The IMRS-EMER subsystem can analyze the corresponding relation between the detail list and the message in advance, the corresponding relation is directly applied to the generated message each time, and if a new corresponding relation appears, the original corresponding relation is modified and updated so as to finish the generation of the message quickly.
The specific application is implemented, the existing system and data information of China banks are adopted, the full data message is generated after loan data is supplemented, only the front-end processor needs to be purchased, and compared with a newly-built system and newly-collected data, the full-quantity data message is used for sending the accurate poverty-facilitating loan detail message required by a pedestrian, the cost is low, the risk is small, and the implementation is simple.
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, embodiments of the present invention further provide a message sending apparatus, and because the principle of the problem solved by the message sending apparatus is similar to that of the message sending method, the implementation of the message sending apparatus may refer to the implementation of the message sending method, and repeated parts are not repeated, and the specific structure is as shown in fig. 7:
the data acquisition module 701 is used for acquiring the data of the public loan and the data of the private loan;
a full-volume message sending module 702, configured to process and supplement the public loan data and the private loan data to obtain a full-volume data message, and send the full-volume data message to a message receiving party;
the incremental message sending module 703 is configured to cyclically execute the following steps until an error code and an error message fed back by a message receiver are not received within a preset time period:
receiving an error code and an error message fed back by a message receiver;
modifying the full data message according to the error code and the error message to generate an incremental data message;
and sending the incremental data message to a message receiver.
In a specific embodiment, the full packet sending module 702 is specifically configured to:
when the format of the public loan data and the private loan data is not in accordance with the preset message format, carrying out format adjustment conversion on the public loan data and the private loan data;
and when the data length of the public loan data and the private loan data is shorter than the preset message data length, completing the public loan data and the private loan data.
In a specific embodiment, the incremental message sending module 703 is specifically configured to:
determining the error reason according to the error code and the error message;
and modifying the full data message according to the error reason to generate an incremental data message.
Further, in specific implementation, the incremental message sending module 703 is specifically configured to:
if the error reason is that one or more error fields with empty field values exist in the full data message;
determining the corresponding value of the error field according to the type of the error field and a preset value-taking rule;
and modifying the full data message according to the corresponding value of the error field to generate an incremental data message.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the message sending method is realized when the processor executes the computer program.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program for executing the message sending method.
In summary, the message sending method and apparatus provided in the embodiments of the present invention have the following advantages:
obtaining the data of the public loan and the data of the private loan; processing and complementing the public loan data and the private loan data to obtain a full data message, and sending the full data message to a message receiver; the following steps are executed in a circulating way until the error code and the error message fed back by the message receiver are not received within a preset time period: receiving an error code and an error message fed back by a message receiver; modifying the full data message according to the error code and the error message to generate an incremental data message; and sending the incremental data message to a message receiver. After the full data message is sent once, the full data message is modified according to the error code and the error message fed back by the message receiver to obtain an incremental data message, only the incremental data modified due to the error is needed to be sent, and all the data messages do not need to be sent after the error occurs every time, so that the data quantity of message sending is reduced, and the message sending efficiency is improved; after the incremental data message is sent again, the error code and the error message fed back by the message receiving party are received and are modified until the error code and the error message are not received any more, and because the incremental data message is not limited in sending times every day, errors can be sent for many times even if the errors occur, the message sending task can be guaranteed to be completed in one day, the message is not required to be sent for the next day, and the time consumed for sending the accurate poverty-facilitating loan information message is reduced.
As will be appreciated by one skilled in the art, 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes may be made to the embodiment of the present invention by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A method for sending a message, comprising:
acquiring the data of the public loan and the data of the private loan;
processing and complementing the public loan data and the private loan data to obtain a full data message, and sending the full data message to a message receiver;
the following steps are executed in a circulating manner until the error code and the error message fed back by the message receiver are not received within a preset time period:
receiving an error code and an error message fed back by the message receiver;
modifying the full message according to the error code and the error message to generate an incremental data message;
and sending the incremental data message to a message receiver.
2. The method of claim 1, wherein processing the loan-to-public data and loan-to-private data to be completed comprises:
when the format of the public loan data and the private loan data is not in accordance with the preset message format, carrying out format adjustment conversion on the public loan data and the private loan data;
and when the data length of the public loan data and the private loan data is shorter than the preset message data length, completing the public loan data and the private loan data.
3. The method of claim 1, wherein modifying the full data packet to generate an incremental data packet based on the error code and the error packet comprises:
determining the error reason according to the error code and the error message;
and modifying the full data message according to the error reason to generate an incremental data message.
4. The method of claim 3, wherein modifying the full data packet to generate an incremental data packet according to the error cause comprises:
if the error reason is that one or more error fields with empty field values exist in the full data message;
determining a corresponding value of the error field according to the type of the error field and a preset value rule;
and modifying the full data message according to the corresponding value of the error field to generate an incremental data message.
5. A message transmission apparatus, comprising:
the data acquisition module is used for acquiring the data of the public loan and the data of the private loan;
the system comprises a full message sending module, a message receiving party and a data processing module, wherein the full message sending module is used for processing and completing the public loan data and the private loan data to obtain a full data message and sending the full data message to a message receiving party;
the increment message sending module is used for circularly executing the following steps until the error code and the error message fed back by the message receiver are not received within a preset time period:
receiving an error code and an error message fed back by the message receiver;
modifying the full data message according to the error code and the error message to generate an incremental data message;
and sending the incremental data message to a message receiver.
6. The apparatus of claim 5, wherein the full-size messaging module is specifically configured to:
when the format of the public loan data and the private loan data is not in accordance with the preset message format, carrying out format adjustment conversion on the public loan data and the private loan data;
and when the data length of the public loan data and the private loan data is shorter than the preset message data length, completing the public loan data and the private loan data.
7. The apparatus of claim 5, wherein the incremental messaging module is specifically configured to:
determining the error reason according to the error code and the error message;
and modifying the full data message according to the error reason to generate an incremental data message.
8. The apparatus of claim 7, wherein the incremental messaging module is specifically configured to:
if the error reason is that one or more error fields with empty field values exist in the full data message;
determining a corresponding value of the error field according to the type of the error field and a preset value rule;
and modifying the full data message according to the corresponding value of the error field to generate an incremental data message.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one 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 for executing the method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010618785.4A CN111711512B (en) | 2020-07-01 | 2020-07-01 | Message sending method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010618785.4A CN111711512B (en) | 2020-07-01 | 2020-07-01 | Message sending method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111711512A true CN111711512A (en) | 2020-09-25 |
CN111711512B CN111711512B (en) | 2022-10-18 |
Family
ID=72544086
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010618785.4A Active CN111711512B (en) | 2020-07-01 | 2020-07-01 | Message sending method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111711512B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112396529A (en) * | 2020-11-30 | 2021-02-23 | 上海亿保健康管理有限公司 | Service processing method, device, equipment and storage medium |
CN113381985A (en) * | 2021-05-21 | 2021-09-10 | 四川新网银行股份有限公司 | Normalized configuration method for complex message |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101183985A (en) * | 2007-10-24 | 2008-05-21 | 中兴通讯股份有限公司 | Method and system of incremental distribution configuration command |
CN108255627A (en) * | 2016-12-28 | 2018-07-06 | 深圳市优朋普乐传媒发展有限公司 | The error handling method and equipment of a kind of audio/video player system |
CN109325030A (en) * | 2018-09-03 | 2019-02-12 | 平安国际融资租赁有限公司 | Message processing method, device, computer equipment and storage medium |
CN109784058A (en) * | 2019-01-07 | 2019-05-21 | 中国银行股份有限公司 | Version strong consistency method of calibration, client, server and storage medium |
CN110049133A (en) * | 2019-04-22 | 2019-07-23 | 中国互联网络信息中心 | A kind of method and apparatus that dns zone file full dose issues |
CN110163735A (en) * | 2019-04-09 | 2019-08-23 | 平安科技(深圳)有限公司 | Concerning taxes data processing method, device, computer equipment and storage medium |
CN111158887A (en) * | 2019-12-31 | 2020-05-15 | 中国银行股份有限公司 | Centralized data distributed processing method and device |
-
2020
- 2020-07-01 CN CN202010618785.4A patent/CN111711512B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101183985A (en) * | 2007-10-24 | 2008-05-21 | 中兴通讯股份有限公司 | Method and system of incremental distribution configuration command |
CN108255627A (en) * | 2016-12-28 | 2018-07-06 | 深圳市优朋普乐传媒发展有限公司 | The error handling method and equipment of a kind of audio/video player system |
CN109325030A (en) * | 2018-09-03 | 2019-02-12 | 平安国际融资租赁有限公司 | Message processing method, device, computer equipment and storage medium |
CN109784058A (en) * | 2019-01-07 | 2019-05-21 | 中国银行股份有限公司 | Version strong consistency method of calibration, client, server and storage medium |
CN110163735A (en) * | 2019-04-09 | 2019-08-23 | 平安科技(深圳)有限公司 | Concerning taxes data processing method, device, computer equipment and storage medium |
CN110049133A (en) * | 2019-04-22 | 2019-07-23 | 中国互联网络信息中心 | A kind of method and apparatus that dns zone file full dose issues |
CN111158887A (en) * | 2019-12-31 | 2020-05-15 | 中国银行股份有限公司 | Centralized data distributed processing method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112396529A (en) * | 2020-11-30 | 2021-02-23 | 上海亿保健康管理有限公司 | Service processing method, device, equipment and storage medium |
CN113381985A (en) * | 2021-05-21 | 2021-09-10 | 四川新网银行股份有限公司 | Normalized configuration method for complex message |
Also Published As
Publication number | Publication date |
---|---|
CN111711512B (en) | 2022-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10540209B2 (en) | Event-driven blockchain workflow processing | |
US20220092436A1 (en) | System and method for automatic learning of functions | |
US11763322B2 (en) | Controlling enterprise software policy compliance assessment processes based on quantum combinations of assessment elements | |
US9507946B2 (en) | Program vulnerability identification | |
US20140156785A1 (en) | Method and Apparatus for Generating User Notifications | |
CN111711512B (en) | Message sending method and device | |
CN112767113A (en) | Account checking data processing method, device and system based on block chain | |
CN111062689B (en) | Method and device for processing cross-border service of RMB | |
CN112416457B (en) | Interface configuration file generation method and device | |
CN114416769A (en) | To-do task query method and device and electronic equipment | |
CN114168682A (en) | Data auditing method, device, equipment and storage medium | |
CN111738728A (en) | Transaction compensation method and device | |
US20210398219A1 (en) | Systems and methods for generating a financial market snapshot | |
CN109767248B (en) | Customer demand information processing method, device and system | |
CN114418738A (en) | Cross-border remittance data processing method and device | |
CN111859041B (en) | Data reporting method and device | |
CN113742302A (en) | Service request processing method and device | |
CN116188190B (en) | Multi-batch semi-real-time reconciliation method and system for high-concurrency payment system | |
CN111967960B (en) | Batch adjustment method and device for account data | |
CN116127922B (en) | Intellectual property file processing method and device | |
CN114666321A (en) | Supervision submission data processing method, device, equipment, medium and product | |
CN113887184A (en) | Cloud electronic report system for bank and use method | |
CN112950138B (en) | Collaborative development state management method, device and server | |
CN116304010A (en) | Work order distribution processing method and device | |
CN117592063A (en) | Data risk early warning method, device, equipment and storage medium |
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 |