Message generation method and sending method, device, electronic device and medium

By obtaining and configuring common and variable information fields in the message template library, new messages are generated, which solves the problem of many message types and long transaction processes in the balance change reminder transaction, and improves verification efficiency.

CN114500640BActive Publication Date: 2024-11-05INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210082715.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-24
Publication Date
2024-11-05
Estimated Expiration
2042-01-24

AI Technical Summary

Technical Problem

The balance change reminder transactions have many types of messages and long transaction processes, which leads to slow and low efficiency in generating verification messages.

Method used

By obtaining the message template library, extracting common information and variable information fields of the target type, configuring parameters of the variable information field, and splicing and generating new messages to quickly generate messages that meet the verification requirements.

Benefits of technology

It improves the verification speed and efficiency of the balance change reminder transaction, overcomes the problems of many types of transactions and long transaction links, and realizes the rapid generation of packets required for verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114500640B_ABST
    Figure CN114500640B_ABST
Patent Text Reader

Abstract

The present disclosure provides a message generation method for balance change reminder, which can be applied to the financial field or other fields. The method includes: obtaining a message template library, the message template library includes multiple types of messages; determining a target type; determining a message of the target type in the message template library; extracting general information and variable information fields of the message of the target type; configuring parameters of the variable information field; and splicing the general information and the configured parameters of the variable information field to obtain a new message. The present disclosure also provides a message sending method, device, equipment, storage medium and program product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the financial field, and in particular to a message generating method, a message sending method, a device, a equipment, a medium and a program product. Background Art

[0002] Balance change reminders are account-changing reminder transactions that account for a large proportion of customers' daily transactions, are highly sensitive, and are of great importance. However, balance change reminder transactions also involve a wide range of channels, a variety of business types, and a long transaction process, so there are many types of balance change reminders. Therefore, in the process of routine verification of balance change reminder messages, it is necessary to generate multiple types of messages for verification. Due to the large number of message types, the speed of generating verification messages is slow and the verification efficiency is low. Summary of the invention

[0003] In view of the above problems, the present disclosure provides a message generation method, message sending method, device, equipment, medium and program product for balance change reminder.

[0004] According to the first aspect of the present disclosure, a method for generating a message for a balance change reminder is provided, comprising: obtaining a message template library, the message template library including a plurality of types of messages; determining a target type; determining a message of the target type in the message template library; extracting general information and variable information fields of the message of the target type; configuring parameters of the variable information field; and splicing the general information and the parameters of the configured variable information field to obtain a new message.

[0005] According to an embodiment of the present disclosure, the step of obtaining a message template library includes: obtaining all historical messages within a preset time and the sending volume corresponding to different message types; and extracting messages corresponding to the message types with the sending volume in the top N places from all historical messages to obtain an initial message library.

[0006] According to an embodiment of the present disclosure, the step of obtaining a message template library further includes: in the initial message library, for the message types with the top N transmission volumes, extracting at least one message of each message type to obtain a message template library.

[0007] According to an embodiment of the present disclosure, the value of N is 100.

[0008] According to an embodiment of the present disclosure, the step of configuring the parameters of the variable information field includes: when there are multiple target types, batch configuring the parameters of the same variable information field in the messages of the target type.

[0009] According to an embodiment of the present disclosure, the method further includes: updating the message template library based on the new message.

[0010] The second aspect of the present disclosure provides a method for sending a message for balance change reminder, comprising: generating a new message according to the above method; when the new message is normal, determining a sending channel for the new message; based on the sending channel, encapsulating the message; and sending the encapsulated message.

[0011] According to an embodiment of the present disclosure, the method further includes: when the new message is abnormal, not sending the new message.

[0012] According to an embodiment of the present disclosure, the sending channel includes a text message channel and an application message channel.

[0013] The third aspect of the present disclosure provides a message generation device for balance change reminder, including: a first acquisition module, used to acquire a message template library, the message template library including multiple types of messages; a first determination module, used to determine the target type; a second determination module, used to determine the message of the target type in the message template library; an extraction module, used to extract general information and variable information fields of the message of the target type; a configuration module, used to configure the parameters of the variable information field; and a second acquisition module, used to obtain a new message based on the general information and the parameters of the configured variable information field.

[0014] The fourth aspect of the present disclosure provides a message sending device for balance change reminder, including: a message generation module, used to generate a new message according to the above method; a third determination module, used to determine the sending channel of the new message when the new message is normal; an encapsulation module, used to encapsulate the message based on the sending channel; and a sending module, used to send the encapsulated message.

