Method and device for converting text message into interactive message, equipment and medium

By recognizing and encapsulating traditional text messages as floating menu buttons, the learning and technical transformation barriers when converting traditional SMS to 5G messages are solved, improving user experience and retention rates.

CN121908225APending Publication Date: 2026-04-21CHINA MOBILE INTERNET CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA MOBILE INTERNET CO LTD
Filing Date
2025-12-15
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

Existing technologies for converting traditional SMS messages to 5G messages rely on a single conversion method, resulting in high learning and technical barriers to entry, making it difficult to attract traditional SMS customers to adopt 5G messaging systems.

Method used

By configuring the management platform and processing it on the gateway side, traditional text messages are identified and encapsulated into floating menu buttons, including interactive content such as links, numbers, and dates, thus lowering the learning curve and improving the user experience.

Benefits of technology

It effectively improved user retention and link click-through rates, reduced user operation complexity, and attracted traditional SMS customers to connect to the 5G messaging system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121908225A_ABST
    Figure CN121908225A_ABST
Patent Text Reader

Abstract

The invention discloses a method and device for converting a text message into an interactive message, equipment and a medium, and the method comprises the steps that a management platform carries out the related configuration of a text recognition process and text extraction, transmits the related configuration information to gateway service, carries out the enabling processing of a to-be-converted 5G text message at a gateway side, packages the to-be-converted 5G text message into a corresponding suggested operation, and carries out the corresponding suggested operation. Based on the extracted key content link, a corresponding suspension menu button is packaged; after the text message is processed, micro-service data is transmitted back to the gateway side, and the gateway side modifies a 5G message body and a message type part in a request body and forwards the request to the MaaP side for message issuing; wherein when the text content is identified and processed, the text is preprocessed, whether the length of the text exceeds the limit or not is judged, and if not, the message issuing information is identified and extracted according to the configuration data. According to the invention, abundant message forms are realized, interactive buttons are provided, the dialing complexity is reduced, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a method, apparatus, device, and medium for converting text messages into interactive messages. Background Technology

[0002] With the continuous development of 5G messaging (RCS Message), besides terminal limitations, another reason affecting customer access and choice of 5G messaging is the high learning and technical transformation threshold. 5G messaging natively includes 5G text messages and 5G multimedia messages. Text messages currently constitute the largest proportion of message types delivered in the industry. Existing technologies propose a message translation method that can translate traditional messages into 5G messages, 5G reading messages, or 5G video messages on the platform side. However, when converting SMS messages, only short links are extracted and packaged into a floating menu with suggested external operations, resulting in a relatively simple format. To attract traditional SMS customers, increase their willingness to access 5G messaging, and improve the retention rate of plain text message customers, there is an urgent need for a method that lowers the learning threshold and provides value-added services by converting text messages or traditional SMS messages into 5G messaging for customer access and use. Summary of the Invention

[0003] To address the aforementioned issues, this application provides a method, apparatus, device, and medium for converting text messages into interactive messages. This effectively improves the user experience.

[0004] In a first aspect, this application provides a method for converting a text message into an interactive message, comprising: The management platform configures the text recognition process and text extraction respectively, stores the user's relevant configuration information in the database, and sends the relevant configuration information to the gateway service on the network management side; On the gateway side, the 5G text messages to be forwarded are empowered. The empowerment process includes gateway service identification, extraction of key content of the 5G text messages to be forwarded, encapsulation into corresponding suggested operations, and linking and encapsulating the extracted key content into corresponding floating menu buttons. After the text message is processed, the microservice data is transmitted back to the gateway side. The gateway side modifies the 5G message body and message type in the request body and then forwards the request to the MaaP side for message delivery. In the process of recognizing and processing text content, a preprocessing procedure is performed to determine whether the text length exceeds the limit. If not, the message information is recognized and extracted based on the configuration data.

[0005] In a second aspect, embodiments of this application provide a device for converting text messages into interactive messages, comprising: The configuration module is used to manage the platform to configure the text recognition process and text extraction, store the user's configuration information in the database, and send the configuration information to the gateway service on the network management side. The identification and encapsulation module is used to enable the 5G text messages to be forwarded on the gateway side. The enabling process includes gateway service identification, extraction of key content of the 5G text messages to be forwarded, encapsulation into corresponding suggested operation modules, and linking and encapsulating corresponding floating menu button modules based on the extracted key content. The delivery module is used to send microservice data back to the gateway side after the text message is processed. The gateway side modifies the 5G message body and message type part in the request body and then forwards the request to the MaaP side for message delivery. In the process of recognizing and processing text content, the text is preprocessed to determine whether the text length exceeds the limit. If not, the message information is recognized and extracted according to the configuration data.

