Message forwarding method, Chatbot, message processing network element and terminal

By implementing the message forwarding method in Chatbot, the problem that Chatbot messages do not support forwarding is solved, the security and complete forwarding of Chatbot messages is realized, and information sharing functions are provided to users, improving user experience and activity.

CN115914147BActive Publication Date: 2025-02-18CHINA MOBILE COMM LTD RES INST +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110942068.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-17
Publication Date
2025-02-18
Estimated Expiration
2041-08-17

AI Technical Summary

Technical Problem

In the prior art, Chatbot messages do not support forwarding, resulting in a lack of information sharing ability among 5G message users, unable to attract users to form scale, and there are security issues and information missing.

Method used

A message forwarding method is provided, executed by the first Chatbot, including obtaining a forwarding related message, generating a second Chatbot message sent to the second terminal, and sending the message to the second terminal. This method notifies Chatbot for message forwarding through message processing network elements to ensure the integrity of message content and floating menu information.

Benefits of technology

Solve the problem that Chatbot messages are not suitable for traditional forwarding methods, support the forwarding of Chatbot messages, bring more users to industry customers, improve user satisfaction, and add information sharing functions to ordinary users, give Chatbot messages social attributes, and enhance users. Activity and stickiness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115914147B_ABST
    Figure CN115914147B_ABST
Patent Text Reader

Abstract

The present invention provides a message forwarding method, Chatbot, message processing network element and terminal, the method comprising: obtaining forwarding-related messages of a first Chatbot message; generating a second Chatbot message sent to a second terminal according to the forwarding-related messages; the second Chatbot message comprising: the content of the first Chatbot message; sending the second Chatbot message to the second terminal; the embodiment of the present invention notifies Chatbot to forward messages through a message processing network element, and the Chatbot sends the forwarded Chatbot message to the forwarded terminal, and by supporting the forwarding of Chatbot messages, more users are brought to industry customers, thereby improving the satisfaction of industry users; an information sharing function is added for ordinary users, thereby giving Chatbot messages social attributes, improving user activity, and increasing user stickiness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a message forwarding method, a Chatbot, a message processing network element and a terminal. Background Art

[0002] In the 5G messaging system, industry users provide services to ordinary users through Chatbots. The messages sent by Chatbots to users are different from ordinary point-to-point messages, mainly in the following aspects:

[0003] 1) Text, pictures, audio and video, vcard, location, files and other message types can all carry floating menus;

[0004] 2) A new type of rich media card message (Rich Card) is added. Rich media card messages can carry a floating menu or a button inside the card.

[0005] 3) The functions of the buttons in the floating menu and the card include suggested operations and suggested replies. After clicking the suggested operation menu item or button, in addition to performing the associated operation, the terminal will also send a user-invisible message to the Chatbot to notify the Chatbot that the user has performed the relevant operation; after the user clicks the suggested reply menu item or button, the terminal sends a user-visible message to the Chatbot, and the message content is the text presented in the menu item or button.

[0006] Given the above characteristics of Chatbot messages, the following problems may occur when using traditional message forwarding methods to forward Chatbot messages:

[0007] 1) There is no message type of rich media card in the point-to-point message, which results in the inability to forward the rich media card;

[0008] 2) Even if the message type that supports rich media cards is added to the point-to-point message, after the Chatbot message carrying the floating menu or button is forwarded, in the point-to-point conversation between users, the message generated by clicking the menu or button will be sent to the Chatbot, which may easily confuse the user. It will also lead to inaccurate statistics on the Chatbot side, and the Chatbot will not know which user it is providing services for.

[0009] 3) The message provided by Chatbot to user A contains a button that is clicked by user B. If the function associated with this button involves functional authentication related to user identity, such as opening a web page related to user information, it may easily cause security issues.

[0010] 4) If only the message content is forwarded without forwarding the floating menu information in the message, it may cause information loss, which is not conducive to user use and the promotion and dissemination of chatbot.

[0011] Because of the above problems, neither the terminal nor the platform currently supports the Chatbot message forwarding function. Because Chatbot messages do not support forwarding, 5G message users lack the ability to share information and cannot attract users to form a scale. It is also impossible to provide industry customers with an attractive way to spread business. Summary of the invention

[0012] The purpose of the embodiments of the present invention is to provide a message forwarding method, a Chatbot, a message processing network element and a terminal to solve the problem that Chatbot messages do not support forwarding in the prior art.

[0013] In order to solve the above problem, the present invention provides a message forwarding method, which is executed by a first chatbot, comprising:

[0014] Obtain forwarding related messages of the first Chatbot message;

[0015] According to the forwarding related message, a second Chatbot message is generated and sent to the second terminal; the second Chatbot message includes: the content of the first Chatbot message;

[0016] The second Chatbot message is sent to the second terminal.

[0017] The forwarding-related message of the first Chatbot message includes any one of the following:

[0018] A first forwarding message of a first Chatbot message generated by a first terminal;

[0019] A second forwarding message is obtained after the message processing network element processes the first forwarding message generated by the first terminal.

[0020] The second Chatbot message further includes:

[0021] The first indication information indicates that the second Chatbot message is a forwarded message triggered by the first terminal.

[0022] The first forwarding message includes at least one of the following:

[0023] The ID of the first Chatbot message;

[0024] The ID of the first Chatbot;

[0025] Chatbot message forwarding flag;

[0026] The uniform resource identifier (URI) of the second terminal.

[0027] Wherein, the first forwarded message is a Session Initiation Protocol SIP message;

[0028] The Chatbot message forwarding identifier is set in the to header field or from header field or request URI of the SIP message.

[0029] The second forwarding message includes at least one of the following:

[0030] The ID of the first Chatbot message;

[0031] URI of the first terminal;

[0032] The URI of the second terminal.

[0033] The second forwarding message is a SIP message, or a Hypertext Transfer Protocol (HTTP) message.

[0034] The first Chatbot message and / or the second Chatbot message includes second indication information, and the second indication information is used to indicate whether the corresponding Chatbot message can be forwarded.

[0035] Wherein, generating a second Chatbot message sent to the second terminal according to the forwarding related message includes:

[0036] If the first Chatbot message includes a button and / or a floating menu, a second Chatbot message sent to the second terminal is generated according to the forwarding-related message and the characteristic information of the second terminal.

[0037] The embodiment of the present invention further provides a message forwarding method, which is executed by a message processing network element, and includes:

[0038] Receiving a first forwarding message of a first Chatbot message generated by a first terminal;

[0039] The first forwarding message is sent to the first Chatbot, or the second forwarding message obtained by processing the first forwarding message is sent to the first Chatbot; the first Chatbot sends the second Chatbot message generated by the first Chatbot to the second terminal according to the first forwarding message or the second forwarding message; the second Chatbot message includes: the content of the first Chatbot message.

[0040] The second Chatbot message further includes:

[0041] The first indication information indicates that the second Chatbot message is a forwarded message triggered by the first terminal.

[0042] The first forwarding message includes at least one of the following:

[0043] The ID of the first Chatbot message;

[0044] The ID of the first Chatbot;

[0045] Chatbot message forwarding flag;

[0046] The URI of the second terminal.

[0047] Wherein, the first forwarded message is a Session Initiation Protocol SIP message;

[0048] The Chatbot message forwarding identifier is set in the to header field or from header field or request URI of the SIP message.

[0049] The second forwarding message includes at least one of the following:

[0050] The ID of the first Chatbot message;

[0051] URI of the first terminal;

[0052] The URI of the second terminal.

[0053] The second forwarding message is a SIP message, or a Hypertext Transfer Protocol (HTTP) message.

[0054] The first Chatbot message and / or the second Chatbot message includes second indication information, and the second indication information is used to indicate whether the corresponding Chatbot message can be forwarded.

[0055] An embodiment of the present invention further provides a message forwarding method, which is executed by a first terminal and includes:

[0056] Receive the first Chatbot message;

[0057] Generate a first forwarding message of the first Chatbot message according to the first Chatbot message;

[0058] The first forwarding message is sent to a message processing network element, so that the message processing network element sends the first forwarding message to the first Chatbot, or the message processing network element processes the first forwarding message and then sends the second forwarding message to the first Chatbot.

[0059] The first forwarding message includes at least one of the following:

[0060] The ID of the first Chatbot message;

