Information processing method and device, equipment, medium and program product
By storing the terminal registration information in the 5G messaging system and sending the chatbot list, the 5G messaging terminal is accurately identified, which solves the resource occupation and user experience problems caused by inaccurate 5G messaging terminal identification, and achieves correct message delivery and resource saving for Chatbot. .
Patent Information
- Application Number
- CN202410790763.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-10-18
AI Technical Summary
In the case of inaccurate identification of 5G message terminals, Chatbot may send rich media and card messages to 5G message terminals and non-5G message terminals disguised as 5G message terminals, resulting in excessive system media link resource usage and non-5G message terminals. The message terminal process hangs, seriously affecting the user experience.
The terminal's registration information is stored through the messaging system, and when the terminal's information acquisition request is received, a chat robot list is sent to it. If the terminal successfully obtains the list, it is marked as a 5G message terminal, otherwise it is marked as a non-target terminal, thereby accurately identifying the terminal. type.
The identification accuracy of 5G message terminals is improved, ensuring that Chatbot delivers messages correctly, saving system resources and improving user experience.
Smart Images

Figure CN118803618A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communications, and in particular, relates to an information processing method, device, equipment, computer storage medium and computer program product. Background Art
[0002] In the fifth generation mobile communication technology (5G), 5G message terminals can receive and process rich media and card messages sent by chatbots to achieve application to person (A2P) interaction, while non-5G message terminals cannot receive and process rich media and card messages sent by chatbots. Therefore, the 5G message platform needs to identify whether the terminal is a 5G message terminal so that Chatbot can correctly send rich media and card messages.
[0003] In the actual communication process, the 5G message platform usually determines whether the terminal is a 5G message terminal through the user agent field or configuration field sent by the terminal. However, the user agent field or configuration field sent by the terminal may be changed, resulting in a non-5G message terminal disguised as a 5G message terminal. If the 5G message terminal is not accurately identified, the Chatbot may send a large number of rich media and card messages to 5G message terminals and non-5G message terminals disguised as 5G message terminals, which greatly occupies and consumes system media link resources. In addition, after the unrecognizable message content is sent to the non-5G message terminal, some non-5G message terminals will keep trying to connect to obtain parsing, causing the terminal process to hang, severe power consumption, and no message content to be received, seriously affecting the user experience. Summary of the invention
[0004] The embodiments of the present application provide an information processing method, apparatus, device, computer storage medium and computer program product, which can improve the accuracy of 5G message terminal recognition.
[0005] In a first aspect, an embodiment of the present application provides an information processing method, which is applied to a message center, wherein the message center includes a message application server, and the message application server includes a message system and a target terminal identification module; the method includes:
[0006] Upon receiving a registration request sent by a terminal, storing registration information of the terminal through the message system, the registration request including the registration information;
[0007] Send chatbot list to the terminal via the messaging system;
[0008] When the target terminal identification module receives an information acquisition request sent by the terminal, a target notification message is sent to the message system, where the information acquisition request includes a chat robot details acquisition request and identification information of the terminal, the chat robot details acquisition request is generated by the terminal based on the chat robot list, and the target notification message is used to notify the terminal that it is a target terminal;
[0009] Based on the target notification message, the registration information of the terminal stored in the message system is updated to mark the terminal as a target terminal.
[0010] In an optional embodiment, the method further includes:
[0011] When the target terminal identification module does not receive the information acquisition request sent by the terminal, a preset notification message is sent to the message system, where the preset notification message is used to notify the terminal that it is a non-target terminal;
[0012] Based on the preset notification message, the registration information of the terminal stored in the message system is updated to mark the terminal as a non-target terminal.
[0013] In an optional implementation, the message center further includes a network service and an enhanced network service; and the method further includes:
[0014] Receive push messages sent by the chat robot platform to the terminal through the message application server;
[0015] In the case where the terminal is not a target terminal, the push message is forwarded to the network service through the message application server;
[0016] Get the online status of the terminal through network services;
[0017] When the terminal is offline, a uniform resource locator system link is generated by enhancing the network service, and the uniform resource locator system link is used to carry the terminal access identifier;
[0018] Store push messages to a network service;
[0019] The uniform resource locator system link is sent to the terminal through the network service, so that the terminal can obtain the push message from the network service through the uniform resource locator system link.
[0020] In an optional implementation, the message center further includes a network service and an enhanced network service; and the method further includes:
[0021] When the terminal is not a target terminal, obtaining the online status of the terminal through a network service;
[0022] When the terminal is online, the uplink message sent by the terminal to the chatbot platform is received through the enhanced network service;
[0023] forwarding the uplink message to the network service by enhancing the network service so that the network service forwards the uplink message to the message application server;
[0024] The uplink message is sent to the chatbot platform through the message application server.
[0025] In an optional implementation, after sending the uplink message to the chatbot platform through the message application server, the method further includes:
[0026] Obtain the downlink message sent by the chat robot platform to the terminal through the message application server;
[0027] Sending downlink messages to the network service via the message application server;
[0028] The downlink message is forwarded to the enhanced network service through the network service, so that the enhanced network service forwards the downlink message to the terminal.
[0029] In an optional embodiment, the method further includes:
[0030] Store uplink messages and / or downlink messages to a network service.
[0031] In a second aspect, an embodiment of the present application provides an information processing device, including:
[0032] A storage module, configured to store the registration information of the terminal through the message system when receiving a registration request sent by the terminal, the registration request including the registration information;
[0033] The sending module is used to send the chatbot list to the terminal through the message system;
[0034] The sending module is further used to send a target notification message to the message system when the target terminal identification module receives an information acquisition request sent by the terminal, the information acquisition request includes a chat robot details acquisition request and identification information of the terminal, the chat robot details acquisition request is generated by the terminal based on the chat robot list, and the target notification message is used to notify the terminal that it is a target terminal;
[0035] The updating module is used to update the registration information of the terminal stored in the message system based on the target notification message, so as to mark the terminal as the target terminal.
[0036] In a third aspect, an embodiment of the present application provides an electronic device, the device comprising: a processor and a memory storing computer program instructions;
[0037] When the processor executes the computer program instructions, it implements the information processing method as described in any optional implementation manner of the first aspect of the present application.
[0038] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, an information processing method as in any optional implementation manner of the first aspect of the present application is implemented.
[0039] In a fifth aspect, an embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes an information processing method as described in any optional implementation of the first aspect of the present application.
[0040] The information processing method, device, equipment, computer storage medium and computer program product of the embodiment of the present application can store the registration information of the terminal through the message system when receiving the registration request sent by the terminal, and the registration request includes the registration information. Then, the chat robot list is sent to the terminal through the message system. When the target terminal identification module receives the information acquisition request sent by the terminal, the target notification message is sent to the message system, and the information acquisition request includes the chat robot details acquisition request and the identification information of the terminal. The chat robot details acquisition request is generated by the terminal based on the chat robot list, and the target notification message is used to notify the terminal that it is a target terminal. Specifically, the target terminal can be a 5G message terminal. 5G message terminals can obtain the chat robot list, and non-5G message terminals cannot obtain the chat robot list. In this way, when the target terminal identification module receives the information acquisition request sent by the terminal, it can be determined that the terminal has successfully obtained the chat robot list. In this way, it can be determined that the terminal is a 5G message terminal, so the above-mentioned target notification message can be sent to the message system. Based on the target notification message, the registration information of the terminal stored in the message system can be updated to mark the terminal as a target terminal. In this way, 5G message terminals can be accurately identified, which is conducive to the Chatbot to correctly send rich media and card messages, thereby saving system media link resources and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0042] Figure 1 This is a schematic diagram of the architecture of a 5G messaging system provided by an embodiment of the present application;
[0043] Figure 2 is a flowchart of an information processing method provided by another embodiment of the present application;
[0044] Figure 3is a flowchart of an information processing method provided by yet another embodiment of the present application;
[0045] Figure 4 is a flowchart of an information processing method provided by yet another embodiment of the present application;
[0046] Figure 5 is a flowchart of an information processing method provided by yet another embodiment of the present application;
[0047] Figure 6 is a structural diagram of an information processing device provided by yet another embodiment of the present application;
[0048] Figure 7 It is a structural diagram of an information processing device provided in yet another embodiment of the present application. DETAILED DESCRIPTION
[0049] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0050] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0051] 5G messaging terminals, such as UP2.4 terminals, can receive and process rich media and card messages sent by chatbots to achieve application to person (A2P) interaction, while non-5G messaging terminals cannot receive and process rich media and card messages sent by chatbots and can only send them via SMS or MMS, and cannot achieve A2P interaction. Therefore, the 5G messaging platform needs to identify whether the terminal is a 5G messaging terminal so that Chatbot can correctly send rich media and card messages.
[0052] Related technology involves determining whether a terminal is a 5G message terminal through a user agent field or a configuration field sent by the terminal. As an example, when the terminal goes online, a registration message can be sent to the 5G message platform. The registration message is based on the Session Initialization Protocol (SIP), and the user agent (user-agent) field carries the terminal manufacturer, terminal model, enhanced (UP) version identification and other information corresponding to the terminal. The 5G message platform can identify whether the terminal is a 5G message terminal based on the information in the user-agent field. As another example, when the terminal logs in, a configuration request can be initiated to the Dialog Management (DM), and the request can carry the configuration version (prov_ver) field of the terminal. If the terminal is a 5G message terminal, the prov_ver field carried is filled with prov_ver≥5.0. The 5G message platform can identify whether the terminal is a 5G message terminal based on whether the prov_ver field meets prov_ver≥5.0.
[0053] However, the user-agent field is a text string, which can be filled in at will by terminals of various manufacturers, which brings great difficulties to the identification of 5G message terminals. In addition, whether it is through the user-agent field or the prov_ver field to identify 5G message terminals, during the current network testing process, there are cases where non-5G message terminals identify themselves as 5G message terminals, thereby disguising themselves as 5G message terminals, such as non-5G message terminals with prov_ver≥5.0. Once these terminals are sold to users, it is difficult to correct the corresponding user agent field or configuration field, which can easily interfere with the identification of 5G message terminals.
[0054] If the 5G message terminal is not accurately identified, the Chatbot may send a large number of rich media and card messages to 5G message terminals and non-5G message terminals disguised as 5G message terminals, which greatly occupies and consumes system media link resources. In addition, after the unrecognizable message content is sent to the non-5G message terminal, some non-5G message terminals will keep trying to connect for parsing, causing the terminal process to hang, consuming a lot of power, and not receiving any message content, which seriously affects the user experience.
[0055] In view of this, the inventor, after in-depth thinking, cleverly designed an information processing method, device, equipment, computer storage medium and computer program product. Using this information processing method, device, equipment, computer storage medium and computer program product, the accuracy of 5G message terminal recognition can be improved.
[0056] The information processing method provided by the embodiment of the present application is introduced below in conjunction with the accompanying drawings through specific embodiments and their application scenarios. The information processing method provided by the embodiment of the present application, the device executing the method may be an information processing device, or a partial module in the information processing device for executing the information processing method. In the embodiment of the present application, the information processing method provided by the embodiment of the present application is described in detail by taking the information processing device executing the information processing method as an example.
[0057] The information processing method provided in the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0058] The information processing method provided in the embodiment of the present application can be performed based on the 5G message system. In one embodiment, the architecture of the 5G message system can be as follows: Figure 1 shown.
[0059] like Figure 1 As shown, the 5G message system may include a 5G message center (5G Message Center, 5GMC) and a chatbot platform.
[0060] In the 5G messaging system, 5GMC can implement functions such as access control, registration authentication, message routing addressing, terminal configuration management, etc. for 5G messaging terminals. 5GMC can include a short message center, a message application server (Application Server, AS) and a network application server.
[0061] The short message center can realize the SMS function and send SMS to the terminal.
[0062] The message AS can determine whether the terminal is a 5G message terminal based on whether the terminal can pull the chatbot list and implement the 5G message function. In one embodiment, when the called terminal does not support 5G messages or is offline, the message AS can convert the 5G message in the form of MMS into a uniform resource locator (URL) link through the network application server, and send it to the terminal in the form of traditional text messages through the short message center. When the called terminal supports 5G messages or is offline, the message AS can interact directly with the called terminal.
[0063] The network application server may include a network (Web) front-end program and a back-end service program. The Web front-end program may include an enhanced network service, and the enhanced network service may include an Internet configuration software (WebAccess) and a browser engine WEBKit program. WebAccess can support access to the telecommunications data infrastructure network established by the operator, for example, through a packet switching domain (PS domain) or a wireless local area network (WLAN). The enhanced network service can provide a terminal 5G message access function. After the user clicks on the terminal connection, the WEBKit program can be downloaded to the browser. The back-end service program may include a network service (WebAS), and WebAS may provide user message delivery and user historical message storage functions. The WebAS and the message AS may be connected using an application programming interface (API). As an example, the API may be a RESTful-style API. WebAS docks with the message AS for chatbot's 5G message interaction. The network application server and the terminal may use a Hypertext Transfer Protocol Secure (HTTPS) link and use a RESTful-style API to receive and send messages. In this way, the network application server can provide users with access to Maritime AssetExchange&Protoco (MaaP) messages and uplink and downlink message capabilities, thereby enabling the terminal to obtain chatbot details and files on the MaaP platform.
[0064] In the 5G messaging system, the chatbot platform can include a MaaP platform. The MaaP platform can use the chatbot unified interface to implement chatbot and message access management, authentication, and multimedia content upload and storage in industry messages.
[0065] The following is a detailed description of the information processing method provided in the embodiment of the present application based on the above-mentioned 5G message system.
[0066] Figure 2 A flow chart of an information processing method provided by an embodiment of the present application is shown. The method can be applied to a message center, which can include a message application server, which can include a message system and a target terminal identification module.
[0067] like Figure 2 As shown, the information processing method may specifically include the following steps S110 to S140.
[0068] S110, when a registration request sent by a terminal is received, the registration information of the terminal is stored through a message system, where the registration request includes the registration information.
[0069] In step S110, the registration information may include identification information and basic information of the terminal. The basic information may be, for example, one or more of the terminal manufacturer, terminal model, enhanced UP version identification, and the like.
[0070] S120, sending a chat robot list to the terminal through the message system.
[0071] In step S120, the chatbot list (chatbot list) may include relevant information of the chatbot. In some embodiments, the chatbot list may be a special chatbot list, and the special chatbot list may include relevant information of the special chatbot. The special chatbot is not displayed on the terminal interface, and is imperceptible to the user, which can improve the user experience. In the case where the terminal is a 5G message terminal, the terminal can successfully obtain the chatbot list, and obtain the chatbot details from the target terminal identification module according to the chatbot-related information in the chatbot list.
[0072] S130, when the target terminal identification module receives an information acquisition request sent by the terminal, a target notification message is sent to the message system. The information acquisition request includes a chat robot details acquisition request and the identification information of the terminal. The chat robot details acquisition request is generated by the terminal based on the chat robot list. The target notification message is used to notify the terminal that it is a target terminal.
[0073] In step S130, when the target terminal identification module receives the information acquisition request sent by the terminal, it can be determined that the terminal has successfully acquired the chatbot list. Accordingly, it can be determined that the terminal is a 5G message terminal.
[0074] S140: Based on the target notification message, update the registration information of the terminal stored in the message system to mark the terminal as a target terminal.
[0075] The information processing method of the embodiment of the present application can store the registration information of the terminal through the message system when receiving the registration request sent by the terminal, and the registration request includes the registration information. Then, the chat robot list is sent to the terminal through the message system. When the target terminal identification module receives the information acquisition request sent by the terminal, a target notification message is sent to the message system, and the information acquisition request includes a chat robot detail acquisition request and the identification information of the terminal. The chat robot detail acquisition request is generated by the terminal based on the chat robot list, and the target notification message is used to notify the terminal that it is a target terminal. Specifically, the target terminal can be a 5G message terminal. The 5G message terminal can obtain the chat robot list, and the non-5G message terminal cannot obtain the chat robot list. In this way, when the target terminal identification module receives the information acquisition request sent by the terminal, it can be determined that the terminal has successfully obtained the chat robot list. In this way, it can be determined that the terminal is a 5G message terminal, so the above-mentioned target notification message can be sent to the message system. Based on the target notification message, the registration information of the terminal stored in the message system can be updated to mark the terminal as a target terminal. In this way, the 5G message terminal can be accurately identified, which is conducive to the correct distribution of rich media and card messages by Chatbot, and thus it is conducive to saving system media link resources and improving user experience.
[0076] As an example, the message center may be a 5GMC, the message application server may be a message AS, the message system may be a 5G message system, and the target terminal identification module may be a 5G message terminal identification module. Figure 3 , an example is given to illustrate how 5GMC executes the information processing method of an embodiment of the present application through the message AS to identify the 5G message terminal.
[0077] like Figure 3 As shown, in one example, the information processing method may specifically include the following steps S210 to S260.
[0078] S210, the terminal sends a registration request to the 5G message system, and the registration request includes registration information.
[0079] Accordingly, the 5G message system can receive the registration request and store the registration information of the terminal through the message system.
[0080] S220, the 5G messaging system sends a chatbot list to the terminal.
[0081] Specifically, the 5G message system can respond to the above registration request, and the terminal sends a chatbot list.
[0082] S230, the terminal sends an information acquisition request to the 5G message terminal identification module, the information acquisition request includes a chatbot details acquisition request and the terminal's identification information, and the chatbot details acquisition request is generated by the terminal based on the chatbot list.
[0083] In step S230, since the 5G message terminal can pull the chatbot list, if the terminal is a 5G message terminal, an information acquisition request can be sent to the 5G message module based on the chatbot-related information in the chatbot list to obtain the chatbot details. Accordingly, the 5G message terminal identification module can receive the information acquisition request sent by the terminal and generate a target notification message. In some examples, the 5G message terminal identification module can return the chatbot details to the terminal.
[0084] S240, the 5G message terminal identification module sends a target notification message to the 5G message system, and the target notification message is used to notify the 5G message system that the terminal is a 5G message terminal.
[0085] S250, the 5G message system returns a response message to the 5G message terminal identification module.
[0086] In step S250, the response message may be used to indicate that the target notification message has been successfully sent to the 5G message system. This is beneficial for the 5G message terminal to register with the 5G message system.
[0087] S260, the 5G message system identifies the terminal as a 5G message terminal, and updates the registration information of the terminal stored in the 5G message system to mark the terminal as a 5G message terminal.
[0088] In some examples, after marking the terminal as a 5G message terminal, the 5G message system can use a browser to open HTML5 (H5 page) to present media content such as pictures and card messages that the Chatbot needs to send, thereby realizing upstream and downstream application message interaction between the terminal and the Chatbot.
[0089] In one embodiment, the method may further include:
[0090] When the target terminal identification module does not receive the information acquisition request sent by the terminal, a preset notification message is sent to the message system, where the preset notification message is used to notify the terminal that it is a non-target terminal.
[0091] Based on the preset notification message, the registration information of the terminal stored in the message system is updated to mark the terminal as a non-target terminal.
[0092] In one example, during the terminal registration process, if the terminal is a target terminal, an information acquisition request will be sent to the target terminal identification module within a certain period of time. If the target terminal identification module does not receive the information acquisition request sent by the terminal within a preset time, the terminal can be considered as a non-target terminal, and a preset notification message will be sent to the message system.
[0093] In the above embodiment, when the target terminal identification module does not receive the information acquisition request sent by the terminal, it can be considered that the terminal cannot successfully obtain the chatbot list and the terminal is identified as a non-target terminal. In this way, 5G message terminals and non-5G message terminals can be accurately distinguished, which is conducive to the normal interaction between the chatbot and the terminal, thereby improving the user experience.
[0094] In one embodiment, the message center may also include network services and enhanced network services. The method may also include:
[0095] Receive push messages sent by the chat robot platform to the terminal through the message application server.
[0096] In the case where the terminal is not a target terminal, the push message is forwarded to the network service through the message application server.
[0097] Get the online status of the terminal through network services.
[0098] When the terminal is offline, a uniform resource locator system link is generated by enhancing the network service, and the uniform resource locator system link is used to carry the terminal access identifier.
[0099] Store push messages to a network service.
[0100] The uniform resource locator system link is sent to the terminal through the network service, so that the terminal can obtain the push message from the network service through the uniform resource locator system link.
[0101] In the related technology, for non-5G message terminals, the card messages sent by the chatbot can only be converted into SMS or MMS and sent to the terminal, and A2P interaction cannot be achieved.
[0102] The above-mentioned embodiment can convert the push message sent by the chatbot into a URL link when the non-5G message terminal is not online, for example, in an offline state or not logged in state. In this way, the terminal can obtain the push message through the URL link. Specifically, in some examples, the terminal can open the browser to access the URL based on the user's operation of clicking the URL link, and the WEBKit program of the enhanced network service can automatically provide the network component program to be downloaded to the terminal browser to initiate login registration. After the terminal logs in and registers successfully, the network enhancement service can send an offline message push to the user. In some examples, after the terminal logs in and registers successfully, the user can also pull the historical messages stored by the network service on the terminal browser, and the terminal browser can pull the WebAS message content through the WEBKit component H5 page and render it. In this way, A2P interaction between chatbot and non-5G message terminals can be realized, and the experience of non-5G message terminal users can be improved.
[0103] Combine the following Figure 4 , the above embodiments are illustrated by examples. Figure 4 As shown, the information processing method may include the following steps S310 to S390.
[0104] S310, the chat robot platform sends an A2P message to the message AS.
[0105] In one example, the chatbot platform may be a Maap platform. The chatbot accesses the Maap platform to send an A2P message to the terminal, and the Maap platform may forward the A2P message to the message AS of the 5GMC to which the called party belongs according to the called party's route.
[0106] S320, when the message AS determines that the terminal is a non-target terminal according to the registration information of the terminal, it synchronously sends the A2P message content to the WebAS through the real-time message interface.
[0107] S330, WebAS obtains the online status of the terminal. When the terminal is not online, WebAS sends a request to WebAccess, where the request is used to instruct WebAccess to generate a URL link carrying a terminal access identifier.
[0108] S340: WebAccess generates a URL link carrying the terminal access identifier based on the request and sends it to WebAS.
[0109] S350, WebAS caches the A2P message offline.
[0110] S360, WebAS sends the URL link to the terminal in the form of a text message through the short message center.
[0111] S370, the terminal receives a click operation on the URL link by the user, opens a browser to access the URL link, downloads the web component program automatically provided by the WEBKit program to the terminal browser, and initiates login registration to the network application server.
[0112] S380, when the terminal logs in successfully, WebAS notifies WebAccess that the terminal is online.
[0113] S390, WebAccess sends an A2P message to the terminal.
[0114] In one example, after the above step S390, the terminal can pull historical A2P messages based on the user's sliding operation, and the terminal browser can render the pulled historical A2P messages through the WEBKit component H5 page. In one example, if the terminal browser is not closed and the terminal is always online, WebAS can forward the uplink message sent by the terminal to the MaaP platform to which the chatbot belongs through the message AS, and the MaaP platform forwards it to the connected chatbot. After that, the chatbot continues to interact with the terminal based on the received reply content and business status. In this way, a message interaction cycle between the chatbot and the non-5G message terminal can be realized.
[0115] In one embodiment, the message center may also include network services and enhanced network services. The method may also include:
[0116] When the terminal is a non-target terminal, the online status of the terminal is obtained through a network service.
[0117] When the terminal is online, the uplink message sent by the terminal to the chatbot platform is received through the enhanced network service.
[0118] The uplink message is forwarded to the network service by enhancing the network service so that the network service forwards the uplink message to the message application server.
[0119] The uplink message is sent to the chatbot platform through the message application server.
[0120] In one embodiment, after sending the uplink message to the chatbot platform through the message application server, the method may further include:
[0121] Obtain the downlink message sent by the chat robot platform to the terminal through the message application server.
[0122] Send downlink messages to network services through the message application server.
[0123] The downlink message is forwarded to the enhanced network service through the network service, so that the enhanced network service forwards the downlink message to the terminal.
[0124] The above embodiment can realize the transmission of uplink messages and downlink messages between the terminal and the chatbot respectively when the non-5G message terminal is online, thereby realizing the A2P interaction between the chatbot and the non-5G message terminal. In this way, the user experience of the non-5G message terminal can be improved.
[0125] In one embodiment, the method may further include: storing the uplink message and / or the downlink message in the network service. In this way, it is convenient for the user to read the historical messages, which is conducive to improving the user experience.
[0126] Combine the following Figure 5 , an example is given to illustrate the A2P interaction between the chatbot and the non-5G messaging terminal when the non-5G messaging terminal is online. Figure 5 As shown, the information processing method may include the following steps S401 to S416.
[0127] S401, the terminal logs in successfully and obtains temporary cache information of the browser, the temporary cache information including a chatbot ID, a token, and an integrated services digital network (ISDN).
[0128] S402: The terminal establishes a long link with the network application server based on the temporary cache information.
[0129] In some examples, the terminal can request to refresh the token regularly according to the validity period of the token, and the network application server can update the token and return a token refresh response to the terminal. The terminal can refresh the token cached locally in the browser.
[0130] S403: The terminal sends an uplink message to WebAccess.
[0131] S404, WebAccess sends the uplink message to WebAS.
[0132] S405, the WebAS sends the uplink message to the message AS.
[0133] S406, the message AS returns a WebAS response.
[0134] S407, WebAS returns a WebAccess response.
[0135] S408, WebAccess returns a terminal response.
[0136] S409, the message AS sends an uplink message to the chat robot platform.
[0137] S410, the chat robot platform sends a downlink message to the message AS.
[0138] S411, when the message AS determines that the terminal is a non-target terminal according to the registration information of the terminal, it synchronously sends the downlink message content to the WebAS through the real-time message interface.
[0139] S412, WebAS synchronously sends the downlink message content to WebAccess.
[0140] S413, WebAccess sends the downlink message to the terminal.
[0141] S414, the terminal returns a response to WEBAccess.
[0142] S415, WEBAccess returns a response to WebAS.
[0143] S416, WebAS returns a response to the message AS.
[0144] In some examples, the WebAS may also cache the uplink message and the downlink message as historical messages. In some examples, the WebAS may also periodically delete expired historical message records.
[0145] In some examples, the terminal can display real-time interactive messages. In this way, non-5G message users can achieve non-perceived A2P interaction with chatbots.
[0146] Based on the same inventive concept, the embodiment of the present application also provides an information processing device 200.
[0147] like Figure 6 As shown, the information processing device 600 may include a storage module 601 , a sending module 602 , and an updating module 603 .
[0148] The storage module 601 is used to store the registration information of the terminal through the message system when receiving a registration request sent by the terminal, where the registration request includes the registration information.
[0149] The sending module 602 is used to send the chat robot list to the terminal through the message system.
[0150] The sending module 602 is also used to send a target notification message to the message system when the target terminal identification module receives an information acquisition request sent by the terminal. The information acquisition request includes a chat robot details acquisition request and the identification information of the terminal. The chat robot details acquisition request is generated by the terminal based on the chat robot list. The target notification message is used to notify the terminal that it is a target terminal.
[0151] The updating module 603 is used to update the registration information of the terminal stored in the message system based on the target notification message, so as to mark the terminal as a target terminal.
[0152] The information processing device of the embodiment of the present application can store the registration information of the terminal through the message system when receiving the registration request sent by the terminal, and the registration request includes the registration information. Then, the chat robot list is sent to the terminal through the message system. When the target terminal identification module receives the information acquisition request sent by the terminal, a target notification message is sent to the message system, and the information acquisition request includes a chat robot detail acquisition request and the identification information of the terminal. The chat robot detail acquisition request is generated by the terminal based on the chat robot list, and the target notification message is used to notify the terminal that it is a target terminal. Specifically, the target terminal can be a 5G message terminal. The 5G message terminal can obtain the chat robot list, and the non-5G message terminal cannot obtain the chat robot list. In this way, when the target terminal identification module receives the information acquisition request sent by the terminal, it can be determined that the terminal has successfully obtained the chat robot list. In this way, it can be determined that the terminal is a 5G message terminal, so the above-mentioned target notification message can be sent to the message system. Based on the target notification message, the registration information of the terminal stored in the message system can be updated to mark the terminal as a target terminal. In this way, the 5G message terminal can be accurately identified, which is conducive to the correct distribution of rich media and card messages by Chatbot, and thus it is conducive to saving system media link resources and improving user experience.
[0153] In one embodiment, the apparatus may further include:
[0154] The sending module is used to send a preset notification message to the message system when the target terminal identification module does not receive the information acquisition request sent by the terminal. The preset notification message is used to notify the terminal that it is a non-target terminal.
[0155] The updating module is used to update the registration information of the terminal stored in the message system based on the preset notification message, so as to mark the terminal as a non-target terminal.
[0156] In one embodiment, the apparatus may further include:
[0157] The sending module is used to receive push messages sent by the chat robot platform to the terminal through the message application server.
[0158] The forwarding module is used to forward the push message to the network service through the message application server when the terminal is not a target terminal.
[0159] The acquisition module is used to obtain the online status of the terminal through the network service.
[0160] The generating module is used to generate a uniform resource locator system link by enhancing the network service when the terminal is not online, and the uniform resource locator system link is used to carry the terminal access identifier.
[0161] The storage module is used to store the push messages to the network service.
[0162] The sending module is used to send the uniform resource locator system link to the terminal through the network service, so that the terminal can obtain the push message from the network service through the uniform resource locator system link.
[0163] In one embodiment, the apparatus may further include:
[0164] The acquisition module is used to acquire the online status of the terminal through a network service when the terminal is not a target terminal.
[0165] The receiving module is used to receive uplink messages sent by the terminal to the chat robot platform through enhanced network services when the terminal is online.
[0166] The forwarding module is used to forward the uplink message to the network service through the enhanced network service, so that the network service forwards the uplink message to the message application server.
[0167] The sending module is used to send the uplink message to the chat robot platform through the message application server.
[0168] In one embodiment, the apparatus may further include:
[0169] The acquisition module is used to obtain the downlink message sent by the chat robot platform to the terminal through the message application server.
[0170] The sending module is used to send the downlink message to the network service through the message application server.
[0171] The forwarding module is used to forward the downlink message to the enhanced network service through the network service, so that the enhanced network service forwards the downlink message to the terminal.
[0172] In one embodiment, the apparatus may further include:
[0173] The storage module is used to store the uplink message and / or the downlink message to the network service.
[0174] The information processing device provided in the embodiment of the present application can realize Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0175] Figure 7 A schematic diagram of the hardware structure of an information processing device provided in an embodiment of the present application is shown.
[0176] The information processing device may include a processor 701 and a memory 702 storing computer program instructions.
[0177] Specifically, the processor 701 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0178] The memory 702 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 702 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 702 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 702 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 702 is a non-volatile solid-state memory.
[0179] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.
[0180] The processor 701 implements any one of the information processing methods in the above embodiments by reading and executing computer program instructions stored in the memory 702 .
[0181] In one example, the information processing device may further include a communication interface 703 and a bus 710. Figure 7 As shown, the processor 701, the memory 702, and the communication interface 703 are connected via a bus 710 and communicate with each other.
[0182] The communication interface 73 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0183] Bus 710 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 710 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.
[0184] The information processing device can execute the information processing method in the embodiment of the present application, thereby realizing the combination Figure 1 and Figure 6 Described information processing method and device.
[0185] In addition, in combination with the information processing method in the above embodiments, the embodiments of the present application may provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the information processing methods in the above embodiments is implemented.
[0186] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0187] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0188] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0189] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box 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, or other programmable information processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable information processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0190] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. An information processing method, It is characterized in that Applied to a message center, the message center includes a message application server, the message application server includes a message system and a target terminal identification module; the method includes: storing, by the messaging system, registration information of the terminal upon receiving a registration request sent by the terminal, the registration request including the registration information; Sending a chat robot list to the terminal via the message system; When the target terminal identification module receives an information acquisition request sent by the terminal, a target notification message is sent to the message system, wherein the information acquisition request includes a chat robot details acquisition request and identification information of the terminal, the chat robot details acquisition request is generated by the terminal based on the chat robot list, and the target notification message is used to notify the terminal that it is a target terminal; Based on the target notification message, the registration information of the terminal stored in the message system is updated to mark the terminal as a target terminal.
2. The method according to claim 1, It is characterized in that The method further comprises: When the target terminal identification module does not receive the information acquisition request sent by the terminal, sending a preset notification message to the message system, where the preset notification message is used to notify that the terminal is a non-target terminal; Based on the preset notification message, the registration information of the terminal stored in the message system is updated to mark the terminal as a non-target terminal.
3. The method according to claim 2, It is characterized in that The message center also includes network services and enhanced network services; the method also includes: Receiving a push message sent by the chat robot platform to the terminal through a message application server; In the case where the terminal is a non-target terminal, forwarding the push message to the network service through a message application server; Acquiring the online status of the terminal through the network service; When the terminal is offline, generating a uniform resource locator system link through the enhanced network service, wherein the uniform resource locator system link is used to carry a terminal access identifier; storing the push message to the network service; The uniform resource locator system link is sent to the terminal through the network service, so that the terminal obtains the push message from the network service through the uniform resource locator system link.
4. The method according to claim 2, It is characterized in that The message center also includes network services and enhanced network services; the method also includes: When the terminal is a non-target terminal, obtaining the online status of the terminal through the network service; When the terminal is online, receiving an uplink message sent by the terminal to the chat robot platform through the enhanced network service; forwarding the uplink message to the network service through the enhanced network service, so that the network service forwards the uplink message to a message application server; The uplink message is sent to the chat robot platform through a message application server.
5. The method according to claim 4, It is characterized in that After sending the uplink message to the chat robot platform through the message application server, the method further includes: Acquire, through the message application server, a downlink message sent by the chat robot platform to the terminal; sending the downlink message to the network service through the message application server; The downlink message is forwarded to the enhanced network service through the network service, so that the enhanced network service forwards the downlink message to the terminal.
6. The method according to claim 5, It is characterized in that The method further comprises: The uplink message and / or the downlink message is stored in the network service.
7. An information processing device, It is characterized in that include: a storage module, configured to store the registration information of the terminal through the message system when receiving a registration request sent by the terminal, wherein the registration request includes the registration information; A sending module, used for sending a chat robot list to the terminal through the message system; The sending module is further configured to send a target notification message to the message system when the target terminal identification module receives an information acquisition request sent by the terminal, wherein the information acquisition request includes a chat robot details acquisition request and identification information of the terminal, the chat robot details acquisition request is generated by the terminal based on the chat robot list, and the target notification message is used to notify the terminal that it is a target terminal; An updating module is used to update the registration information of the terminal stored in the message system based on the target notification message, so as to mark the terminal as a target terminal.
8. An electronic device, It is characterized in that The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the information processing method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the information processing method according to any one of claims 1 to 6 is implemented.
10. A computer program product, It is characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the information processing method according to any one of claims 1 to 6.
Citation Information
Cited By
Message notification method, system and device, storage medium and program product
CN121262181A
A message notification method, system, device, storage medium, and program product.
CN121262181B
