Service message outgoing method and device, equipment and storage medium

By selecting the appropriate outgoing executor based on the business type of the business message, and switching to a similar type of executor for retry when the first outgoing fails, the problem of low outgoing efficiency of business messages in the financial field is solved and the success rate is improved and management efficiency.

CN119135648APending Publication Date: 2024-12-13PING AN HEALTH INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411106031.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

In the financial field, the outgoing outgoing of various business messages due to different development styles and backgrounds lead to different message docking methods, resulting in the inability to successfully outgoing outgoing or the outgoing efficiency is low.

Method used

By responding to the outgoing request of the business message, obtain the message content and determine the business type, select the corresponding message outgoing executor for outgoing. If the initial outgoing fails, obtain the business code and type to determine the similar business type, and select the similar type of the business The outgoing actuator retrys until the outgoing is successful.

Benefits of technology

The corresponding outgoing operations are implemented according to the service type of the service message, avoiding the problem of failure to successfully outgoing, improving outgoing efficiency and management efficiency, and enhancing security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119135648A_ABST
    Figure CN119135648A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a service message outgoing method and device, equipment and a storage medium, and relates to the field of finance and artificial intelligence. The method comprises the steps of obtaining message content of a service message in response to an outgoing request of the service message, and determining a service type of the service message according to the message content; determining a first message outgoing actuator according to the service type; based on the first message outgoing actuator, outgoing the service message to a message receiver to obtain a message outgoing result fed back by the message receiver; if the message outgoing result is that outgoing fails, obtaining a service code of the service message, and determining a similar service type according to the service code and the service type; and acquiring a message outgoing executor corresponding to the similar service type as a second message outgoing executor, and outgoing the service message to a message receiver based on the second message outgoing executor. The invention aims to solve the problem that the service message cannot be successfully sent out or the sending efficiency is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence, and in particular to a method for sending a business message, an apparatus for sending a business message, a computer device, and a computer-readable storage medium. Background Art

[0002] In the financial field, there are many types of business messages that need to be sent out, corresponding to various asynchronous outbound scenarios, such as SMS outbound scenarios, email outbound scenarios, software notification outbound scenarios, etc. Due to the different backgrounds and development styles of various business types, the message docking methods are different, but all have the characteristics of asynchronous messages and the need for compensation for message sending failures. However, in the related art, business messages of various business types are sent out through a common outbound mode, which leads to the problem of unsuccessful outbound transmission or low outbound transmission efficiency. Summary of the invention

[0003] The present application provides a method for sending a business message, an apparatus for sending a business message, a computer device and a computer-readable storage medium, aiming to solve the problem that a business message cannot be successfully sent out or the sending efficiency is low.

[0004] To achieve the above object, the present application provides a method for sending a service message, the method comprising:

[0005] In response to a request for sending a service message, obtaining the message content of the service message, and determining the service type of the service message according to the message content;

[0006] Determine, according to the business type, a message outbound executor corresponding to the business message as a first message outbound executor;

[0007] Based on the first message outbound executor, the business message is outbounded to the message receiver, and a message outbound result fed back by the message receiver is obtained;

[0008] If the outbound message sending result is outbound failure, obtaining the service code of the service message, and determining a similar service type according to the service code and the service type;

[0009] A message outbound executor corresponding to the similar service type is obtained as a second message outbound executor, and based on the second message outbound executor, the service message is outbound to the message receiver.

[0010] To achieve the above-mentioned purpose, the present application provides a device for sending a service message, and the device for sending a service message includes:

[0011] A scenario determination module, configured to obtain the message content of the business message in response to an outgoing request of the business message, and determine the business type of the business message according to the message content;

[0012] An executor determination module, used to determine, according to the business type, a message outbound executor corresponding to the business message as a first message outbound executor;

[0013] A message feedback module, configured to send the service message to a message receiver based on the first message outbound executor, and obtain a message outbound result fed back by the message receiver;

[0014] A scenario correction module, for obtaining a service code of the service message if the outbound message outbound sending result is outbound sending failure, and determining a similar service type according to the service code and the service type;