[0006] Thirdly, embodiments of the present invention provide an electronic device, which includes: one or more processors; a memory for storing one or more programs; and when one or more programs are executed by one or more processors, the one or more processors implement a method for converting text messages into interactive messages as provided in any embodiment of the present invention.

[0007] Fourthly, this application discloses a computer-readable storage medium for storing a computer program; when the computer program is executed by a processor, it implements the steps of the aforementioned disclosed method for converting text messages into interactive messages.

[0008] Fifthly, embodiments of this application provide a computer program product, including at least one of a computer program and instructions, wherein when the computer program and instructions are executed by an electronic device, they implement the steps of the method for converting text messages into interactive messages as described in the first aspect.

[0009] Compared with the prior art, the present invention has the following beneficial effects: This invention improves customer retention rates and better attracts SMS customers from other traditional industries to access and use 5G messaging. It also allows CSPs to personalize the recognition results and effects by modifying chatbot information configurations, enabling precise marketing. By recognizing text content when sending text messages through the 5G messaging service provider's chatbot, and encapsulating it into a floating menu with text messages, the invention enriches message formats, provides interactive buttons, reduces operation steps, effectively increases link click-through rates, reduces dialing complexity, and improves user experience. Attached Figure Description

[0010] Figure 1 This is a flowchart illustrating the method for converting text messages into interactive messages as disclosed in this application; Figure 2 This is a block diagram illustrating the components of the method for converting text messages into interactive messages as disclosed in this application. Figure 3 This is a schematic diagram of the text recognition processing flow for the method of converting text messages into interactive messages disclosed in this application; Figure 4 A 5G message structure diagram illustrating the method for converting text messages into interactive messages as disclosed in this application; Figure 5 This is a framework diagram of the method for converting text messages into interactive messages as disclosed in this application; Figure 6 This is a schematic diagram of the device for converting text messages into interactive messages as disclosed in this application. Figure 7 This is a structural diagram of the device disclosed in this invention that converts text messages into interactive messages. Detailed Implementation

[0011] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the application and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present application, not the entire structure.

[0012] based on Figure 1 The present application describes a scenario where a text message is converted into an interactive message, comprising: like Figure 2 As shown, S1 and the management platform configure the text recognition process and text extraction respectively, store the user's relevant configuration information in the database, and send the relevant configuration information to the gateway service on the network management side.

[0013] In one embodiment of the first aspect, the relevant configuration includes the system default configuration of the chatbot for text recognition and text extraction processes; at the same time, it supports 5G messaging service providers (CSPs, short for Chatbot Service Providers) to personalize the recognition results and effects by modifying the chatbot information configuration; the CSP platform refers to the service platform of the 5G messaging provider.

[0014] In one embodiment of the first aspect, configuring the text recognition process includes: customizing link recognition, number recognition, date recognition, etc., on the CSP platform; configuring text extraction includes settings such as button names and protocols. Text recognition and extraction are performed based on the configuration data; the relevant configuration includes information such as the button name of the link, the number of recognized links, the protocol used (HTTP or HTTPS), and the number of recognized numbers. Table 1 shows the fields of the relevant configuration: Table 1

[0015] S2. The relevant configuration information is sent to the gateway service. On the gateway side, the 5G text messages to be forwarded are enabled. The enabling process includes the gateway service identifying and extracting the key content of the 5G text messages to be forwarded, encapsulating them into corresponding suggested actions, and linking the extracted key content into corresponding floating menu buttons. The network management side serves as the unified entry point for mobile 5G industry messages.

[0016] In one embodiment of the first aspect, the suggested operations include: extracting links into external links, extracting numbers into phone numbers, and extracting dates into calendars, thereby transforming enabled 5G text messages into interactive messages, increasing the willingness of traditional industry SMS users to access 5G messaging, and improving the user experience. It can transform text messages with low interactivity into more interactive floating menu messages and supports the recognition of multiple key contents. It can be effective for all customers on the access gateway side and allows all customers on the access gateway side to perform personalized recognition configurations.

