[go: up one dir, main page]

CN113132926A - Message distribution method, system, equipment and medium - Google Patents

Message distribution method, system, equipment and medium Download PDF

Info

Publication number
CN113132926A
CN113132926A CN202110415836.8A CN202110415836A CN113132926A CN 113132926 A CN113132926 A CN 113132926A CN 202110415836 A CN202110415836 A CN 202110415836A CN 113132926 A CN113132926 A CN 113132926A
Authority
CN
China
Prior art keywords
characteristic information
message
information
user
matched
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110415836.8A
Other languages
Chinese (zh)
Inventor
李嘉楠
郝爽
底梦泽
邵若芷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110415836.8A priority Critical patent/CN113132926A/en
Publication of CN113132926A publication Critical patent/CN113132926A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure provides a message distribution method, which is applied to the field of financial technology or other fields, and includes: acquiring first characteristic information sent by each child node; and acquiring a message sent by a user, acquiring second characteristic information of the message, judging whether the second characteristic information is matched with the first characteristic information, and if so, sending the message to a first child node corresponding to the first characteristic information. The message distribution method provided by the disclosure is compatible with the configuration of various characteristic information, can quickly perform statistics on the user feedback results of the sub-node personalized messages on line, and regularly and automatically distributes the information such as the statistical processing results to each sub-node to assist the sub-node in performing subsequent user behavior processing. The present disclosure also provides a message distribution system, an electronic device, and a computer-readable storage medium.

Description