[0015] A fifth aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above method.

[0016] The sixth aspect of the present disclosure also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the above method.

[0017] The seventh aspect of the present disclosure also provides a computer program product, including a computer program, which implements the above method when executed by a processor.

[0018] One or more of the above-mentioned embodiments have the following advantages or beneficial effects: by splitting and processing the transaction message, extracting the general information and variable information fields, parameterizing the variable information fields, and then configuring the parameters and splicing the parameters of the general information and the configured variable information fields, a new message that meets the verification requirements is generated, which solves the problems of many types of balance change reminder transactions, long transaction links, and complex verification, and can quickly generate the messages required for verification, thereby improving the verification speed and efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0020] Figure 1 The application scenario diagram of the message generation method, message sending method, apparatus, device, medium and program product according to the embodiments of the present disclosure is schematically shown;

[0021] Figure 2 The flowchart of the message generation method according to the embodiment of the present disclosure is schematically shown;

[0022] Figure 3 The flowchart of the message sending method according to the embodiment of the present disclosure is schematically shown;

[0023] Figure 4 The structure block diagram of the message generating device according to the embodiment of the present disclosure is schematically shown;

[0024] Figure 5 A schematic diagram shows a structural block diagram of a message sending device according to an embodiment of the present disclosure; and

[0025] Figure 6 A block diagram of an electronic device suitable for implementing a message generating method and a message sending method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0026] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0027] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0028] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

[0029] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0030] Since there are many types of balance change reminder transactions and long transaction links, the process of generating message files that meet the verification requirements during the verification of balance change reminders is complicated.

[0031] In view of this, an embodiment of the present disclosure provides a method for generating a message for a balance change reminder, comprising: obtaining a message template library, the message template library including multiple types of messages; determining a target type; determining a message of the target type in the message template library; extracting general information and variable information fields of the message of the target type; configuring parameters of the variable information field; and splicing the general information and the parameters of the configured variable information field to obtain a new message.

[0032] An embodiment of the present disclosure also provides a method for sending a message for a balance change reminder, comprising: generating a new message according to the above method; when the new message is normal, determining a sending channel for the new message; based on the sending channel, encapsulating the message; and sending the encapsulated message.

[0033] It should be noted that the method and device determined in the present disclosure can be used for message generation and message sending in the financial field, and can also be used for message generation and message sending in any field other than the financial field. The application field of the method and device for message generation and message sending disclosed in the present disclosure is not limited.

[0034] Figure 1 An application scenario diagram of a message generating method, a message sending method, an apparatus, a device, a medium, and a program product according to an embodiment of the present disclosure is schematically shown.

[0035] like Figure 1 As shown, the application scenario 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for a communication link between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0036] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).

[0037] The terminal devices 101 , 102 , and 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.

[0038] The server 105 may be a server that provides various services, such as a background management server (only an example) that provides support for websites browsed by users using the terminal devices 101, 102, and 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.

[0039] It should be noted that the message generation method and message sending method provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the message generation device and message sending device provided in the embodiment of the present disclosure can generally be set in the server 105. The message generation method and message sending method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105. Accordingly, the message generation device and message sending device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105.

[0040] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0041] The embodiments of the present disclosure, based on the balance change message sending link, add a message processing module and a simulation sending module, and output message messages for specific scenarios by means of splitting, parameterizing, splicing and reorganizing the messages, thereby realizing rapid verification of balance change reminder transactions. The embodiments of the present disclosure mainly involve 7 modules: data import module, message storage module, message processing module, parameter configuration module, sending control module, business processing module and sending module.

[0042] The following will be based on Figure 1 The scene described by Figure 2-3 The message generating method and the message sending method of the disclosed embodiment are described in detail.

[0043] Figure 2 The flowchart of the message generation method according to the embodiment of the present disclosure is schematically shown.

[0044] like Figure 2 As shown, the message generating method of this embodiment includes operations S201 to S206.

[0045] In operation S201, a message template library is obtained, wherein the message template library includes multiple types of messages. A user can select a desired message type from the message template library as required.

[0046] According to an embodiment of the present disclosure, the step of obtaining a message template library includes: obtaining all historical messages within a preset time and the sending volume corresponding to different message types; and extracting messages corresponding to the message types with the sending volume in the top N places from all historical messages to obtain an initial message library.