[0017] In one embodiment of the first aspect, the link extraction into external link operation includes, but is not limited to, identifying, extracting, and encapsulating IP addresses, long links, and short links in the text into external link suggestion operations on the gateway side; the number extraction into telephone number operation includes, but is not limited to, extracting landline numbers, mobile phone numbers, national numbers, etc. in the text message and encapsulating them into dialing number suggestion operations; the date extraction into calendar operation includes, but is not limited to, encapsulating dates in the text into calendar suggestion operations.

[0018] In one embodiment of the first aspect, the extraction of links is encapsulated into corresponding floating menu buttons, including encapsulating key content into buttons with corresponding interactive floating menus, and the message type is changed to a text message with a floating menu; this improves customer retention and better attracts SMS customers from other traditional industries to access and use 5G messaging.

[0019] In one embodiment of the first aspect, before sending the relevant configuration information to the gateway service, the process includes: when the CSP management platform uses Chatbot to send 5G message text, the gateway forwards the message request to a microservice for processing; after the microservice processes the message request through authentication, security control, flow control, and other logical processes, it enters the pre-sending stage. The microservice is one of the processes by which the gateway handles message requests.

[0020] The fields related to the message request body are shown in Table 2: Table 2

[0021] In one embodiment of the first aspect, during the pre-delivery phase, it is determined whether the 5G message carries a text message, and it is verified whether the chatbot of the message delivery CSP is configured to support text content recognition and extraction. If text content recognition and extraction are supported, the plain text message or the text message with a floating menu of the 5G message is recognized and processed according to the configuration information. After processing, the data is returned to the gateway, which modifies the message body and message type, and then forwards the request to MaaP. For the above management process related configurations, enabling any recognition feature is considered as supporting text content recognition and extraction; the gateway side includes the gateway service component.

[0022] In one embodiment of the first aspect, during the pre-delivery stage, it is determined whether the 5G message carries a text message, and it is verified whether the chatbot of the message delivery CSP is configured to support text content recognition and extraction. If it supports text content recognition and extraction, the plain text message or the text message with a floating menu of the 5G message is recognized and processed according to the configuration information, and the enabled 5G message is forwarded to the MaaP side for delivery to the terminal through the gateway service on the network management side. During the pre-delivery phase, based on the message type (contentType) in the request body, 5G messages that are plain text messages or text messages with floating menus are processed, while other types are directly forwarded to MaaP for delivery.

[0023] If the message value is `text / plain`, it indicates a plain text 5G message. If the message value is `multipart / mixed`, it indicates a text message with a floating menu. Then, parse the content. If the message type is `text / plain`, it indicates a text message. Verify if the CSP's chatbot for sending the message is configured to support text content recognition and extraction. If it supports text content recognition and extraction, further determine whether the chatbot needs to convert links to floating menu buttons, number to floating menu buttons, etc., and add the corresponding text processor to the text processing module. Call the text processing module for text recognition processing. If text content recognition and extraction is not supported, no processing is performed, and the message is returned normally to the gateway side for forwarding to the MaaP.

[0024] The text content recognition process includes a preprocessing step to determine if the text length exceeds the limit. If not, it identifies and extracts information such as links, numbers, and dates from the sent message based on configuration data. The preprocessing includes removing leading and trailing spaces, performing unified encoding, and validating the text length.

[0025] In one embodiment of the first aspect, such as Figure 3 As shown, the text recognition processing flow includes a preprocessing step, such as removing leading and trailing spaces, performing unified encoding, and verifying text length. It checks if the text length exceeds the limit; if not, it identifies and extracts information such as links, numbers, and dates from the text message based on configuration data, and encapsulates the extracted key content into buttons for a floating menu. Since 5G messages limit message field size to a maximum of 50k, text processing is not performed if the text length exceeds the limit. Secondly, if the text length does not exceed the limit, regular expression processing is performed on the text according to the order in which processors are added in the text processing module. Text recognition processing can include many steps, such as using pre-configured regular expressions to perform regular expression matching on text links, and extracting information such as link recognition, number recognition, and date recognition using regular expression matching. The following is an example of link recognition and number recognition.