[0061] The ID of the first Chatbot;

[0062] Chatbot message forwarding flag;

[0063] The URI of the second terminal.

[0064] Wherein, the first forwarded message is a Session Initiation Protocol SIP message;

[0065] The Chatbot message forwarding identifier is set in the to header field or from header field or request URI of the SIP message.

[0066] The second forwarding message includes at least one of the following:

[0067] The ID of the first Chatbot message;

[0068] URI of the first terminal;

[0069] The URI of the second terminal.

[0070] The second forwarding message is a SIP message, or a Hypertext Transfer Protocol (HTTP) message.

[0071] The first Chatbot message includes second indication information, and the second indication information is used to indicate whether the corresponding Chatbot message can be forwarded.

[0072] Wherein, the method further comprises:

[0073] According to the operator configuration parameters, it is determined whether the first forwarded message needs to be processed by the message processing network element.

[0074] The embodiment of the present invention further provides a message receiving method, which is executed by a second terminal and includes:

[0075] A second Chatbot message sent by the first Chatbot is received; the second Chatbot message includes: content of the first Chatbot message.

[0076] The second Chatbot message further includes:

[0077] The first indication information indicates that the second Chatbot message is a forwarded message triggered by the first terminal.

[0078] The embodiment of the present invention further provides a message forwarding device, which is applied to a first Chatbot, and includes:

[0079] A first acquisition module, used to acquire forwarding-related messages of the first Chatbot message;

[0080] A first generating module is used to generate a second Chatbot message sent to a second terminal according to the forwarding related message; the second Chatbot message includes: content of the first Chatbot message;

[0081] The first sending module is used to send the second Chatbot message to the second terminal.

[0082] The embodiment of the present invention further provides a first Chatbot, comprising a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, and the processor is configured to perform the following operations:

[0083] Obtain forwarding related messages of the first Chatbot message;

[0084] According to the forwarding related message, a second Chatbot message is generated and sent to the second terminal; the second Chatbot message includes: the content of the first Chatbot message;

[0085] The second Chatbot message is sent to the second terminal.

[0086] The embodiment of the present invention further provides a message forwarding device, which is applied to a message processing network element, including:

[0087] A first receiving module, configured to receive a first forwarding message of a first Chatbot message generated by a first terminal;

[0088] The second sending module is used to send the first forwarding message to the first Chatbot, or to send the second forwarding message obtained by processing the first forwarding message to the first Chatbot; the first Chatbot sends the second Chatbot message generated by the first Chatbot to the second terminal according to the first forwarding message or the second forwarding message; the second Chatbot message includes: the content of the first Chatbot message.

[0089] An embodiment of the present invention further provides a message processing network element, including a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, and the processor is used to perform the following operations:

[0090] Receiving a first forwarding message of a first Chatbot message generated by a first terminal;

[0091] The first forwarding message is sent to the first Chatbot, or the second forwarding message obtained by processing the first forwarding message is sent to the first Chatbot; the first Chatbot sends the second Chatbot message generated by the first Chatbot to the second terminal according to the first forwarding message or the second forwarding message; the second Chatbot message includes: the content of the first Chatbot message.

[0092] The embodiment of the present invention further provides a message forwarding device, applied to a first terminal, comprising:

[0093] A second receiving module, used for receiving a first Chatbot message;

[0094] A second generating module, configured to generate a first forwarding message of the first Chatbot message according to the first Chatbot message;

[0095] The third sending module is used to send the first forwarding message to the message processing network element, so that the message processing network element sends the first forwarding message to the first Chatbot, or so that the message processing network element processes the first forwarding message and then sends the second forwarding message to the first Chatbot.

[0096] An embodiment of the present invention further provides a first terminal, including a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, and the processor is configured to perform the following operations:

[0097] Receive the first Chatbot message;

[0098] Generate a first forwarding message of the first Chatbot message according to the first Chatbot message;

[0099] The first forwarding message is sent to a message processing network element, so that the message processing network element sends the first forwarding message to the first Chatbot, or the message processing network element processes the first forwarding message and then sends the second forwarding message to the first Chatbot.

[0100] The embodiment of the present invention further provides a message receiving device, which is applied to a second terminal and includes:

[0101] The third receiving module is used to receive a second Chatbot message sent by the first Chatbot; the second Chatbot message includes: the content of the first Chatbot message.

[0102] An embodiment of the present invention further provides a second terminal, including a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, and the processor is configured to perform the following operations:

[0103] A second Chatbot message sent by the first Chatbot is received; the second Chatbot message includes: content of the first Chatbot message.

[0104] An embodiment of the present invention also provides a communication device, including a memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the message forwarding method described above is implemented, or when the processor executes the program, the message receiving method described above is implemented.

[0105] An embodiment of the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the message forwarding method described above; or, when executed by a processor, implements the steps in the message receiving method described above.

[0106] The above technical solution of the present invention has at least the following beneficial effects:

[0107] In the message forwarding method, Chatbot, message processing network element and terminal of the embodiment of the present invention, the message processing network element notifies the Chatbot to forward the message, and the Chatbot sends the forwarded Chatbot message to the forwarded terminal, which can solve the problem that Chatbot messages are not suitable for forwarding by traditional forwarding methods. By supporting the forwarding of Chatbot messages, more users are brought to industry customers and the satisfaction of industry users is improved; an information sharing function is added for ordinary users, thereby giving Chatbot messages social attributes, improving user activity and increasing user stickiness. BRIEF DESCRIPTION OF THE DRAWINGS

[0108] Figure 1 One of the flow charts showing the steps of the message forwarding method provided by an embodiment of the present invention;

[0109] Figure 2 A second flowchart showing the steps of the message forwarding method provided by an embodiment of the present invention;

[0110] Figure 3 A third flowchart showing the method for forwarding a message according to an embodiment of the present invention;

[0111] Figure 4 A flowchart showing the steps of a message receiving method provided by an embodiment of the present invention;

[0112] Figure 5A schematic diagram showing an interaction of Example 1 provided in an embodiment of the present invention;

[0113] Figure 6 A schematic diagram showing an interaction of Example 2 provided in an embodiment of the present invention;

[0114] Figure 7 One of the structural schematic diagrams of the message forwarding device provided by the embodiment of the present invention is shown;

[0115] Figure 8 A schematic diagram showing the structure of a first Chatbot provided by an embodiment of the present invention;

[0116] Fig. 9 A second structural diagram showing the message forwarding device provided in an embodiment of the present invention;

[0117] Fig.10 A schematic diagram showing the structure of a message processing network element provided by an embodiment of the present invention;

[0118] Fig.11 A third structural diagram showing the message forwarding device provided by an embodiment of the present invention;

[0119] Fig.12 A schematic diagram showing the structure of a first terminal provided by an embodiment of the present invention;

[0120] Fig.13 A schematic diagram showing the structure of a message receiving device provided by an embodiment of the present invention;

[0121] Fig.14 A schematic diagram showing the structure of a second terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0122] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0123] like Figure 1 As shown, an embodiment of the present invention provides a message forwarding method, which is executed by a first chatbot Chatbot, comprising:

[0124] Step 101, obtaining forwarding related messages of the first Chatbot message;

[0125] Step 102: generating a second Chatbot message sent to a second terminal according to the forwarding related message; the second Chatbot message includes: the content of the first Chatbot message;

[0126] Step 103: Send the second Chatbot message to the second terminal.

[0127] It should be noted that if the first Chatbot message includes a button and / or a floating menu, step 102 includes:

[0128] A second Chatbot message is generated and sent to the second terminal according to the forwarding related message and the characteristic information of the second terminal.

[0129] In other words, if the first Chatbot message includes buttons and / or floating menus, in order to make the buttons and / or floating menus of the second Chatbot message suitable for the second terminal, the first Chatbot needs to consider not only forwarding related messages but also characteristic information of the second terminal when generating the second Chatbot message; that is, the first Chatbot should appropriately customize the second Chatbot message for the second terminal.

[0130] In at least one embodiment of the present invention, the forwarding-related message of the first Chatbot message includes any one of the following:

[0131] A first forwarding message of a first Chatbot message generated by a first terminal; the corresponding forwarding method may be referred to as forwarding scheme 1, that is, the first forwarding message does not need to be processed by a message processing network element, and the first terminal directly notifies the first Chatbot to send a message to the second terminal; optionally, the first Chatbot message may be transparently transmitted to the first Chatbot through the message processing network element;

