Message sending method and device, computer readable storage medium, and electronic device

By introducing a mutual trust mechanism into the messaging platform and utilizing the operator's platform's private key signing and public key authentication, rapid review and trustworthiness authentication of rich media SMS messages are achieved. This solves the problem of long message channel review times in existing technologies, ensuring timely message delivery and efficient channel utilization.

CN122395550APending Publication Date: 2026-07-14JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD
Filing Date
2025-01-13
Publication Date
2026-07-14

AI Technical Summary

Technical Problem

In existing technologies, the message channel review process for rich media SMS takes a long time, and adding a new channel when the channel fails takes a long time, resulting in untimely message delivery.

Method used

After receiving the template approval response from the first message channel, a template confirmation request is sent to the second message channel. The private key of the first operator platform is used for signing, and the public key is queried from the signature authentication center for trustworthiness authentication. This achieves a preliminary review and a second review, ensuring that the message can be sent after the trustworthiness authentication of the message channel is passed.

Benefits of technology

This enables the message sending platform to send template confirmation requests to any message channel with only one review process, reducing the operator's review costs, ensuring timely message delivery, and improving the efficiency and reliability of message delivery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122395550A_ABST
    Figure CN122395550A_ABST
Patent Text Reader

Abstract

The present disclosure relates to the technical field of communication, and provides a message sending method, a message sending device, a computer readable storage medium and an electronic device, wherein the message sending method comprises the following steps: after receiving a template audit pass response returned by a first message channel, sending a template confirmation request to a second message channel; the template confirmation request contains a signature template and identity information of a first operator platform; querying a public key of the first operator platform according to the identity information of the first operator platform through the second message channel, and performing credibility authentication on the signature template based on the public key of the first operator platform; after receiving a credibility authentication pass response returned by the second message channel, calling the second message channel to send a message based on a message template and an authentication identifier contained in the credibility authentication pass response. The present disclosure can quickly add a message channel in the case of failure of a channel that previously audits a template.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of communication technology, and in particular to a message sending method, a message sending device, a computer-readable storage medium, and an electronic device. Background Technology

[0002] Rich Media SMS, sometimes called enhanced SMS or multimedia SMS, is a short message service that can contain more content and richer formatting than traditional text messages. Unlike standard SMS (Short Message Service), which can only send plain text messages, rich media SMS can support the sending of multimedia content, richly formatted text, interactive elements, and more.

[0003] In the relevant technology, each channel only allows SMS messages that have been certified by itself to be sent. If there is a problem with the channel, the SMS templates that have not been reviewed in advance need to be reviewed and certified again in other channels, which takes a long time.

[0004] Therefore, there is an urgent need in this field to develop a new message sending method and apparatus.

[0005] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this disclosure. Summary of the Invention

[0006] The purpose of this disclosure is to provide a message sending method, message sending device, computer-readable storage medium, and electronic device, thereby overcoming, to at least some extent, the technical problem that adding a new message sending channel requires a long time due to limitations in related technologies.

[0007] Other features and advantages of this disclosure will become apparent from the following detailed description, or may be learned in part from practice of this disclosure.

[0008] According to a first aspect of this disclosure, a message sending method is provided, applied to a message sending platform, the method comprising:

[0009] After receiving the template approval response from the first message channel, a template confirmation request is sent to the second message channel. The second message channel may be the same as or different from the first message channel. The template confirmation request includes a signature template obtained after the first operator platform digitally signs the message template using its own private key after the message template has passed the initial review by the first message channel and the second review by the first operator platform associated with the first message channel. The template confirmation request also includes the identity information of the first operator platform.

[0010] The public key of the first operator platform is queried through the second message channel based on the identity information of the first operator platform, and the signature template is authenticated based on the public key of the first operator platform.

[0011] After receiving the trustworthiness authentication pass response from the second message channel, the second message channel is invoked to send the message based on the message template and the authentication identifier contained in the trustworthiness authentication pass response.

[0012] In an exemplary embodiment of this disclosure, before receiving the template approval response returned by the first message channel, the method further includes:

[0013] Submit a template review request to multiple message channels, wherein the template review request contains a message template; the multiple message channels include a first message channel.

[0014] The message template is initially reviewed through the first message channel, and after the initial review is passed, the message template is submitted to the first operator platform that is associated with the first message channel.

[0015] The message template is reviewed by the first operator platform. After the review is passed, the message template is digitally signed to obtain the signature template. The signature template and the identity information of the first operator platform are returned to the first message channel.

[0016] The template approval response is returned to the message sending platform through the first message channel; the template approval response contains the signature template and the identity information of the first operator platform.

[0017] In an exemplary embodiment of this disclosure, the first message channel is the earliest among the plurality of message channels to return the template approval response to the message sending platform.

[0018] In an exemplary embodiment of this disclosure, obtaining the signature template by digitally signing the message template includes:

[0019] The first operator platform calculates the first summary information corresponding to the message template.

[0020] Add review information to the message template to obtain a reviewed template; the review information includes the first summary information, the current timestamp, and the identity information of the first operator platform.

[0021] The first operator platform uses its own private key to digitally sign the approved template to obtain the signature template.

[0022] In an exemplary embodiment of this disclosure, after receiving the template approval response returned by the first message channel, the method further includes:

[0023] Withdraw the template review request submitted to any message channel other than the first message channel.

[0024] In an exemplary embodiment of this disclosure, the second message channel queries the public key of the first operator platform based on the identity information of the first operator platform, including:

[0025] The second message channel sends a public key query request to the signature authentication center based on the identity information of the first operator platform; the signature authentication center is used to store the correspondence between the identity information of each operator platform and its public key;