[0047] Among them, the preset time can be selected according to time needs, and one year or one month can be selected, and the embodiments of the present disclosure do not limit this. By regularly and automatically extracting the balance change reminder transaction messages stored in the test and production umsp application; and realizing parameterized configuration of the extraction quantity, the user can extract the balance change reminder business messages with the highest transaction proportion according to actual needs. In addition, since the message types of the top N digits of the sending volume will change in different time periods, each time the message corresponding to the message type with the top N digits of the sending volume is extracted, it is necessary to compare it with the original message type in the message template library. If the message type already exists in the message template library, the message corresponding to the existing duplicate message type is cleared; if the message type does not exist in the message template library, the message corresponding to the message type is written into the message template library.

[0048] Since there are many types of messages, such as remittance, credit card repayment, quick payment, loan payment, financial purchase, etc. In order to improve the verification efficiency, only the main message types need to be verified, so it is necessary to determine the message type that needs to be verified based on the sending volume. The sending volume refers to the sending volume of this message type. For example, for the balance change reminder of credit card repayment, the number of all credit card repayment balance reminder messages sent in the past year is counted, and then the sending volume of different message types is ranked to select the top N types. The top N types selected are the message types to be verified.

[0049] According to an embodiment of the present disclosure, the step of obtaining a message template library further includes: in the initial message library, for the message types with the top N transmission volumes, extracting at least one message of each message type to obtain a message template library.

[0050] It should be noted that, since the purpose of establishing the message template library is to cover all message types, in order to reduce the computational complexity, reduce the size of the message template library, and facilitate subsequent calculations, for the same message type, only one message is extracted. Since the message forms of the same type are basically the same, only one message is extracted as an example to represent the message type.

[0051] According to the embodiment of the present disclosure, the value of N is 100. It should be noted that, according to data statistics, the top 100 balance change reminder messages with the highest sending volume account for more than 90% of the total balance change reminder business volume, and can cover the key balance change reminder scenarios within the preset time. Therefore, setting the value of N to 100, that is, taking the message corresponding to the type of the top 100 balance change reminder messages with the highest sending volume, can meet the actual verification requirements.

[0052] In operation S202, the target type is determined. The message type that needs to be verified is determined, and the message type is the target type that needs to be generated.

[0053] In operation S203, a message of the target type is determined in the message template library. After the target type is determined, a specific message corresponding to the target type is selected in the message template library.

[0054] In operation S204, the general information and variable information fields of the message of the target type are extracted.

[0055] For example, the current balance change reminder message adopts the UTF-8 encoding rule, and each field is expanded according to the length. The python tool can be used to intercept the message according to the length of each field to extract the general information and variable information fields in the message.

[0056] Specifically, for a message, it itself includes multiple fields, mainly including: serial number, customer number, business number, template number, sending channel, policy number, mobile phone number, area code, branch number, transaction code, application abbreviation, card type, card number, transaction date, summary, currency unit, finance and other fields, among which the sending channel, mobile phone number, card type, card number, summary, currency unit, amount and other fields are classified as variable information fields, and the remaining fields are classified as general information fields, that is, messages of this message type have fields with the same content, such as branch number, etc.

[0057] In operation S205, the parameters of the variable information field are configured. After extracting the general information and variable information field of the selected target type of message, the user can set the content of the variable information field according to the actual situation, so as to generate the required test message. For example, the user can set the sending channel, mobile phone number, card type, card number, summary, currency unit, amount and other parameters at the front desk as needed.

[0058] According to an embodiment of the present disclosure, the step of configuring the parameters of the variable information field includes: when there are multiple target types, batch configuring the parameters of the same variable information field in the messages of the target type.

[0059] When you need to generate multiple types of messages at the same time, you can configure multiple types of messages in batches. For example, if the multiple types of messages to be generated have the same mobile phone number field, you can set the field in batches, that is, set the mobile phone number field once at the front desk, and the mobile phone number fields of the multiple types of messages to be generated will be set. Therefore, if you only need to generate one type of message, users can manually compile balance change reminder messages in a targeted manner; if you need to generate multiple types of messages, users can perform routine verification of all types of balance change reminder messages by generating messages in batches.

[0060] Exemplarily, a process of batch configuring parameters of the same variable information field in the target type of messages is as follows:

[0061] 1. The system obtains the push file from the UMSP server and imports it into the message storage module.

[0062] 2. Perform data analysis on the imported messages, extract the balance change reminder transaction messages with the top 100 transaction volume, and store them in the message template library.

