CN113068137B - Message sending method, corresponding device, system and storage medium - Google Patents

Message sending method, corresponding device, system and storage medium Download PDF

Info

Publication number
CN113068137B
CN113068137B CN201911274482.9A CN201911274482A CN113068137B CN 113068137 B CN113068137 B CN 113068137B CN 201911274482 A CN201911274482 A CN 201911274482A CN 113068137 B CN113068137 B CN 113068137B
Authority
CN
China
Prior art keywords
message
downlink
uplink
short message
gateway
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
CN201911274482.9A
Other languages
Chinese (zh)
Other versions
CN113068137A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201911274482.9A priority Critical patent/CN113068137B/en
Publication of CN113068137A publication Critical patent/CN113068137A/en
Application granted granted Critical
Publication of CN113068137B publication Critical patent/CN113068137B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a message sending method, a corresponding device, a system and a storage medium. The message sending method is applied to a service management platform and comprises the following steps: and authenticating an uplink instruction forwarded by the short message gateway from the user, if the feature code is wrong, sending a user sequence and an uplink authentication success response message to the short message gateway, authenticating a downlink message forwarded by the short message gateway from the service providing platform, and if the downlink authentication is successful, sending the downlink authentication success response message to the short message gateway, so that the short message gateway sends the downlink message to the user according to the downlink authentication success response message. Compared with the prior art, when the feature code is wrong, the service management platform still returns the uplink authentication success response message to the short message gateway so as to forward the uplink instruction and the user sequence to the service providing platform through the short message gateway, and the service providing platform determines the downlink message corresponding to the uplink instruction, so that the accuracy of the downlink message is ensured.

Description