[0026] Based on the query response returned by the signature authentication center, the public key of the first operator platform is obtained.

[0027] In an exemplary embodiment of this disclosure, the authentication of the signature template based on the public key of the first operator platform includes:

[0028] The signature template is decrypted using the public key of the first operator platform to obtain the decrypted template;

[0029] Remove the audit information added to the decryption template to obtain the basic template;

[0030] Calculate the second summary information corresponding to the basic template;

[0031] The second summary information is compared with the first summary information. If the second summary information is consistent with the first summary information, the credibility authentication is determined to be successful.

[0032] In an exemplary embodiment of this disclosure, after authenticating the signature template based on the public key of the first operator platform, the method further includes:

[0033] The signature template is submitted to the second operator platform associated with the second message channel through the second message channel.

[0034] The second operator platform queries the public key of the first operator platform based on the identity information of the first operator platform, and performs trustworthiness authentication on the signature template based on the public key of the first operator platform.

[0035] After the trustworthiness authentication is passed, the second operator platform returns the trustworthiness authentication pass result to the second message channel, and returns the trustworthiness authentication pass response to the message sending platform through the second message channel.

[0036] According to a second aspect of this disclosure, a message sending apparatus is provided, disposed on a message sending platform, the apparatus comprising:

[0037] The template confirmation request module is used to send a template confirmation request to the second message channel after receiving a template approval response from the first message channel. The second message channel may be the same as or different from the first message channel. The template confirmation request includes a signature template obtained after the first operator platform digitally signs the message template using its own private key after the message template has passed the initial review by the first message channel and the second review by the first operator platform associated with the first message channel. The template confirmation request also includes the identity information of the first operator platform.

[0038] The trustworthiness authentication module is used to query the public key of the first operator platform based on the identity information of the first operator platform through the second message channel, and perform trustworthiness authentication on the signature template based on the public key of the first operator platform.

[0039] The message sending module is used to, after receiving the trust authentication pass response returned by the second message channel, invoke the second message channel to send a message based on the message template and the authentication identifier contained in the trust authentication pass response.

[0040] According to a third aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the message sending method described in the first aspect above.

[0041] According to a fourth aspect of this disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the message sending method described in the first aspect by executing the executable instructions.

[0042] As can be seen from the above technical solutions, the message sending method, message sending device, computer-readable storage medium, and electronic device in the exemplary embodiments of this disclosure have at least the following advantages and positive effects:

[0043] In some embodiments of the present disclosure, after receiving a template approval response from a first message channel, a template confirmation request is sent to a second message channel (which may be the same as or different from the first message channel). The template approval response includes a signature template and the identity information of the first operator platform. Therefore, the second message channel can query the public key of the first operator platform based on its identity information and perform trust authentication on the signature template based on the public key. After receiving a trust authentication approval response from the second message channel, the message sending platform can then perform trust authentication based on the message template and the trust authentication approval response. The authentication identifier included in this disclosure calls the second message channel to send messages. This disclosure enables the message sending platform to undergo only one initial review and re-review process. After that, the message sending platform can send a template confirmation request to any message channel. The message channel and the corresponding operator platform do not need to repeat the template review. They only need to perform credibility authentication on the previous signature template. After the credibility authentication is passed, an authentication ID can be issued, realizing one review and full channel availability. Moreover, if the channel that previously reviewed the template fails and becomes unavailable, it can also efficiently confirm with other channels, thereby quickly adding new message channels, ensuring timely message delivery, and safeguarding business operations.

[0044] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0045] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.

[0046] Figure 1 A flowchart illustrating the message sending method in an embodiment of this disclosure is shown.

[0047] Figure 2 A schematic diagram of the template creation page is shown in an embodiment of this disclosure;

[0048] Figure 3 A schematic diagram of a message template in an embodiment of this disclosure is shown;

[0049] Figure 4 This diagram illustrates how a mutual trust mechanism is established through a signature authentication center in an embodiment of this disclosure.

[0050] Figure 5 This diagram illustrates the process of obtaining a template approval response in an embodiment of this disclosure.

[0051] Figure 6 This illustration shows a flowchart of how the first operator platform digitally signs the message template to obtain a signature template after the review is approved, according to an embodiment of this disclosure.

[0052] Figure 7 This diagram illustrates the process by which the second message channel queries the public key of the first operator platform in an embodiment of this disclosure.

[0053] Figure 8 This diagram illustrates the process by which the second message channel performs trustworthiness authentication on the signature template in an embodiment of this disclosure.

[0054] Figure 9 This diagram illustrates the process by which the second operator platform performs another credibility authentication on the aforementioned signature template in an embodiment of this disclosure.

[0055] Figure 10 This diagram illustrates the overall flow of the message sending method in an embodiment of this disclosure.

[0056] Figure 11 This diagram illustrates the architecture of the message sending system in an embodiment of this disclosure.

[0057] Figure 12 A schematic diagram of a message sending method in an embodiment of this disclosure is shown;

[0058] Figure 13 This diagram illustrates the structure of a message sending apparatus in an exemplary embodiment of this disclosure.

[0059] Figure 14 A schematic diagram of the structure of an electronic device in an exemplary embodiment of this disclosure is shown. Detailed Implementation

[0060] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this disclosure more comprehensive and complete, and to fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a full understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced with one or more of the specific details omitted, or other methods, components, apparatus, steps, etc., can be employed. In other instances, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of this disclosure.

[0061] The terms “a,” “an,” “the,” and “the” are used in this specification to indicate the presence of one or more elements / components / etc.; the terms “including” and “having” are used to indicate an open-ended inclusion and to mean that there may be other elements / components / etc. in addition to the listed elements / components / etc.; the terms “first” and “second” are used only as markings and are not a limitation on the number of objects.

