Message sending method
By analyzing jump link information and automatically verifying the user's identity, the problem of long notification of personalized message is solved, and fast and simple personalized message sending is achieved, improving the user experience.
Patent Information
- Application Number
- CN202411444262.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2044-10-15
AI Technical Summary
After clicking on the personalized link, users need to jump to the login page of the third-party system for identity verification, which adds user's operation steps, resulting in a longer notification time for personalized messages.
By obtaining the jump link information of the personalized message sent by the terminal device, automatically parsing the short code parameters, matching the signal code associated with the user, and determining the personalized message template based on the jump link information, generating and sending a personalized message page to realize the user Authentication reduces the operation steps of users on the login page.
Reduce the notification time of personalized messages, improve user experience, and directly send personalized message pages to the terminal device through automatic authentication, simplifying user operation process.
Smart Images

Figure CN119299415A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of message sending, and in particular, relates to a message sending method. Background Art
[0002] During the interaction between the terminal device and the system, the system will send messages to the terminal device through social software, email, text messages, etc. for users to view.
[0003] As users demand personalized messages, the system will send a personalized link to the user's terminal device, and the user can display the personalized message by clicking the personalized link.
[0004] However, after the user clicks the personalized link, he needs to jump to the login page of the third-party system, so that the user can fill in the information on the login page for identity verification. This method increases the user's operation steps and causes the personalized message notification time to be longer. Summary of the invention
[0005] The embodiment of the present application provides a message sending method to solve the problem of long notification time of personalized messages.
[0006] In a first aspect, an embodiment of the present application provides a message sending method, which is applied to a message sending system. The message sending method includes:
[0007] Obtaining the jump link information of the personalized message sent by the terminal device, and obtaining the short code parameter from the jump link information;
[0008] Parsing the short code parameter to obtain a first communication number, and acquiring a second communication number of a user associated with the terminal device;
[0009] In response to the first communication number matching the second communication number, determining a personalized message template associated with the user according to the jump link information;
[0010] A personalized message page is generated according to 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 parameter to obtain the first communication number includes:
[0012] Acquire the third communication number and session identifier input by the user, and convert the short code parameter into a preset format to obtain a first intermediate parameter;
[0013] Acquire multiple offsets according to the third communication number;
[0014] Constructing a plurality of different sets according to the session identifier, the offset, and a plurality of different preset random numbers;
[0015] According to each of the offsets, sequentially perform inverse offset processing on the first intermediate parameters to obtain a plurality of second intermediate parameters;
[0016] In response to the 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 acquiring a plurality of offsets according to the third communication number comprises:
[0018] Performing a preset operation on the third communication number to obtain a target value, and obtaining a target digit from the target value;
[0019] Based on the target number, grouping the numbers in the third communication number to obtain a plurality of offsets;
[0020] The step of sequentially performing inverse offset processing on the first intermediate parameters according to the offsets comprises:
[0021] According to each of the preset random numbers, the third communication number is processed by preset processing to obtain a plurality of processing parameters;
[0022] According to the offset corresponding to each of the processing parameters, the first intermediate parameters are sequentially subjected to inverse offset processing to obtain a plurality of 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] Obtaining a link address of the personalized template of the terminal device, and sending the link address to the authentication system;
[0025] receiving signature information assigned by the authentication system based on the link address, and acquiring gateway verification credential parameters from the authentication system based on the signature information;
[0026] Based on the gateway verification credential parameter, sending a request to the authentication system to obtain the communication number of the user, the gateway verification credential parameter being used by the authentication system to authenticate the identity of the message sending system;
[0027] The second communication number sent by the authentication system based on the acquisition request is received.
[0028] In another embodiment, before the step of obtaining the jump link information of the personalized message sent by the terminal device, the step further includes:
[0029] Receiving the third communication number input by the user, the personalized template and the link address of the personalized template sent by the terminal device;
[0030] Acquire 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] Sending notification information of a personalized message 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 comprises:
[0033] A session identifier and a third communication number input by the user are obtained according to the notification thread.
[0034] In a second aspect, an embodiment of the present application provides a message sending method, which is applied to a terminal device, and the message sending method includes:
[0035] Receiving notification information of the personalized message sent by the message gateway, and obtaining the first communication number of the user associated with the terminal device;
[0036] Performing setting processing on the first communication number to obtain a short code parameter, and generating jump link information of a personalized message according to the short code parameter and the notification information;
[0037] Sending the jump link information to the message sending system;
[0038] A personalized message page is received from the message sending system based on the jump link information, and the personalized message page is displayed.
[0039] In one embodiment, the step of performing setting processing on the first communication number to obtain a short code parameter includes:
[0040] Acquire a session identifier based on the notification information, and concatenate the session identifier, a preset random number, and the first communication number to obtain a target parameter;
[0041] Acquire multiple offsets according to the first communication number;
[0042] Based on each of the preset random numbers, the first communication number is processed by preset processing to obtain multiple processing parameters;
[0043] According to the offset corresponding to each of the processing parameters, the target parameter is subjected to offset processing to obtain the short code parameter.
[0044] In another embodiment, the step of obtaining a session identifier based on the notification information includes:
[0045] In response to an opening operation of the notification information, a message is sent to a notification thread, where the notification thread is a thread configured by the message sending system for the terminal device;
[0046] A session identifier of the notification thread based on the message feedback is received.
[0047] In another embodiment, the step of acquiring a plurality of offsets according to the first communication number comprises:
[0048] Performing a preset operation on the first communication number to obtain a reference value;
[0049] According to the numbers at the preset positions in the reference value, the numbers in the first communication number are grouped to obtain a plurality of offsets.
[0050] In another embodiment, before the step of receiving notification information of the personalized message sent by the message gateway, the step further includes:
[0051] Output configuration interface, the configuration interface is used to configure personalized message templates;
[0052] Based on the configuration operation of the configuration interface, configure the personalized message template, and obtain the third communication number input by the user;
[0053] Generate a link address of the personalized message template, and send the third communication number, the personalized template and the link address to a message sending system.
[0054] In a third aspect, an embodiment of the present application provides a message sending system, including:
[0055] An acquisition module, used to acquire the jump link information of the personalized message sent by the terminal device, and acquire the short code parameter from the jump link information;
[0056] A parsing module, used to parse the short code parameter to obtain a first communication number, and obtain a second communication number of a user associated with the terminal device;
[0057] a determination module, configured to determine, in response to a match between the first communication number and the second communication number, a personalized message template associated with the user according to the jump link information;
[0058] A generating module is used to generate a personalized message page according to the message to be sent and the personalized message template, and send the personalized message page to the terminal device.
[0059] In a third aspect, an embodiment of the present application provides a terminal device, including:
[0060] A first receiving module, used to receive notification information of a personalized message sent by a message gateway, and obtain a first communication number of a user associated with the terminal device;
[0061] A processing module, configured to perform setting processing on the first communication number, obtain short code parameters, and generate jump link information of the personalized message according to the short code parameters and the notification information;
[0062] A sending module, used for sending the jump 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 display the personalized message page.
[0064] In a fifth aspect, an embodiment of the present application provides 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, the message sending method according to the first aspect or the message sending method according to the second aspect is implemented.
[0066] In a sixth aspect, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the message sending method of the first aspect or the message sending method of the second aspect is implemented.
[0067] In the seventh aspect, an embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the message sending method of the first aspect or the message sending method of the second aspect.
[0068] The message sending method provided in the embodiment of the present application obtains the jump link information of the personalized message sent by the terminal device, obtains the short code parameter from the jump link information, parses the short code parameter to obtain the 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 personalized message template associated with the user is determined based on the jump link information, and a personalized message page is generated through the message to be sent and the personalized message template, and then the personalized page is sent to the terminal device for display. In the present application, the message sending system automatically authenticates the user based on the jump link information sent by the terminal device, without the user having 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. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0070] Figure 1 It is a schematic diagram of the framework structure that can implement the message sending method provided in the embodiment of the present application;
[0071] Figure 2 It is a flowchart of the first embodiment of the message sending method of the present application;
[0072] Figure 3 It is a flowchart of the second embodiment of the message sending method of the present application;
[0073] Figure 4 It is a flowchart of the third embodiment of the message sending method of the present application;
[0074] Figure 5 It is a flowchart of the fourth embodiment of the message sending method of the present application;
[0075] Figure 6 It is a flowchart of the fifth embodiment of the message sending method of the present application;
[0076] Figure 7 It is a flowchart of the sixth embodiment of the message sending method of the present application;
[0077] Figure 8 It is a schematic diagram of the functional modules of the message sending system involved in this application;
[0078] Fig. 9 It is a functional module diagram of the terminal device involved in this application;
[0079] Fig.10 It is a structural diagram of a message sending device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0080] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0081] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0082] During the interaction between the terminal device and the system, the system will send messages to the terminal device through social software, email, text messages, etc. for users to view.
[0083] As users demand personalized messages, the system will send a personalized link to the user's terminal device, and the user can display the personalized message by clicking the personalized link.
[0084] The inventor of the present application has found that after the user clicks the personalized link, he needs to jump to the login page of the third-party system, so that the user fills in the information on the login page for identity verification. This method increases the user's operation steps and causes the notification time of the personalized message to be longer.
[0085] The inventor of the present application therefore conceived that the message sending system automatically authenticates the user based on the jump link information sent by the terminal device, without the need for the user to authenticate the user on the login page, thereby reducing the user's operation steps, thereby reducing the notification time of personalized messages and improving the user experience.
[0086] The embodiment of the present application provides a message sending method. The following first illustrates an example framework to which the message sending method provided by the embodiment of the present application can be applied.
[0087] like Figure 1 As shown, the message sending system 100 receives the jump link information of the personalized message sent by the user's terminal device 200. The message sending system 100 obtains the short code parameter from the jump link information, and interfaces the short code parameter to obtain the first communication number. The message sending system 100 has an automatic number acquisition function, and the message sending system 100 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 embodiment of the present application is introduced.
[0089] Figure 2 FIG. 1 is a flow chart showing a first embodiment of a message sending method provided by the present application. The message sending method can be applied to a message sending system, such as Figure 2 As shown, the message sending method includes:
[0090] Step S201: Obtain jump link information of a personalized message sent by a terminal device, and obtain a short code parameter from the jump link information.
[0091] In this embodiment, the execution subject is a message sending system. For ease of description, the message sending system may be referred to as a system below. The system is a physical device or a virtual device of a personalized message notification platform. The physical device is, for example, a server, and the virtual device is, for example, a cloud server.
[0092] When the message gateway needs to send a message to a terminal device, it sends a personalized message notification to the terminal device. After the user clicks the notification message on the terminal device, the terminal device generates a short code parameter based on the user's communication number. The short code parameter refers to the parameter obtained by setting and calculating the communication number. The terminal device will concatenate the short code parameter with the link address in the notification message to obtain the jump link information of the personalized message, and then send the jump link information to the system.
[0093] After receiving the jump link information sent by the terminal device, the system parses the jump 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 parameter to obtain a first communication number, and obtain a 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 a communication number, which is defined as the first communication number.
[0097] Exemplarily, the terminal device obtains the first three digits and the last four digits of the user's communication number, concatenates the first three digits and the 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 and the last two digits in the short code parameter to obtain a reference value, the first three digits of the reference value are the first three digits of the communication number, the last four digits of the reference value are the last four digits of the communication number, and the first three digits of the reference value plus multiple setting symbols and the last four digits can obtain the first communication number.
[0098] After obtaining the first communication number, the system obtains the second communication number of the user associated with the terminal device. The specific example is as follows:
[0099] In one example, a user creates a personalized message template in the system through a terminal device, and the system sends the user's communication number to the authentication system for verification. After obtaining the first communication number, the system obtains the communication number of the user associated with the terminal device from the authentication system. The communication number is defined as the second communication number. The second communication number is the communication number of the user uploaded by the system when the user creates a personalized message template. Exemplarily, the system obtains the user ID corresponding to the user, sends a number acquisition request containing the user ID to the authentication system, and the authentication system obtains the communication number associated with the user ID, and then sends the communication number to the system.
[0100] In another example, after the user creates a personalized message template in the system, the system will configure the corresponding notification thread for the terminal device, and the system will add the session identifier of the notification thread and the user's communication number to the whitelist of the message gateway. The message gateway will send a message to the terminal device through the notification thread. When the system obtains the first communication number, the notification thread obtains the user's communication number based on the message downlink interface, and sends the communication number to the message gateway for verification. The message gateway detects whether the communication number is on the whitelist. If the communication number is on the whitelist, a message is sent to the system, and the system uses the communication number obtained by the notification thread as the second communication number.
[0101] After obtaining the second communication number, the system compares the first communication number with the second communication number to see if they match.
[0102] Step S203, in response to the first communication number matching the second communication number, determining a personalized message template associated with the user according to the jump link information.
[0103] When 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, it can be determined that the first communication number matches the second communication number, the system determines that the short code parameter parsing is successful, and the system obtains the personalized message template based on the jump link information. Exemplarily, the jump link information includes a link address, and the device obtains the personalized message template from the link address.
[0104] When 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 a personalized message to the terminal device.
[0105] Step S204: Generate a personalized message page according to 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 obtains the message to be sent, which can be obtained from the jump link information. That is, when the message gateway sends a message to the terminal device, if the user clicks the personalized message notification message in the terminal device, the terminal device will encapsulate the message, jump link and short code parameters into the jump link information. The system parses the jump link information to obtain the message to be sent, and the system adds the message to be sent to the personalized message template to obtain a personalized message page. The system then sends the personalized message page to the terminal device so that the terminal device can display the personalized message page.
[0107] In this embodiment, the jump link information of the personalized message sent by the terminal device is obtained, the short code parameter is obtained from the jump link information, the short code parameter is parsed to obtain the first communication number, and the second communication number of the user associated with the terminal device is obtained. If the first communication number matches the second communication number, the personalized message template associated with the user is determined based on the jump link information, and a personalized message page is generated by 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 embodiment, the message sending system automatically authenticates the user based on the jump link information sent by the terminal device, without the user having 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 The flowchart of the second embodiment of the message sending method of the present application is shown. Based on the first embodiment, step S202 includes:
[0109] Step S301: Acquire a third communication number and a session identifier input by a user, and convert a short code parameter into a preset format to obtain a first intermediate parameter.
[0110] In this embodiment, when a user creates a personalized message template in the system through a terminal device, the terminal device will send the communication number entered by the user to the system. The communication number is defined as a third communication number, and the system associates and stores the third communication number with the device identifier of the terminal device. After obtaining the short code parameters, the system obtains the third communication number based on the device identifier of the terminal device. In addition, the system also obtains the session identifier. Exemplarily, when the gateway message is whitelisted, if the verification is successful, it will not only feedback 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. The notification thread having a conversation with 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 a first intermediate parameter. Exemplarily, the system performs a binary conversion on the short code parameter to obtain the first intermediate parameter C1.
[0112] Step S302: Acquire multiple offsets according to the third communication number, and construct multiple different sets according to the session identifier, the 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 set of twelve-digit values, and two adjacent numbers in the twelve-digit number are grouped to obtain six groups of values, and each group of values is an offset. In another example, a preset operation is performed on the third communication number to obtain a target value, for example, the sum of the 11 numbers of the third communication number is calculated to obtain the target value, and the target number is obtained in the target value, for example, the last digit in the target value is used as the target number. The system groups the numbers in the third communication number based on the target number to obtain multiple offsets. For example, the above-mentioned two adjacent numbers in the twelve-digit number are grouped to obtain six groups of values, and each group of values is added with a target number to obtain six groups of three-digit offsets, and the target number is added based on the sum of the numbers in each group of data. For example, if the sum of each number in a group of values is an odd number, the target number is added before the group of values, and if the sum of each number in a group of values is an even number, the target number is added after the group of values.
[0114] After obtaining the offset, the system constructs multiple different sets based on the session identifier, the offset, and multiple different preset random numbers. Exemplarily, there are three preset random numbers, 1, 2, and 3, respectively, and the sets are (session identifier, M, 1), (session identifier, M, 2), and (session identifier, M, 3), where M is the offset, that is, the set includes the session identifier, the offset, and the preset random number, the offset in the set can be one or more, and the preset random number in the set can be one or more.
[0115] Step S303: performing inverse offset processing on the first intermediate parameters in sequence according to the offsets to obtain a plurality of second intermediate parameters.
[0116] After the system obtains the offset, it performs inverse offset processing on the first intermediate parameter based on the offset to obtain the second intermediate parameter. In one example, there are 6 offsets, and the first intermediate parameter is inversely offset based on each offset to obtain 6 second intermediate parameters. It should be noted that offset processing refers to adding an offset to a parameter, and inverse offset processing refers to reducing an offset from a parameter.
[0117] In another example, the system performs preset processing on the third communication number based on each preset random number to obtain multiple processing parameters, and based on the offset corresponding to each processing parameter, performs reverse offset processing on the first intermediate parameter in turn to obtain multiple second intermediate parameters. Exemplarily, the product of the first three digits and the last four digits of the third communication number is determined, and the product is multiplied by three different preset random numbers of 1, 2, and 3 respectively to obtain R1, R2, and R3, and R1, R2, and R3 are divided by the set value to obtain the remainder, and the set value is, for example, 6, that is, R1 / 6 obtains the first remainder, R2 / 6 obtains the second remainder, and R3 / 6 obtains the third remainder. The first remainder, the second remainder, and the third remainder are the processing parameters; the remainder and the offset have a mapping relationship, so the offset corresponding to the first remainder, the offset corresponding to the second remainder, and the offset corresponding to the third remainder can be obtained. After performing inverse offset processing on the first intermediate parameter by the offsets corresponding to the three remainders, C21, C22 and C23 are obtained, and then C21, C22 and C23 are respectively converted into decimals to obtain three second intermediate parameters.
[0118] It should be noted that the terminal device constructs a short code parameter 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 the set, that is, determines 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. When 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, it can be determined that the second intermediate parameter matches set A.
[0119] Step S304: In response to the existence of the second intermediate parameter matching set, the third communication number is determined as the first communication number.
[0120] When the system determines that any second intermediate parameter matches any set, the short code parameter is parsed successfully, and the system determines the third communication number as the first communication number.
[0121] It should be noted that the system's parsing rules for short code parameters match the construction rules for short code parameters by the terminal device. The following describes the construction of short code parameters by the terminal device.
[0122] The terminal device obtains the session identifier based on the notification information of the personalized message, and concatenates the session identifier, each preset random number and the first communication number to obtain the target parameter. For example, the current year-month-day timestamp + the article serial number of the day + the session identifier + the first communication number + the preset random number can obtain the initial parameter, and the preset random number is one or more of 1, 2, and 3. The preset random number in the initial parameter is converted into binary to obtain the target parameter.
[0123] The terminal device obtains multiple offsets based on the first communication number. In one example, the terminal device adds a set number to the first communication number to obtain a set of twelve-digit values, and groups two adjacent numbers in the twelve-digit number into a group to obtain six groups of values, each of which is an offset. In another example, the terminal device performs a preset operation on the first communication number to obtain a parameter value, for example, the sum of the 11 digits of the first communication number is calculated to obtain the parameter value, and the numbers in the first communication number are grouped based on the values of the preset positions in the reference value to obtain multiple offsets, for example, the last digit in the parameter value is used as the parameter number, and the terminal device groups the numbers in the first communication number based on the reference number to obtain multiple offsets, exemplarily, the above-mentioned grouping of two adjacent numbers in the twelve-digit number into a group to obtain six groups of values, and each group of values adds a reference number to obtain six groups of three-digit offsets, and adds a reference number based on the sum of the numbers in each group of data, for example, if the sum of the numbers in a group of values is an odd number, then the reference number is added before the group of values, and if the sum of the numbers in a group of values is an even number, then the reference number is added after the group of values.
[0124] After obtaining the offset, the terminal device sets the first communication number based on the offset and a preset random number to obtain the short code parameter.
[0125] For example, the terminal device determines the product of the first three digits and the last four digits of the first communication number, and multiplies the product by the preset random number in the initial parameter to obtain the result R, and divides R by the set value to obtain the target remainder, the set value is, for example, 6, that is, R / 6 to obtain the target remainder; the remainder and the offset have a mapping relationship, so the offset corresponding to the target remainder can be obtained. After the target parameter is offset by the offset corresponding to the target remainder, the setting parameter is obtained, and then the setting parameter is converted into hexadecimal to obtain the short code parameter.
[0126] In this embodiment, the system successfully parses the short code parameter through the third communication number and the session identifier input by the user, thereby accurately obtaining the communication number associated with the user.
[0127] Reference Figure 4 , Figure 4 A schematic diagram showing a flow chart of a third embodiment of a message sending method provided by the present application is shown. Figure 2 or Figure 3 In the illustrated embodiment, step S202 includes:
[0128] Step S401, obtaining a link address of a personalized template of a terminal device, and sending the link address to an authentication system.
[0129] In this embodiment, the system has an automatic number acquisition function, that is, the system obtains the second communication number associated with the user from the authentication system through the automatic number acquisition function.
[0130] Exemplarily, the system obtains the link address of the personalized template of the terminal device, and the link address can be obtained from the jump link information. The system sends the link address to the authentication system. Exemplarily, the personalized template can be a personalized template of an H5 page, and the system sends the link address of the H5 system to the authentication system, so that the link address is embedded in two software development applications of the authentication system.
[0131] Step S402, receiving the signature information assigned by the authentication system based on the link address, and obtaining the 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 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, and the signature information can be obtained by accessing a software development kit through the front end.
[0133] After obtaining the signature information, the system obtains the gateway verification credential parameters from the authentication system based on the signature information. Exemplarily, the system accesses another software development application based on the signature information to obtain the gateway verification credential parameters. The system can access another software development application by carrying the signature information through the front end.
[0134] Step S403: Based on the gateway verification credential parameters, a request for obtaining 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 identity of 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: receiving the second communication number sent by the authentication system based on the acquisition request.
[0137] Exemplarily, the front end carries the gateway verification credential parameters to access the back end, and the back end gateway verification credential parameters request the authentication system to verify the gateway verification credential parameters. If the authentication system authenticates the gateway verification credential parameters, the authentication system returns the user's mobile phone number and returns the user's user ID to the back end. The user ID is associated with the user's personalized template, so that the system can obtain the user's personalized template through the user ID. The back end sends the mobile phone number to the front end.
[0138] Further, before the system obtains the jump 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. Exemplarily, the user configures the personalized template through the configuration page of the terminal device, and enters the number in the page, which 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 the 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 to submit the message sending task. The message sending task is sent to the message gateway, and the message gateway obtains the notification thread and the template ID based on the message sending task, so that the subsequent message gateway feeds back the session identifier of the notification thread and the message gateway feeds back the template ID 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 obtains the session identifier and the third communication number input by the user, which can be obtained based on the notification thread, that is, the session identifier and the third communication number input by the user are obtained based on the notification thread, and the relevant description of the above-mentioned message gateway whitelist verification is specifically referred to.
[0139] In this embodiment, the message sending system is connected to the authentication system so that the message sending system has an automatic number acquisition function through the H5 link address, so that the communication number of the current visitor can be obtained through the link address, which is convenient for matching and verification with the recipient number of the message.
[0140] In this embodiment, the H5 link address of the personalized message configured by the message sending system is combined with the 5g message bearer (notification thread), and the recipient number carried in the 5g message notification thread is matched and verified with the visitor number automatically picked up by the authentication system of the H5 link address, so that personalized notification display for thousands of people can be completed without additional login and docking with a third-party system.
[0141] Reference Figure 5 , Figure 5 A flow chart of a fourth embodiment of a message sending method provided by the present application is shown, which is applied to a terminal device. The message sending method includes:
[0142] Step S501: receiving notification information of a personalized message sent by a message gateway, and obtaining a first communication number of a user associated with a terminal device.
[0143] In this embodiment, the execution subject 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 the terminal device, the message gateway sends a personalized message notification message to the terminal device. After receiving the notification message, the terminal device obtains the communication number of the user associated with the terminal device, and the communication number is defined as the first communication number. The first communication number is, for example, the user's mobile phone number, and the mobile phone number is stored in 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: Perform setting processing on the first communication number to obtain short code parameters, and generate jump link information of the personalized message according to the short code parameters and notification information.
[0147] The terminal device sets and processes the first communication number to obtain the short code parameter. For example, the terminal device obtains the first three digits and the last four digits of the first communication number, concatenates the first three digits and the 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. The terminal device generates the jump link information of the personalized message based on the short code parameter and the notification information.
[0148] Step S503: Send the jump link information to the message sending system.
[0149] Step S504: receiving a personalized message page sent by the message sending system based on the jump link information, and displaying the personalized message page.
[0150] The terminal device sends the jump link information to the message sending system. The message sending system parses the jump link information to obtain the short code parameter, and parses the short code parameter 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 personalized message template associated with the user is determined based on the jump link information, and a personalized message page is generated based on the message to be sent and the personalized template, and then the personalized message page is sent to the terminal device. The specific process of the message sending system from receiving the jump link information to sending the personalized message page refers to the above description and will not be repeated here.
[0151] In this embodiment, the message sending system automatically authenticates the user based on the jump link information sent by the terminal device, without the need for the user to authenticate on the login page, thereby reducing the user's operation steps, thereby reducing the notification time of personalized messages and improving the user experience.
[0152] Reference Figure 6 , Figure 6A schematic diagram showing a flow chart of a fifth embodiment of a message sending method provided by the present application is shown. Figure 5 In the illustrated embodiment, step S502 includes:
[0153] Step S601, obtaining a session identifier based on the notification information, and concatenating the session identifier, a preset random number and a first communication number to obtain a target parameter.
[0154] In this embodiment, the terminal can obtain a session identifier based on the notification information. Exemplarily, an opening operation of the notification information is detected, and a message is sent to the notification thread, which is a thread configured by the message sending system for the terminal device. The terminal device receives the session identifier fed back by the notification thread based on the message. Exemplarily, after the user clicks on the notification information on the terminal device, the terminal device sends a message to the notification thread, and 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 whitelist of the message gateway, the message gateway feeds back the session identifier to the terminal device through the notification thread.
[0155] After the terminal device obtains the session identifier, the preset random number, the session identifier and the first communication number are concatenated to obtain the target parameter. For example, the current year-month-day timestamp + the article serial number of the day + the session identifier + the first communication number + the preset random number can obtain the initial parameter, and the preset random number is one or more of 1, 2, and 3. The preset random number in the initial parameter is converted into binary to obtain the target parameter.
[0156] Step S602: Acquire multiple offsets according to the first communication number.
[0157] The terminal device obtains multiple offsets based on the first communication number. In one example, the terminal device adds a set number to the first communication number to obtain a set of twelve-digit values, and groups two adjacent numbers in the twelve-digit number into a group to obtain six groups of values, each of which is an offset. In another example, the terminal device performs a preset operation on the first communication number to obtain a parameter value, for example, the sum of the 11 digits of the first communication number is calculated to obtain the parameter value, and the numbers in the first communication number are grouped based on the values of the preset positions in the reference value to obtain multiple offsets, for example, the last digit in the parameter value is used as the parameter number, and the terminal device groups the numbers in the first communication number based on the reference number to obtain multiple offsets, exemplarily, the above-mentioned grouping of two adjacent numbers in the twelve-digit number into a group to obtain six groups of values, and each group of values adds a reference number to obtain six groups of three-digit offsets, and adds a reference number based on the sum of the numbers in each group of data, for example, if the sum of the numbers in a group of values is an odd number, then the reference number is added before the group of values, and if the sum of the numbers in a group of values is an even number, then the reference number is added after the group of values.
[0158] Step S603: performing preset processing on the first communication number based on each preset random number to obtain a plurality of processing parameters.
[0159] Step S604: According to the offset corresponding to each processing parameter, the target parameter is subjected to offset processing to obtain a short code parameter.
[0160] After obtaining the offset, the terminal device sets the first communication number based on the offset and a preset random number to obtain the short code parameter.
[0161] For example, the terminal device determines the product of the first three digits and the last four digits of the first communication number, and multiplies the product by the preset random number in the initial parameter to obtain the result R, and divides R by the set value to obtain the target remainder, the set value is, for example, 6, that is, R / 6 to obtain the target remainder; the remainder and the offset have a mapping relationship, so the offset corresponding to the target remainder can be obtained. After the target parameter is offset by the offset corresponding to the target remainder, the setting parameter is obtained, and then the setting parameter is converted into hexadecimal to obtain the short code parameter.
[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, so that the message sending system can securely verify the identity of the terminal device.
[0163] Reference Figure 7 , Figure 7 A schematic diagram showing a sixth embodiment of the message sending method provided by the present application is shown. Figure 5 or Figure 6 In the embodiment shown, before step S501, the following steps are further included:
[0164] Step S701: output a configuration interface, where the configuration interface is used to configure a personalized message template.
[0165] In this embodiment, the user registers and opens an account in the terminal device message sending system. After the message sending system completes the user's registration, the message sending system outputs a configuration interface to the terminal device. The configuration interface is used to configure a personalized message template.
[0166] The configuration interface associates the H5 editor module of the message sending system. The H5 editor module can be used to customize the personalized message template and the corresponding H5 link address.
[0167] The H5 editor module consists of three modules: component library, editing area, and configuration area. Users can generate JSON Schema through visual dragging, editing forms, and other low-code or even no-code behaviors in the configuration interface, and save it to the database through the back-end interface. When the user opens the corresponding page on the terminal device, the JSON Schema data of the corresponding page is obtained through the back-end interface, and the renderer is called to consume, parse the JSON Schema, and render the view.
[0168] Step S702: Based on the configuration operation of the configuration interface, a personalized message template is configured, and a third communication number input by the user is obtained.
[0169] The terminal device can configure the personalized message template based on the configuration operation of the user in the editor in the configuration interface, and obtain the third communication number input by the user.
[0170] Step S703, generating a link address of a personalized message template, and sending 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 the 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 picking function based on the link address and the authentication system.
[0172] In this embodiment, the user configures a personalized message template in the message sending system through the terminal device, so that the terminal device displays the personalized message to the user, thereby improving the user experience.
[0173] like Figure 8 As shown, the embodiment of the present application further provides a message sending system, and the message sending system 800 includes:
[0174] The acquisition module 810 is used to acquire the jump link information of the personalized message sent by the terminal device, and acquire the short code parameter from the jump link information;
[0175] The parsing module 820 is used to parse the short code parameter to obtain the first communication number, and obtain the second communication number of the user associated with the terminal device;
[0176] A determination module 830, configured to determine a personalized message template associated with the user according to the jump link information in response to the first communication number matching the second communication number;
[0177] The generating module 840 is used to generate a personalized message page according to 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] Acquire a third communication number and a session identifier input by a user, and convert the short code parameter into a preset format to obtain a first intermediate parameter;
[0180] Acquire multiple offsets according to the third communication number;
[0181] Construct multiple different sets according to the session identifier, the offset, and multiple different preset random numbers;
[0182] According to each offset, the first intermediate parameter is sequentially subjected to inverse offset processing to obtain a plurality of second intermediate parameters;
[0183] In response to the presence of the second intermediate parameter matching set, the third communication number is determined to be the first communication number.
[0184] In another embodiment, the message sending system 800 is specifically used for:
[0185] Performing a preset operation on the third communication number to obtain a target value, and obtaining a target digit from the target value;
[0186] Based on the target digit, grouping the digits in the third communication number to obtain a plurality of offsets;
[0187] The step of sequentially performing inverse offset processing on the first intermediate parameter according to each offset includes:
[0188] According to each preset random number, the third communication number is processed by preset processing to obtain a plurality of processing parameters;
[0189] According to the offset corresponding to each processing parameter, the first intermediate parameters are sequentially subjected to inverse offset processing to obtain a plurality of 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 of the terminal device and send the link address to the authentication system;
[0192] Receiving signature information assigned by the authentication system based on the link address, and obtaining gateway verification credential parameters from the authentication system based on the signature information;
[0193] Based on the gateway verification credential parameters, a request for obtaining the user's communication number is sent to the authentication system, and the gateway verification credential parameters are used by the authentication system to authenticate the message sending system;
[0194] The second communication number sent by the authentication system based on the acquisition request is received.
[0195] In another embodiment, the message sending system 800 is specifically used for:
[0196] Receiving a third communication number, a personalized template, and a link address of the personalized template input by a user and sent by a terminal device;
[0197] Obtaining a template identifier of the personalized template, configuring a notification thread for the third communication number based on the template identifier, and sending the third communication number and the link address to the authentication system;
[0198] Send personalized message notification information to the terminal device according to the notification thread;
[0199] The step of obtaining the third communication number and the session identifier input by the user includes:
[0200] The session identifier and the third communication number input by the user are obtained according to the notification thread.
[0201] It should be noted that the message sending system is a system corresponding to the above-mentioned message sending method, and all implementation methods in the above-mentioned method embodiments are applicable to the embodiments and can achieve the same technical effects.
[0202] like Fig. 9 As shown, the embodiment of the present application further provides a terminal device 900, including:
[0203] The first receiving module 910 is used to receive notification information of the personalized message sent by the message gateway, and obtain the first communication number of the user associated with the terminal device;
[0204] The processing module 920 is used to perform setting processing on the first communication number, obtain short code parameters, and generate jump link information of the personalized message according to the short code parameters and notification information;
[0205] The sending module 930 is used to send the jump link information to the message sending system;
[0206] The second receiving module 940 is used to receive a personalized message page sent by the message sending system based on the jump link information, and display the personalized message page.
[0207] In one embodiment, the terminal device 900 is used for:
[0208] Acquire a session identifier based on the notification information, and concatenate the session identifier, a preset random number, and the first communication number to obtain a target parameter;
[0209] Acquire multiple offsets according to the first communication number;
[0210] Performing preset processing on the first communication number based on each preset random number to obtain a plurality of processing parameters;
[0211] According to the offset corresponding to each processing parameter, the target parameter is offset processed to obtain the short code parameter.
[0212] In another embodiment, the terminal device 900 is used for:
[0213] In response to the opening operation of the notification information, a message is sent to the notification thread, where the notification thread is a thread configured by the message sending system for the terminal device;
[0214] The receiving notification thread is based on the session ID of the message feedback.
[0215] In another embodiment, the terminal device 900 is used for:
[0216] Performing a preset operation on the first communication number to obtain a reference value;
[0217] According to the numbers at the preset positions in the reference value, the numbers in the first communication number are grouped to obtain a plurality of 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 operation of the configuration interface, a personalized message template is configured, and a third communication number input by the user is obtained;
[0221] Generate a 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.
[0222] It should be noted that the terminal device is a device corresponding to the above-mentioned message sending method, and all implementation methods in the above-mentioned method embodiments are applicable to the embodiments and can achieve the same technical effect.
[0223] Fig.10 A schematic diagram of the hardware structure of the message sending device provided in an embodiment of the present application is shown.
[0224] The message sending apparatus 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), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0226] The memory 1002 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 1002 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 1002 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 1002 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 1002 is a non-volatile solid-state memory.
[0227] In certain embodiments, the memory 1002 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage media device, an optical storage media device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) 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 an aspect of the present disclosure.
[0228] The processor 1001 reads and executes computer program instructions stored in the memory 1002 to implement any one 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. Fig.10 As shown, the processor 1001, the memory 1002, and the communication interface 1003 are connected via a bus 1010 and communicate with each other.
[0230] The communication interface 1003 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0231] Bus 1010 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 1010 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.
[0232] In addition, in combination with the message sending method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the message sending methods in the above embodiment is implemented.
[0233] An embodiment of the present application also provides a computer program product, including a computer program, which implements any one of the message sending methods in the above embodiments when the computer program is processed and executed.
[0234] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present 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, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in 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, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0236] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. 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 embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0237] Aspects of the present disclosure are described above with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram 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 message sending device to produce a machine so that these instructions executed by the processor of the computer or other programmable terminal device message sending device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. 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 can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0238] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A message sending method, characterized in that: Applied to a message sending system, the message sending method includes: Obtaining the jump link information of the personalized message sent by the terminal device, and obtaining the short code parameter from the jump link information; Parsing the short code parameter to obtain a first communication number, and acquiring a second communication number of a user associated with the terminal device; In response to the first communication number matching the second communication number, determining a personalized message template associated with the user according to the jump link information; A personalized message page is generated according to the message to be sent and the personalized message template, and the personalized message page is sent to the terminal device.
2. The message sending method according to claim 1, characterized in that: The step of parsing the short code parameter to obtain the first communication number comprises: Acquire the third communication number and session identifier input by the user, and convert the short code parameter into a preset format to obtain a first intermediate parameter; Acquire multiple offsets according to the third communication number; Constructing a plurality of different sets according to the session identifier, the offset, and a plurality of different preset random numbers; According to each of the offsets, sequentially perform inverse offset processing on the first intermediate parameters to obtain a plurality of second intermediate parameters; In response to the second intermediate parameter matching the set, the third communication number is determined to be the first communication number.
3. The message sending method according to claim 2, characterized in that: The step of acquiring a plurality of offsets according to the third communication number comprises: Performing a preset operation on the third communication number to obtain a target value, and obtaining a target digit from the target value; Based on the target number, grouping the numbers in the third communication number to obtain a plurality of offsets; The step of sequentially performing inverse offset processing on the first intermediate parameters according to the offsets comprises: According to each of the preset random numbers, the third communication number is processed by preset processing to obtain a plurality of processing parameters; According to the offset corresponding to each of the processing parameters, the first intermediate parameters are sequentially subjected to inverse offset processing to obtain a plurality of second intermediate parameters.
4. The message sending method according to claim 1, characterized in that: The step of obtaining the second communication number of the user associated with the terminal device comprises: Obtaining a link address of the personalized template of the terminal device, and sending the link address to the authentication system; receiving signature information assigned by the authentication system based on the link address, and acquiring gateway verification credential parameters from the authentication system based on the signature information; Based on the gateway verification credential parameter, sending a request to the authentication system to obtain the communication number of the user, the gateway verification credential parameter being used by the authentication system to authenticate the identity of the message sending system; The second communication number sent by the authentication system based on the acquisition request is received.
5. The message sending method according to claim 4, characterized in that: Before the step of obtaining the jump link information of the personalized message sent by the terminal device, the method further includes: Receiving the third communication number input by the user, the personalized template and the link address of the personalized template sent by the terminal device; Acquire 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; Sending notification information of a personalized message to the terminal device according to the notification thread; The step of obtaining the third communication number and session identifier input by the user comprises: A session identifier and a third communication number input by the user are obtained according to the notification thread.
6. A message sending method, characterized in that: Applied to a terminal device, the message sending method includes: Receiving notification information of the personalized message sent by the message gateway, and obtaining the first communication number of the user associated with the terminal device; Performing setting processing on the first communication number to obtain a short code parameter, and generating jump link information of a personalized message according to the short code parameter and the notification information; Sending the jump link information to the message sending system; A personalized message page is received from the message sending system based on the jump link information, and the personalized message page is displayed.
7. The message sending method according to claim 6, characterized in that: The step of setting and processing the first communication number to obtain a short code parameter comprises: Acquire a session identifier based on the notification information, and concatenate the session identifier, a preset random number, and the first communication number to obtain a target parameter; Acquire multiple offsets according to the first communication number; Based on each of the preset random numbers, the first communication number is processed by preset processing to obtain multiple processing parameters; According to the offset corresponding to each of the processing parameters, the target parameter is subjected to offset processing to obtain the short code parameter.
8. The message sending method according to claim 7, characterized in that: The step of obtaining a session identifier based on the notification information includes: In response to an opening operation of the notification information, a message is sent to a notification thread, where the notification thread is a thread configured by the message sending system for the terminal device; A session identifier of the notification thread based on the message feedback is received.
9. The message sending method according to claim 7, characterized in that: The step of obtaining a plurality of offsets according to the first communication number comprises: Performing a preset operation on the first communication number to obtain a reference value; According to the numbers at the preset positions in the reference value, the numbers in the first communication number are grouped to obtain a plurality of offsets.
10. The message sending method according to claim 6, characterized in that: Before the step of receiving notification information of the personalized message sent by the message gateway, the method further includes: Output configuration interface, the configuration interface is used to configure personalized message templates; Based on the configuration operation of the configuration interface, configure the personalized message template, and obtain the third communication number input by the user; Generate a link address of the personalized message template, and send the third communication number, the personalized template and the link address to a message sending system.
Citation Information
Patent Citations
Method and device for transmitting short message in batch
CN105263128A
Instant messaging method and server
CN106612265A
Information identification method and device, terminal and readable memory medium
CN107426732A
Service processing method, device and system
CN117793931A