5G message sending method and device, equipment and storage medium
By using the message fusion editor to edit and channel adapt the message content in the A2P communication scenario, a message template corresponding to multiple channels is generated, which solves the limitations of enterprises when sending messages through multiple channels and achieves more flexible message sending.
Patent Information
- Application Number
- CN202510341361.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-21
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2045-03-21
AI Technical Summary
In the A2P communication scenario, enterprises need to edit and manage message materials and templates according to the characteristics of each channel, resulting in certain limitations in the message processing method and it is difficult to achieve flexible multi-channel transmission of messages.
The message fusion editor is used to edit the message content, and adapt it to the specified sending channel, generate corresponding message templates, and realize the sending of multi-channel messages.
Through the use of the message fusion editor, the message editing process is simplified, the flexibility of sending messages through multiple channels is improved, and the limitation of editing messages separately in different channels is avoided.
Smart Images

Figure CN120224124A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data communication technologies, and in particular, to a 5G message sending method, apparatus, device, and storage medium. Background Art
[0002] In the current A2P (Application-to-Person) communication scenario, 5G messages, as an emerging and efficient communication method, provide more diverse options for information transmission between enterprises and users, including various message forms such as card messages, multimedia messages, and text messages. Conventionally, when enterprises use multiple channels such as 5G messages, read messages, multimedia messages, and WeChat official accounts to push messages, they often need to separately edit message materials and templates according to the characteristics of each channel, that is, they need to edit and manage the message content on each channel platform before they can send the messages. This makes the processing method of messages have certain limitations when sending multi-channel messages. Summary of the Invention
[0003] In view of this, this application proposes a 5G message sending method to improve the flexibility of multi-channel message sending.
[0004] In a possible implementation, the 5G message sending method includes: Obtain the message content; Use a message fusion editor to edit the message content, and adapt the edited message content to a specified sending channel to generate a message template corresponding to the specified sending channel; Send the message template according to the specified sending channel.
[0005] In a possible implementation, when using a message fusion editor to edit the message content, it includes an operation of visually editing the message content.
[0006] In a possible implementation, when adapting the edited message content to a specified sending channel, it includes: according to the specified message type mapping relationship in the message fusion editor, performing an operation of template mapping of the message content to the specified sending channel.
[0007] In a possible implementation, when adapting the edited message content to a specified sending channel, it includes performing an operation of template mapping of the specified sending channel in a user-defined manner.
[0008] In a possible implementation, after obtaining the message content, it further includes auditing the message content. If the audit passes, the step of editing the message content using the message fusion editor is executed.
[0009] In a possible implementation, when auditing the message content, it includes: Extracting the material to be audited from the message content; Auditing the material to be audited according to the requirements of the specified sending channel.
[0010] In a possible implementation, after adapting the edited message content to the specified sending channel to generate a message template corresponding to the specified sending channel, it further includes the step of auditing the message template.
[0011] According to another aspect of the present application, there is also provided a 5G message sending device, including: A message content acquisition module, configured to acquire message content; A message template generation module, configured to edit the message content using a message fusion editor, and adapt the edited message content to the specified sending channel to generate a message template corresponding to the specified sending channel; A message template sending module, configured to send the message template according to the specified sending channel.
[0012] According to another aspect of the present application, there is also provided a 5G message sending device, including: A processor; A memory for storing executable instructions of the processor; Wherein, when the processor is configured to execute the executable instructions, it implements the method described in any one of the foregoing.
[0013] According to another aspect of the present application, there is also provided a non-volatile computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the method described in any one of the foregoing is implemented.
[0014] In a 5G message sending method of the present application, it includes: acquiring message content; editing the message content using a message fusion editor, and adapting the edited message content to the specified sending channel to generate a message template corresponding to the specified sending channel; sending the message template according to the specified sending channel. It only needs to be edited in the message fusion editor in the technology of the present application, which greatly simplifies the message editing path, thereby effectively solving the limitation problem caused by the need to edit messages in different sending channels to achieve sending in different channels in the conventional technology.
[0015] Other features and aspects of the present application will become apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features, and aspects of the present application and are used to explain the principles of the present application together with the specification.
[0017] Figure 1 A flowchart showing a 5G message sending method according to an embodiment of the present application; Figure 2 A schematic diagram of a single-card message showing an embodiment of the present application; Figure 3 A schematic diagram of a multi-card message showing an embodiment of the present application; Figure 4 A schematic block diagram showing a 5G message sending device according to an embodiment of the present application; Figure 5 A schematic block diagram showing a 5G message sending device according to an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0018] Various exemplary embodiments, features, and aspects of the present application will be described in detail below with reference to the accompanying drawings. Like reference numerals in the drawings denote functionally identical or similar elements. Although various aspects of the embodiments are shown in the drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0019] The term "exemplary" used herein means "serving as an example, embodiment, or illustration". Any embodiment described herein as "exemplary" is not necessarily to be construed as superior or better than other embodiments.
[0020] In addition, for a better description of the present application, numerous specific details are given in the following detailed description. Those skilled in the art should understand that the present application can be implemented without some of these specific details. In some instances, methods, means, elements, and circuits well known to those skilled in the art are not described in detail so as to highlight the gist of the present application.
[0021] <Method Embodiment> Figure 1 A flowchart showing a 5G message sending method according to an embodiment of the present application. As Figure 1As shown, the method includes steps S1100 - S1300: S1100, obtaining the message content; S1200, using a message fusion editor to edit the message content, and adapting the edited message content to a specified sending channel to generate a message template corresponding to the specified sending channel; S1300, sending the message template according to the specified sending channel.
[0022] When this application sends multi - channel messages, it directly uses the designed message fusion editor to edit the message content, and adapts the edited message content to the specified message channel to generate a message template corresponding to the specified sending channel. Multiple message templates are generated, and each message template corresponds to and adapts to each specified sending channel. Thus, it is not necessary to edit the message content separately for each specified sending channel to achieve sending through different channels. It only needs to be edited in the message fusion editor in the technology of this application, which greatly simplifies the message editing process and effectively solves the limitation problem caused by the need to edit messages in different sending channels to achieve sending through different channels in conventional technologies.
[0023] Among them, when sending a message, step S1100 is first executed to obtain the message content. When obtaining the message content, it is obtained by inputting the message content through the editing interface of the message fusion editor. That is, the message content can be obtained by inputting the message content into the editing interface of the message fusion editor. It should be noted here that the message fusion editor is provided with multiple corresponding message fusion editors according to the message type. Therefore, before obtaining the message content, first select the currently used message fusion editor according to the specific message content for inputting the message content, so as to obtain the message content. Among them, the message type includes at least one of single - card message, multi - card message, picture - text message, video message, and text message. Therefore, the message fusion editor also correspondingly includes at least one of single - card message, multi - card message, picture - text message, video message, and text message.
[0024] For example, the specific message content includes: a picture, a paragraph of text, and a video. When selecting the currently used message fusion editor according to the specific message content, a single - card message fusion editor can be selected for inputting the message content, thereby obtaining the message content. Specifically, when the message content includes a picture, a paragraph of text, and two operation buttons in a bill reminder, and a picture, a paragraph of text, and two operation buttons in a phone bill query, when selecting the currently used message fusion editor according to the specific message content, a multi - card message fusion editor can be selected for inputting the message content, thereby obtaining the message content.
[0025] It should be noted that among the message types, a single-card message refers to a message that contains only one card. For example, referring to Figure 2 as shown, a single-card message can consist of one picture, one paragraph of text, and two operation buttons in the traffic reminder. A multi-card message refers to a message that contains multiple single cards. For example, referring to Figure 3 as shown, a multi-card message contains two single cards. One card is the message content of the traffic reminder, and the other card is the message content of the phone bill query. The two cards are combined as one message. A text-and-graphic message refers to a message whose content contains text and any one of pictures, videos, and audios at the same time. A video message refers to a message whose content is a video. A text message refers to a message whose content is pure text.
[0026] After obtaining the message content, step S1200 is executed. The message content is edited using the message fusion editor, and the edited message content is adapted to the specified sending channel to generate a message template corresponding to the specified sending channel. Among them, when using the message fusion editor to edit the message content, it includes operations for visually editing the message content. That is to say, in the technical solution of this application, when using the message fusion editor to edit the message content, it can be performed through visual operations. That is, it refers to the process of editing the message content input on the message fusion editing interface to obtain the edited message content, and in a possible implementation manner, the process of editing the message content input on the editing interface is visual.
[0027] In a possible implementation manner, after obtaining the message content, it also includes auditing the message content, and after the message content passes the audit, step S1200 is executed to edit the message content using the message fusion editor. Here, it should be pointed out that after obtaining the message content, the message content can be directly audited first and then edited, or it can be determined whether to audit the message according to the specified sending channel. That is, according to the requirements of each sending channel of the message specified by the user, if there is a need to audit the message content in the specified sending channel, then the message content is audited, and after the audit, it is edited by the message fusion editor. If none of the specified sending channels require message content auditing, then the message content can be directly edited by the message fusion editor without auditing.
[0028] Here, it should be pointed out that the sending channels include at least one of 5G message, reading letter, text message, video message, WeChat official account, and Alipay life account. It should be noted that multiple sending channels can be specified when specifying the sending channel, and there is no specific limit.
[0029] It should be noted that when auditing the message content, it includes extracting the materials to be audited from the message content. Among them, when extracting the materials to be audited from the message content, it is achieved by directly extracting from the message content. It should be pointed out here that the materials to be audited include at least one of video, audio, picture, and link.
[0030] After obtaining the materials to be audited, the audit is carried out according to the requirements of the specified sending channel. Among them, the audit includes at least one of material format audit and material size audit. In a possible implementation method, when auditing the materials to be audited, it includes both material format audit and material size audit. When auditing the materials to be audited, the material size and material format of the materials to be audited need to meet the material size and material format required by the specified sending channel at the same time to pass the audit; when at least one of the material size and material format of the materials to be audited does not meet the requirements of the specified sending channel, the audit fails and the message content needs to be obtained again.
[0031] When the audit passes, step S1200 is executed. The message content is edited using the message fusion editor to obtain the edited message content, and the edited message content is adapted to the specified sending channel to generate the message template corresponding to the specified sending channel. Among them, when adapting the edited message content to the specified sending channel, it includes operating on the message content for template mapping of the specified sending channel according to the specified message type mapping relationship in the message fusion editor.
[0032] It should be pointed out here that the message mapping relationship specified by the message fusion editor refers to mapping of the same message type. That is, mapping is carried out with the template in the specified message channel that is of the same type as the currently selected message fusion editor type. For example, if the selected message fusion editor is a single-card message fusion editor, when mapping the message content edited using the single-card message fusion editor to the template of the specified sending channel, the corresponding single-card template of the specified sending channel is selected as the template for mapping with the currently edited message content.
[0033] It should also be noted that before operating on the message content for template mapping of the specified sending channel according to the specified message type mapping relationship in the message fusion editor, the templates corresponding to each sending channel are preset first, and thus the templates of the specified sending channel are obtained. The mapping operation is performed based on the template of the specified sending channel to find the template of the same type as the message fusion editor.
[0034] Among them, when presetting the templates corresponding to each sending channel, it is set according to the adaptation relationship between the sending channel and the message type. It should be noted here that the adaptation relationship between the sending channel and the message type includes: the single-card message type is adapted to the 5G message, read letter, video message, WeChat official account, and Alipay official account sending channels; the multi-card message type is adapted to the 5G message, read letter, video message, WeChat official account, and Alipay official account sending channels; the graphic message type is adapted to the 5G message, read letter, video message, WeChat official account, and Alipay official account sending channels; the video message type is adapted to the 5G message and video message sending channels; the text message type is adapted to the 5G message and text message sending channels.
[0035] According to the above adaptation relationship between the message type and the sending channel, the templates corresponding to each sending channel can be preset. That is, the preset templates correspond one by one to the message types adapted to each sending channel. Among them, the message templates corresponding to the 5G message sending channel include at least one of the single-card message type template, multi-card message type template, graphic message type template, video message type template, and text message type template. The templates corresponding to the read letter sending channel include at least one of the single-card message type template, multi-card message type template, and graphic message type template. The templates corresponding to the video message sending channel include at least one of the graphic message type template and video message type template. The templates corresponding to the text message sending channel include the text message type template. The templates corresponding to the WeChat official account sending channel include at least one of the single-card message type template, multi-card message type template, and graphic message type template. The templates corresponding to the Alipay life number sending channel include at least one of the single-card message type template, multi-card message type template, and graphic message type template.
[0036] According to the templates corresponding to each preset sending channel, the template corresponding to the specified sending channel can be obtained. Then, find the template that matches the current message fusion editor type from the template corresponding to the specified sending channel, and map the edited message content to the found template of the same type.
[0037] Among them, when mapping the edited message content to the found template of the same type, it is achieved through field mapping. Specifically, when mapping the edited message content to the found template through field mapping, it is achieved by mapping the value of the field name in the edited message content to the value of the corresponding field name in the template. It should be noted that there are multiple field names in the edited message content and the template, and the specific field names are not limited. For example, the edited message content contains two field names, "text" and "picture", and the found template contains two field names, "text array" and "picture".
[0038] In a possible implementation manner, when implementing the mapping of the edited message content to the searched template through field mapping, first search for the field names in the edited message content that correspond to the field names in the searched template, and then map the values of the field names in the edited message content to the values of the corresponding field names in the searched template, thereby implementing the operation of mapping the edited message content to the template. Specifically, when searching for the field names in the edited message content that correspond to the field names in the template, first obtain the set of field names of the edited message content and the set of field names of the currently mapped template, and then traverse each field in the set of corresponding fields of the edited message content to search for the field name in the set of corresponding fields of the template that corresponds to the currently traversed field name. When the corresponding field name is found, map the value of the currently traversed field name to the value of the corresponding found field name. After the traversal of the field names is completed, the mapping of the edited message content to the current template is completed. It should be noted that the value of the field name refers to the specific content corresponding to the field name. It should be pointed out here that the template and the edited message content contain each field name in the corresponding set of field names.
[0039] For example, the edited message content contains two field names, "text" and "picture", and the searched template contains two field names, "text array" and "picture". Therefore, the set of field names of the edited message content is {text, picture}, and the set of field names of the template is {text array, picture}. According to the search, the field name "text" in the set of fields of the edited message content corresponds to the field name "text array" in the template, and the field name "picture" in the set of fields of the edited message content corresponds to the field name "picture" in the template. Therefore, when performing field mapping, map the value of the field name "text" in the edited message content to the value of the field name "text array" in the template, and map the value of the field name "picture" in the edited message content to the value of the field name "picture" in the template, thereby completing the operation of mapping the edited message content to the searched template.
[0040] Among them, when searching for the field name in the set of corresponding fields of the template that corresponds to the currently traversed field name, it is implemented by calculating the similarity of the two field names, and the calculated similarity of the two field names needs to be greater than the preset similarity threshold. It should be noted that the similarity threshold is determined according to the actual situation and is preferably determined to be 0.99.
[0041] Specifically, when performing field mapping on the edited message content and the searched template, the set of field names corresponding to the obtained edited message content is denoted as , and the set of field names corresponding to the searched template is denoted as . Among them, n represents The nth field name in the set, where m represents the mth field name in the set.
[0042] After obtaining and the set, from the set, search for the field names corresponding to the field names in the set. That is, for each , in search for the corresponding , satisfying the similarity condition: where represents the similarity between the ith field name in and the jth field name in
[0043] Furthermore, when calculating the similarity of field names, the string edit distance algorithm is used for calculation, which can be expressed by the formula: In the formula, represents the field name of represents the field name of represents the lengths of the two mapped field names, represents the edit distance between the two field names, represents the weight, which is obtained according to the predefined field type compatibility matrix.
[0044] In a possible implementation manner, when calculating the similarity of two field names, first obtain the weights for calculating the similarity of the two field names from the predefined compatibility matrix according to the field types corresponding to the two field names. Among them, before obtaining the weight according to the predefined field type compatibility matrix, first define the field types according to each preset template, and the corresponding relationship between the field names in each template and the defined field types. Store the defined field types and each field name according to the corresponding relationship between the field type and the field name to obtain the field name pool corresponding to each field type.
[0045] At the same time, define the field type compatibility matrix according to each defined field type. Specifically, the predefined field type compatibility matrix can be expressed as: In the formula, represents the field type compatibility weight, i represents the ith field type, j represents the jth field type, and n represents the number of field types.
[0046] It should be noted that When the field types are the same, the compatibility weight is set to 1 When it takes values according to the predefined compatibility degree between different field types, and the value range is 0 - 1. 0 means completely incompatible, and 1 means highly compatible. Among them, the predefined compatibility degree between different field types refers to the conversion rules on whether the two field types can be converted into each other, specifically: the same field types can be converted into each other without loss; the same field types can be converted into each other with loss; and at least one of the cases where different field types cannot be converted
[0047] In a possible implementation, the predefined compatibility degree includes the above three types. When taking values for the compatibility matrix according to the above three predefined conversion rules, it includes that when the same field types can be converted into each other without loss, the value is 1; when the same field types can be converted into each other with damage, the value range is 0 - 1, and the specific value is not limited; when different field types cannot be converted, the value is 0
[0048] For example, the field types include 3 types: picture, 500 - word text, and 70 - word short text. When taking values according to the predefined compatibility degree at this time, when converting a picture to a picture, the field types are both pictures and the conversion has no loss, so the value in the corresponding matrix is set to 1; when converting a picture to a 500 - word text and a 70 - word short text respectively, according to the conversion rules, they are different field types, so the values in the corresponding matrices for converting a picture to a 500 - word text and a 70 - word short text respectively are 0; when mapping a 500 - word text to a 70 - word short text, the field types are both text types, but when converting the 500 - word text to the corresponding field of the 70 - word short text, there is a loss in the conversion, so the value in the corresponding matrix for converting 500 words to 70 - word text can be set to 0.9; when converting a 70 - word short text to a 500 - word long text, the field types are both text types and there is no loss after conversion, so the value in the corresponding matrix for converting a 70 - word short text to a 500 - word long text is set to 1
[0049] After obtaining the predefined field name pool and the field type compatibility matrix, according to the corresponding relationship between the field names and field types stored in the pre - constructed field name pool, the field types corresponding to the two field names during the current similarity calculation can be obtained. Then, according to the determined field types, the weight for calculating the similarity of the current two field names can be obtained from the defined field compatibility matrix. Specifically, when obtaining the weight for calculating the similarity of the current two field names from the defined field compatibility matrix according to the field types, it can be expressed by the formula Among them, represents the field type corresponding to one of the current two field names, represents the field type corresponding to the other field name among the current two field names.
[0050] For example, according to the field types included in each preset template: text, text array, long text, button array, picture, the predefined field type compatibility matrix at this time is: At this time, when obtaining the weights of the mapping between the text and text array field types, , , the weights obtained according to the predefined field type compatibility matrix are: Again, for example, , when, the weights corresponding to the button array and the text array obtained are: Based on the above process, the weights corresponding to the two field names during the current similarity calculation can be obtained. Substituting the weights into the above similarity calculation formula can obtain the similarity of the current two field names. Based on the obtained similarity, it is judged whether the similarity condition (the similarity is greater than the similarity threshold) is satisfied. When satisfied, the mapping operation is performed; when not satisfied, the mapping is not performed, and the next field name is traversed. After the traversal is completed, the mapping of the edited message content and the searched template is completed to obtain the message template corresponding to the specified sending channel.
[0051] In a possible implementation manner, when adapting the edited message content to the specified sending channel, it further includes performing the operation of template mapping of the specified sending channel in a user-defined manner. Among them, the user-defined manner refers to when mapping the edited message content obtained by editing the message content through any one of the message fusion editors of single-card message, multi-card message, and picture-text message to the templates corresponding to the specified sending channels of pure text SMS and MMS, the user defines a mapping rule set, and completes the field mapping according to the user-defined mapping rule set to obtain the message template corresponding to the specified sending channel.
[0052] Among them, when defining the mapping rule set, first obtain the text content set in the edited message content , and the content set of the templates of the specified sending channels (that is, pure text SMS and MMS) is . Define the mapping function , that is, specify the mapping rule set from to . Among them, the mapping rule set is not specifically limited.
[0053] In a possible implementation, the specified mapping rule set is a series of ordered pairs , where , , indicating that the field in the edited message content is copied to the corresponding field of the template of the plain text SMS or MMS. Thus, the set of mapping relationships constructed is: where k is the number of mapping pairs specified by the user, and the value range of k is .
[0054] Mapping according to the mapping relationship set defined by the user can generate the message template for the specified sending channel.
[0055] Thus, mapping according to any one of the above two mapping methods can obtain the message template corresponding to the specified sending channel.
[0056] Furthermore, after obtaining the message template corresponding to the specified sending channel, it further includes the step of auditing the message template. That is, the message template is sent to the specified sending channel for auditing, and the audit result is obtained. Among them, when the sending channel audits the message template, it includes at least one of material audit and message type audit.
[0057] In a possible implementation, when the channel audits the incoming message template, it includes both message material audit and message type audit. Specifically, when performing message material audit on the message template, it includes material size requirements and material format requirements. Among them, the material size requirement is that the material size in the message template does not exceed the material size required by the sending channel. The material format requirement is that the material format in the message template needs to meet the material format requirements of the sending channel. It should be noted here that the message material size and message material format are determined according to the actual channel requirements, and no specific limitations are made. Preferably, the material format requirements for the picture material in the message material are set to at least one of jpg, png, and gif formats, and the material format requirement for the video material is set to the MP4 format.
[0058] When performing material audit on the message template, when the material format and material size both meet the channel requirements, it indicates that the message material audit is passed; when at least one of the material format and material size does not meet the channel requirements, it indicates that the message material audit is not passed. The message material audit result can be expressed by the formula: When conducting a message type review on a message template, it is determined whether the message type meets the requirements of the sending channel for the message type of the message template based on the adaptation relationship between the sending channel and the message type. That is, when the message type of the message template is the same as the message type adapted to the sending channel, it meets the requirements of the sending channel for the message type, indicating that the message type review of the message template passes; when the message type of the message template is different from the message type adapted to the sending channel, it does not meet the requirements of the sending channel for the message type, indicating that the message type review of the message template fails and the message template needs to be retrieved again. The result of the message type review can be expressed by the formula: Based on the above message material review result and message type review result, the review result of the message template is obtained. That is, when both the message material review result and the message type review result pass, it indicates that the current message template review passes, and at this time, the message status of the current message template is set to sendable; when at least one of the message material review result and the message type review result fails, the current message template review fails, and at this time, the message status of the current message template is set to non-sendable, and the message template needs to be retrieved again. The review result of the message template can be expressed by the formula: That is, the current message template review fails, indicating that the current message template is not sendable and needs to be retrieved again; the current message template review passes, indicating that the current message template is sendable.
[0059] After reviewing the message template, the message template that passes the review (i.e., the message status is sendable) is stored in the template library to facilitate directly finding the message template in the template library and sending it when the same message is sent in the future, which can effectively improve the efficiency of message sending.
[0060] After obtaining the corresponding message template that can be sent through the specified sending channel after review, step S1300 is executed to send the message template through the specified sending channel. Specifically, when sending the message template through the specified sending channel, it is sent according to the preset sending strategy. Among them, the preset sending strategy refers to the specified sending channel sequence and the retry times when sending the message template, and the channel sequence includes the preferred sending channel and the next sending channel. There is one preferred sending channel, and there can be multiple next sending channels. It should be noted that in order to improve the reachability of the message, for the same user receiver, when sending the message template, according to the preset preferred sending channel, the corresponding message template is found and sent to the user receiver through the preferred sending channel. When the preferred sending channel fails to send, the message template that can be sent corresponding to the preset next sending channel is searched from the template library and sent. Thus, when sending a message to the same user receiver, not only can the resources for sending the same message to the same user end be saved, but also the message reachability of sending the same message to the same user end can be improved. It should be noted that the channel sequence can be adjusted according to the actual situation, and the specific channel sequence is not limited. It should be pointed out here that the read message and the text message are mutually exclusive, so the read message sending channel and the text message sending channel cannot be included at the same time when determining the channel sequence. Further, it should be noted that the retry times of the sending channel refer to the number of times the current message template is sent by the current sending channel.
[0061] After obtaining the sending strategy, based on the preferred sending channel selected in the sending strategy, according to the corresponding relationship between the sending channel and the message template, the message template corresponding to the current sending channel is found from the sendable message templates, and it is sent through the current preferred sending channel, and the channel receipt status and receipt time are returned. Whether to send the message of the next sending channel is judged according to the channel receipt status and receipt time. Among them, the channel receipt status includes success (DeliveredToTerminal), failure (DeliveryImpossible), and forwarded (DeliveredToNetwork).
[0062] Specifically, when judging whether to send the message of the next sending channel according to the channel receipt status and receipt time, it is judged through the preset judgment condition. Among them, the preset judgment condition is: the current sending channel receipt status is failure and / or the receipt time is not less than the time threshold. It should be noted that the time threshold is set according to the actual situation, and is preferably set to 5 seconds. Specifically, when the receipt status and receipt time of the current channel meet the preset judgment condition, the message of the next sending channel is sent. The specific sending process is the same as the above preferred channel message sending process and will not be elaborated here. When the preset judgment condition is not met, the message of the next sending channel is not sent, indicating that the current message template has been sent successfully.
[0063] For example, the message template is a single-card message type adapted for each sending channel. When sending the message template, the preset sending policy is as follows: The preferred sending channel is: 5G message Number of retries: 1 time The next sending channel is: WeChat official account The execution condition is: [Channel = 5G message AND (Receipt status = failed OR Receipt time >= 5 seconds)] Number of retries: 0 times The next sending channels: Yuexin, text message The execution condition is: [Channel = WeChat official account AND (Receipt status = failed OR Receipt time >= 5 seconds)] Number of retries: 0 times According to the preset sending policy, the preferred sending channel is the 5G sending channel. First, find the single-card message template corresponding to the 5G sending channel and send it through the 5G sending channel. Then, judge whether to send through the next sending channel according to the receipt status and receipt time. When the receipt status is failed and / or the receipt time >= 5 seconds, send through the next sending channel (i.e., the WeChat official account sending channel). Similarly, find the single-card message template corresponding to the WeChat official account sending channel and send it through the WeChat official account sending channel until the receipt status is successful or has been sent, and then stop sending. At this time, it means that the current message template has been sent successfully.
[0064] Therefore, the present application provides a 5G message sending method, including: obtaining message content; using a message fusion editor to edit the message content, and adapting the edited message content to a specified sending channel to generate a message template corresponding to the specified sending channel; sending the message template according to the specified sending channel. When the present application sends multi-channel messages, it directly edits the message content through the designed message fusion editor, and adapts the edited message content to the specified message channel to generate a message template corresponding to the specified sending channel. There are multiple generated message templates, and each message template corresponds to and adapts to each specified sending channel. Thus, it is not necessary to edit the message content separately for each specified sending channel to achieve sending on different channels. It only needs to be edited in the message fusion editor in the technology of the present application, which greatly simplifies the message editing path and effectively solves the limitation problem caused by the need to edit messages on different sending channels to achieve sending on different channels in the conventional technology.
[0065] <Device embodiment> Figure 4 Shows a schematic block diagram of a 5G message sending device according to an embodiment of the present application. AsFigure 4 As shown, the device 100 includes: a message content acquisition module 110, a message template generation module 120, and a message template sending module 130. Among them, the message content acquisition module 110 is used to acquire message content; the message template generation module 120 is used to edit the message content using a message fusion editor and adapt the edited message content to a specified sending channel to generate a message template corresponding to the specified sending channel; the message template sending module 130 is used to send the message template according to the specified sending channel.
[0066] <Device Embodiment> Figure 5 Shows a schematic block diagram of a 5G message sending device according to an embodiment of the present application. As Figure 5 shown, the message sending device 200 includes: a processor 210 and a memory 220 for storing executable instructions that can be executed by the processor 210. Among them, the processor 210 is configured to implement the 5G message sending method described in any one of the foregoing when executing the executable instructions.
[0067] Here, it should be noted that the number of processors 210 can be one or more. At the same time, in the message sending device 200 of the embodiment of the present application, an input device 230 and an output device 240 may further be included. Among them, the processor 210, the memory 220, the input device 230, and the output device 240 may be connected through a bus or in other ways, which is not specifically limited here.
[0068] The memory 220, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and various modules, such as: programs or modules corresponding to the 5G message sending method of the embodiment of the present application. The processor 210 executes various functional applications and data processing of the message sending device 200 by running the software programs or modules stored in the memory 220.
[0069] The input device 230 can be used to receive input numbers or signals. Among them, the signal can be a key signal related to the user settings and function control of the device / terminal / server. The output device 240 may include a display device such as a display screen.
[0070] <Storage Medium Embodiment> According to the fourth aspect of the present application, a non-volatile computer-readable storage medium is further provided, on which computer program instructions are stored, and when the computer program instructions are executed by the processor 210, the 5G message sending method described in any one of the foregoing is implemented.
[0071] The embodiments of the present application have been described above. The above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations are obvious to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The choice of terms used herein is intended to best explain the principles of the embodiments, the practical application, or the improvement of the technology in the market, or to enable other ordinary technical personnel in the technical field to understand the embodiments disclosed herein.
Claims
1. A method for sending a 5G message, characterized in that: include: Get the message content; Using a message fusion editor to edit the message content, and adapting the edited message content to a specified sending channel to generate a message template corresponding to the specified sending channel; The message template is sent according to the designated sending channel.
2. The method according to claim 1, characterized in that When the message fusion editor is used to edit the message content, an operation of visually editing the message content is included.
3. The method according to claim 1, characterized in that When adapting the edited message content to the designated sending channel, it includes: performing a template mapping operation of the designated sending channel on the message content according to the message type mapping relationship specified in the message fusion editor.
4. The method according to claim 1, characterized in that: When the edited message content is adapted to the designated sending channel, it includes performing a template mapping operation of the designated sending channel in a user-defined manner.
5. The method according to any one of claims 1 to 4, characterized in that: After obtaining the message content, the method further includes reviewing the message content, and if the review is passed, executing the step of editing the message content using the message fusion editor.
6. The method according to claim 5, characterized in that The review of the message content includes: Extracting materials to be reviewed from the message content; The materials to be reviewed are reviewed according to the requirements of the designated sending channel.
7. The method according to any one of claims 1 to 4, characterized in that: After the edited message content is adapted to the designated sending channel to generate a message template corresponding to the designated sending channel, the method further includes a step of reviewing the message template.
8. A 5G message sending device, characterized in that: include: A message content acquisition module, used to acquire message content; A message template generating module, used to edit the message content using a message fusion editor, and adapt the edited message content to a specified sending channel to generate a message template corresponding to the specified sending channel; The message template sending module is used to send the message template according to the specified sending channel.
9. A 5G message sending device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to implement the method described in any one of claims 1 to 7 when executing the executable instructions.
10. A non-volatile computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Multi-channel message content sending method and device, equipment and storage medium
CN111327519A
Enterprise communication channel fusion method, device and equipment, and readable storage medium
CN111614718A
5G message distribution processing method, related equipment, program product and storage medium
CN116866849A
Method and system for secure management of inventory and profile information
US20210334879A1
Electronic transaction method and apparatus, device, system, and medium
WO2025039577A1