[0062] Furthermore, the accompanying drawings are merely illustrative of this disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities.

[0063] The rich media SMS delivery process mainly includes submitting an SMS template for review, receiving the template review result, sending the SMS using the authentication ID from the template review result, and finally receiving a status report indicating whether the SMS was successfully delivered. To ensure the reliability of rich media SMS delivery, it is usually necessary to ensure that rich media SMS can be delivered through multiple SMS channels. If delivery fails on one channel, it will be routed to another SMS channel. However, each channel only allows delivery using its own issued authentication ID; authentication IDs that have not been pre-approved will fail to be delivered.

[0064] However, the above solution has at least the following problems:

[0065] First, the template needs to be sent to each channel that expects to receive the SMS for review. Currently, template review is mostly done manually, which makes the template review process very inefficient. Templates usually need to be reviewed a long time in advance.

[0066] Second, if there is a problem with the message channel that has already approved the template, it will take a long time to add a new message channel to distribute the template.

[0067] This disclosure adds a mutual trust mechanism between all messaging channels and operators. Templates approved in one channel only need to be confirmed once more in other channels before SMS messages can be sent directly. This reduces template approval time, achieving one-time approval that works across all messaging channels, and significantly reduces the manpower costs for operators to approve templates.

[0068] In the embodiments of this disclosure, a message sending method is first provided, which at least to some extent overcomes the defect in the related art that it takes a long time to add a new channel for sending messages.

[0069] Figure 1 The diagram shows a flowchart of a message sending method in an embodiment of this disclosure. The execution entity of this message sending method can be a message sending platform.

[0070] refer to Figure 1 A message sending method according to an embodiment of the present disclosure includes the following steps:

[0071] Step S110: After receiving the template approval response from the first message channel, a template confirmation request is sent to the second message channel. The second message channel may be the same as or different from the first message channel. The template approval response includes a signature template obtained after the first operator platform digitally signs the message template using its own private key after the message template has passed the initial review by the first message channel and the second review by the first operator platform associated with the first message channel. The template approval response also includes the identity information of the first operator platform.

[0072] Step S120: Query the public key of the first operator platform through the second message channel based on the identity information of the first operator platform, and perform trustworthiness authentication on the signature template based on the public key of the first operator platform;

[0073] Step S130: After receiving the trustworthiness authentication pass response returned by the second message channel, the second message channel is invoked to send the message based on the message template and the authentication identifier contained in the trustworthiness authentication pass response.

[0074] exist Figure 1 In the technical solution provided by the illustrated embodiment, after receiving the template approval response from the first message channel, a template confirmation request is sent to the second message channel (which may be the same as or different from the first message channel). The template approval response includes the signature template and the identity information of the first operator platform. Therefore, the second message channel can query the public key of the first operator platform based on its identity information and perform trust authentication on the signature template based on the public key. After receiving the trust authentication approval response from the second message channel, the message sending platform can use the message template and the information contained in the trust authentication approval response to perform trust authentication on the signature template. The authentication identifier is used to call the second message channel for message sending. This disclosure enables the message sending platform to undergo only one initial review and re-review process. After that, the message sending platform can send a template confirmation request to any message channel. The message channel and the corresponding operator platform do not need to review the template again. They only need to perform credibility authentication on the previous signature template. After the credibility authentication is passed, an authentication ID can be issued. This achieves one review and full channel availability. Moreover, if the channel that previously reviewed the template fails and becomes unavailable, it can efficiently confirm with other channels, thereby quickly adding new message channels and ensuring timely message delivery, thus safeguarding business operations.

[0075] The following are Figure 1 The specific implementation process of each step in the process is explained in detail:

[0076] It should be noted that the messages in this disclosure can contain multiple information types besides text. For example, they can be rich media SMS, which refers to an enhanced SMS service designed to provide richer and more interactive features than traditional SMS. It allows users to send and receive high-quality message content, including but not limited to high-definition pictures, videos, audio files, location information, contact cards, etc.

[0077] The messaging channel in this disclosure refers to an SP (Service Provider) channel, which is a dedicated communication path provided by a third-party service provider for sending and receiving SMS messages. In the telecommunications industry, SPs typically refer to companies that provide SMS services to various businesses and applications, utilizing the network infrastructure of mobile operators to send and receive SMS messages.

[0078] The message sending method disclosed herein involves five stages: template creation stage, mutual trust authentication stage (establishing a mutual trust mechanism among various operator platforms), template review stage (including initial review by the message channel and re-review by the operator), template confirmation stage (including credibility authentication of the message channel and credibility authentication of the operator), and message sending stage (sending messages based on the authentication identifier issued by the message channel).

[0079] First, during the template creation stage, this disclosure provides a visual page for building templates. Users can then operate on the page by adding text, images, videos, and audio to ultimately create a rich media SMS template that can be sent to mobile phones.

[0080] refer to Figure 2 , Figure 2 This diagram illustrates a template creation page in an embodiment of the present disclosure, such as... Figure 2 As shown, the template creation page can contain multiple titles, such as: SMS subject, SMS description, SMS signature, add materials, add text, etc. Users can then select or create corresponding content based on the prompts to form a finished message template. (Reference) Figure 3 , Figure 3 The diagram illustrates the message template described above in an embodiment of this disclosure. The message template may contain images to be advertised or promoted.

[0081] Secondly, during the mutual trust authentication phase, each operator platform can generate an RSA public-private key pair, keep the private key safe, and then store the correspondence between its own identity information (e.g., operator code) and its public key in the signature authentication center. This allows other parties to query the public keys of other operator platforms through the signature authentication center, thereby executing the subsequent template confirmation phase.

