Rich media short message sending method, system, device and program product
By determining the set of SMS templates on the first platform and selecting the SMS template suitable for the device model to send rich media text messages, the problem that some devices cannot display is solved, and more efficient sending of rich media text messages is achieved and the user experience is improved.
Patent Information
- Application Number
- CN202510412496.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-02
- Publication Date
- 2025-07-22
AI Technical Summary
Some mobile phones cannot display rich media text messages normally, resulting in poor user experience.
The target message sent by the device is received through the first platform, the SMS template set is determined, and the target SMS template is selected based on the device model information corresponding to the mobile phone number, and the rich media text message is sent.
Ensure that each receiving device can display rich media text messages normally, improving the effectiveness of sending and user experience.
Smart Images

Figure CN120358461A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, system, device and program product for sending rich media text messages. Background Art
[0002] With the continuous development of technology, the forms of SMS services are gradually enriched, such as rich media SMS. Rich media SMS includes reading SMS and video SMS. Among them, reading SMS is a rich media SMS that displays information in the form of pictures and texts, and video SMS is a rich media SMS that uses video as the main display form. Because rich media SMS can provide a rich communication experience, it has gradually become the first choice for enterprises to deliver information. However, some mobile phones may not be able to display rich media SMS properly when receiving it, resulting in a poor user experience. Summary of the invention
[0003] The present application provides a method, system, device and program product for sending rich media text messages, which are helpful for the normal display of rich media text messages. The technical solution is as follows:
[0004] In a first aspect, a method for sending a rich media SMS is provided, which is applied to a first platform, and the method includes:
[0005] Receiving a target message sent by a first device, the target message including a short message template type, first text data, and one or more mobile phone numbers;
[0006] Determine a text message template set corresponding to the text message template type, each of the multiple text message templates in the text message template set corresponding to one or more device models;
[0007] For any one of the one or more mobile phone numbers, determining a target SMS template from the SMS template set according to device model information corresponding to the mobile phone number, wherein the device model information corresponding to the mobile phone number is used to indicate a device model of a second device to which the mobile phone number belongs;
[0008] A rich media SMS is sent to the second device according to the first text data and the target SMS template.
[0009] In this application, a first device sends a target message to a first platform. The target message includes a SMS template type, first text data, and one or more mobile phone numbers. After receiving the target message, the first platform determines a set of SMS templates corresponding to the SMS template type. Each of the multiple SMS templates in the set of SMS templates corresponds to one or more device models. Then, the first platform determines a target SMS template from the set of SMS templates according to the device model information corresponding to each of the one or more mobile phone numbers, and sends a rich media SMS to a second device according to the first text data and the target SMS template. Since the target SMS template is determined according to the device model information corresponding to the mobile phone number, it can be ensured to a great extent that each second device receiving the rich media SMS can normally display the rich media SMS. In this way, the sending effectiveness of the rich media SMS can be improved, and the user experience can be enhanced.
[0010] Optionally, the SMS format of each SMS template is one of multiple SMS formats, and the multiple SMS formats have priorities. The determining the target SMS template from the set of SMS templates according to the device model information corresponding to the mobile phone number includes:
[0011] Obtaining multiple first SMS templates corresponding to the device model of the second device from the set of SMS templates, where the SMS formats of the multiple first SMS templates are different;
[0012] Determining the first SMS template with the highest priority of the SMS format among the multiple first SMS templates as the target SMS template.
[0013] Optionally, the sending the rich media SMS to the second device according to the first text data and the target SMS template includes:
[0014] Sending the rich media SMS to the second device, where the rich media SMS includes second text data and a link to the target SMS template, and the second text data includes the first text data;
[0015] Receiving a first message sent by the second platform, where the first message includes the link to the target SMS template, and the first message is sent by the second platform after receiving a template acquisition request sent by the second device, and the template acquisition request includes the link to the target SMS template;
[0016] Obtaining the target SMS template according to the link to the target SMS template;
[0017] Sending a second message to the second platform, where the second message includes the target SMS template, and the second message is used to instruct the second platform to send the target SMS template to the second device, and the target SMS template is used to redisplay the rich media SMS.
[0018] Optionally, before receiving the target message sent by the first device, it further includes:
[0019] Create one or more second SMS templates, where each second SMS template in the one or more second SMS templates has an SMS format and each second SMS template corresponds to one or more device models;
[0020] Send a template review request to the second platform, where the template review request includes the one or more second SMS templates, the SMS format of each second SMS template, and the corresponding device models;
[0021] Receive the template review passed message sent by the second platform, where the template review passed message includes one or more SMS templates, the SMS format of each SMS template, and the corresponding device models;
[0022] Add each SMS template in the template review passed message to the SMS template set.
[0023] In a second aspect, a rich media SMS sending system is provided, and the system includes a first device and a first platform;
[0024] The first device is used to send a target message to the first platform, and the target message includes an SMS template type, first text data, and one or more mobile phone numbers;
[0025] The first platform is used to receive the target message; determine the SMS template set corresponding to the SMS template type, where each SMS template in the multiple SMS templates in the SMS template set corresponds to one or more device models; for any one of the one or more mobile phone numbers, determine a target SMS template from the SMS template set according to the device model information corresponding to the mobile phone number, and the device model information corresponding to the mobile phone number is used to indicate the device model of the second device to which the mobile phone number belongs; send a rich media SMS to the second device according to the first text data and the target SMS template.
[0026] In a third aspect, a rich media SMS sending device is provided, and the device includes:
[0027] A first receiving module, configured to receive a target message sent by a first device, where the target message includes an SMS template type, first text data, and one or more mobile phone numbers;
[0028] A first determining module, configured to determine the SMS template set corresponding to the SMS template type, where each SMS template in the multiple SMS templates in the SMS template set corresponds to one or more device models;
[0029] A second determination module, configured to determine a target SMS template from the SMS template set according to the device model information corresponding to any one of the one or more mobile phone numbers, where the device model information corresponding to the mobile phone number is used to indicate the device model of the second device to which the mobile phone number belongs;
[0030] A first sending module, configured to send a rich media SMS to the second device according to the first text data and the target SMS template.
[0031] In a fourth aspect, a computer device is provided, where the computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the rich media SMS sending method described in the first aspect above is implemented.
[0032] In a fifth aspect, a computer-readable storage medium is provided, where the computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the rich media SMS sending method described in the first aspect above is implemented.
[0033] In a sixth aspect, a computer program product is provided. When the computer program product runs on a computer device, the computer device is caused to execute the rich media SMS sending method described in the first aspect above.
[0034] It can be understood that the beneficial effects of the above second aspect, third aspect, fourth aspect, and fifth aspect can refer to the relevant descriptions in the first aspect above, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0036] Figure 1 is a schematic structural diagram of a rich media SMS sending system provided by an embodiment of the present application;
[0037] Figure 2 is a flowchart of a rich media SMS sending method provided by an embodiment of the present application;
[0038] Figure 3 is a schematic structural diagram of a rich media SMS sending device provided by an embodiment of the present application;
[0039] Figure 4 is a schematic structural diagram of a computer device provided by an embodiment of the present application. Specific Embodiments
[0040] To make the objectives, technical solutions and advantages of this application clearer, the following will further describe in detail the embodiments of this application with reference to the accompanying drawings.
[0041] It should be understood that the "multiple" mentioned in this application refers to two or more. In the description of this application, unless otherwise specified, " / " means "or". For example, A / B can mean A or B. The "and / or" in this article is just a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in order to clearly describe the technical solution of this application, words such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words such as "first" and "second" do not limit the quantity and execution order, and the words such as "first" and "second" do not necessarily limit to be different.
[0042] The statements such as "an embodiment" or "some embodiments" described in this application mean that the specific features, structures or characteristics described in the embodiment are included in one or more embodiments of this application. Thus, the statements such as "in an embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments" and the like that appear in different parts of this application do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. In addition, the terms "comprise", "include", "have" and their variants all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0043] The application scenarios of the embodiments of this application will be described below.
[0044] In today's digital age, the ways of sending festival blessings are becoming increasingly rich, but there are many problems. Taking instant messaging applications as an example, a large number of blessing messages are difficult to leave a deep impression on users, and the group sending function is cumbersome to operate. Not only do you have to add people to the group one by one, but it is also easy to disturb others, lacking pertinence and personalization. Ordinary text messages can only carry text information, and the display form is relatively single, which cannot well meet people's needs for diversified expressions of festival blessings. Based on this, there is an urgent need for a blessing method with a relatively rich display form.
[0045] Rich media messages (such as video messages, reading messages, etc.) have gradually become the primary choice for information transmission because they can provide a rich communication experience. Before sending a rich media message, an enterprise needs to apply to the operator for a channel to send rich media messages. After passing the application, enterprise users can send rich media messages based on the allocated channel number. However, since applying for a rich media channel requires certain qualifications, only enterprise users can send rich media messages, while individual users cannot. Moreover, since a mobile phone needs to meet configurations such as the operating system version and support for the rich communication services (RCS) protocol to display rich media messages properly, and enterprises do not consider whether the user's mobile phone meets this configuration when sending rich media messages, some users who receive rich media messages cannot view them properly, resulting in a poor user experience.
[0046] Therefore, an embodiment of this application provides a method for sending rich media messages, which is applied to a rich media message sending system. The rich media message sending system may include a first device and a first platform. A user can select a message template type and edit the text through the first device, and then select the mobile phone number to be sent, instructing the first platform to send a rich media message to the selected mobile phone number. The first platform can determine the message template that can be normally displayed on the device of the corresponding device model based on the device model information corresponding to the mobile phone number, and then send the rich media message based on this message template. In this way, individual users can realize the batch sending of rich media messages through this rich media message sending system, which can better meet the user's needs. Moreover, since the first platform determines the message template based on the device model information corresponding to the mobile phone number, it can ensure that each device receiving the rich media message can normally display the rich media message. In this way, the sending effectiveness of rich media messages can be improved, and the user experience can be enhanced.
[0047] The rich media message sending system provided by the embodiment of this application will be described below.
[0048] Figure 1 This is a rich media message sending system provided by an embodiment of this application. Refer to Figure 1 As shown in the figure, the rich media message sending system 10 may include a first device 101, a first platform 102, a second platform 103, and a second device 104.
[0049] The first device 101 can communicate with the first platform 102 through a wired connection or a wireless connection.
[0050] The first platform 102 can communicate with the second platform 103 through a wired connection or a wireless connection.
[0051] The first platform 102 can communicate with the second device 104 through a wired connection or a wireless connection.
[0052] The second device 104 can communicate with the second platform 103 through a wired connection or a wireless connection. The number of the second devices 104 can be one or more. Exemplarily, when the number of the second devices 104 is multiple, each of the multiple second devices 104 can communicate with the second platform 103 through a wired connection or a wireless connection.
[0053] The first device 101 is used for editing a rich media short message. Exemplarily, the first device 101 may include a subscriber identification module (SIM) card. Exemplarily, the first device 101 may be a smart phone, a tablet computer, a laptop computer, a smart watch, etc., and the embodiments of the present application do not make any limitation thereto.
[0054] Optionally, after editing the rich media short message, the first device 101 may send a target message to the first platform 102, where the target message is used to instruct the first platform 102 to send the rich media short message to the second device 104.
[0055] The first platform 102 is used for receiving the target message sent by the first device 101 and sending the rich media short message to the second device 104 according to the target message. Exemplarily, the first platform 102 may be referred to as a rich media short message sending platform.
[0056] The second device 104 is used for receiving and displaying the rich media short message sent by the first platform 102. Exemplarily, the second device 104 may include a SIM card. Exemplarily, the second device 104 may be a smart phone, a tablet computer, a laptop computer, a smart watch, etc., and the embodiments of the present application do not make any limitation thereto.
[0057] Optionally, after receiving the rich media short message, the second device 104 may send a template acquisition request to the second platform 103, where the template acquisition request is used to request to acquire the short message template of the rich media short message.
[0058] The second platform 103 is used for receiving the template acquisition request sent by the second device 104 and sending a template acquisition message (i.e., the first message described below) to the first platform 102 according to the template acquisition request. Exemplarily, the second platform 103 may be the platform of the manufacturer that produces the second device 104. Exemplarily, the number of the second platforms 103 can be one or more.
[0059] After receiving the template acquisition message sent by the second platform 103, the first platform 102 may acquire the short message template of the rich media short message according to the template acquisition message, and send the short message template of the rich media short message to the second platform 103 after acquiring the short message template of the rich media short message.
[0060] After receiving the SMS template of the rich media SMS sent by the first platform 102, the second platform 103 may send the SMS template of the rich media SMS to the second device 104 to instruct the second device 104 to display the rich media SMS according to the SMS template.
[0061] It should be noted that in the embodiments of the present application, before sending an SMS, the enterprise of the first platform may first apply to the operator for a rich media SMS sending channel. If the application is approved, the first platform may send the rich media SMS through the rich media SMS sending channel. Since a dedicated channel is used to send the rich media SMS, the sending efficiency and stability of the rich media SMS can be guaranteed.
[0062] It should be noted that in the embodiments of the present application, the first platform may pre-create one or more SMS templates, and then the second platform may review the one or more SMS templates to ensure that the one or more SMS templates can be normally displayed on the models corresponding to the second platform. If the one or more SMS templates pass the review, the first platform may enable the one or more SMS templates for users to select and use on the first device. The SMS templates described in the embodiments of the present application all refer to the SMS templates of rich media SMS.
[0063] Exemplarily, the process of the first platform creating an SMS template may include the following steps (1) to (4).
[0064] Step (1): The first platform creates one or more second SMS templates, and each second SMS template in the one or more second SMS templates has an SMS format and each second SMS template corresponds to one or more device models.
[0065] Exemplarily, the one or more second SMS templates may be created by the first platform according to different festivals, recipients, usage scenarios, etc. In this case, subsequent users can select different SMS templates according to their own needs when sending SMS, so that the user needs can be better met.
[0066] Exemplarily, the second SMS template may include multimedia file data, text data, layout and association information, etc., which are not limited in the embodiments of the present application. The multimedia file data may include multimedia content such as pictures, videos, and audios. Optionally, the multimedia file data may further include a file format identifier, which is used to instruct the device how to parse the file. The text data may include text content. The layout and association information may include combination information of multimedia and text, control information, etc.
[0067] Exemplarily, the SMS format of the second SMS template may include letter reading, video letter, etc., which are not limited in the embodiments of the present application.
[0068] The second SMS template corresponding to one or more device models means that the second SMS template is created according to one or more device models associated with the second platform, and the device models associated with the second platform refer to the device models of the electronic devices produced by the manufacturer of the second platform. By way of example, for a device model, the first platform can create a second SMS template according to the product screen size, resolution, operating system characteristics, etc. of the device model, so that the second SMS template can be displayed in the device corresponding to the device model with the best display effect.
[0069] After creating the one or more second SMS templates, the first platform can send the one or more second SMS templates to the second platform to instruct the second platform to review the one or more second SMS templates.
[0070] In some embodiments, before creating one or more second SMS templates, the first platform can receive the template requirement information sent by the second platform, and then create the one or more second SMS templates according to the template requirement information. Since the second SMS templates are created according to the template requirement information sent by the second platform, the creation efficiency and review passing rate of the second SMS templates can be improved.
[0071] By way of example, the template requirement information may include device models, SMS formats, control parameters (such as control colors, etc.), RCS protocol standards, etc., and the embodiments of the present application do not limit this.
[0072] Step (2): The first platform sends a template review request to the second platform, and the template review request includes the one or more second SMS templates and the SMS format and corresponding device model of each second SMS template.
[0073] The template review request is used to instruct the second platform to review the one or more second SMS templates.
[0074] By way of example, after receiving the one or more second SMS templates, for any one of the one or more second SMS templates, the second platform can review the SMS format of the second SMS template and the multimedia file data, text data, layout and association information, etc. in the second SMS template according to the second SMS template and the corresponding device model. The embodiments of the present application do not limit this.
[0075] In some cases, when any one of the one or more second SMS templates reviewed by the second platform fails to pass, the second platform can modify the second SMS template to make the second SMS template meet the requirements.
[0076] In other cases, when the review of any one of the one or more second SMS templates fails on the second platform, the second platform can return the review opinion of the second SMS template to the first platform to instruct the first platform to make modifications accordingly.
[0077] Step (3): The first platform receives the template review passed message sent by the second platform. The template review passed message includes one or more SMS templates, the SMS format of each SMS template, and the corresponding device models.
[0078] The one or more SMS templates are the SMS templates that can be normally displayed on the corresponding device models. Optionally, any one of the one or more SMS templates can be the original second SMS template sent by the first platform, or can be the second SMS template modified by the second platform.
[0079] Optionally, the first platform can receive the template review failed message sent by the second platform. The template review failed message includes the review opinions of one or more second SMS templates. The first platform can modify the one or more second SMS templates accordingly, and after the modification, can initiate a review to the second platform again according to the above step (2) until the review passes.
[0080] Step (4): The first platform adds each SMS template in the template review passed message to the SMS template set.
[0081] The SMS template set includes one or more reviewed and passed SMS templates. There is a corresponding relationship between the SMS template set and the SMS template type. One SMS template type corresponds to one SMS template set, and different SMS template types correspond to different SMS template sets. All the SMS templates in one SMS template set are used to implement the functions of this SMS template type. Different SMS template types can implement different functions, and various SMS template types can be created according to different festivals, blessing objects, usage scenarios, styles (such as minimalist, cartoon, healing, etc.). For example, the SMS template type for Festival A can be different from the SMS template type for Festival B. Another example is that the SMS template type for sending festival blessings to object a on Festival C is different from the SMS template type for sending festival blessings to object b on Festival C. Another example is that the minimalist style SMS template type for Festival D is different from the cartoon style SMS template type for Festival D.
[0082] After the first platform adds each SMS template in the template review passed message to the SMS template set, the first platform can send the SMS templates in the SMS template set to the first device. In this way, when the user sends rich media SMS later, the user can select this SMS template to send rich media SMS.
[0083] The rich media SMS sending method provided by the embodiments of the present application will be explained in detail below.
[0084] Figure 2 It is a flowchart of a rich media SMS sending method provided by the embodiments of the present application. This rich media SMS sending method can be applied to the rich media SMS sending system 10 in the above Figure 1 embodiment, and specifically can be applied to the first device 101, the first platform 102, the second platform 103 or the second device 104 in the rich media SMS sending system 10.
[0085] Optionally, the first device can be a device of an enterprise of the first platform, that is, it can be a device used by a user of the enterprise. In this case, the enterprise user can realize the batch sending of rich media SMS through the rich media SMS sending method provided by the embodiments of the present application. Or, the first device can be a device used by an individual user who is not an enterprise user. In this case, the individual user can realize the batch sending of rich media SMS through the rich media SMS sending method provided by the embodiments of the present application.
[0086] See Figure 2 , this method includes the following steps:
[0087] Step 201: The first device sends a target message to the first platform, and the target message includes a SMS template type, first text data, and one or more mobile phone numbers.
[0088] The first text data can be text data configured by the user, that is, the text data that needs to be displayed in the rich media SMS.
[0089] The one or more mobile phone numbers are the numbers that receive the rich media SMS. Each mobile phone number in the one or more mobile phone numbers corresponds to a second device.
[0090] The target message is used to instruct the first platform to send the rich media SMS corresponding to the SMS template type to the second device corresponding to each mobile phone number in the one or more mobile phone numbers.
[0091] In some embodiments, the operation of step 201 may include the following steps A to F:
[0092] Step A: The first device displays a first interface, and the first interface includes one or more SMS template options.
[0093] The first interface is an interface for the user to select a text message template. By way of example, the first interface may be a mini-program interface, an application program interface, a web page, etc., and the embodiments of the present application do not limit this. For example, when step 201 is executed by the mini-program in the first device, the first interface may be a mini-program interface; when step 201 is executed by the application program in the first device, the first interface may be an application program interface; when step 201 is executed by the browser in the first device, the first interface may be a web page.
[0094] Each of the one or more text message template options is used to trigger entry into the interface for editing the text message template. The one or more text message template options correspond one-to-one with one or more text message template types. The user can determine the text message template type they need according to their own needs and the functions of various text message template types, and enter the corresponding interface for editing through the corresponding text message template option. Optionally, while displaying each text message template option in the first interface, the functions of the text message template types corresponding to each text message template option may also be displayed, such as the applicable festivals, recipients of blessings, usage scenarios, styles, etc.
[0095] In some embodiments, before the first device displays the first interface, a login interface may be displayed, and the user can log in to the account on this login interface. When the account login is successful, the first device can display the first interface. When the account login fails, the first device can prompt the user to log in again.
[0096] Step B: In response to the selection operation on the target template option, the first device displays a second interface, the second interface includes a first control and a text configuration item, and the target template option is one of the one or more text message template options.
[0097] By way of example, the selection operation on the target template option can be triggered by one of operations such as a click operation, a long-press operation, a swipe operation, a voice operation, a gesture operation, a somatosensory operation, etc., and the embodiments of the present application do not limit this.
[0098] The first control is used to trigger entry into the interface for selecting mobile phone numbers.
[0099] The text configuration item is used to configure the text content. By way of example, the text configuration item may include one or more of a text input box, text options, etc., and the embodiments of the present application do not limit this.
[0100] Step C: The first device receives the first text data configured based on the text configuration item on the second interface.
[0101] Exemplarily, when the text configuration item includes a text input box, the first text data may include the text data entered by the user in the text input box; when the text configuration item includes text options, the first text data may include the text data selected by the user in the text options.
[0102] Step D: In response to an operation on the first control, the first device displays a third interface, which includes a second control and one or more mobile phone numbers.
[0103] Exemplarily, the operation on the first control may be a click operation, a long-press operation, a swipe operation, a voice operation, a gesture operation, a somatosensory operation, etc., and the embodiments of the present application do not limit this.
[0104] The third interface is an interface for the user to select a mobile phone number. Exemplarily, the mobile phone numbers displayed in the third interface may be the mobile phone numbers obtained from the address book in the first device.
[0105] The second control is a control for triggering the sending of a target message to the first platform.
[0106] After the first device displays the third interface, the user can select the mobile phone numbers to which the rich media SMS is to be sent in the third interface.
[0107] Step E: The first device receives a selection operation on one or more mobile phone numbers in the third interface.
[0108] Exemplarily, the selection operation on the one or more mobile phone numbers may be triggered by one of operations such as a click operation, a long-press operation, a swipe operation, a voice operation, a gesture operation, a somatosensory operation, etc., and the embodiments of the present application do not limit this.
[0109] In this way, the user only needs to select the mobile phone numbers to be sent to quickly complete the batch sending of rich media SMS, and the operation is simple, which can improve the efficiency of sending rich media SMS.
[0110] Optionally, the third interface may further include a mobile phone number input box for entering a mobile phone number, and the user can enter a mobile phone number in the mobile phone number input box.
[0111] Step F: In response to an operation on the second control, the first device sends a target message to the first platform. The target message includes the SMS template type corresponding to the target template option, the first text data, and the one or more mobile phone numbers selected in the third interface.
[0112] Exemplarily, the operation on the second control may be a click operation, a long-press operation, a swipe operation, a voice operation, a gesture operation, a somatosensory operation, etc., and the embodiments of the present application do not limit this.
[0113] Optionally, if the user enters a mobile phone number in the mobile phone number input box on the third interface, the target message may further include the mobile phone number entered on the third interface.
[0114] Step 202: After the first platform receives the target message, it determines the SMS template set corresponding to the SMS template type. Each of the multiple SMS templates in the SMS template set corresponds to one or more device models.
[0115] After the first platform determines the SMS template set corresponding to the SMS template type, it can select an SMS template from the SMS template set to send a rich media SMS.
[0116] Step 203: For any one of the one or more mobile phone numbers, the first platform determines the target SMS template from the SMS template set according to the device model information corresponding to the mobile phone number. The device model information corresponding to the mobile phone number is used to indicate the device model of the second device to which the mobile phone number belongs.
[0117] Exemplarily, the device model of the second device may include the brand, series, specific model, etc. of the second device, which is not limited in the embodiments of the present application. Exemplarily, the first platform may obtain the device model information corresponding to each of the one or more mobile phone numbers from the operator. For example, the first platform may determine the operator corresponding to each of the one or more mobile phone numbers through a number addressing library, and then obtain the device model information corresponding to each mobile phone number from the corresponding operator.
[0118] Since the rich media SMS supported by the second devices of different device models may be different. For example, the second device A only supports the rich media SMS in the letter reading format, and the second device B only supports the rich media SMS in the video letter format. And the SMS template set includes the SMS templates supported by different device models. Therefore, the target SMS template determined according to the device model information corresponding to the mobile phone number can be normally displayed on the second device corresponding to the mobile phone number. In this way, the effectiveness of the determined target SMS template can be ensured.
[0119] In some embodiments, the SMS format of each SMS template in the SMS template set is one of multiple SMS formats, and the multiple SMS formats have priorities. Exemplarily, the multiple SMS formats may include the letter reading format, the video letter format, etc., which is not limited in the embodiments of the present application. The priorities of the multiple SMS formats can be set in advance. Exemplarily, the priority of the video letter format can be higher than that of the letter reading format.
[0120] In this case, the operation of step 203 can be as follows: The first platform obtains a text message template corresponding to the device model of the second device from the text message template set, and determines this text message template as the target text message template. Alternatively, the first platform obtains multiple first text message templates corresponding to the device model of the second device from the text message template set, and the text message formats of the multiple first text message templates are different; the first text message template with the highest priority of the text message format among the multiple first text message templates is determined as the target text message template.
[0121] The multiple first text message templates corresponding to the device model of the second device are text message templates of all text message formats that the second device can normally display.
[0122] In the embodiments of the present application, the first platform can pre-create rich and diverse text message templates to meet the diverse needs of users. At the same time, adaptability optimization can be performed in advance for different device models to obtain the best text message display effect and bring a better visual experience to users.
[0123] Step 204: The first platform sends a rich media text message to the second device according to the first text data and the target text message template.
[0124] Since the first text data is the text data that the user needs to send, and the target text message template is the text message template that can be normally displayed on the second device determined, the first platform can send a rich media text message to the second device according to the first text data and the target text message template.
[0125] The first platform can send a rich media text message to the second device through the rich media text message sending channel provided by the operator.
[0126] In some embodiments, the rich media text message sending channel can be applied for by the enterprise of the first platform to the operator. After the enterprise applies to the operator, it can realize the batch sending of rich media text messages for individual users through the applied channel. In this way, the barrier that rich media text messages can only be used for enterprise users can be broken, the restriction that individual users cannot send rich media text messages can be lifted, and a more personalized and rich communication method of rich media text messages can be provided for individual users.
[0127] In addition, in the embodiments of the present application, by applying for a rich media text message sending channel through an enterprise, efficient integration and centralized management of resources can be realized. And a unified and stable service entrance is provided for individual users, so that individual users can select various types of rich media text messages through this service entrance, and the first platform is used to realize the automatic distribution and precise push of rich media text messages to the second devices of various device types, breaking through the limitation of the single form of traditional text messages and making the text message content of individual users more vivid and meaningful.
[0128] In some embodiments, the operation of step 204 may include the following steps (1) to (4):
[0129] Step (1): The first platform sends a rich media short message to the second device, and the rich media short message includes second text data and a link to the target short message template.
[0130] The second text data is all the text data in the rich media short message. Exemplarily, the second text data may include the text data in the target short message template and the first text data.
[0131] The link to the target short message template is used to obtain the target short message template. The link to the target short message template may be a long link or a short link, and the embodiments of the present application do not limit this.
[0132] Exemplarily, the first platform may send a rich media short message including the second text data and the link to the target short message template to the second device through the rich media short message sending channel provided by the operator.
[0133] Since the data volume of the complete rich media short message is relatively large and the cost required to send the complete rich media short message through the rich media short message sending channel of the operator is relatively high, the first platform may first send a rich media short message including the second text data and the link to the target short message template to indicate that after receiving the rich media short message, the second device may obtain the target short message template according to the link to the target short message template, so as to completely display the rich media short message accordingly. In this way, the cost of the first platform sending the rich media short message can be reduced.
[0134] Step (2): After receiving the rich media short message, the second device displays the rich media short message and sends a template acquisition request to the second platform, and the template acquisition request includes the link to the target short message template.
[0135] The second device may display the second text data in the rich media short message, and optionally may also display the link to the target short message template. The second device may automatically send a template acquisition request to the second platform according to the link to the target short message template.
[0136] Exemplarily, the second device may send the template acquisition request to the second platform through the Internet.
[0137] Step (3): After receiving the template acquisition request, the second platform sends a first message to the first platform, and the first message includes the link to the target short message template.
[0138] The first message is used to request to obtain the target short message template.
[0139] Optionally, after receiving the template acquisition request, the second platform may check the link of the target SMS template for security, timeliness, etc., to ensure the legality of the link of the target SMS template. If the check passes, it may send a first message to the first platform, and if the check fails, it returns a prompt message to the second device.
[0140] Exemplarily, the second platform may send the first message to the first platform via the Internet.
[0141] Step (4): After receiving the first message sent by the second platform, the first platform acquires the target SMS template according to the link of the target SMS template.
[0142] Step (5): The first platform sends a second message to the second platform, and the second message includes the target SMS template.
[0143] Exemplarily, the first platform may send the second message to the second platform via the Internet.
[0144] Step (6): After receiving the second message, the second platform sends the target SMS template to the second device.
[0145] Optionally, after receiving the second message, the second platform may check the target SMS template for security, timeliness, etc., to ensure the legality of the target SMS template. If the check passes, it sends the target SMS template to the second device, and if the check fails, it sends prompt messages to the first platform and the second device respectively.
[0146] Exemplarily, the second platform may send the target SMS template to the second device via the Internet.
[0147] Step (7): After receiving the target SMS template, the second device redisplay the rich media SMS according to the second text data and the target SMS template.
[0148] Exemplarily, after receiving the target SMS template, the second device may redisplay the rich media SMS according to the multimedia file data, text data, layout and association information, etc. in the target SMS template and the second text data, and the displayed rich media SMS has the visual effect corresponding to the target SMS template.
[0149] In some embodiments, the rich media SMS may include a target control. If the user clicks on the target control, the corresponding program may be opened, and the program may be the program to which the above first interface belongs, such as a mini program, an application program, a web page in a browser, etc.
[0150] In an embodiment of the present application, a first device sends a target message to a first platform. The target message includes a short message template type, first text data, and one or more mobile phone numbers. After receiving the target message, the first platform determines a short message template set corresponding to the short message template type. Each of the multiple short message templates in the short message template set corresponds to one or more device models. Then, the first platform determines a target short message template from the short message template set according to the device model information corresponding to each of the one or more mobile phone numbers, and sends a rich media short message to a second device according to the first text data and the target short message template. Since the target short message template is determined according to the device model information corresponding to the mobile phone number, it can be ensured to a great extent that each second device receiving the rich media short message can normally display the rich media short message. In this way, the sending effectiveness of the rich media short message can be improved, and the user experience can be enhanced.
[0151] Figure 3 It is a schematic structural diagram of a rich media short message sending device provided by an embodiment of the present application. The device can be implemented by software, hardware, or a combination of both to become part or all of a computer device, and the computer device can be the computer device shown below Figure 4 as shown. Refer to Figure 3 , the device includes: a first receiving module 301, a first determining module 302, a second determining module 303, and a first sending module 304.
[0152] The first receiving module 301 is configured to receive a target message sent by a first device, where the target message includes a short message template type, first text data, and one or more mobile phone numbers;
[0153] The first determining module 302 is configured to determine a short message template set corresponding to the short message template type, where each of the multiple short message templates in the short message template set corresponds to one or more device models;
[0154] The second determining module 303 is configured to, for any one of the one or more mobile phone numbers, determine a target short message template from the short message template set according to the device model information corresponding to the mobile phone number, where the device model information corresponding to the mobile phone number is used to indicate the device model of the second device to which the mobile phone number belongs;
[0155] The first sending module 304 is configured to send a rich media short message to a second device according to the first text data and the target short message template.
[0156] Optionally, the short message format of each short message template is one of multiple short message formats, and the multiple short message formats have priorities. The second determining module 303 is configured to:
[0157] Obtain multiple first SMS templates corresponding to the device model of the second device from the SMS template set, where the SMS formats of the multiple first SMS templates are different;
[0158] Determine the first SMS template with the highest priority in the SMS format among the multiple first SMS templates as the target SMS template.
[0159] Optionally, the sending module 304 is used for:
[0160] Send the rich media SMS to the second device, where the rich media SMS includes second text data and a link to the target SMS template, and the second text data includes the first text data;
[0161] Receive a first message sent by the second platform, where the first message includes a link to the target SMS template, and the first message is sent by the second platform after receiving a template acquisition request sent by the second device, and the template acquisition request includes a link to the target SMS template;
[0162] Obtain the target SMS template according to the link to the target SMS template;
[0163] Send a second message to the second platform, where the second message includes the target SMS template, and the second message is used to instruct the second platform to send the target SMS template to the second device, and the target SMS template is used to redisplay the rich media SMS.
[0164] Optionally, the device further includes:
[0165] A creation module for creating one or more second SMS templates, where each second SMS template in the one or more second SMS templates has an SMS format and each second SMS template corresponds to one or more device models;
[0166] A third sending module for sending a template review request to the second platform, where the template review request includes the one or more second SMS templates and the SMS format and the corresponding device models of each second SMS template;
[0167] A second receiving module for receiving a template review passed message sent by the second platform, where the template review passed message includes one or more SMS templates and the SMS format and the corresponding device models of each SMS template;
[0168] An adding module for adding each SMS template in the template review passed message to the SMS template set.
[0169] In an embodiment of the present application, the device receives a target message sent by a first device. The target message includes a short message template type, first text data, and one or more mobile phone numbers. Then, a short message template set corresponding to the short message template type is determined. Each of the multiple short message templates in the short message template set corresponds to one or more device models. Then, a target short message template is determined from the short message template set according to the device model information corresponding to each of the one or more mobile phone numbers. A rich media short message is sent to a second device according to the first text data and the target short message template. Since the target short message template is determined according to the device model information corresponding to the mobile phone number, it can be ensured to a great extent that each second device receiving the rich media short message can normally display the rich media short message. In this way, the sending effectiveness of the rich media short message can be improved, and the user experience can be improved.
[0170] It should be noted that: when the rich media short message sending device provided in the above embodiment sends a rich media short message, only the division of the above functional modules is used for illustration. In practical applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0171] Each of the functional modules in the above embodiment can be integrated in a processing unit, or each functional module can exist physically as a separate processing unit, or two or more functional modules can be integrated in a processing unit. The above processing unit can be implemented in the form of hardware or in the form of software. In addition, the specific names of the functional modules are only for the convenience of mutual distinction and do not limit the protection scope of the embodiments of the present application.
[0172] The rich media short message sending device provided in the above embodiment and the embodiment of the rich media short message sending method belong to the same concept. For the specific working process and the technical effects brought by the functional modules in the above embodiment, reference can be made to the method embodiment part, which will not be elaborated here.
[0173] Figure 4 This is a schematic structural diagram of a computer device provided in an embodiment of the present application. As Figure 4 shown, the computer device 4 includes: a processor 40, a memory 41, and a computer program 42 stored in the memory 41 and executable on the processor 40. When the processor 40 executes the computer program 42, the steps executed by the first platform in the above embodiment are implemented.
[0174] The computer device 4 can be a general-purpose computer device or a dedicated computer device. In a specific implementation, the computer device 4 can be a desktop computer, a laptop computer, a network server, a handheld computer, a mobile phone, a tablet computer, a wireless terminal device, a communication device, or an embedded device. The embodiments of the present application do not limit the type of the computer device 4. Those skilled in the art can understand that Figure 4 merely examples of the computer device 4, which do not constitute a limitation to the computer device 4, may include more or fewer components than those shown in the figure, or combine certain components, or different components. For example, it may also include input / output devices, network access devices, etc.
[0175] The processor 40 can be a central processing unit (CPU), and the processor 40 can also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0176] In some embodiments, the memory 41 can be an internal storage unit of the computer device 4, such as the hard disk or memory of the computer device 4. In other embodiments, the memory 41 can also be an external storage device of the computer device 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device 4. Further, the memory 41 can also include both the internal storage unit and the external storage device of the computer device 4. The memory 41 is used to store an operating system, application programs, a boot loader, data, and other programs, etc. The memory 41 can also be used to temporarily store data that has been output or will be output.
[0177] The embodiments of the present application also provide a computer device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor. When the processor executes the computer program, the steps in any of the above method embodiments are implemented.
[0178] The embodiments of the present application also provide a computer-readable storage medium storing a computer program, which when executed by a processor can implement the steps in the above-mentioned method embodiments.
[0179] The embodiments of the present application provide a computer program product, which when running on a computer, causes the computer to execute the steps in the above-mentioned method embodiments.
[0180] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, to implement all or part of the processes in the above method embodiments of the present application, a computer program can be used to instruct the relevant hardware to complete. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, which can be in the form of source code, object code, executable file or some intermediate form, etc. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the photographing device / terminal device, recording medium, computer memory, ROM (read-only memory), RAM (random access memory), CD-ROM (compact disc read-only memory), magnetic tape, floppy disk, and optical data storage device, etc. The computer-readable storage medium mentioned in the present application can be a non-volatile storage medium, that is to say, it can be a non-transitory storage medium.
[0181] It should be understood that all or part of the steps to implement the above embodiments can be achieved by software, hardware, firmware or any combination thereof. When implemented using software, it can be fully or partially implemented in the form of a computer program product. The computer program product includes one or more computer instructions. The computer instructions can be stored in the above-mentioned computer-readable storage medium.
[0182] In the above embodiments, the descriptions of the respective embodiments have their own emphases. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0183] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled professionals can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of this application.
[0184] In the embodiments provided in this application, it should be understood that the disclosed apparatus / computer device and method can be implemented in other ways. For example, the apparatus / computer device embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the couplings or direct couplings or communication connections shown or discussed with each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical or other forms.
[0185] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they can be located in one place, or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0186] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Moreover, the collection, use, and processing of relevant data need to comply with the relevant regulations and standards of relevant countries and regions, and corresponding operation entrances are provided for users to choose to authorize or reject.
[0187] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them; although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included in the protection scope of this application.
Claims
1. A method for sending rich media short messages, characterized in that, Applied to a first platform, the method includes: Receiving a target message sent by a first device, the target message including a short message template type, first text data, and one or more mobile phone numbers; Determining a set of short message templates corresponding to the short message template type, each of the multiple short message templates in the set of short message templates corresponding to one or more device models; For any one of the one or more mobile phone numbers, determining a target short message template from the set of short message templates according to the device model information corresponding to the mobile phone number, the device model information corresponding to the mobile phone number being used to indicate the device model of a second device to which the mobile phone number belongs; Sending a rich media short message to the second device according to the first text data and the target short message template.
2. The method according to claim 1, wherein The short message format of each short message template is one of multiple short message formats, and the multiple short message formats have priorities. Determining the target short message template from the set of short message templates according to the device model information corresponding to the mobile phone number includes: Obtaining multiple first short message templates corresponding to the device model of the second device from the set of short message templates, the short message formats of the multiple first short message templates being different; Determining the first short message template with the highest priority of the short message format among the multiple first short message templates as the target short message template.
3. The method according to claim 1, wherein Sending the rich media short message to the second device according to the first text data and the target short message template includes: Sending the rich media short message to the second device, the rich media short message including second text data and a link to the target short message template, the second text data including the first text data; Receiving a first message sent by the second platform, the first message including the link to the target short message template, the first message being sent by the second platform after receiving a template acquisition request sent by the second device, the template acquisition request including the link to the target short message template; Obtaining the target short message template according to the link to the target short message template; Sending a second message to the second platform, the second message including the target short message template, the second message being used to instruct the second platform to send the target short message template to the second device, the target short message template being used to redisplay the rich media short message.
4. The method according to any one of claims 1 to 3, characterized in that Before receiving the target message sent by the first device, it further includes: Creating one or more second short message templates, each of the one or more second short message templates having a short message format and each of the second short message templates corresponding to one or more device models; Sending a template review request to the second platform, the template review request including the one or more second short message templates, the short message format of each second short message template, and the corresponding device models; Receiving a template review passed message sent by the second platform, the template review passed message including one or more short message templates, the short message format of each short message template, and the corresponding device models; Adding each short message template in the template review passed message to the set of short message templates.
5. A method for sending rich media short messages, characterized in that, The method includes: The first device sends a target message to the first platform, where the target message includes a text message template type, first text data, and one or more mobile phone numbers; The first platform receives the target message; determines a text message template set corresponding to the text message template type, where each of the multiple text message templates in the text message template set corresponds to one or more device models; for any one of the one or more mobile phone numbers, determines a target text message template from the text message template set according to the device model information corresponding to the mobile phone number, where the device model information corresponding to the mobile phone number is used to indicate the device model of the second device to which the mobile phone number belongs; and sends a rich media text message to the second device according to the first text data and the target text message template.
6. The method according to claim 5, wherein The first device sending the target message to the first platform includes: The first device displays a first interface, where the first interface includes one or more text message template options; In response to a selection operation on a target template option, the first device displays a second interface, where the second interface includes a first control and a text configuration item, and the target template option is one of the one or more text message template options; The first device receives first text data configured based on the text configuration item in the second interface; In response to an operation on the first control, the first device displays a third interface, where the third interface includes a second control and one or more mobile phone numbers; Receives a selection operation on one or more mobile phone numbers in the third interface; In response to an operation on the second control, the first device sends the target message to the first platform, where the target message includes the text message template type corresponding to the target template option, the first text data, and the one or more mobile phone numbers selected in the third interface.
7. The method according to claim 5 or 6, characterized in that The first platform sending the rich media text message to the second device according to the first text data and the target text message template includes: The first platform sends the rich media text message to the second device, where the rich media text message includes second text data and a link to the target text message template, and the second text data includes the first text data; After receiving the rich media text message, the second device displays the rich media text message and sends a template acquisition request to the second platform, where the template acquisition request includes the link to the target text message template; After receiving the template acquisition request, the second platform sends a first message to the first platform, where the first message includes the link to the target text message template; After receiving the first message, the first platform acquires the target text message template according to the link to the target text message template, and sends a second message to the second platform, where the second message includes the target text message template; After receiving the second message, the second platform sends the target text message template to the second device; After receiving the target text message template, the second device redisplaysthe rich media text message according to the second text data and the target text message template.
8. A rich media short message sending system, characterized in that, The system includes a first device and a first platform; The first device is configured to send a target message to the first platform, where the target message includes a SMS template type, first text data, and one or more mobile phone numbers; The first platform is configured to receive the target message; determine a SMS template set corresponding to the SMS template type, where each of the multiple SMS templates in the SMS template set corresponds to one or more device models; For any one of the one or more mobile phone numbers, determine a target SMS template from the SMS template set according to the device model information corresponding to the mobile phone number, where the device model information corresponding to the mobile phone number is used to indicate the device model of the second device to which the mobile phone number belongs; and send a rich media SMS to the second device according to the first text data and the target SMS template.
9. A computer device, characterized in that, The computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where when the computer program is executed by the processor, the method described in any one of claims 1 to 4 is implemented.
10. A computer program product, characterized in that, When the computer program product runs on the computer device, the computer device is caused to execute the method described in any one of claims 1 to 4.