[0015] The message outbound module is used to obtain the message outbound executor corresponding to the similar business type as the second message outbound executor, and based on the second message outbound executor, outbound the business message to the message recipient.

[0016] To achieve the above-mentioned purpose, the present application provides a computer device, which includes a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program and implement the method for sending business messages as described above when executing the computer program.

[0017] To achieve the above objectives, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the method for sending a business message as described above.

[0018] The method for sending business messages, the device for sending business messages, the computer equipment and the computer-readable storage medium disclosed in the embodiments of the present application obtain the message content of the business message in response to the request for sending business messages, and determine the business type of the business message according to the message content; determine the message sending executor corresponding to the business message as the first message sending executor according to the business type; send the business message to the message receiver based on the first message sending executor, and obtain the message sending result fed back by the message receiver; if the message sending result is a failure to send out, obtain the business code of the business message, and determine the similar business type according to the business code and the business type; obtain the message sending executor corresponding to the similar business type as the second message sending executor, and send the business message to the message receiver based on the second message sending executor. In this way, the corresponding message sending operation can be performed according to the business type corresponding to the business message, thereby avoiding the disadvantage of failure to send out successfully and improving the sending efficiency, and improving the management efficiency and security of message sending out. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0020] Figure 1 This is a scenario diagram of a method for sending a business message provided in an embodiment of the present application;

[0021] Figure 2 It is a flowchart of a method for sending a business message provided in an embodiment of the present application;

[0022] Figure 3 It is a schematic block diagram of a device for sending a service message provided by an embodiment of the present application;

[0023] Figure 4 It is a schematic block diagram of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0025] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor do they have to be executed in the order described. For example, some operations / steps can also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions. In addition, although the functional modules are divided in the device schematic, in some cases, the module division can be different from that in the device schematic.

[0026] The term "and / or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0027] In the financial field, there are many types of business messages that are sent out, which cause various asynchronous notification behaviors, such as SMS business type, email business type, software notification business type, etc. Even for the same business type, due to different backgrounds of outbound requirements, different developers, and different development styles of each person, the message outbound executors generated based on the code of different developers are different, which makes the message outbound executors not universal. Even for similar business types, developers need to rewrite the code to generate the corresponding message outbound executors to perform message outbound operations. This will cause some duplicate and redundant codes in the outbound system, and it is necessary to search the code everywhere to determine whether it needs to be modified or optimized during later maintenance. At the same time, some developers will consider it more carefully and make a compensation mechanism to retry after the notification fails, while some inexperienced developers do not consider it so detailed and just implement the function. This also makes the management of various message sending in the outbound system chaotic, and there is also the risk of messages being lost in the end due to design defects.

[0028] The existing method for sending business messages has certain defects. The present application proposes a method for sending business messages, a device for sending business messages, a computer device and a computer-readable storage medium, thereby performing corresponding message sending operations according to the business type corresponding to the business message, thereby avoiding the disadvantage of failure to send out successfully and improving the sending efficiency, and improving the management efficiency and security of message sending out.

[0029] The method can be applied to a server, and of course can also be applied to a terminal device, to generate a corresponding image classification model, wherein the terminal device may include a fixed terminal such as a mobile phone, a tablet computer, a personal digital assistant (PDA), etc. The server can be, for example, a separate server or a server cluster. However, for ease of understanding, the following embodiments will be described in detail with the method for sending a service message applied to a server.

[0030] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0031] like Figure 1 As shown, the method for sending a service message provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. The application environment includes a terminal device 110 and a server 120, wherein the message recipient may be the terminal device 110, and the terminal device 110 may communicate with the server 120 through a network. Specifically, the server 120 responds to the outgoing request of the business message, obtains the message content of the business message, and determines the business type of the business message according to the message content; determines the message outgoing executor corresponding to the business message as the first message outgoing executor according to the business type; based on the first message outgoing executor, the business message is outgoing to the message recipient, and the message outgoing result fed back by the message recipient is obtained; if the message outgoing result is an outgoing failure, the business code of the business message is obtained, and a similar business type is determined according to the business code and the business type; the message outgoing executor corresponding to the similar business type is obtained as the second message outgoing executor, and based on the second message outgoing executor, the business message is outgoing to the message recipient, until the message outgoing result fed back by the message recipient is an outgoing success. Among them, the server 120 can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms. The terminal device 110 can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, and this application is not limited here.