Message sending method, corresponding device, system and storage medium
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a message sending method, a corresponding device, a system and a storage medium.
Background
In the value added service system, when the uplink message of the user is received, the corresponding downlink message needs to be provided. The uplink message is that the user actively sends an instruction to the relevant access code through a short message, for example, a certain business service is customized or ordered through sending A to 1008611. The downstream message is a response to the user's upstream message, such as a request, a secondary acknowledgement message for the subscription, or a tariff alert, etc.
In the current value-added service system, when an uplink instruction corresponding to an uplink message of a user has an error, a processing mode is generally adopted to remind the user that the uplink instruction has the error according to a fixed format, and the processing mode can meet the requirement of having a downlink corresponding to the uplink of the user, but cannot provide more accurate information for the user to help the user to correct the error due to the fixed reminding mode.
Disclosure of Invention
The embodiment of the application provides a message sending method, a corresponding device, a system and a storage medium, and when an uplink message of a user is wrong, more accurate downlink messages can be provided for the user.
In a first aspect, an embodiment of the present application provides a message sending method, which is applied to a service management platform, where the method includes:
authenticating an uplink instruction forwarded by a short message gateway from a user, wherein the uplink instruction comprises a feature code and an access code;
if the feature code is wrong, a user sequence and an uplink authentication success response message are sent to the short message gateway, so that the short message gateway sends the uplink instruction and the user sequence to a service providing platform according to the uplink authentication success response message;
authenticating the downlink message forwarded by the short message gateway from the service providing platform;
if the downlink authentication is successful, a downlink authentication success response message is sent to the short message gateway, so that the short message gateway sends the downlink message to the user according to the downlink authentication success response message.
In a second aspect, an embodiment of the present application further provides a message sending method, which is applied to a service providing platform, where the method includes:
receiving an uplink instruction and a user sequence sent by a short message gateway, wherein the user sequence is generated according to the message sending method of the first aspect;
and forming a downlink message corresponding to the uplink instruction according to the uplink instruction, the user sequence and the current service information, and sending the downlink message to a service management platform through the short message gateway.
In a third aspect, an embodiment of the present application further provides a message sending device, configured to be disposed on a service management platform, where the device includes:
the uplink instruction authentication module is used for authenticating an uplink instruction from a user forwarded by the short message gateway, wherein the uplink instruction comprises a feature code and an access code;
the first message sending module is used for sending a user sequence and an uplink authentication success response message to the short message gateway if the feature code is wrong, so that the short message gateway sends the uplink instruction and the user sequence to a service providing platform according to the uplink authentication success response message;
the downlink message authentication module is used for authenticating the downlink message forwarded by the short message gateway from the service providing platform;
and the second message sending module is used for sending a downlink authentication success response message to the short message gateway if the downlink authentication is successful, so that the short message gateway sends the downlink message to the user according to the downlink authentication success response message.
In a fourth aspect, an embodiment of the present application further provides a message sending device, provided in a service providing platform, where the device includes:
the information receiving module is used for receiving an uplink instruction and a user sequence sent by the short message gateway, wherein the user sequence is generated according to the message sending method of the first aspect;
and the downlink message generating module is used for forming a downlink message corresponding to the uplink instruction according to the uplink instruction, the user sequence and the current service information, and sending the downlink message to the service management platform through the short message gateway.
In a fifth aspect, embodiments of the present application further provide a messaging system, including: the system comprises a short message gateway, a service management platform and a service providing platform, wherein the short message gateway is respectively in communication connection with the service management platform and the service providing platform;
the short message gateway is used for sending an uplink instruction from a user to the service management platform and sending a downlink message from the service providing platform to the service management platform, wherein the uplink instruction comprises a feature code and an access code;
the service management platform is used for authenticating the uplink instruction, and if the feature code is wrong, the service management platform sends a user sequence and an uplink authentication success response message to the short message gateway so that the short message gateway sends the uplink instruction and the user sequence to the service providing platform according to the uplink authentication success response message;
the service providing platform is used for forming a downlink message according to the received uplink instruction and the user sequence and sending the downlink message to the service management platform through the short message gateway.
In a sixth aspect, embodiments of the present application further provide a storage medium having stored thereon a computer program that, when executed by a corresponding platform, implements the messaging method according to the first aspect or the messaging method according to the second aspect.
The embodiment of the application provides a message sending method, a corresponding device, a system and a storage medium, wherein a service management platform authenticates an uplink instruction from a user forwarded by a short message gateway, if a feature code is wrong, a user sequence and an uplink authentication success response message are sent to the short message gateway, so that the short message gateway sends the uplink instruction and the user sequence to a service providing platform according to the uplink authentication success response message, authenticates a downlink message forwarded by the short message gateway from the service providing platform, and if the downlink authentication is successful, sends the downlink authentication success response message to the short message gateway, so that the short message gateway sends the downlink message to the user according to the downlink authentication success response message. Compared with the prior art, when the feature code is wrong, the service management platform still returns the uplink authentication success response message to the short message gateway so as to forward the uplink instruction and the user sequence to the service providing platform through the short message gateway, and the service providing platform determines the downlink message corresponding to the uplink instruction, so that the accuracy of the downlink message is ensured.
Drawings
Fig. 1 is a flowchart of a message sending method applied to a service management platform according to an embodiment of the present application;
fig. 2 is a flowchart of another message sending method applied to a service management platform according to an embodiment of the present application;
fig. 3 is a flowchart of a message sending method applied to a service providing platform according to an embodiment of the present application;
fig. 4 is a block diagram of a message sending device provided in a service management platform according to an embodiment of the present application;
fig. 5 is a block diagram of a message sending device provided in a service providing platform according to an embodiment of the present application;
fig. 6 is a block diagram of a message sending system according to an embodiment of the present application;
fig. 7 is a schematic diagram of a message sending process according to an embodiment of the present application.
Detailed Description
The present application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present application are shown in the drawings. Furthermore, embodiments and features of embodiments in this application may be combined with each other without conflict.
Fig. 1 is a flowchart of a message sending method applied to a service management platform, where the embodiment is applicable to a case of sending a downlink message to a user to remind the user when an uplink instruction has an error in a value added service, and the method may be performed by a message sending device, and the device may be implemented in a software and/or hardware manner and integrated in the service management platform, and referring to fig. 1, the method includes the following steps:
s110, authenticating an uplink instruction from the user forwarded by the short message gateway.
The uplink instruction comprises a feature code and an access code. The access code may specifically correspond to a product of a service providing platform, the feature code is an identification code corresponding to a specific operation of the product, for example, a corresponding identification code of ordering, unsubscribing, ordering, etc., and different operations correspond to different identification codes. Illustratively, a through 1008611 are transmitted, where a is referred to as a signature code and 1008611 is referred to as an access code. The short message gateway (Short Message Gateway, SMG) is configured to forward an uplink instruction from the user to the service management platform. When a user needs to order, order or unsubscribe a certain product, an uplink instruction can be sent through a short message. And the short message gateway receives the uplink instruction and forwards the uplink instruction to the service management platform, and the service management platform authenticates the uplink instruction and determines whether the uplink instruction has errors.
Optionally, the service management platform analyzes the received uplink instruction to obtain the corresponding feature code and the access code. And matching the feature code and the access code with the pre-stored feature code and the access code so as to determine whether the uplink instruction has an error.
And S120, if the feature code is wrong, a user sequence and an uplink authentication success response message are sent to the short message gateway, so that the short message gateway sends the uplink instruction and the user sequence to a service providing platform according to the uplink authentication success response message.
Specifically, if only the feature code is wrong, the service management platform generates a sequence code which uniquely identifies the uplink instruction and the user number corresponding to the user, wherein the user number is the mobile phone number of the user for sending the uplink instruction. The sequence code can be generated randomly or according to the uplink instruction and the user number. When the conventional mode determines that the feature code is wrong, the service management platform returns an uplink authentication failure response message to the short message gateway, the short message gateway terminates the flow after receiving the uplink failure response message, and the service management platform actively issues a downlink message with a fixed format, so that the accuracy of the downlink message is lower, and the requirement of a user cannot be met. Therefore, when only the feature code error is determined, the embodiment still returns an uplink authentication success response message to the short message gateway to instruct the short message gateway to continue to execute the subsequent flow, and sends the uplink instruction and the user sequence to the service providing platform.
The service providing platform may also be called a service provider, where access codes corresponding to different service providers are different, and the corresponding service provider may be determined according to the access codes. The service provider can determine the downlink message according to the received uplink instruction and the user sequence by combining the service condition of the service provider, thereby realizing the diversity of the downlink message. For example, the service providing platform can be used for fuzzy matching of the product closest to the feature code and the access code in the product library according to the feature code and the access code and sending the product closest to the feature code and the access code to the user as a downlink message, or sending the product mainly popularized at present and the corresponding feature code and the access code to the user as the downlink message, thereby not only meeting the requirements of the user, but also promoting the service development.
And S130, authenticating the downlink message forwarded by the short message gateway from the service providing platform.
Similar to the upstream instruction, downstream messages also require authentication by the service management platform before being sent to the user. Specifically, the service providing platform sends the generated downlink message to the short message gateway, and forwards the downlink message to the service management platform through the short message gateway, and the service management platform authenticates the downlink message and determines the validity of the downlink message. Optionally, the service management platform may determine whether an uplink record of the user exists according to the user number and the user sequence in the downlink message, that is, whether a corresponding uplink instruction exists, if so, the downlink message is considered legal, the downlink authentication is successful, otherwise, the downlink authentication is illegal, and the downlink authentication fails.
And S140, if the downlink authentication is successful, sending a downlink authentication success response message to the short message gateway, so that the short message gateway sends the downlink message to the user according to the downlink authentication success response message.
Specifically, if the service management platform determines that the downlink message is legal, a response message of successful downlink authentication is returned to the short message gateway. And after receiving the downlink authentication success message, the short message gateway sends the downlink message sent by the service providing platform to the user. Otherwise, the service management platform returns a downlink authentication failure response message to the short message gateway, and the short message gateway stops sending the downlink message to the user after receiving the downlink authentication failure response message. Optionally, after the time is set, the service management platform may actively initiate a downlink message in a fixed format to the user.
The embodiment of the application provides a message sending method, which is applied to a service management platform, wherein the service management platform authenticates an uplink instruction from a user forwarded by a short message gateway, if a feature code is wrong, a user sequence and an uplink authentication success response message are sent to the short message gateway, so that the short message gateway sends the uplink instruction and the user sequence to a service providing platform according to the uplink authentication success response message, authenticates a downlink message forwarded by the short message gateway from the service providing platform, and if the downlink authentication is successful, sends the downlink authentication success response message to the short message gateway, so that the short message gateway sends the downlink message to the user according to the downlink authentication success response message. Compared with the prior art, when the feature code is wrong, the service management platform still returns the uplink authentication success response message to the short message gateway so as to forward the uplink instruction and the user sequence to the service providing platform through the short message gateway, and the service providing platform determines the downlink message corresponding to the uplink instruction, so that the accuracy of the downlink message is ensured.
Fig. 2 is a flowchart of another message sending method applied to a service management platform according to an embodiment of the present application, where the embodiment is optimized based on the foregoing embodiment, and referring to fig. 2, the method includes the following steps:
s210, analyzing the received uplink instruction to obtain the feature code and the access code.
For the uplink instruction, when the uplink instruction arrives at the short message gateway, the short message gateway needs to be forwarded to the service management platform, and the service management platform performs verification. The short message gateway in this embodiment sends the uplink command according to a certain format or standard. The service management platform analyzes the received uplink instruction to obtain the corresponding feature code and access code, and the verification of the feature code and the access code is completed. The embodiment is not limited to a specific format or standard and parsing process.
S220, searching an authentication information table, and determining authentication results of the feature codes and the access codes.
The authentication information table is used for storing the association relation between the access codes and the corresponding feature codes. Specifically, the service management platform compares the obtained access code and the feature code with the access code and the feature code stored in the authentication information table respectively, so as to determine whether the access code and the feature code are wrong.
S230, whether the feature code or the access code is wrong, if the feature code is wrong, S240 is executed, and if the access code is wrong, S290 is executed.
S240, sending a user sequence and an uplink authentication success response message to the short message gateway, so that the short message gateway sends the uplink instruction and the user sequence to a service providing platform according to the uplink authentication success response message.
S250, authenticating the downlink message forwarded by the short message gateway from the service providing platform.
For the downlink message, when the downlink message arrives at the short message gateway, the short message gateway is also required to be forwarded to the service management platform, and the service management platform is used for checking so as to ensure the safety and accuracy of the downlink message.
Optionally, the service management platform may authenticate the downlink message of the service providing platform by:
determining identification information of a service providing platform corresponding to the downlink message according to a user sequence carried in the downlink message and a user number corresponding to the user sequence;
if the identification information of the service providing platform corresponding to the downlink message is consistent with the identification information of the service providing platform corresponding to the uplink instruction, determining that the downlink authentication is successful; otherwise, the downlink authentication fails.
The downlink message comprises information such as a user sequence, a user number corresponding to the user sequence and the like, and the service management platform searches a cached uplink instruction according to the user sequence and the user number, if the uplink instruction exists, the downlink authentication is considered to be successful, otherwise, the downlink authentication fails. Optionally, when searching whether the uplink instruction exists, whether the identification information of the service providing platform corresponding to the uplink instruction is consistent with the identification information of the service providing platform corresponding to the downlink message can be compared, if so, the uplink instruction corresponding to the downlink message is considered to exist, otherwise, the uplink instruction corresponding to the downlink message is considered not to exist. The identification information of the service providing platform corresponding to the uplink instruction can be determined according to the access code in the uplink instruction.
S260, whether the downlink authentication is successful, if yes, executing S270, otherwise, executing S280.
S270, sending a downlink authentication success response message to the short message gateway, so that the short message gateway sends the downlink message to the user according to the downlink authentication success response message.
If the downlink message authentication is successful, the service management platform returns a downlink authentication success response message to the short message gateway, so that the short message gateway forwards the downlink message sent by the service providing platform to the user according to the downlink authentication success response message. Optionally, the sms gateway may send the downlink message to the user in a non-charging manner.
S280, sending a downlink authentication failure response message to the short message gateway, and sending a downlink message with a fixed format to the short message gateway after a set time so that the short message gateway sends the downlink message with the fixed format to the user.
If the downlink message authentication fails, the service management platform returns a downlink authentication failure response message to the short message gateway so as to inform the short message gateway to stop forwarding the downlink message sent by the service providing platform to the user. In order to meet the requirement that the uplink instruction corresponds to the downlink message, the service management platform actively transmits the downlink message with the fixed format after the set time, and forwards the downlink message to the user through the short message gateway. The embodiment is not limited in the size of the set time.
S290, sending an uplink authentication failure response message to the short message gateway, forming a downlink message based on the wrong access code, and sending the downlink message to the user through the short message gateway.
If the access code is wrong, the service management platform directly returns an uplink authentication failure response message to the short message gateway, and forwards the prompt message of the access code error as a downlink message to the user through the short message gateway, so that the user corrects the access code in time.
When the feature code error is determined, the message sending method provided by the embodiment of the application still returns the uplink authentication success response message to the short message gateway so as to instruct the short message gateway to continue to execute the subsequent forwarding operation.
Fig. 3 is a flowchart of a message sending method applied to a service providing platform according to an embodiment of the present application, and referring to fig. 3, the method includes the following steps:
s310, receiving an uplink instruction and a user sequence sent by the short message gateway.
The user sequence is generated according to the message sending method applied to the service management platform in the embodiment.
S320, forming a downlink message corresponding to the uplink instruction according to the uplink instruction, the user sequence and the current service information, and sending the downlink message to a service management platform through the short message gateway.
When only the feature code is wrong, the downlink message of the embodiment is determined by the service providing platform in combination with the current service information, so that the development of own service is promoted. Optionally, the service providing platform may send the corresponding feature code and the access code to the user according to the service information that is mainly promoted at present. And the corresponding feature code and the access code can be sent to the user according to the feature code and the access code in the uplink instruction, which are fuzzy matching with the nearest products in the product library, so as to meet the user requirement.
The embodiment of the application provides a message sending method which is applied to a service providing platform, and the downlink messages corresponding to different users are determined in a personalized manner according to the received uplink instructions, the user sequences and the current service information, so that the requirements of the different users are met, and the development of the service is promoted.
On the basis of the above embodiment, optionally, the service providing platform may determine the downlink message by:
determining a matching feature code corresponding to the access code and the current service information according to the current service information and the access code in the uplink instruction;
and forming a downlink message corresponding to the uplink instruction according to the access code, the matching feature code and the user sequence.
Because the access code is correct, the feature code corresponding to the current main promotion or popular service can be sent to the user according to the access code and the current service information, and the embodiment refers to the feature code corresponding to the current main promotion or popular service as the matching feature code. In addition, according to the access code, the feature code and the current service information, the feature code corresponding to the service closest to the feature code is used as a matching feature code, and a downlink message is formed by the feature code, the access code and the user sequence and sent to the user. The downlink message generated in this way not only meets the user demand, but also promotes the development of the service.
Fig. 4 is a block diagram of a message sending device provided in a service management platform according to an embodiment of the present application, where the device may execute the message sending method applied to the service management platform according to the foregoing embodiment, and referring to fig. 4, the device includes:
an uplink instruction authentication module 410, configured to authenticate an uplink instruction from a user forwarded by a short message gateway, where the uplink instruction includes a feature code and an access code;
a first message sending module 420, configured to send a user sequence and an uplink authentication success response message to the sms gateway if the feature code is wrong, so that the sms gateway sends the uplink instruction and the user sequence to a service providing platform according to the uplink authentication success response message;
a downlink message authentication module 430, configured to authenticate a downlink message forwarded by the sms gateway from the service providing platform;
and the second message sending module 440 is configured to send a downlink authentication success response message to the sms gateway if the downlink authentication is successful, so that the sms gateway sends the downlink message to the user according to the downlink authentication success response message.
The message sending device provided by the embodiment of the application is arranged on the service management platform, and is used for authenticating an uplink instruction from a user forwarded by the short message gateway, if the feature code is wrong, a user sequence and an uplink authentication success response message are sent to the short message gateway, so that the short message gateway sends the uplink instruction and the user sequence to the service providing platform according to the uplink authentication success response message, authenticates a downlink message forwarded by the short message gateway from the service providing platform, and if the downlink authentication is successful, sends the downlink authentication success response message to the short message gateway, so that the short message gateway sends the downlink message to the user according to the downlink authentication success response message. Compared with the prior art, when the feature code is wrong, the service management platform still returns the uplink authentication success response message to the short message gateway so as to forward the uplink instruction and the user sequence to the service providing platform through the short message gateway, and the service providing platform determines the downlink message corresponding to the uplink instruction, so that the accuracy of the downlink message is ensured.
Based on the above embodiment, the uplink instruction authentication module 410 is specifically configured to parse the received uplink instruction to obtain a feature code and an access code;
and searching an authentication information table, and determining authentication results of the feature codes and the access codes, wherein the authentication information table is used for storing association relations between the access codes and the corresponding feature codes.
Based on the above embodiment, the downlink message authentication module 430 is specifically configured to determine, according to a user sequence carried in the downlink message and a user number corresponding to the user sequence, identification information of a service providing platform corresponding to the downlink message;
if the identification information of the service providing platform corresponding to the downlink message is consistent with the identification information of the service providing platform corresponding to the uplink instruction, determining that the downlink authentication is successful; otherwise, the downlink authentication fails.
On the basis of the above embodiment, the device further includes: and the third message sending module is used for sending an uplink authentication failure response message to the short message gateway if the access code is wrong, forming a downlink message based on the wrong access code and sending the downlink message to the user through the short message gateway.
The message sending device provided by the embodiment of the application can execute the message sending method applied to the service management platform in the embodiment, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 5 is a block diagram of a message sending device provided in a service providing platform according to an embodiment of the present application, where the device may execute a message sending method applied to the service providing platform according to the foregoing embodiment, and referring to fig. 5, the device includes:
the information receiving module 510 is configured to receive an uplink instruction and a user sequence sent by the short message gateway, where the user sequence is generated according to the message sending method described in the foregoing embodiment;
and the downlink message generating module 520 is configured to form a downlink message corresponding to the uplink instruction according to the uplink instruction, the user sequence and the current service information, and send the downlink message to the service management platform through the short message gateway.
The embodiment of the application provides a message sending device which is arranged on a service providing platform, and the downlink messages corresponding to different users are determined in a personalized manner according to received uplink instructions, user sequences and current service information, so that the requirements of different users are met, and the development of services is promoted.
Based on the above embodiment, the downlink message generating module 520 is specifically configured to determine, according to current service information and an access code in the uplink instruction, a matching feature code corresponding to the access code and the current service information;
and forming a downlink message corresponding to the uplink instruction according to the access code, the matching feature code and the user sequence.
The message sending device provided by the embodiment of the application can execute the message sending method applied to the service providing platform in the embodiment, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 6 is a block diagram of a message sending system according to an embodiment of the present application.
Referring to fig. 6, the system includes a short message gateway 610, a service management platform 620, and a service providing platform 630, and the short message gateway 610 establishes communication connection with the service management platform 620 and the service providing platform 630, respectively;
a short message gateway 610, configured to send an uplink instruction from a user to the service management platform 62 and send a downlink message from the service providing platform 630 to the service management platform 620, where the uplink instruction includes a feature code and an access code;
the service management platform 620 is configured to authenticate the uplink instruction, and if the feature code is wrong, send a user sequence and an uplink authentication success response message to the sms gateway 610, so that the sms gateway 610 sends the uplink instruction and the user sequence to the service providing platform 630 according to the uplink authentication success response message;
the service providing platform 630 is configured to form a downlink message according to the received uplink instruction and the user sequence, and send the downlink message to the service management platform 620 through the sms gateway 610.
The message sending system provided by the embodiment of the application meets the requirement that the uplink instruction corresponds to the downlink message through interaction among the short message gateway, the service management platform and the service providing platform, overcomes the defect of fixed format of the traditional downlink message, and promotes the development of the service.
Fig. 7 is a schematic diagram of a message sending process according to an embodiment of the present application.
The user sends an uplink instruction to the short message gateway through the short message, the short message gateway forwards the uplink instruction to the service management platform, the service management platform authenticates the uplink instruction to verify the validity of the uplink instruction, if the access code is wrong, the service management platform returns an uplink authentication failure response message to the short message gateway, the access code is wrong and is used as a downlink message to be sent to the short message gateway, and the short message gateway forwards the uplink instruction to the user. If the feature code is wrong, the service management platform sends a user sequence and an uplink authentication success response message to the short message gateway, after receiving the uplink authentication success response message, the short message gateway sends an uplink instruction and the user sequence to the service providing platform, the service providing platform forms a downlink message corresponding to the uplink instruction according to the received uplink instruction, the user sequence and the current service information and sends the downlink message to the short message gateway, the short message gateway forwards the downlink message to the service management platform, the service management platform authenticates the downlink message to verify the validity of the downlink message, if the downlink authentication success response message is legal, the short message gateway returns the downlink authentication success response message, after receiving the downlink authentication success response message, the short message gateway sends the downlink message sent by the service providing platform to the user, if the downlink authentication failure response message is not legal, the short message gateway returns the downlink message with a fixed format, and the short message gateway forwards the downlink message to the user after a set time. Fig. 7 is an exemplary illustration of an error in the feature code in the authentication of the uplink message and the success of the authentication of the downlink message in the authentication of the downlink message.
The embodiment of the present application also provides a storage medium on which a computer program is stored, which when executed by a corresponding platform implements the message sending method according to the above embodiment of the present application.
Of course, the storage medium containing the computer executable instructions provided in the embodiments of the present application is not limited to the operations in the message sending method described above, but may also perform the related operations in the message sending method provided in any embodiment of the present application, and has corresponding functions and beneficial effects.
From the above description of embodiments, it will be clear to a person skilled in the art that the present application may be implemented by means of software and necessary general purpose hardware, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, etc., and include several instructions for causing a computer device (which may be a robot, a personal computer, a server, or a network device, etc.) to execute the message sending method according to the above embodiments of the present application.
Note that the above is only a preferred embodiment of the present application and the technical principle applied. Those skilled in the art will appreciate that the present application is not limited to the particular embodiments described herein, but is capable of numerous obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the present application. Therefore, while the present application has been described in connection with the above embodiments, the present application is not limited to the above embodiments, but may include many other equivalent embodiments without departing from the spirit of the present application, the scope of which is defined by the scope of the appended claims.