Message distribution method, system, equipment and medium
Technical Field
The present disclosure relates to the field of financial technology, and in particular, to a method, system, device, and medium for distributing messages.
Background
Due to different business positioning, large enterprises such as banks need regional activity promotion or information collection for local branch companies such as branches, and can push various types of short messages to clients through 95588 platforms. The client forwards the relevant content to 95588 to complete corresponding registration or confirmation operation according to the received short message. At present, the forwarding behavior of a user is operated, identified and processed through a related background system of a science and technology department of a head office, and each branch office does not have a statistical means for counting dimensions such as client feedback results and fed-back people numbers, and cannot visually acquire a data level popularization effect. If the user replies, if the user contacts the information fed back by the branch inquiry user, the user can not be verified at the first time due to the lack of a uniform message statistical result, the user experience is poor, and the whole flow link of the subsequent maintenance is long. In addition, with the popularization of branch services, some branch science and technology departments for verifying the processing of forwarding information hope to be directly distributed to branches by a head office science and technology department to complete subsequent processes, the mechanism needs to be repeatedly developed according to different requirements at present, and the whole project period is long, and the flexibility and the compatibility are greatly limited.
Disclosure of Invention
Technical problem to be solved
In view of the above problems, the present disclosure provides a message distribution method, system, device, and medium, which are used to at least partially solve the technical problems of many development repetitive contents, long development period, poor compatibility, and the like of the conventional message distribution method.
(II) technical scheme
One aspect of the present disclosure provides a message distribution method, including: acquiring first characteristic information sent by each child node; and acquiring a message sent by a user, acquiring second characteristic information of the message, judging whether the second characteristic information is matched with the first characteristic information, and if so, sending the message to a first child node corresponding to the first characteristic information.
Further, acquiring a message sent by a user, and acquiring second feature information of the message includes: acquiring a message sent by a user, and preprocessing the content of the message to obtain keyword information; and acquiring attribute information of the message, wherein the keyword information and the attribute information form second characteristic information.
Further, determining whether the second feature information matches the first feature information includes: judging whether the keyword information of the second characteristic information is matched with the keyword information of the first characteristic information; and judging whether the identification rule of the first characteristic information is matched with the second characteristic information.
Further, the judging whether the identification rule of the first feature information matches with the second feature information includes: and judging whether the attribute information of the second characteristic information is matched with the first characteristic information or not according to the identification rule of the first characteristic information.
Further, sending the message to the first child node corresponding to the first characteristic information includes: if the second characteristic information is matched with the first characteristic information, storing the message and the second characteristic information; and collecting messages corresponding to the first child node within a preset time period, and sending the messages and the second characteristic information to the first child node in batches.
Another aspect of the present disclosure provides a message distribution method, including: sending first characteristic information to a main node; and acquiring the user message forwarded by the main node, wherein the second characteristic information of the user message is matched with the first characteristic information.
Further, the matching of the second characteristic information of the user message with the first characteristic information includes: judging whether the keyword information of the second characteristic information is matched with the keyword information of the first characteristic information; judging whether the identification rule of the first characteristic information is matched with the second characteristic information; and if the user information is matched with the user information, acquiring the user information forwarded by the main node.
Further, the judging whether the identification rule of the first feature information matches with the second feature information includes: and judging whether the attribute information of the second characteristic information is matched with the first characteristic information or not according to the identification rule of the first characteristic information.
Further, the obtaining of the user message forwarded by the master node includes: if the second characteristic information is matched with the first characteristic information, storing the message and the second characteristic information; and acquiring user messages and second characteristic information forwarded by the main node in batch, wherein the user messages are messages corresponding to local child nodes within a preset time period.
In another aspect, the present disclosure provides a message distribution system, including: the main node is used for acquiring first characteristic information sent by each child node; the message sending method comprises the steps of obtaining a message sent by a user, obtaining second characteristic information of the message, judging whether the second characteristic information is matched with first characteristic information or not, and if yes, sending the message to a first child node corresponding to the first characteristic information; the sub-node is used for sending first characteristic information to the main node; and the second characteristic information of the user message is matched with the first characteristic information.
Further, the master node includes: the message routing module is used for acquiring a message sent by a user to obtain second characteristic information of the message; the message self-service module is used for judging whether the second characteristic information is matched with the first characteristic information; and the asynchronous message module is used for storing the message and the second characteristic information when the second characteristic information is matched with the first characteristic information.
Further, the master node further includes: the batch module is used for collecting messages corresponding to the first child node in a preset time period and sending the messages and the second characteristic information to the first child node in batches; and the database module is used for storing the first characteristic information sent by each child node and storing the message and the second characteristic information.
Further, the message distribution system is built by adopting a micro-service architecture, and all modules work independently.
Yet another aspect of the present disclosure provides an electronic device, including: a processor; a memory storing a computer executable program which, when executed by the processor, causes the processor to perform the message distribution method as described above.
A further aspect of the present disclosure provides a computer-readable storage medium on which a computer program is stored, wherein the program, when executed by a processor, implements a message distribution method as described above.
(III) advantageous effects
According to the message distribution method, the message distribution system, the message distribution equipment and the message distribution media, configuration of various kinds of characteristic information can be compatible by acquiring the first characteristic information sent by each child node; furthermore, whether the second characteristic information of the user message is matched with the first characteristic information or not is judged, the message results fed back by the users of the corresponding child nodes can be counted quickly, information such as the counted and processed results is distributed to the child nodes in batches regularly and automatically, the child nodes are assisted to perform subsequent user behavior processing, repeated development work of message distribution is reduced, template information can be flexibly set according to the requirements of each branch, and the use is convenient; and a micro-service architecture is adopted to build a system, so that the components are independently deployed and independently work, and the operation cost is greatly reduced.
Drawings
FIG. 1 schematically illustrates an exemplary system architecture diagram for a message distribution method according to an embodiment of the disclosure;
FIG. 2 schematically illustrates a flow chart of a message distribution method according to an embodiment of the disclosure;
FIG. 3 is a diagram schematically illustrating an interaction process between a main node and a sub-node according to an embodiment of the present disclosure;
FIG. 4 schematically illustrates a flow chart of a message distribution method according to another embodiment of the present disclosure;
FIG. 5 schematically illustrates a diagram of the internal architecture of a message distribution system in accordance with an embodiment of the present disclosure;
FIG. 6 schematically illustrates a system operation flow diagram of a message distribution method according to an embodiment of the present disclosure;
FIG. 7 schematically illustrates a full workflow diagram of a message distribution method according to an embodiment of the disclosure;
FIG. 8 schematically illustrates a data flow diagram for a message distribution system according to an embodiment of the present disclosure;
FIG. 9 schematically shows a block diagram of a computer system according to an embodiment of the disclosure.
Detailed Description
For the purpose of promoting a better understanding of the objects, aspects and advantages of the present disclosure, reference is made to the following detailed description taken in conjunction with the accompanying drawings.
The embodiment of the disclosure provides a message distribution method, a message distribution system, a message distribution device and a message distribution medium, which provide a scheme of a message distribution method and a message distribution system based on uplink verification type messages of child nodes aiming at the requirements of different regional popularization and individuation of child nodes for issuing messages to users and the requirement of counting feedback result information of the users, and provide technical support for solving the problems.
Fig. 1 schematically illustrates an exemplary system architecture 100 for a message distribution method according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a system architecture to which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, and does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, the system architecture 100 according to this embodiment may include terminal devices 101, 102, a network 103, and a server 104. The network 103 serves as a medium for providing communication links between the terminal devices 101, 102 and the server 104. Network 103 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102 to interact with the server 104 over the network 103 to receive or send messages or the like. The terminal devices 101, 102 may have installed thereon various communication client applications, such as a web browser application, a search-type application, an instant messaging tool, social platform software, etc. (by way of example only).
The terminal devices 101, 102 may be various electronic devices having a display screen and supporting messaging, including but not limited to smart phones, tablets, and the like.
The server 104 may be a server providing various services, such as a background management server (for example only) providing support for messages sent by users using the terminal devices 101, 102. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the message distribution method provided by the embodiment of the present disclosure may be generally executed by the server 104. Accordingly, the system for the message distribution method provided by the embodiment of the present disclosure may be generally disposed in the server 104. The identification method provided by the embodiments of the present disclosure may also be performed by a server or a server cluster different from the server 104 and capable of communicating with the terminal devices 101, 102 and/or the server 104. Accordingly, the system for identification provided by the embodiment of the present disclosure may also be disposed in a server or a server cluster different from the server 104 and capable of communicating with the terminal devices 101 and 102 and/or the server 104.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Fig. 2 schematically shows a flow chart of a message distribution method according to an embodiment of the present disclosure.
And S11, acquiring the first characteristic information sent by each child node.
Referring to fig. 3, the identification method generally includes 1 main node EN and a plurality of sub-nodes N1-31, N2-32, N3-33, N4-34 communicating therewith, wherein the main node 30 may be a host for receiving and processing the feature information sent by the sub-nodes and the messages sent by the users; the child nodes 31, 32, 33, and 34 may also be hosts, and are configured to provide subsequent services and service transactions for the user after acquiring the user message forwarded by the host node. In step S11, the child node sends the set first feature information to the master node EN, where the first feature information may be template information, and if the user information acquired by the master node matches the template, it indicates that the information is sent to the child node, and the master node forwards the information sent by the user and the related content to the child node. Of course, the number of the child nodes may be any number, and the first characteristic information sent by each child node is different, so that it is ensured that only a unique child node corresponds to the information sent by the user.
And S12, obtaining the message sent by the user, obtaining second characteristic information of the message, judging whether the second characteristic information is matched with the first characteristic information, and if so, sending the message to a first child node corresponding to the first characteristic information.
After the main node acquires the first characteristic information sent by the child node, the main node also needs to acquire a message sent by a user, and judges whether the user message is matched with certain first characteristic information according to the information such as the content of the message, the source attribute of the message and the like, if so, the user message can be determined to be sent to the first child node, the main node sends the user message to the first child node, wherein the first child node is a child node corresponding to the specific user message, and the first child node is only used for distinguishing other non-corresponding child nodes and does not contain any ordinal number representing the child node. According to the method and the device, the template configuration function of the first characteristic information is provided, and the child nodes can realize the identification of the message rule and the acquisition of the result through the configuration of the database without repeated development.
In order to more clearly understand the message distribution method of the present disclosure, the method is described below with a specific embodiment, taking a scenario in which a bank head office performs short message statistics and distribution on each branch as an example.
The bank branch needs to carry out regional activity promotion or information acquisition, and can push various types of short messages to customers through a bank head office 95588 platform. The client forwards the relevant content to 95588 to complete corresponding registration or confirmation operation according to the received short message. At present, each branch does not have a statistic means for counting dimensionalities such as client feedback results and fed-back number of people, or the branch is directly distributed to the branch by a head office to complete subsequent processes, the mechanism needs to carry out repeated development work according to different requirements at present, the whole project period is long, the flexibility is high, and the compatibility is greatly limited.
In the disclosed message distribution method, the system platform of the head office of the bank is the main node, the system platform of each branch or branch point is the sub-node, after the branch verification short message is sent to the customer through 95588, the customer can edit and forward the received short message content to reply to 95588 according to the short message content prompt. For example, the wuhan branch line issues a content "you are a good-quality client in my line, honestly invites you to experience the employee's bank credit card, and the short message is edited within 2 days to reply from' rapidly unbounded 'to 95588, so that the employee's bank unbounded platinum digital credit card can be handled online. The local user can reply 95588 to 'rapidly unbounded' if the local user has the requirement of credit card transaction. 95588 is a head office platform, branches cannot directly acquire feedback information of users, and the head office can be developed according to the requirements of different branches, but the branches are numerous, the development repeatability workload is large, and the compatibility is poor. Therefore, the message distribution method needs to be divided into two groups to configure the first characteristic information in the system before activity promotion; the first characteristic information may include template information, and the template content includes information such as an identification rule, a template keyword, a setting time, a division area number, and the like.
According to the application scenario, before the wuhan branch sends the promotion content, first characteristic information needs to be configured in the system, and the method comprises the following steps: the key words of the template are fast unbounded, and the zone numbers of the lines are Wuhan line numbers, etc. After the configuration is completed, the Wuhan division can send the short message promotion content. After the head office platform 95588 obtains the information fed back by the user, it preprocesses the content and the related information of the information, including obtaining the information such as the customer mobile phone number, the branch region to which the short message belongs, the branch region name to which the short message belongs, the short message keyword, the short message content, etc., as the second characteristic information. The second feature information is matched with the plurality of first feature information by a recognition rule, and the recognition rule may be, for example, whether a certain character is included or not after conversion into upper case, or the like.
In the identification process, if the identification rule is met, the main node further judges the content, and if the information content fed back by the user is 'rapidly unbounded', the system successfully matches the information with the first characteristic information of the first child node, and then sends the information and the related content to the first child node; if the information content fed back by the user is 'unbounded for honoring', the system successfully matches the information with the first characteristic information of the second child node, and then the information and the related content are sent to the second child node; if the information content fed back by the user is 'credit card', the matching fails, and the system does not process the information content; if the information content fed back by the user is 'TD' (unsubscribe), the system sends the information to other short message function processes.
Because the number of the short messages received by the head office platform 95588 is huge, the successfully matched user messages and related information can be firstly registered and put in storage in an asynchronous mode, and then targeted batch distribution can be performed on some statistical results according to the requirements of the branches, for example, all branch batch files stored in the previous day can be sent to the branch at 6 points every day, the method reduces the repeated development work of message distribution, and the template information can be flexibly set according to the requirements of each branch, so that the use is convenient; the user demands can be responded in time, and the service experience is better.
On the basis of the above embodiment, acquiring the message sent by the user, and acquiring the second feature information of the message includes: acquiring a message sent by a user, and preprocessing the content of the message to obtain keyword information; and acquiring attribute information of the message, wherein the keyword information and the attribute information form second characteristic information.
The method comprises the steps that messages sent by users are directly collected to an 95588 platform, a head-up platform preprocesses the content of the messages, and the operations comprise word segmentation, keyword extraction and the like, meanwhile, attribute information such as the mobile phone number of the message sending user, the branch region of the short message, the branch region name of the short message and the like is required to be obtained, whether the messages are branch verification type messages or not is judged, and if yes, the messages and related content are subjected to subsequent identification processing.
On the basis of the above embodiment, the determining whether the second feature information matches the first feature information includes: judging whether the keyword information of the second characteristic information is matched with the keyword information of the first characteristic information; and judging whether the identification rule of the first characteristic information is matched with the second characteristic information.
And searching whether the keyword information of the first characteristic information corresponding to the keyword information of the second characteristic information exists in the local message transaction library, and if the keyword information is the same or matched, further judging whether the second characteristic information accords with the identification rule. According to the application scenario, if the information content fed back by the user is 'fast unbounded', the keyword information of the second feature information is 'fast unbounded', the template keyword in the first feature information uploaded by the first child node is 'fast unbounded', and the information fed back by the user is obtained by searching to be matched with the information template No. 1, namely matched with the first feature information of the first child node. And then further judging a recognition rule, wherein the recognition rule comprises whether a certain character is contained, and if the certain character is contained, the information fed back by the user is matched with the recognition rule of the first characteristic information.
On the basis of the above embodiment, determining whether the identification rule of the first feature information matches the second feature information includes: and judging whether the attribute information of the second characteristic information is matched with the first characteristic information or not according to the identification rule of the first characteristic information.
The attribute information of the second feature information may include time when the user sends the message, the mobile phone number location where the user sends the message, and the like, and by increasing the judgment of the attribute information, the message range may be further narrowed, and the accuracy of obtaining the effective information may be improved. For example, the recognition rule also comprises a short message that the mobile phone number belongs to the Wuhan region, namely the Wuhan division can only acquire the credit card transaction requirement information of the local user by additionally setting the attribute information of the mobile phone number belonging to the Wuhan region, which is favorable for the Wuhan division to accurately provide better service for the local user. In a word, each branch can flexibly set the first characteristic information according to the service requirement to acquire the target user information and the service requirement.
On the basis of the above embodiment, sending the message to the first child node corresponding to the first feature information includes: if the second characteristic information is matched with the first characteristic information, storing the message and the second characteristic information; and collecting messages corresponding to the first child node within a preset time period, and sending the messages and the second characteristic information to the first child node in batches.
The number of the short message platforms of the large-scale enterprise is huge, the number of the short messages per day can reach hundreds of thousands of orders, in order to improve the efficiency, the successfully matched user messages can be stored in a local database in an asynchronous mode, and then targeted batch distribution is carried out on some statistical results according to the requirements of the branches, for example, all branch batch files stored in the previous day can be sent to the branches at regular time each day.
Fig. 4 schematically shows a flow chart of a message distribution method according to another embodiment of the present disclosure.
S21, sending the first characteristic information to the master node.
The message distribution method is applied to the child nodes, the child nodes need to send the set first characteristic information to the main node EN, the first characteristic information can be template information, if the user information acquired by the main node is matched with the template, the information is sent to the child nodes, and the main node forwards the information sent by the user and related contents to the child nodes.
And S22, acquiring the user message forwarded by the main node, wherein the second characteristic information of the user message is matched with the first characteristic information.
The method comprises the steps that a user message forwarded by a main node is obtained, the user message needs to be preprocessed before the main node forwards the user message, second characteristic information of the message is obtained, whether the second characteristic information is matched with first characteristic information or not is judged, and if yes, the message is sent to a first sub-node corresponding to the first characteristic information.
On the basis of the above embodiment, the matching of the second feature information of the user message with the first feature information includes: judging whether the keyword information of the second characteristic information is matched with the keyword information of the first characteristic information; judging whether the identification rule of the first characteristic information is matched with the second characteristic information; and if the user information is matched with the user information, acquiring the user information forwarded by the main node.
Before the main node forwards the user message, whether the keyword information of the first characteristic information corresponding to the keyword information of the second characteristic information exists or not is searched in a local message transaction library, and if the keyword information is the same or matched, whether the second characteristic information accords with the identification rule or not is further judged. According to the application scenario, if the information content fed back by the user is 'fast unbounded', the keyword information of the second feature information is 'fast unbounded', the template keyword in the first feature information uploaded by the first child node is 'fast unbounded', and the information fed back by the user is obtained by searching to be matched with the information template No. 1, namely matched with the first feature information of the first child node. And then further judging a recognition rule, wherein the recognition rule comprises whether a certain character is contained, and if the certain character is contained, the information fed back by the user is matched with the recognition rule of the first characteristic information. And after the matching is successful, the child node acquires the user message forwarded by the main node.
On the basis of the above embodiment, determining whether the identification rule of the first feature information matches the second feature information includes: and judging whether the attribute information of the second characteristic information is matched with the first characteristic information or not according to the identification rule of the first characteristic information.
The attribute information of the second feature information may include time when the user sends the message, the mobile phone number location where the user sends the message, and the like, and by increasing the judgment of the attribute information, the message range may be further narrowed, and the accuracy of obtaining the effective information may be improved. Each branch can flexibly set the first characteristic information according to the service requirement to acquire the information of the target user and the service requirement. For example, the recognition rule also comprises a short message that the mobile phone number belongs to the Wuhan region, namely the Wuhan division can only acquire the credit card transaction requirement information of the local user by additionally setting the attribute information of the mobile phone number belonging to the Wuhan region, which is favorable for the Wuhan division to accurately provide better service for the local user.
On the basis of the above embodiment, the obtaining of the user message forwarded by the master node includes: if the second characteristic information is matched with the first characteristic information, storing the message and the second characteristic information; and acquiring user messages and second characteristic information forwarded by the main node in batch, wherein the user messages are messages corresponding to local child nodes within a preset time period.
In order to improve efficiency, successfully matched user messages may be stored in a local database in an asynchronous manner, and then targeted batch distribution may be performed on some statistical results according to the requirements of the branches, for example, all the branch batch files stored on the previous day may be sent to the branch at regular time each day.
The invention provides a message distribution method based on branch uplink verification short messages, which supports the compatibility of the statistical requirements of the individual short messages in the branches on line quickly through simple template configuration, distributes the statistical transaction results and other information to each branch at regular time every day, assists the branch to complete corresponding popularization or perform subsequent customer behavior processing, and greatly shortens the operation cost. The method specifically comprises the following steps: the template configuration function is provided, and the information rule identification and result acquisition can be realized through database configuration in different rows without repeated development; automatic timed message distribution is provided, and targeted batch distribution of certain statistical results can be performed according to the requirements of branches.
Another embodiment of the present disclosure provides a message distribution system, including: the main node is used for acquiring first characteristic information sent by each child node; the message sending method comprises the steps of obtaining a message sent by a user, obtaining second characteristic information of the message, judging whether the second characteristic information is matched with first characteristic information or not, and if yes, sending the message to a first child node corresponding to the first characteristic information; the sub-node is used for sending first characteristic information to the main node; and the second characteristic information of the user message is matched with the first characteristic information.
The main node is used for receiving and processing the characteristic information sent by the sub-nodes and the information sent by the user; and the child node is used for providing subsequent service and business handling for the user after acquiring the user message forwarded by the main node. The subnode first sends the set first characteristic information to the main node, the first characteristic information may be template information, if the user information acquired by the main node matches with the template, it indicates that the information is sent to the subnode, and the main node forwards the information sent by the user and the related content to the subnode.
On the basis of the above embodiment, the master node includes: the message routing module is used for acquiring a message sent by a user to obtain second characteristic information of the message; the message self-service module is used for judging whether the second characteristic information is matched with the first characteristic information; and the asynchronous message module is used for storing the message and the second characteristic information when the second characteristic information is matched with the first characteristic information.
Referring to fig. 5, the message routing module 1 completes the identification of the corresponding function in the short message sent by the user. The matching rules and keywords are determined by accessing table 1 in the configuration of the row verification class function in the database module 6. Table 1 is a branch short message template configuration table, in which the content is formulated by branch departments before the activity promotion, and specifically includes fields such as short message template identification rules, branch region numbers, short message template keywords, short message template description, corresponding function interfaces, setting time, and the like. The short message template recognition rules are divided into a plurality of types, and the specific dictionary is as follows:
(1) whether or not to include a certain character
(2) Whether conversion to uppercase contains a certain character
(3) Whether the conversion is to an upper-case letter or not
(4) Conversion to capitalized comparison content
(5) Comparing content
(6) Whether the initial contains a certain character
The zone number field of the branch is provided by the branch with the zone number. The short message template key words are provided by lines and should be distinguished from the existing short message identification key words, and are similar to the key words of 'BKBKBKK'. Whether a short message is a branch verification type short message or not can be judged by setting the keyword + the identification rule. The corresponding functional interface field is the interface name of the short message self-service module called by the short message routing module 1. If the short message content accords with the branch verification type short message identification rule, the short message self-service module 2 is called to complete the subsequent processing.
Figure BDA0003024597300000111
Table 1: line-by-line short message template configuration table
And a short message self-service module 2: the module completes the processing flow of the specific branch type verification short message, and arranges the contents of the uploading field after receiving the uploading sent by the short message routing module 1, wherein the contents specifically comprise the information of the mobile phone number of the client, the branch region of the short message, the branch region name of the short message, the short message keyword, the short message content and the like. After the short message self-service module 2 finishes processing, the asynchronous message module 4 is called to finish log recording operation.
The asynchronous message module 4: the module can be called by a short message routing module 1, a short message self-service module 2 and a short message interface external connection module 3 in the working process of the system to respectively record various log information into a log library of a database module 6, the module adopts an asynchronous working mode to carry out library falling processing on the log information sent by other modules, wherein the branch verification type short messages can be called by the short message self-service module 2 to an asynchronous message module 4 to be recorded into the database in a form of a table 2 for storage, and the table 2 shows a branch short message client reply content table.
Figure BDA0003024597300000121
Table 2: content list for branch short message customer reply
On the basis of the above embodiment, the master node further includes: the batch module is used for collecting messages corresponding to the first child node in a preset time period and sending the messages and the second characteristic information to the first child node in batches; and the database module is used for storing the first characteristic information sent by each child node and storing the message and the second characteristic information.
Batch module 5: the module is responsible for generating a batch file from a log base table 2 in the database module 6 at regular time and sending the batch file to the branch science and technology, wherein the batch file comprises all field information in the table 2.
The database module 6: the module is mainly divided into a short message transaction library and a short message log library, wherein the short message transaction library stores a table 1 for the short message routing module 1 to inquire a branch short message template configuration table. The short message log library stores a table 2, is written by the short message asynchronous message module 4, and is responsible for summarizing and generating a batch file by the batch module 5 and sending the batch file to the branch science and technology.
Still include SMS interface external module 3: the module completes interaction with other in-line systems, and when the content of the short message is a non-classified configuration type verification short message and is a short message other storage function, the short message content can be called by the short message self-service module 2.
On the basis of the embodiment, the message distribution system is built by adopting a micro-service architecture, and all modules work independently.
The internal architecture diagram of the message distribution system provided by the present disclosure is shown in fig. 5, the whole system is built by a micro-service architecture, each component can be independently deployed and operated, and the components communicate with each other and call each other by providing an interface. The system specifically comprises the following modules: a short message routing module 1; a short message self-service module 2; a short message interface external connection module 3; an asynchronous message module 4; a batch module 5; a database module 6. After the branch verification short message is sent to the client through 95588, the client can edit and forward the received short message content according to the short message content prompt and reply to 95588. The system needs to configure templates in a table 1 in a database module 6 before the branch activities are promoted, after the forwarding, messages can firstly enter a short message routing module 1 in the system to carry out matching identification of short message contents, after the corresponding templates are identified, a short message self-service module 2 is called to complete corresponding functional logic processing, logs are recorded in the database module 6 through an asynchronous message module 4, and subsequent statistics and sending results are generated by a batch module 5 at regular time and are sent to corresponding branch science and technology departments to carry out subsequent processing without repeated development.
Fig. 6 is a flowchart schematically illustrating the operation of the system designed by the present disclosure, which is a specific embodiment of the message distribution method of the present disclosure.
Step 61: the content and the identification logic of the short message are agreed in the early stage of the division;
step 62: configuring a branch short message template configuration table 1 in a transaction library in the short message database module 1, which is equivalent to the aforementioned S11;
and step 63: releasing the online clients and triggering downlink messages to the clients in different lines;
step 64: after receiving the short message, the client forwards the content of the short message to 95588;
step 65: the system automatically collects the feedback information of the client in real time;
and step 66: the result is fed back to the branch technology in the form of batch file at regular time, which is equivalent to the aforementioned S12.
Specifically, referring to fig. 7, fig. 7 is a complete workflow diagram of message distribution.
Step 700: configuring short message transaction templates for each branch, uploading the short message transaction templates to a short message transaction library in the database module 6, which is equivalent to S21;
step 701: the client forwards the received branch verification short message to 95588;
step 702: the short message routing module 1 receives the short message and judges whether the short message forwarded by the client is a branch verification type short message template;
step 703: the short message routing module 1 accesses a branch short message template configuration table 1 in a short message transaction table of the database module 6 for judgment;
step 704: if the short message is the branch verification type short message, calling the short message self-service module 2 to complete the next processing flow, and if not, entering other short message function identification flows;
step 705: the short message self-service component 2 receives the reported message and calls the asynchronous message component 4 to complete the recording and warehousing of the result;
step 706: the asynchronous message component is connected with the short message log library of the database module 6 to perform the operation of sending the short message client reply content table 2 in the log library of the transaction result in a classified way;
step 707: the short message batch module 5 is connected with the database module 6 at regular time, collects the results in the content table 2 replied by the branch short message clients and generates batch files to be sent to corresponding branch science and technology, which is equivalent to S22.
Fig. 8 schematically shows a data flow diagram of the disclosed message distribution system.
The short message routing module 1 acquires the branch verification short messages forwarded by the customers to complete the identification of the corresponding functions in the short messages sent by the customers; the matching rules and keywords are determined by accessing table 1 in the configuration of the row verification class function in the database module 6. If the short message content accords with the branch verification type short message identification rule, the short message self-service module 2 is called to complete the subsequent processing. And if the short message content does not accord with the branch verification type short message identification rule, entering other short message processing flows.
The short message self-service module 2 completes the processing flow of the specific branch type verification short message, and after receiving the uploading sent by the short message routing module 1, the short message self-service module arranges the contents of the uploading field, specifically comprising the information of the mobile phone number of the customer, the branch region to which the short message belongs, the branch region name to which the short message belongs, the short message keyword, the short message content and the like. After the short message self-service module 2 finishes processing, the asynchronous message module 4 is called to finish log recording operation.
The short message interface external connection module 3 completes the interaction with other in-line systems, and when the content of the short message is a non-classified configuration type verification short message and is a short message other storage function, the short message interface external connection module is called by the short message self-service module 2.
The asynchronous message module 4 performs database dropping processing on the log information sent by other modules in an asynchronous working mode, wherein the short messages of the branch verification type are called by the short message self-service module 2 and are recorded in a database for storage in a form of a table 2 by the asynchronous message module 4.
The batch module 5 is responsible for generating a batch file from the log base table 2 in the database module 6 at regular time and sending the batch file to the branch science and technology, wherein the batch file comprises all the field information in the table 2.
The database module 6 is mainly divided into a short message transaction library and a short message log library, wherein the short message transaction library stores a table 1 for the short message routing module 1 to query a branch short message template configuration table. The short message log library stores a table 2, is written by the short message asynchronous message module 4, and is responsible for summarizing and generating a batch file by the batch module 5 and sending the batch file to the branch science and technology.
The system is compatible with the short message template configuration consisting of multiple identification logics and keywords, can quickly count the client feedback results of the individual short messages in a online manner, and regularly and automatically distributes information such as the statistical processing results to each branch every day to assist the branch in completing corresponding popularization or performing subsequent client behavior processing. The system is built by adopting the micro-service framework, can automatically operate, does not need repeated development for newly added functions, does not need manual intervention in the process, and greatly shortens the operation cost. The method is particularly suitable for the condition of collecting the customer feedback by the total bisection of large enterprises.
Fig. 9 schematically shows a block diagram of an electronic device according to another embodiment of the present disclosure.
As shown in fig. 9, the electronic device 900 includes a processor 910, a computer-readable storage medium 920. The electronic device 900 may perform a method according to an embodiment of the disclosure.
In particular, processor 910 may include, for example, a general purpose microprocessor, an instruction set processor and/or related chip set and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), and/or the like. The processor 910 may also include onboard memory for caching purposes. The processor 910 may be a single processing unit or a plurality of processing units for performing the different actions of the method flows according to embodiments of the present disclosure.
Computer-readable storage medium 920 may be, for example, any medium that can contain, store, communicate, propagate, or transport the instructions. For example, a readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. Specific examples of the readable storage medium include: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and/or wired/wireless communication links.
The computer-readable storage medium 920 may include a computer program 921, which computer program 921 may include code/computer-executable instructions that, when executed by the processor 910, cause the processor 910 to perform the method flows and any variations thereof according to embodiments of the present disclosure.
The computer program 921 may be configured with, for example, computer program code comprising computer program modules. For example, in an example embodiment, code in computer program 921 may include one or more program modules, including 921A, modules 921B, … …, for example. It should be noted that the division manner and the number of the modules are not fixed, and those skilled in the art may use suitable program modules or program module combinations according to actual situations, so that the processor 910 may execute the method flow according to the embodiment of the present disclosure and any variation thereof when the program modules are executed by the processor 910.
The present disclosure also provides a computer-readable storage medium, which may be included in the device/system described in the above embodiments, or may exist separately without being assembled into the device/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
While the disclosure has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents. Accordingly, the scope of the present disclosure should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.
The above-mentioned embodiments are intended to illustrate the objects, aspects and advantages of the present disclosure in further detail, and it should be understood that the above-mentioned embodiments are only illustrative of the present disclosure and are not intended to limit the present disclosure, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (15)