[0063] 3. Determine whether the incoming message template is repeated based on the message service code. If it is repeated, do not update the message into the template library. If it is not repeated, update the message template library.

[0064] 4. The user selects the batch message sending function, and the system processes the messages in batches, classifies the messages with the same general information and variable information field types, and outputs the general information and variable information fields, of which the variable information field is displayed to the user for configuration.

[0065] 5. The variable information fields output after the message is decomposed are directly displayed to the user for configuration. The parameter content generally includes: sending channel, mobile phone number, card type, card number, summary, currency unit, and amount.

[0066] 6. Generate a general information file corresponding to the message.

[0067] 7. Batch match the general information file and the configured variable information field file.

[0068] 8. Generate batches of reorganized message packets for sending. The message sending module parses and compiles the processed message files, and finally sends the information to different receiving channels to achieve a closed loop of balance change message verification.

[0069] In operation S206, the general information and the configured parameters of the variable information field are spliced ​​to obtain a new message. Since the general information is unchanged for this type of message, after completing the parameter configuration of the variable information field, it only needs to be spliced ​​with the general information to generate a new message.

[0070] Exemplarily, a process of extracting the general information and variable information fields of the target type of message and generating a new message is as follows:

[0071] 1. The system reads the message and imports Python to read the system.

[0072] 2. Use Python tools to extract the original message. First, obtain all the fields in the message, and then call it in a loop according to the row number and field length of the field to extract each field variable.

[0073] 3. Store the extracted fields in order and divide them into general information and variable information fields according to business rules. Parameterize the variable information fields and extract the following information: serial number, customer number, business number, template number, sending channel, strategy number, mobile phone number, area code, branch number, transaction code, application abbreviation, card type, card number, transaction date, summary, currency unit, finance and other fields.

[0074] 4. Enter the parameter information of the variable information fields, including sending channel, mobile phone number, card type, card number, summary, currency unit, and amount.

[0075] 5. Rejoin the general information and variable information fields to generate a new message.

[0076] According to an embodiment of the present disclosure, the method further includes: updating the message template library based on the new message. The generated new message replaces the original example of the message type in the message template library to facilitate the subsequent sending process. When sending subsequently, the message in the message template library can be directly sent for verification.

[0077] Figure 3 The flowchart of the message sending method according to the embodiment of the present disclosure is schematically shown.

[0078] like Figure 3 As shown, the message sending method of this embodiment includes operations S301 to S304.

[0079] In operation S301, a new message is generated according to the above method.

[0080] In operation S302, when the new message is normal, a sending channel of the new message is determined.

[0081] According to an embodiment of the present disclosure, the sending channel includes a short message channel and an application message channel. The short message channel message is sent to the MQ server of the UMSP for transmission, and the application message channel message is sent through EINFOkafka for transmission.

[0082] In operation S303, the message is encapsulated based on the sending channel.

[0083] In operation S304, the encapsulated message is sent.

[0084] According to an embodiment of the present disclosure, the method further includes: when the new message is abnormal, not sending the new message.

[0085] Exemplarily, the sending module may include a message storage module, a sending control module, a service processing module and a sending module. The specific message sending process is as follows:

[0086] 1. The sending control module converts the message information content transmitted from the message storage module, extracts the key elements of the balance change reminder verification, and checks the element information. The element information mainly involves: sending application, business code, and protocol information.

[0087] 2. When the element information verification fails, the new message is abnormal, an abnormal information receipt is generated, and the abnormal message is discarded and not sent.

[0088] 3. The message that passes the verification enters the message processing flow, and the business processing module determines the CHANNELCONF field in the message code and obtains the sending channel in the message. The sending channels are currently divided into two categories: SMS channels and application message channels.

[0089] 4. When CHANNELCONF=0, the SMS channel is sent, and when CHANNELCONF=1, the APP channel message is sent.

[0090] 5. Encapsulate the message according to the SMS channel message style; encapsulate the message according to the app channel message style.

[0091] 6. The sending module sends the SMS channel message to the MQ server of the UMSP application, and then the UMSP sends it to the corresponding operator; the sending module transmits the APP message to each channel message component through the kafka queue of the EINFO application.

[0092] 7. The message passes through the internal processing system to complete the message sending.

[0093] 8. After the message delivery is completed, a delivery receipt is generated and returned to the system.