[0032] See also Figure 2 , Figure 2 This is a schematic flow chart of a method for sending a business message provided in an embodiment of the present application. The method for sending a business message can perform corresponding message sending operations according to the business type corresponding to the business message, thereby avoiding the disadvantage of being unable to send the message successfully, improving the sending efficiency, and improving the management efficiency and security of the message sending.

[0033] like Figure 2 As shown, the method for sending the service message includes steps S101 to S105.

[0034] S101. In response to an outgoing request for a business message, obtain the message content of the business message, and determine the business type of the business message according to the message content.

[0035] Among them, business messages may include messages that need to be sent externally, such as SMS messages, email messages, message queue messages, golden key notification messages, and assistant notification messages. The outbound request of a business message is used to indicate that the business message needs to be sent externally, and the outbound request can be used to determine the message recipient. Business types may include insurance, deposits, investments, and other business types. The outbound scenarios corresponding to the above business types are generally different, and the outbound scenarios may include SMS outbound scenarios, email outbound scenarios, software outbound scenarios, and other scenarios.

[0036] In some embodiments, text recognition processing is performed on the message content to obtain text information of the message content; word segmentation processing is performed on the text information to obtain word segmentation results corresponding to the text information; word meaning prediction is performed on each word in the word segmentation results based on the word meaning prediction model to obtain word meaning prediction results corresponding to each word segmentation; the word segmentation results are screened based on the word meaning prediction results to obtain target word segments, and the business type of the business message is determined based on the target word segments. In this way, the message content can be accurately segmented and screened, laying the foundation for the subsequent determination of the business type of the business message.

[0037] Among them, the text information can be segmented based on the word segmentation algorithm, which can be a word segmentation algorithm based on a hidden Markov model, a word segmentation algorithm based on a conditional random field, and the like. The word meaning prediction model is used to predict the actual word meaning of each word segmentation, and the word meaning prediction model can be obtained by training a semantic matching model, and the semantic prediction model can include models such as an LSTM matching model, an MV-DSSM model, and an ESIM model. The word meaning prediction result is the actual word meaning corresponding to each word segmentation. The word segmentation result is used to represent the word segmentation situation in the text information. The target word segmentation can be a word segmentation in the word segmentation result that can be used to determine the business type.

[0038] Specifically, text recognition processing is performed on the message content to obtain text information of the message content; word segmentation processing is performed on the text information to obtain a word segmentation result corresponding to the text information; each word segmentation result is matched with a standard word segmentation based on a word meaning prediction model, and the similarity between each word segmentation and the standard word segmentation is calculated, and the standard word segmentation corresponding to each word segmentation is determined according to the similarity as the word meaning prediction result corresponding to the word segmentation; based on the word meaning prediction result, the word segmentation result is filtered out to select the word segmentation used to determine the business type as the target word segmentation, and the business type of the business message is determined according to the target word segmentation.

[0039] Exemplarily, since the word segmentation results may contain non-standard word segmentations, thereby affecting the screening of target word segmentations, for example, the word "auto insurance" cannot be recognized by the standard financial word segmentations, the word "auto insurance" in the word segmentation results can be matched with standard word segmentations such as insurance based on the word meaning prediction model, so as to calculate the similarity between the word segmentation and the standard word segmentation. If the similarity between the word segmentation and the standard word segmentation exceeds a preset threshold, the standard word segmentation is used as the word meaning prediction result corresponding to the word "auto insurance". Finally, based on the word meaning prediction result, the word segmentation results are screened out to determine the business type as the target word segmentation. If the target word segmentations are all financial word segmentations, it can be determined that the business type is insurance. Due to its high importance, the outbound scenario of the business message can be an email outbound scenario. If its importance is low, it can be determined that the outbound scenario of the business message is an SMS outbound scenario or a software notification outbound scenario, etc.