[0082] refer to Figure 4 , Figure 4 This illustration shows how a mutual trust mechanism is established through a signature authentication center in an embodiment of this disclosure, such as... Figure 4 As shown:

[0083] Each operator platform can register with the signature authentication center and publish its own public key. As a result, message sending platforms, other operator platforms, and SP message channels can all enter the identity information of a certain operator platform to query the public key of that operator platform from the signature authentication center.

[0084] The following explains the specific implementation method of the template review stage in this disclosure. (Refer to...) Figure 5 , Figure 5 This diagram illustrates the process of obtaining a template approval response in an embodiment of this disclosure, including steps S501-S504:

[0085] In step S501, template review requests are submitted to multiple message channels.

[0086] In this step, the message sending platform can submit template review requests to multiple message channels. These requests can include the prepared message templates. It's important to note that the template content may contain files in formats such as MP4 and JPG (essentially binary data). Therefore, the binary data in the template content can first be converted to a JSON string using a base64 algorithm to obtain a standardized template. Thus, the template review request can include the converted, standardized template.

[0087] For example, the converted specification template can refer to the following data body:

[0088]

[0089]

[0090] For a detailed explanation of the relevant fields involved in the above data body, please refer to Table 1:

[0091] Table 1

[0092]

[0093] In addition, it should be noted that the above multiple message channels may include the first message channel, which refers to the message channel that returns the template approval response to the message sending platform earliest among the multiple message channels.

[0094] In step S502, the message template is initially reviewed through the first message channel. After the initial review is passed, the message template is submitted to the first operator platform that is associated with the first message channel.

[0095] In this step, the first message channel can conduct a preliminary review of the aforementioned message templates. The preliminary review process can intercept some templates with obvious errors (such as text errors, mismatch between text and images, etc.) or that violate laws, regulations and policies, and return the preliminary review failure result to the message sending platform. If the preliminary review is passed, the first message channel can submit the message template to the first operator platform that is associated with the first message channel.

[0096] For example, the aforementioned relationship may refer to a cooperative or contractual relationship between a third party providing SMS services and an operator platform.

[0097] It should be noted that other message channels besides the primary message channel may also perform a preliminary review of message templates. However, due to factors such as task backlog, their response speed may be too slow, thus preventing the message templates that pass the preliminary review from being quickly forwarded to the corresponding operator platform.

[0098] In step S503, the message template is reviewed again by the first operator platform. After the review is passed, the message template is digitally signed to obtain a signature template. The signature template and the identity information of the first operator platform are returned to the first message channel.

[0099] In this step, the first operator platform can review the message template again. If the template is found to be inconsistent with laws, regulations, and policies during the review process, the review request can be rejected. If the review is successful, the message template can be digitally signed to obtain a signed template, and the signed template and the identity information of the first operator platform can be returned to the first message channel.

[0100] It should be noted that other operator platforms besides the first operator platform may also perform a second review of message templates. However, their response speed may be too slow due to tasks piling up. Therefore, only the first operator platform, which has the fastest response, can return the template approval response to the first message channel first.

[0101] Among them, reference Figure 6 , Figure 6 This embodiment of the present disclosure illustrates the process by which the first operator platform digitally signs the message template to obtain a signature template after the review is approved, including steps S601-S603:

[0102] In step S601, the first digest information corresponding to the message template is calculated through the first operator platform.

[0103] In this step, the first operator platform can calculate the first digest information corresponding to the aforementioned message template. For example, it can calculate the MD5 digest information. MD5 digest information typically refers to a fixed-length 128-bit (16-byte) hash value generated by the MD5 algorithm. This hash value is usually represented as a string of 32 hexadecimal digits. MD5 stands for Message-Digest Algorithm 5, a hash function used in the field of computer security.

[0104] In step S602, review information is added to the message template to obtain the reviewed template.

[0105] In this step, review information can be added to the message template to obtain a reviewed template. The review information may include the aforementioned first summary information, the current timestamp, and the identity information of the first operator platform. The identity information of the first operator platform may be operator code, operator name, etc., and can be set according to the actual situation. This disclosure does not impose any special restrictions on this.

[0106] In step S603, the first operator platform uses its own private key to digitally sign the approved template to obtain the signed template.

[0107] In this step, the first operator can use its own private key to digitally sign the aforementioned audited template using RSA encryption technology (also known as an asymmetric encryption algorithm or public-key encryption algorithm), thus obtaining a signed template. Signing the audited template facilitates subsequent verification by relevant parties to confirm whether the template has been tampered with.

[0108] For example, the above signature template can refer to the following data body:

[0109]

[0110]

[0111] The explanations of the newly added fields in the above data body can be found in Table 2 below:

[0112] Table 2

[0113]

[0114] It should be noted that after obtaining the signature template, the first operator platform can return the aforementioned signature template and the first operator platform's identity information (including operator code + operator name) to the aforementioned first message channel.

[0115] For example, the specific content returned by the first operator platform to the first message channel can be referred to as the following message body:

[0116]

[0117] Here, signedTemplate represents the signed template message body.

[0118] Next, refer to Figure 5 In step S504, a template approval response is returned to the message sending platform through the first message channel.

[0119] In this step, the first message channel can return a template approval response to the message sending platform. This template approval response can include the aforementioned signature template and the identity information of the first operator platform (i.e., operator code + operator name).

[0120] It should be noted that once the message sending platform receives the above template approval response, it can withdraw or terminate the template approval request submitted to other message channels to avoid duplicate approval processes by other channels or operator platforms.

[0121] This disclosure improves template review efficiency by submitting template review requests to multiple message channels simultaneously, avoiding delays caused by task backlog in a single message channel.