[0132] The second forwarding message is obtained after the message processing network element processes the first forwarding message generated by the first terminal; the corresponding forwarding method can be called forwarding scheme 2; that is, the first forwarding message needs to be processed by the message processing network element, and the message processing network element notifies the first Chatbot to send a message to the second terminal.

[0133] If the first terminal only supports forwarding scheme 1, the first terminal adopts forwarding scheme 1 to forward the Chatbot message; if the first terminal only supports forwarding scheme 2, the first terminal adopts forwarding scheme 2 to forward the Chatbot message; if the first terminal supports both forwarding scheme 1 and forwarding scheme 2, the operator network element can extend a configuration parameter A and configure it to the first terminal. For example, when the value of the configuration parameter A is 1, forwarding scheme 1 is adopted to forward the Chatbot message, and when the value of the configuration parameter A is 2, forwarding scheme 2 is adopted to forward the Chatbot message.

[0134] It should be noted that the corresponding relationship between the value of the above configuration parameter A and the forwarding scheme is only an example, and other value methods or corresponding relationships are applicable to the embodiments of the present invention and are not specifically limited here. Among them, the above configuration parameter A can be dynamically configured, semi-statically or semi-continuously configured, or periodically configured, and it can adopt different configuration methods according to the specific application scenario of the terminal, which is not specifically limited here.

[0135] It should be further explained that the operator can flexibly control the first forwarded message to be processed by the message processing network element or not according to the demand. For example, when the forwarding of the Chatbot message needs to be charged, the first forwarded message needs to be processed by the message processing network element; and when the forwarding of the Chatbot message does not need to be charged, the first forwarded message does not need to be processed by the message processing network element.

[0136] As an optional embodiment, the second Chatbot message further includes:

[0137] The first indication information indicates that the second Chatbot message is a forwarded message triggered by the first terminal. In order to let the second terminal know that the second Chatbot message is different from the Chatbot message directly sent by the Chatbot, a first indication information is added to the second Chatbot message, and the first indication information indicates that the second Chatbot message is a forwarded message triggered by the first terminal. For example, the "first indication information" is: the first terminal recommends the content to you.

[0138] In at least one embodiment of the present invention, the first forwarding message includes at least one of the following:

[0139] The ID of the first Chatbot message;

[0140] The ID of the first Chatbot;

[0141] Chatbot message forwarding identifier; for example, the forwarding identifier is a fixed value agreed upon by the terminal and the operator network element;

[0142] The uniform resource identifier URI of the second terminal, for example, the SIP URI of the second terminal.

[0143] As an optional embodiment, the first forwarded message is a Session Initiation Protocol SIP message;

[0144] The Chatbot message forwarding identifier is set in the to header field or from header field or request URI of the SIP message.

[0145] Among them, the first forwarded message is sent as a text message in the form of a SIP message, the sender is the first terminal, and the receiver is the second terminal or the message processing network element or the first Chatbot; if the receiver is the first Chatbot or the message processing network element, the SIP URI of the second terminal should be included in the message body of the SIP message. Alternatively, the SIP URI of the second terminal is included in the to header field of the SIP message in the SIP message. The URI contains a "subject parameter", and the value of the subject parameter is set to the value of the Chatbot message forwarding identifier, indicating that the message is a forwarded Chatbot message. The subject parameter can also be added to the request URI or from header field of the SIP message.

[0146] Optionally, the message content of the SIP message includes the ID of the first Chatbot message to be forwarded and the ID of the first Chatbot. The two IDs can be separated by spaces or other symbols, and the order is the order agreed with the operator network element. The message content can use base64 as the transmission encoding.

[0147] In at least one optional embodiment of the present invention, the second forwarding message includes at least one of the following:

[0148] The ID of the first Chatbot message;

[0149] URI of the first terminal;

[0150] The URI of the second terminal.

[0151] The embodiment of the present invention adds a message forwarding function module in the message processing network element to complete the related processing of the first forwarding message.

[0152] As an optional embodiment, the second forwarding message is a SIP message, or a Hypertext Transfer Protocol (HTTP) message.

[0153] For example, the message processing network element parses the first forwarded message, extracts the URI of the first terminal and the URI of the second terminal from the from header field and the to header field of the first forwarded message, and extracts the ID of the first Chatbot message and the ID of the first Chatbot from the message content of the first forwarded message, and constructs a second forwarded message sent to the first Chatbot, which includes the ID of the first Chatbot message, the URI of the first terminal and the URI of the second terminal.

[0154] At least one embodiment of the present invention also supports Chatbot to autonomously decide which Chatbot messages can be forwarded and which Chatbot messages cannot be forwarded according to business scenarios, that is, the first Chatbot message and / or the second Chatbot message includes second indication information, and the second indication information is used to indicate whether the corresponding Chatbot message can be forwarded.

[0155] For example, the value of the second indication information is 0, which means it can be forwarded, and the value of the second indication information is 1, which means it cannot be forwarded. The first terminal can determine whether the Chatbot message can be forwarded according to the second indication information in the "first Chatbot message", and can only generate the first forwarding message if the first Chatbot message can be forwarded.

[0156] In summary, in the embodiment of the present invention, the Chatbot is notified to forward the message through the message processing network element, and the Chatbot sends the forwarded Chatbot message to the forwarded terminal, which can solve the problem that the Chatbot message is not suitable for forwarding by the traditional forwarding method. By supporting the forwarding of Chatbot messages, more users are brought to industry customers and the satisfaction of industry users is improved; an information sharing function is added for ordinary users, thereby giving the Chatbot message a social attribute, improving user activity and increasing user stickiness.

[0157] like Figure 2 As shown, an embodiment of the present invention further provides a message forwarding method, which is executed by a message processing network element, including:

[0158] Step 201, receiving a first forwarding message of a first Chatbot message generated by a first terminal;

[0159] Step 202: Send the first forwarded message to the first Chatbot, or send the second forwarded message obtained by processing the first forwarded message to the first Chatbot; the first Chatbot sends the second Chatbot message generated by the first Chatbot to the second terminal according to the first forwarded message or the second forwarded message; the second Chatbot message includes: the content of the first Chatbot message.

[0160] In other words, the embodiment of the present invention provides two Chatbot message forwarding schemes, namely forwarding scheme 1 and forwarding scheme 2; wherein, forwarding scheme 1 is: the first forwarded message does not need to be processed by the message processing network element, and the first terminal directly notifies the first Chatbot to send a message to the second terminal; optionally, the first Chatbot message can be transparently transmitted to the first Chatbot through the message processing network element; forwarding scheme 2 is: the first forwarded message needs to be processed by the message processing network element, and the message processing network element notifies the first Chatbot to send a message to the second terminal.

[0161] If the first terminal only supports forwarding scheme 1, the first terminal adopts forwarding scheme 1 to forward the Chatbot message; if the first terminal only supports forwarding scheme 2, the first terminal adopts forwarding scheme 2 to forward the Chatbot message; if the first terminal supports both forwarding scheme 1 and forwarding scheme 2, the operator network element can extend a configuration parameter A and configure it to the first terminal. For example, when the value of the configuration parameter A is 1, forwarding scheme 1 is adopted to forward the Chatbot message, and when the value of the configuration parameter A is 2, forwarding scheme 2 is adopted to forward the Chatbot message.

[0162] As an optional embodiment, the second Chatbot message further includes:

[0163] The first indication information indicates that the second Chatbot message is a forwarded message triggered by the first terminal. In order to let the second terminal know that the second Chatbot message is different from the Chatbot message directly sent by the Chatbot, a first indication information is added to the second Chatbot message, and the first indication information indicates that the second Chatbot message is a forwarded message triggered by the first terminal. For example, the "first indication information" is: the first terminal recommends the content to you.

[0164] In at least one embodiment of the present invention, the first forwarding message includes at least one of the following:

[0165] The ID of the first Chatbot message;

[0166] The ID of the first Chatbot;

[0167] Chatbot message forwarding identifier; for example, the forwarding identifier is a fixed value agreed upon by the terminal and the operator network element;

[0168] The URI of the second terminal, for example, the SIP URI of the second terminal.

[0169] As an optional embodiment, the first forwarded message is a Session Initiation Protocol SIP message;

