CN112423249B - User short message sending method, device and system - Google Patents

User short message sending method, device and system Download PDF

Info

Publication number
CN112423249B
CN112423249B CN202011293195.5A CN202011293195A CN112423249B CN 112423249 B CN112423249 B CN 112423249B CN 202011293195 A CN202011293195 A CN 202011293195A CN 112423249 B CN112423249 B CN 112423249B
Authority
CN
China
Prior art keywords
information
sending
sent
identification code
short message
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
CN202011293195.5A
Other languages
Chinese (zh)
Other versions
CN112423249A (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.)
Liantong Shike Beijing Information Technology Co ltd
China United Network Communications Group Co Ltd
Original Assignee
Liantong Shike Beijing Information Technology Co ltd
China United Network Communications Group 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 Liantong Shike Beijing Information Technology Co ltd, China United Network Communications Group Co Ltd filed Critical Liantong Shike Beijing Information Technology Co ltd
Priority to CN202011293195.5A priority Critical patent/CN112423249B/en
Publication of CN112423249A publication Critical patent/CN112423249A/en
Application granted granted Critical
Publication of CN112423249B publication Critical patent/CN112423249B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application provides a method, a device and a system for sending a user short message. The method comprises the following steps: and the user inputs the sending information at the appointed position of the man-machine interaction interface. And the information sending platform acquires the sending information and generates information to be sent according to the sending information. The sending information comprises a sender identification code, a receiver identification code and information content. And the information server receives the information to be sent by the information sending platform. The information server forwards the information to be sent based on the identification code of the receiver and the identification code of the sender. The method ensures that the information transmission is not limited to the mobile terminal any more, is convenient for realizing the information transmission when the mobile terminal cannot be used, and improves the flexibility of the information transmission.

Description