Claims (9)

1. A method for sending a message, applied to a service management platform, the method comprising:
authenticating an uplink instruction forwarded by a short message gateway from a user, wherein the uplink instruction comprises a feature code and an access code;
if the feature code is wrong, a user sequence and an uplink authentication success response message are sent to the short message gateway, so that the short message gateway sends the uplink instruction and the user sequence to a service providing platform according to the uplink authentication success response message; authenticating the downlink message forwarded by the short message gateway from the service providing platform;
if the downlink authentication is successful, a downlink authentication success response message is sent to the short message gateway, so that the short message gateway sends the downlink message to the user according to the downlink authentication success response message;
if the access code is wrong, an uplink authentication failure response message is sent to the short message gateway, a downlink message is formed based on the wrong access code, and the downlink message is sent to the user through the short message gateway.
2. The method of claim 1, wherein authenticating the uplink command from the user forwarded by the sms gateway comprises:
analyzing the received uplink instruction to obtain a feature code and an access code;
and searching an authentication information table, and determining authentication results of the feature codes and the access codes, wherein the authentication information table is used for storing association relations between the access codes and the corresponding feature codes.
3. The method of claim 1, wherein authenticating the downstream message forwarded by the sms gateway from the service providing platform comprises:
determining identification information of a service providing platform corresponding to the downlink message according to a user sequence carried in the downlink message and a user number corresponding to the user sequence;
if the identification information of the service providing platform corresponding to the downlink message is consistent with the identification information of the service providing platform corresponding to the uplink instruction, determining that the downlink authentication is successful; otherwise, the downlink authentication fails.
4. A message sending method, applied to a service providing platform, the method comprising:
receiving an uplink instruction and a user sequence sent by a short message gateway, wherein the user sequence is generated according to the message sending method of any one of claims 1-3;
and forming a downlink message corresponding to the uplink instruction according to the uplink instruction, the user sequence and the current service information, and sending the downlink message to a service management platform through the short message gateway.
5. The method of claim 4, wherein the forming the downlink message corresponding to the uplink instruction according to the uplink instruction, the user sequence and the current service information includes:
determining a matching feature code corresponding to the access code and the current service information according to the current service information and the access code in the uplink instruction;
and forming a downlink message corresponding to the uplink instruction according to the access code, the matching feature code and the user sequence.
6. A messaging device disposed on a service management platform, the device comprising:
the uplink instruction authentication module is used for authenticating an uplink instruction from a user forwarded by the short message gateway, wherein the uplink instruction comprises a feature code and an access code;
the first message sending module is used for sending a user sequence and an uplink authentication success response message to the short message gateway if the feature code is wrong, so that the short message gateway sends the uplink instruction and the user sequence to a service providing platform according to the uplink authentication success response message;
the downlink message authentication module is used for authenticating the downlink message forwarded by the short message gateway from the service providing platform;
the second message sending module is used for sending a downlink authentication success response message to the short message gateway if the downlink authentication is successful, so that the short message gateway sends the downlink message to the user according to the downlink authentication success response message;
and the third message sending module is used for sending an uplink authentication failure response message to the short message gateway if the access code is wrong, forming a downlink message based on the wrong access code and sending the downlink message to the user through the short message gateway.
7. A message sending device, characterized in that the device is disposed on a service providing platform, and the device comprises:
the information receiving module is used for receiving an uplink instruction and a user sequence sent by the short message gateway, wherein the user sequence is generated according to the message sending method of any one of claims 1-3;
and the downlink message generating module is used for forming a downlink message corresponding to the uplink instruction according to the uplink instruction, the user sequence and the current service information, and sending the downlink message to the service management platform through the short message gateway.
8. A messaging system, comprising: the system comprises a short message gateway, a service management platform and a service providing platform, wherein the short message gateway is respectively in communication connection with the service management platform and the service providing platform;
the short message gateway is used for sending an uplink instruction from a user to the service management platform and sending a downlink message from the service providing platform to the service management platform, wherein the uplink instruction comprises a feature code and an access code;
the service management platform is used for authenticating the uplink instruction, and if the feature code is wrong, the service management platform sends a user sequence and an uplink authentication success response message to the short message gateway so that the short message gateway sends the uplink instruction and the user sequence to the service providing platform according to the uplink authentication success response message;
the service providing platform is used for forming a downlink message according to the received uplink instruction and the user sequence and sending the downlink message to the service management platform through the short message gateway;
and the service management platform is used for sending an uplink authentication failure response message to the short message gateway if the access code is wrong, forming a downlink message based on the wrong access code and sending the downlink message to the user through the short message gateway.
9. A storage medium having stored thereon a computer program, characterized in that the program, when executed by a corresponding platform, implements the messaging method of any of claims 1-3 or the messaging method of claim 4 or 5.
CN201911274482.9A 2019-12-12 2019-12-12 Message sending method, corresponding device, system and storage medium Active CN113068137B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911274482.9A CN113068137B (en) 2019-12-12 2019-12-12 Message sending method, corresponding device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911274482.9A CN113068137B (en) 2019-12-12 2019-12-12 Message sending method, corresponding device, system and storage medium