[0170] The Chatbot message forwarding identifier is set in the to header field or from header field or request URI of the SIP message.

[0171] Among them, the first forwarded message is sent as a text message in the form of a SIP message, the sender is the first terminal, and the receiver is the second terminal or the message processing network element or the first Chatbot; if the receiver is the first Chatbot or the message processing network element, the SIP URI of the second terminal should be included in the message body of the SIP message. Alternatively, the SIP URI of the second terminal is included in the to header field of the SIP message in the SIP message. The URI contains a "subject parameter", and the value of the subject parameter is set to the value of the Chatbot message forwarding identifier, indicating that the message is a forwarded Chatbot message. The subject parameter can also be added to the request URI or from header field of the SIP message.

[0172] Optionally, the message content of the SIP message includes the ID of the first Chatbot message to be forwarded and the ID of the first Chatbot. The two IDs can be separated by spaces or other symbols, and the order is the order agreed with the operator network element. The message content can use base64 as the transmission encoding.

[0173] In at least one optional embodiment of the present invention, the second forwarding message includes at least one of the following:

[0174] The ID of the first Chatbot message;

[0175] URI of the first terminal;

[0176] The URI of the second terminal.

[0177] The embodiment of the present invention adds a message forwarding function module in the message processing network element to complete the related processing of the first forwarding message.

[0178] As an optional embodiment, the second forwarding message is a SIP message, or a Hypertext Transfer Protocol (HTTP) message.

[0179] For example, the message processing network element parses the first forwarded message, extracts the URI of the first terminal and the URI of the second terminal from the from header field and the to header field of the first forwarded message, and extracts the ID of the first Chatbot message and the ID of the first Chatbot from the message content of the first forwarded message, and constructs a second forwarded message sent to the first Chatbot, which includes the ID of the first Chatbot message, the URI of the first terminal and the URI of the second terminal.

[0180] At least one embodiment of the present invention also supports Chatbot to autonomously decide which Chatbot messages can be forwarded and which Chatbot messages cannot be forwarded according to business scenarios, that is, the first Chatbot message and / or the second Chatbot message includes second indication information, and the second indication information is used to indicate whether the corresponding Chatbot message can be forwarded.

[0181] For example, the value of the second indication information is 0, which means it can be forwarded, and the value of the second indication information is 1, which means it cannot be forwarded. The first terminal can determine whether the Chatbot message can be forwarded according to the second indication information in the "first Chatbot message", and can only generate the first forwarding message if the first Chatbot message can be forwarded.

[0182] In summary, in the embodiment of the present invention, the Chatbot is notified to forward the message through the message processing network element, and the Chatbot sends the forwarded Chatbot message to the forwarded terminal, which can solve the problem that the Chatbot message is not suitable for forwarding by the traditional forwarding method. By supporting the forwarding of Chatbot messages, more users are brought to industry customers and the satisfaction of industry users is improved; an information sharing function is added for ordinary users, thereby giving the Chatbot message a social attribute, improving user activity and increasing user stickiness.

[0183] like Figure 3 As shown, the embodiment of the present invention further provides a message forwarding method, which is executed by a first terminal and includes:

[0184] Step 301, receiving a first Chatbot message;

[0185] Step 302: Generate a first forwarding message of the first Chatbot message according to the first Chatbot message;

[0186] Step 303: Send the first forwarding message to the message processing network element, so that the message processing network element sends the first forwarding message to the first Chatbot, or the message processing network element processes the first forwarding message and sends the second forwarding message to the first Chatbot. The first Chatbot sends the second Chatbot message generated by the first Chatbot to the second terminal according to the first forwarding message or the second forwarding message; the second Chatbot message includes: the content of the first Chatbot message.

[0187] In other words, the embodiment of the present invention provides two Chatbot message forwarding schemes, namely forwarding scheme 1 and forwarding scheme 2; wherein, forwarding scheme 1 is: the first forwarded message does not need to be processed by the message processing network element, and the first terminal directly notifies the first Chatbot to send a message to the second terminal; optionally, the first Chatbot message can be transparently transmitted to the first Chatbot through the message processing network element; forwarding scheme 2 is: the first forwarded message needs to be processed by the message processing network element, and the message processing network element notifies the first Chatbot to send a message to the second terminal.

[0188] In at least one embodiment of the present invention, the first forwarding message includes at least one of the following:

[0189] The ID of the first Chatbot message;

[0190] The ID of the first Chatbot;

[0191] Chatbot message forwarding identifier; for example, the forwarding identifier is a fixed value agreed upon by the terminal and the operator network element;

[0192] The URI of the second terminal, for example, the SIP URI of the second terminal.

[0193] As an optional embodiment, the first forwarded message is a Session Initiation Protocol SIP message;

[0194] The Chatbot message forwarding identifier is set in the to header field or from header field or request URI of the SIP message.

[0195] Among them, the first forwarded message is sent as a text message in the form of a SIP message, the sender is the first terminal, and the receiver is the second terminal or the message processing network element or the first Chatbot; if the receiver is the first Chatbot or the message processing network element, the SIP URI of the second terminal should be included in the message body of the SIP message. Alternatively, the SIP URI of the second terminal is included in the to header field of the SIP message in the SIP message. The URI contains a "subject parameter", and the value of the subject parameter is set to the value of the Chatbot message forwarding identifier, indicating that the message is a forwarded Chatbot message. The subject parameter can also be added to the request URI or from header field of the SIP message.

[0196] Optionally, the message content of the SIP message includes the ID of the first Chatbot message to be forwarded and the ID of the first Chatbot. The two IDs can be separated by spaces or other symbols, and the order is the order agreed with the operator network element. The message content can use base64 as the transmission encoding.

[0197] In at least one optional embodiment of the present invention, the second forwarding message includes at least one of the following:

[0198] The ID of the first Chatbot message;

[0199] URI of the first terminal;

[0200] The URI of the second terminal.

[0201] The embodiment of the present invention adds a message forwarding function module in the message processing network element to complete the related processing of the first forwarding message.

[0202] As an optional embodiment, the second forwarding message is a SIP message, or a Hypertext Transfer Protocol (HTTP) message.

[0203] For example, the message processing network element parses the first forwarded message, extracts the URI of the first terminal and the URI of the second terminal from the from header field and the to header field of the first forwarded message, and extracts the ID of the first Chatbot message and the ID of the first Chatbot from the message content of the first forwarded message, and constructs a second forwarded message sent to the first Chatbot, which includes the ID of the first Chatbot message, the URI of the first terminal and the URI of the second terminal.

[0204] At least one embodiment of the present invention also supports Chatbot to autonomously decide which Chatbot messages can be forwarded and which Chatbot messages cannot be forwarded according to business scenarios, that is, the first Chatbot message includes second indication information, and the second indication information is used to indicate whether the corresponding Chatbot message can be forwarded.

[0205] For example, the value of the second indication information is 0, which means it can be forwarded, and the value of the second indication information is 1, which means it cannot be forwarded. The first terminal can determine whether the Chatbot message can be forwarded according to the second indication information in the "first Chatbot message", and can only generate the first forwarding message if the first Chatbot message can be forwarded.

[0206] In at least one optional embodiment of the present invention, the method further comprises:

[0207] According to the operator configuration parameters, it is determined whether the first forwarded message needs to be processed by the message processing network element.

[0208] If the first terminal only supports forwarding scheme 1, the first terminal adopts forwarding scheme 1 to forward the Chatbot message; if the first terminal only supports forwarding scheme 2, the first terminal adopts forwarding scheme 2 to forward the Chatbot message; if the first terminal supports both forwarding scheme 1 and forwarding scheme 2, the operator network element can extend a configuration parameter A and configure it to the first terminal. For example, when the value of the configuration parameter A is 1, forwarding scheme 1 is adopted to forward the Chatbot message, and when the value of the configuration parameter A is 2, forwarding scheme 2 is adopted to forward the Chatbot message.

[0209] It should be noted that the corresponding relationship between the value of the above configuration parameter A and the forwarding scheme is only an example, and other value methods or corresponding relationships are applicable to the embodiments of the present invention and are not specifically limited here. Among them, the above configuration parameter A can be dynamically configured, semi-statically or semi-continuously configured, or periodically configured, and it can adopt different configuration methods according to the specific application scenario of the terminal, which is not specifically limited here.