1. A method of message distribution, comprising:
acquiring first characteristic information sent by each child node;
the method comprises the steps of obtaining a message sent by a user, obtaining second characteristic information of the message, judging whether the second characteristic information is matched with first characteristic information, and if yes, sending the message to a first child node corresponding to the first characteristic information.
2. The message distribution method according to claim 1, wherein the obtaining the message sent by the user and the second characteristic information of the message comprises:
acquiring a message sent by a user, and preprocessing the content of the message to obtain keyword information;
and acquiring attribute information of the message, wherein the keyword information and the attribute information form the second characteristic information.
3. The message distribution method according to claim 2, wherein the determining whether the second characteristic information matches the first characteristic information comprises:
judging whether the keyword information of the second characteristic information is matched with the keyword information of the first characteristic information;
and judging whether the identification rule of the first characteristic information is matched with the second characteristic information.
4. The message distribution method according to claim 3, wherein the determining whether the identification rule of the first feature information matches the second feature information includes:
and judging whether the attribute information of the second characteristic information is matched with the first characteristic information or not according to the identification rule of the first characteristic information.
5. The message distribution method according to claim 1, wherein the sending the message to the first child node corresponding to the first feature information comprises:
if the second characteristic information is matched with the first characteristic information, storing the message and the second characteristic information;
and collecting messages corresponding to the first child node within a preset time period, and sending the messages and the second characteristic information to the first child node in batches.
6. A method of message distribution, comprising:
sending first characteristic information to a main node;
and acquiring the user message forwarded by the main node, wherein the second characteristic information of the user message is matched with the first characteristic information.
7. The message distribution method according to claim 6, wherein the matching of the second characteristic information of the user message with the first characteristic information comprises:
judging whether the keyword information of the second characteristic information is matched with the keyword information of the first characteristic information;
judging whether the identification rule of the first characteristic information is matched with the second characteristic information;
and if the user information is matched with the user information, acquiring the user information forwarded by the main node.
8. The message distribution method according to claim 7, wherein the determining whether the identification rule of the first feature information matches the second feature information includes:
and judging whether the attribute information of the second characteristic information is matched with the first characteristic information or not according to the identification rule of the first characteristic information.
9. The message distribution method according to claim 8, wherein the obtaining the user message forwarded by the master node comprises:
if the second characteristic information is matched with the first characteristic information, storing the message and the second characteristic information;
and acquiring the user message and second characteristic information forwarded by the main node in batch, wherein the user message is a message corresponding to a local child node within a preset time period.
10. A message distribution system, comprising:
the main node is used for acquiring first characteristic information sent by each child node; the message sending method comprises the steps of obtaining a message sent by a user, obtaining second characteristic information of the message, judging whether the second characteristic information is matched with first characteristic information or not, and if yes, sending the message to a first child node corresponding to the first characteristic information;
at least one child node, configured to send first feature information to the master node; and the second characteristic information of the user message is matched with the first characteristic information.
11. The message distribution system according to claim 10, wherein the master node comprises:
the message routing module is used for acquiring a message sent by a user to obtain second characteristic information of the message;
the message self-service module is used for judging whether the second characteristic information is matched with the first characteristic information;
and the asynchronous message module is used for storing the message and the second characteristic information when the second characteristic information is matched with the first characteristic information.
12. The message distribution system according to claim 11, wherein the master node further comprises:
the batch module is used for collecting messages corresponding to the first child node within a preset time period and sending the messages and the second characteristic information to the first child node in batches;
and the database module is used for storing the first characteristic information sent by each child node and storing the message and the second characteristic information.
13. The message distribution system according to claim 12, wherein the message distribution system is built using a micro-service architecture, and each module works independently.
14. An electronic device, comprising:
a processor;
a memory storing a computer executable program which, when executed by the processor, causes the processor to perform a message distribution method as claimed in any one of claims 1 to 5.
15. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out a message distribution method according to any one of claims 1 to 5.
CN202110415836.8A 2021-04-16 2021-04-16 Message distribution method, system, equipment and medium Pending CN113132926A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110415836.8A CN113132926A (en) 2021-04-16 2021-04-16 Message distribution method, system, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110415836.8A CN113132926A (en) 2021-04-16 2021-04-16 Message distribution method, system, equipment and medium