User short message sending method, device and system
Technical Field
The present application relates to communications technologies, and in particular, to a method, an apparatus, and a system for sending a user short message.
Background
With the popularization of mobile terminals, more and more users communicate through the mobile terminals, wherein a mobile phone number is used as a code of the user to uniquely identify one user. A short message sending module is generally installed in the mobile terminal. The user can send the short message through the short message sending module and realize the directional sending of the short message through the mobile phone number of the receiver.
In practical use, the user may also implement batch sending or timed sending of the short messages through the third-party platform. At the moment, the third party platform sends the short message to each receiver mobile phone number according to the preset receiver mobile phone number and the short message content. However, when the receiver views the short message, the mobile phone number of the sender of the short message is the number of the third-party platform.
Obviously, in the prior art, the problem that the mobile phone number of the sender cannot be displayed when the short message is sent through the third-party platform exists.
Disclosure of Invention
The application provides a method, a device and a system for sending a user short message, which are used for solving the problem that the mobile phone number of a sender cannot be displayed when the short message is sent through a third-party platform in the prior art.
In a first aspect, the present application provides a method for sending a short message of a user, including:
generating information to be sent according to sending information input by a user, wherein the sending information comprises a sender identification code, a receiver identification code and information content;
and sending the information to be sent to an information server, and forwarding the information to be sent to a receiver terminal by the information server to send the information to be sent to the information server, wherein the information server realizes the forwarding of the information based on the receiver identification code and the sender identification code.
Optionally, before sending the information to be sent to an information server, the method further includes:
acquiring authentication information, wherein the authentication information is a parameter which is determined by the information server according to the identification code of the sender and is used for authenticating the identity of the sender;
and sending the authentication information to the information server, and authenticating the identity information of the sender by the information server according to the authentication information.
Optionally, before sending the information to be sent to an information server, the method further includes:
acquiring a short message port number, wherein the short message port number is determined according to a gateway port number of a first gateway and the sender identification code, and the gateway port number is a parameter which is configured for the first gateway by the information server and is used for identifying the first gateway;
the sending the information to be sent to an information server includes:
and sending the information to be sent to an information server by using the short message port number, analyzing the identification code of the sender by the information server according to the short message port number, and forwarding the information to be sent to a receiver terminal by the information server.
Optionally, the short message port number is obtained by splicing the gateway port number and the sender identification code.
Optionally, the analyzing the sender identifier according to the short message port number includes:
acquiring a first identification code at the back 11 of the short message port number;
and splicing the international area code of the country to which the first identification code belongs and the first identification code to obtain the sender identification code.
Optionally, before sending the information to be sent to an information server, the method further includes:
configuring the second gateway, wherein the second gateway is used for converting the format of the information to be sent, so that the format of the information to be sent is consistent with the format of a short message directly sent by a terminal;
the sending the information to be sent to an information server includes:
and sending the information to be sent to the gateway, converting the format of the information to be sent by the gateway, sending the information to be sent after the format is converted to an information server, and forwarding the information to be sent to a receiver terminal by the information server.
Optionally, the method further comprises:
acquiring a first time node, wherein the first time node is the sending time of the information to be sent preset by a user;
and when the first time node is reached, sending the information to be sent to a receiver terminal.
Optionally, the interaction mode of the information sending platform includes at least one mode of a webpage, a wechat applet, an APP, and an application.
In a second aspect, the present application provides a user short message sending apparatus, including:
the generating module is used for generating information to be sent according to sending information input by a user, wherein the sending information comprises a sender identification code, a receiver identification code and information content;
and the sending module is used for sending the information to be sent to an information server, and the information server forwards the information to be sent to a receiver terminal, wherein the information server realizes the forwarding of the information based on the receiver identification code and the sender identification code.
Optionally, before the sending module, the apparatus further includes:
the first acquisition module is used for acquiring authentication information, wherein the authentication information is a parameter which is determined by the information server according to the identification code of the sender and is used for authenticating the identity of the sender;
and the authentication module is used for sending the authentication information to the information server, and the information server authenticates the identity information of the sender according to the authentication information.
Optionally, before the sending module, the apparatus further includes:
the second acquisition module is used for acquiring a short message port number, the short message port number is determined according to a gateway port number of a first gateway and the sender identification code, and the gateway port number is a parameter which is configured for the first gateway by the information server and is used for identifying the first gateway;
the sending module is specifically configured to send the to-be-sent message to an information server by using the short message port number, the information server analyzes the sender identification code according to the short message port number, and the information server forwards the to-be-sent message to a recipient terminal.
Optionally, the short message port number is obtained by splicing the gateway port number and the sender identification code.
Optionally, the analyzing the sender identifier according to the short message port number includes:
acquiring a first identification code at the back 11 of the short message port number;
and splicing the international area code of the country to which the first identification code belongs and the first identification code to obtain the sender identification code.
Optionally, before the sending module, the apparatus further includes:
the configuration module is used for configuring the second gateway, and the second gateway is used for converting the format of the information to be sent so that the format of the information to be sent is consistent with the format of a short message directly sent by a terminal;
the sending module is specifically configured to send the information to be sent to the gateway, where the gateway converts the format of the information to be sent and sends the information to be sent after the format conversion to an information server, and the information server forwards the information to be sent to a recipient terminal.
Optionally, the apparatus further comprises:
the reservation module is used for acquiring a first time node, wherein the first time node is the sending time of the information to be sent, which is preset by a user; and when the first time node is reached, sending the information to be sent to a receiver terminal.
Optionally, the interaction mode of the information sending platform includes at least one mode of a webpage, a wechat applet, an APP, and an application.
In a third aspect, the present application provides an information sending platform, including: the system comprises an information sending platform and an information server;
the information sending platform is used for executing the user short message sending method in any one of the possible designs of the first aspect and the first aspect;
and the information server is used for realizing the forwarding of the information to be sent according to the recipient identification code and the sender identification code.
According to the user short message sending method, device and system, the information to be sent is generated according to the sending information input by the user, and the sending information comprises the sender identification code, the receiver identification code and the information content; the information to be sent is sent to the information server, and the information server forwards the information to be sent to the receiver terminal, wherein the information server realizes a message forwarding means based on the receiver identification code and the sender identification code, so that the message sending is not limited to the mobile terminal, the information sending is convenient to realize the message sending when the mobile terminal cannot be used, and the flexibility of the message sending is improved. Meanwhile, the information sending platform can also realize the reserved sending of the information by presetting the first sending time, thereby providing the flexibility of information sending.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic view of a scenario for sending a short message by a user according to an embodiment of the present application;
fig. 2 is a flowchart of a method for sending a short message of a user according to an embodiment of the present application;
fig. 3 is a flowchart of another method for sending a short message of a user according to an embodiment of the present application;
fig. 4 is a flowchart of a method for sending a user short message according to another embodiment of the present application;
fig. 5 is a flowchart of another method for sending a short message of a user according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a user short message sending apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another user short message sending apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another user short message sending apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of another user short message sending apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a user short message sending system according to an embodiment of the present application.
Detailed Description
To make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be clearly and completely described below with reference to the drawings in the present application, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the above-described drawings (if any) are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The technical solution of the present application will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
With the popularization of mobile terminals, more and more users communicate through the mobile terminals, wherein a mobile phone number is used as a code of the user to uniquely identify one user. A short message sending module is generally installed in the mobile terminal. The user can send the short message through the short message sending module and realize the directional sending of the short message through the mobile phone number of the receiver.
In practical use, besides the user sending the short message by using the mobile terminal, the user may also send the short message by using a third party platform. For example, the mobile phone is in an accident situation of no power, no belt, being stolen, etc. At this time, unless the user uses a new mobile terminal to send the short message after replacing the SMI card with the mobile terminal, the user cannot use the identification code of the user to send the short message. The identification code of the user is the mobile phone number of the user. Or, when the user needs to perform services which are not supported by the mobile terminal, such as batch sending of short messages, timed sending of short messages, and the like, the user may also send the short messages through the third-party platform.
When a receiver receives a short message sent by a third-party platform, the sender information of the short message is usually the sending number of the third-party platform. When the recipient terminal is provided with a filtering function, the short message sent by the third-party platform can be identified as a spam short message and filtered.
In practical use, the short message needs to be forwarded through the information server. When the mobile terminal sends the short message to the mobile terminal, the information server acquires the short message sent by the sender terminal. The information server can realize the verification of the identity of the sender according to the sender identification code and the sender terminal information contained in the short message, further forward the short message to the receiver terminal and realize the charging of the service. However, in the short message sent by the third party platform, the information server cannot realize the verification of the sender through the sender identification code and the third party platform information.
In order to solve the problems, the application provides a method, a device and a system for sending a user short message. And the information sending platform generates information to be sent according to the sending information input by the user and then sends the information to be sent to the information server. In order to ensure that the information server can forward the information according to the recipient identification code and the sender identification code, the application provides three optimization modes:
in the first mode, before the information sending platform sends the information to be sent to the information server, the information sending platform acquires authentication information. The authentication information is a parameter which is determined by the information server according to the identification code of the sender and is used for authenticating the identity of the sender. The information sending platform sends the authentication information to an information server, so that the information server considers the information sending platform as a sender terminal. When the information server receives the information to be sent from the information sending platform, the information server considers that the information comes from the sender terminal, and then the information server forwards the information to be sent.
And in the second mode, a first gateway can be arranged between the information server and the information sending platform. The first gateway can set a gateway port number, so that the information to be sent forwarded by the first gateway includes a short message port number. Meanwhile, the information server can be set according to the first gateway, so that the short message to be sent including the short message port number can be analyzed in the information server, and the acquisition of the sender identification code and the forwarding of the information are realized.
And in a third mode, when a second gateway is arranged between the information server and the information sending platform, the second gateway can be configured. When the second gateway converts the information to be sent, the second gateway also converts the format of the information to be sent, so that the format of the information to be sent is consistent with the format of the short message directly sent by the terminal. When the information server receives the information to be sent, the information server considers that the information comes from the sender terminal, and then the information server forwards the information to be sent.
For example, the user wants to send a birthday blessing message to a friend at a specific point in time. If the user waits until the birthday day and then sends the short message to the friend, the user may forget. For this situation, the user may input the content of the blessing message, the phone number of the user, the phone number of the friend, and the preset time in the information sending platform in advance. When the preset time is reached, the information sending platform sends the short message to the receiver terminal in one of the three modes.
Or, when the mobile phone of the user is lost, the user needs to send a short message to a friend. At this time, the user can open the information sending platform and input the short message content, the mobile phone number of the user and the mobile phone numbers of the friends. The information sending platform sends the short message to the receiver terminal in one of the three modes.
With the development of mobile terminals, more and more internet accounts can be bound with the mobile terminals. Once the mobile terminal has the fault, the internet accounts may also be out of normal use. Therefore, the technical scheme of the application can be applied to the ciba internet account, such as the QQ and the mailbox, while solving the problems for the mobile terminal and the short message.
Fig. 1 is a schematic view illustrating a scenario for sending a short message by a user according to an embodiment of the present application. As shown in fig. 1, the scene includes an information sending platform, an information server and a recipient terminal.
The information sending platform is a platform for inputting information to be sent by a user. The information sending platform can be specifically an APP, a client, a WeChat applet, a webpage or other man-machine interaction modes. The information sending platform can realize interaction with a user through a terminal, and particularly, the terminal can be a mobile phone, a tablet, a computer and other terminal equipment which has a certain data processing function and can perform human-computer interaction. And after the information sending platform obtains the information to be sent, sending the information to be sent.
The information server is generally applied to mobile terminal-to-mobile terminal short message transmission. In the sending process, the information server verifies the identity of the sender according to the sender terminal information and the sender identification code. And after the information server determines the identity of the sender, the information server sends the information to be sent to the receiver terminal according to the identification code of the receiver.
And the receiver checks the information to be sent and the information of the sender through the receiver terminal.
In the present application, an information sending platform is used as an execution subject to execute the user short message sending method of the following embodiments. Specifically, the execution body may be a hardware device of the information transmission platform, or a software application in the information transmission platform, or a computer-readable storage medium on which a software application implementing the following embodiments is installed.
Fig. 2 shows a flowchart of a method for sending a short message of a user according to an embodiment of the present application. On the basis of the embodiment shown in fig. 1, as shown in fig. 2, with an information sending platform as an execution subject, the method of this embodiment may include the following steps:
s101, generating information to be sent according to sending information input by a user, wherein the sending information comprises a sender identification code, a receiver identification code and information content.
In this embodiment, the information sending platform includes a human-computer interaction interface.
In one example, the human-computer interaction interface of the information sending platform can be an interaction interface of a webpage, a WeChat applet, an APP and an application program.
And the user inputs the sending information at the appointed position of the man-machine interaction interface. The sending information at least comprises a sender identification code, a receiver identification code and information content. The transmission information may also include a first transmission time. Wherein, the sending information can comprise one or more recipient identification codes. And the first sending time is the preset sending time of the information.
After the user finishes inputting the sending information, the information sending platform obtains the sending information and generates information to be sent according to the sending information.
In an example, when the sending information includes the first time node, after the information sending platform generates the information to be sent, the executing step of the information to be sent may include:
step 1, an information sending platform obtains a first time node.
And 2, the information sending platform generates a trigger mechanism of the first time node, so that the information sending platform sends the information to be sent when reaching the first time node.
And 3, the information sending platform stores the information to be sent until the triggering mechanism of the first time node is triggered.
Because the information sending platform is a third-party platform, in order to ensure that the user does not use the information sending platform to falsely use the information sent by other people, the information sending platform needs the user to log in or carry out identity authentication before the user inputs the sent information.
In one implementation, a user may register an account with an identification code in advance, and when the user uses the account to send information, the sender identification code needs to be consistent with the identification code.
In another implementation, the user may preset authorized identification codes in the account, and when the user uses the account to send information, the user may select one of the authorized identification codes as the sender identification code.
S102, sending the information to be sent to an information server, and forwarding the information to be sent to a receiver terminal by the information server, wherein the information server realizes the forwarding of the information based on the receiver identification code and the sender identification code.
In this embodiment, the information server receives the information to be sent, which is sent by the information sending platform. And the information server forwards the information to be sent to a receiver terminal according to the receiver identification code in the information to be sent. And the receiver checks the information to be sent through the receiver terminal, wherein the sender information is the sender identification code.
The information server forwards the information to be sent based on the identification code of the receiver and the identification code of the sender. Namely, the information server determines a forwarding path of the information to be sent according to the identification code of the receiver, and realizes that the information to be sent is sent to the receiver terminal. And the information server determines the source of the information to be sent according to the sender identification code and forwards the sender identification code to the receiver terminal so that the receiver can check the source of the information to be sent.
According to the user short message sending method, the user inputs sending information at the specified position of the man-machine interaction interface. And the information sending platform acquires the sending information and generates information to be sent according to the sending information. And the information server receives the information to be sent by the information sending platform. The information server forwards the information to be sent based on the identification code of the receiver and the identification code of the sender. In the application, the information is sent through the information sending platform, so that the information sending is not limited to the mobile terminal any more, the information sending is conveniently realized when the mobile terminal cannot be used, and the flexibility of the information sending is improved. Meanwhile, the information sending platform can also realize the reserved sending of the information by presetting the first sending time, thereby providing the flexibility of information sending.
Fig. 3 is a flowchart illustrating another method for sending a short message to a user according to an embodiment of the present application. The information server is used for forwarding information to be sent. In general, the information to be transmitted forwarded by the information server is in the case of a mobile terminal to a mobile terminal. When the mobile terminal sends the information to be sent to the information server, the information server can verify the information of the mobile terminal in the information to be sent, and the identity of the sender is ensured to be reliable. The information to be sent is sent through the information sending platform, and the identity of a sender of the information to be sent cannot be verified. To solve this problem, on the basis of the embodiments shown in fig. 1 and fig. 2, as shown in fig. 3, the present application may add authentication information to implement authentication of the information to be sent, so that the information server may send the information to be sent according to the sender identification code. With the information sending platform as an execution subject, the method of this embodiment may include the following steps:
s201, generating information to be sent according to sending information input by a user, wherein the sending information comprises a sender identification code, a receiver identification code and information content.
Step S201 is similar to the step S101 in the embodiment of fig. 2, and this embodiment is not described herein again.
S202, obtaining authentication information, wherein the authentication information is a parameter which is determined by the information server according to the identification code of the sender and is used for authenticating the identity of the sender.
In this embodiment, the information sending platform sends the sender identification code to the information server. The information server generates authentication information according to the identification code of the sender and feeds back the authentication information to the information sending platform. The information sending platform acquires the authentication information.
Wherein, the authentication information comprises the identity information of the sender and the authentication parameters.
In one example, the information sending platform may further obtain the authentication information from the SIM card.
S203, sending the authentication information to the information server, and authenticating the identity information of the sender by the information server according to the authentication information.
In this embodiment, the information sending platform sends the authentication information to the information server. And after receiving the authentication information, the information server authenticates the identity information of the sender according to the identity information and the authentication parameters of the sender included in the authentication information.
And after the information server successfully authenticates the identity information of the sender, the information server confirms that the information source is the sender terminal when receiving the short message to be sent. And then, the information server forwards the information to be sent to the receiver terminal. And after the receiver receives the information to be sent, the receiver can check the identification code of the sender at the receiver terminal. Otherwise, the information server cannot forward the information to be sent.
S204, sending the information to be sent to an information server, and forwarding the information to be sent to a receiver terminal by the information server, wherein the information server realizes the forwarding of the information based on the receiver identification code and the sender identification code.
Step S204 is similar to step S102 in the embodiment of fig. 2, and details of this embodiment are not repeated here.
According to the user short message sending method, the user inputs sending information at the specified position of the man-machine interaction interface. And the information sending platform acquires the sending information and generates information to be sent according to the sending information. And the information sending platform sends the sender identification code to the information server. The information server generates authentication information according to the identification code of the sender and feeds back the authentication information to the information sending platform. The information sending platform acquires the authentication information. And the information sending platform sends the authentication information to an information server. And after receiving the authentication information, the information server authenticates the identity information of the sender according to the identity information and the authentication parameters of the sender included in the authentication information. And the information server receives the information to be sent by the information sending platform. The information server forwards the information to be sent based on the identification code of the receiver and the identification code of the sender. In the application, the identity of the information sending platform is recognized by the information server through the authentication information, so that the information sending is not limited to the mobile terminal any more, the information sending is conveniently realized when the mobile terminal cannot be used, and the flexibility of the information sending is improved.
Fig. 4 is a flowchart illustrating a method for sending a short message to a user according to another embodiment of the present application. The information server is used for forwarding information to be sent. In general, the information to be transmitted forwarded by the information server is in the case of a mobile terminal to a mobile terminal. When the mobile terminal sends the information to be sent to the information server, the information server can verify the information of the mobile terminal in the information to be sent, and the identity of the sender is ensured to be reliable. For the problem that the information to be transmitted is transmitted through the information transmission platform and cannot be verified, on the basis of the embodiments shown in fig. 1 to 3 and as shown in fig. 4, a first gateway may be added, and a corresponding gateway port number is configured in the information server according to the gateway. When the information server receives the information to be sent with the gateway port number, the identification code can be analyzed and normally forwarded. With the information sending platform as an execution subject, the method of this embodiment may include the following steps:
s301, generating information to be sent according to sending information input by a user, wherein the sending information comprises a sender identification code, a receiver identification code and information content.
Step S301 is similar to the step S101 in the embodiment of fig. 2, and this embodiment is not described herein again.
S302, obtaining a short message port number, wherein the short message port number is determined according to a gateway port number of the first gateway and the sender identification code, and the gateway port number is a parameter which is configured for the first gateway by the information server and is used for identifying the first gateway.
In this embodiment, the first gateway is installed between the information sending platform and the information server. At this time, the path to be sent from the information sending platform to the information server becomes the information sending platform-first gateway-information server.
After the information server acquires the first gateway, the information server may configure a gateway port number of the first gateway. The gateway port number is used to uniquely identify the first gateway in the information server.
The information sending platform may request the gateway port number of the first gateway from the information server. When the information sending platform needs to send the information to be sent, the information sending platform can generate a short message port number according to the sender identification code and the gateway port number of the information to be sent.
In one example, the short message port number is obtained by concatenating the gateway port number and the sender identifier.
For example, when the port number of the first gateway is 10655999 and the sender identifier is 18601109999, the information sending platform may determine that the short message port number is 1065599918601109999, which is a character string obtained by splicing the gateway port number and the sender identifier.
S303, sending the information to be sent to an information server by using the short message port number, analyzing the identification code of the sender by the information server according to the short message port number, and forwarding the information to be sent to a receiver terminal by the information server.
In this embodiment, the information sending platform sends the information to be sent by using the short message port number. And after the information server receives the information to be sent comprising the short message port number, the information server determines an information sending request according to the short message port number.
In one example, before sending the information to be sent according to the sending request, the information server may also resolve the sender identifier therein according to the information port number. The specific process can comprise the following steps:
step 1, the information server obtains the first identification code 11 of the short message port number.
And step 2, the information server determines the corresponding international area code according to the first identification code.
And 3, splicing the first identification code and the international area code by the information service to obtain an actual sender identification code.
And the information server sends the information to be sent to the receiver terminal, wherein the information to be sent comprises the information of the sender.
According to the user short message sending method, the user inputs sending information at the specified position of the man-machine interaction interface. And the information sending platform acquires the sending information and generates information to be sent according to the sending information. After the information server acquires the first gateway, the information server configures the gateway port number of the first gateway. And the information sending platform generates a short message port number according to the sender identification code of the information to be sent and the gateway port number. And the information sending platform sends the information to be sent by using the short message port number. And after the information server receives the information to be sent comprising the short message port number, the information server determines an information sending request according to the short message port number. And the information server sends the information to be sent to the receiver terminal, wherein the information to be sent comprises the information of the sender. According to the method and the device, the information sending is not limited to the mobile terminal any more through the gateway port number and the sender information of the first gateway, the information sending is conveniently achieved when the mobile terminal cannot be used, and the flexibility of the information sending is improved. Meanwhile, the information sending platform can also realize the reserved sending of the information by presetting the first sending time, thereby providing the flexibility of information sending.
Fig. 5 is a flowchart illustrating a further method for sending a short message to a user according to an embodiment of the present application. The information server is used for forwarding information to be sent. In general, the information to be transmitted forwarded by the information server is in the case of a mobile terminal to a mobile terminal. When the mobile terminal sends the information to be sent to the information server, the information server can verify the information of the mobile terminal in the information to be sent, and the identity of the sender is ensured to be reliable. For the problem that the information to be transmitted is transmitted through the information transmission platform, and the information to be transmitted received by the information server has a format difference, on the basis of the embodiments shown in fig. 1 to 4, as shown in fig. 5, a second gateway may be added in the present application, and the format of the information to be transmitted is converted through the second gateway, so that the information to be transmitted conforms to the required format of the information server. With the information sending platform as an execution subject, the method of this embodiment may include the following steps:
s401, generating information to be sent according to sending information input by a user, wherein the sending information comprises a sender identification code, a receiver identification code and information content.
Step S401 is similar to the step S101 in the embodiment of fig. 2, and this embodiment is not described herein again.
S402, configuring a second gateway, wherein the second gateway is used for converting the format of the information to be sent, so that the format of the information to be sent is consistent with the format of the short message directly sent by the terminal.
In this embodiment, the second gateway is installed between the information sending platform and the information server. At this time, the path to be sent from the information sending platform to the information server becomes the information sending platform-second gateway-information server.
The second gateway needs to be configured before receiving the information to be sent, which is sent by the information sending platform. The configuration is used to perform format conversion on the information to be sent received by the second gateway.
After the second gateway completes configuration, after the second gateway receives the information to be sent by the information sending platform, the second gateway converts the format of the information to be sent, so that the format of the information to be sent is consistent with the format of the information to be sent by the mobile terminal.
And S403, sending the information to be sent to a gateway, converting the format of the information to be sent by the gateway, sending the information to be sent after the format is converted to an information server, and forwarding the information to be sent to a receiver terminal by the information server.
In this embodiment, the second gateway sends the information to be sent after format conversion to the information server. Because the format of the information to be sent is consistent with the format of the information to be sent by the mobile terminal, the information server considers that the information to be sent comes from the mobile terminal. The information server forwards the information to be sent to the receiver terminal.
According to the user short message sending method, the user inputs sending information at the specified position of the man-machine interaction interface. And the information sending platform acquires the sending information and generates information to be sent according to the sending information. And after receiving the information to be sent by the information sending platform, the second gateway converts the format of the information to be sent, so that the format of the information to be sent is consistent with the format of the information to be sent by the mobile terminal. And the second gateway sends the information to be sent after the format conversion to an information server. The information server forwards the information to be sent to the receiver terminal. In the application, by configuring the format conversion mechanism of the second gateway, information transmission is not limited to the mobile terminal any more, so that the method and the device are convenient for realizing information transmission when the mobile terminal cannot be used, and the flexibility of information transmission is improved. Meanwhile, the information sending platform can also realize the reserved sending of the information by presetting the first sending time, thereby providing the flexibility of information sending.
Fig. 6 is a schematic structural diagram of a user short message sending apparatus according to an embodiment of the present application, and as shown in fig. 6, the user short message sending apparatus 10 according to this embodiment is used to implement an operation corresponding to an information sending platform in any one of the method embodiments, where the user short message sending apparatus 10 according to this embodiment includes:
the generating module 11 is configured to generate a to-be-sent message according to a sending message input by a user, where the sending message includes a sender identification code, a recipient identification code, and a message content.
And the sending module 12 is used for sending the information to be sent to an information server, and the information server forwards the information to be sent to a receiver terminal, wherein the information server realizes the forwarding of the information based on the receiver identification code and the sender identification code.
In one example, the apparatus further includes a reservation module 13, configured to acquire a first time node, where the first time node is a sending time of information to be sent, and the sending time is preset by a user. And when the first time node is reached, sending the information to be sent to a receiver terminal.
In one example, the interaction mode of the information sending platform includes at least one mode of obtaining a webpage, a WeChat applet, an APP and an application program.
The user short message sending apparatus 10 provided in the embodiment of the present application may implement the foregoing method embodiment, and for specific implementation principles and technical effects, reference may be made to the foregoing method embodiment, which is not described herein again.
Fig. 7 is a schematic structural diagram of another user short message sending apparatus according to an embodiment of the present application, and based on the embodiment shown in fig. 6, as shown in fig. 7, the user short message sending apparatus 10 of this embodiment is used for implementing an operation corresponding to an information sending platform in any one of the method embodiments, where the user short message sending apparatus 10 of this embodiment further includes:
the first obtaining module 14 is configured to obtain authentication information, where the authentication information is a parameter that is determined by the information server according to the sender identifier and is used for authenticating the identity of the sender.
And the authentication module 15 is used for sending authentication information to the information server, and the information server authenticates the identity information of the sender according to the authentication information.
The user short message sending apparatus 10 provided in the embodiment of the present application may implement the foregoing method embodiment, and for specific implementation principles and technical effects, reference may be made to the foregoing method embodiment, which is not described herein again.
Fig. 8 is a schematic structural diagram of another user short message sending device according to an embodiment of the present application, and based on the embodiments shown in fig. 6 and 7, as shown in fig. 8, the user short message sending device 10 of this embodiment is used to implement an operation corresponding to an information sending platform in any one of the method embodiments, where the user short message sending device 10 of this embodiment further includes:
and the second obtaining module 16 is configured to obtain a short message port number, where the short message port number is determined according to the gateway port number of the first gateway and the sender identifier, and the gateway port number is a parameter configured by the information server for the first gateway and used for identifying the first gateway.
The sending module 12 is further configured to send the message to be sent to the information server by using the short message port number, the information server analyzes the sender identifier according to the short message port number, and the information server forwards the message to be sent to the recipient terminal.
In one example, the short message port number is obtained by concatenating the gateway port number and the sender identifier.
In one example, the sender identification code is analyzed according to the short message port number, wherein the first identification code is the last 11 obtained by the short message port number. And splicing the international area code of the country of the first identification code and the first identification code to obtain the sender identification code.
The user short message sending apparatus 10 provided in the embodiment of the present application may implement the foregoing method embodiment, and for specific implementation principles and technical effects, reference may be made to the foregoing method embodiment, which is not described herein again.
Fig. 9 shows a schematic structural diagram of another user short message sending device according to an embodiment of the present application, and based on the embodiments shown in fig. 6 to 8, as shown in fig. 9, the user short message sending device 10 of this embodiment is used to implement an operation corresponding to an information sending platform in any one of the above method embodiments, where the user short message sending device 10 of this embodiment includes:
and the configuration module 17 is configured to configure a second gateway, where the second gateway is configured to convert the format of the information to be sent, so that the format of the information to be sent is consistent with the format of the short message directly sent by the terminal.
The sending module 12 is further configured to send the information to be sent to the gateway, where the gateway converts the format of the information to be sent and sends the information to be sent after the format conversion to the information server, and the information server forwards the information to be sent to the recipient terminal.
The user short message sending apparatus 10 provided in the embodiment of the present application may implement the foregoing method embodiment, and for specific implementation principles and technical effects, reference may be made to the foregoing method embodiment, which is not described herein again.
Fig. 10 is a schematic structural diagram illustrating a user short message sending system according to an embodiment of the present application. As shown in fig. 10, the user short message sending system 20 includes: an information delivery platform 21 and an information server 22.
The information sending platform 21 is configured to execute the method for sending the user short message according to any one of claims 1 to 8.
And the information server 22 is used for realizing the forwarding of the information to be sent according to the receiver identification code and the sender identification code.
Optionally, a gateway 23 is also included.
In one example, the gateway 23 may register a gateway port number in the information server 22 so that a short message including the gateway port number transmitted through the gateway 23 can be parsed in the information server 22.
In another example, the gateway 23 is used to convert the format of the information to be transmitted so that it can simulate the short message transmitted by the port.
The user short message sending system 20 provided in this embodiment can be used to execute the user short message sending method described above, and its implementation manner and technical effect are similar, and details are not described here again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit. The unit formed by the modules can be realized in a hardware form, and can also be realized in a form of hardware and a software functional unit.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor to execute some steps of the methods according to the embodiments of the present application.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. Which when executed performs steps comprising the method embodiments described above. And the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same. Although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (9)