Publications (2)

Publication Number Publication Date
CN113068137A CN113068137A (en) 2021-07-02
CN113068137B true CN113068137B (en) 2024-04-09

Family

ID=76557807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911274482.9A Active CN113068137B (en) 2019-12-12 2019-12-12 Message sending method, corresponding device, system and storage medium

Country Status (1)

Country Link
CN (1) CN113068137B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101500235A (en) * 2009-02-26 2009-08-05 深圳市戴文科技有限公司 Off-line authentication method, off-line authentication system and mobile terminal
CN101765069A (en) * 2009-12-22 2010-06-30 中国联合网络通信集团有限公司 Value added service subscribing method, device and system
WO2012155768A1 (en) * 2011-08-18 2012-11-22 中兴通讯股份有限公司 Method and system for processing value-added service short message and related equipment
CN105743603A (en) * 2014-12-07 2016-07-06 联芯科技有限公司 DCI anti-false detection method and system
WO2018054061A1 (en) * 2016-09-22 2018-03-29 中兴通讯股份有限公司 Short message recognition method, device, system and computer storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2811775B1 (en) * 2012-10-25 2018-09-05 Huawei Technologies Co., Ltd. Method and device for repairing missed detection control channel

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101500235A (en) * 2009-02-26 2009-08-05 深圳市戴文科技有限公司 Off-line authentication method, off-line authentication system and mobile terminal
CN101765069A (en) * 2009-12-22 2010-06-30 中国联合网络通信集团有限公司 Value added service subscribing method, device and system
WO2012155768A1 (en) * 2011-08-18 2012-11-22 中兴通讯股份有限公司 Method and system for processing value-added service short message and related equipment
CN105743603A (en) * 2014-12-07 2016-07-06 联芯科技有限公司 DCI anti-false detection method and system
WO2018054061A1 (en) * 2016-09-22 2018-03-29 中兴通讯股份有限公司 Short message recognition method, device, system and computer storage medium

