Message sending method
By automatically parsing short code parameters and matching communication numbers in the messaging system to generate personalized message pages, the problem of adding operation steps for users to verify in third-party systems is solved, resulting in faster message notifications and a better user experience.
Patent Information
- Application Number
- CN202411444262.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2044-10-15
AI Technical Summary
After clicking on a personalized link, users need to be redirected to a third-party system for identity verification, which adds steps and results in a longer notification time for personalized messages.
The message sending system obtains the redirect link information sent by the terminal device, automatically parses the short code parameters and matches them with the user's communication number to generate a personalized message page, without requiring the user to authenticate on the login page.
This reduces the number of steps users need to take, shortens the notification time for personalized messages, and improves the user experience.
Smart Images

Figure CN119299415B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of message sending technology, and in particular relates to a message sending method. Background Technology
[0002] During the interaction between the terminal device and the system, the system will send messages to the terminal device for the user to view via social software, email, SMS and other means.
[0003] As users demand personalized messages, the system will send personalized links to users' devices, and users can click on the personalized links to display personalized messages.
[0004] However, clicking the personalized link requires users to be redirected to a third-party system's login page, where they must enter information for identity verification. This increases the number of steps required from the user, resulting in a longer notification time for personalized messages. Summary of the Invention
[0005] This application provides a message sending method to solve the problem of long notification times for personalized messages.
[0006] In a first aspect, embodiments of this application provide a message sending method, applied to a message sending system, the message sending method comprising:
[0007] Obtain the redirection link information of the personalized message sent by the terminal device, and obtain the short code parameter from the redirection link information;
[0008] The short code parameters are parsed to obtain the first communication number, and the second communication number of the user associated with the terminal device is obtained.
[0009] In response to the first communication number matching the second communication number, the personalized message template associated with the user is determined based on the redirection link information;
[0010] A personalized message page is generated based on the message to be sent and the personalized message template, and the personalized message page is sent to the terminal device.
[0011] In one embodiment, the step of parsing the short code parameters to obtain the first communication number includes:
[0012] Obtain the third communication number and session identifier input by the user, and convert the short code parameter into a preset format to obtain the first intermediate parameter;
[0013] Multiple offsets are obtained based on the third communication number;
[0014] Based on the session identifier, the offset, and multiple different preset random numbers, construct multiple different sets;
[0015] Based on each of the aforementioned offsets, the first intermediate parameter is sequentially reverse-offset to obtain multiple second intermediate parameters;
[0016] In response to the existence of a second intermediate parameter matching the set, the third communication number is determined to be the first communication number.
[0017] In another embodiment, the step of obtaining multiple offsets based on the third communication number includes:
[0018] A target value is obtained by performing a preset calculation on the third communication number, and a target number is obtained from the target value;
[0019] Based on the target number, the numbers in the third communication number are grouped to obtain multiple offsets;
[0020] The step of sequentially performing reverse offset processing on the first intermediate parameter according to each of the offsets includes:
[0021] Based on each of the preset random numbers, the third communication number is processed to obtain multiple processing parameters;
[0022] Based on the offset corresponding to each of the processing parameters, the first intermediate parameter is sequentially subjected to reverse offset processing to obtain multiple second intermediate parameters.
[0023] In another embodiment, the step of obtaining the second communication number of the user associated with the terminal device includes:
[0024] Obtain the link address of the personalized template of the terminal device and send the link address to the authentication system;
[0025] Receive signature information assigned by the authentication system based on the link address, and obtain gateway verification credential parameters from the authentication system based on the signature information;
[0026] Based on the gateway verification credential parameters, a request to obtain the user's communication number is sent to the authentication system. The gateway verification credential parameters are used by the authentication system to authenticate the message sending system.
[0027] Receive the second communication number sent by the authentication system based on the acquisition request.
[0028] In another embodiment, before the step of obtaining the redirection link information of the personalized message sent by the terminal device, the method further includes:
[0029] Receive the third communication number, personalized template, and link address of the personalized template input by the user sent by the terminal device;
[0030] Obtain the template identifier of the personalized template, configure a notification thread for the third communication number based on the template identifier, and send the third communication number and the link address to the authentication system;
[0031] The notification information is sent to the terminal device according to the notification thread;
[0032] The step of obtaining the third communication number and session identifier input by the user includes:
[0033] The session identifier and the third communication number entered by the user are obtained from the notification thread.
[0034] Secondly, embodiments of this application provide a message sending method applied to a terminal device, the message sending method comprising:
[0035] Receive personalized message notification information sent by the message gateway, and obtain the first communication number of the user associated with the terminal device;
[0036] The first communication number is configured to obtain short code parameters, and personalized message redirection link information is generated based on the short code parameters and the notification information.
[0037] Send the redirect link information to the message sending system;
[0038] Receive the personalized message page sent by the message sending system based on the redirect link information, and display the personalized message page.
[0039] In one embodiment, the step of setting the short code parameter for the first communication number includes:
[0040] The session identifier is obtained based on the notification information, and the target parameter is obtained by concatenating the session identifier, the preset random number and the first communication number.
[0041] Multiple offsets are obtained based on the first communication number;
[0042] Multiple processing parameters are obtained by performing preset processing on the first communication number based on each of the preset random numbers;
[0043] The short code parameter is obtained by offsetting the target parameter according to the offset corresponding to each of the processing parameters.
[0044] In another embodiment, the step of obtaining the session identifier based on the notification information includes:
[0045] In response to the opening operation of the notification information, a message is sent to the notification thread, which is a thread configured by the message sending system for the terminal device;
[0046] The receiving thread returns a session identifier based on the message.
[0047] In another embodiment, the step of obtaining multiple offsets based on the first communication number includes:
[0048] A reference value is obtained by performing a preset calculation on the first communication number;
[0049] Based on the numbers at preset positions in the reference values, the numbers in the first communication number are grouped to obtain multiple offsets.
[0050] In another embodiment, prior to the step of receiving the notification information of the personalized message sent by the message gateway, the method further includes:
[0051] Output configuration interface, which is used to configure personalized message templates;
[0052] Based on the configuration operations of the configuration interface, configure the personalized message template and obtain the third communication number input by the user;
[0053] Generate the link address of the personalized message template, and send the third communication number, the personalized template, and the link address to the message sending system.
[0054] Thirdly, embodiments of this application provide a message sending system, including:
[0055] The acquisition module is used to acquire the redirection link information of the personalized message sent by the terminal device, and to acquire the short code parameter from the redirection link information;
[0056] The parsing module is used to parse the short code parameters to obtain the first communication number and to obtain the second communication number of the user associated with the terminal device;
[0057] A determining module is configured to, in response to a match between the first communication number and the second communication number, determine the personalized message template associated with the user based on the redirection link information;
[0058] The generation module is used to generate a personalized message page based on the message to be sent and the personalized message template, and send the personalized message page to the terminal device.
[0059] Thirdly, embodiments of this application provide a terminal device, including:
[0060] The first receiving module is used to receive notification information of personalized messages sent by the message gateway and to obtain the first communication number of the user associated with the terminal device.
[0061] The processing module is used to set the first communication number, obtain short code parameters, and generate personalized message redirection link information based on the short code parameters and the notification information.
[0062] The sending module is used to send the redirection link information to the message sending system;
[0063] The second receiving module is used to receive the personalized message page sent by the message sending system based on the jump link information, and to display the personalized message page.
[0064] Fifthly, embodiments of this application provide a message sending device, the message sending device comprising: a processor and a memory storing computer program instructions;
[0065] When the processor executes the computer program instructions, it implements either a message sending method as described in one aspect or a message sending method as described in the second aspect.
[0066] Sixthly, embodiments of this application provide a computer storage medium storing computer program instructions, which, when executed by a processor, implement a message sending method as described in one aspect or a message sending method as described in the second aspect.
[0067] In a seventh aspect, embodiments of this application provide a computer program product in which instructions, when executed by a processor of an electronic device, cause the electronic device to perform a message sending method as described in one aspect or a message sending method as described in the second aspect.
[0068] The message sending method provided in this application embodiment obtains the redirection link information of a personalized message sent by a terminal device, retrieves short code parameters from the redirection link information, parses the short code parameters to obtain a first communication number, and obtains a second communication number of the user associated with the terminal device. If the first communication number matches the second communication number, a personalized message template associated with the user is determined based on the redirection link information. A personalized message page is generated using the message to be sent and the personalized message template, and then the personalized page is sent to the terminal device for display. In this application, the message sending system automatically authenticates the user based on the redirection link information sent by the terminal device, eliminating the need for the user to authenticate on the login page, reducing the user's operation steps, thereby reducing the notification time of personalized messages and improving the user experience. Attached Figure Description
[0069] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0070] Figure 1 This is a schematic diagram of the framework structure for implementing the message sending method provided in the embodiments of this application;
[0071] Figure 2 This is a flowchart illustrating the first embodiment of the message sending method of this application;
[0072] Figure 3 This is a flowchart illustrating the second embodiment of the message sending method of this application;
[0073] Figure 4 This is a flowchart illustrating the third embodiment of the message sending method of this application;
[0074] Figure 5 This is a flowchart illustrating the fourth embodiment of the message sending method of this application;
[0075] Figure 6 This is a flowchart illustrating the fifth embodiment of the message sending method of this application;
[0076] Figure 7 This is a flowchart illustrating the sixth embodiment of the message sending method of this application;
[0077] Figure 8 This is a schematic diagram of the functional modules of the message sending system involved in this application;
[0078] Figure 9 This is a schematic diagram of the functional modules of the terminal device involved in this application;
[0079] Figure 10 This is a schematic diagram of the structure of the message sending device provided in the embodiments of this application. Detailed Implementation
[0080] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.
[0081] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.
[0082] During the interaction between the terminal device and the system, the system will send messages to the terminal device for the user to view via social software, email, SMS and other means.
[0083] As users demand personalized messages, the system will send personalized links to users' devices, and users can click on the personalized links to display personalized messages.
[0084] The inventors of this application discovered that when a user clicks a personalized link, they are redirected to a third-party system's login page, where they must enter information for identity verification. This method increases the user's steps, resulting in a longer notification time for personalized messages.
[0085] The inventors of this application therefore conceived of a message sending system that automatically authenticates users based on the redirection link information sent by the terminal device, eliminating the need for users to authenticate on the login page, reducing user operation steps, thereby reducing the notification time of personalized messages and improving user experience.
[0086] This application provides a message sending method. The following first illustrates a framework for applying the message sending method provided in this application.
[0087] like Figure 1 As shown, the message sending system 100 receives redirection link information for a personalized message sent by the user's terminal device 200. The message sending system 100 obtains short code parameters from the redirection link information and uses the short code parameters to obtain a first communication number via an interface. The message sending system 100 has an automatic number retrieval function; it can obtain the user's second communication number from the authentication system 300. If the first communication number matches the second communication number, a personalized message page is generated based on the message to be sent and the personalized message template, and the message sending system 100 sends the personalized message page to the terminal device 200.
[0088] The following combination Figure 1 The message sending method provided in the embodiments of this application will be described.
[0089] Figure 2 A flowchart illustrating a first embodiment of the message sending method provided in this application is shown. This message sending method can be applied to message sending systems, such as… Figure 2 As shown, the message sending methods include:
[0090] Step S201: Obtain the redirection link information of the personalized message sent by the terminal device, and obtain the short code parameter from the redirection link information.
[0091] In this embodiment, the executing entity is the message sending system. For ease of description, the term "system" will be used to refer to the message sending system below. The system is a physical or virtual device of the personalized message notification platform. A physical device is, for example, a server, and a virtual device is, for example, a cloud server.
[0092] When a message gateway needs to send a message to a terminal device, it sends a personalized message notification. After the user clicks on the notification on the terminal device, the device generates a short code parameter based on the user's communication number. The short code parameter is a parameter obtained by setting calculations based on the communication number. The terminal device then concatenates the short code parameter with the link address in the notification message to obtain the personalized message's redirect link information, and then sends the redirect link information to the system.
[0093] After receiving the redirection link information sent by the terminal device, the system parses the redirection link information to obtain the short code parameter.
[0094] It should be noted that the message gateway can be a 5G message gateway, a 4G message gateway, or other types of message gateways, that is, the message is a 5G message, a 4G message, etc.
[0095] Step S202: Parse the short code parameters to obtain the first communication number, and obtain the second communication number of the user associated with the terminal device.
[0096] After obtaining the short code parameter, the system parses the short code parameter to obtain the communication number, which is defined as the first communication number.
[0097] For example, the terminal device obtains the first three and last four digits of the user's communication number, concatenates the first three and last four digits to obtain an intermediate value, and then swaps the last two digits of the intermediate value with the first two digits to obtain the short code parameter. After obtaining the short code parameter, the system swaps the first two digits with the last two digits to obtain a reference value. The first three digits of the reference value are the first three digits of the communication number, and the last four digits of the reference value are the last four digits of the communication number. Adding multiple set symbols and the last four digits to the first three digits of the reference value yields the first communication number.
[0098] After obtaining the first communication number, the system retrieves the second communication number of the user associated with the terminal device, as shown in the following example:
[0099] In one example, a user creates a personalized message template in the system via a terminal device. The system then sends the user's communication number to the authentication system for verification. After obtaining the first communication number, the system retrieves the communication number associated with the terminal device from the authentication system. This communication number is defined as the second communication number, which is the user's communication number uploaded by the system when the user created the personalized message template. For example, the system obtains the user's corresponding user identifier and sends a number retrieval request containing the user identifier to the authentication system. The authentication system then retrieves the communication number associated with the user identifier and sends that communication number back to the system.
[0100] In another example, after a user creates a personalized message template, the system configures a corresponding notification thread for the terminal device and adds the notification thread's session identifier and the user's communication number to the message gateway's whitelist. The message gateway then sends messages to the terminal device through the notification thread. Once the system obtains the first communication number, the notification thread retrieves the user's communication number via the message downlink interface and sends it to the message gateway for verification. The message gateway checks if the communication number is on the whitelist; if it is, it sends a message to the system, which then uses the communication number obtained by the notification thread as the second communication number.
[0101] After obtaining the second communication number, the system compares whether the first communication number matches the second communication number.
[0102] Step S203: In response to the matching of the first communication number and the second communication number, determine the personalized message template associated with the user based on the redirection link information.
[0103] If the first three digits of the first communication number are the same as the first three digits of the second communication number, and the last four digits of the first communication number are the same as the last four digits of the second communication number, then the first communication number and the second communication number are considered to match. The system determines that the short code parameter parsing is successful, and then obtains the personalized message template based on the redirect link information. For example, the redirect link information includes a link address, and the device obtains the personalized message template from the link address.
[0104] If the first three digits of the first communication number are different from the first three digits of the second communication number, and / or the last four digits of the first communication number are the same as the last four digits of the second communication number, it can be determined that the first communication number and the second communication number do not match, the short code parameter parsing fails, and the system cannot send personalized messages to the terminal device.
[0105] Step S204: Generate a personalized message page based on the message to be sent and the personalized message template, and send the personalized message page to the terminal device.
[0106] After obtaining the personalized message template, the system retrieves the message to be sent. This message can be obtained from the redirect link information. Specifically, when the message gateway sends a message to the terminal device, if the user clicks on the personalized message notification on the terminal device, the terminal device will encapsulate the message, redirect link, and short code parameters into redirect link information. The system parses the redirect link information to obtain the message to be sent. The system adds the message to the personalized message template to obtain the personalized message page, and then sends the personalized message page to the terminal device for display.
[0107] In this embodiment, the system obtains the redirection link information of the personalized message sent by the terminal device, extracts short code parameters from the redirection link information, parses the short code parameters to obtain a first communication number, and obtains the second communication number of the user associated with the terminal device. If the first communication number matches the second communication number, the system determines the personalized message template associated with the user based on the redirection link information, generates a personalized message page using the message to be sent and the personalized message template, and then sends the personalized page to the terminal device for display. In this embodiment, the message sending system automatically authenticates the user based on the redirection link information sent by the terminal device, eliminating the need for the user to authenticate on the login page, reducing the user's operation steps, thereby reducing the notification time of personalized messages and improving the user experience.
[0108] Reference Figure 3 , Figure 3 A flowchart of a second embodiment of the message sending method of this application is shown. Based on the first embodiment, step S202 includes:
[0109] Step S301: Obtain the third communication number and session identifier input by the user, and convert the short code parameter into a preset format to obtain the first intermediate parameter.
[0110] In this embodiment, when a user creates a personalized message template in the system via a terminal device, the terminal device sends the user-input communication number to the system. This communication number is defined as a third communication number, and the system associates and stores the third communication number with the terminal device's device identifier. After obtaining the short code parameter, the system retrieves the third communication number based on the terminal device's device identifier. In addition, the system also retrieves the session identifier. For example, when the gateway message performs whitelist verification, if the verification is successful, it will not only return the second communication number to the system but also return the session identifier of the notification thread. The session identifier refers to the identifier of the session between the notification thread and the terminal device; a session between the notification thread and the terminal device refers to the notification thread sending a message to the terminal device.
[0111] The system converts the short code parameter into a preset format to obtain an intermediate parameter, which is defined as the first intermediate parameter. For example, the system performs a binary conversion on the short code parameter to obtain the first intermediate parameter C1.
[0112] Step S302: Obtain multiple offsets based on the third communication number, and construct multiple different sets based on the session identifier, offsets, and multiple different preset random numbers.
[0113] The system processes the third communication number to obtain multiple offsets. In one example, a set number is added to the third communication number to obtain a twelve-digit value. Two adjacent digits within this twelve-digit number are grouped together to obtain six groups of values, each of which is the offset. In another example, a preset calculation is performed on the third communication number to obtain a target value. For example, the sum of the 11 digits of the third communication number is calculated to obtain the target value. The target number is then extracted from the target value, for example, by using the last digit of the target value as the target number. Based on the target number, the system groups the digits in the third communication number to obtain multiple offsets. For example, the six groups of values are obtained by grouping two adjacent digits within the twelve-digit number. The target number is added to each group to obtain six groups of three-digit offsets. Furthermore, the target number is added based on the sum of the digits in each group. For example, if the sum of the digits in a group is odd, the target number is added before that group; if the sum is even, the target number is added after that group.
[0114] After obtaining the offset, the system constructs multiple different sets based on the session identifier, the offset, and multiple different preset random numbers. For example, if there are three preset random numbers, namely 1, 2, and 3, then the sets are (session identifier, M, 1), (session identifier, M, 2), and (session identifier, M, 3), where M is the offset. That is, the sets include the session identifier, the offset, and the preset random numbers. There can be one or more offsets in the sets, and there can be one or more preset random numbers in the sets.
[0115] Step S303: Based on each offset, the first intermediate parameter is sequentially reverse-offset to obtain multiple second intermediate parameters.
[0116] After obtaining the offsets, the system performs inverse offset processing on the first intermediate parameters based on these offsets to obtain the second intermediate parameters. In one example, there are six offsets; by performing inverse offset processing on the first intermediate parameters based on each offset, six second intermediate parameters can be obtained. It should be noted that offset processing refers to increasing the offset in the parameter, while inverse offset processing refers to decreasing the offset in the parameter.
[0117] In another example, the system performs preset processing on the third communication number based on various preset random numbers to obtain multiple processing parameters. Based on the offset corresponding to each processing parameter, it sequentially performs reverse offset processing on the first intermediate parameter to obtain multiple second intermediate parameters. For example, the product of the first three digits and the last four digits of the third communication number is determined. This product is multiplied by three different preset random numbers, 1, 2, and 3, to obtain R1, R2, and R3. R1, R2, and R3 are then divided by a set value to obtain remainders. For example, the set value is 6. That is, R1 / 6 yields the first remainder, R2 / 6 yields the second remainder, and R3 / 6 yields the third remainder. The first, second, and third remainders are the processing parameters. Since the remainders and offsets have a mapping relationship, the offsets corresponding to the first, second, and third remainders can be obtained. After performing reverse offset processing on the first intermediate parameter by the offset corresponding to the three remainders, we obtain C21, C22 and C23. Then, we perform decimal conversion on C21, C22 and C23 respectively to obtain the three second intermediate parameters.
[0118] It should be noted that the terminal device constructs short code parameters based on the session identifier, the user's communication number, and a preset random number. Therefore, the second intermediate parameter obtained based on the short code parameter also includes the session hour, the communication number, and the preset random number. The system determines whether the second intermediate parameter matches a set, that is, whether the communication number, the preset random number, and the session identifier in the second intermediate parameter match the communication number, the preset random number, and the offset in a certain set. If the communication number in the second intermediate parameter can obtain the offset in set A, the preset random number in the second intermediate parameter is the same as the preset random number in set A, and the session identifier in the second intermediate parameter is the same as the session identifier in set A, then it can be determined that the second intermediate parameter matches set A.
[0119] Step S304: In response to the existence of a second intermediate parameter matching set, the third communication number is determined as the first communication number.
[0120] If the system determines that any second intermediate parameter matches any set, then the short code parameter is successfully parsed, and the system will then identify the third communication number as the first communication number.
[0121] It should be noted that the system's rules for parsing short code parameters match the rules for constructing short code parameters on the terminal device. The following explains how the terminal device constructs short code parameters.
[0122] The terminal device obtains the session identifier based on the notification information of the personalized message, and concatenates the session identifier, various preset random numbers, and the first communication number to obtain the target parameter. For example, the initial parameter can be obtained by adding the current year, month, and day timestamp, the article sequence number of the day, the session identifier, the first communication number, and the preset random number. The preset random number can be one or more of 1, 2, and 3. The target parameter can be obtained by performing a binary conversion on the preset random number in the initial parameter.
[0123] The terminal device obtains multiple offsets based on a first communication number. In one example, the terminal device adds a predetermined number to the first communication number to obtain a set of twelve-digit values. It then groups two adjacent digits from each of these twelve digits into six sets of values, each set representing an offset. In another example, the terminal device performs a preset calculation on the first communication number to obtain a parameter value. For example, it calculates the sum of the 11 digits of the first communication number. Based on a predetermined position in a reference value, the terminal device groups the digits of the first communication number to obtain multiple offsets. For example, it uses the last digit of the parameter value as the parameter value. The terminal device then groups the digits of the first communication number based on the reference value to obtain multiple offsets. For instance, it groups two adjacent digits from each of the twelve digits into six sets of values. Each set of values is then grouped with a reference value to obtain six sets of three-digit offsets. The reference value is added based on the sum of the digits in each set. For example, if the sum of the digits in a set is odd, the reference value is added before that set of values; if the sum is even, the reference value is added after that set of values.
[0124] After obtaining the offset, the terminal device can obtain the short code parameters by setting the first communication number based on the offset and a preset random number.
[0125] For example, the terminal device determines the product of the first three digits and the last four digits of the first communication number. This product is then multiplied by a preset random number in the initial parameters to obtain a result R. R is divided by a set value to obtain the target remainder, which is, for example, 6, i.e., R / 6. The remainder and the offset have a mapping relationship, thus the offset corresponding to the target remainder can be obtained. After offsetting the target parameters using the offset corresponding to the target remainder, the set parameters are obtained. Finally, the set parameters are converted to hexadecimal to obtain the short code parameters.
[0126] In this embodiment, the system successfully parses the short code parameter using the third communication number and session identifier input by the user, thereby accurately obtaining the communication number associated with the user.
[0127] Reference Figure 4 , Figure 4 This application provides a schematic flowchart of a third embodiment of the message sending method, based on... Figure 2 or Figure 3 In the embodiment shown, step S202 includes:
[0128] Step S401: Obtain the link address of the personalized template of the terminal device and send the link address to the authentication system.
[0129] In this embodiment, the system has an automatic number retrieval function, that is, the system obtains the second communication number associated with the user from the authentication system through the automatic number retrieval function.
[0130] For example, the system obtains the link address of the personalized template on the terminal device, which can be obtained from the redirect link information. The system sends the link address to the authentication system. For example, the personalized template can be a personalized template for an H5 page, and the system sends the link address of the H5 page to the authentication system, thus embedding the link address into two software development applications of the authentication system.
[0131] Step S402: Receive signature information assigned by the authentication system based on the link address, and obtain gateway verification credential parameters from the authentication system based on the signature information.
[0132] The system obtains signature information by accessing a software development application (SDA) of the authentication platform; that is, the system receives signature information assigned by the authentication system based on the link address. The system includes a front-end and a back-end; the front-end can access a software development kit (SDK) to obtain signature information.
[0133] After obtaining the signature information, the system retrieves the gateway verification credential parameters from the authentication system based on the signature information. For example, the system obtains the gateway verification credential parameters by accessing another software application based on the signature information. The system can access another software application by carrying the signature information through the front end.
[0134] Step S403: Based on the gateway verification credential parameters, send a request to the authentication system to obtain the user's communication number. The gateway verification credential parameters are used by the authentication system to authenticate the message sending system.
[0135] After obtaining the gateway verification credential parameters, the system sends a request to the authentication system to obtain the user's communication number. The gateway verification credential parameters are used by the authentication system to authenticate the system.
[0136] Step S404: Receive the second communication number sent by the authentication system based on the acquisition request.
[0137] For example, the frontend accesses the backend carrying gateway verification credential parameters. The backend requests the authentication system to verify the gateway verification credential parameters. If the authentication system verifies the gateway verification credential parameters, it returns the user's mobile phone number and also returns the user's user identifier to the backend. The user identifier is associated with the user's personalized template, allowing the system to obtain the user's personalized template through the user identifier. The backend then sends the mobile phone number to the frontend.
[0138] Furthermore, before the system obtains the redirection link information of the personalized message sent by the terminal device, the system receives the third communication number, personalized template, and link address of the personalized template input by the user sent by the terminal device. For example, the user configures the personalized template through the configuration page of the terminal device and enters a number on the page; this number is the third communication number. The terminal device sends the page to the system, and the system obtains the personalized template, the third communication number, and the link address generated by the personalized template from the page. The system obtains the template identifier of the personalized template and sets a notification thread for the third communication number based on the template identifier; that is, the system binds the template identifier to a specific notification thread and submits a message sending task. The message sending task is sent to the message gateway. The message gateway obtains the notification thread and template ID based on the message sending task, facilitating the subsequent feedback of the session identifier of the notification thread and the template ID from the message gateway to the system, so that the system can obtain the personalized message template based on the template ID. It should be noted that the system can obtain the session identifier and the third communication number input by the user based on the notification thread; that is, it can obtain the session identifier and the third communication number input by the user based on the notification thread, as described in the relevant description of the message gateway whitelist verification above.
[0139] In this embodiment, the message sending system connects to the authentication system and uses an H5 link address to enable the message sending system to automatically retrieve numbers. This allows the system to obtain the current visitor's communication number through the link address, facilitating matching and verification with the message recipient's number.
[0140] In this embodiment, the H5 link address of the personalized message configured by the message sending system is combined with the 5G message carrier (notification thread). The recipient's number carried in the 5G message notification thread is matched and verified with the visitor's number automatically generated by the authentication system of the H5 link address. This enables personalized notification display for each individual user without additional login or integration with third-party systems.
[0141] Reference Figure 5 , Figure 5 This illustration shows a flowchart of a fourth embodiment of the message sending method provided in this application, applied to a terminal device. The message sending method includes:
[0142] Step S501: Receive notification information of personalized messages sent by the message gateway, and obtain the first communication number of the user associated with the terminal device.
[0143] In this embodiment, the executing entity is a terminal device, such as a user's mobile phone, computer, tablet, etc.
[0144] When the message gateway needs to send a message to a terminal device, it sends a personalized message notification to the terminal device. Upon receiving the notification, the terminal device retrieves the communication number associated with the user, defined as the first communication number. This first communication number is, for example, the user's mobile phone number, and the mobile phone number is stored within the terminal device.
[0145] It should be noted that the message gateway can be a 5G message gateway, a 4G message gateway, or other types of message gateways, that is, the message is a 5G message, a 4G message, etc.
[0146] Step S502: Configure the first communication number to obtain short code parameters, and generate personalized message redirection link information based on the short code parameters and notification information.
[0147] The terminal device obtains the short code parameter by configuring the first communication number. For example, the terminal device obtains the first three and last four digits of the first communication number, concatenates the first three and last four digits to obtain a middle value, and then swaps the last two digits of the middle value with the first two digits to obtain the short code parameter. Based on the short code parameter and notification information, the terminal device generates a personalized message redirection link.
[0148] Step S503: Send the redirect link information to the message sending system.
[0149] Step S504: Receive the personalized message page sent by the message sending system based on the redirect link information, and display the personalized message page.
[0150] The terminal device sends the redirect link information to the message sending system. The message sending system parses the redirect link information to obtain short code parameters, and then parses the short code parameters to obtain the first communication number. The message sending system then obtains the second communication number associated with the user. When the first communication number matches the second communication number, the system determines the personalized message template associated with the user based on the redirect link information, generates a personalized message page based on the message to be sent and the personalized template, and then sends the personalized message page to the terminal device. The specific process of the message sending system from receiving the redirect link information to sending the personalized message page is described above and will not be repeated here.
[0151] In this embodiment, the message sending system automatically authenticates the user based on the redirect link information sent by the terminal device, eliminating the need for the user to authenticate on the login page. This reduces the user's operation steps, thereby reducing the notification time of personalized messages and improving the user experience.
[0152] Reference Figure 6 , Figure 6This paper illustrates a flowchart of a fifth embodiment of the message sending method provided in this application, based on... Figure 5 In the embodiment shown, step S502 includes:
[0153] Step S601: Obtain the session identifier based on the notification information, and concatenate the session identifier, the preset random number, and the first communication number to obtain the target parameter.
[0154] In this embodiment, the terminal can obtain the session identifier based on the notification information. For example, upon detecting an open operation of the notification information, a message is sent to the notification thread, which is a thread configured for the terminal device by the message sending system. The terminal device receives the session identifier fed back by the notification thread based on the message. For example, after the user clicks on the notification information on the terminal device, the terminal device sends a message to the notification thread. The notification thread obtains the user's communication number through the 5G message downlink interface and sends the communication number to the message gateway for verification. If the communication number is stored in the message gateway's whitelist, the message gateway feeds back the session identifier to the terminal device through the notification thread.
[0155] After obtaining the session identifier, the terminal device concatenates a preset random number, the session identifier, and the first communication number to obtain the target parameter. For example, the initial parameter can be obtained by combining the current date and time timestamp, the article sequence number of the day, the session identifier, the first communication number, and the preset random number. The preset random number can be one or more of 1, 2, and 3. The target parameter can be obtained by performing a binary conversion on the preset random number in the initial parameter.
[0156] Step S602: Obtain multiple offsets based on the first communication number.
[0157] The terminal device obtains multiple offsets based on a first communication number. In one example, the terminal device adds a predetermined number to the first communication number to obtain a set of twelve-digit values. It then groups two adjacent digits from each of these twelve digits into six sets of values, each set representing an offset. In another example, the terminal device performs a preset calculation on the first communication number to obtain a parameter value. For example, it calculates the sum of the 11 digits of the first communication number. Based on a predetermined position in a reference value, the terminal device groups the digits of the first communication number to obtain multiple offsets. For example, it uses the last digit of the parameter value as the parameter value. The terminal device then groups the digits of the first communication number based on the reference value to obtain multiple offsets. For instance, it groups two adjacent digits from each of the twelve digits into six sets of values. Each set of values is then grouped with a reference value to obtain six sets of three-digit offsets. The reference value is added based on the sum of the digits in each set. For example, if the sum of the digits in a set is odd, the reference value is added before that set of values; if the sum is even, the reference value is added after that set of values.
[0158] Step S603: Based on each preset random number, the first communication number is processed to obtain multiple processing parameters.
[0159] Step S604: Based on the offset corresponding to each processing parameter, perform offset processing on the target parameter to obtain the short code parameter.
[0160] After obtaining the offset, the terminal device can obtain the short code parameters by setting the first communication number based on the offset and a preset random number.
[0161] For example, the terminal device determines the product of the first three digits and the last four digits of the first communication number. This product is then multiplied by a preset random number in the initial parameters to obtain a result R. R is divided by a set value to obtain the target remainder, which is, for example, 6, i.e., R / 6. The remainder and the offset have a mapping relationship, thus the offset corresponding to the target remainder can be obtained. After offsetting the target parameters using the offset corresponding to the target remainder, the set parameters are obtained. Finally, the set parameters are converted to hexadecimal to obtain the short code parameters.
[0162] In this embodiment, the terminal device generates a secure, unique, and reversible short code parameter based on the session identifier and the first communication number, enabling the message sending system to securely verify the identity of the terminal device.
[0163] Reference Figure 7 , Figure 7 This paper illustrates a flowchart of a sixth embodiment of the message sending method provided in this application, based on... Figure 5 or Figure 6 In the embodiment shown, prior to step S501, the method further includes:
[0164] Step S701: Output the configuration interface, which is used to configure personalized message templates.
[0165] In this embodiment, the user registers and opens an account through the terminal device's message sending system. After the message sending system completes the user's registration, it outputs a configuration interface to the terminal device. The configuration interface is used to configure personalized message templates.
[0166] The configuration interface is associated with the H5 editor module of the message sending system. The H5 editor module can generate user-defined personalized message templates and corresponding H5 link addresses.
[0167] The H5 editor module consists of three parts: a component library, an editing area, and a configuration area. In the configuration interface, users can generate JSON schemas through visual drag-and-drop and form editing, using low-code or even no-code methods. These schemas are then saved to the database via a backend interface. When a user opens the corresponding page on their device, the backend interface retrieves the JSON schema data for that page, and the renderer consumes and parses the JSON schema to render the view.
[0168] Step S702: Based on the configuration operation of the configuration interface, configure the personalized message template and obtain the third communication number entered by the user.
[0169] The terminal device can configure personalized message templates based on the user's configuration operations in the editor of the configuration interface, and obtain the third communication number entered by the user.
[0170] Step S703: Generate the link address of the personalized message template, and send the third communication number, the personalized template, and the link address to the message sending system.
[0171] The terminal device generates a link address based on a personalized message template, and then sends the third communication number, the personalized template, and the link address to the message sending system so that the message sending system can establish an automatic number retrieval function with the authentication system based on the link address.
[0172] In this embodiment, users configure personalized message templates in the message sending system through terminal devices, thereby enabling the terminal devices to display personalized messages to users and improving user experience.
[0173] like Figure 8 As shown in the illustration, this application also provides a message sending system, the message sending system 800 including:
[0174] The acquisition module 810 is used to acquire the redirection link information of the personalized message sent by the terminal device, and to obtain the short code parameter from the redirection link information;
[0175] The parsing module 820 is used to parse the short code parameters to obtain the first communication number and to obtain the second communication number of the user associated with the terminal device;
[0176] The determination module 830 is used to determine the personalized message template associated with the user based on the jump link information in response to the matching of the first communication number and the second communication number.
[0177] The generation module 840 is used to generate a personalized message page based on the message to be sent and the personalized message template, and send the personalized message page to the terminal device.
[0178] In one embodiment, the message sending system 800 is specifically used for:
[0179] Obtain the third communication number and session identifier input by the user, and convert the short code parameter into a preset format to obtain the first intermediate parameter;
[0180] Multiple offsets are obtained based on the third communication number;
[0181] Multiple different sets are constructed based on the session identifier, offset, and multiple different preset random numbers;
[0182] Based on each offset, the first intermediate parameter is sequentially reverse-offset to obtain multiple second intermediate parameters;
[0183] In response to the existence of a second set of intermediate parameter matches, the third communication number is determined as the first communication number.
[0184] In another embodiment, the message sending system 800 is specifically used for:
[0185] The target value is obtained by performing a preset calculation on the third communication number, and the target number is obtained from the target value;
[0186] Based on the target number, the numbers in the third communication number are grouped to obtain multiple offsets;
[0187] The steps for performing reverse offset processing on the first intermediate parameter according to each offset include:
[0188] Based on each preset random number, the third communication number is processed to obtain multiple processing parameters;
[0189] Based on the offset corresponding to each processing parameter, the first intermediate parameter is sequentially reverse-offset to obtain multiple second intermediate parameters.
[0190] In another embodiment, the message sending system 800 is specifically used for:
[0191] Obtain the link address of the personalized template for the terminal device and send the link address to the authentication system;
[0192] Receive signature information assigned by the authentication system based on the link address, and obtain gateway verification credential parameters from the authentication system based on the signature information;
[0193] Based on the gateway verification credential parameters, a request to obtain the user's communication number is sent to the authentication system. The gateway verification credential parameters are used by the authentication system to authenticate the message sending system.
[0194] The authentication system receives the second communication number sent based on the acquisition request.
[0195] In another embodiment, the message sending system 800 is specifically used for:
[0196] The terminal device receives the user-inputted third-party communication number, personalized template, and the link address of the personalized template.
[0197] Obtain the template identifier of the personalized template, configure a notification thread for the third communication number based on the template identifier, and send the third communication number and the link address to the authentication system;
[0198] Notification information sent to the terminal device based on the notification thread;
[0199] The steps to obtain the third-party communication number and session identifier input by the user include:
[0200] The session identifier and the third communication number entered by the user are obtained from the notification thread.
[0201] It should be noted that the message sending system is the system corresponding to the message sending method described above. In embodiments where all implementation methods in the above method embodiments are applicable, the same technical effect can also be achieved.
[0202] like Figure 9 As shown in the illustration, this application also provides a terminal device 900, including:
[0203] The first receiving module 910 is used to receive notification information of personalized messages sent by the message gateway and to obtain the first communication number of the user associated with the terminal device.
[0204] The processing module 920 is used to set the first communication number, obtain the short code parameter, and generate the jump link information of the personalized message based on the short code parameter and the notification information.
[0205] The sending module 930 is used to send the redirection link information to the message sending system;
[0206] The second receiving module 940 is used to receive and display the personalized message page sent by the message sending system based on the jump link information.
[0207] In one embodiment, the terminal device 900 is used for:
[0208] The session identifier is obtained based on the notification information, and the target parameters are obtained by concatenating the session identifier, the preset random number, and the first communication number.
[0209] Multiple offsets are obtained based on the first communication number;
[0210] Multiple processing parameters are obtained by performing preset processing on the first communication number based on various preset random numbers;
[0211] Based on the offset corresponding to each processing parameter, the target parameter is offset to obtain the short code parameter.
[0212] In another embodiment, the terminal device 900 is used for:
[0213] In response to the open operation of the notification message, a message is sent to the notification thread, which is a thread configured by the message sending system for the terminal device;
[0214] The receiving thread uses the session identifier from the message feedback.
[0215] In another embodiment, the terminal device 900 is used for:
[0216] A reference value is obtained by performing a preset calculation on the first communication number;
[0217] Based on the numbers at preset positions in the reference values, the numbers in the first communication number are grouped to obtain multiple offsets.
[0218] In another embodiment, the terminal device 900 is used for:
[0219] Output configuration interface, which is used to configure personalized message templates;
[0220] Based on the configuration interface, configure personalized message templates and obtain the third-party communication number entered by the user;
[0221] Generate a link to a personalized message template and send the third communication number, the personalized template, and the link to the messaging system.
[0222] It should be noted that the terminal device is the device corresponding to the above message sending method. In embodiments where all implementation methods in the above method embodiments are applicable, the same technical effect can also be achieved.
[0223] Figure 10 A schematic diagram of the hardware structure of the message sending device provided in an embodiment of this application is shown.
[0224] The message sending device may include a processor 1001 and a memory 1002 storing computer program instructions.
[0225] Specifically, the processor 1001 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.
[0226] Memory 1002 may include mass storage for data or instructions. For example, and not limitingly, memory 1002 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 1002 may include removable or non-removable (or fixed) media. Where appropriate, memory 1002 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 1002 is non-volatile solid-state memory.
[0227] In a particular embodiment, memory 1002 may include read-only memory (ROM), random access memory (RAM), disk storage media device, optical storage media device, flash memory device, electrical, optical, or other physical / tangible memory storage device. Thus, generally, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of this disclosure.
[0228] The processor 1001 reads and executes computer program instructions stored in the memory 1002 to implement any of the message sending methods in the above embodiments.
[0229] In one example, the message sending device may further include a communication interface 1003 and a bus 1010. Wherein, for example... Figure 10 As shown, the processor 1001, memory 1002, and communication interface 1003 are connected through bus 1010 and complete communication with each other.
[0230] The communication interface 1003 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.
[0231] Bus 1010 includes hardware, software, or both, that couples components of an online data traffic metering device together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 1010 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, any suitable bus or interconnect is contemplated herein.
[0232] Furthermore, in conjunction with the message sending methods in the above embodiments, this application embodiment can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the message sending methods in the above embodiments.
[0233] This application also provides a computer program product, including a computer program, which, when executed, implements any of the message sending methods described in the above embodiments.
[0234] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.
[0235] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0236] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0237] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable terminal device messaging apparatus to create a machine such that these instructions, executable via the processor of the computer or other programmable terminal device messaging apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowchart illustrations, and combinations of blocks in the block diagrams and / or flowchart illustrations, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.
[0238] The above are merely specific embodiments of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.
Claims
1. A message sending method, characterized in that, The message sending method is applied to a message sending system and includes: Obtain the redirection link information of the personalized message sent by the terminal device, and obtain the short code parameter from the redirection link information; The short code parameters are parsed to obtain the first communication number, and the second communication number of the user associated with the terminal device is obtained. In response to the first communication number matching the second communication number, the personalized message template associated with the user is determined based on the redirection link information; A personalized message page is generated based on the message to be sent and the personalized message template, and the personalized message page is sent to the terminal device. The step of parsing the short code parameters to obtain the first communication number includes: Obtain the third communication number and session identifier input by the user, and convert the short code parameter into a preset format to obtain the first intermediate parameter; Multiple offsets are obtained based on the third communication number; Based on the session identifier, the offset, and multiple different preset random numbers, construct multiple different sets; Based on each of the aforementioned offsets, the first intermediate parameter is sequentially reverse-offset to obtain multiple second intermediate parameters; In response to the existence of a second intermediate parameter matching the set, the third communication number is determined to be the first communication number; The step of obtaining the second communication number of the user associated with the terminal device includes: Obtain the link address of the personalized template of the terminal device and send the link address to the authentication system; Receive signature information assigned by the authentication system based on the link address, and obtain gateway verification credential parameters from the authentication system based on the signature information; Based on the gateway verification credential parameters, a request to obtain the user's communication number is sent to the authentication system. The gateway verification credential parameters are used by the authentication system to authenticate the message sending system. Receive the second communication number sent by the authentication system based on the acquisition request.
2. The message sending method according to claim 1, characterized in that, The step of obtaining multiple offsets based on the third communication number includes: A target value is obtained by performing a preset calculation on the third communication number, and a target number is obtained from the target value; Based on the target number, the numbers in the third communication number are grouped to obtain multiple offsets; The step of sequentially performing reverse offset processing on the first intermediate parameter according to each of the offsets includes: Based on each of the preset random numbers, the third communication number is processed to obtain multiple processing parameters; Based on the offset corresponding to each of the processing parameters, the first intermediate parameter is sequentially subjected to reverse offset processing to obtain multiple second intermediate parameters.
3. The message sending method according to claim 1, characterized in that, Before the step of obtaining the redirect link information of the personalized message sent by the terminal device, the method further includes: Receive the third communication number, personalized template, and link address of the personalized template input by the user sent by the terminal device; Obtain the template identifier of the personalized template, configure a notification thread for the third communication number based on the template identifier, and send the third communication number and the link address to the authentication system; The notification information is sent to the terminal device according to the notification thread; The step of obtaining the third communication number and session identifier input by the user includes: The session identifier and the third communication number entered by the user are obtained from the notification thread.
4. A message sending method, characterized in that, Applied to terminal devices, the message sending method includes: Receive personalized message notification information sent by the message gateway, and obtain the first communication number of the user associated with the terminal device; The first communication number is configured to obtain short code parameters, and personalized message redirection link information is generated based on the short code parameters and the notification information. Send the redirect link information to the message sending system; Receive the personalized message page sent by the message sending system based on the redirect link information, and display the personalized message page; The step of setting the short code parameter for the first communication number includes: The session identifier is obtained based on the notification information, and the target parameter is obtained by concatenating the session identifier, the preset random number and the first communication number. Multiple offsets are obtained based on the first communication number; Multiple processing parameters are obtained by performing preset processing on the first communication number based on each of the preset random numbers; The short code parameter is obtained by offsetting the target parameter according to the offset corresponding to each of the processing parameters.
5. The message sending method according to claim 4, characterized in that, The step of obtaining the session identifier based on the notification information includes: In response to the opening operation of the notification information, a message is sent to the notification thread, which is a thread configured by the message sending system for the terminal device; The receiving thread returns a session identifier based on the message.
6. The message sending method according to claim 4, characterized in that, The step of obtaining multiple offsets based on the first communication number includes: A reference value is obtained by performing a preset calculation on the first communication number; Based on the numbers at preset positions in the reference values, the numbers in the first communication number are grouped to obtain multiple offsets.
7. The message sending method according to claim 4, characterized in that, Before the step of receiving the personalized message notification information sent by the message gateway, the method further includes: Output configuration interface, which is used to configure personalized message templates; Based on the configuration operations of the configuration interface, configure the personalized message template and obtain the third communication number input by the user; Generate the link address of the personalized message template, and send the third communication number, the personalized template, and the link address to the message sending system.
Citation Information
Patent Citations
Instant messaging method and server
CN106612265A
Service processing method, device and system
CN117793931A