[0094] Through the method of the embodiment of the present invention, the general information and variable information fields of the message of the target type are extracted and classified into the general information and the variable information fields. After the variable information field is configured, the parameters of the general information and the configured variable information field are spliced ​​to obtain a new message, thereby realizing personalized configuration of the message content and quickly generating the message file required for verification, overcoming the problems of many business types, long transaction process, insufficient coverage, etc. in the verification of balance change reminder transactions, improving the verification efficiency and accuracy of balance change reminder transactions, and realizing rapid verification of key balance change reminder transactions.

[0095] Based on the above message generation method, the present disclosure also provides a message generation device. Figure 4 The device is described in detail.

[0096] Figure 4 The structural block diagram of the message generating device according to the embodiment of the present disclosure is schematically shown.

[0097] like Figure 4 As shown, the message generating device 400 of this embodiment includes a first acquisition module 410 , a first determination module 420 , a second determination module 430 , an extraction module 440 , a configuration module 450 and a second acquisition module 460 .

[0098] The first acquisition module 410 is used to acquire a message template library, and the message template library includes multiple types of messages. In one embodiment, the first acquisition module 410 can be used to perform the operation S201 described above, which will not be repeated here.

[0099] The first determination module 420 is used to determine the target type. In one embodiment, the first determination module 420 can be used to perform the operation S202 described above, which will not be described in detail here.

[0100] The second determination module 430 is used to determine the target type of message in the message template library. In one embodiment, the second determination module 430 can be used to perform the operation S203 described above, which will not be described in detail here.

[0101] The extraction module 440 is used to extract the general information and variable information fields of the target type of message. In one embodiment, the extraction module 440 can be used to perform the operation S204 described above, which will not be described in detail here.

[0102] The configuration module 450 is used to configure the parameters of the variable information field. In one embodiment, the configuration module 450 can be used to perform the operation S205 described above, which will not be described in detail here.

[0103] The second acquisition module 460 is used to obtain a new message based on the general information and the parameters of the configured variable information field. In one embodiment, the second acquisition module 460 can be used to perform the operation S206 described above, which will not be described in detail here.

[0104] Based on the above message sending method, the present disclosure also provides a message sending device. Figure 5 The device is described in detail.

[0105] Figure 5 The structural block diagram of the message sending device according to an embodiment of the present disclosure is schematically shown.

[0106] like Figure 5 As shown, the message sending device 500 of this embodiment includes a message generating module 510 , a third determining module 520 , an encapsulating module 530 and a sending module 540 .

[0107] The message generation module 510 is used to generate a new message according to the above method. In one embodiment, the message generation module 510 can be used to perform the operation S301 described above, which will not be described in detail here.

[0108] The third determination module 520 is used to determine the sending channel of the new message when the new message is normal. In one embodiment, the third determination module 520 can be used to perform the operation S302 described above, which will not be described in detail here.

[0109] The encapsulation module 530 is used to encapsulate the message based on the sending channel. In one embodiment, the encapsulation module 530 can be used to perform the operation S303 described above, which will not be described in detail here.

[0110] The sending module 540 is used to send the encapsulated message. In one embodiment, the sending module 540 can be used to perform the operation S304 described above, which will not be described in detail here.

[0111] According to an embodiment of the present disclosure, any multiple modules among the first acquisition module 410, the first determination module 420, the second determination module 430, the extraction module 440, the configuration module 450, the second acquisition module 460, the message generation module 510, the third determination module 520, the encapsulation module 530 and the sending module 540 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the first acquisition module 410, the first determination module 420, the second determination module 430, the extraction module 440, the configuration module 450, the second acquisition module 460, the message generation module 510, the third determination module 520, the encapsulation module 530 and the sending module 540 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or can be implemented in any one of the three implementation methods of software, hardware and firmware or in an appropriate combination of any of them. Alternatively, at least one of the first acquisition module 410, the first determination module 420, the second determination module 430, the extraction module 440, the configuration module 450, the second acquisition module 460, the message generation module 510, the third determination module 520, the encapsulation module 530 and the sending module 540 can be at least partially implemented as a computer program module, and when the computer program module is executed, the corresponding function can be executed.

[0112] Figure 6 A block diagram of an electronic device suitable for implementing a method for constructing an evaluation model and an evaluation method according to an embodiment of the present disclosure is schematically shown.