1. A method for sending a user short message is characterized in that the method comprises the following steps:
the information sending platform generates information to be sent according to sending information input by a user, wherein the sending information comprises a sender identification code, a receiver identification code and information content;
the information sending platform sends the information to be sent to an information server so that the information server sends the information to be sent to a receiver terminal according to the receiver identification code in the information to be sent;
before the sending the information to be sent to the information server, the method further includes:
an information sending platform acquires a gateway port number of a first gateway from an information server, wherein the gateway port number is a parameter which is configured for the first gateway by the information server and is used for identifying the first gateway;
the information sending platform determines a short message port number according to the sender identification code and the gateway port number in the information to be sent;
the sending the information to be sent to an information server includes:
and the information sending platform sends the information to be sent to the information server according to the short message port number so that the information server analyzes the sender identification code according to the short message port number and sends the information to be sent to a receiver terminal according to the sender identification code.
2. The method of claim 1, wherein before sending the information to be sent to an information server, the method further comprises:
acquiring authentication information, wherein the authentication information is a parameter which is determined by the information server according to the identification code of the sender and is used for authenticating the identity of the sender;
and sending the authentication information to the information server, and authenticating the identity information of the sender by the information server according to the authentication information.
3. The method of claim 1, wherein the short message port number is obtained by concatenating the gateway port number and the sender identification code.
4. The method of claim 1, wherein resolving the sender identifier according to the short message port number comprises:
acquiring a first identification code at the back 11 of the short message port number;
and splicing the international area code of the country to which the first identification code belongs and the first identification code to obtain the sender identification code.
5. The method of claim 1, wherein before sending the information to be sent to an information server, the method further comprises:
configuring a second gateway, wherein the second gateway is used for converting the format of the information to be sent, so that the format of the information to be sent is consistent with the format of a short message directly sent by a terminal;
the sending the information to be sent to an information server includes:
and sending the information to be sent to the gateway, converting the format of the information to be sent by the gateway, sending the information to be sent after the format is converted to an information server, and forwarding the information to be sent to a receiver terminal by the information server.
6. The method according to any one of claims 1-5, further comprising:
acquiring a first time node, wherein the first time node is the sending time of the information to be sent preset by a user;
and when the first time node is reached, sending the information to be sent to a receiver terminal.
7. The method according to any one of claims 1 to 5, wherein the interactive mode of the information sending platform includes at least one of a webpage, a WeChat applet, an APP, and an application.
8. A user short message sending device is characterized in that the device is applied to an information sending platform in a user short message sending system, and the device comprises:
the generating module is used for generating information to be sent according to sending information input by a user, wherein the sending information comprises a sender identification code, a receiver identification code and information content;
the sending module is used for sending the information to be sent to an information server so that the information server sends the information to be sent to a receiver terminal according to the receiver identification code in the information to be sent;
before the sending module sends the information to be sent to the information server, the sending module is further configured to:
an information sending platform acquires a gateway port number of a first gateway from an information server, wherein the gateway port number is a parameter which is configured for the first gateway by the information server and is used for identifying the first gateway;
the information sending platform determines a short message port number according to the sender identification code and the gateway port number in the information to be sent;
the sending module is further configured to:
and sending the information to be sent to the information server by using the short message port number so that the information server analyzes the sender identification code according to the short message port number and sends the information to be sent to a receiver terminal according to the sender identification code.
9. A user short message sending system is characterized in that the system comprises: the system comprises an information sending platform and an information server;
an information sending platform, configured to execute the method for sending the user short message according to any one of claims 1 to 7;
and the information server is used for realizing the forwarding of the information to be sent according to the recipient identification code and the sender identification code.
CN202011293195.5A 2020-11-18 2020-11-18 User short message sending method, device and system Active CN112423249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011293195.5A CN112423249B (en) 2020-11-18 2020-11-18 User short message sending method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011293195.5A CN112423249B (en) 2020-11-18 2020-11-18 User short message sending method, device and system