[0210] In summary, in the embodiment of the present invention, the Chatbot is notified to forward the message through the message processing network element, and the Chatbot sends the forwarded Chatbot message to the forwarded terminal, which can solve the problem that the Chatbot message is not suitable for forwarding by the traditional forwarding method. By supporting the forwarding of Chatbot messages, more users are brought to industry customers and the satisfaction of industry users is improved; an information sharing function is added for ordinary users, thereby giving the Chatbot message a social attribute, improving user activity and increasing user stickiness.

[0211] like Figure 4 As shown, the embodiment of the present invention further provides a message receiving method, which is executed by the second terminal, including:

[0212] Step 401, receiving a second Chatbot message sent by a first Chatbot; the second Chatbot message includes: content of the first Chatbot message.

[0213] It should be noted that if the first Chatbot message includes buttons and / or floating menus, in order to make the buttons and / or floating menus of the second Chatbot message suitable for the second terminal, the first Chatbot needs to consider not only forwarding related messages but also characteristic information of the second terminal when generating the second Chatbot message; that is, the first Chatbot should appropriately customize the second Chatbot message for the second terminal.

[0214] In at least one embodiment of the present invention, the second Chatbot message further includes:

[0215] The first indication information indicates that the second Chatbot message is a forwarded message triggered by the first terminal. In order to let the second terminal know that the second Chatbot message is different from the Chatbot message directly sent by the Chatbot, a first indication information is added to the second Chatbot message, and the first indication information indicates that the second Chatbot message is a forwarded message triggered by the first terminal. For example, the "first indication information" is: the first terminal recommends the content to you.

[0216] In summary, in the embodiment of the present invention, the Chatbot is notified to forward the message through the message processing network element, and the Chatbot sends the forwarded Chatbot message to the forwarded terminal, which can solve the problem that the Chatbot message is not suitable for forwarding by the traditional forwarding method. By supporting the forwarding of Chatbot messages, more users are brought to industry customers and the satisfaction of industry users is improved; an information sharing function is added for ordinary users, thereby giving the Chatbot message a social attribute, improving user activity and increasing user stickiness.

[0217] In order to more clearly describe the message forwarding method provided by the embodiment of the present invention, two examples are provided below for illustration.

[0218] Example 1: After the first forwarded message is processed by the message processing network element, the second forwarded message is used to notify ChatbotC to forward the Chatbot message to the second terminal.

[0219] After the sending user performs the forwarding operation, the first terminal generates a first forwarding message, which is sent to the 5G message center. After being processed by the 5G message center, the second forwarding message is used to notify Chatbot C to send content to the second terminal. The second Chatbot message sent by Chatbot C is different according to the characteristics of the first Chatbot message and the second terminal. Figure 5 As shown, the Chatbot message forwarding process is as follows:

[0220] 1) User A forwards a Chatbot message from Chatbot C to his friend User B (corresponding to the second terminal) on the first terminal;

[0221] 2) The first terminal adds Chatbot message forwarding processing logic: the first Chatbot message is processed locally, the Message ID of the first Chatbot message is extracted, and the Message ID and the Chatbot message forwarding identifier (a fixed value agreed with the operator), the Chatbot ID of Chatbot C, and the SIP URI of the second terminal are used as the key content of the first forwarded message to combine them into a first forwarded message, which is sent to the 5G message center on the user A side.

[0222] 3) The 5G message center adds a message processing function module to complete the processing related to Chatbot message forwarding. Specifically, it includes:

[0223] The message access function module determines that the message is a forwarded Chatbot message according to the subject parameter value carried in the to header field in the first forwarded message, and sends it to the message processing function module for processing;

[0224] The message processing function module parses the first forwarded message, extracts the SIP URI of the first terminal and the SIP URI of the second terminal from the from header field and the to header field of the first forwarded message, extracts the MessageID of the first Chatbot message and the ID of Chatbot C from the message content, and constructs a second forwarded message sent to Chatbot C; the second forwarded message includes the MessageID of the first Chatbot message, the SIP URI of the first terminal, and the SIP URI of the second terminal;

[0225] The message processing function module sends the second forwarded message to Chatbot C.

[0226] 4) Chatbot C constructs a second Chatbot message to the second terminal according to the second forwarding message, and the second Chatbot message is a SIP message. The second Chatbot message may carry the first terminal forwarding introduction information and include the message content of the first Chatbot message.

[0227] 5) Chatbot C sends the second Chatbot message to the second terminal.

[0228] Example 2: The first forwarded message is not processed by the 5G message center, and the first terminal directly notifies Chatbot C to forward the Chatbot message to the second terminal

[0229] After the sending user performs the forwarding operation, the first terminal generates a first forwarding message, which is sent to the 5G message center, and then transparently transmitted to Chatbot C via the 5G message center, informing Chatbot C to send content to the second terminal. The second Chatbot message sent by Chatbot C is different according to the characteristics of the first Chatbot message and the second terminal. Figure 6 As shown, the Chatbot message forwarding process is as follows:

[0230] 1) User A forwards a Chatbot message from Chatbot C to his friend User B (corresponding to the second terminal) on the first terminal;

[0231] 2) The first terminal adds Chatbot message forwarding processing logic: the first Chatbot message is processed locally, the Message ID of the first Chatbot message is extracted, and the Message ID and the Chatbot message forwarding identifier (a fixed value agreed with the operator), the Chatbot ID of Chatbot C, and the SIP URI of the second terminal are used as the key content of the first forwarded message to combine them into a first forwarded message, which is sent to the 5G message center on the user A side.

[0232] 3) The 5G message center sends the first forwarded message to Chatbot C;

[0233] 4) Chatbot C constructs a second Chatbot message to the second terminal based on the first forwarding message, and the second Chatbot message is a SIP message. The second Chatbot message may carry the first terminal forwarding introduction information and include the message content of the first Chatbot message.

[0234] 5) Chatbot C sends the second Chatbot message to the second terminal.

[0235] Example 3

[0236] 1) When Chatbot sends a multimedia card message, it carries a forwarding parameter, such as "msgfwd", with a value of 0, indicating that it can be forwarded;

[0237] 2) The first terminal adopts forwarding scheme 1 (i.e., the first forwarded message needs to be processed by the message processing network element) to forward the Chatbot message;

[0238] 3) After receiving the first forwarding message (SIP message) generated by the first terminal, the message processing network element determines that this is a forwarding message according to the subject parameter carried in the to header field of the SIP message, and sends a second forwarding message to Chatbot C after processing;

[0239] 4) After receiving the second forwarded message (SIP message), Chatbot C determines that this is a forwarded message through the subject parameter carried in the from header field of the SIP message, performs corresponding processing, and sends the second Chatbot message to the second terminal.

[0240] like Figure 7 As shown, the embodiment of the present invention further provides a message forwarding device, which is applied to a first Chatbot, comprising:

[0241] A first acquisition module 701 is used to acquire forwarding related messages of the first Chatbot message;

[0242] The first generating module 702 is used to generate a second Chatbot message sent to the second terminal according to the forwarding related message; the second Chatbot message includes: the content of the first Chatbot message;

[0243] The first sending module 703 is configured to send the second Chatbot message to the second terminal.

[0244] As an optional embodiment, the forwarding-related message of the first Chatbot message includes any one of the following:

[0245] A first forwarding message of a first Chatbot message generated by a first terminal;

[0246] A second forwarding message is obtained after the message processing network element processes the first forwarding message generated by the first terminal.

[0247] As an optional embodiment, the second Chatbot message further includes:

[0248] The first indication information indicates that the second Chatbot message is a forwarded message triggered by the first terminal.

[0249] As an optional embodiment, the first forwarding message includes at least one of the following:

[0250] The ID of the first Chatbot message;

[0251] The ID of the first Chatbot;

[0252] Chatbot message forwarding flag;

[0253] The uniform resource identifier (URI) of the second terminal.

[0254] As an optional embodiment, the first forwarded message is a Session Initiation Protocol SIP message;

[0255] The Chatbot message forwarding identifier is set in the to header field or from header field or request URI of the SIP message.

[0256] As an optional embodiment, the second forwarding message includes at least one of the following:

[0257] The ID of the first Chatbot message;

[0258] URI of the first terminal;

[0259] The URI of the second terminal.