[0113] like Figure 6As shown, the electronic device 600 according to an embodiment of the present disclosure includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. The processor 601 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 601 may also include an onboard memory for caching purposes. The processor 601 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0114] In RAM 603, various programs and data required for the operation of electronic device 600 are stored. Processor 601, ROM 602 and RAM 603 are connected to each other via bus 604. Processor 601 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 602 and / or RAM 603. It should be noted that the program can also be stored in one or more memories other than ROM 602 and RAM 603. Processor 601 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0115] According to an embodiment of the present disclosure, the electronic device 600 may further include an input / output (I / O) interface 605, which is also connected to the bus 604. The electronic device 600 may further include one or more of the following components connected to the I / O interface 605: an input portion 606 including a keyboard, a mouse, etc.; an output portion 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 608 including a hard disk, etc.; and a communication portion 609 including a network interface card such as a LAN card, a modem, etc. The communication portion 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage portion 608 as needed.

[0116] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0117] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 602 and / or RAM 603 described above and / or one or more memories other than ROM 602 and RAM 603.

[0118] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the method of the embodiment of the present disclosure.

[0119] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 601. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0120] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 609, and / or installed from a removable medium 611. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0121] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the processor 601, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, apparatus, module, unit, etc. described above can be implemented by a computer program module.

[0122] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).

[0123] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0124] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0125] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A method for generating a message for reminding a balance change, characterized in that: include: Acquire a message template library, wherein the message template library includes multiple types of messages; Determine a target type, wherein the target type includes at least one of a transfer and remittance type, a credit card repayment type, a quick payment type, a loan payment type, and a financial purchase type; In the message template library, determine a message of the target type, wherein the message adopts UTF-8 encoding rules; Extracting general information and variable information fields of the message of the target type, wherein the general information and the variable information fields are extended according to length; configuring parameters of the variable information field; and splicing the general information and the parameters of the configured variable information field to obtain a new message; Based on the new message, updating the message template library; The step of extracting the general information and variable information fields of the message of the target type includes: Extract the target type of message using a python tool to obtain an extracted field; and The extracted fields are stored in order and divided into general information and variable information fields according to business rules.

2. The method according to claim 1, characterized in that The step of obtaining the message template library comprises: Obtain all historical messages within a preset time and the corresponding sending volume of different message types; and Messages corresponding to the message types with the top N transmission volumes are extracted from all historical messages to obtain an initial message library.

3. The method according to claim 2, characterized in that The step of obtaining the message template library also includes: In the initial message library, for the message types with the top N transmission volumes, at least one message is extracted for each message type to obtain a message template library.

4. The method according to claim 2, characterized in that: The value of N is 100.

5. The method according to claim 1, characterized in that The step of configuring the parameters of the variable information field comprises: When there are multiple target types, parameters of the same variable information field in the messages of the target types are configured in batches.

6. A method for sending a message for reminding a balance change, characterized in that: include: Generating a new message according to the method according to any one of claims 1 to 5; When the new message is normal, determining a sending channel of the new message; Based on the sending channel, encapsulate the message; as well as Send the encapsulated message.

7. The method according to claim 6, characterized in that The method further comprises: When the new message is abnormal, the new message is not sent.

8. The method according to claim 6, characterized in that The sending channels include SMS channels and application message channels.

9. A message generating device for a balance change reminder, comprising: A first acquisition module, used to acquire a message template library, wherein the message template library includes multiple types of messages; A first determination module is used to determine a target type, wherein the target type includes at least one of a transfer and remittance type, a credit card repayment type, a quick payment type, a loan payment type, and a financial purchase type; A second determination module is used to determine a message of the target type in the message template library, wherein the message adopts UTF-8 encoding rules; An extraction module, used to extract the general information and variable information fields of the message of the target type, wherein the general information and the variable information fields are extended according to the length; A configuration module, used to configure the parameters of the variable information field; and A second acquisition module, used to obtain a new message based on the general information and the parameters of the configured variable information field; A template library updating module, used for updating the message template library based on the new message; The step of extracting the general information and variable information fields of the message of the target type includes: Extract the target type of message using a python tool to obtain an extracted field; and The extracted fields are stored in order and divided into general information and variable information fields according to business rules.

10. A message sending device for reminding balance changes, characterized in that: include: A message generation module, used to generate a new message according to the method according to any one of claims 1 to 5; A third determination module, used for determining a sending channel of the new message when the new message is normal; An encapsulation module, used for encapsulating the message based on the sending channel; as well as A sending module is used to send the encapsulated message.

11. An electronic device, comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are enabled to execute the method according to any one of claims 1 to 8.

12. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the method according to any one of claims 1 to 8.

13. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.