Publications (2)

Publication Number Publication Date
CN112423249A CN112423249A (en) 2021-02-26
CN112423249B true CN112423249B (en) 2022-02-01

Family

ID=74773027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011293195.5A Active CN112423249B (en) 2020-11-18 2020-11-18 User short message sending method, device and system

Country Status (1)

Country Link
CN (1) CN112423249B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018349A (en) * 2006-02-09 2007-08-15 艾岩 A method for sending the SMS of the mobile phone number to the Internet program
CN102685705A (en) * 2012-05-21 2012-09-19 中国联合网络通信集团有限公司 Short message forwarding method, short message forwarding platform and short message monitor
CN102833709A (en) * 2012-08-16 2012-12-19 北京小米科技有限责任公司 Short message sending method, mobile terminal, server and system
EP2603020A1 (en) * 2010-08-05 2013-06-12 Huawei Technologies Co., Ltd. Method, server, terminal for displaying short message icon
CN105813032A (en) * 2016-03-11 2016-07-27 中国联合网络通信集团有限公司 Information sending method and server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101378530A (en) * 2007-08-30 2009-03-04 乐金电子(中国)研究开发中心有限公司 Method and system for transmitting and receiving short message, and short message server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018349A (en) * 2006-02-09 2007-08-15 艾岩 A method for sending the SMS of the mobile phone number to the Internet program
EP2603020A1 (en) * 2010-08-05 2013-06-12 Huawei Technologies Co., Ltd. Method, server, terminal for displaying short message icon
CN102685705A (en) * 2012-05-21 2012-09-19 中国联合网络通信集团有限公司 Short message forwarding method, short message forwarding platform and short message monitor
CN102833709A (en) * 2012-08-16 2012-12-19 北京小米科技有限责任公司 Short message sending method, mobile terminal, server and system
CN105813032A (en) * 2016-03-11 2016-07-27 中国联合网络通信集团有限公司 Information sending method and server