[0026] If it's a link extraction process, then based on the limit on the number of links, regular expressions are used to match the links. To meet the requirements, a regular expression implementation method is proposed: ① Supports link recognition with or without HTTP or HTTPS headers; ② Only resolves links from configured top-level domains (default configuration is cn, com, org, and net); ③ Stops resolution if a character not in the specified character set (including Chinese characters) is matched; ④ Supports resolution of domain names, IPv4 addresses, and IPv6 addresses.

[0027] The regular expression used is as follows: (?:(?:https?: / / )?(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+(?:com|org|cn|net)|(? <ipv4>\d{1,3}(?:\.\d{1,3}){3})|(? <ipv6>\[?(?:[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4}){0,6}::(?:[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4}){ 0,6})?|(?:[0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4})\]?))(?::\d+)?(?: / [-A-Za-z0-9+&@.:# / %?=~_|] ) ); The regular expression matches segments based on the URI format, where the URI consists of scheme, authority, path, and query. The scheme only processes HTTP or HTTPS links, while the authority includes the domain name or IP address (hostnames are not considered here) and port number. Matched numbers are then validated against the URI; only those that pass validation are added to the results list.

[0028] If the number of identified results exceeds the limit, then according to the configured strategy, link encapsulation will either be stopped or only the corresponding number of links will be encapsulated. Links will be deduplicated before encapsulation. If a link lacks a protocol header, it will be added to the link according to the default or chatbot configuration header, and then encapsulated into a floating menu message.

[0029] If it's a number extraction process, then based on the number limit, the links are matched using pre-configured regular expressions. To meet the extraction requirements, a regular expression implementation method is proposed: ① Identify landline phones with area codes (the area code may be enclosed in parentheses), separating the area code and the landline phone number with a space or hyphen; ② Identify mobile phone numbers; ③ Identify special numbers such as special service numbers and 400 numbers.

[0030] The regular expression used is as follows: (? <![.!@#$%^& ? / \\\w])(((?:(0[0-9]{2,3})|(\(0[0-9]{2,3}\)))[\s-][0-9]{7,8})|(? <mobile>1[0-9]{2}[\s-]?\d{4}[\s-]?\d{4})|(1[0-9]{2,4}|95[0-9]{3})|(400|(\(400\)))[\s-]\d{4}[\s-]\d{4})(?![.!@#$%^& ? / \\\w]) The extracted phone numbers are verified using a whitelist or validation rules. Only numbers that pass verification are added to the recognition results. If the number exceeds the limit, it is handled according to a policy, similar to the link recognition process.

[0031] If the text length exceeds 50k after the text recognition and extraction process, including link recognition, number recognition and extraction, and date recognition and extraction, then the changes will be abandoned.

[0032] In one embodiment of the first aspect, such as Figure 4 As shown, the standard structure of a 5G message is: When the Suggested Chip List is embedded in a regular message (including text messages and file messages), it becomes a floating menu; when embedded in a card message, it becomes a button. The structure of suggestions[] is the same as the structure of the Suggested Chip List. The final encapsulated bodyText example is shown below: <![CDATA[--next Content-Type:text / plain Content-Disposition:inline;filename="Message" Content-Length: 131 Please visit the official website https: / / rcs.10086.cn or call 10086 for more details about the event.

[0033] --next Content-Type:application / vnd.gsma.botsuggestion.v1.0+json Content-Disposition:inline;filename="Chiplist.lst" Content-Length: 430 {"suggestions":[{"action":{"displayText":"Open link (default browser)","postback":{"data":"open_url_internal"},"urlAction":{"openUrl":{"application":"browser","url":"https: / / rcs.10086.cn"}}}},{"action":{"dialerAction":{"dialPhoneNumber":{"phoneNumber":"10086"}},"displayText":"Make a call","postback":{"data":"dialPhoneNumber_10086"}}}]} --next--]]>, where RCS stands for Rich Communication Suite.

[0034] S3: After the text message is processed, the microservice data is transmitted back to the gateway. The gateway modifies the 5G message body and message type in the request body (including replacing the message body and message type), and then forwards the request to the MaaP (Message as a Platform) side for message delivery. The request body contains the message body, message type, and other fields.

[0035] like Figure 5 The architecture used in this embodiment of the invention includes: a CSP platform, a management platform, a database, a gateway, an authentication service, a text recognition and extraction service, a MaaP, and a terminal. The management platform is responsible for configuring personalized text recognition and processing for different chatbots of the CSP and storing the configurations in the database. When the CSP uses a chatbot, the message request is forwarded to the message processing microservice through the gateway and authentication service. The microservice queries the database to see if there is a personalized text recognition and processing configuration, processes the text message, and returns it to the gateway. The gateway modifies the message body and message type, and then forwards the request to the MaaP. The MaaP is responsible for sending the message to the terminal.

[0036] In one embodiment of the first aspect, the chatbot is a chatbot application developed by the Global System for Mobile Communications Association (GSMA) based on the MaaP technology framework.

[0037] This application allows for uneditable message display on the page, while extracting and processing the text during message delivery, encapsulating it into an interactive message. If the customer does not require personalized configuration, they only need to activate the feature and send a message; even if configuration is required, it is a one-time setup that remains effective continuously.

[0038] To send traditional SMS messages, you can experience 5G messaging by using the official CSP's Cmpp protocol to convert to 5G messaging or by directly accessing the 5G messaging platform (no extensive processing of the message body is required). Cmpp, short for China Mobile Point-to-Point Protocol, is a standard protocol for traditional SMS messages developed by China Mobile.

[0039] Improve user experience and satisfaction: By encapsulating links, numbers, or dates into simple operations such as buttons, compared to traditional SMS or 5G text messages where users have to copy the link or number to the corresponding application or open the calendar to select the time and add the corresponding event, sending messages through the floating menu of the encapsulated button allows users to directly launch the application, access links, make calls, or set calendar events by clicking the button. This effectively reduces the complexity of user interaction.

[0040] In summary, this application identifies and processes the text content of 5G messages at the gateway side. After processing, the sent text messages are transformed into messages with floating menus. By empowering customers, this effectively improves customer retention and increases the credibility and click-through rate of links sent to them. No significant modifications are required from customers, lowering the learning and technical barriers for traditional SMS customers to access 5G messaging systems. By processing traditional text messages and extracting interactive elements, including but not limited to links and phone numbers, it is more attractive to traditional SMS customers to access and use 5G messaging.

[0041] Example 2: Based on all client terminal scenarios where conversion is enabled, this invention, building upon Example 1, further proposes a device for converting text messages into interactive messages, such as... Figure 6 As shown, it includes: Configuration module 01 is used to configure the text recognition process and text extraction modules of the management platform, store the user's relevant configuration information into the database, and send the relevant configuration information to the gateway service on the network management side. The identification and encapsulation module 02 is used to enable the 5G text message to be transferred on the gateway side. The enabling process includes gateway service identification, extraction of key content of the 5G text message to be transferred, encapsulation into a corresponding suggested operation module, and linking and encapsulating into a corresponding floating menu button module based on the extracted key content. The delivery module 03 is used to transmit microservice data back to the gateway side after the text message is processed. The gateway side modifies the 5G message body and message type part in the request body, and then forwards the request to the MaaP side for message delivery. In the process of recognizing and processing text content, the text is preprocessed to determine whether the text length exceeds the limit. If not, the message information is recognized and extracted according to the configuration data.

[0042] In one embodiment of the second aspect, the relevant configuration includes: the chatbot uses the system's default configuration for text recognition and text extraction processes; and it also supports 5G messaging service providers to personalize the recognition results and effects by modifying the chatbot's information configuration.

[0043] In one embodiment of the second aspect, the suggested operation module includes: a link extraction into an external link operation module, a number extraction into a telephone number operation module, and a date extraction into a calendar operation module, thereby converting the enabled 5G text message into an interactive message, increasing the willingness of traditional industry SMS users to access 5G messaging, and improving the user experience.

[0044] In one embodiment of the second aspect, the link extraction into external link operation module includes, but is not limited to, identifying, extracting, and encapsulating IP addresses, long links, and short links in the text into external link suggestion operations on the gateway side; the number extraction into telephone operation module includes, but is not limited to, extracting landline numbers, mobile phone numbers, national numbers, etc. from the text message and encapsulating them into dialing number suggestion operations; the date extraction into calendar operation module includes, but is not limited to, encapsulating the date in the text into calendar suggestion operations.

[0045] In one embodiment of the second aspect, the module that encapsulates the extracted key content links into corresponding floating menu buttons includes encapsulating the key content into buttons that encapsulate the corresponding interactive floating menus, and the message type is changed to a text message with a floating menu; the format is richer, which is conducive to improving customer retention rate and better attracting other traditional industry SMS customers to access and use 5G messages.

[0046] In one embodiment of the second aspect, before sending the relevant configuration information to the gateway service, the following steps are taken: when the CSP management platform uses chatbot to send 5G message text, the gateway forwards the message sending request to the microservice for processing. After the microservice performs authentication, security control, flow control and other processes on the message sending request, it enters the pre-sending stage. During the pre-deployment phase, it is determined whether the 5G message carries text. The chatbot of the CSP (Content Provider Service) distributing the message is verified to support text content recognition and extraction. If text content recognition and extraction are supported, the plain text message or the text message with a floating menu in the 5G message is recognized and processed according to the configuration information. After processing, the data is returned to the gateway, which modifies the message body and message type before forwarding the request to the MaaP (Maintenance as a Platform). Enabling any of the above management process-related configurations is considered support for text content recognition and extraction; the gateway side includes the gateway service component.

[0047] In one embodiment of the second aspect, during the pre-delivery stage, it is determined whether the 5G message carries a text message, and it is verified whether the chatbot of the message delivery CSP is configured to support text content recognition and extraction. If it supports text content recognition and extraction, the plain text message or the text message with a floating menu of the 5G message is recognized and processed according to the configuration information, and the enabled 5G message is forwarded to the MaaP side for delivery to the terminal through the gateway service on the network management side. During the pre-delivery phase, based on the message type (contentType) in the request body, 5G messages that are plain text messages or text messages with floating menus are processed, while other types are directly forwarded to MaaP for delivery. Example 3 Figure 7 This is a schematic diagram of the structure of a device for converting text messages into interactive messages, as provided in an embodiment of the present invention. Figure 7 As shown, the device for converting a text message into an interactive message includes at least one processor 310, a memory 320, an input device 330, and an output device 340; the number of processors 310 in the device for converting a text message into an interactive message can be one or more. Figure 7 Taking a processor 310 as an example; the processor 310, memory 320, input device 330, and output device 340 in the device that converts text messages into interactive messages can be connected via a bus or other means. Figure 7 Taking the example of a connection between China and Israel via a bus.

[0048] The memory 320, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules (e.g., configuration module, identification and encapsulation module, and distribution module) corresponding to the text message to interactive message conversion method in this embodiment of the invention. The processor 310 executes the various functional applications and data processing of the text message to interactive message conversion device by running the software programs, instructions, and modules stored in the memory 320, thereby implementing the aforementioned text message to interactive message conversion method.

[0049] The memory 320 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a given function; the data storage area may store data created based on terminal usage. Furthermore, the memory 320 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory, or other non-volatile solid-state storage device. In some instances, the memory 320 may further include memory remotely located relative to the processor 310, which can be connected via a network to a device that converts text messages into interactive messages. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0050] Input device 330 can be used to receive input numerical or character information, and to generate key signal inputs related to user settings and function control for converting text messages into interactive messaging devices. Output device 340 may include display devices such as a display screen.

[0051] This application also discloses a computer-readable storage medium storing a computer program. When the computer program is loaded and executed by a processor, it implements the message translation method steps disclosed in any of the foregoing embodiments.

[0052] In an exemplary embodiment, a computer program product is also provided, including at least one of a computer program and instructions, wherein when the computer program and instructions are executed by an electronic device, the steps of the above-described method for converting text messages into interactive messages are implemented.

[0053] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section.

[0054] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0055] The above description is merely illustrative of the embodiments of the present invention and is not intended to limit the present invention. For those skilled in the art, any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.< / mobile>

Claims

1. A method for converting a text message into an interactive message, comprising: The management platform configures the text recognition process and text extraction respectively, stores the user's relevant configuration information in the database, and sends the relevant configuration information to the gateway service on the network management side; On the gateway side, the 5G text messages to be forwarded are empowered and processed. The empowerment and processing includes gateway service identification, extraction of key content of the 5G text messages to be forwarded, encapsulation into corresponding suggested operations, and linking and encapsulating corresponding floating menu buttons based on the extracted key content. After the text message is processed, the microservice data is transmitted back to the gateway side. The gateway side modifies the 5G message body and message type in the request body and then forwards the request to the MaaP side for message delivery. In the process of recognizing and processing text content, a preprocessing procedure is performed to determine whether the text length exceeds the limit. If not, the message information is recognized and extracted based on the configuration data.

2. The method for converting text messages into interactive messages according to claim 1, characterized in that: The relevant configurations include: the chatbot's default system configuration for text recognition and text extraction processes.

3. The method for converting text messages into interactive messages according to claim 2, characterized in that: The relevant configuration content includes: the button name of the link, the number of links identified, the protocol used, the number of identification numbers, and the button name information.

4. The method for converting text messages into interactive messages according to claim 3, characterized in that: The suggested operations include: extracting links into external links, extracting numbers into phone numbers, and extracting dates into calendars.

5. The method for converting text messages into interactive messages according to claim 4, characterized in that: The link extraction into external links operation includes identifying, extracting, and encapsulating IP addresses, long links, and short links in the text into external link suggestions on the gateway side.

6. The method for converting text messages into interactive messages according to claim 5, characterized in that: The process of extracting numbers into telephone numbers includes extracting landline numbers, mobile phone numbers, and national numbers from text messages and encapsulating them into suggested dial numbers.

7. The method for converting text messages into interactive messages according to claim 6, characterized in that: The date extraction into calendar operation includes encapsulating dates in text into calendar suggestions.

8. The method for converting text messages into interactive messages according to claim 7, characterized in that: The process of encapsulating the extracted key content links into corresponding floating menu buttons includes: encapsulating the key content links into buttons with corresponding interactive floating menus, and changing the message type to a text message with a floating menu.

9. The method for converting text messages into interactive messages according to claim 8, characterized in that: Before the relevant configuration information is sent to the gateway service, the following steps are taken: when the 5G message text is sent using Chatbot on the CSP management platform, the gateway forwards the message sending request to the microservice for processing; after the microservice performs authentication, security control, flow control and other processes on the message sending request, it enters the pre-sending stage.

10. The method for converting text messages into interactive messages according to claim 9, characterized in that: During the pre-delivery phase, it is determined whether the 5G message carries a text message, and it is verified whether the chatbot of the CSP that delivers the message is configured to support text content recognition and extraction. If it supports text content recognition and extraction, then the plain text message or the text message with a floating menu of the 5G message is processed according to the configuration information. After the processing is completed, the data is returned to the gateway, which modifies the message body and message type, and then forwards the request to the MaaP side.

11. The method for converting a text message into an interactive message according to claim 10, characterized in that: The text recognition process includes performing regular expression matching on the text links using pre-configured regular expressions.

12. A device for converting text messages into interactive messages, characterized in that, include: The configuration module is used to manage the platform to configure the text recognition process and text extraction, store the user's relevant configuration information in the database, and send the relevant configuration information to the gateway service on the gateway side. The identification and encapsulation module is used to enable the 5G text messages to be forwarded on the gateway side. The enabling process includes gateway service identification, extraction of key content of the 5G text messages to be forwarded, encapsulation into corresponding suggested operation modules, and linking and encapsulating corresponding floating menu button modules based on the extracted key content. The delivery module is used to send microservice data back to the gateway side after the text message is processed. The gateway side modifies the 5G message body and message type part in the request body and then forwards the request to the MaaP side for message delivery. In the process of recognizing and processing text content, the text is preprocessed to determine whether the text length exceeds the limit. If not, the message information is recognized and extracted according to the configuration data.

13. An electronic device, characterized in that, An electronic device includes: one or more processors; a memory for storing one or more programs; and, when the one or more programs are executed by the one or more processors, the one or more processors implement the method for converting text messages into interactive messages as described in any one of claims 1-11.

14. A computer-readable storage medium, characterized in that, Used to store computer programs; when executed by a processor, the computer programs implement the steps of the method for converting text messages into interactive messages as described in any one of claims 1-11.

15. A computer program product, comprising at least one of a computer program and instructions, characterized in that, When at least one of the computer program or instructions is executed by an electronic device, it implements claim 1. The steps of any one of the methods described in 11 for converting a text message into an interactive message.