[0040] It should be noted that the corresponding outbound scenario determined according to the business type of the business message can be specifically set according to actual conditions and is not specifically limited here.

[0041] S102: Determine, according to the service type, a message outbound executor corresponding to the service message as the first message outbound executor.

[0042] The outbound message executor may be an executor for executing outbound service messages of a specific service type, and is used to send the service message to the message recipient. The first outbound message executor is an outbound message executor of the service type corresponding to the service message.

[0043] In some embodiments, after determining the message outbound executor corresponding to the business message as the first message outbound executor according to the business type, determine the timeliness information of the business message according to the outbound request; determine the timeliness type according to the timeliness information; if the timeliness type is the first timeliness type, then based on the first message outbound executor, the business message is outbound to the message receiver, and the message outbound result fed back by the message receiver is obtained; if the timeliness type is the second timeliness type, the business message is saved to the message storage module. In this way, the outbound business message can be uniformly managed according to the timeliness type, which improves the outbound efficiency and outbound success rate.

[0044] The timeliness information of the service message may include a first timeliness type and a second timeliness type, the first timeliness type may be a service message with higher timeliness, and the second timeliness type may be a service message with lower timeliness. The message storage module is used to store service messages that need to be sent uniformly or service messages that need to be resent.

[0045] Specifically, the message recipient and timeliness information of the business message are determined according to the outbound request; the timeliness type is determined according to the timeliness information; if the timeliness type is the first timeliness type, the business message is outbounded to the message recipient based on the first message outbound executor, and the message outbound result is fed back by the message recipient; if the timeliness type is the second timeliness type, the business message is saved in the message storage module.

[0046] Exemplarily, the message recipient and timeliness information of the business message are determined based on the outbound request; if the timeliness type is determined to be the first timeliness type, the business message is outbounded to the message recipient based on the first outbound message executor, thereby receiving the message outbound result fed back by the message recipient.

[0047] Exemplarily, if the timeliness type is determined to be the second timeliness type, business messages of the same business type can be stored in a message storage module, and after a certain number of good business messages are stored in the message storage module, they can be sent out uniformly, or the business messages in the message storage module can be sent out at intervals based on the first message outbound executor.

[0048] S103: Based on the first outbound message executor, the business message is outbounded to the message receiver, and the outbound message result fed back by the message receiver is obtained.

[0049] The message outgoing result may include two results: outgoing success and outgoing failure, which are used to indicate that the message recipient can receive the service message.

[0050] Specifically, the message recipient and timeliness information of the business message can be determined based on the outbound request; the timeliness type can be determined based on the timeliness information; if the timeliness type is the first timeliness type, the business message is outbounded to the message recipient based on the first message outbound executor, and the message outbound result is fed back by the message recipient; if the timeliness type is the second timeliness type, the business message is saved in the message storage module.

[0051] S104: If the outbound message sending result is outbound sending failure, obtain the service code of the service message, and determine a similar service type according to the service code and service type.

[0052] The business code is a code that can be used to represent the business content and business logic of a business message, and the similar business type is the business type that is closest to the business message determined based on the business code.

[0053] In some embodiments, before obtaining the business code of the business message and determining the similar business type based on the business code and business type, after a preset time interval, based on the first message outbound executor, the business message is re-outbound to the message recipient, until the message recipient feedbacks that the outbound message result is successful or the number of outbound messages of the business message exceeds the preset number. In this way, the outbound task execution can be dispersed as much as possible, thereby avoiding the failure of all outbound retries due to abnormalities of the message recipient in a short period of time.

[0054] The preset time may be any time such as one minute, and each preset time may also increase proportionally, which is not specifically limited here.