[0260] As an optional embodiment, the second forwarding message is a SIP message, or a Hypertext Transfer Protocol (HTTP) message.

[0261] As an optional embodiment, the first Chatbot message and / or the second Chatbot message includes second indication information, and the second indication information is used to indicate whether the corresponding Chatbot message can be forwarded.

[0262] As an optional embodiment, the first generating module includes:

[0263] The first generating submodule is used to generate a second Chatbot message sent to the second terminal according to the forwarding related message and the characteristic information of the second terminal if the first Chatbot message includes a button and / or a floating menu.

[0264] In the embodiment of the present invention, the Chatbot is notified to forward the message through the message processing network element, and the Chatbot sends the forwarded Chatbot message to the forwarded terminal, which can solve the problem that the Chatbot message is not suitable for forwarding by the traditional forwarding method. By supporting the forwarding of Chatbot messages, more users are brought to industry customers and the satisfaction of industry users is improved; an information sharing function is added for ordinary users, thereby giving the Chatbot message a social attribute, improving user activity and increasing user stickiness.

[0265] It should be noted that the message forwarding device provided in the embodiment of the present invention is a device capable of executing the above-mentioned message forwarding method, and all embodiments of the above-mentioned message forwarding method are applicable to the device and can achieve the same or similar beneficial effects.

[0266] like Figure 8 As shown, the embodiment of the present invention further provides a first Chatbot, including a processor 800 and a transceiver 810, wherein the transceiver 810 receives and sends data under the control of the processor 800, and the processor 800 is used to perform the following operations:

[0267] Obtain forwarding related messages of the first Chatbot message;

[0268] According to the forwarding related message, a second Chatbot message is generated and sent to the second terminal; the second Chatbot message includes: the content of the first Chatbot message;

[0269] The second Chatbot message is sent to the second terminal.

[0270] As an optional embodiment, the forwarding-related message of the first Chatbot message includes any one of the following:

[0271] A first forwarding message of a first Chatbot message generated by a first terminal;

[0272] A second forwarding message is obtained after the message processing network element processes the first forwarding message generated by the first terminal.

[0273] As an optional embodiment, the second Chatbot message further includes:

[0274] The first indication information indicates that the second Chatbot message is a forwarded message triggered by the first terminal.

[0275] As an optional embodiment, the first forwarding message includes at least one of the following:

[0276] The ID of the first Chatbot message;

[0277] The ID of the first Chatbot;

[0278] Chatbot message forwarding flag;

[0279] The uniform resource identifier (URI) of the second terminal.

[0280] As an optional embodiment, the first forwarded message is a Session Initiation Protocol SIP message;

[0281] The Chatbot message forwarding identifier is set in the to header field or from header field or request URI of the SIP message.

[0282] As an optional embodiment, the second forwarding message includes at least one of the following:

[0283] The ID of the first Chatbot message;

[0284] URI of the first terminal;

[0285] The URI of the second terminal.

[0286] As an optional embodiment, the second forwarding message is a SIP message, or a Hypertext Transfer Protocol (HTTP) message.

[0287] As an optional embodiment, the first Chatbot message and / or the second Chatbot message includes second indication information, and the second indication information is used to indicate whether the corresponding Chatbot message can be forwarded.

[0288] As an optional embodiment, the processor is further configured to perform the following operations:

[0289] If the first Chatbot message includes a button and / or a floating menu, a second Chatbot message sent to the second terminal is generated according to the forwarding-related message and the characteristic information of the second terminal.

[0290] In the embodiment of the present invention, the Chatbot is notified to forward the message through the message processing network element, and the Chatbot sends the forwarded Chatbot message to the forwarded terminal, which can solve the problem that the Chatbot message is not suitable for forwarding by the traditional forwarding method. By supporting the forwarding of Chatbot messages, more users are brought to industry customers and the satisfaction of industry users is improved; an information sharing function is added for ordinary users, thereby giving the Chatbot message a social attribute, improving user activity and increasing user stickiness.

[0291] It should be noted that the first Chatbot provided in the embodiment of the present invention is a Chatbot capable of executing the above-mentioned message forwarding method, and all embodiments of the above-mentioned message forwarding method are applicable to the Chatbot and can achieve the same or similar beneficial effects.

[0292] like Fig. 9 As shown, an embodiment of the present invention further provides a message forwarding device, which is applied to a message processing network element, including:

[0293] A first receiving module 901 is used to receive a first forwarding message of a first Chatbot message generated by a first terminal;

[0294] The second sending module 902 is used to send the first forwarding message to the first Chatbot, or to send the second forwarding message obtained by processing the first forwarding message to the first Chatbot; the first Chatbot sends the second Chatbot message generated by the first Chatbot to the second terminal according to the first forwarding message or the second forwarding message; the second Chatbot message includes: the content of the first Chatbot message.

[0295] As an optional embodiment, the second Chatbot message further includes:

[0296] The first indication information indicates that the second Chatbot message is a forwarded message triggered by the first terminal.

[0297] As an optional embodiment, the first forwarding message includes at least one of the following:

[0298] The ID of the first Chatbot message;

[0299] The ID of the first Chatbot;

[0300] Chatbot message forwarding flag;

[0301] The URI of the second terminal.

[0302] As an optional embodiment, the first forwarded message is a Session Initiation Protocol SIP message;

[0303] The Chatbot message forwarding identifier is set in the to header field or from header field or request URI of the SIP message.

[0304] As an optional embodiment, the second forwarding message includes at least one of the following:

[0305] The ID of the first Chatbot message;

[0306] URI of the first terminal;

[0307] The URI of the second terminal.

[0308] As an optional embodiment, the second forwarding message is a SIP message, or a Hypertext Transfer Protocol (HTTP) message.

[0309] As an optional embodiment, the first Chatbot message and / or the second Chatbot message includes second indication information, and the second indication information is used to indicate whether the corresponding Chatbot message can be forwarded.

[0310] In the embodiment of the present invention, the Chatbot is notified to forward the message through the message processing network element, and the Chatbot sends the forwarded Chatbot message to the forwarded terminal, which can solve the problem that the Chatbot message is not suitable for forwarding by the traditional forwarding method. By supporting the forwarding of Chatbot messages, more users are brought to industry customers and the satisfaction of industry users is improved; an information sharing function is added for ordinary users, thereby giving the Chatbot message a social attribute, improving user activity and increasing user stickiness.

[0311] It should be noted that the message forwarding device provided in the embodiment of the present invention is a device capable of executing the above-mentioned message forwarding method, and all embodiments of the above-mentioned message forwarding method are applicable to the device and can achieve the same or similar beneficial effects.

[0312] like Fig.10 As shown, an embodiment of the present invention further provides a message processing network element, including a processor 100 and a transceiver 110, wherein the transceiver 110 receives and sends data under the control of the processor 100, and the processor 100 is used to perform the following operations:

[0313] Receiving a first forwarding message of a first Chatbot message generated by a first terminal;

[0314] The first forwarding message is sent to the first Chatbot, or the second forwarding message obtained by processing the first forwarding message is sent to the first Chatbot; the first Chatbot sends the second Chatbot message generated by the first Chatbot to the second terminal according to the first forwarding message or the second forwarding message; the second Chatbot message includes: the content of the first Chatbot message.

[0315] As an optional embodiment, the second Chatbot message further includes:

[0316] The first indication information indicates that the second Chatbot message is a forwarded message triggered by the first terminal.

[0317] As an optional embodiment, the first forwarding message includes at least one of the following:

[0318] The ID of the first Chatbot message;

[0319] The ID of the first Chatbot;

[0320] Chatbot message forwarding flag;

[0321] The URI of the second terminal.

[0322] As an optional embodiment, the first forwarded message is a Session Initiation Protocol SIP message;

[0323] The Chatbot message forwarding identifier is set in the to header field or from header field or request URI of the SIP message.

[0324] As an optional embodiment, the second forwarding message includes at least one of the following:

[0325] The ID of the first Chatbot message;

[0326] URI of the first terminal;

[0327] The URI of the second terminal.

[0328] As an optional embodiment, the second forwarding message is a SIP message, or a Hypertext Transfer Protocol (HTTP) message.

[0329] As an optional embodiment, the first Chatbot message and / or the second Chatbot message includes second indication information, and the second indication information is used to indicate whether the corresponding Chatbot message can be forwarded.