Also Published As

Publication number Publication date
CN112423249A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN104144058B (en) A kind of Information Authentication method matched based on sound wave
WO2014190789A1 (en) Method, device, client and server for interaction
CN104798389B (en) instant messaging system and method
CN107438054B (en) Method and system for realizing menu information control based on public platform
CN108055238A (en) A kind of account verification method and system
CN105139204A (en) Method and system for carrying out security authentication
CN106817347A (en) Third-party application authentication method, certificate server, terminal and management server
WO2023050524A1 (en) Im-based user identity authentication method and apparatus, and server and storage medium
CN107438004A (en) System and method for dual factor anthentication
CN104703151A (en) Client dynamic password authentication method, device and terminal
CN102892091A (en) Scheme for acquiring own mobile phone number
WO2018013511A1 (en) System and method to use a mobile number in conjunction with a non-telephony internet connected device
CN112235177B (en) Method, device and system for sending authentication information through instant messaging
KR20120039536A (en) Method for performing ussd services in a telecommunications network
CN104753884A (en) Method, system and server for verifying network services
EP3079329B1 (en) Terminal application registration method, device and system
CN103947173A (en) Method and system for managing the communication between two users
CN105306577A (en) Data sharing system and method between handheld devices based on APP
CN101500235B (en) Off-line authentication method, off-line authentication system and mobile terminal
CN105207777A (en) Network information verification method and apparatus
CN105719130A (en) Payment verification method, payment verification device and payment verification system
CN112423249B (en) User short message sending method, device and system
CN104967605A (en) Privacy protection method and privacy protection device
KR101774845B1 (en) System and method of Safe Message Advising
CN114584971A (en) Account registration method and device, electronic equipment and storage medium

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