[0122] After that, you can refer to... Figure 1 In step S110, after receiving the template approval response from the first message channel, a template confirmation request is sent to the second message channel.

[0123] In this step, after receiving the template approval response from the first message channel, the message sending platform can send a template confirmation request to any second message channel. This template confirmation request is used to request whether the signature template is trustworthy. It should be noted that the second message channel can be the same as the first message channel mentioned above, or it can be any other message channel besides the first message channel. It can be set according to the actual situation, and this disclosure does not make any special restrictions on it.

[0124] As shown above, the template confirmation request may include a signature template and the identity information of the aforementioned first operator platform.

[0125] In step S120, the public key of the first operator platform is queried through the second message channel based on the identity information of the first operator platform, and the signature template is authenticated based on the public key of the first operator platform.

[0126] In this step, after receiving the template confirmation request, the second message channel can obtain the public key of the first operator platform from the signature authentication center based on the identity information of the first operator platform contained in the template confirmation request. Then, it can perform trustworthiness authentication on the signature template based on the public key of the first operator platform.

[0127] Specifically, refer to Figure 7 , Figure 7 This illustration shows a flowchart of how the second message channel queries the public key of the first operator platform in an embodiment of this disclosure, including steps S701-S702:

[0128] In step S701, the second message channel sends a public key query request to the signature authentication center based on the identity information of the first operator platform.

[0129] In this step, since the signature authentication center stores the correspondence between the identity information of each operator platform and its public key, the second message channel can send a public key query request to the signature authentication center based on the identity information of the first operator platform. Thus, the signature authentication center can query the public key of the first operator platform based on its identity information.

[0130] In step S702, the public key of the first operator platform is obtained based on the query response returned by the signature authentication center.

[0131] In this step, the signature authentication center can return the retrieved public key to the second message channel, thereby allowing the second message channel to obtain the public key of the first operator platform.

[0132] After obtaining the public key of the first operator's platform, refer to Figure 8 , Figure 8 This diagram illustrates the process by which the second message channel performs trustworthiness authentication on the signature template in an embodiment of this disclosure, including steps S801-S804:

[0133] In step S801, the signature template is decrypted based on the public key of the first operator platform to obtain the decrypted template.

[0134] In this step, the second message channel can decrypt the signature template based on the public key of the first operator platform to obtain the decrypted template.

[0135] In step S802, the audit information added to the decryption template is removed to obtain the basic template.

[0136] In this step, the second message channel can remove the audit information added to the decryption template, namely fields such as templateMd5, auditDepartment, timestamp, and auditDepartmentName, to obtain the basic template.

[0137] In step S803, the second summary information corresponding to the basic template is calculated.

[0138] In this step, the second message channel can calculate the second digest information corresponding to the basic template, namely the MD5 digest information.

[0139] In step S804, the second digest information is compared with the first digest information. If the second digest information is consistent with the first digest information, the credibility authentication is confirmed to be successful.

[0140] In this step, the second message channel can compare the second digest information with the first digest information. If the second digest information is different from the first digest information, it can be determined that the template has been tampered with. If the second digest information is consistent with the first digest information, it can be determined that the trust authentication has passed.

[0141] Optionally, after the signature template passes the trust authentication in the second message channel, the signature template can be submitted to the second operator platform that is associated with the second message channel, so that the second operator platform can re-authenticate the signature template.

[0142] For details, please refer to Figure 9 , Figure 9 This diagram illustrates the process by which the second operator platform performs another credibility authentication on the aforementioned signature template in this embodiment of the present disclosure, including steps S901-S903:

[0143] In step S901, the signature template is submitted to the second operator platform associated with the second message channel through the second message channel.

[0144] In this step, the second message channel can submit the signature template to the second operator platform associated with the second message channel.

[0145] In step S902, the second operator platform queries the public key of the first operator platform based on the identity information of the first operator platform, and performs trustworthiness authentication on the signature template based on the public key of the first operator platform.

[0146] In this step, the second operator platform can query the public key of the first operator platform from the signature authentication center based on the identity information of the first operator platform. Then, it can perform trustworthiness authentication on the signature template based on the public key of the first operator platform.

[0147] Specifically, the signature template can be decrypted based on the public key of the first operator platform to obtain the decrypted template. Then, the audit information added to the decrypted template is removed to obtain the basic template. The third digest information corresponding to the basic template is then calculated and compared with the first digest information. If the third digest information is consistent with the first digest information, the trustworthiness authentication is confirmed to be successful.

[0148] In step S903, after the trustworthiness authentication is passed, the second operator platform returns the trustworthiness authentication result to the second message channel, and returns the trustworthiness authentication response to the message sending platform through the second message channel.

[0149] In this step, after the second operator verifies the trustworthiness of the signature template, the second operator platform can return a trustworthiness verification result (e.g., authentication successful or authentication failed) to the second message channel. Then, the second message channel can return a trustworthiness verification response to the message sending platform. For example, the trustworthiness verification response can include an authentication identifier issued by the second message channel for the message template. Through this authentication identifier, the message sending platform can call the second message channel to send messages.

[0150] Next, refer to Figure 1 In step S130, after receiving the trustworthiness authentication pass response returned by the second message channel, the second message channel is invoked to send the message based on the message template and the authentication identifier contained in the trustworthiness authentication pass response.

[0151] After receiving a trustworthiness authentication pass response from the second message channel, the message sending platform can invoke the second message channel to send messages based on the message template and the authentication identifier contained in the trustworthiness authentication pass response.