[0055] Specifically, a scheduled task can be set, for example, once a minute, that is, after a preset time interval, the business message is re-sent to the message recipient based on the first message outbound executor until the message recipient feedbacks that the outbound message is successful or the number of outbound business message messages exceeds the preset number. In this way, the outbound task execution can be dispersed as much as possible, thereby avoiding the failure of all outbound retries due to abnormalities of the message recipient in a short period of time.

[0056] Exemplarily, the outbound tasks whose message status is "retrying" or whose expected execution time is less than the current time and whose execution times are less than 9 times in the message storage module can be scheduled for outbound transmission. Specifically, the business message can be re-outbounded to the message receiver based on the first message outbound executor after an interval of one minute. If the outbound transmission is successful, the task status will be updated to success. If the outbound transmission fails, the execution times will be updated and the next execution time will be updated to the current time + times * hours, thereby avoiding the failure of all outbound retries due to abnormalities of the message receiver in a short period of time.

[0057] In some embodiments, the business code is parsed to obtain code parameter information and code logic information; the code application scenario of the business code is determined according to the code parameter information and code logic information; the business type is modified according to the code application scenario to obtain a similar business type. In this way, the actual business type of the business message can be accurately determined according to the business code, so that the message outgoing executor can be more accurately determined.

[0058] The code parameter information may represent the parameters input in the code, and the code logic information may represent the processing steps in the code, and these parameters and processing steps may further determine the code application scenario. The code application scenario may be used to represent the actual application scenario of the business message, so as to accurately determine the actual business type of the business message.

[0059] For example, if the originally determined business type is a deposit type, the business code corresponding to the business message can be parsed to obtain code parameter information and code logic information; based on the code parameter information and code logic information, the code application scenario of the business code is determined to be an investment scenario such as stocks or funds; therefore, the business type can be modified based on the code application scenario to determine that a similar business type is an investment type.

[0060] S105: Obtain a message outbound executor corresponding to a similar service type as a second message outbound executor, and outbound the service message to a message receiver based on the second message outbound executor.

[0061] The second outbound message executor is a message outbound executor corresponding to a similar service type.

[0062] In some embodiments, the similarity between the similar business type and the preset business type is determined; if the similarity between the similar business type and the preset business type is higher than a preset similarity threshold, the message outbound executor corresponding to the preset business type is obtained as the second message outbound executor. In this way, it can be accurately determined whether the similar business type is the preset business type, so as to find the corresponding message outbound executor.

[0063] The preset business type may be a pre-set business type, and the preset business type generally has a corresponding message outgoing executor. The preset similarity threshold may be any similarity threshold, such as 0.8, and is not specifically limited here.

[0064] Specifically, the similarity between the similar business type and the preset business type is determined; if the similarity between the similar business type and the preset business type is higher than a preset similarity threshold, the message outgoing executor corresponding to the preset business type is obtained as the second message outgoing executor.

[0065] Exemplarily, if the preset similarity threshold is 0.8, and it is determined that the similarity between the similar business type and the preset business type is 0.9; at this time, the similarity between the similar business type and the preset business type is higher than the preset similarity threshold, then the message outbound executor corresponding to the preset business type is obtained as the second message outbound executor.

[0066] In some embodiments, if the similarity between the similar service type and the preset service type is not higher than the preset similarity threshold, a message outbound executor corresponding to the similar service type is created according to the service code as the second message outbound executor. Thus, a new message outbound executor can be created for the new service type to send messages outbound.

[0067] Specifically, if the similarity between the similar business type and the preset business type is not higher than the preset similarity threshold, the corresponding code application scenario can be determined according to the business code to create a message outbound executor corresponding to the similar business type as the second message outbound executor.

[0068] Exemplarily, if the preset similarity threshold is 0.8, and the similarity between the similar business type and the preset business type is determined to be 0.9; at this time, the similarity between the similar business type and the preset business type is lower than the preset similarity threshold, then a message outbound executor corresponding to the similar business type is created according to the business code as the second message outbound executor, and the similar business type is determined as the preset business type, and its corresponding message outbound executor is saved for subsequent use of business messages of the same business type.