Publications (1)

Publication Number Publication Date
CN113132926A true CN113132926A (en) 2021-07-16

Family

ID=76777364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110415836.8A Pending CN113132926A (en) 2021-04-16 2021-04-16 Message distribution method, system, equipment and medium

Country Status (1)

Country Link
CN (1) CN113132926A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1583302A2 (en) * 2004-03-31 2005-10-05 Nec Corporation Message distribution system and method
CN103326929A (en) * 2013-06-24 2013-09-25 北京小米科技有限责任公司 Method and device for transmitting messages
US20170206545A1 (en) * 2016-01-20 2017-07-20 Zipstorm Inc. Recipient centric messaging system and protocols to implement it over data networks
CN110086636A (en) * 2019-04-17 2019-08-02 平安科技(深圳)有限公司 A kind of message distributing method based on mqtt, server and storage medium
CN111381986A (en) * 2020-03-10 2020-07-07 北京奇艺世纪科技有限公司 Message transmission method, system, device, electronic equipment and readable storage medium
CN112182400A (en) * 2020-10-16 2021-01-05 中国工商银行股份有限公司 Message processing method, message processing device, electronic device and storage medium
US10891176B1 (en) * 2019-08-09 2021-01-12 Ciena Corporation Optimizing messaging flows in a microservice architecture
CN112540712A (en) * 2020-12-07 2021-03-23 维沃移动通信有限公司 Message processing method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1583302A2 (en) * 2004-03-31 2005-10-05 Nec Corporation Message distribution system and method
CN103326929A (en) * 2013-06-24 2013-09-25 北京小米科技有限责任公司 Method and device for transmitting messages
US20170206545A1 (en) * 2016-01-20 2017-07-20 Zipstorm Inc. Recipient centric messaging system and protocols to implement it over data networks
CN110086636A (en) * 2019-04-17 2019-08-02 平安科技(深圳)有限公司 A kind of message distributing method based on mqtt, server and storage medium
US10891176B1 (en) * 2019-08-09 2021-01-12 Ciena Corporation Optimizing messaging flows in a microservice architecture
CN111381986A (en) * 2020-03-10 2020-07-07 北京奇艺世纪科技有限公司 Message transmission method, system, device, electronic equipment and readable storage medium
CN112182400A (en) * 2020-10-16 2021-01-05 中国工商银行股份有限公司 Message processing method, message processing device, electronic device and storage medium
CN112540712A (en) * 2020-12-07 2021-03-23 维沃移动通信有限公司 Message processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111327514B (en) WeChat image-text message group sending method, system, server and storage medium
CN111401095B (en) Method, device, equipment and storage medium for identifying damaged two-dimensional code
CN113434742A (en) Account screening method and device, storage medium and electronic device
CN113076729A (en) Method and system for importing report, readable storage medium and electronic equipment
CN113836237A (en) Method and device for auditing data operation of database
CN111143391A (en) Data sharing exchange method and system
CN112800127B (en) Data mining analysis method and device based on transaction bill
CN109005167B (en) Authentication data processing method and device, server and storage medium
CN111125045B (en) Lightweight ETL processing platform
CN117574861A (en) Method, device, equipment and storage medium for summarizing table data
CN112801623A (en) Patent process management system and method
CN113132926A (en) Message distribution method, system, equipment and medium
CN113138906A (en) Call chain data acquisition method, device, equipment and storage medium
CN112862264A (en) Enterprise operation condition analysis method, computer device and computer storage medium
CN112381519A (en) Method and device for processing work logs and readable storage medium
CN112052248A (en) Audit big data processing method and system
CN115001931B (en) Message processing method, device, equipment, medium and program product
CN115098738B (en) Business data extraction method, device, storage medium and electronic device
CN117057922A (en) Financial asset management method, device, equipment and medium based on page display
CN111045983A (en) Nuclear power station electronic file management method and device, terminal equipment and medium
CN116308148A (en) Activity flow processing method and device and electronic equipment
CN115344633A (en) Data processing method, device, equipment and storage medium
CN114897613A (en) Abnormal transaction behavior detection method and system, electronic device and storage medium
JP2018013819A (en) Business matching support system, and business matching support method
CN112861140A (en) Business data processing method and device and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210716