[0152] Therefore, this disclosure enables a process that involves only one initial review and one re-review. After that, the message sending platform can send a template confirmation request to any message channel. The message channel and the corresponding operator platform do not need to repeat the template review. They only need to perform credibility authentication on the previous signature template. After the credibility authentication is passed, a certification ID can be issued, achieving one review and full channel availability. Furthermore, if the channel that previously reviewed the template fails and becomes unavailable, it can efficiently confirm with other channels, thereby quickly adding new channels and ensuring timely message delivery, thus safeguarding business operations.

[0153] refer to Figure 10 , Figure 10 This diagram illustrates the overall flow of the message sending method in this embodiment, including steps S1001-S1022:

[0154] In step S1001, the user creates a template;

[0155] In step S1002, the SMS sending platform (i.e., the message sending platform) persists the template; in step S1003, the template message body is assembled.

[0156] In step S1004, the sp message channel determines whether the initial review has passed;

[0157] If the request fails, proceed to step S1005, where the SMS sending platform sets the template to an editable state; in step S1006, the user modifies the template.

[0158] If approved, proceed to step S1007 and submit to the operator platform;

[0159] In step S1008, the operator platform determines whether the re-examination is approved;

[0160] If the pass is successful, proceed to step S1005;

[0161] If successful, proceed to step S1009, where summary information and operator identity information are added to the template message body;

[0162] In step S1010, a signature is made using the private key;

[0163] In step S1011, the operator's identity information is appended again;

[0164] In step S1012, the SMS sending platform modifies the template to a signed state;

[0165] In step S1013, the template review request sent to other message channels is withdrawn;

[0166] In step S1014, a template confirmation request is sent;

[0167] In step S1015, the sp message channel queries the public key based on the operator's identity information;

[0168] In step S1016, the signature authentication center returns the public key;

[0169] In step S1017, the sp message channel confirms that the template has been verified and has not been tampered with based on the public key;

[0170] In step S1018, the SMS sending platform confirms that the template is in a sendable state;

[0171] In step S1019, the user sends a text message;

[0172] In step S1020, the SMS sending platform sends an SMS message using a message template that is ready to be sent.

[0173] In step S1021, the sp message channel sends an SMS message;

[0174] In step S1022, the operator sends a text message.

[0175] This disclosure also provides a message sending system, see reference. Figure 11 , Figure 11 This diagram illustrates the architecture of the message sending system in an embodiment of this disclosure, such as... Figure 11 As shown:

[0176] The aforementioned message sending system includes an SMS sending platform, SP SMS distribution channels, operators, and a signature authentication center;

[0177] After generating the RSA public key-private key pair, the operator will store the operator's code, operator name and public key on the signature authentication center. Thus, other operators, SP message channels or SMS sending platforms can query the operator's public key by entering the operator code.

[0178] In addition to the signature authentication center, each of the SMS sending platform, SP SMS delivery channel, and operator needs to support the following modules: template management service module (to provide a visual page for building templates, where users can operate on the page to add text, images, videos, and audio to ultimately build a rich media SMS template that can be sent to mobile phones), template review service module (to support the initial review of SP message channels and the re-review service of operators), signature confirmation service module (including the signature credibility authentication process of SP message channels and operators), and SMS delivery service module (for sending SMS messages).

[0179] By following the above steps, we can significantly improve the template review speed and reduce the workload of operators. Moreover, when the delivery channel that has been approved for the template fails and becomes unavailable, we can efficiently check the template on other delivery channels to ensure that the SMS is delivered on time and safeguard the business.

[0180] refer to Figure 12 , Figure 12 A schematic diagram of a message sending method in an embodiment of this disclosure is shown, such as... Figure 12 As shown:

[0181] After receiving the signature template (the template that has been digitally signed by the SMS template review and signature server cluster of the operator), the SMS template management server cluster of the SMS delivery platform can send the signature template to the signature confirmation server cluster module.

[0182] Afterwards, the signature verification server cluster module can send a signature confirmation request to the SP message channel / carrier SMS signature verification server cluster, so that each of them can call the signature authentication center to obtain the public key, and then perform trust authentication on the signature template based on the public key;

[0183] After the trustworthiness authentication is passed, the authentication identifier issued by the SP channel can be stored in the in-memory database storage device;

[0184] Subsequently, when the marketing platform needs to send rich media SMS messages, it can send the edited rich media SMS message, based on a verified message template, to the gateway server cluster module of the SMS delivery platform. The gateway server cluster module can then send the rich media SMS message to the MQ message queue. The MQ message queue can then forward the rich media SMS message to the SMS delivery channel server cluster module. The SMS delivery channel server cluster module can retrieve the template's authentication identifier from the in-memory database storage device, and then forward the rich media SMS message to the operator, who will then deliver it to the user's mobile phone inbox.

[0185] Based on the above technical solutions, this disclosure has at least the following technical effects:

[0186] This disclosure provides a new rich media SMS template review process by using digest algorithms and digital signature technology to process rich media SMS templates. It achieves tamper-proof and trustworthy template review, ensuring that SMS templates are available to all message channels after a single review, while reducing the total review time and the review workload of operators.

[0187] This disclosure also provides a message sending device, which is installed on a message sending platform. Figure 13 This diagram illustrates the structure of a message sending apparatus in an exemplary embodiment of this disclosure; as shown below. Figure 13 As shown, the message sending device 1300 may include a template review module 1310, a template confirmation request module 1320, a trustworthiness authentication module 1330, and a message sending module 1340. Wherein:

[0188] The template confirmation request module 1320 is used to send a template confirmation request to a second message channel after receiving a template approval response from the first message channel. The second message channel may be the same as or different from the first message channel. The template confirmation request includes a signature template obtained after the first operator platform digitally signs the message template using its own private key after the message template has passed the initial review by the first message channel and the second review by the first operator platform associated with the first message channel. The template confirmation request also includes the identity information of the first operator platform.