[0069] For example, if the number of outbound failures in the message storage module exceeds 9 times, it can be considered that there is a problem with the message content itself, and analysis and optimization or manual compensation may be required from the code level. Therefore, at this time, it can be considered that the first message outbound executor does not comply with the business message, and the second message outbound executor needs to be re-determined.

[0070] The method for sending out a business message disclosed in the embodiment of the present application is to obtain the message content of the business message in response to the request for sending out a business message, and determine the business type of the business message according to the message content; determine the message sending executor corresponding to the business message as the first message sending executor according to the business type; send the business message to the message receiver based on the first message sending executor, and obtain the message sending result fed back by the message receiver; if the message sending result is a failure to send out, obtain the business code of the business message, and determine a similar business type according to the business code and the business type; obtain the message sending executor corresponding to the similar business type as the second message sending executor, and send the business message to the message receiver based on the second message sending executor, until the message sending result fed back by the message receiver is a successful sending. In this way, the corresponding message sending operation can be performed according to the business type corresponding to the business message, thereby avoiding the disadvantage of being unable to send out successfully and improving the sending efficiency, and improving the management efficiency and security of the message sending out.

[0071] See also Figure 3 , Figure 3 It is a schematic block diagram of a device for sending a business message provided in an embodiment of the present application. The device for sending a business message can be configured in a server to execute the aforementioned method for sending a business message.

[0072] like Figure 3As shown, the service message outgoing device 200 includes: a service type determination module 201 , an executor determination module 202 , a message feedback module 203 , a service type correction module 204 and a message outgoing module 205 .

[0073] The service type determination module 201 is used to obtain the message content of the service message in response to the outgoing request of the service message, and determine the service type of the service message according to the message content;

[0074] An executor determination module 202 is used to determine, according to the business type, a message outgoing executor corresponding to the business message as a first message outgoing executor;

[0075] A message feedback module 203 is used to send the service message to a message receiver based on the first message outbound executor, and obtain a message outbound result fed back by the message receiver;

[0076] A service type correction module 204 is used to obtain a service code of the service message if the outgoing message result is an outgoing failure, and determine a similar service type according to the service code and the service type;

[0077] The message outbound module 205 is used to obtain the message outbound executor corresponding to the similar service type as the second message outbound executor, and outbound the service message to the message recipient based on the second message outbound executor.

[0078] In some embodiments, the business type determination module 201 is also used to perform text recognition processing on the message content to obtain text information of the message content; perform word segmentation processing on the text information to obtain a word segmentation result corresponding to the text information; perform word meaning prediction on each word in the word segmentation result based on a word meaning prediction model to obtain a word meaning prediction result corresponding to each word segmentation; filter the word segmentation results based on the word meaning prediction result to obtain a target word segmentation, and determine the business type of the business message according to the target word segmentation.

[0079] In some embodiments, the business message outbound transmission device 200 also includes a message invalidation determination module 206, which is used to determine the timeliness type based on the timeliness information; if the timeliness type is the first timeliness type, then based on the first message outbound executor, the business message is outbound to the message recipient, and the message outbound result fed back by the message recipient is obtained; if the timeliness type is the second timeliness type, the business message is saved in the message storage module.

[0080] In some embodiments, the business message outbound sending device 200 also includes a message outbound sending scheduling module 207, which is used to re-send the business message to the message recipient based on the first message outbound sending executor after a preset time interval, until the message outbound sending result fed back by the message recipient is successful or the number of information outbound sending of the business message is higher than the preset number.

[0081] In some embodiments, the business type correction module 204 is also used to parse the business code to obtain code parameter information and code logic information; determine the code application scenario of the business code based on the code parameter information and the code logic information; and correct the business type based on the code application scenario to obtain a similar business type.

[0082] In some embodiments, the message outbound module 205 is also used to determine the similarity between the similar business type and the preset business type; if the similarity between the similar business type and the preset business type is higher than the preset similarity threshold, the message outbound executor corresponding to the preset business type is obtained as the second message outbound executor.