[0330] In the embodiment of the present invention, the Chatbot is notified to forward the message through the message processing network element, and the Chatbot sends the forwarded Chatbot message to the forwarded terminal, which can solve the problem that the Chatbot message is not suitable for forwarding by the traditional forwarding method. By supporting the forwarding of Chatbot messages, more users are brought to industry customers and the satisfaction of industry users is improved; an information sharing function is added for ordinary users, thereby giving the Chatbot message a social attribute, improving user activity and increasing user stickiness.

[0331] It should be noted that the message processing network element provided in the embodiment of the present invention is a network element capable of executing the above-mentioned message forwarding method. Therefore, all embodiments of the above-mentioned message forwarding method are applicable to the network element and can achieve the same or similar beneficial effects.

[0332] like Fig.11 As shown, an embodiment of the present invention further provides a message forwarding device, applied to a first terminal, comprising:

[0333] The second receiving module 1101 is used to receive a first Chatbot message;

[0334] A second generating module 1102 is used to generate a first forwarding message of the first Chatbot message according to the first Chatbot message;

[0335] The third sending module 1103 is used to send the first forwarding message to the message processing network element, so that the message processing network element sends the first forwarding message to the first Chatbot, or so that the message processing network element processes the first forwarding message and then sends the second forwarding message to the first Chatbot.

[0336] As an optional embodiment, the first forwarding message includes at least one of the following:

[0337] The ID of the first Chatbot message;

[0338] The ID of the first Chatbot;

[0339] Chatbot message forwarding flag;

[0340] The URI of the second terminal.

[0341] As an optional embodiment, the first forwarded message is a Session Initiation Protocol SIP message;

[0342] The Chatbot message forwarding identifier is set in the to header field or from header field or request URI of the SIP message.

[0343] As an optional embodiment, the second forwarding message includes at least one of the following:

[0344] The ID of the first Chatbot message;

[0345] URI of the first terminal;

[0346] The URI of the second terminal.

[0347] As an optional embodiment, the second forwarding message is a SIP message, or a Hypertext Transfer Protocol (HTTP) message.

[0348] As an optional embodiment, the first Chatbot message includes second indication information, and the second indication information is used to indicate whether the corresponding Chatbot message can be forwarded.

[0349] As an optional embodiment, the device further includes:

[0350] The determination module is used to determine whether the first forwarding message needs to be processed by a message processing network element according to operator configuration parameters.

[0351] In the embodiment of the present invention, the Chatbot is notified to forward the message through the message processing network element, and the Chatbot sends the forwarded Chatbot message to the forwarded terminal, which can solve the problem that the Chatbot message is not suitable for forwarding by the traditional forwarding method. By supporting the forwarding of Chatbot messages, more users are brought to industry customers and the satisfaction of industry users is improved; an information sharing function is added for ordinary users, thereby giving the Chatbot message a social attribute, improving user activity and increasing user stickiness.

[0352] It should be noted that the message forwarding device provided in the embodiment of the present invention is a device capable of executing the above-mentioned message forwarding method, and all embodiments of the above-mentioned message forwarding method are applicable to the device and can achieve the same or similar beneficial effects.

[0353] like Fig.12 As shown, an embodiment of the present invention further provides a first terminal, including a processor 1200, a transceiver 1210 and a user interface 1220, wherein the transceiver 1210 receives and sends data under the control of the processor 1200, and the processor 1200 is used to perform the following operations:

[0354] Receive the first Chatbot message;

[0355] Generate a first forwarding message of the first Chatbot message according to the first Chatbot message;

[0356] The first forwarding message is sent to a message processing network element, so that the message processing network element sends the first forwarding message to the first Chatbot, or the message processing network element processes the first forwarding message and then sends the second forwarding message to the first Chatbot.

[0357] As an optional embodiment, the first forwarding message includes at least one of the following:

[0358] The ID of the first Chatbot message;

[0359] The ID of the first Chatbot;

[0360] Chatbot message forwarding flag;

[0361] The URI of the second terminal.

[0362] As an optional embodiment, the first forwarded message is a Session Initiation Protocol SIP message;

[0363] The Chatbot message forwarding identifier is set in the to header field or from header field or request URI of the SIP message.

[0364] As an optional embodiment, the second forwarding message includes at least one of the following:

[0365] The ID of the first Chatbot message;

[0366] URI of the first terminal;

[0367] The URI of the second terminal.

[0368] As an optional embodiment, the second forwarding message is a SIP message, or a Hypertext Transfer Protocol (HTTP) message.

[0369] As an optional embodiment, the first Chatbot message includes second indication information, and the second indication information is used to indicate whether the corresponding Chatbot message can be forwarded.

[0370] As an optional embodiment, the processor is further configured to perform the following operations:

[0371] According to the operator configuration parameters, it is determined whether the first forwarded message needs to be processed by the message processing network element.

[0372] In the embodiment of the present invention, the Chatbot is notified to forward the message through the message processing network element, and the Chatbot sends the forwarded Chatbot message to the forwarded terminal, which can solve the problem that the Chatbot message is not suitable for forwarding by the traditional forwarding method. By supporting the forwarding of Chatbot messages, more users are brought to industry customers and the satisfaction of industry users is improved; an information sharing function is added for ordinary users, thereby giving the Chatbot message a social attribute, improving user activity and increasing user stickiness.

[0373] It should be noted that the first terminal provided in the embodiment of the present invention is a terminal capable of executing the above-mentioned message forwarding method, and all embodiments of the above-mentioned message forwarding method are applicable to the terminal and can achieve the same or similar beneficial effects.

[0374] like Fig.13 As shown, an embodiment of the present invention further provides a message receiving device, applied to a second terminal, comprising:

[0375] The third receiving module 1301 is used to receive a second Chatbot message sent by the first Chatbot; the second Chatbot message includes: the content of the first Chatbot message.

[0376] As an optional embodiment, the second Chatbot message further includes:

[0377] The first indication information indicates that the second Chatbot message is a forwarded message triggered by the first terminal.

[0378] In the embodiment of the present invention, the Chatbot is notified to forward the message through the message processing network element, and the Chatbot sends the forwarded Chatbot message to the forwarded terminal, which can solve the problem that the Chatbot message is not suitable for forwarding by the traditional forwarding method. By supporting the forwarding of Chatbot messages, more users are brought to industry customers and the satisfaction of industry users is improved; an information sharing function is added for ordinary users, thereby giving the Chatbot message a social attribute, improving user activity and increasing user stickiness.

[0379] It should be noted that the message receiving device provided in the embodiment of the present invention is a device capable of executing the above-mentioned message receiving method, and all embodiments of the above-mentioned message receiving method are applicable to the device and can achieve the same or similar beneficial effects.

[0380] like Fig.14As shown, an embodiment of the present invention further provides a second terminal, including a processor 1400, a transceiver 1410 and a user interface 1420, wherein the transceiver 1410 receives and sends data under the control of the processor 1400, and the processor 1400 is used to perform the following operations:

[0381] A second Chatbot message sent by the first Chatbot is received; the second Chatbot message includes: content of the first Chatbot message.

[0382] As an optional embodiment, the second Chatbot message further includes:

[0383] The first indication information indicates that the second Chatbot message is a forwarded message triggered by the first terminal.

[0384] In the embodiment of the present invention, the Chatbot is notified to forward the message through the message processing network element, and the Chatbot sends the forwarded Chatbot message to the forwarded terminal, which can solve the problem that the Chatbot message is not suitable for forwarding by the traditional forwarding method. By supporting the forwarding of Chatbot messages, more users are brought to industry customers and the satisfaction of industry users is improved; an information sharing function is added for ordinary users, thereby giving the Chatbot message a social attribute, improving user activity and increasing user stickiness.

[0385] It should be noted that the second terminal provided in the embodiment of the present invention is a terminal capable of executing the above-mentioned message receiving method, and all embodiments of the above-mentioned message receiving method are applicable to the terminal and can achieve the same or similar beneficial effects.

[0386] An embodiment of the present invention also provides a communication device, which is a Chatbot or a message processing network element or a first terminal or a second terminal. The communication device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the various processes in the message forwarding method embodiment or the various processes in the message receiving method embodiment as described above are implemented, and the same technical effect can be achieved. To avoid repetition, they will not be repeated here.

