CN114979984B - Message transmission method and device - Google Patents
Message transmission method and device Download PDFInfo
- Publication number
- CN114979984B CN114979984B CN202210420930.7A CN202210420930A CN114979984B CN 114979984 B CN114979984 B CN 114979984B CN 202210420930 A CN202210420930 A CN 202210420930A CN 114979984 B CN114979984 B CN 114979984B
- Authority
- CN
- China
- Prior art keywords
- rich media
- terminal
- information
- rcs
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
Abstract
The application discloses a message transmission method and device, belongs to the field of communication, and solves the problem that interaction of rich media information between a terminal which does not support rich media information and various terminals cannot be realized in related technologies. The method comprises the following steps: receiving short message information sent by a second terminal; the short message information is sent to a preset gateway of a server; receiving rich media information corresponding to the rich media address link, which is sent by the server through the preset gateway; and acquiring and displaying the rich media information through a preset software development kit SDK.
Description
Technical Field
The application belongs to the field of communication, and particularly relates to a message transmission method and device.
Background
The operator short message service will evolve towards a rich media communication suite (Rich Communication Suit, RCS), i.e. a rich media message. The user can go through the fifth generation (5 th Generation, 5G) message terminal, sends rich media message to other users. If the receiving user terminal also uses the 5G message terminal, the rich media message content can be received and displayed in a native manner, and if the receiving user terminal is a non-5G message terminal, the 5G message network can be automatically converted into a multimedia message or a short message with a rich media uniform resource locator (Uniform Resource Locator, URL) address and sent to the receiving non-5G message terminal. The receiving party replying message of the non-5G message terminal still maintains the traditional SMS mode.
In order to realize the rich media message use experience of a non-5G message terminal which does not support rich media messages, intelligent short message/intelligent message service appears in the related technology. The service can be provided with a software development kit (Software Development Kit, SDK) in the non-5G message terminal side, and downloads an application port display template and a card message template through a data channel based on an application port number and a short message content keyword, so that the rich media content can be displayed in a card form through the downloaded display template and the card message template. Because the service mode can only be applied to the optimization of the scene of sending the rich media information to the user, the traditional short message mode is still maintained for the scene of sending the rich media information to the user.
Therefore, the interaction of rich media information between the terminal which does not support rich media information and various terminals cannot be realized in the related technology.
Disclosure of Invention
The embodiment of the application provides a message transmission method and device, which can solve the problem that interaction of rich media information between a terminal which does not support rich media information and various terminals cannot be realized in the related technology.
In a first aspect, an embodiment of the present application provides a method for transmitting a message, where the method is applied to a first terminal, including: receiving a short message sent by a second terminal, wherein the short message comprises a short message text and a rich media address link; the short message information is sent to a preset gateway of a server, wherein the preset gateway is used for transmitting rich media information and interacting with a rich communication suite application server (RCS AS); receiving rich media information corresponding to the rich media address link, which is sent by the server through the preset gateway, wherein the rich media information is obtained by feeding back domain name information corresponding to the rich media address link to the RCS AS through the preset gateway; and acquiring and displaying the rich media information through a preset Software Development Kit (SDK), wherein the SDK is used for acquiring and displaying the rich media information.
In a second aspect, an embodiment of the present application provides a method for transmitting a message, where the method is applied to a first terminal, and includes: identifying rich media information to be sent through a preset Software Development Kit (SDK), and sending the rich media information to an RCS AS (remote control system) of a second terminal side through a preset gateway of a server side, wherein the preset gateway is used for transmitting the rich media information and interacting with the RCS AS; receiving a rich media address link sent by the RCS AS at the second terminal side based on the rich media information; and sending short message information to the RCS AS at the second terminal side through a short message service center SMSC, wherein the short message information comprises a short message text and a rich media address link.
In a third aspect, an embodiment of the present application provides a method for transmitting a message, where the method is applied to a server, and includes: receiving short message information sent by a first terminal through a preset gateway, wherein the short message information comprises a short message text and a rich media address link, and the preset gateway is used for transmitting the rich media information and interacting with a rich communication suite application server RCS AS; and sending the rich media information corresponding to the rich media address link to a first terminal through the preset gateway, wherein the rich media information is obtained by feeding back domain name information corresponding to the rich media address link to the RCS AS through the preset gateway.
In a fourth aspect, an embodiment of the present application provides a method for transmitting a message, where the method is applied to a server, and includes: and transmitting the rich media information transmitted by the first terminal to an RCS AS at a second terminal side through a preset gateway so that the RCS AS at the second terminal side transmits a rich media address link corresponding to the rich media information to the first terminal, wherein the rich media information is identified by a software development kit SDK preset at the first terminal side, and the preset gateway is used for transmitting the rich media information and interacting with the RCS AS.
In a fifth aspect, an embodiment of the present application provides a device for transmitting a message, where the device is applied to a first terminal, and includes: the first receiving module is used for receiving the short message information sent by the second terminal, wherein the short message information comprises a short message text and a rich media address link; the sending module is used for sending the short message information to a preset gateway of a server, wherein the preset gateway is used for transmitting rich media information and interacting with an RCS AS; the second receiving module is used for receiving rich media information corresponding to the rich media address link, which is sent by the server through the preset gateway, wherein the rich media information is obtained by feeding back domain name information corresponding to the rich media address link to the RCS AS through the preset gateway; the acquisition module is used for acquiring and displaying the rich media information through a preset Software Development Kit (SDK), wherein the SDK is used for acquiring and displaying the rich media information.
In a sixth aspect, an embodiment of the present application provides a message transmission apparatus, which is applied to a first terminal, including: the first sending module is used for identifying rich media information to be sent through a preset Software Development Kit (SDK) and sending the rich media information to an RCS AS (remote control system) at a second terminal side through a preset gateway of a server side, wherein the preset gateway is used for transmitting the rich media information and interacting with the RCS AS; the receiving module is used for receiving a rich media address link sent by the RCS AS at the second terminal side based on the rich media information; and the second sending module is used for sending the short message information to the RCS AS at the second terminal side through the short message service center SMSC, wherein the short message information comprises a short message text and a rich media address link.
In a seventh aspect, an embodiment of the present application provides a message transmission device, which is applied to a server, including: the receiving module is used for receiving the short message information sent by the first terminal through a preset gateway, wherein the short message information comprises a short message text and a rich media address link, and the preset gateway is used for transmitting the rich media information and interacting with a rich communication suite application server RCS AS; and the sending module is used for sending the rich media information corresponding to the rich media address link to the first terminal through the preset gateway, wherein the rich media information is obtained by feeding back the domain name information by the RCS AS after the preset gateway sends the domain name information corresponding to the rich media address link to the RCS AS.
In an eighth aspect, an embodiment of the present application provides a message transmission device, which is applied to a server, and includes: the sending module is used for sending the rich media information sent by the first terminal to the RCS AS at the second terminal side through a preset gateway so that the RCS AS at the second terminal side sends a rich media address link corresponding to the rich media information to the first terminal, wherein the rich media information is identified by a software development kit SDK preset at the first terminal side, and the preset gateway is used for transmitting the rich media information and interacting with the RCS AS.
In a ninth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the method according to the first to fourth aspects.
In a tenth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement the methods according to the first to fourth aspects.
In the embodiment of the application, the short message information sent by the second terminal is received, wherein the short message information comprises a short message text and a rich media address link; the short message information is sent to a preset gateway of a server, wherein the preset gateway is used for transmitting rich media information and interacting with an RCS AS; receiving rich media information corresponding to the rich media address link, which is sent by the server through the preset gateway, wherein the rich media information is obtained by feeding back domain name information corresponding to the rich media address link to the RCS AS through the preset gateway; acquiring and displaying the rich media information through a preset Software Development Kit (SDK), wherein the SDK is used for acquiring and displaying the rich media information; according to the embodiment, the short message information containing the rich media address link sent by the second terminal can be sent to the preset gateway of the server, and the preset gateway is interacted with the RCS AS to obtain the rich media message fed back by the RCS AS based on the rich media address link, so that the first terminal can display the rich media information through the SDK under the condition that the first terminal does not have rich media information display capability, and the short message information containing the rich media link sent by the second terminal is prevented from being processed at the first terminal side, and the problem that interaction of the rich media information between the terminal which does not support the rich media information and various terminals cannot be achieved in the related technology is solved.
Drawings
Fig. 1 is a flow chart of a method for transmitting a message according to an embodiment of the present application;
FIG. 2 is an interactive flow chart of a message provided by an embodiment of the present application;
fig. 3 is a flow chart of another method for transmitting a message according to an embodiment of the present application;
FIG. 4 is an interactive flow chart of yet another message provided by an embodiment of the present application;
fig. 5 is a flow chart of another method for transmitting a message according to an embodiment of the present application;
fig. 6 is a flow chart of another method for transmitting a message according to an embodiment of the present application;
FIGS. 7-9 are interactive flow diagrams of three messages provided by embodiments of the present application;
fig. 10 is a schematic structural diagram of a message transmission device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of another message transmission apparatus according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a transmission device of a further message according to an embodiment of the present application;
fig. 13 is a schematic structural view of a transmission device of still another message according to an embodiment of the present application;
fig. 14 is a schematic structural view of an electronic device according to another embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The following describes in detail a message transmission method and device provided in the embodiments of the present application through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
In particular, the operator short message service will evolve towards a 5G message RCS rich media message. The user may send the rich media message to other users through the 5G message terminal. If the receiving user terminal also uses the 5G message terminal, the rich media message content can be received and displayed in a native manner, and if the receiving user terminal is a non-5G message terminal, the 5G message network can be automatically converted into a multimedia message or a short message with a rich media URL address and sent to the receiving non-5G message terminal. The receiving party replying message of the non-5G message terminal still maintains the traditional SMS mode.
In order to realize the rich media message use experience of a non-5G message terminal which does not support rich media messages, intelligent short message/intelligent message service appears in the related technology. The service can be provided with an SDK (software development kit) in a non-5G message terminal side, and downloads an application port display template and a card message template through a data channel based on an application port number and a short message content keyword, so that the rich media content can be displayed in a card form through the downloaded display template and the card message template. Because the service mode can only be applied to the optimization of the scene of sending the rich media information to the user, the traditional short message mode is still maintained for the scene of sending the rich media information to the user.
Therefore, the interaction of rich media information between the terminal which does not support rich media information and various terminals cannot be realized in the related technology.
In contrast, the method and the device for the short message service information of the mobile terminal receive the short message information sent by the second terminal, wherein the short message information comprises a short message text and a rich media address link; the short message information is sent to a preset gateway of a server, wherein the preset gateway is used for transmitting rich media information and interacting with an RCS application server (Application Server, AS); receiving rich media information corresponding to the rich media address link, which is sent by the server through the preset gateway, wherein the rich media information is obtained by feeding back domain name information corresponding to the rich media address link to the RCS AS through the preset gateway; the rich media information is acquired and displayed through a preset Software Development Kit (SDK), wherein the SDK is used for acquiring and displaying the rich media information, short message information which is sent by the second terminal and contains rich media address links can be sent to a preset gateway of a server, the preset gateway interacts with the RCS AS to obtain rich media information which is fed back by the RCS AS based on the rich media address links, and therefore the fact that the first terminal can display the rich media information through the SDK under the condition that the first terminal does not have rich media information display capability is achieved, and the problem that interaction of rich media information between the terminal which does not support the rich media information and various terminals cannot be achieved in the related technology is solved by processing the short message information which is sent by the second terminal and contains the rich media links at the first terminal side.
Fig. 1 shows a method for transmitting a message provided by an embodiment of the present invention, which may be performed by a first terminal, in other words, by software or hardware installed in the first terminal, the method comprising the steps of:
step 101: and receiving the short message information sent by the second terminal.
The short message information comprises a short message text and a rich media address link.
Specifically, the text of the short message may be used to determine whether the short message may be converted from the rich media information, or may be used to determine whether the short message may be converted into the rich media information.
Alternatively, the rich media address link may be a rich media URL link.
Optionally, the second terminal may send the rich media message to the RCS AS at the second terminal side, and the RCS AS at the second terminal side may convert the rich media message into the short message information including the short message text and the rich media address link; further, the short message information may be sent to the first terminal through a short message service center (Short Message Service Center, SCMC).
Step 102: and sending the short message information to a preset gateway of a server.
The preset gateway is used for transmitting rich media information and interacting with the RCS AS.
Specifically, the preset gateway can also be used for authenticating the short message information sent by the first terminal, that is, the preset gateway can be used for determining whether the short message information sent by the first terminal has the authority of being processed by the server side; specifically, the preset gateway may be further configured to analyze the short message sent by the first terminal, for example, through processing the rich media address link, the domain name information of the rich media message may be obtained.
Step 103: and receiving rich media information corresponding to the rich media address link, which is sent by the server through the preset gateway.
And after the rich media information is sent to the RCS AS by the preset gateway, the RCS AS feeds back the domain name information corresponding to the rich media address link.
Specifically, after the preset gateway processes the short message information sent by the first terminal, domain name information obtained through the link analysis of the rich media address can be sent to the RCS AS, the RCS AS can pull the rich media information through the domain name information, and send the pulled rich media information to the preset gateway, and the rich media information is sent to the first terminal through the preset gateway.
Step 104: and acquiring and displaying the rich media information through a preset software development kit SDK.
The SDK is used for acquiring and displaying rich media information.
Alternatively, a person skilled in the relevant art may further upgrade the preset SDK, so that the terminal can implement more functions through the SDK.
It should be noted that, the preset gateway can also interface with different third party intelligent short message services and provide access authentication functions, so as to realize intercommunication with the third party intelligent short message services. Optionally, the third-party intelligent short message service can be further upgraded on the basis of the service provided by the preset gateway, so that the further transmission coverage of the rich media message for different terminals is realized.
Specifically, taking the second terminal as an example of a 5G message terminal capable of sending the rich media message, the transmission process of the message is described in detail. For example, AS shown in fig. 2, the 5G message terminal transmits a rich media message transmission request (INVITE) to the RCS AS on the 5G message terminal side; the RCS AS receives the request and sends a response (200 OK) to the 5G message terminal; the 5G message terminal receives the response of 200OK and sends rich media information to RCS AS (MSRP send) according to 5G message standard protocol (message session relay protocol (Message Session Relay Protocol, MSRP)) to RCS AS; the RCS AS receives the rich media information and then sends a response (MSRP 200 OK) to the 5G message terminal, converts the rich media information into short message information (text+URL) based on that the first terminal (receiver) does not support the rich media information, and sends a short message sending request carrying the short message information to the SMSC; the SMSC receives the short message delivery request, sends a response (acknowledgement character (Acknowledge character, ACK) message) to the RCS AS, and sends the short message information to the first terminal (extended message 5G terminal). The first terminal receives the short message, sends a response (ACK response) to the SMSC, and sends the short message to a preset gateway (extended 5G message service) after determining that the short message can be converted into a rich media message. After authentication and analysis processing of the short message information sent by the first terminal are completed, the preset gateway acquires corresponding rich media information from the 5G message RCS AS (automatically pulls the rich media information based on an official URL), downloads the rich media information through the preset gateway and then sends the rich media information to the first terminal (downloads the rich media information), and the SDK preset by the first terminal acquires and displays the rich media information.
In this way, the embodiment receives the short message information sent by the second terminal, where the short message information includes a short message text and a rich media address link; the short message information is sent to a preset gateway of a server, wherein the preset gateway is used for transmitting rich media information and interacting with an RCS AS; receiving rich media information corresponding to the rich media address link, which is sent by the server through the preset gateway, wherein the rich media information is obtained by feeding back domain name information corresponding to the rich media address link to the RCS AS through the preset gateway; the rich media information is acquired and displayed through a preset Software Development Kit (SDK), wherein the SDK is used for acquiring and displaying the rich media information, short message information which is sent by the second terminal and contains rich media address links can be sent to a preset gateway of a server, the preset gateway interacts with the RCS AS to obtain rich media information which is fed back by the RCS AS based on the rich media address links, and therefore the fact that the first terminal can display the rich media information through the SDK under the condition that the first terminal does not have rich media information display capability is achieved, and the problem that interaction of rich media information between the terminal which does not support the rich media information and various terminals cannot be achieved in the related technology is solved by processing the short message information which is sent by the second terminal and contains the rich media links at the first terminal side.
Optionally, the second terminal is a terminal or an application program supporting rich media information.
For example, the second terminal may be a 5G messaging terminal or a chat robot (chatbot), etc.
Thus, the first terminal can complete the interaction of rich media messages with a plurality of different second terminals, and the experience of the user when transmitting the messages is greatly improved.
Fig. 3 shows a method for transmitting a message provided by an embodiment of the present invention, which may be performed by a first terminal, in other words, by software or hardware installed in the first terminal, the method comprising the steps of:
step 301: and identifying the rich media information to be sent through a preset software development kit SDK, and sending the rich media information to an RCS AS at a second terminal side through a preset gateway of a server side.
The preset gateway is used for transmitting rich media information and interacting with the RCS AS.
Step 302: and receiving the short message information sent by the RCS AS at the second terminal side based on the rich media information.
The short message information comprises a short message text and a rich media address link.
Specifically, domain name information can be obtained through the rich media address link, and the rich media information can be pulled through the domain name information. Specifically, the text of the short message can confirm whether the short message can be converted into a rich media message.
Specifically, the RCS AS may convert the rich media message into a short message including a short message text and a rich media address link.
Step 303: and sending the short message information to the RCS AS at the second terminal side through a short message service center SMSC.
Optionally, the RCS AS may acquire the domain name information corresponding to the received rich media address link, and pull the corresponding rich media message through the domain name information; optionally, the rich media information may be sent to the second terminal for display.
Alternatively, a person skilled in the relevant art may further upgrade the preset SDK, so that the terminal can implement more functions through the SDK.
It should be noted that, the preset gateway can also interface with different third party intelligent short message services and provide access authentication functions, so as to realize intercommunication with the third party intelligent short message services. Optionally, the third-party intelligent short message service can be further upgraded on the basis of the service provided by the preset gateway, so that the further transmission coverage of the rich media message for different terminals is realized.
Specifically, taking the second terminal as an example of a 5G message terminal capable of sending the rich media message, the transmission process of the message is described in detail. For example, as shown in fig. 4, the first terminal (extended message 5G terminal) uploads rich media information to a preset gateway (extended 5G message service) through a preset SDK; after receiving the rich media message, the preset gateway sends the rich media message to an RCS AS at the 5G message terminal side; the RCS AS converts the rich media message into a text rich media URL form and sends the text rich media URL to the first terminal; the first terminal sends a short message (text plus URL form) to the SMSC; after receiving the short message, the SMSC sends a request response notice to the first terminal, and sends the short message to the RCS AS at the second terminal side in the form of a message sending request carrying text and URL; after receiving the short message, the RCS AS sends an ACK message response to the SMSC, converts the short message into a rich media message and sends a rich media message sending request (INVITE) to the second terminal; after receiving the request, the second terminal sends a response (200 OK) to the RCS AS; after receiving the response, the RCS AS issues the rich media message to the second terminal in 5G message standard (MSRP send); after receiving the rich media message, the second terminal sends a response signal (MSRP 200 OK) to the RCS AS.
In this way, the rich media information to be sent is identified through the preset software development kit SDK, and the rich media information is sent to the RCS AS at the second terminal side through the preset gateway of the server side, wherein the preset gateway is used for transmitting the rich media information and interacting with the RCS AS; receiving a rich media address link sent by the RCS AS at the second terminal side based on the rich media information; the short message service center SMSC sends the short message information to the RCS AS of the second terminal side, wherein the short message information comprises a short message text and a rich media address link, and the rich media information sent by the first terminal can be sent to different types of terminals for display, so that the problem that interaction of rich media information between the terminals which do not support rich media information and various terminals cannot be realized in the related technology is solved.
Optionally, the second terminal is an application program, a terminal supporting rich media information, or a terminal not supporting rich media information.
Thus, the first terminal can complete the interaction of rich media messages with a plurality of different second terminals, and the experience of the user when transmitting the messages is greatly improved.
Fig. 5 shows a message transmission method according to an embodiment of the present invention, which may be performed by a server, and includes the steps of:
Step 501: and receiving the short message information sent by the first terminal through a preset gateway.
The short message information comprises a short message text and a rich media address link, and the preset gateway is used for transmitting the rich media information and interacting with a rich communication suite application server RCS AS.
Step 502: and sending the rich media information corresponding to the rich media address link to a first terminal through the preset gateway.
And after the rich media information is sent to the RCS AS by the preset gateway, the RCS AS feeds back the domain name information corresponding to the rich media address link.
It should be noted that the above content may refer to the content related to the first terminal side, and will not be described herein.
In this way, the method and the device receive the short message information sent by the first terminal through the preset gateway, wherein the short message information comprises a short message text and a rich media address link, and the preset gateway is used for transmitting the rich media information and interacting with the rich communication suite application server RCS AS; the rich media information corresponding to the rich media address link is sent to the first terminal through the preset gateway, wherein after the rich media information is sent to the RCS AS by the preset gateway and the domain name information corresponding to the rich media address link is fed back by the RCS AS based on the domain name information, the short message information containing the rich media address link sent by the first terminal can be sent to the preset gateway of the server, and the preset gateway interacts with the RCS AS to obtain the rich media information fed back by the RCS AS based on the rich media address link, so that the short message information containing the rich media link sent by other terminals is prevented from being processed at the first terminal side, and naturally, the problem that in the related art, the interaction of the rich media information between the terminal which does not support the rich media information and various terminals cannot be realized by the related technology can be avoided by arranging the SDK in the non-5G message terminal side only for optimizing the scene of sending the rich media information to the user.
Fig. 6 shows a method for transmitting a message, which may be performed by a server, according to an embodiment of the present invention, and includes the steps of:
step 601: and the rich media information sent by the first terminal is sent to the RCS AS at the second terminal side through a preset gateway, so that the RCS AS at the second terminal side sends a rich media address link corresponding to the rich media information to the first terminal.
The rich media information is identified by a software development kit SDK preset on the first terminal side, and the preset gateway is used for transmitting the rich media information and interacting with the RCS AS.
It should be noted that the above content may refer to the content related to the first terminal side, and will not be described herein.
In this way, the rich media information sent by the first terminal is sent to the RCS AS at the second terminal side through the preset gateway, so that the RCS AS at the second terminal side sends the rich media address link corresponding to the rich media information to the first terminal, wherein the rich media information is identified by the software development kit SDK preset at the first terminal side, the preset gateway is used for transmitting the rich media information and interacting with the RCS AS, the rich media address link can be obtained by using the RCS AS at the second terminal side based on the rich media information, and the first terminal can send the rich media address link to different second terminals, so that the problem that interaction of rich media information between the terminal which does not support rich media information and various terminals cannot be achieved in related technologies is solved.
Alternatively, the message transmission procedure between the first terminal and the different second terminal may be specifically described by the procedures of fig. 2, 4, and 7-9. The specific flow is as follows:
specifically, taking the second terminal as an example of a 5G message terminal capable of sending the rich media message, as shown in fig. 2, a specific flow of the first terminal receiving the rich media message sent by the second terminal is as follows:
(1) The 5G message terminal sends a rich media message sending request (INVITE) to the RCS AS at the 5G message terminal side;
(2) The RCS AS receives the request and sends a response (200 OK) to the 5G message terminal;
(3) The 5G message terminal receives the response of 200OK and sends rich media information to the RCS AS (MSRP send) according to the 5G message standard protocol;
(4) The RCS AS receives the rich media information and then sends a response (MSRP 200 OK) to the 5G message terminal;
(5) Based on that the first terminal (receiver) does not support the rich media message, the RCS AS converts the rich media message into short message information (text+URL), and issues a short message issuing request carrying the short message information to the SMSC;
(6) The SMSC receives the short message sending request and sends a response (ACK message) to the RCS AS;
(7) The SMSC sends the short message information to a first terminal (an extended message 5G terminal);
(8) The first terminal receives the short message information and sends an acknowledgement (ACK response) to the SMSC;
(9) After the first terminal determines that the short message information can be converted into a rich media message, the short message information is sent to a preset gateway (extended 5G message service); after authentication and analysis processing of the short message information sent by the first terminal are completed, the preset gateway acquires corresponding rich media information from the 5G message RCS AS (the rich media information is automatically pulled based on an official URL);
(10) The first terminal downloads the rich media information through a preset gateway and then sends the downloaded rich media information to the first terminal (downloads the rich media information), and the SDK preset by the first terminal acquires and displays the rich media information.
Specifically, taking the second terminal as an example of a 5G message terminal capable of sending the rich media message, as shown in fig. 4, a specific flow of sending the rich media message to the second terminal by the first terminal (the extended message 5G terminal) is as follows:
(1) The first terminal uploads rich media information to a preset gateway (extended 5G message service) through a preset SDK;
(2) After receiving the rich media message, the preset gateway sends the rich media message to an RCS AS at the 5G message terminal side; the RCS AS converts the rich media message into a text rich media URL form and sends the text rich media URL to the first terminal (returns the rich media URL);
(3) The first terminal sends the text enrichment media URL to the first terminal; the first terminal sends a short message (text plus URL form) to the SMSC;
(4) The SMSC sends a request response notice to the first terminal after receiving the short message;
(5) The SMSC sends the short message to the RCS AS of the second terminal side in the form of message sending request carrying text and URL;
(6) After receiving the short message, the RCS AS sends an ACK message response to the SMSC;
(7) The RCS AS converts the short message into a rich media message and sends a rich media message sending request (INVITE) to the second terminal;
(8) After receiving the request, the second terminal sends a response (200 OK) to the RCS AS;
(9) After receiving the response, the RCS AS issues the rich media message to the second terminal in 5G message standard (MSRP send);
(10) After receiving the rich media message, the second terminal sends a response signal (MSRP 200 OK) to the RCS AS.
Specifically, taking the second terminal as a common terminal that does not support the rich media message as an example, as shown in fig. 7, a specific flow of the first terminal (the extended message 5G terminal) sending the rich media message to the second terminal is as follows:
(1) The first terminal uploads rich media information to a preset gateway (extended 5G message service) through a preset SDK;
(2) After receiving the rich media message, the preset gateway sends the rich media message to an RCS AS at the terminal side of the extended 5G message; the RCS AS converts the rich media message into a text rich media URL form and sends the text rich media URL to the first terminal (returns the rich media URL);
(3) The first terminal sends the text enrichment media URL to the first terminal; the first terminal sends a short message (text plus URL form) to the SMSC, which sends the short message to the common terminal;
(4) After receiving the short message, the common terminal sends a request response to the SMSC, and the SMSC forwards the response to the first terminal;
(5) After clicking the URL link, the first terminal side user acquires rich media information corresponding to the RCS AS based on the URL link.
Specifically, taking the second terminal as an application program (chatbot) capable of sending the rich media message as an example, as shown in fig. 8, a specific flow of receiving, by the first terminal (extended 5G message terminal), the rich media message sent by the second terminal is as follows:
(1) The second terminal transmits a downlink 5G message to the RCA AS at the second terminal side through the MAAP platform;
(2) The RCA AS sends a response signal (200 OK) to the second terminal through the MAAP platform;
(3) Based on that the first terminal (receiver) does not support the rich media message, the RCS AS converts the rich media message into short message information (text+URL), and issues a short message issuing request carrying the short message information to the SMSC;
(4) The SMSC receives the short message sending request and sends a response message to the RCS AS;
(5) The SMSC sends the short message information to a first terminal;
(6) The first terminal receives the short message information and sends a response message to the SMSC;
(7) After the first terminal determines that the short message information can be converted into a rich media message, the short message information is sent to a preset gateway (extended 5G message service); after authentication and analysis processing of the short message information sent by the first terminal are completed, the preset gateway acquires corresponding rich media information (automatically pulls the rich media information based on an official URL) from the RCS AS at the second terminal side;
(8) The RCS AS at the second terminal side receives the rich media information and then sends a response message (200 OK) to a preset gateway, and the preset gateway forwards the response message to the first terminal.
Specifically, taking the second terminal as an application program (chatbot) capable of receiving the rich media message as an example, as shown in fig. 9, a specific flow of the rich media message sent by the first terminal (extended 5G message terminal) to the second terminal is as follows:
(1) The first terminal uploads rich media information to a preset gateway (extended 5G message service) through a preset SDK;
(2) After receiving the rich media message, the preset gateway sends the rich media message to an RCS AS at the 5G message terminal side; the RCS AS converts the rich media message into a text rich media URL form and sends the text rich media URL to the first terminal (returns the rich media URL);
(3) The first terminal sends the text enrichment media URL to the first terminal; the first terminal sends a short message (text plus URL form) to the SMSC;
(4) The SMSC sends a request response notice to the first terminal after receiving the short message;
(5) The SMSC sends the short message to the RCS AS of the second terminal side in the form of message sending request carrying text and URL;
(6) After receiving the short message, the RCS AS sends a response message to the SMSC;
(7) The RCS AS transmits a downlink 5G message to the second terminal through the MAAP platform;
(8) The second terminal receives the 5G message and sends a response (200 OK) to the RCS AS.
It should be noted that, in the method for transmitting a message provided in the embodiment of the present application, the execution body may be a device for transmitting a message, or a control module in the device for transmitting a message, which is used for executing the method for transmitting a message. In the embodiment of the present application, a method for executing a message transmission by a message transmission device is taken as an example, and a message transmission device provided in the embodiment of the present application is described.
Fig. 10 is a schematic structural diagram of a message transmission apparatus according to an embodiment of the present invention. As shown in fig. 10, a message transmission apparatus 1000 includes: a first receiving module 1010, a transmitting module 1020, a second receiving module 1030, and an obtaining module 1040.
A first receiving module 1010, configured to receive a short message sent by a second terminal, where the short message includes a short message text and a rich media address link; a sending module 1020, configured to send the short message information to a preset gateway of a server, where the preset gateway is configured to transmit rich media information and interact with an RCS AS; a second receiving module 1030, configured to receive rich media information corresponding to the rich media address link sent by the server through the preset gateway, where the rich media information is obtained by the RCS AS based on the domain name information feedback after the preset gateway sends domain name information corresponding to the rich media address link to the RCS AS; the obtaining module 1040 is configured to obtain and display the rich media information through a preset software development kit SDK, where the SDK is used to obtain and display the rich media information.
In one implementation, the second terminal is a terminal or application program supporting rich media information.
The device for transmitting the message in the embodiment of the application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle mounted electronic device, wearable device, ultra-mobile personal computer (UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and embodiments of the present application are not limited in particular.
Fig. 11 is a schematic structural diagram of a message transmission apparatus according to an embodiment of the present invention. As shown in fig. 11, a message transmission apparatus 1100 includes: a first transmitting module 1110, a receiving module 1120, and a second transmitting module 1130.
A first sending module 1110, configured to identify, through a preset software development kit SDK, rich media information to be sent, and send the rich media information to an RCS AS at a second terminal side through a preset gateway at a server, where the preset gateway is used to transmit the rich media information and interact with the RCS AS; a receiving module 1120, configured to receive a rich media address link sent by the RCS AS at the second terminal side based on the rich media information; and a second sending module 1130, configured to send a short message to the RCS AS at the second terminal side through a short message service center SMSC, where the short message includes a short message text and a rich media address link.
In one implementation, the second terminal is an application, a terminal supporting rich media information, or a terminal not supporting rich media information.
The device for transmitting the message in the embodiment of the application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle mounted electronic device, wearable device, ultra-mobile personal computer (UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and embodiments of the present application are not limited in particular.
Fig. 12 is a schematic structural diagram of a message transmission apparatus according to an embodiment of the present invention. As shown in fig. 12, a message transmission apparatus 1200 includes: a receiving module 1210 and a transmitting module 1220.
The receiving module 1210 is configured to receive a short message sent by a first terminal through a preset gateway, where the short message includes a short message text and a rich media address link, and the preset gateway is configured to transmit the rich media information and interact with a rich communication suite application server RCS AS; and a sending module 1220, configured to send, through the preset gateway, the rich media information corresponding to the rich media address link to a first terminal, where after the rich media information is sent, by the preset gateway, to the RCS AS, the domain name information corresponding to the rich media address link is fed back by the RCS AS based on the domain name information.
A device for loading data in an embodiment of the present application may be a device. The apparatus may be a server.
Fig. 13 is a schematic structural diagram of a message transmission apparatus according to an embodiment of the present invention. As shown in fig. 13, a message transmission apparatus 1300 includes: and a transmitting module 1310.
The sending module is used for sending the rich media information sent by the first terminal to the RCS AS at the second terminal side through a preset gateway so that the RCS AS at the second terminal side sends a rich media address link corresponding to the rich media information to the first terminal, wherein the rich media information is identified by a software development kit SDK preset at the first terminal side, and the preset gateway is used for transmitting the rich media information and interacting with the RCS AS.
A device for transmitting a message in the embodiments of the present application may be a device. The apparatus may be a server.
A message transmission device in the embodiments of the present application may be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The message transmission device provided in this embodiment of the present application can implement each process implemented in the method embodiments of fig. 1 to 9, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 14, the embodiment of the present application further provides an electronic device 1400, which includes a processor 1401, a memory 1402, and a program or an instruction stored in the memory 1402 and capable of being executed on the processor 1401, where the program or the instruction implements each process of the embodiment of the method when executed by the processor 1401, and the process can achieve the same technical effect, and for avoiding repetition, a description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned embodiment of a message transmission method, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is configured to run a program or an instruction, implement each process of the above-mentioned embodiment of a message transmission method, and achieve the same technical effect, so that repetition is avoided, and no further description is given here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented 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 stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.
Claims (10)
1. A method for transmitting a message, applied to a first terminal, comprising:
receiving a short message sent by a second terminal, wherein the short message comprises a short message text and a rich media address link;
the short message information is sent to a preset gateway of a server, wherein the preset gateway is used for transmitting rich media information and interacting with a rich communication suite application server (RCS AS);
receiving rich media information corresponding to the rich media address link, which is sent by the server through the preset gateway, wherein the rich media information is obtained by feeding back domain name information corresponding to the rich media address link to the RCS AS through the preset gateway;
and acquiring and displaying the rich media information through a preset Software Development Kit (SDK), wherein the SDK is used for acquiring and displaying the rich media information.
2. The method according to claim 1, wherein the second terminal is a terminal or an application supporting rich media information.
3. A method for transmitting a message, applied to a first terminal, comprising:
identifying rich media information to be sent through a preset Software Development Kit (SDK), and sending the rich media information to an RCS AS (remote control system) of a second terminal side through a preset gateway of a server side, wherein the preset gateway is used for transmitting the rich media information and interacting with the RCS AS;
Receiving a rich media address link sent by the RCS AS at the second terminal side based on the rich media information;
and sending short message information to the RCS AS at the second terminal side through a short message service center SMSC, wherein the short message information comprises a short message text and a rich media address link.
4. A method of transmitting a message according to claim 3, wherein the second terminal is an application, a terminal supporting rich media information or a terminal not supporting rich media information.
5. A message transmission method applied to a server, comprising:
receiving short message information sent by a first terminal through a preset gateway, wherein the short message information comprises a short message text and a rich media address link, and the preset gateway is used for transmitting the rich media information and interacting with a rich communication suite application server RCS AS;
and sending the rich media information corresponding to the rich media address link to a first terminal through the preset gateway, wherein the rich media information is obtained by feeding back domain name information corresponding to the rich media address link to the RCS AS through the preset gateway.
6. A message transmission method applied to a server, comprising:
and transmitting the rich media information transmitted by the first terminal to an RCS AS at a second terminal side through a preset gateway so that the RCS AS at the second terminal side transmits a rich media address link corresponding to the rich media information to the first terminal, wherein the rich media information is identified by a software development kit SDK preset at the first terminal side, and the preset gateway is used for transmitting the rich media information and interacting with the RCS AS.
7. A message transmission device applied to a first terminal, comprising:
the first receiving module is used for receiving the short message information sent by the second terminal, wherein the short message information comprises a short message text and a rich media address link;
the sending module is used for sending the short message information to a preset gateway of a server, wherein the preset gateway is used for transmitting rich media information and interacting with an RCS AS;
the second receiving module is used for receiving rich media information corresponding to the rich media address link, which is sent by the server through the preset gateway, wherein the rich media information is obtained by feeding back domain name information corresponding to the rich media address link to the RCS AS through the preset gateway;
The acquisition module is used for acquiring and displaying the rich media information through a preset Software Development Kit (SDK), wherein the SDK is used for acquiring and displaying the rich media information.
8. A message transmission device applied to a first terminal, comprising:
the first sending module is used for identifying rich media information to be sent through a preset Software Development Kit (SDK) and sending the rich media information to an RCS AS (remote control system) at a second terminal side through a preset gateway of a server side, wherein the preset gateway is used for transmitting the rich media information and interacting with the RCS AS;
the receiving module is used for receiving a rich media address link sent by the RCS AS at the second terminal side based on the rich media information;
and the second sending module is used for sending the short message information to the RCS AS at the second terminal side through the short message service center SMSC, wherein the short message information comprises a short message text and a rich media address link.
9. A message transmission device applied to a server, comprising:
the receiving module is used for receiving the short message information sent by the first terminal through a preset gateway, wherein the short message information comprises a short message text and a rich media address link, and the preset gateway is used for transmitting the rich media information and interacting with a rich communication suite application server RCS AS;
And the sending module is used for sending the rich media information corresponding to the rich media address link to the first terminal through the preset gateway, wherein the rich media information is obtained by feeding back the domain name information by the RCS AS after the preset gateway sends the domain name information corresponding to the rich media address link to the RCS AS.
10. A message transmission device applied to a server, comprising:
the sending module is used for sending the rich media information sent by the first terminal to the RCS AS at the second terminal side through a preset gateway so that the RCS AS at the second terminal side sends a rich media address link corresponding to the rich media information to the first terminal, wherein the rich media information is identified by a software development kit SDK preset at the first terminal side, and the preset gateway is used for transmitting the rich media information and interacting with the RCS AS.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210420930.7A CN114979984B (en) | 2022-04-21 | 2022-04-21 | Message transmission method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210420930.7A CN114979984B (en) | 2022-04-21 | 2022-04-21 | Message transmission method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114979984A CN114979984A (en) | 2022-08-30 |
CN114979984B true CN114979984B (en) | 2023-07-21 |
Family
ID=82976808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210420930.7A Active CN114979984B (en) | 2022-04-21 | 2022-04-21 | Message transmission method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114979984B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115734178B (en) * | 2022-11-09 | 2024-02-27 | 上海创蓝云智信息科技股份有限公司 | 5G message sending system, method, electronic equipment and storage medium |
CN115866545A (en) * | 2023-01-29 | 2023-03-28 | 上海大汉三通通信股份有限公司 | Message translation method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101426184A (en) * | 2008-11-28 | 2009-05-06 | 深圳华为通信技术有限公司 | Processing method for rich media communication service, terminal equipment and communication system |
WO2016165418A1 (en) * | 2015-09-29 | 2016-10-20 | 中兴通讯股份有限公司 | Schedule synchronisation method, terminal, rcs system, and computer readable storage medium |
CN108924037A (en) * | 2018-06-29 | 2018-11-30 | 维沃移动通信有限公司 | A kind of display methods and mobile terminal of rich media communications RCS message |
CN110049456A (en) * | 2019-03-26 | 2019-07-23 | 深圳市物联天下技术有限公司 | A kind of method, device and mobile terminal showing Rich Media in mobile terminal |
CN113946253A (en) * | 2021-10-25 | 2022-01-18 | 杭州网易竹书信息技术有限公司 | Rich media display method, medium, device and computing equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7249084B2 (en) * | 2018-12-18 | 2023-03-30 | ライブパーソン, インコーポレイテッド | Context-aware redirection from the telephony environment to the messaging environment |
-
2022
- 2022-04-21 CN CN202210420930.7A patent/CN114979984B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101426184A (en) * | 2008-11-28 | 2009-05-06 | 深圳华为通信技术有限公司 | Processing method for rich media communication service, terminal equipment and communication system |
WO2016165418A1 (en) * | 2015-09-29 | 2016-10-20 | 中兴通讯股份有限公司 | Schedule synchronisation method, terminal, rcs system, and computer readable storage medium |
CN106559549A (en) * | 2015-09-29 | 2017-04-05 | 中兴通讯股份有限公司 | A kind of schedule synchronization method, terminal and RCS systems |
CN108924037A (en) * | 2018-06-29 | 2018-11-30 | 维沃移动通信有限公司 | A kind of display methods and mobile terminal of rich media communications RCS message |
CN110049456A (en) * | 2019-03-26 | 2019-07-23 | 深圳市物联天下技术有限公司 | A kind of method, device and mobile terminal showing Rich Media in mobile terminal |
CN113946253A (en) * | 2021-10-25 | 2022-01-18 | 杭州网易竹书信息技术有限公司 | Rich media display method, medium, device and computing equipment |
Non-Patent Citations (1)
Title |
---|
运营商基于RCS MaaP技术的5G消息发展策略;左严明;;通信企业管理(第06期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114979984A (en) | 2022-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114979984B (en) | Message transmission method and device | |
EP3402136B1 (en) | Information interaction method, client and device | |
US8849322B2 (en) | Systems and methods for sharing threaded conversations on mobile communications devices | |
CN1767508B (en) | File transmission method in instant messaging service and mobile communications terminal for supporting the same | |
CN101960822B (en) | SIP-HTTP application correlator | |
RU2407232C2 (en) | Method, mobile terminal, system and computer software product for online attribution of content | |
US8886234B2 (en) | Techniques for unified messaging | |
US10326714B2 (en) | Instant messaging with non subscriber users | |
CN107734076A (en) | Information push method, device and storage medium | |
CN107786415B (en) | Service processing method and related equipment and system | |
CN111224792A (en) | Conference access method and device | |
CN114449458B (en) | 5G message fallback method, system, computing device and storage medium | |
CN104683223A (en) | Instant communication method and instant communication device | |
CN103595611B (en) | The realization method and system and equipment of instant messaging application | |
US8983850B2 (en) | Translation system and method for multiple instant message networks | |
US8346941B2 (en) | Method for transmitting data from and to a control device | |
CN104283762B (en) | Transmit method, system, client and the server of instant telecommunication session content | |
CN105491223B (en) | Information processing method, related equipment and system | |
CN105024907A (en) | IM information pushing method and system, server and platform | |
CN101808003A (en) | Client, system and method for providing instant communication | |
CN105024908A (en) | IM information pushing method and system, server and platform | |
CN105025448A (en) | IM information pushing method and system, server and platform | |
CN102073923A (en) | Message processing method, device and system for integrated management information system | |
CN110602194A (en) | IOT message subscription method, IOT message subscription device and computer readable storage medium | |
CN101022584A (en) | Method for transmitting cellphone number |
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 |