Also Published As

Publication number Publication date
CN113068137A (en) 2021-07-02

Similar Documents

Publication Publication Date Title
US10423377B2 (en) Method of sharing cloud printer in a cloud print system, cloud server, and cloud print system
US11412045B2 (en) Presence-based network authentication
US9037118B2 (en) Method of device authentication and application registration in a push communication framework
US7088988B2 (en) Over-the-air subsidy lock resolution
RU2370901C2 (en) Checking contact permissibility and updating reliable contacts of mobile wireless communication devices
US11689898B2 (en) Messaging service application programming interface
US20070250614A1 (en) Method, apparatus and computer program product for providing confirmed over-the-air terminal configuration
US20200389501A1 (en) Methods and user equipment for exchanging service capabilities
CN101502141A (en) Remote feature control of a mobile device
CN110855548A (en) Message pushing method and device
EP2525594A1 (en) Method and service management platform equipment for performing the value-added service instruction processing
EP2685781B1 (en) Mobile phone and method for processing received information thereof
CN105165035B (en) Have both the multimedia message transmission of text message transmission
CN105897771A (en) Identity authentication method, authentication server and third-party platform
CN113068137B (en) Message sending method, corresponding device, system and storage medium
CN102307334B (en) Handle the method and system and relevant device of value-added service short message
CN112437155A (en) Service data processing method and device and server equipment
KR100960275B1 (en) Method for transmitting service of e-mail having authenticating function of receiver
CN114640956B (en) Short message issuing method, device, system and electronic equipment
CN111833063A (en) Information processing method, computer device, and computer-readable storage medium
CN109348472A (en) OTA (over the air) upgrading method and system based on single-point pushing
US9301091B2 (en) Mediation server for a geopositioning service in a network
KR20230033400A (en) Method and system for providing connected car service using mobile networks of different operators
CN104936155B (en) A kind of processing method and processing device of SMS signature
CN114640976A (en) NFC tag verification method and related 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