[0083] In some embodiments, the message outbound module 205 is further used to create a message outbound executor corresponding to the similar business type as the second message outbound executor according to the business code if the similarity between the similar business type and the preset business type is not higher than a preset similarity threshold.

[0084] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices, modules and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0085] The method and apparatus of the present application can be used in many general or special computing system environments or configurations, such as personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer terminal devices, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices.

[0086] Exemplarily, the above method and apparatus may be implemented in the form of a computer program. The computer program may be implemented in Figure 4 Runs on the computer device shown.

[0087] See also Figure 4 , Figure 4 1 is a schematic diagram of a computer device provided in an embodiment of the present application. The computer device may be a server.

[0088] like Figure 4 As shown, the computer device includes a processor, a memory and a network interface connected through a system bus, wherein the memory may include a volatile storage medium, a non-volatile storage medium and an internal memory.

[0089] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor can execute any method for sending a service message.

[0090] The processor is used to provide computing and control capabilities and support the operation of the entire computer equipment.

[0091] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the processor can execute any method for sending a business message.

[0092] The network interface is used for network communication, such as outbound assigned tasks, etc. Those skilled in the art can understand that the structure of the computer device is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0093] It should be understood that the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0094] Among them, in some embodiments, the processor is used to run a computer program stored in the memory to implement the following steps: in response to a request for outbound transmission of a business message, obtain the message content of the business message, and determine the business type of the business message based on the message content; determine the message outbound transmission executor corresponding to the business message as the first message outbound transmission executor based on the business type; based on the first message outbound transmission executor, send the business message to the message recipient, and obtain the message outbound transmission result fed back by the message recipient; if the message outbound transmission result is an outbound transmission failure, obtain the business code of the business message, and determine a similar business type based on the business code and the business type; obtain the message outbound transmission executor corresponding to the similar business type as the second message outbound transmission executor, and based on the second message outbound transmission executor, send the business message to the message recipient.

[0095] In some embodiments, the processor is also used to perform text recognition processing on the message content to obtain text information of the message content; perform word segmentation processing on the text information to obtain a word segmentation result corresponding to the text information; perform word meaning prediction on each word in the word segmentation result based on a word meaning prediction model to obtain a word meaning prediction result corresponding to each word segmentation; filter the word segmentation results based on the word meaning prediction result to obtain a target word segmentation, and determine the business type of the business message based on the target word segmentation.

[0096] In some embodiments, the processor is also used to determine the timeliness information of the business message based on the outbound request; determine the timeliness type based on the timeliness information; if the timeliness type is the first timeliness type, then based on the first message outbound executor, the business message is outbound to the message recipient, and the message outbound result fed back by the message recipient is obtained; if the timeliness type is the second timeliness type, the business message is saved to the message storage module.

[0097] In some embodiments, the processor is also used to re-send the business message to the message recipient based on the first message outbound executor after a preset time interval, until the message recipient feedbacks that the outbound message result is successful or the number of information outbound transmissions of the business message exceeds a preset number.

[0098] In some embodiments, the processor is also used to parse the business code to obtain code parameter information and code logic information; determine the code application scenario of the business code based on the code parameter information and the code logic information; and modify the business type based on the code application scenario to obtain a similar business type.

[0099] In some embodiments, the processor is also used to determine the similarity between the similar business type and the preset business type; if the similarity between the similar business type and the preset business type is higher than a preset similarity threshold, then the message outbound executor corresponding to the preset business type is obtained as the second message outbound executor.

[0100] In some embodiments, the processor is further used to create a message outbound executor corresponding to the similar business type as the second message outbound executor according to the business code if the similarity between the similar business type and the preset business type is not higher than a preset similarity threshold.

[0101] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. The computer program includes program instructions, and when the program instructions are executed, any method for sending a business message provided in the embodiment of the present application is implemented.

[0102] The computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, such as a hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc., equipped on the computer device.

[0103] Furthermore, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the blockchain node, etc.