[0387] The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, each process in the message forwarding method embodiment or each process in the message receiving method embodiment as described above can be implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0388] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.

[0389] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A device that specifies functions in one or more processes and / or one or more blocks.

[0390] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable storage medium produce a paper product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0391] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that the computer or other programmable device executes a series of operating steps to produce a computer-implemented process, thereby providing instructions executed on the computer or other programmable device for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0392] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A message forwarding method, performed by a first chatbot, characterized in that: include: Obtain forwarding related messages of the first Chatbot message; Generating a second Chatbot message sent to a second terminal according to the forwarding related message; The second Chatbot message includes: the content of the first Chatbot message; Sending the second Chatbot message to the second terminal; Wherein, generating a second Chatbot message sent to the second terminal according to the forwarding related message includes: If the first Chatbot message includes a button and / or a floating menu, a second Chatbot message sent to the second terminal is generated according to the forwarding-related message and the characteristic information of the second terminal.

2. The method according to claim 1, characterized in that The forwarding related message of the first Chatbot message includes any one of the following: A first forwarding message of a first Chatbot message generated by a first terminal; A second forwarding message is obtained after the message processing network element processes the first forwarding message generated by the first terminal.

3. The method according to claim 1 or 2, characterized in that: The second Chatbot message also includes: The first indication information indicates that the second Chatbot message is a forwarded message triggered by the first terminal.

4. The method according to claim 2, characterized in that: The first forwarding message includes at least one of the following: The ID of the first Chatbot message; The ID of the first Chatbot; Chatbot message forwarding flag; The uniform resource identifier (URI) of the second terminal.

5. The method according to claim 4, characterized in that The first forwarded message is a Session Initiation Protocol SIP message; The Chatbot message forwarding identifier is set in the to header field or from header field or request URI of the SIP message.

6. The method according to claim 2, characterized in that The second forwarding message includes at least one of the following: The ID of the first Chatbot message; URI of the first terminal; The URI of the second terminal.

7. The method according to claim 6, characterized in that The second forwarding message is a SIP message, or a Hypertext Transfer Protocol (HTTP) message.

8. The method according to claim 1, characterized in that The first Chatbot message and / or the second Chatbot message includes second indication information, and the second indication information is used to indicate whether the corresponding Chatbot message can be forwarded.

9. A message forwarding method, executed by a message processing network element, characterized in that: include: Receiving a first forwarding message of a first Chatbot message generated by a first terminal; Sending the first forwarding message to the first Chatbot, or sending a second forwarding message obtained by processing the first forwarding message to the first Chatbot; sending the second Chatbot message generated by the first Chatbot to the second terminal by the first Chatbot according to the first forwarding message or the second forwarding message; The second Chatbot message includes: the content of the first Chatbot message; If the first Chatbot message includes a button and / or a floating menu, the second Chatbot message is generated by the first Chatbot according to the first forwarded message or the second forwarded message and the characteristic information of the second terminal.

10. The method according to claim 9, characterized in that The second Chatbot message also includes: The first indication information indicates that the second Chatbot message is a forwarded message triggered by the first terminal.

11. The method according to claim 9, characterized in that The first forwarding message includes at least one of the following: The ID of the first Chatbot message; The ID of the first Chatbot; Chatbot message forwarding flag; The URI of the second terminal.

12. The method according to claim 11, characterized in that The first forwarded message is a Session Initiation Protocol SIP message; The Chatbot message forwarding identifier is set in the to header field or from header field or request URI of the SIP message.

13. The method according to claim 9, characterized in that The second forwarding message includes at least one of the following: The ID of the first Chatbot message; URI of the first terminal; The URI of the second terminal.

14. The method according to claim 13, characterized in that The second forwarding message is a SIP message, or a Hypertext Transfer Protocol (HTTP) message.

15. The method according to claim 9, characterized in that The first Chatbot message and / or the second Chatbot message includes second indication information, and the second indication information is used to indicate whether the corresponding Chatbot message can be forwarded.

16. A message receiving method, executed by a second terminal, characterized in that: include: Receiving a second Chatbot message sent by the first Chatbot; The second Chatbot message includes: the content of the first Chatbot message; If the first Chatbot message includes a button and / or a floating menu, the second Chatbot message is generated by the first Chatbot according to the forwarding-related message of the first Chatbot message and the characteristic information of the second terminal.

17. The method according to claim 16, characterized in that The second Chatbot message also includes: The first indication information indicates that the second Chatbot message is a forwarded message triggered by the first terminal.

18. A message forwarding device, applied to a first Chatbot, characterized in that: include: A first acquisition module, used to acquire forwarding-related messages of the first Chatbot message; A first generating module, configured to generate a second Chatbot message sent to a second terminal according to the forwarding related message; The second Chatbot message includes: the content of the first Chatbot message; A first sending module, configured to send the second Chatbot message to a second terminal; Wherein, the first generation module includes: The first generating submodule is used to generate a second Chatbot message sent to the second terminal according to the forwarding related message and the characteristic information of the second terminal if the first Chatbot message includes a button and / or a floating menu.

19. A first Chatbot, comprising a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, characterized in that: The processor is configured to perform the following operations: Obtain forwarding related messages of the first Chatbot message; Generating a second Chatbot message sent to a second terminal according to the forwarding related message; The second Chatbot message includes: the content of the first Chatbot message; Sending the second Chatbot message to the second terminal; The processor is further configured to perform the following operations: If the first Chatbot message includes a button and / or a floating menu, a second Chatbot message sent to the second terminal is generated according to the forwarding-related message and the characteristic information of the second terminal.

20. A message forwarding device, applied to a message processing network element, characterized in that: include: A first receiving module, configured to receive a first forwarding message of a first Chatbot message generated by a first terminal; A second sending module is used to send the first forwarding message to the first Chatbot, or to send the second forwarding message obtained by processing the first forwarding message to the first Chatbot; so that the first Chatbot sends the second Chatbot message generated by the first Chatbot to the second terminal according to the first forwarding message or the second forwarding message; The second Chatbot message includes: the content of the first Chatbot message; If the first Chatbot message includes a button and / or a floating menu, the second Chatbot message is generated by the first Chatbot according to the first forwarded message or the second forwarded message and the characteristic information of the second terminal.

21. A message processing network element, comprising a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, characterized in that: The processor is configured to perform the following operations: Receiving a first forwarding message of a first Chatbot message generated by a first terminal; Sending the first forwarding message to the first Chatbot, or sending a second forwarding message obtained by processing the first forwarding message to the first Chatbot; sending the second Chatbot message generated by the first Chatbot to the second terminal by the first Chatbot according to the first forwarding message or the second forwarding message; The second Chatbot message includes: the content of the first Chatbot message; If the first Chatbot message includes a button and / or a floating menu, the second Chatbot message is generated by the first Chatbot according to the first forwarded message or the second forwarded message and the characteristic information of the second terminal.

22. A message receiving device, applied to a second terminal, characterized in that: include: A third receiving module, configured to receive a second Chatbot message sent by the first Chatbot; The second Chatbot message includes: the content of the first Chatbot message; If the first Chatbot message includes a button and / or a floating menu, the second Chatbot message is generated by the first Chatbot according to the forwarding-related message of the first Chatbot message and the characteristic information of the second terminal.

23. A second terminal, comprising a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, characterized in that: The processor is configured to perform the following operations: Receiving a second Chatbot message sent by the first Chatbot; the second Chatbot message includes: content of the first Chatbot message; If the first Chatbot message includes a button and / or a floating menu, the second Chatbot message is generated by the first Chatbot according to the forwarding-related message of the first Chatbot message and the characteristic information of the second terminal.

24. A communication device comprising a memory, a processor, and a program stored in the memory and executable on the processor; characterized in that: When the processor executes the program, it implements the message forwarding method as described in any one of claims 1 to 8, or when the processor executes the program, it implements the message forwarding method as described in any one of claims 9 to 15, or when the processor executes the program, it implements the message receiving method as described in claim 16 or 17.

25. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, it implements the steps in the message forwarding method as described in any one of claims 1 to 8; or when the program is executed by a processor, it implements the steps in the message forwarding method as described in any one of claims 8 to 15; or when the program is executed by a processor, it implements the steps in the message receiving method as described in claim 16 or 17.

Citation Information

Patent Citations

  • Advertisement forwarding method, device and system

    CN101754097A