[0189] The trustworthiness authentication module 1330 is used to query the public key of the first operator platform through the second message channel based on the identity information of the first operator platform, and perform trustworthiness authentication on the signature template based on the public key of the first operator platform.

[0190] The message sending module 1340 is used to, after receiving the trust authentication pass response returned by the second message channel, invoke the second message channel to send a message based on the message template and the authentication identifier contained in the trust authentication pass response.

[0191] In an exemplary embodiment of this disclosure, before receiving the template approval response returned by the first message channel, the template approval module 1310 is configured to:

[0192] Submit a template review request to multiple message channels, wherein the template review request contains a message template; the multiple message channels include a first message channel.

[0193] The message template is initially reviewed through the first message channel, and after the initial review is passed, the message template is submitted to the first operator platform that is associated with the first message channel.

[0194] The message template is reviewed by the first operator platform. After the review is passed, the message template is digitally signed to obtain the signature template. The signature template and the identity information of the first operator platform are returned to the first message channel.

[0195] The template approval response is returned to the message sending platform through the first message channel; the template approval response contains the signature template and the identity information of the first operator platform.

[0196] In an exemplary embodiment of this disclosure, the first message channel is the earliest among the plurality of message channels to return the template approval response to the message sending platform.

[0197] In an exemplary embodiment of this disclosure, the template review module 1310 digitally signs the message template to obtain the signature template, including:

[0198] The first operator platform calculates the first summary information corresponding to the message template.

[0199] Add review information to the message template to obtain a reviewed template; the review information includes the first summary information, the current timestamp, and the identity information of the first operator platform.

[0200] The first operator platform uses its own private key to digitally sign the approved template to obtain the signature template.

[0201] In an exemplary embodiment of this disclosure, after receiving the template approval response returned by the first message channel, the template approval module 1310 is configured to:

[0202] Withdraw the template review request submitted to any message channel other than the first message channel.

[0203] In an exemplary embodiment of this disclosure, the second message channel of the trust authentication module 1330 queries the public key of the first operator platform based on the identity information of the first operator platform, including:

[0204] The second message channel sends a public key query request to the signature authentication center based on the identity information of the first operator platform; the signature authentication center is used to store the correspondence between the identity information of each operator platform and its public key;

[0205] Based on the query response returned by the signature authentication center, the public key of the first operator platform is obtained.

[0206] In an exemplary embodiment of this disclosure, the trust authentication module 1330 performs trust authentication on the signature template based on the public key of the first operator platform, including:

[0207] The signature template is decrypted using the public key of the first operator platform to obtain the decrypted template;

[0208] Remove the audit information added to the decryption template to obtain the basic template;

[0209] Calculate the second summary information corresponding to the basic template;

[0210] The second summary information is compared with the first summary information. If the second summary information is consistent with the first summary information, the credibility authentication is determined to be successful.

[0211] In an exemplary embodiment of this disclosure, after the signature template is authenticated based on the public key of the first operator platform, the authentication module 1330 is configured to:

[0212] The signature template is submitted to the second operator platform associated with the second message channel through the second message channel.

[0213] The second operator platform queries the public key of the first operator platform based on the identity information of the first operator platform, and performs trustworthiness authentication on the signature template based on the public key of the first operator platform.

[0214] After the trustworthiness authentication is passed, the second operator platform returns the trustworthiness authentication pass result to the second message channel, and returns the trustworthiness authentication pass response to the message sending platform through the second message channel.

[0215] The specific details of each module in the aforementioned message sending device have been described in detail in the corresponding message sending methods, so they will not be repeated here.

[0216] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0217] Furthermore, although the steps of the method in this disclosure are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additional or alternative steps may be omitted, multiple steps may be combined into one step, and / or a step may be broken down into multiple steps.

[0218] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, mobile terminal, or network device, etc.) to execute the methods according to the embodiments of this disclosure.

[0219] This disclosure also provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiments; or it may exist independently and not assembled into the electronic device.

[0220] Computer-readable storage media can be, for example—but not limited to—electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0221] A computer-readable storage medium can be sent, propagated, or transmitted for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable storage medium can be transmitted using any suitable medium, including but not limited to: wireless, wireline, optical fiber, RF, etc., or any suitable combination thereof.

[0222] A computer-readable storage medium carries one or more programs that, when executed by an electronic device, cause the electronic device to perform the methods described in the above embodiments.

[0223] Furthermore, this disclosure also provides an electronic device capable of implementing the above-described method.

[0224] Those skilled in the art will understand that various aspects of this disclosure can be implemented as a system, method, or program product. Therefore, various aspects of this disclosure can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software aspects, collectively referred to herein as a "circuit," "module," or "system."

[0225] The following reference Figure 13 To describe an electronic device 1300 according to such an embodiment of the present disclosure. Figure 13 The electronic device 1300 shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments disclosed herein.

[0226] like Figure 13 As shown, the electronic device 1300 is presented in the form of a general-purpose computing device. The components of the electronic device 1300 may include, but are not limited to: at least one processor 1310, at least one memory 1320, a bus 1330 connecting different system components (including memory 1320 and processor 1310), and a display 1340.

[0227] The memory stores program code that can be executed by the processor 1310, causing the processor 1310 to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of this disclosure. For example, the processor 1310 can perform actions such as... Figure 1 As shown: Step S110, after receiving the template approval response from the first message channel, a template confirmation request is sent to the second message channel; the second message channel may be the same as or different from the first message channel, and the template approval response includes a signature template obtained after the first operator platform digitally signs the message template using its own private key after the message template has passed the initial review by the first message channel and the second review by the first operator platform associated with the first message channel; the template approval response also includes the identity information of the first operator platform; Step S120, the public key of the first operator platform is queried through the second message channel based on the identity information of the first operator platform, and the signature template is authenticated based on the public key of the first operator platform; Step S130, after receiving the authentication approval response from the second message channel, the second message channel is invoked to send the message based on the message template and the authentication identifier contained in the authentication approval response.