[0104] The present invention refers to a new application model of computer technologies such as storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. of the blockchain language model. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the blockchain underlying platform, platform product service layer, and application service layer.

[0105] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A method for sending out a business message, characterized in that: The method comprises: In response to a request for sending a service message, obtaining the message content of the service message, and determining the service type of the service message according to the message content; Determine, according to the business type, a message outbound executor corresponding to the business message as a first message outbound executor; Based on the first message outbound executor, the business message is outbounded to the message receiver, and a message outbound result fed back by the message receiver is obtained; If the outbound message sending result is outbound failure, obtaining the service code of the service message, and determining a similar service type according to the service code and the service type; A message outbound executor corresponding to the similar service type is obtained as a second message outbound executor, and based on the second message outbound executor, the service message is outbound to the message receiver.

2. The method according to claim 1, characterized in that: The determining the service type of the service message according to the message content includes: Performing text recognition processing on the message content to obtain text information of the message content; Performing word segmentation processing on the text information to obtain a word segmentation result corresponding to the text information; Performing word meaning prediction on each word in the word segmentation result based on the word meaning prediction model to obtain a word meaning prediction result corresponding to each word segmentation; The word segmentation results are screened based on the word meaning prediction results to obtain target word segmentations, and the business type of the business message is determined according to the target word segmentations.

3. The method according to claim 1, characterized in that After determining the message outbound executor corresponding to the service message as the first message outbound executor according to the service type, the method further includes: Determining timeliness information of the service message according to the outgoing request; Determine the aging type according to the aging information; If the timeliness type is the first timeliness type, based on the first message outbound executor, the service message is outbounded to the message receiver, and a message outbound result fed back by the message receiver is obtained; If the timeliness type is the second timeliness type, the business message is saved in a message storage module.

4. The method according to claim 1, characterized in that: Before obtaining the service code of the service message and determining the similar service type according to the service code and the service type, the method further includes: After a preset time interval, based on the first message outbound executor, the business message is re-outbounded to the message recipient until the message outbound result fed back by the message recipient is successful or the number of information outbound transmissions of the business message exceeds the preset number.

5. The method according to claim 1, characterized in that The determining of similar service types according to the service code and the service type includes: Parsing the business code to obtain code parameter information and code logic information; Determine a code application scenario of the business code according to the code parameter information and the code logic information; The business type is modified according to the code application scenario to obtain a similar business type.

6. The method according to claim 1, characterized in that The obtaining the message outbound executor corresponding to the similar service type as the second message outbound executor includes: Determining the similarity between the similar business type and the preset business type; If the similarity between the similar service type and the preset service type is higher than a preset similarity threshold, the outbound message executor corresponding to the preset service type is obtained as the second outbound message executor.

7. The method according to claim 6, characterized in that After determining the similarity between the similar service type and the preset service type, the method further comprises: If the similarity between the similar business type and the preset business type is not higher than the preset similarity threshold, a message outbound executor corresponding to the similar business type is created according to the business code as the second message outbound executor.

8. A device for sending out business messages, characterized in that: The service message sending device includes: A service type determination module, configured to obtain the message content of the service message in response to an outgoing request of the service message, and determine the service type of the service message according to the message content; An executor determination module, used to determine, according to the business type, a message outbound executor corresponding to the business message as a first message outbound executor; A message feedback module, configured to send the service message to a message receiver based on the first message outbound executor, and obtain a message outbound result fed back by the message receiver; A service type correction module, for obtaining a service code of the service message if the outgoing message fails to be sent out, and determining a similar service type according to the service code and the service type; The message outbound module is used to obtain the message outbound executor corresponding to the similar business type as the second message outbound executor, and based on the second message outbound executor, outbound the business message to the message recipient.

9. A computer device, characterized in that: The computer device includes a memory and a processor; The memory is used to store computer programs; The processor is configured to execute the computer program and implement, when executing the computer program: A method for sending out a business message as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the method for sending a service message according to any one of claims 1 to 7.