A method and system for sending short messages based on data tags and data rule algorithms
Through the method based on data label and data rule algorithm, the problem of inaccurate dissemination and low efficiency of SMS platform in the mass sending field is solved, efficient matching and accuracy of SMS sending is achieved, and user experience is improved.
Patent Information
- Application Number
- CN202411426726.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2044-10-14
AI Technical Summary
The existing SMS platforms have problems such as inaccurate data dissemination, low efficiency, difficulty in sending and complex data label matching in the field of mass sending, which affects the user experience.
Using a method based on data label and data rule algorithm, we obtain message themes and receiving objects through the short message management platform, build short message content and tasks, and use tag division criteria and time sending methods to generate purpose-oriented and object-oriented short message sending tasks. , and perform task monitoring to improve matching efficiency and accuracy.
It improves the matching efficiency and accuracy of SMS sending, realizes the effective combination of business purposes and content, ensures the timely and accurate sending of SMS, and improves the user experience.
Smart Images

Figure CN118972793B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of short message sending, and in particular relates to a short message sending method and system based on data tags and data rule algorithms. Background Art
[0002] As a common communication method and capability, short message sending is widely used in the field of enterprise mass messaging. The sending method of existing SMS platforms is to manually prepare the SMS content according to the purpose of sending the SMS, then enter or import the fixed address book table to form a sending task, and then submit it to the system to wait for sending.
[0003] At present, the email notification system based on the short message platform combines the SMTP / POP3 email protocol and the PDU short message protocol to complete the real-time detection, editing and sending of new emails. The LabelPropagation algorithm selects the cluster label with the highest frequency in the inbox and propagates it to the neighbors to achieve label propagation, but the result of this algorithm is non-deterministic and the granularity cannot be controlled, which may lead to inaccurate data propagation in some application scenarios. During the transfer of RFID tag ownership, the communication volume increases during the entire communication process, resulting in reduced efficiency. After the SMS fails to send, it is often difficult to accurately locate the cause of the failure, which affects the user experience. The matching problem between data labels and node labels may lead to complex operations and slow responses. Although there is a two-stage matching method, it still needs to be further optimized to improve matching accuracy and efficiency. Summary of the invention
[0004] In order to solve the above problems existing in the prior art, the present invention provides a method and system for sending short messages based on data tags and data rule algorithms.
[0005] The purpose of the present invention can be achieved through the following technical solutions:
[0006] A short message sending method based on data tag and data rule algorithm, comprising:
[0007] S1: Obtain a message sending subject through a short message management platform, construct a short message content through a content knowledge base according to the message sending subject, obtain a message sending object according to the short message content and a recipient object knowledge base, and generate a time sending method according to a message sending business rule and an active time period bound to the message sending object;
[0008] S2: obtaining a short message receiving object through a short message management platform, presetting a label division criterion, extracting attribute labels of the short message receiving object according to the label division criterion, and combining the attribute labels into an attribute label set; obtaining a recommended message content and receiving time mode based on an attribute content mapping set and an object receiving time mapping set corresponding to the attribute label set;
[0009] S3: constructing a purpose-oriented short message sending task according to the short message content, the message sending object and the time sending method; constructing an object-oriented short message sending task according to the short message receiving object, the recommended message content and the receiving time method;
[0010] S4: Submit the purpose-oriented short message sending task and the object-oriented short message sending task and perform execution monitoring to obtain task sending statistics.
[0011] Specifically, the message sending topics include commercial short messages, public welfare short messages, information on demand services, and communication theme services; text calculation factors are set according to the commercial short messages, public welfare short messages, information on demand services, and communication theme services; and the short message content is obtained by matching the content knowledge base with the text calculation factors.
[0012] Specifically, the content knowledge base is used to store a text set of short messages, calculate the relevance between the feature words of the text set of short messages and the message sending subject, preset a relevance judgment threshold, and if the relevance is greater than the relevance judgment threshold, extract the text set of short messages corresponding to the content knowledge base through the relevance according to the content structure of the message sending subject and form the short message content. The relevance calculation formula is:
[0013] ,
[0014] in, sen i For SMS text set, item j Send the message subject, S sim ( sen i , item j ) is the correlation, w j Characteristic words for the topic of message sending, w k is the characteristic word of the SMS text set, λ is the impact factor, C( w k , w j ) is a characteristic word ( w k , w j ), M is the number of distinct feature words in the SMS text set, s Count the unique feature words in the SMS text set. w sis the sth mutually distinct feature word in the SMS text set.
[0015] Specifically, the message sending object obtains data by associating data tags corresponding to feature words in the short message content with object entity attributes in the receiving object knowledge base.
[0016] Specifically, when the purpose-oriented short message sending task and the object-oriented short message sending task are executed, the time calculation results of the time sending mode and the time receiving mode are used as a process trigger for automatically starting the execution of the task in real time.
[0017] Specifically, the execution monitoring monitors and manages three dimensions: content, receiving object, and receiving time. The statistical data of the receiving object dimension are the number of receiving persons and the number of receiving groups, the statistical data of the content dimension are the number of content categories, and the statistical data of the receiving time dimension are the sending time frequency and time range.
[0018] A short message sending system based on data tags and data rule algorithms, comprising: a purpose-oriented short message module, an object-oriented short message module, a task editing module, and a task submission and execution monitoring module;
[0019] The purpose-oriented short message module is used to obtain a message sending subject through a short message management platform, construct a short message content through a content knowledge base according to the message sending subject, obtain a message sending object according to the short message content and a receiving object knowledge base, and generate a time sending method according to a message sending business rule and an active time period bound to the message sending object;
[0020] The object-oriented short message module is used to obtain the short message receiving object through the short message management platform, preset the label division criteria, extract the attribute label of the short message receiving object according to the label division criteria, and combine the attribute labels into an attribute label set; based on the attribute content mapping set and the object receiving time mapping set corresponding to the attribute label set, obtain the recommended message content and receiving time mode;
[0021] The task editing module is used to construct a purpose-oriented short message sending task according to the short message content, the message sending object and the time sending method; and to construct an object-oriented short message sending task according to the short message receiving object, the recommended message content and the receiving time method;
[0022] The task submission and execution monitoring module is used to submit the purpose-oriented short message sending task and the object-oriented short message sending task and perform execution monitoring to obtain task sending statistics.
[0023] The beneficial effects of the present invention are:
[0024] Through data tag calculation, the matching efficiency between the purpose of SMS sending and the use of the SMS system has been greatly improved. The SMS platform relies on algorithms to complete the combination with business purposes, business objects, business content and business reminder methods. The effective association between users' effective resource management and use results and business goals is effectively guaranteed by digitalization. With system data calculation as the basis for process initiation and execution, the triggering and sending task monitoring of SMS is completed. Compared with the traditional manual operation of SMS, the reliability and timeliness of SMS as a timely reminder and accurate sending of key information are guaranteed at the system level. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.
[0026] Picture 1 The present invention is a flowchart of a method for sending a short message based on a data tag and a data rule algorithm. DETAILED DESCRIPTION
[0027] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation methods, structures, features and effects of the present invention are described in detail below in conjunction with the accompanying drawings and preferred embodiments.
[0028] See also Picture 1 , a short message sending method based on data tag and data rule algorithm, comprising:
[0029] S1: Obtain a message sending subject through a short message management platform, construct a short message content through a content knowledge base according to the message sending subject, obtain a message sending object according to the short message content and a recipient object knowledge base, and generate a time sending method according to a message sending business rule and an active time period bound to the message sending object;
[0030] S2: obtaining a short message receiving object through a short message management platform, presetting a label division criterion, extracting attribute labels of the short message receiving object according to the label division criterion, and combining the attribute labels into an attribute label set; obtaining a recommended message content and receiving time mode based on an attribute content mapping set and an object receiving time mapping set corresponding to the attribute label set;
[0031] S3: constructing a purpose-oriented short message sending task according to the short message content, the message sending object and the time sending method; constructing an object-oriented short message sending task according to the short message receiving object, the recommended message content and the receiving time method;
[0032] S4: Submit the purpose-oriented short message sending task and the object-oriented short message sending task and perform execution monitoring to obtain task sending statistics.
[0033] In this embodiment, based on the subject of the short message, the content of the short message is obtained through the text logic calculation factor, the numerical calculation factor and the time calculation factor for the content knowledge base, and then the short message sending object is calculated and matched through logical calculation and numerical calculation; and the sending time method is calculated and determined based on the business rule calculation factor. The short message sending task is generated; the short message sending process is predicted through the publishing process, and the short message with abnormal sending speed is warned, and the short message sending is adjusted according to the strategy.
[0034] Specifically, the message sending topics include commercial short messages, public welfare short messages, information on demand services, and communication theme services; text calculation factors are set according to the commercial short messages, public welfare short messages, information on demand services, and communication theme services; and the short message content is obtained by matching the content knowledge base with the text calculation factors.
[0035] In this embodiment, the text calculation factors include: text identical comparison operation; text completely different operation; text contains the same field operation; text does not contain the same field operation; calculation starting with a specific field and ending with a specific field; calculation not starting with a specific field and not ending with a specific field, and other logical calculations; the numerical calculation factors include: numerical comparison equality; numerical comparison greater than, numerical comparison greater than or equal to; numerical comparison inequality; numerical interval; numerical comparison less than; numerical comparison less than or equal to; numerical addition, subtraction, multiplication and division operations; numerical percentage operations, etc.; the time calculation factors include: system time; system time in the past; system time in the future; hourly cycle; daily cycle; weekly cycle; monthly cycle; system time addition, subtraction, multiplication and division operations, etc.
[0036] Specifically, the content knowledge base is used to store a text set of short messages, calculate the relevance between the feature words of the text set of short messages and the message sending subject, preset a relevance judgment threshold, and if the relevance is greater than the relevance judgment threshold, extract the text set of short messages corresponding to the content knowledge base through the relevance according to the content structure of the message sending subject and form the short message content. The relevance calculation formula is:
[0037] ,
[0038] in, sen i For SMS text set, item j Send the message subject, S sim ( sen i , item j ) is the correlation, w j Characteristic words for the topic of message sending, w k is the characteristic word of the SMS text set, λ is the impact factor, C( w k , w j ) is a characteristic word ( w k , w j ), M is the number of distinct feature words in the SMS text set, s Count the unique feature words in the SMS text set. w s is the sth mutually distinct feature word in the SMS text set.
[0039] Specifically, the message sending object obtains data by associating data tags corresponding to feature words in the short message content with object entity attributes in the receiving object knowledge base.
[0040] Specifically, when the purpose-oriented short message sending task and the object-oriented short message sending task are executed, the time calculation results of the time sending mode and the time receiving mode are used as a process trigger for automatically starting the execution of the task in real time.
[0041] Specifically, the execution monitoring monitors and manages three dimensions: content, receiving object, and receiving time. The statistical data of the receiving object dimension are the number of receiving persons and the number of receiving groups, the statistical data of the content dimension are the number of content categories, and the statistical data of the receiving time dimension are the sending time frequency and time range.
[0042] A short message sending system based on data tags and data rule algorithms, comprising: a purpose-oriented short message module, an object-oriented short message module, a task editing module, and a task submission and execution monitoring module;
[0043] The purpose-oriented short message module is used to obtain a message sending subject through a short message management platform, construct a short message content through a content knowledge base according to the message sending subject, obtain a message sending object according to the short message content and a receiving object knowledge base, and generate a time sending method according to a message sending business rule and an active time period bound to the message sending object;
[0044] The object-oriented short message module is used to obtain the short message receiving object through the short message management platform, preset the label division criteria, extract the attribute label of the short message receiving object according to the label division criteria, and combine the attribute labels into an attribute label set; based on the attribute content mapping set and the object receiving time mapping set corresponding to the attribute label set, obtain the recommended message content and receiving time mode;
[0045] The task editing module is used to construct a purpose-oriented short message sending task according to the short message content, the message sending object and the time sending method; and to construct an object-oriented short message sending task according to the short message receiving object, the recommended message content and the receiving time method;
[0046] The task submission and execution monitoring module is used to submit the purpose-oriented short message sending task and the object-oriented short message sending task and perform execution monitoring to obtain task sending statistics.
[0047] In this embodiment, a short message gateway sending platform is established based on the gateway communication protocol of the CMPP protocol. Users connect to the mobile gateway through the platform to transmit the short message sending topic. The Apache server is responsible for load balancing, the Tomcat server is responsible for the front-end page processing of the specific short message sending task, the middleware server is responsible for data storage and data logic processing, calculation and data verification, and the real-time data is stored in the Oracle database. Each database server is connected to a short message sending and receiving server to send short messages. At the same time, the real-time data is backed up every day.
[0048] The computer storage medium of the embodiment of the present invention may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device.
[0049] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0050] The program code included on the computer readable medium can be transmitted with any appropriate medium, including but not limited to wireless, electric wire, optical cable, RF, etc., or any suitable combination of the above. The computer program code for performing the operation of the present invention can be written in one or more programming languages or their combinations, and the programming language includes object-oriented programming languages-such as Java, Smalltalk, C++, and also includes conventional procedural programming languages-such as "C" language or similar programming languages. The program code can be executed completely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0051] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technical personnel in this field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still fall within the scope of the technical solution of the present invention.
Claims
1. A short message sending method based on data tag and data rule algorithm, characterized in that: include: S1: Obtain a message sending subject through a short message management platform, construct a short message content through a content knowledge base according to the message sending subject, obtain a message sending object according to the short message content and a recipient object knowledge base, and generate a time sending method according to a message sending business rule and an active time period bound to the message sending object; S2: obtaining a short message receiving object through a short message management platform, presetting a label division criterion, extracting attribute labels of the short message receiving object according to the label division criterion, and combining the attribute labels into an attribute label set; obtaining a recommended message content and receiving time mode based on an attribute content mapping set and an object receiving time mapping set corresponding to the attribute label set; S3: constructing a purpose-oriented short message sending task according to the short message content, the message sending object and the time sending method; constructing an object-oriented short message sending task according to the short message receiving object, the recommended message content and the receiving time method; S4: Submit the purpose-oriented short message sending task and the object-oriented short message sending task and perform execution monitoring to obtain task sending statistics.
2. The method according to claim 1, characterized in that The message sending topics include commercial short messages, public welfare short messages, information on demand services, and communication theme services; text calculation factors are set according to the commercial short messages, public welfare short messages, information on demand services, and communication theme services; and the short message content is obtained by matching the text calculation factors with the content knowledge base.
3. The method according to claim 1, characterized in that The content knowledge base is used to store a text set of short messages, calculate the relevance between the feature words of the text set of short messages and the message sending subject, and preset a relevance judgment threshold. If the relevance is greater than the relevance judgment threshold, the text set of short messages corresponding to the content knowledge base is extracted by the relevance according to the content structure of the message sending subject and the short message content is formed. The relevance calculation formula is: , in, sen i For SMS text set, item j Send the message subject, S sim ( sen i , item j ) is the correlation, w j Characteristic words for the topic of message sending, w k is the characteristic word of the SMS text set, λ is the impact factor, C( w k , w j ) is a characteristic word ( w k , w j ), M is the number of distinct feature words in the SMS text set, s Count the unique feature words in the SMS text set. w s is the sth mutually distinct feature word in the SMS text set.
4. The method according to claim 1, characterized in that: The message sending object obtains data by associating data tags corresponding to the feature words of the short message content with object entity attributes in the receiving object knowledge base.
5. The method according to claim 1, characterized in that: When the purpose-oriented short message sending task and the object-oriented short message sending task are executed, the time calculation results of the time sending mode and the time receiving mode are used as a process trigger for automatically starting the execution of the task in real time.
6. The method according to claim 1, characterized in that The execution monitoring monitors and manages three dimensions: content, receiving object and receiving time. The statistical data of the receiving object dimension are the number of receiving persons and the number of receiving groups, the statistical data of the content dimension are the number of content categories, and the statistical data of the receiving time dimension are the sending time frequency and time range.
7. A short message sending system based on data tag and data rule algorithm, used to execute the short message sending method based on data tag and data rule algorithm as claimed in any one of claims 1 to 6, characterized in that: include: Purpose-oriented short message module, object-oriented short message module, task editing module, task submission and execution monitoring module; The purpose-oriented short message module is used to obtain a message sending subject through a short message management platform, construct a short message content through a content knowledge base according to the message sending subject, obtain a message sending object according to the short message content and a receiving object knowledge base, and generate a time sending method according to a message sending business rule and an active time period bound to the message sending object; The object-oriented short message module is used to obtain the short message receiving object through the short message management platform, preset the label division criteria, extract the attribute label of the short message receiving object according to the label division criteria, and combine the attribute labels into an attribute label set; based on the attribute content mapping set and the object receiving time mapping set corresponding to the attribute label set, obtain the recommended message content and receiving time mode; The task editing module is used to construct a purpose-oriented short message sending task according to the short message content, the message sending object and the time sending method; and to construct an object-oriented short message sending task according to the short message receiving object, the recommended message content and the receiving time method; The task submission and execution monitoring module is used to submit the purpose-oriented short message sending task and the object-oriented short message sending task and perform execution monitoring to obtain task sending statistics.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the short message sending method based on the data tag and data rule algorithm as described in any one of claims 1-6 is implemented.
9. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to execute the short message sending method based on data tag and data rule algorithm as described in any one of claims 1-6 when executed by a computer processor.