[0228] The memory 1320 may include a readable medium in the form of volatile storage, such as random access memory (RAM) 13201 and / or cache memory 13202, and may further include read-only memory (ROM) 13203.

[0229] The memory 1320 may also include a program / utility 13204 having a set (at least one) of program modules 13205, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.

[0230] Bus 1330 can represent one or more of several types of bus structures, including a memory bus or memory controller, peripheral bus, graphics acceleration port, processor, or a local bus using any of the various bus structures.

[0231] Electronic device 1300 can also communicate with one or more external devices 1400 (e.g., keyboard, pointing device, Bluetooth device, etc.), one or more devices that enable a user to interact with electronic device 1300, and / or any device that enables electronic device 1300 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 1350. Furthermore, electronic device 1300 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 1360. As shown, network adapter 1360 communicates with other modules of electronic device 1300 via bus 1330. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 1300, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0232] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.

Claims

1. A message sending method, characterized in that, Applied to a message sending platform, the method includes: After receiving the template approval response from the first message channel, a template confirmation request is sent to the second message channel. The second message channel may be the same as or different from the first message channel. The template confirmation request includes a signature template obtained after the first operator platform digitally signs the message template using its own private key after the message template has passed the initial review by the first message channel and the second review by the first operator platform associated with the first message channel. The template confirmation request also includes the identity information of the first operator platform. The public key of the first operator platform is queried through the second message channel based on the identity information of the first operator platform, and the signature template is authenticated based on the public key of the first operator platform. After receiving the trustworthiness authentication pass response from the second message channel, the second message channel is invoked to send the message based on the message template and the authentication identifier contained in the trustworthiness authentication pass response.

2. The method according to claim 1, characterized in that, Before receiving the template approval response from the first message channel, the method further includes: Submit a template review request to multiple message channels, wherein the template review request contains a message template; the multiple message channels include a first message channel. The message template is initially reviewed through the first message channel, and after the initial review is passed, the message template is submitted to the first operator platform that is associated with the first message channel. The message template is reviewed by the first operator platform. After the review is passed, the message template is digitally signed to obtain the signature template. The signature template and the identity information of the first operator platform are returned to the first message channel. The template approval response is returned to the message sending platform through the first message channel; the template approval response contains the signature template and the identity information of the first operator platform.

3. The method according to claim 2, characterized in that, The first message channel is the earliest among the plurality of message channels to return the template approval response to the message sending platform.

4. The method according to claim 2, characterized in that, The step of digitally signing the message template to obtain the signature template includes: The first operator platform calculates the first summary information corresponding to the message template. Add review information to the message template to obtain a reviewed template; the review information includes the first summary information, the current timestamp, and the identity information of the first operator platform. The first operator platform uses its own private key to digitally sign the approved template to obtain the signature template.

5. The method according to claim 2, characterized in that, After receiving the template approval response from the first message channel, the method further includes: Withdraw the template review request submitted to any message channel other than the first message channel.

6. The method according to claim 4, characterized in that, The second message channel queries the public key of the first operator platform based on the identity information of the first operator platform, including: The second message channel sends a public key query request to the signature authentication center based on the identity information of the first operator platform; the signature authentication center is used to store the correspondence between the identity information of each operator platform and its public key; Based on the query response returned by the signature authentication center, the public key of the first operator platform is obtained.

7. The method according to claim 6, characterized in that, The process of authenticating the signature template based on the public key of the first operator platform includes: The signature template is decrypted using the public key of the first operator platform to obtain the decrypted template; Remove the audit information added to the decryption template to obtain the basic template; Calculate the second summary information corresponding to the basic template; The second summary information is compared with the first summary information. If the second summary information is consistent with the first summary information, the credibility authentication is determined to be successful.

8. The method according to claim 7, characterized in that, After verifying the trustworthiness of the signature template based on the public key of the first operator platform, the method further includes: The signature template is submitted to the second operator platform associated with the second message channel through the second message channel. The second operator platform queries the public key of the first operator platform based on the identity information of the first operator platform, and performs trustworthiness authentication on the signature template based on the public key of the first operator platform. After the trustworthiness authentication is passed, the second operator platform returns the trustworthiness authentication pass result to the second message channel, and returns the trustworthiness authentication pass response to the message sending platform through the second message channel.

9. A message sending device, characterized in that, The device, configured in a messaging platform, includes: The template confirmation request module is used to send a template confirmation request to the second message channel after receiving a template approval response from the first message channel. The second message channel may be the same as or different from the first message channel. The template confirmation request includes a signature template obtained after the first operator platform digitally signs the message template using its own private key after the message template has passed the initial review by the first message channel and the second review by the first operator platform associated with the first message channel. The template confirmation request also includes the identity information of the first operator platform. The trustworthiness authentication module is used to query the public key of the first operator platform based on the identity information of the first operator platform through the second message channel, and perform trustworthiness authentication on the signature template based on the public key of the first operator platform. The message sending module is used to, after receiving the trust authentication pass response returned by the second message channel, invoke the second message channel to send a message based on the message template and the authentication identifier contained in the trust authentication pass response.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the message sending method according to any one of claims 1 to 8.

11. An electronic device, characterized in that, include: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to execute the message sending method according to any one of claims 1 to 8 by executing the executable instructions.