[go: up one dir, main page]

CN114640956B - Short message issuing method, device, system and electronic equipment - Google Patents

Short message issuing method, device, system and electronic equipment Download PDF

Info

Publication number
CN114640956B
CN114640956B CN202011484941.9A CN202011484941A CN114640956B CN 114640956 B CN114640956 B CN 114640956B CN 202011484941 A CN202011484941 A CN 202011484941A CN 114640956 B CN114640956 B CN 114640956B
Authority
CN
China
Prior art keywords
short message
target
channel
template
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011484941.9A
Other languages
Chinese (zh)
Other versions
CN114640956A (en
Inventor
武林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Cloud Network Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN202011484941.9A priority Critical patent/CN114640956B/en
Publication of CN114640956A publication Critical patent/CN114640956A/en
Application granted granted Critical
Publication of CN114640956B publication Critical patent/CN114640956B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a method, a device, a system and electronic equipment for sending short messages, wherein the method is applied to a short message server, a short message configuration database is pre-stored in the short message server, and a short message template and a configuration relation between the short message template and a short message channel are stored in the short message configuration database; the method comprises the following steps: receiving a short message issuing request of a first server; the short message sending request carries a target terminal identifier, a target short message type and a target template identifier; searching a target short message template corresponding to the target template identifier from a short message configuration database and a first target short message channel; generating a target short message corresponding to the target short message type according to the target short message template; and sending the target short message to the target terminal through the first target short message channel. The method and the device can meet the personalized short message issuing requirements of the user.

Description

Short message issuing method, device, system and electronic equipment
Technical Field
The application relates to the technical field of cloud short messages, in particular to a short message issuing method, device and system and electronic equipment.
Background
The existing short message sending mode is as follows: the short message server receives a short message issuing request submitted by a client, submits the short message request to a short message channel provider according to channel weight or in a random mode, and the short message channel provider submits the issued short message to an operator, and the operator issues the short message to a mobile phone of a user. The way of selecting the channel according to the channel weight or randomly can not meet the personalized short message issuing requirement.
Disclosure of Invention
The invention aims to provide a short message issuing method, a device, a system and electronic equipment, which can flexibly meet personalized short message issuing requirements.
In a first aspect, an embodiment of the present application provides a method for sending a short message, where the method is applied to a short message server, a short message configuration database is pre-stored in the short message server, and a short message template and a configuration relationship between the short message template and a short message channel are stored in the short message configuration database; the method comprises the following steps: receiving a short message issuing request of a first server; the short message sending request carries a target terminal identifier, a target short message type and a target template identifier; searching a target short message template corresponding to the target template identifier from a short message configuration database and a first target short message channel; generating a target short message corresponding to the target short message type according to the target short message template; and sending the target short message to the target terminal corresponding to the target terminal identifier through the first target short message channel.
Further, before the step of receiving the request for sending the short message from the first server, the method further includes: receiving a channel configuration request of a first short message template of a first server; the channel configuration request carries a first short message template and a first template identifier; configuring channel information for the first template identifier and the first short message template according to the channel configuration request; the channel information comprises at least one short message channel and attribute information corresponding to each short message channel.
Further, before the step of receiving the channel configuration request of the first sms template of the first server, the method further includes: receiving a login request of a first service end; the login request carries an account identifier of the first service end; and verifying the account number identification, and returning login success information to the first service end after successful verification.
Further, the short message sending request also carries an account identifier of the first server; the short message configuration database also stores account numbers, short message types and configuration relations of the short message channels respectively; the method further comprises the steps of: if the first target short message channel corresponding to the target template identifier is not found from the short message configuration database, searching a second target short message channel from the short message configuration database according to the target short message type and/or the account identifier; and sending the target short message to the target terminal through the second target short message channel.
Further, the step of searching the second target short message channel from the short message configuration database according to the target short message type and/or the account identifier includes: searching a first short message channel corresponding to the target short message type from a short message configuration database; taking the searched first short message channel as a second target short message channel; if the short message channel corresponding to the target short message type is not found in the short message configuration database, a second short message channel corresponding to the account number identification is found in the short message configuration database; and taking the searched second short message channel as a second target short message channel.
Further, the method further comprises the following steps: if the second target short message channel is not found from the short message configuration database according to the target short message type and/or account number identification, randomly selecting a standby short message channel as a third target short message channel; and sending the target short message to the target terminal through a third target short message channel.
Further, the method further comprises the following steps: if the number of the short message channels is multiple, taking the short message channel with the largest channel weight as a target short message channel; the channel weight is used for representing the number of the short messages which can be sent by the short message channel.
In a second aspect, an embodiment of the present application provides a device for sending a short message, where the device is applied to a short message server, a short message configuration database is pre-stored in the short message server, and a short message template and a configuration relationship between the short message template and a short message channel are stored in the short message configuration database; the device comprises: the request receiving module is used for receiving a short message issuing request of the first server; the short message sending request carries a target terminal identifier, a target short message type and a target template identifier; the searching module is used for searching a target short message template and a first target short message channel corresponding to the target template identification from the short message configuration database; the short message generating module is used for generating a target short message corresponding to the target short message type according to the target short message template; and the short message issuing module is used for issuing the target short message to the target terminal corresponding to the target terminal identifier through the first target short message channel.
In a third aspect, an embodiment of the present application further provides a system for sending a short message, where the system includes: a short message server and a first service end; the short message server is connected with the first service end; the short message server is configured to perform the method according to the first aspect.
In a fourth aspect, embodiments of the present application further provide an electronic device, including a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the method of the first aspect.
In a fifth aspect, embodiments of the present application further provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method of the first aspect.
In the method, the device, the system and the electronic equipment for sending the short message, a short message configuration database is pre-stored in a short message server, and the short message configuration database stores a short message template and a configuration relation between the short message template and a short message channel; after receiving a short message sending request of a first service end, the short message server sends a short message sending request to a second service end; a target short message template corresponding to the target template identification and a first target short message channel can be searched from a short message configuration database; generating a target short message corresponding to the target short message type according to the target short message template; the target short message is sent to the target terminal through the first target short message channel, and the mode can meet personalized short message sending requirements.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for sending a short message according to an embodiment of the present application;
fig. 2 is a flowchart of a channel configuration method provided in an embodiment of the present application;
fig. 3 is a flowchart of a channel screening method according to an embodiment of the present application;
fig. 4 is a schematic diagram of a short message sending process provided in the embodiment of the present application;
fig. 5 is a block diagram of a short message sending device according to an embodiment of the present application;
fig. 6 is a block diagram of another short message sending device according to an embodiment of the present application;
fig. 7 is a block diagram of a short message sending system according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
At present, the existing short message sending mode is as follows: the short message server receives a short message issuing request submitted by a client, submits the short message request to a short message channel provider according to channel weight or in a random mode, and the short message channel provider submits the issued short message to an operator, and the operator issues the short message to a mobile phone of a user. The way of selecting the channel according to the channel weight or randomly can not meet the personalized short message issuing requirement.
Based on this, the embodiment of the application provides a method, a device, a system and an electronic device for sending a short message, and the implementation process of the method for sending a short message is described in detail below.
The embodiment of the application provides a short message issuing method, which is applied to a short message server, wherein a short message configuration database is pre-stored in the short message server, and a short message template and a configuration relation between the short message template and a short message channel are stored in the short message configuration database; the short message template is set according to the requirements of the user, can be created based on the short message content submitted by the user, or can be automatically set by a short message server according to the requirements of the user, wherein the user refers to a first service end which is generally a service end corresponding to an enterprise or a company, such as an online shopping service end, a game service end, a bank service end and the like.
The short message template has a corresponding template identifier, and the short message server configures channel information for the short message template in advance, and it should be noted that in the short message configuration database, not all short message templates are configured with corresponding channel information, for example, only one provider of a certain template can issue the short message template, and the short message channel corresponding to the provider is configured for the template.
Referring to a flowchart of a short message sending method provided in the embodiment of the present application shown in fig. 1, the method specifically includes the following steps:
step S102, receiving a short message issuing request of a first server; the short message sending request carries a target terminal identifier, a target short message type and a target template identifier.
When the user terminal uses the APP corresponding to the server, the server can initiate a short message issuing request to the short message server when the user initiates the request or when the user reaches the set time, wherein the short message issuing request carries a target terminal identifier, a target short message type and a target template identifier.
The target terminal identifier corresponds to the mobile phone number of the user terminal, usually the user terminal, and the short message is finally sent to the user terminal corresponding to the mobile phone number. The target short message type can be one of verification code short messages, notification short messages and marketing short messages. The target template identifier is an interface parameter carried when the first service end initiates a short message sending request, namely, a template ID, and the template ID can be an ID which is applied to be established on the short message server by the first service end in advance, so that the short message server can carry out subsequent retrieval in a short message configuration database through the identifier.
Step S104, searching a target short message template and a first target short message channel corresponding to the target template identification from a short message configuration database.
Because the configuration relation between the short message template and the short message channel is pre-stored in the short message configuration database, the corresponding target short message template and the first target short message channel can be searched from the database based on the target template identification.
And S106, generating a target short message corresponding to the target short message type according to the target short message template.
Further, based on the searched target short message template, generating a target short message corresponding to the target short message type.
Step S108, the target short message is sent to the target terminal corresponding to the target terminal identifier through the first target short message channel.
After determining the target short message channel and generating the target short message, the target short message can be issued to an operator through the channel, and then issued to a target terminal corresponding to the mobile phone number by the operator.
In the short message issuing method provided by the embodiment of the application, a short message configuration database is prestored in a short message server, and a short message template and a configuration relation between the short message template and a short message channel are stored in the short message configuration database; after receiving a short message sending request of a first service end, the short message server sends a short message sending request to a second service end; a target short message template corresponding to the target template identification and a first target short message channel can be searched from a short message configuration database; generating a target short message corresponding to the target short message type according to the target short message template; the target short message is sent to the target terminal corresponding to the target terminal identifier through the first target short message channel, and the mode can meet personalized short message sending requirements.
In order to meet the personalized short message sending requirement of the user, before the step of receiving the short message sending request of the first server, the embodiment of the application may further include the following method steps, see fig. 2:
step S202, receiving a login request of a first service end; the login request carries an account identifier of the first server.
Step S204, verifying the account mark, and returning login success information to the first service end after verification is successful.
After the first server registers on the short message server, the first server can log in through the account identification thereof, if the account identification is verified successfully, the first server is logged in successfully, and then the first server can apply for the channel configuration of the template, and the method specifically comprises the following steps:
step S206, receiving a channel configuration request of a first short message template of a first server; the channel configuration request carries a first short message template and a first template identifier.
The channel configuration request has a template identifier and a short message template, namely a short message content, and the short message template can be personalized short message content which meets the self requirements and is uploaded by a user.
Step S208, configuring channel information for the first template identifier and the first short message template according to the channel configuration request; the channel information comprises at least one short message channel and attribute information corresponding to each short message channel.
After receiving the template identification and the short message template uploaded by the first service end, configuring channel information for the short message template, wherein the configured channel information is at least one short message channel, and the type of the short message supported in the attribute information of the short message channel is consistent with the type of the short message corresponding to the short message template.
Because not all the short message templates are configured with the channel information in the short message configuration database, the situation that the first target short message channel corresponding to the target template identifier cannot be found can occur, and at this time, the embodiment of the application can also adopt the steps shown in fig. 3 to screen the target channel:
the short message sending request also carries an account number identifier of the first server; the short message configuration database also stores the configuration relation between account numbers, short message types and short message channels respectively.
Step S302, if the first target short message channel corresponding to the target template identifier is not found in the short message configuration database, a second target short message channel is found in the short message configuration database according to the target short message type and/or the account identifier.
In the implementation, the second target short message channel may be searched according to the target short message type, or may be searched according to the account identifier, or the second target short message channel may be determined according to the priority order of the two, for example, the following manner is implemented:
(1) Searching a first short message channel corresponding to the target short message type from a short message configuration database;
(2) Taking the searched first short message channel as a second target short message channel;
(3) If the short message channel corresponding to the target short message type is not found in the short message configuration database, a second short message channel corresponding to the account number identification is found in the short message configuration database;
(4) And taking the searched second short message channel as a second target short message channel.
Step S304, the target short message is sent to the target terminal through the second target short message channel.
In addition, if the second target short message channel is not found from the short message configuration database according to the target short message type and/or account number identification, randomly selecting the standby short message channel as a third target short message channel; and sending the target short message to the target terminal through a third target short message channel.
In the channel screening process, a plurality of short message channels meeting the conditions may be found at the same time, and in this case, the short message channel with the largest channel weight may be used as the target short message channel; the channel weight is used for representing the quantity of the short messages which can be sent by the short message channel. The larger the channel weight is, the more the number of the short messages which can be sent out is represented by the short message channel, the channel weight can be set manually by a worker, or the weight value can be dynamically adjusted according to a certain algorithm and the current number or success rate of the short message sending out of each short message channel.
Referring to a schematic diagram of a short message sending process shown in fig. 4, a first server sends a short message sending request to a short message server, wherein the short message sending request carries a target template identifier, a target short message type and an account identifier, the short message server preferably selects a channel matched with the short message template after receiving the short message sending request, then selects a channel matched with the short message type, finally selects a channel matched with the account identifier, if the channel is not matched with the short message type, a standby channel is selected, and then sends a short message to a user terminal through a short message provider and an operator.
According to the short message issuing method provided by the embodiment of the application, the target short message channel can be determined according to the sequence of the three granularity priorities from high to low of the short message template, the short message type and the client (namely the account identifier corresponding to the first service end), when no suitable channel exists, the short message is issued by utilizing the preset short message channel, and the personalized short message issuing requirement of the user can be met on the basis of guaranteeing the short message issuing.
Based on the method embodiment, the embodiment of the application also provides a short message issuing device, which is applied to a short message server, wherein a short message configuration database is pre-stored in the short message server, and a short message template and a configuration relation between the short message template and a short message channel are stored in the short message configuration database; referring to fig. 5, the apparatus includes:
the request receiving module 502 is configured to receive a short message sending request of a first server; the short message sending request carries a target terminal identifier, a target short message type and a target template identifier; the searching module 504 is configured to search a target short message template and a first target short message channel corresponding to the target template identifier from the short message configuration database; the short message generating module 506 is configured to generate a target short message corresponding to the target short message type according to the target short message template; and the short message sending module 508 is configured to send a target short message to a target terminal corresponding to the target terminal identifier through the first target short message channel.
In another possible implementation manner, the apparatus further includes a channel configuration module 510, as shown in fig. 6, where the channel configuration module 510 is configured to receive a channel configuration request of a first sms template of a first server; the channel configuration request carries a first short message template and a first template identifier; configuring channel information for the first template identifier and the first short message template according to the channel configuration request; the channel information comprises at least one short message channel and attribute information corresponding to each short message channel.
In another possible implementation manner, the apparatus further includes an account login module 512, configured to receive a login request of the first service side; the login request carries an account identifier of the first service end; and verifying the account number identification, and returning login success information to the first service end after successful verification.
In another possible implementation manner, the short message sending request further carries an account identifier of the first server; the short message configuration database also stores account numbers, short message types and configuration relations of the short message channels respectively; the searching module 504 is further configured to search, if the first target short message channel corresponding to the target template identifier is not found in the short message configuration database, for a second target short message channel from the short message configuration database according to the target short message type and/or the account identifier; the short message sending module 508 is further configured to send a target short message to the target terminal through the second target short message channel.
In another possible implementation manner, the searching module 504 is further configured to search a first sms channel corresponding to the target sms type from the sms configuration database; taking the searched first short message channel as a second target short message channel; if the short message channel corresponding to the target short message type is not found in the short message configuration database, a second short message channel corresponding to the account number identification is found in the short message configuration database; and taking the searched second short message channel as a second target short message channel.
In another possible implementation manner, the searching module 504 is further configured to randomly select the standby short message channel as the third target short message channel if the second target short message channel is not found in the short message configuration database according to the target short message type and/or the account identifier;
the foregoing short message sending module 508 is further configured to send a target short message to the target terminal through a third target short message channel.
In another possible implementation manner, the apparatus further includes a channel screening module 514, configured to, if the number of the found sms channels is multiple, take the sms channel with the greatest channel weight as the target sms channel; the channel weight is used for representing the number of the short messages which can be sent by the short message channel.
The implementation principle and the generated technical effects of the short message sending device provided by the embodiment of the application are the same as those of the embodiment of the short message sending method, and for the sake of brief description, reference may be made to corresponding contents in the embodiment of the short message sending method where the embodiment of the short message sending device is not mentioned.
Based on the above method embodiment, the embodiment of the present application further provides a system for sending a short message, as shown in fig. 7, where the system includes: a short message server 702 and a first service end 704; the short message server 702 is connected with the first service end 704; the sms server 702 is configured to perform the steps of the foregoing sms delivery method.
The implementation principle and the generated technical effects of the short message sending system provided by the embodiment of the application are the same as those of the embodiment of the short message sending method, and for the sake of brief description, reference may be made to corresponding contents in the embodiment of the short message sending method where the embodiment of the short message sending system is not mentioned.
The embodiment of the application further provides an electronic device, as shown in fig. 8, which is a schematic structural diagram of the electronic device, where the electronic device includes a processor 81 and a memory 80, where the memory 80 stores computer executable instructions that can be executed by the processor 81, and the processor 81 executes the computer executable instructions to implement the above method.
In the embodiment shown in fig. 8, the electronic device further comprises a bus 82 and a communication interface 83, wherein the processor 81, the communication interface 83 and the memory 80 are connected by the bus 82.
The memory 80 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and at least one other network element is implemented via at least one communication interface 83 (which may be wired or wireless), and may use the internet, a wide area network, a local network, a metropolitan area network, etc. Bus 82 may be an ISA (Industry Standard Architecture ) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus, or EISA (Extended Industry Standard Architecture ) bus, among others. The bus 82 may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, only one bi-directional arrow is shown in FIG. 8, but not only one bus or type of bus.
The processor 81 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 81 or by instructions in the form of software. The processor 81 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processor, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software modules in a decoded processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor 81 reads the information in the memory, and in combination with its hardware, performs the steps of the method in the foregoing embodiment.
The embodiment of the present application further provides a computer readable storage medium, where a computer executable instruction is stored, where the computer executable instruction, when being called and executed by a processor, causes the processor to implement the foregoing method, and the specific implementation may refer to the foregoing method embodiment and is not described herein.
The computer program product of the short message sending method, the short message sending device, the short message sending system and the electronic device provided by the embodiment of the application include a computer readable storage medium storing program codes, and instructions included in the program codes can be used for executing the method described in the foregoing method embodiment, and specific implementation can refer to the method embodiment and will not be repeated here.
The relative steps, numerical expressions and numerical values of the components and steps set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In the description of the present application, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of description of the present application and to simplify the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present application. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the foregoing examples are merely specific embodiments of the present application, and are not intended to limit the scope of the present application, but the present application is not limited thereto, and those skilled in the art will appreciate that while the foregoing examples are described in detail, the present application is not limited thereto. Any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or make equivalent substitutions for some of the technical features within the technical scope of the disclosure of the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. The method is characterized in that the method is applied to a short message server, a short message configuration database is pre-stored in the short message server, and a short message template and a configuration relation between the short message template and a short message channel are stored in the short message configuration database; the short message template is personalized short message content which is uploaded by a user and meets the self requirement or automatically set according to the requirement of the user; the method comprises the following steps:
receiving a short message issuing request of a first server; the short message sending request carries a target terminal identifier, a target short message type and a target template identifier;
searching a target short message template and a first target short message channel corresponding to the target template identification from the short message configuration database;
generating a target short message corresponding to the target short message type according to the target short message template;
issuing the target short message to a target terminal corresponding to the target terminal identifier through the first target short message channel;
the short message sending request also carries an account number identifier of the first service end; the short message configuration database also stores account identification and configuration relations between the short message types and the short message channels respectively; the method further comprises the steps of:
if a first target short message channel corresponding to the target template identifier is not found in the short message configuration database, a second target short message channel is found in the short message configuration database according to the target short message type and/or the account identifier; and sending the target short message to the target terminal through the second target short message channel.
2. The method of claim 1, further comprising, prior to the step of receiving a sms download request from the first server:
receiving a channel configuration request of a first short message template of the first server; the channel configuration request carries the first short message template and a first template identifier;
configuring channel information for the first template identifier and the first short message template according to the channel configuration request; the channel information comprises at least one short message channel and attribute information corresponding to each short message channel.
3. The method of claim 2, further comprising, prior to the step of receiving the channel configuration request of the first sms template of the first server:
receiving a login request of the first server; the login request carries an account identifier of the first service end;
and verifying the account number identification, and returning login success information to the first service end after verification is successful.
4. The method according to claim 1, wherein the step of searching for a second target short message channel from the short message configuration database according to the target short message type and/or the account number identifier comprises:
searching a first short message channel corresponding to the target short message type from the short message configuration database;
taking the searched first short message channel as the second target short message channel;
if the short message channel corresponding to the target short message type is not found in the short message configuration database, a second short message channel corresponding to the account number identification is found in the short message configuration database;
and taking the searched second short message channel as the second target short message channel.
5. The method according to claim 1, wherein the method further comprises:
if a second target short message channel is not found from the short message configuration database according to the target short message type and/or the account number identification, randomly selecting a standby short message channel as a third target short message channel;
and sending the target short message to the target terminal through the third target short message channel.
6. The method according to any one of claims 1-5, further comprising: if the number of the short message channels is multiple, taking the short message channel with the largest channel weight as a target short message channel; the channel weight is used for representing the quantity of the short messages which can be sent by the short message channel.
7. The device is characterized in that the device is applied to a short message server, a short message configuration database is pre-stored in the short message server, and a short message template and a configuration relation between the short message template and a short message channel are stored in the short message configuration database; the short message template is personalized short message content which is uploaded by a user and meets the self requirement or automatically set according to the requirement of the user; the device comprises:
the request receiving module is used for receiving a short message issuing request of the first server; the short message sending request carries a target terminal identifier, a target short message type and a target template identifier;
the searching module is used for searching a target short message template and a first target short message channel corresponding to the target template identification from the short message configuration database;
the short message generating module is used for generating a target short message corresponding to the target short message type according to the target short message template;
the short message issuing module is used for issuing the target short message to the target terminal corresponding to the target terminal identifier through the first target short message channel;
the short message sending request also carries an account number identifier of the first service end; the short message configuration database also stores account identification and configuration relations between the short message types and the short message channels respectively; the short message issuing module is further configured to: if a first target short message channel corresponding to the target template identifier is not found in the short message configuration database, a second target short message channel is found in the short message configuration database according to the target short message type and/or the account identifier; and sending the target short message to the target terminal through the second target short message channel.
8. A short message delivery system, the system comprising: a short message server and a first service end;
the short message server is connected with the first server;
the short message server is configured to perform the method according to any one of claims 1-6.
9. An electronic device comprising a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the method of any one of claims 1 to 6.
10. A computer readable storage medium storing computer executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any one of claims 1 to 6.
CN202011484941.9A 2020-12-15 2020-12-15 Short message issuing method, device, system and electronic equipment Active CN114640956B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011484941.9A CN114640956B (en) 2020-12-15 2020-12-15 Short message issuing method, device, system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011484941.9A CN114640956B (en) 2020-12-15 2020-12-15 Short message issuing method, device, system and electronic equipment

Publications (2)

Publication Number Publication Date
CN114640956A CN114640956A (en) 2022-06-17
CN114640956B true CN114640956B (en) 2024-01-19

Family

ID=81945164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011484941.9A Active CN114640956B (en) 2020-12-15 2020-12-15 Short message issuing method, device, system and electronic equipment

Country Status (1)

Country Link
CN (1) CN114640956B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115484560B (en) * 2022-09-13 2024-04-09 中国建设银行股份有限公司 Intelligent short message processing method and device, electronic equipment and storage medium
CN115866536A (en) * 2022-11-09 2023-03-28 阿里巴巴(中国)有限公司 Short message control method, system, device, storage medium and program product

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152331A (en) * 2013-02-07 2013-06-12 百度在线网络技术(北京)有限公司 Method and system for logging in/registering through mobile terminal and cloud server
CN105337837A (en) * 2014-06-26 2016-02-17 阿里巴巴集团控股有限公司 Message transmitting method and device
CN106792589A (en) * 2016-11-17 2017-05-31 中卓信(北京)科技有限公司 Presentation of information updating menu method and apparatus
CN108073560A (en) * 2017-11-01 2018-05-25 深圳市金立通信设备有限公司 SMS processing method, server and computer-readable medium
CN108809675A (en) * 2017-04-28 2018-11-13 北京嘀嘀无限科技发展有限公司 Information-pushing method and device
CN109948046A (en) * 2018-01-05 2019-06-28 深圳壹账通智能科技有限公司 Message push method, device, mobile terminal and storage medium
CN110337077A (en) * 2019-04-10 2019-10-15 中国联合网络通信集团有限公司 Method and device for determining strategy for sending RCS terminal service messages
CN110442805A (en) * 2019-07-05 2019-11-12 深圳壹账通智能科技有限公司 Data entry method, system, equipment and storage medium
CN110493734A (en) * 2019-07-22 2019-11-22 苏宁云计算有限公司 The channel selection method and device that short message is sent

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8935344B2 (en) * 2012-04-19 2015-01-13 Strongview Systems, Inc. Systems and methods for message personalization
US9516480B2 (en) * 2014-11-24 2016-12-06 Nexmo Inc. Identity and phone number verification

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152331A (en) * 2013-02-07 2013-06-12 百度在线网络技术(北京)有限公司 Method and system for logging in/registering through mobile terminal and cloud server
CN105337837A (en) * 2014-06-26 2016-02-17 阿里巴巴集团控股有限公司 Message transmitting method and device
CN106792589A (en) * 2016-11-17 2017-05-31 中卓信(北京)科技有限公司 Presentation of information updating menu method and apparatus
CN108809675A (en) * 2017-04-28 2018-11-13 北京嘀嘀无限科技发展有限公司 Information-pushing method and device
CN108073560A (en) * 2017-11-01 2018-05-25 深圳市金立通信设备有限公司 SMS processing method, server and computer-readable medium
CN109948046A (en) * 2018-01-05 2019-06-28 深圳壹账通智能科技有限公司 Message push method, device, mobile terminal and storage medium
CN110337077A (en) * 2019-04-10 2019-10-15 中国联合网络通信集团有限公司 Method and device for determining strategy for sending RCS terminal service messages
CN110442805A (en) * 2019-07-05 2019-11-12 深圳壹账通智能科技有限公司 Data entry method, system, equipment and storage medium
CN110493734A (en) * 2019-07-22 2019-11-22 苏宁云计算有限公司 The channel selection method and device that short message is sent

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Dubbo框架的短信平台的开发与设计;王睿;赵勇;;电子设计工程(18);全文 *

Also Published As

Publication number Publication date
CN114640956A (en) 2022-06-17

Similar Documents

Publication Publication Date Title
US11240159B2 (en) Service link selection control method and device
US10616754B2 (en) Profile download method and system, and related device
US11689898B2 (en) Messaging service application programming interface
CN110830280B (en) Micro-service gateway device and method and electronic equipment
CN112818270B (en) Data cross-domain transfer method and device and computer equipment
CN114640956B (en) Short message issuing method, device, system and electronic equipment
CN108574721B (en) A login method, device and server, user terminal, and readable storage medium
CN113794999B (en) Short message distribution method, device and storage medium
CN113076112A (en) Database deployment method and device and electronic equipment
CN112087475B (en) Message pushing method and device for cloud platform component application and message server
US20190149956A1 (en) Systems and methods for vehicle telematics registration
CN112654006A (en) Short message service processing method and device and electronic equipment
CN111949363B (en) Business access management method, computer equipment, storage medium and system
CN111970680A (en) Profile downloading method and device based on eUICC subscription platform
CN110675219A (en) Page and order generation method, system, computer equipment and storage medium
CN112910876B (en) Login method and device and electronic equipment
CN112003724B (en) Network management method and device
CN110266596B (en) Message processing method, device, equipment and computer readable storage medium
CN107613496B (en) Queuing method, system and authentication server
CN112654004B (en) Short message issuing method, device and system and electronic equipment
EP3923524A1 (en) Selecting a communication channel for omnichannel message delivery
CN106709733A (en) Verification strategy selection method and device
CN112654005B (en) Short message channel configuration method and short message issuing method, device and system
CN114650511B (en) Short message service processing method, device and system
CN112672293B (en) Method, device and system for issuing alarm short message and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant