Method for rich media of 5g message and method for synchronization of rich media message template
By using the built-in ReadMessage SDK in the terminal to parse 5G messages and obtain rich media message templates, the problem of limited rich media capabilities for 5G messages is solved, enabling flexible rich media message conversion and display, and improving user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA MOBILE INTERNET CO LTD
- Filing Date
- 2024-08-19
- Publication Date
- 2026-04-21
AI Technical Summary
The 5G messaging standard, which follows the RCS standard, limits the optimization and expansion of rich media message templates, thus restricting the rich media capabilities of 5G messaging.
By embedding the Reading Software Development Kit (SDK) in the terminal, the target 5G message is parsed and a matching target rich media message template is obtained, thereby realizing the conversion and rich media rendering of 5G messages.
It enables rich media rendering of 5G messages, free from the limitations of the RCS standard, thus improving user experience and the flexibility of message display.
Smart Images

Figure CN119136155B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of computer technology, specifically relating to a method for enriching 5G messages and a method for synchronizing rich media message templates. Background Technology
[0002] 5G Message is the target upgrade solution for operators' SMS and MMS services. It is implemented based on the Rich Communication Suite (RCS) standard and can provide richer rich media messaging services compared to SMS and MMS.
[0003] However, since 5G messages follow the RCS standard, the definition of their corresponding rich media message templates is also constrained by the RCS standard and related specifications, which limits the optimization and expansion of the rich media message templates corresponding to 5G messages, and thus limits the enrichment of 5G messages. Summary of the Invention
[0004] This application provides a method for enriching 5G messages and a method for synchronizing rich media message templates, which can solve the problem that the 5G message compliance with the RCS standard restricts the optimization and expansion of the corresponding rich media message templates, thereby limiting the enrichment of 5G messages.
[0005] In a first aspect, embodiments of this application provide a method for enriching 5G messages, the method comprising: a target terminal receiving a target 5G message; wherein the target terminal has a built-in Yuexin Software Development Kit (SDK); if the Yuexin SDK supports parsing the target 5G message, calling the Yuexin SDK to obtain a target rich media message template matching the target 5G message; wherein the target rich media message template is one of the rich media message templates stored in a template library associated with the Yuexin SDK; and converting the target 5G message into a target rich media message according to the target rich media message template.
[0006] Secondly, embodiments of this application provide a method for synchronizing rich media message templates. The method includes: obtaining a rich media message template for 5G information newly created by a chatbot; and synchronizing the rich media message template to a template library associated with the Yuexin Software Development Kit (SDK) if the rich media message template passes pre-approval; wherein the Yuexin Software Development Kit (SDK) is built into the target terminal.
[0007] Thirdly, embodiments of this application provide an electronic device including a processor, a memory, and a program or instructions stored in the memory and executable on the processor. When the program or instructions are executed by the processor, they implement the steps of the method described in the first aspect, or implement the steps of the method described in the second aspect.
[0008] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect, or implement the steps of the method described in the second aspect.
[0009] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the steps of the method described in the first aspect, or to implement the steps of the method described in the second aspect.
[0010] Sixthly, embodiments of this application provide a computer program product, the computer program product including a computer program stored on a non-transitory computer-readable storage medium, the computer program including a program or instructions, which, when executed, implement the steps of the method described in the first aspect, or implement the steps of the method described in the second aspect.
[0011] In this embodiment, the target terminal receives a target 5G message. Since the target terminal has a built-in Yuexin Software Development Kit (SDK), and the Yuexin SDK supports parsing the target 5G message, it can call the Yuexin SDK to obtain a target rich media message template matching the target 5G message. The target 5G message is then converted into a target rich media message according to the target rich media message template. This achieves the conversion of a 5G message into a target rich media message according to the target rich media message template matching the 5G message. This target rich media message template is obtained based on the Yuexin SDK and is not limited by the RCS standard of 5G messages. Attached Figure Description
[0012] Figure 1 This is a schematic diagram of a display page demonstrating the conversion of messages into rich media messages using related technologies;
[0013] Figure 2 This is a flowchart illustrating a method for enriching 5G messages according to an embodiment of this application;
[0014] Figure 3 This is a comparative diagram showing the message processing methods of related technologies and this application.
[0015] Figure 4a This is a flowchart illustrating another method for enriching 5G messages according to an embodiment of this application;
[0016] Figure 4b This is a schematic diagram of the structure of a terminal provided in an embodiment of this application;
[0017] Figure 5 This is a flowchart illustrating a method for synchronizing rich media message templates provided in an embodiment of this application;
[0018] Figure 6 This is a schematic diagram of the structure of a 5G messaging rich media system provided in an embodiment of this application;
[0019] Figure 7 This is a flowchart illustrating another method for synchronizing rich media message templates provided in an embodiment of this application.
[0020] Figure 8 This is a flowchart illustrating another method for enriching 5G messages according to an embodiment of this application;
[0021] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0022] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0023] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0024] Before the full-scale coverage of 5G messaging across the network, service models represented by reading messages have been commercially available on a large scale. Reading messages is a mechanism based on the built-in Software Development Kit (SDK) in the terminal (such as a mobile phone) system to identify and match keywords and Uniform Resource Locator (URL) information in the text content of text messages. By associating with new rich media templates and interaction processes, it is finally converted into a brand-new rich media message and displayed on the terminal. For the converted rich media message, it is displayed on the display page by adapting to the User Interface User Experience (UIUE) of the terminal. See Figure 1 , an entry such as "Show Original Text" can be added at the bottom or other positions of the message on the display page for users to click to view the original content of the text message.
[0025] Since 5G messaging follows the RCS standard, the content of relevant rich media messages and the adaptation of UIUE are also restricted by the RCS standard and related specifications. If new rich media message templates need to be introduced for optimization and update, corresponding standards, specifications, operator networks, and terminals need to be synchronized and updated, and the extension of rich media message templates can be supported.
[0026] Due to the limitations on the extension of rich media message templates corresponding to 5G messaging based on the above relevant standards, the following will结合附图,通过具体的实施例及其应用场景对本申请实施例提供的5G消息的富媒体化方法及富媒体消息模板的同步方法进行详细地说明。
[0027] Figure 2 The flowchart of a rich media conversion method for 5G messaging provided by an embodiment of the present application is shown. This method is applied to a target terminal. See Figure 2 , the method may include the following steps.
[0028] Step 202, the target terminal receives a target 5G message; wherein, the target terminal has a built-in Software Development Kit (SDK).
[0029] After receiving the target 5G message, the target terminal may store the target 5G message in the 5G message information library of the target terminal.
[0030] Step 204, when the SDK of the reading message software development kit supports parsing the target 5G message, call the SDK of the reading message software development kit to obtain a target rich media message template that matches the target 5G message.
[0031] The target rich media message template is one of the rich media message templates stored in the template library associated with the Yuexin Software Development Kit (SDK). Specifically, the target rich media message template is obtained by the Yuexin SDK from the template library associated with it. The rich media message templates in this template library are synchronized by the Yuexin management service, synchronizing newly created rich media message templates to the template library. This allows the Yuexin SDK to retrieve the target rich media message template matching the received target 5G message, thus expanding the available rich media message templates for 5G messages without being constrained by the RCS standard. See also... Figure 3 On the left is the related technology where the received 5G messages are processed through the 5G message standard processing logic, and SMS messages are processed through message conversion. On the right is the embodiment of this application where the received 5G messages are also processed through message conversion, so that the rich media processing of 5G messages is not limited by the RCS standard of 5G messages.
[0032] Step 206: Convert the target 5G message into a target rich media message according to the target rich media message template.
[0033] In this embodiment, the target terminal receives a target 5G message. Since the target terminal has a built-in Yuexin Software Development Kit (SDK), and the SDK supports parsing the target 5G message, it can call the SDK to obtain a target rich media message template matching the target 5G message. The target 5G message is then converted into a target rich media message according to the target rich media message template. This achieves the conversion of the target 5G message into a target rich media message according to the target rich media message template matching the target 5G message. This target rich media message template is obtained based on the Yuexin SDK and can also be extended based on the Yuexin management service, without being limited by the RCS standard of 5G messages.
[0034] In one implementation, step 204 above, where the Yuexin Software Development Kit (SDK) supports parsing the target 5G message, involves calling the Yuexin SDK to obtain a target rich media message template that matches the target 5G message. This step may include the following steps.
[0035] Step 2041: Perform content recognition on the target 5G message to obtain the keywords of the target 5G message.
[0036] One approach is to use the rich media tags of the target 5G message as keywords to quickly match the target rich media message template.
[0037] Step 2042: Obtain the target rich media message template that matches the keyword from the preset rich media message templates.
[0038] The preset rich media message templates are synchronized based on the Yuexin management service and stored in the template library associated with the Yuexin software development kit (SDK).
[0039] In this embodiment, the content of the target 5G message is identified by calling the Yuexin Software Development Kit (SDK) to obtain the keywords of the target 5G message. Since the target terminal has already synchronized the Yuexin keywords or domain name information corresponding to the preset rich media message template, the target rich media message template matching the keyword can be quickly obtained from the preset rich media message template based on the keyword of the target 5G message. By downloading the target rich media message template and combining it with the rich media material in the target 5G message, the target 5G message can be converted into a target rich media message.
[0040] In one implementation, after converting the target 5G message into a target rich media message according to the target rich media message template in step 206 above, the method further includes the following steps.
[0041] Step 208: Based on the access interface of the 5G message information database opened by the target terminal, update the target rich media message to the 5G message information database.
[0042] The 5G message information database includes the target 5G message and the target rich media message corresponding to the target 5G message; that is, the 5G message information database can be used to store the initially received target 5G message, or it can be used to store the target rich media message converted from the target 5G message.
[0043] Step 210: Perform user interface (UI) and user experience (UE) processing on the target rich media message and display the target rich media message.
[0044] In this embodiment, the target terminal updates the target rich media message in the 5G message information database, thereby updating the information in the 5G message information database that stores message information. This allows the target terminal to obtain the target rich media message corresponding to the target 5G message from the 5G message information database, and to perform user interface user experience (UIUE) logic processing on the target rich media message, thereby displaying the target rich media message so that the user can view the rich media target 5G message and improve the user experience.
[0045] In one implementation, after the target terminal receives the target 5G message in step 202 above, the method further includes the following steps.
[0046] Step 212: If the Reading Software Development Kit (SDK) does not support parsing the target 5G message, the target 5G message is converted back into an SMS message based on its text content.
[0047] The ReadMessage Software Development Kit (SDK) embedded in the target terminal may include a ReadMessage SDK that supports parsing the target 5G messages, or a ReadMessage SDK that does not support parsing the target 5G messages. Different ReadMessage SDKs with different functionalities perform different processing on the target 5G messages.
[0048] Step 214: Call the Reading Software Development Kit (SDK) to obtain a standard rich media message template that matches the SMS message.
[0049] Since the Yuexin Software Development Kit (SDK) does not support parsing the target 5G message, meaning it can only process SMS messages containing text content, the target 5G message is converted back to an SMS message. Then, based on the SMS message, the Yuexin SDK is called to obtain a standard rich media message template that matches the SMS message.
[0050] Step 216: Convert the target 5G message into a rich media message according to the standard rich media message template.
[0051] In this embodiment, the Yuexin Software Development Kit (SDK) may include an SDK that supports parsing the target 5G message, or an SDK that does not support parsing the target 5G message. When the Yuexin SDK supports parsing the target 5G message, it is invoked to obtain a target rich media message template matching the target 5G message, and the target 5G message is converted into a target rich media message according to the target rich media message template. When the Yuexin SDK does not support parsing the target 5G message, based on the text content of the target 5G message, the target 5G message is converted back to an SMS message, and the Yuexin SDK is invoked to obtain a standard rich media message template matching the SMS message, and the target 5G message is converted into a rich media message according to the standard rich media message template. This ensures that regardless of whether the Yuexin SDK supports parsing 5G messages, 5G messages can be converted into rich media messages, without being limited by the RCS standard.
[0052] In one implementation, before converting the target 5G message into a rich media message according to the standard rich media message template in step 216 above, the method may further include the following steps.
[0053] Step 218: Set the file name of the rich media material associated with the target 5G message to the first keyword associated with the standard rich media message template.
[0054] Specifically, the file name of the rich media material associated with the target 5G message is set as the first keyword associated with the standard rich media message template. This enables the conversion of 5G messages using the standard rich media message template to associate and trigger rich media materials that the Reading Software Development Kit (SDK) cannot parse with SMS messages, and to overlay and convert them into standard rich media messages.
[0055] For example, if a target 5G message includes image information, clicking the thumbnail will only redirect to the original image. By associating the image file name with a standard rich media message template and overlaying and transforming it according to the template, clicking the Uniform Resource Locator (URL) of the thumbnail in the transformed standard rich media message will directly redirect to the specific application's H5 page to display the image.
[0056] Step 220: Set the display attribute value associated with the target 5G message to the second keyword associated with the standard rich media message template.
[0057] When converting 5G messages using standard rich media message templates, the display effect of the converted rich media messages is controlled based on the display attribute values associated with the standard rich media message templates. This increases the flexibility of the standard rich media message templates and allows the converted rich media messages to have richer display formats, such as different button colors.
[0058] In this embodiment, by setting the file name of the rich media material associated with the target 5G message as a first keyword associated with the standard rich media message template and setting the display attribute value associated with the target 5G message as a second keyword associated with the standard rich media message template, the rich media material and display attributes associated with the target 5G message are superimposed when the target 5G message is converted into a standard rich media message. This minimizes the loss of content in the target 5G message, allows the converted standard rich media message to be displayed in a way that better showcases the target 5G message, and enables the format of the converted standard rich media message to be flexibly defined according to business needs for user viewing, thereby improving the user experience.
[0059] In one implementation, based on steps 218 and 220 above, converting the target 5G message into a rich media message according to the standard rich media message template may include: overlaying the SMS message with rich media material corresponding to the first keyword and converting it into a rich media message according to the display attribute value corresponding to the second keyword.
[0060] In this embodiment, after setting the file name of the rich media material associated with the target 5G message as the first keyword associated with the standard rich media message template, and setting the display attribute value associated with the target 5G message as the second keyword associated with the standard rich media message template, when the target 5G message is converted according to the standard rich media message template, rich media materials that cannot be directly converted by the standard rich media message template are superimposed and the target 5G message is converted into a rich media message according to the preset display attribute value. This enables the target 5G message to be converted into a rich media message containing the content of the original target 5G message and having preset display attribute values. This achieves better enrichment of the target 5G message even when the target terminal's built-in Reading Software Development Kit (SDK) does not support parsing the target 5G message.
[0061] In one implementation, after performing user interface (UIUE) processing on the target rich media message in step 210 above and displaying the target rich media message, the method may further include: reporting the parsing result of the target 5G message.
[0062] In this embodiment, after converting the target 5G message into a target rich media message according to the target rich media message template, performing UI / UX processing, and displaying it, the parsing result of the target 5G message is reported. That is, the target terminal calls the Yuexin software development kit (SDK) to obtain a target rich media message template matching the target 5G message, converts the target 5G message into a target rich media message according to the target rich media message template, and displays a series of parsing results of the target rich media message. This allows the Yuexin management service that receives the parsing results to generate relevant call detail records and other information based on the parsing results, evaluate the processing of the target 5G message, and thus continuously optimize the service in subsequent business processing.
[0063] Figure 4a This illustration shows a flowchart of another method for enriching 5G messages according to an embodiment of this application. This method is applied to, for example... Figure 4b The target terminal 400 shown includes a 5G message preliminary processing module 41, a terminal display frame 42, a message reading SDK 43, and a 5G message information database 44. (See also...) Figure 4a The method includes the following steps.
[0064] Step 401: The target terminal receives the 5G message, performs preliminary processing of the 5G message, and stores it in the 5G message information database.
[0065] Step 402: Determine whether the target terminal has the Yuexin SDK built-in. If not, process the 5G message according to the standard rich media message template and proceed to step 406. If yes, proceed to step 403.
[0066] Step 403: Determine whether the ReadMessage SDK supports parsing 5G messages. If not, process the 5G message according to the standard rich media message template and proceed to step 406. If yes, proceed to step 404.
[0067] Step 404: The target terminal calls the Yuexin SDK to parse the 5G message, obtains the rich media message template that matches the 5G message, and converts the 5G message into a rich media message according to the rich media message template.
[0068] Step 405: Based on the open 5G message information library's application programming interface (API), update the rich media message to the 5G message information library and associate it with the 5G message.
[0069] Step 406: Perform UI / UX processing on the converted rich media message and display the corresponding rich media message for the 5G message in the terminal display box. The terminal display box can provide a "View Original" entry to display the original text of the rich media message, i.e., the standard 5G message.
[0070] In this embodiment, the target terminal determines whether it has a built-in SMS reading SDK to select the appropriate processing method for different situations. If the target terminal has a built-in SMS reading SDK, it further determines whether the SMS reading SDK supports parsing 5G messages, and then selects the appropriate processing method for different situations. This achieves the conversion of 5G messages into rich media messages.
[0071] Figure 5 This illustration shows a flowchart of a method for synchronizing rich media message templates according to an embodiment of this application. This method is applied to a message reading management service. (See also...) Figure 5 The method may include the following steps.
[0072] Step 502: Obtain the rich media message template for the newly created 5G message by the chatbot;
[0073] Step 504: If the rich media message template passes the pre-approval, synchronize the rich media message template to the template library associated with the Yuexin Software Development Kit (SDK); wherein the Yuexin Software Development Kit (SDK) is built into the target terminal.
[0074] In this process, the rich media message template is pre-screened to determine whether the newly created rich media message template has any errors or anomalies, thereby ensuring the security of the rich media message template.
[0075] In this embodiment, the Yuexin management service obtains the rich media information template of a newly created 5G message by the chatbot. If the rich media information template passes the pre-approval, the service synchronizes the rich media message template to the template library associated with the Yuexin Software Development Kit (SDK). This expands the available rich media message templates for 5G messages, enabling the target terminal to call the Yuexin SDK to obtain a target rich media message template matching the target 5G message from the template library associated with the Yuexin SDK, thereby converting the target 5G message into a target rich media message.
[0076] In one implementation, after obtaining the rich media message template of the newly created 5G information by the chatbot in step 502 above, the method may further include: sending an error notification to the chatbot if the rich media message template fails the pre-approval; wherein the error notification is used to indicate that there is an error in the rich media message template.
[0077] In this embodiment, the message management service sends an error notification to the chatbot when the rich media message template fails the pre-approval, thereby informing the chatbot that the newly created rich media message template has an error. This allows the chatbot to modify the erroneous rich media message template, improving its correctness and usability.
[0078] In one implementation, if the rich media message template passes the pre-approval, the method may further include: synchronizing the message reading keywords or domain name information corresponding to the rich media message template to the target terminal.
[0079] In this embodiment, when a newly created rich media message template by the chatbot passes pre-approval, the message management service synchronizes the message keywords or domain information corresponding to the rich media message template to the target terminal. This allows the target terminal to call the message software development kit (SDK) to match the keywords obtained from recognizing the content of the target 5G message with the message keywords or domain information. When a matching message keyword or domain information is found, the message software development kit (SDK) retrieves the target rich media message template corresponding to the message keyword or domain information from the template library. In other words, the message keywords or domain information corresponding to the rich media message template can be used as the basis for matching the target rich media message template.
[0080] Figure 6 The diagram illustrates the structure of a 5G messaging rich media system provided in an embodiment of this application. The system 600 includes a Chatbot 61, a 5G application access service 62, a Messaging as a Platform (MaaP) 63, a 5G Message Center (5GMC) 64, a message reading management service 65, a message reading parsing service 66, and a terminal 67.
[0081] Among them, the 5G application access service 62 can be independently overlaid on MaaP 63 to achieve enhancements with minimal invasiveness to standard system functions, or it can be extended within MaaP 63. The terminal 67 has a built-in message reading SDK, which interacts with message reading management service 65 and message reading parsing service 66 to obtain target rich media message templates and convert 5G messages.
[0082] Optionally, terminal 67 can be seen as follows: Figure 4b The target terminal shown.
[0083] Figure 7 This illustration shows a flowchart of another method for synchronizing rich media message templates provided in an embodiment of this application. This method can be applied to, for example... Figure 6 The image shows a rich media system for 5G messaging. See also... Figure 7 The method may include the following steps.
[0084] Step 701: Chatbot 61 creates a rich media message template and sends it to the 5G application access service 62.
[0085] Step 702: The 5G application access service 62 pre-examines the rich media message template. If the pre-examination is passed, the rich media message template is sent to the message reading management service 65; if the pre-examination fails, an error notification is sent to Chatbot.
[0086] Step 703: The Reading Letter Management Service 65 forwards the rich media message template to the Reading Letter Parsing Service 66.
[0087] Step 704: The message parsing service 66 pre-screens the rich media message template and sends the pre-screening result to the message management service 65. If the pre-screening is successful, the message keywords or domain information corresponding to the rich media message template is synchronized to the terminal 67.
[0088] Step 705: If the pre-approval is successful, the message management service 65 will synchronize the rich media message template to the template library; if the pre-approval fails, it will send an error notification to Chatbot.
[0089] In this embodiment, the rich media message template created based on Chatbot is pre-approved by the 5G application access service 62 and the message reading resolution service 66 to ensure its security. If the pre-approval is successful, the rich media message template is synchronized to the template library, and the corresponding message reading keywords or domain name information is synchronized to the terminal 67, thereby expanding the range of rich media message templates available for 5G messages.
[0090] Figure 8 This illustration shows a flowchart of another method for enriching 5G messages according to an embodiment of this application. This method is applied to, for example... Figure 6 The image shows a rich media system for 5G messaging. See also... Figure 8 The method may include the following steps.
[0091] In step 801, Chatbot 61 sequentially sends 5G messages to 5G application access service 62, MaaP 63, 5GMC 64, and terminal 67.
[0092] In step 802, terminal 67 performs preliminary processing of the 5G message and stores it in the 5G message information database. It then calls the ReadMessage SDK to parse the content of the 5G message and obtain keywords. Based on these keywords, it matches the target rich media message template from the template library to the ReadMessage Management Service 65 and the ReadMessage Parsing Service 66.
[0093] Step 803: The message management service 65 returns the target rich media message template information to the terminal 67.
[0094] Step 804: Terminal 67 downloads the target rich media message template based on the information in the target rich media message template, and converts the 5G message into a target rich media message according to the target rich media message template. The target rich media message is then updated in the 5G message information database, and finally displayed through UI / UX processing.
[0095] Step 805: Terminal 67 reports the parsing results of the 5G message to the message management service 65.
[0096] Step 806: The message management service 65 generates relevant call detail records (CDRs) based on the parsing results.
[0097] Through the embodiments of this application, the terminal calls the Yuexin SDK and utilizes the Yuexin SDK's ability to flexibly expand rich media message templates, thereby realizing more flexible 5G message rich media and improving the user's experience of the service.
[0098] This application also provides an electronic device for executing the above-described method for enriching 5G messages or synchronizing rich media message templates. Figure 9 This is a schematic diagram of the structure of an electronic device to implement the various embodiments of this application. The electronic device can vary significantly due to differences in configuration or performance, and may include a processor 901, a communications interface 902, a memory 903, and a communication bus 904. The processor 901, communications interface 902, and memory 903 communicate with each other via the communication bus 904. The processor 901 can call a computer program stored in the memory 903 and executable on the processor 901 to perform the various steps of the above-described embodiments of the 5G message rich media method or rich media message template synchronization method, achieving the same technical effects. To avoid repetition, further details are omitted here.
[0099] It should be noted that the electronic devices in the embodiments of this application include: servers, terminals, or other devices besides terminals.
[0100] The above electronic device structure does not constitute a limitation on the electronic device. An electronic device may include more or fewer components than illustrated, or combine certain components, or arrange them differently. For example, an input unit may include a Graphics Processing Unit (GPU) and a microphone, and a display unit may use a liquid crystal display (LCD), organic light-emitting diode (OLED), or other similar display panels. User input units include at least one of a touch panel and other input devices. A touch panel is also called a touchscreen. Other input devices may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be elaborated further here.
[0101] Memory can be used to store software programs and various data. Memory can primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area can store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, memory can include volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (Synchlink DRAM, SLDRAM), and direct memory bus RAM (DRRAM).
[0102] The processor may include one or more processing units; optionally, the processor integrates an application processor and a modem processor, wherein the application processor mainly handles operations related to the operating system, user interface, and applications, while the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into the processor.
[0103] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described methods for enriching 5G messages or synchronizing rich media message templates, and achieve the same technical effect. To avoid repetition, these will not be described again here.
[0104] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0105] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled. The processor is used to run programs or instructions to implement the various processes of the above-described methods for enriching 5G messages or synchronizing rich media message templates, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0106] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0107] This application also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes programs or instructions. When the programs or instructions are executed, they implement the various processes of the above-described methods for enriching 5G messages or synchronizing rich media message templates, and can achieve the same technical effects. To avoid repetition, they will not be described again here.
[0108] It should be noted that, in this document, 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 that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0109] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0110] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A method for rich media rendering of 5G messages, characterized in that, include: The target terminal receives the target 5G message; wherein, the target terminal has a built-in ReadMessage Software Development Kit (SDK). If the Yuexin Software Development Kit (SDK) supports parsing the target 5G message, the Yuexin SDK is invoked to obtain a target rich media message template that matches the target 5G message; wherein, the target rich media message template is one of the rich media message templates stored in the template library associated with the Yuexin SDK. Convert the target 5G message into a target rich media message according to the target rich media message template; When the Yuexin Software Development Kit (SDK) supports parsing the target 5G message, the step of calling the Yuexin SDK to obtain a target rich media message template matching the target 5G message includes: Content recognition is performed on the target 5G message to obtain the keywords of the target 5G message; Obtain the target rich media message template that matches the keyword from the preset rich media message templates; wherein, the preset rich media message templates are synchronized based on the Yuexin management service and stored in the template library associated with the Yuexin software development kit SDK; The preset rich media message templates are synchronized based on the Yuexin management service and stored in a template library associated with the Yuexin software development kit (SDK), including: Get the rich media message template for the newly created 5G information from the chatbot; If the rich media message template passes the pre-approval, the rich media message template will be synchronized to the template library associated with the Yuexin Software Development Kit (SDK); wherein the Yuexin Software Development Kit (SDK) is built into the target terminal.
2. The method according to claim 1, characterized in that, After converting the target 5G message into a target rich media message according to the target rich media message template, the method further includes: Based on the access interface of the 5G message information database opened by the target terminal, the target rich media message is updated to the 5G message information database; wherein, the 5G message information database includes the target 5G message and the target rich media message corresponding to the target 5G message; The target rich media message is processed using user interface (UI) and user experience (UX) processing to display the target rich media message.
3. The method according to claim 1, characterized in that, After the target terminal receives the target 5G message, the method further includes: If the Reading Software Development Kit (SDK) does not support parsing the target 5G message, the target 5G message will be converted back into an SMS message based on its text content. The software development kit (SDK) is invoked to obtain a standard rich media message template that matches the SMS message. The target 5G message is converted into a rich media message according to the standard rich media message template; The method further includes, prior to converting the target 5G message into a rich media message according to the standard rich media message template: Set the file name of the rich media material associated with the target 5G message to the first keyword associated with the standard rich media message template; Set the display attribute value associated with the target 5G message to the second keyword associated with the standard rich media message template; The step of converting the target 5G message into a rich media message according to the standard rich media message template includes: The SMS message is overlaid with rich media material corresponding to the first keyword and converted into a rich media message according to the display attribute value corresponding to the second keyword.
4. The method according to claim 2, characterized in that, After performing user interface (UI) and user experience (UX) processing on the target rich media message and displaying the target rich media message, the method further includes: Report the parsing results of the target 5G message.
5. The method according to claim 1, characterized in that, After obtaining the rich media message template of the newly created 5G information from the chatbot, the method further includes: If the rich media message template fails the pre-approval, an error notification is sent to the chatbot. The error notification is used to indicate that there is an error in the rich media message template.
6. The method according to claim 1, characterized in that, If the rich media message template passes the pre-approval, the method further includes: The message reading keywords or domain information corresponding to the rich media message template will be synchronized to the target terminal.
7. An electronic device, characterized in that, The electronic device includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the 5G message rich media method as described in any one of claims 1 to 6.
8. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the 5G message rich media method as described in any one of claims 1 to 6.
9. A computer program product, characterized in that, The computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program including programs or instructions that, when executed, implement the steps of the 5G message rich media method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Message transmission method and device
CN114979984A