Card information generation method, platform, terminal, equipment, medium and product
By using card template identification and template link relationships in the 5G messaging platform, card templates are dynamically selected and updated, which solves the problem of a single card message display method in the existing technology, achieves diversity and flexibility of terminal card content, and improves User experience and system performance.
Patent Information
- Application Number
- CN202410138282.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-31
- Publication Date
- 2024-10-22
AI Technical Summary
In the existing 5G message specifications, the card message display method is single, resulting in low diversity of card content displayed on the terminal, which cannot meet the diverse display needs of different application scenarios and business needs.
By carrying the card template identification in the card information and determining the corresponding card template link in the template link relationship, the card template can be dynamically selected and updated to achieve diversified card display styles, support the use of card templates with different business needs, and easily update and update Switch card templates.
It improves the diversity of terminal display card content, flexibly adapts to different application scenarios, promotes system innovation, provides richer display effects, and enhances user experience and system flexibility and maintainability.
Smart Images

Figure CN118819702A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of 5G information technology, and involves but is not limited to a method, platform, terminal, device, medium and product for generating card information. Background Art
[0002] With the development of the fifth generation mobile communication technology (Fifth Generation Mobile Networks, 5G) network and the popularization of 5G terminals, 5G messages, as the infrastructure for the digital transformation and upgrading of the 5G new economy, are also the first 5G application for the public, and the number of users they serve is also growing rapidly. "5G messages" are a new upgrade of the current SMS and MMS services, and a portal for new multimedia content and information services. They can not only provide multimedia content such as pictures, audio and video, location, cards, etc., but also support one-stop capabilities such as application search, display, interaction, and payment.
[0003] In the current 5G message specifications, although the background color, background image, text content, title, description information, color, font and alignment of the card message are defined, all cards use the same style, and the display of multiple cards is only horizontal and vertical, which is relatively simple and rigid. As a result, the diversity of the card content displayed on the terminal is low. Summary of the invention
[0004] The embodiments of the present application provide a card information generation method, platform, terminal, device, medium and product, which can improve the diversity of card content displayed by the terminal.
[0005] In a first aspect, an embodiment of the present application provides a method for generating card information, which is applied to a 5G message platform, and the method includes:
[0006] When the acquired card information carries a card template identifier and the card template identifier is legal, in the template link relationship, a card template link corresponding to the card template identifier is determined; wherein the card information includes card content; and the template link relationship represents a corresponding relationship between the card template identifier and the card template link;
[0007] Updated card information is obtained according to the card information and the card template link, so that the terminal displays the card content according to the card template corresponding to the card template link in the updated card information.
[0008] In a second aspect, an embodiment of the present application provides a method for generating card information, which is applied to a terminal, and the method includes:
[0009] Obtain updated card information issued by the 5G message center; wherein the updated card information is obtained by the 5G message platform based on the card information and the card template link; the card template link is determined by the 5G message platform in the template link relationship when the acquired card information carries a card template identifier and the card template identifier is legal; the card template link corresponds to the card template identifier; the card information includes card content; the template link relationship represents the correspondence between the card template identifier and the card template link;
[0010] The card content is displayed according to the card template corresponding to the card template link.
[0011] In a third aspect, an embodiment of the present application provides a 5G message platform, including: a judgment unit and a determination unit; wherein,
[0012] The judgment unit is used to determine the card template link corresponding to the card template identifier in the template link relationship when the acquired card information carries the card template identifier and the card template identifier is legal; wherein the card information includes the card content; and the template link relationship represents the corresponding relationship between the card template identifier and the card template link;
[0013] The determining unit is used to obtain updated card information according to the card information and the card template link, so that the terminal displays the card content according to the card template corresponding to the card template link in the updated card information.
[0014] In a fourth aspect, an embodiment of the present application provides a terminal, comprising: an acquisition unit and a display unit; wherein:
[0015] The acquisition unit is used to acquire updated card information issued by the 5G message center; wherein the updated card information is obtained by the 5G message platform according to the card information and the card template link; the card template link is determined by the 5G message platform in the template link relationship when the acquired card information carries a card template identifier and the card template identifier is legal; the card template link corresponds to the card template identifier; the card information includes card content; the template link relationship represents the corresponding relationship between the card template identifier and the card template link;
[0016] The display unit is used to display the card content according to the card template link corresponding to the card template.
[0017] In a fifth aspect, an embodiment of the present application provides an electronic device, including:
[0018] A memory for storing computer executable instructions;
[0019] A processor is connected to the memory, and is used to implement the method described in the first aspect, or implement the method described in the second aspect, by executing the computer executable instructions.
[0020] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by at least one processor, the method described in the first aspect is implemented, or the method described in the second aspect is implemented.
[0021] In a seventh aspect, an embodiment of the present application provides a computer program product, characterized in that it includes computer program instructions, which, when executed by a processor, implement the method described in the first aspect, or implement the method described in the second aspect.
[0022] The embodiment of the present application provides a method, platform, terminal, device, medium and product for generating card information, the method comprising: when the acquired card information carries a card template identifier and the card template identifier is legal, in the template link relationship, determining the card template link corresponding to the card template identifier; wherein the card information includes card content; the template link relationship represents the correspondence between the card template identifier and the card template link; according to the card information and the card template link, obtaining updated card information, so that the terminal displays the card content according to the card template corresponding to the card template link in the updated card information. On the one hand, the template link relationship represents the correspondence between the card template identifier and the card template link, the system can support multiple different card templates, and can dynamically select the corresponding template link according to the card template identifier in the card information, thereby presenting a variety of card display styles. On the one hand, by allowing card messages to use different template links, the system can more flexibly adapt to different application scenarios, and different business needs can use different card templates, so as to display different styles of card content in different scenarios. On the one hand, the template linking mechanism enables the system to easily update and switch card templates without modifying the card messages that have been issued. This promotes system innovation and enables the introduction of new card templates over time to provide richer display effects, thereby increasing the diversity of terminal display card content.
[0023] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0025] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0026] Figure 1a Schematic diagram 1 of an optional 5G message card provided in an embodiment of the present application;
[0027] Figure 1b Schematic diagram 2 of an optional 5G message card provided in an embodiment of the present application;
[0028] Figure 2a Schematic diagram of an optional 5G message card provided in an embodiment of the present application Figure 3 ;
[0029] Figure 2b Schematic diagram of an optional 5G message card provided in an embodiment of the present application Figure 4 ;
[0030] Figure 3 A flowchart diagram 1 of an optional card information generation method provided in an embodiment of the present application;
[0031] Figure 4 A schematic diagram of the architecture of a 5G message system in an optional related technology provided in an embodiment of the present application;
[0032] Figure 5 A second flowchart of an optional card information generation method provided in an embodiment of the present application;
[0033] Figure 6 A schematic diagram of the architecture of an optional 5G messaging system provided in an embodiment of the present application;
[0034] Figure 7 A schematic diagram of an optional card information generation method provided in an embodiment of the present application Figure 3 ;
[0035] Figure 8 A schematic diagram of the composition structure of an optional 5G message platform provided in an embodiment of the present application;
[0036] Fig. 9 A schematic diagram of the composition structure of an optional terminal provided in an embodiment of the present application;
[0037] Fig.10 A schematic diagram of the structure of an optional electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0039] In the following description, references to “some embodiments”, “embodiments of the present application”, “embodiments of the present application” and examples, etc., describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
[0040] If similar descriptions of "first / second" appear in the application documents, the following instructions are added. In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0041] Unless otherwise defined, all technical and scientific terms used in this application have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used in this application are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0042] First, the relevant technical terms involved in this application are introduced:
[0043] 1) 5G messaging
[0044] As a key infrastructure of 5G networks, 5G messages provide higher bandwidth, lower latency and more reliable connections, providing strong support for digital transformation, which is of great significance for innovation and efficiency improvement in various industries. As the first 5G application for the public, 5G messages provide users with a richer and more real-time communication experience, which can include rich media messages, faster message delivery speeds, and more complex message interactions. With the continuous promotion of 5G networks and the popularization of 5G terminals, more and more users are able to enjoy the advantages brought by 5G messages, which has led to a rapid increase in the number of users of 5G message services and formed a widespread demand for this technology. The promotion of 5G messages has also played a driving role in the development of the new economy. It has created new business opportunities for various industries, promoted the development of the digital economy, and promoted the emergence of innovative businesses. Overall, as a key component of 5G networks, 5G messages have played an important role in digital transformation and the development of the new economy, and the number of users of the service is expected to grow further over time.
[0045] 5G messages are not just a simple extension of traditional SMS and MMS, but provide a new communication portal. This means that users can access richer and more diverse multimedia content and information services through the 5G message platform, thereby achieving a richer communication experience. 5G messages introduce comprehensive support for multimedia content, including but not limited to pictures, audio and video. Users can send and receive rich media information through 5G messages, making communication more vivid and intuitive. 5G messages are not limited to text and media content, but also support the transmission of location information. This allows users to share their geographic location or obtain the location information of other users, providing new possibilities for location services and social interaction. 5G messages introduce the concept of card messages, allowing users to send and receive cards containing media and interactive elements. Card messages can improve the visualization of messages, while also increasing the interactivity of messages, allowing users to perform certain operations directly on the cards. 5G messages are not limited to traditional communication functions, but also have one-stop capabilities. This includes functions such as application search, display, interaction and payment, allowing users to complete a wider variety of operations on the message platform, no longer limited to simple message delivery. 5G messages achieve deep integration with applications by supporting application search, display and interaction. Users can search for applications, view application content, and even interact with applications in messages directly on the messaging platform, providing users with a more comprehensive experience. 5G messages have payment capabilities, which means that users can make payments directly during the communication process without having to switch to other payment applications. This integrated payment function provides a more convenient and direct payment experience. In general, the above features together constitute the key features of 5G messages as a newly upgraded SMS and MMS service, providing users with a more comprehensive, convenient and interactive communication experience.
[0046] Figure 1a and Figure 1b A schematic diagram of a 5G message card provided in an embodiment of the present application, such as Figure 1a As shown, the electronic device 1 can be implemented as various types of user terminals such as a laptop, a tablet computer, a desktop computer, a set-top box, a mobile device (e.g., a mobile phone, a portable music player, a personal digital assistant, a dedicated messaging device, a portable gaming device), etc. A display interface with a dialog box is displayed on the display interface of the electronic device 1, and the interface displays 5G message cards 11, 5G message cards 12, and 5G message cards 13. Figure 1b As shown, the display interface with a dialog box displays 5G message card 14 and 5G message card 15. After the user sends 5G message card 14, the 5G message system automatically pushes 5G message card 15.
[0047] 2) 5G message card
[0048] The 5G messages sent by enterprises to terminals include plain text, plain files, files with floating menus, cards, and cards with floating menus. Specifically, plain text messages are the most basic form, containing only text content, and are suitable for simple text communication or providing basic information. Plain file messages refer to messages that contain file attachments but no other media elements, which can be document, table, picture, audio, video and other file types. File messages with floating menus not only contain file attachments, but also come with floating menus, which can provide file-related operation options, such as downloading, sharing, editing, etc. Card messages are a form of media messages that contain images, text, and possible interactive elements. Card messages can be used to display information more vividly and increase visualization effects. Similar to files with floating menus, cards with floating menus add floating menus to card messages, providing more card-related interactions and operation options. The richness of the above message types allows enterprises to choose different forms of messages to meet specific communication needs. Plain text is suitable for simple text information transmission, while media-based messages (such as cards) can present information more vividly and improve user experience. File attachments and floating menus provide more functionality for messages, allowing users to perform related operations directly in messages.
[0049] Card messages are displayed on the terminal in the form of cards. Each message can contain one or more cards. Card messages are displayed on the terminal in the form of cards, which makes the information neater, easier to read, and provides intuitive visual effects. Each message can contain one or more cards, which provides the sender with more flexible options and can include multiple related information in the same message as needed. Each card contains media content, such as titles, pictures, videos, etc. This design makes the message more vivid and attractive, and increases the effect of information transmission. Cards contain action buttons, and users can perform corresponding actions by clicking these buttons. This provides users with more interactive possibilities, allowing users to perform a series of operations in card messages. The design of card messages improves the user experience. Compared with ordinary text messages, it provides users with a more intuitive and rich way of presenting information through media elements such as images and videos and action buttons. Users can view specific content by clicking on the card. This interactive method allows users to choose to view specific information they are interested in, increasing personalization and user participation. In general, the design of card messages is not only more vivid and interesting in information transmission, but also provides more interactivity, allowing users to interact with messages more flexibly, which helps to improve the overall user experience.
[0050] Figure 2a and Figure 2b A schematic diagram of a 5G message card provided in an embodiment of the present application, such as Figure 2aAs shown, a display interface with a dialog box is displayed on the display interface of the electronic device 2, and the interface displays a 5G message card 21 and a 5G message card 22. The 5G message card 21 displays picture information, and the 5G message card 22 displays video information. Figure 2b As shown, button information is displayed in the 5G message card 23. Click the "Apply for Credit Card" button and the system will switch to an interface related to applying for a credit card.
[0051] In the related art, although the setting methods of the background color, background image, text content, title, description information, color, font and alignment of the card message are defined, all cards use the same style, and the display methods of multiple cards are only horizontal and vertical, which is relatively simple and rigid. As a result, the diversity of the card content displayed by the terminal is low. Based on this, the present application provides a method for generating card information, which can improve the diversity of the card content displayed by the terminal.
[0052] See also Figure 3 , Figure 3 A flowchart of an optional card information generation method provided in an embodiment of the present application is shown in FIG. 1, which is applied to a 5G messaging platform. Figure 3 The steps shown are explained as Figure 3 As shown, the card information generation method includes S101 to S102:
[0053] S101. When the acquired card information carries a card template identifier and the card template identifier is legal, determine the card template link corresponding to the card template identifier in the template link relationship; wherein the card information includes the card content; and the template link relationship represents the correspondence between the card template identifier and the card template link.
[0054] In an embodiment of the present application, the 5G message platform is also referred to as a MaaP platform, or the 5G message platform includes a MaaP platform.
[0055] In an embodiment of the present application, the 5G message system includes a 5G message robot (Chatbot), a 5G message platform (Message as a Platform, MaaP), a 5G message center and a terminal (UE).
[0056] In the embodiments of the present application, the deployment of the MaaP platform and the 5G message center generally involves the network infrastructure of the telecom operator, including the core network and the edge network. The locations of these deployments may include the following aspects:
[0057] 1) Core network: 5G message centers are usually deployed in the core network of telecom operators as a key component for processing and routing 5G messages, which can include functions such as user message status management, message routing and delivery, etc. The core network usually consists of several data centers that can be distributed in different geographical locations.
[0058] 2) Edge network: Some functions may be deployed in the edge network to reduce latency and be closer to end users. Such edge deployment can provide faster and more real-time message services.
[0059] 3) Cloud services: Some telecom operators or service providers may choose to deploy the MaaP platform on the infrastructure of cloud service providers to better adapt to dynamically changing workloads and provide flexibility.
[0060] 4) Data Center: The components and services of the MaaP platform may be deployed in the data centers of telecom operators to provide the computing and storage resources required to process and store 5G messages.
[0061] It should be noted that the specific deployment methods of the MaaP platform and 5G message center may vary depending on the architecture and strategy of the telecom operator. In some cases, operators may choose to build and manage the MaaP platform and 5G message center on their own network infrastructure, while in other cases, they may seek to cooperate with cloud service providers to take advantage of the elasticity and scalability of cloud services.
[0062] Furthermore, the components of the 5G messaging system are introduced below.
[0063] 5G message robot, also known as Chatbot in 5G message, is a robot or virtual assistant implemented by 5G message technology. This robot creates, sends and receives rich media messages through the 5G message platform, making full use of the high bandwidth, low latency and rich media characteristics of the 5G communication network. 5G message robot is implemented by software program, usually running on servers, cloud platforms or edge computing nodes. It interacts with users through the 5G message platform. 5G message robot can create, send and receive messages containing rich media content, such as pictures, audio and video, making communication more vivid and diversified. Utilizing the low latency characteristics of 5G messages, 5G message robots can achieve more instant and real-time interaction and dialogue, providing a smoother user experience. 5G message robots can provide a more personalized user experience through the advanced functions of the 5G message platform, customized message display methods, interactive elements, and overall user interface. 5G message robots can be integrated into various application scenarios, such as customer service, e-commerce, social networking and other fields, and communicate and interact with users in real time through 5G messages. 5G messaging robots usually combine natural language processing (NLP) and artificial intelligence (AI) technologies to understand the user's intentions and respond accordingly, providing smarter interactions. Using the card messaging feature in 5G messaging, the robot can send card messages containing rich media and interactive elements to enrich the message content and increase user engagement. In general, 5G messaging robots are robots that use the messaging services provided by 5G communication networks to achieve a more advanced, real-time, and media-rich user interaction experience. This technology is expected to play a role in multiple fields, providing users with a more convenient and personalized communication and service experience.
[0064] The 5G message platform is a message service platform, which provides higher-level and richer message services and application support, especially in the 5G network environment. MaaP is a platform that provides message services. It is not limited to traditional SMS and MMS services, but also supports richer forms such as rich media messages and card messages. It provides developers with an interface to create and send messages. The MaaP platform supports rich media messages, which can deliver multimedia content including pictures, audio, video, etc., providing a more vivid and diverse communication experience. The MaaP platform can support card messages, allowing developers to create cards containing rich media and interactive elements, thereby providing more attractive and interactive messages. The MaaP platform may provide message template management functions, allowing developers to create and manage templates for sending messages, thereby improving the consistency and efficiency of messages. The MaaP platform is usually deployed on the network side of the 5G network and works with other network elements to ensure the rapid delivery and efficient processing of messages. The MaaP platform can also work with the 5G message center to send messages created by developers to the target terminal, while processing some advanced message services and application logic. The application scope of the MaaP platform is not limited to personal communication, but also includes business, enterprise and other fields. It provides enterprises with more customized and advanced functions to meet the needs of different scenarios. In general, MaaP is a platform that provides advanced messaging services for 5G networks. It provides developers and enterprises with more possibilities in terms of enriching message forms, providing higher-level functions and interfaces, and supporting rich media content.
[0065] The 5G message center is a key component in the 5G network architecture, responsible for processing and distributing 5G messages. The 5G message center is the core component responsible for managing, processing and routing 5G messages. It receives message requests from applications, services or other sources and delivers these messages to the target terminal. The 5G message center is responsible for processing messages, including formatting, encoding, decoding and security processing. It ensures that messages are delivered in accordance with specifications while protecting the integrity and security of messages. The 5G message center is responsible for routing messages from senders to receivers. This involves determining the location, status and availability of the target terminal to ensure that the message can reach the target in a timely manner. The 5G message center supports rich media messages, including images, audio, video, etc. It can process and deliver these rich media contents to make messages more vivid and diverse. In the context of supporting card messages, the 5G message center can process and deliver messages containing cards, which may include rich media, interactive elements and operation buttons. The 5G message center supports push and pull of messages. Push means that the message center pushes messages to the terminal, while pull means that the terminal requests messages from the message center. Under the virtualized architecture, the 5G message center can interact with the MaaP platform, which provides a higher level of message services and application support. The 5G message center needs to work with other components of the 5G network to ensure fast message delivery, low latency, and high reliability, which involves integration with the core network, edge computing, and other parts. In general, the 5G message center plays a key role in the 5G network, providing users with richer and more efficient message services by processing, routing, and optimizing the delivery of messages.
[0066] Figure 4 A schematic diagram of the architecture of a 5G message system in an optional related technology provided in an embodiment of the present application, such as Figure 4 As shown, the 5G message system of the existing network virtualization architecture includes a MaaP platform and a 5G message center (called a 5G message center). The MaaP platform implements the access authentication and material file storage functions of the Chatbot, and the 5G message center implements the 5G message sending function. The method for sending 5G messages includes the following steps:
[0067] S201. Chatbot uploads files to the MaaP platform.
[0068] In some embodiments, the Chatbot uploads card material files (such as card background, text content, button style and other information) to the affiliated MaaP platform (where the Chatbot is registered and accessed) through a secure protocol (such as HTTPS).
[0069] In some embodiments, uploading the card asset file may include using an API key or other authentication mechanism to ensure security.
[0070] S202. Chatbot sends 5G messages to the MaaP platform.
[0071] In some embodiments, the Chatbot sends a card message through the MaaP platform, providing the message content, target user ID, and other relevant information. This request may include an API request for message creation, which includes elements such as card text, buttons, and images.
[0072] In some embodiments, after receiving the Chatbot's request, the MaaP platform performs access authentication to verify the Chatbot's identity and permissions. This may include using mechanisms such as API keys and access tokens to ensure that only authorized Chatbots can upload materials and send messages.
[0073] In some embodiments, after the authentication is passed, the MaaP platform stores the card material files in an appropriate storage device, such as cloud storage or other persistent storage systems, and these materials will be used in subsequent message delivery.
[0074] S203. The MaaP platform sends a 5G message to the called party's 5G message center.
[0075] In some embodiments, after receiving the message sending request from Chatbot, the MaaP platform sends the request to the called 5G message center. This request includes the content of the card message, the target user ID and other information.
[0076] In some embodiments, after the called 5G message center receives the message request, it routes the request to the UE based on the identification information of the target user.
[0077] S204. The called 5G message center sends a 5G message to the UE.
[0078] In some embodiments, after receiving the message request, the called 5G message center determines whether the called user terminal supports 5G messages and whether it is registered with the 5G message center. This may include querying the user's device information and registration status.
[0079] In some embodiments, if the called user terminal supports 5G messaging and is registered with the 5G messaging center, the called 5G messaging center sends the card message to the called terminal in the form of a 5G message. This may include encapsulating the message into a format that complies with the 5G messaging standard and delivering it to the user device via the 5G network.
[0080] It should be understood that in the above process, starting from the Chatbot uploading the material file, through the access authentication and material storage of the MaaP platform, and then to the interaction with the called 5G message center and UE, the security, correctness and real-time nature of the message are guaranteed. This integration utilizes 5G message technology, the MaaP platform and the Chatbot to provide users with a rich and real-time message experience.
[0081] In the embodiment of the present application, the card information includes the card content, which refers to the various elements and information contained in the card message, which together constitute the rich media card seen by the user on the terminal. The card content may include: one or more of: title, image, text, action buttons, links, attachments, video, location information, time information, and interactive elements.
[0082] Specifically, the title of a card is a short and eye-catching text that usually appears at the top of the card and is used to summarize or describe the subject of the card. The picture element in the card is a graphical expression that can be used to convey more intuitive information. The picture may be an image or icon related to the card subject. The text content in the card message is used to provide detailed information, descriptions or instructions. The text can include short sentences, paragraphs or lists to convey the information more comprehensively. The action buttons in the card allow users to perform specific actions. These buttons may include "see more", "buy", "share", etc. The specific actions depend on the design and purpose of the card. The link in the card allows users to click and navigate to related web pages, applications or other resources, which provides further information or actions related to the card content. The card content may contain attachments, such as PDF files, documents or other file types, which can provide additional details or options to download resources. If the card contains a video element, users can watch the embedded video content in the card, which increases the multimedia nature of the message and provides a more vivid experience. Some card messages may contain location information, such as a map or address, to convey content related to a geographic location. The time information element can contain information such as date, time or countdown related to the card subject. Card content may contain some interactive elements, such as sliding, carousel, expansion, folding, etc., which increases the interactivity and experience between users and cards.
[0083] It should be noted that the card content listed above is only an example, and other card content may also be included in actual application scenarios, and the embodiments of the present application do not impose any limitation on this.
[0084] In an embodiment of the present application, the card information may also include a card template identifier, which is an identifier used to uniquely identify a card template. In a messaging service, especially in a 5G messaging platform or a MaaP platform, a card template identifier is used to distinguish and identify different card templates. This identifier is usually a unique string or number assigned by the system or developer.
[0085] It is understandable that the card template identifier can ensure that each card template has a unique identifier to avoid confusion or conflict. Through the card template identifier, the system can quickly find and retrieve the corresponding card template so that the template can be correctly applied during the message sending process. In addition, the card template identifier may be associated with permissions and access control to ensure that only users or services with corresponding permissions can use a specific card template. If there are multiple versions of a card template, the card template identifier can be used to identify and manage different versions of the template. The existence of the card template identifier makes it possible to dynamically update and switch different card templates at runtime.
[0086] In the embodiment of the present application, the card template identifier is usually represented by a unique string or number. Exemplarily, the card template identifier includes any of the following: a string, a number, a GUID (globally unique identifier), a hash value, a combined identifier, and a custom encoding rule. Specifically, a text string is used as the card template identifier, such as "template001", "birthdayCard", etc. This method has the advantages of readability and easy understanding. A number is used as the card template identifier, such as 123, 456, etc. The digital identifier is usually more compact and suitable for situations where a shorter identifier is required. A GUID is used as the card template identifier to ensure global uniqueness. A GUID is a 128-bit hexadecimal number, usually represented as a string containing letters and numbers, such as "550e8400-e29b-41d4-a716-446655440000". A hash value is calculated for the content of the card template and the hash value is used as the identifier. This method can usually ensure uniqueness, but the identifier itself may not be very readable. Combining multiple elements together to form an identifier, such as "category1_templateA", can contain more information to classify or distinguish different types of card templates. In addition, card template identifiers are created according to the needs of the application, for example, using specific prefixes, suffixes, or encoding rules.
[0087] In some embodiments of the present application, the card information is sent by a 5G messaging robot (Chatbot). When the 5G messaging platform establishes a connection with the 5G messaging robot, the 5G messaging robot sends the card information to the 5G messaging platform. At this time, the 5G messaging platform will make the following two judgments:
[0088] 1) Determine whether the card information carries a card template identifier.
[0089] 2) Determine whether the card template logo or card information is legal.
[0090] In the embodiment of the present application, the 5G message platform will first parse the received card information and extract various fields and parameters therein, which may include card template identification, card content, operation buttons, etc. After parsing, the platform will check whether the message contains a card template identification. If the card information carries a card template identification, the platform may perform a legality verification, which includes checking whether the identification complies with the prescribed format and whether it is legally registered.
[0091] In an embodiment of the present application, the following steps may be included to determine whether the card template identifier is legal: the 5G message platform checks whether the format of the card template identifier complies with the regulations, including the length, character set and other specifications. The platform may check whether the card template identifier is registered in the template management module, and only legally registered template identifiers can be used. If the card template identifier is associated with permissions, the platform may perform a permission check to ensure that the current user or service has the legal authority to use the template.
[0092] In the embodiment of the present application, the following steps may be included for determining whether the card template identifier is legal: the platform checks whether the card information contains necessary fields, such as title, content, etc., to ensure the integrity of the card information. If the card information contains rich media content (such as pictures, videos), the platform may perform relevant verifications, such as checking the file format, size, etc. If the card information contains operation buttons, the platform may verify the legitimacy of these buttons to ensure that the operations they perform are safe and legal. If the card information contains links, the platform may check the legitimacy of these links to ensure that they point to trusted resources. According to business rules, the platform may perform some specific checks to ensure that the card information meets business requirements and specifications. The platform may perform security checks to ensure that there is no malicious code or potential security risks in the card information. If the card template identifier or card information fails any of the above checks, the platform may refuse to use the template or issue the message to ensure the security, stability and compliance of the system. These checks are important steps to ensure the card message service and help provide a high-quality and reliable message experience.
[0093] In an embodiment of the present application, when the acquired card information carries a card template identifier and the card template identifier is legal, the 5G message platform queries the template link relationship in the template management module, finds the template link corresponding to the card template identifier, and then replaces the card template identifier with the corresponding template link, so that the terminal can correctly pull and display the corresponding card template.
[0094] It is understandable that the 5G message platform can find the corresponding template link in the template link relationship according to the card template identifier to ensure that the correct template can be used when displaying the card. This design makes the system more flexible and can update and switch card templates at any time without affecting the messages that have been sent.
[0095] In the embodiment of the present application, the card template link refers to an accessible link or address of the card template on the network. This link is usually a URL (Uniform Resource Locator) or other identifier, which is used to point to the location of the card template. The terminal can obtain the relevant content of the card template through the link, including structure, style, rich media elements, etc. The function of the card template link is mainly to separate the card template from the message content, so that the template in the card message can be dynamically loaded and updated when the terminal displays it.
[0096] S102: Obtain updated card information according to the card information and the card template link, so that the terminal displays card content according to the card template corresponding to the card template link in the updated card information.
[0097] In some embodiments of the present application, the 5G message platform replaces the card template identifier in the card information with a card template link to obtain updated card information. The 5G message platform parses the received card information and extracts the card template identifier and other related information, such as title, rich media content, operation buttons, etc. Query the template link relationship and find the template link corresponding to the card template identifier. Replace the card template identifier with the corresponding card template link, find the corresponding field in the data structure of the card information, and replace its value with the template link. Use the replaced card information to generate updated card information, which includes the updated card template link and other content in the card information. Pass the updated card information to the downstream business logic or message processing module for further processing or distribution to the target terminal.
[0098] It can be understood that through this process, the 5G message platform can dynamically replace the card template identifier with the corresponding card template link to ensure that the terminal can correctly obtain and use the corresponding card template when displaying the card. This design enables the platform to manage and update card templates more flexibly while ensuring the dynamic nature of card messages.
[0099] In an embodiment of the present application, a method for generating card information is provided, the method comprising: when the acquired card information carries a card template identifier and the card template identifier is legal, in the template link relationship, determining the card template link corresponding to the card template identifier; wherein the card information includes card content; the template link relationship represents the correspondence between the card template identifier and the card template link; according to the card information and the card template link, the updated card information is obtained, so that the terminal displays the card content according to the card template corresponding to the card template link in the updated card information. On the one hand, the template link relationship represents the correspondence between the card template identifier and the card template link, the system can support multiple different card templates, and can dynamically select the corresponding template link according to the card template identifier in the card information, thereby presenting a variety of card display styles. On the one hand, by allowing card messages to use different template links, the system can more flexibly adapt to different application scenarios, and different business needs can use different card templates, so as to display different styles of card content in different scenarios. On the one hand, the template linking mechanism enables the system to easily update and switch card templates without modifying the card messages that have been issued. This promotes system innovation and enables the introduction of new card templates over time to provide richer display effects, thereby increasing the diversity of terminal display card content.
[0100] It can be understood that, on the one hand, by replacing the card template identifier with the card template link, the terminal can dynamically obtain and display the latest card template content, which makes the display of the card message more flexible and real-time. On the one hand, the template link relationship represents the corresponding relationship between the card template identifier and the card template link, so that the system can easily manage the template version. When updating the card template, only the template link relationship needs to be updated without modifying the issued card message. On the one hand, by adopting the template link method, when displaying the card, the terminal only needs to request the template link to obtain the latest template content, without attaching the complete template content to the card message every time, which improves the network transmission efficiency. On the one hand, the combination of card information and card template link allows the terminal to display personalized card content. Different card messages can use different template links to achieve a variety of card display effects. When the card template needs to be modified or upgraded, the template link is updated without affecting the card message that has been issued. This avoids the compatibility and consistency problems that may be caused by upgrading the template in the traditional way. On the one hand, through the legality check and the secure transmission of the template link, the system can ensure the legality and security of the card template and prevent potential security risks. In general, this design makes the card message system more flexible, maintainable, and performance-optimized, while improving the user experience.
[0101] In some embodiments of the present application, after obtaining the updated card information, the 5G message platform sends the updated card information to the 5G message center, so that the 5G message center sends the updated card information to the terminal when the user information of the terminal is a 5G message user, the terminal is online, and the terminal supports 5G card information.
[0102] In an embodiment of the present application, the 5G message platform transmits the updated card information to the 5G message center through an internal communication mechanism or API. This process may include protocol definition, message format, etc., to ensure that the information can be accurately transmitted to the 5G message center. The 5G message center receives the updated card information from the 5G message platform. During the receiving process, some checks and verifications may be performed to ensure the integrity and legitimacy of the information. The 5G message center processes the received updated card information, which may include parsing the card content, extracting related elements, checking the user terminal status, etc. This step is to prepare for the issuance. The 5G message center checks whether the target terminal supports 5G card information, which may involve device capability query or registration information query of the terminal to ensure that the terminal has the ability to display updated card information. The 5G message center determines whether the target terminal is online. Only when the terminal is online can a message be sent to it. This can be achieved through online status query or heartbeat mechanism. Under the conditions that the terminal supports 5G card information and is online, the 5G message center sends the updated card information to the target terminal. This process may include protocol encapsulation, push mechanism, etc. After receiving the card information, the target terminal will display the card content to the user according to the card template link corresponding to the card template, including operations such as loading rich media elements and interface rendering. After receiving the card information sent by the 5G message center, the target terminal will parse and display it. The terminal will display the card content to the user according to the card template link corresponding to the card template.
[0103] It is understandable that through these steps, the 5G message platform can successfully send the updated card information to the 5G message center, and finally push the card information to the target terminal. This process ensures the safe and accurate delivery of card information to the terminal, and ensures that the latest card content can be displayed in time when the terminal meets the corresponding conditions.
[0104] In the embodiment of the present application, to determine whether the user information of the terminal is a 5G message user, whether the terminal is online, and whether the terminal supports 5G card information, the following steps are generally required:
[0105] 1) The 5G message center obtains the user information of the terminal by querying the user database or registration system related to the terminal. This may include the user's identification, service subscription status, and other relevant information. With this information, the center can determine whether the terminal is a 5G message user.
[0106] 2) The 5G message center may use different mechanisms to determine the online status of the terminal. This can be achieved in one of the following ways:
[0107] Heartbeat mechanism: The terminal regularly sends heartbeat packets to the 5G message center, and the center determines whether the terminal is online by detecting the arrival of the heartbeat packets;
[0108] Long connection: The terminal establishes a long connection with the 5G message center, and the center determines whether the terminal is online by monitoring the connection status.
[0109] 3) The 5G message center may obtain information such as the functions and protocol versions supported by the terminal by sending a capability query request. This can be a standard protocol message that contains a description of the terminal's capabilities. The center determines whether the terminal supports the display of 5G card information by parsing this information.
[0110] 4) The 5G message center confirms the user identification of the terminal and performs corresponding authentication, including user identity verification, verification of terminal registration information, etc., to ensure that the terminal is a legitimate user and has the authority to receive messages.
[0111] 5) The 5G message center determines whether the terminal supports receiving and displaying 5G card information by querying the terminal's device capabilities or registration information. This process requires prior negotiation and configuration with the terminal to ensure that the terminal understands and supports the relevant message types.
[0112] It should be noted that the completion of the above steps requires the establishment of an effective communication mechanism between the terminal and the 5G message center, which may involve network protocols, message format specifications, authentication protocols, etc. The entire process ensures that the 5G message center can make accurate judgments when issuing card information and send messages to appropriate terminals, thereby improving system efficiency and user experience.
[0113] In some embodiments of the present application, the method further comprises:
[0114] When the 5G messaging platform is connected to the 5G messaging robot, in response to the template customization instruction, a card template customization interface is displayed;
[0115] In response to the template customization instruction acting on the template customization interface, a card template file is obtained; wherein the template customization instruction includes one or more of a placement mode setting instruction, a switching mode setting instruction and a display style setting instruction; the card template file includes a card template and a card template identifier.
[0116] In an embodiment of the present application, a connection is established between the 5G message platform and the 5G message robot through a suitable communication protocol to ensure that both parties can conduct effective information exchange. The 5G message robot receives a template customization instruction from the 5G message platform, which may contain specific requirements for customizing the card template, such as the structure, elements, and style of the template. Further, the 5G message robot performs corresponding processing according to the received template customization instruction, such as parsing instructions, verifying permissions, and preparing resources required for the customized interface. The 5G message robot sends a request to the 5G message platform based on the information prepared by the customization instruction, requesting that the card template customization interface be displayed on the platform. After receiving the robot's request, the 5G message platform performs corresponding processing. The platform may verify the robot's identity, check permissions, and display the corresponding card template customization interface according to the robot's request. The 5G message platform displays the card template customization interface, allowing users to customize the template through the interface, including dragging elements, selecting styles, setting text content, and other operations.
[0117] In an embodiment of the present application, the 5G message platform first receives the template customization instructions from the user on the template customization interface. These instructions include the user's settings for the placement, switching, display style, etc. of the card template. The 5G message platform parses the received template customization instructions to understand the user's customization requirements. Each instruction may correspond to a specific operation of the user on the template customization interface. According to the user customization instructions obtained by parsing, the 5G message platform may need to obtain the corresponding card template files from the storage system. These files include the card template itself and the identifier associated with it. The 5G message platform processes the obtained card template file, including parsing the content of the card template file to ensure the correctness and integrity of the template. If the identifier is not provided in the card template file, or a new identifier needs to be generated, the 5G message platform may generate or obtain the identifier of the card template, which is used to reference the template in subsequent card messages. The 5G message platform returns the processed card template file and the related template identifier to the user or the 5G message robot, which can be completed through API requests, message push, etc. If the user's template customization results need to be saved, the platform may save the processed card template file to the corresponding storage system for subsequent use.
[0118] In an embodiment of the present application, the placement mode setting instruction is used to define the relative position and arrangement of each element (text, picture, button, etc.) in the card template. The user can set the layout of the elements according to this instruction, such as the relative position, size, alignment, etc. of the elements, which helps the user to customize the overall structure of the card. The switching mode setting instruction is used to define the switching mode between multiple cards in the card template. The user can specify the switching effects between cards, such as fade in and fade out, sliding, rotating, etc., which increases the visual effect of the card message and enhances the user experience. The display style setting instruction is used to define the display style of each element in the card template, including color, font, border, etc. The user can adjust the appearance of the card template through this instruction to meet the specific design style or brand requirements. The purpose of the above instructions is to allow users to freely adjust the appearance and display effect of the card on the template customization interface to meet the personalized requirements of different scenarios and needs. Through these customization instructions, users can more flexibly create unique card templates that meet their needs.
[0119] It is understandable that the 5G message platform can obtain the corresponding card template file according to the user's operation on the template customization interface and ensure the correctness and integrity of the template file. In this way, the user's customization operation on the template customization interface can directly affect the display effect of subsequent card messages.
[0120] In some embodiments of the present application, the method further comprises:
[0121] The 5G message platform responds to the template storage instruction acting on the template customization interface, and generates a card template link if the card template file is legal; and saves the card template identifier and the card template link to the template link relationship; wherein the card template link is used to indicate the storage path or file identifier of the card template.
[0122] In an embodiment of the present application, the 5G message platform first receives a template storage instruction from the user on the template customization interface. This instruction usually contains the user's storage intention, such as saving a customized card template. Before storage, the platform may verify the user's card template file to ensure its legality and integrity, and may perform a security review to prevent the storage of malicious content. If the card template file is legal, the 5G message platform will generate a unique card template link for the template. This link can be a URL or other identifier to indicate the storage path or file identifier of the card template. The 5G message platform saves the generated card template identifier and the corresponding card template link to the template link relationship. This relationship table is used to record each card template identifier and its corresponding storage path or file identifier. The platform may save the user's customized card template file to the storage system for subsequent use and display, including uploading the file to a cloud storage service or other persistent storage medium.
[0123] It is understandable that through the above steps, the 5G message platform can respond to the user's storage instruction, generate a card template link, and ensure that the card template can be correctly saved and associated. In this way, the user's customization results on the template customization interface can be effectively stored and reused.
[0124] In some embodiments of the present application, the method further comprises:
[0125] In response to a template preview instruction acting on the template customization interface, switching from the template customization interface to the template preview interface; wherein the template preview interface includes at least one template preview control; each template preview control corresponds to a candidate card template;
[0126] In response to a triggering operation acting on any one of the at least one template preview controls, a candidate card template corresponding to any one of the template preview controls is displayed in the template customization interface; wherein any one of the template preview controls is a predefined card template or a customized card template.
[0127] In an embodiment of the present application, the 5G message platform first receives a template preview instruction issued by the user on the template customization interface, which indicates that the user wants to preview the currently customized template. According to the received instruction, the platform will perform corresponding operations to switch the user from the template customization interface to the template preview interface, including switching the user interface or loading a new application module. On the template preview interface, the platform will prepare controls and interfaces for displaying template previews, including loading at least one template preview control. Each template preview control corresponds to a candidate card template, and the platform will configure these controls to ensure that they can correctly display the corresponding template content. The controls on the template preview interface will display the preview effect of the currently selected card template, and the user can browse the appearance of each template on this interface to make the final selection. In the template preview interface, the user can perform various operations, such as switching different candidate templates, viewing different states or effects of templates, etc. The user can make the final template selection through the operations in this process.
[0128] It can be understood that through the above steps, the 5G messaging platform is able to respond to the user's template preview instructions and provide an intuitive interface for users to browse and select different card templates, which helps users better understand and compare the appearance of different templates so as to make a final choice that meets their needs.
[0129] In an embodiment of the present application, the 5G message platform receives a trigger operation by a user on at least one template preview control, such as a click or hover. The 5G message platform determines which template preview control is triggered based on the received operation, and each template preview control corresponds to a candidate card template. According to the triggered template preview control, the 5G message platform obtains the candidate card template corresponding to the control, including reading a predefined card template or a user-defined card template. The 5G message platform displays the acquired card template in the template customization interface for the user to further customize or modify. Each template preview control can correspond to a predefined card template or a user-defined card template. In this way, users can use both the standard templates provided by the platform and the templates they created or uploaded in their selections.
[0130] It can be understood that through the above steps, the 5G message platform can directly display the corresponding card template in the template customization interface according to the user's trigger operation on the template preview control, so that users can select and customize the template more intuitively.
[0131] In some embodiments of the present application, the method further comprises:
[0132] Receiving a card template acquisition request sent by a terminal; wherein the card template acquisition request includes a card template link;
[0133] Parse the card template acquisition request, determine the card template according to the card template link in the card template acquisition request, and send the card template to the terminal.
[0134] In an embodiment of the present application, the 5G message platform receives a card template acquisition request sent by a terminal, and the request includes a card template link, which indicates the specific card template that the terminal needs to obtain. The 5G message platform parses the card template acquisition request and extracts the card template link information therefrom. This link is used to uniquely identify the card template that needs to be obtained. Based on the card template link obtained by the analysis, the 5G message platform searches for the corresponding card template, including accessing a storage system, a database, or other related resources. Once the card template is located, the platform will obtain the content of the card template, and the platform will send the obtained card template content to the terminal that initiated the request, such as in the form of a data packet, to ensure that the terminal can receive the complete card template information.
[0135] It can be understood that through the above steps, the terminal can obtain a specific card template through a request, and the 5G message platform is responsible for parsing the request, finding the template and sending it to the terminal to support the display and customization of the card message.
[0136] See also Figure 5 , Figure 5A flow chart of an optional card information generation method provided in an embodiment of the present application is shown in Figure 2, which is applied to the 5G message platform. Figure 5 The steps shown are explained as Figure 5 As shown, the card information generation method includes S301 to S302:
[0137] S301. Obtain updated card information issued by the 5G message center; wherein the updated card information is obtained by the 5G message platform based on the card information and the card template link; the card template link is determined by the 5G message platform in the template link relationship when the acquired card information carries a card template identifier and the card template identifier is legal; the card template link corresponds to the card template identifier; the card information includes the card content; the template link relationship represents the corresponding relationship between the card template identifier and the card template link;
[0138] S302: Display the card content according to the card template corresponding to the card template link.
[0139] In some embodiments of the present application, the implementation of S302 may include:
[0140] Send a card template acquisition request to the 5G message platform; wherein the card template acquisition request includes a card template link;
[0141] Receive the card template sent by the 5G message platform in response to the card template acquisition request, and use the card template to display the card content.
[0142] In an embodiment of the present application, the terminal sends a card template acquisition request to the 5G message platform, and the request includes a card template link, which indicates the specific card template that the terminal needs to obtain. The 5G message platform receives the card template acquisition request sent by the terminal, which includes a card template link. The 5G message platform searches for the corresponding card template based on the received card template link, including access to the storage system or other related resources. Once the card template is found, the platform generates the card template content as a response and sends it back to the terminal. The terminal receives a card template response from the platform, which includes the content of the card template. The terminal uses the information in the card template to display the card content. This may involve rendering elements such as text, pictures, buttons, etc. in the template to present a card effect on the terminal.
[0143] In the embodiments of the present application, on the one hand, the template link relationship represents the correspondence between the card template identifier and the card template link. The system can support multiple different card templates and can dynamically select the corresponding template link according to the card template identifier in the card information, thereby presenting a variety of card display styles. On the one hand, by allowing card messages to use different template links, the system can more flexibly adapt to different application scenarios. Different business needs can use different card templates to display different styles of card content in different scenarios. On the one hand, the template link mechanism enables the system to easily update and switch card templates without modifying the issued card messages, which promotes the innovation of the system and can introduce new card templates over time to provide richer display effects, thereby improving the diversity of terminal display card content. In general, this design makes the card message system more flexible, maintainable, and performance-optimized, while improving the user experience.
[0144] The method for generating card information provided by the present application is explained in a specific embodiment below.
[0145] In an embodiment of the present application, the 5G message card message (equivalent to card information) is combined with a customized template to enhance the card message function. The embodiment of the present application expands the MaaP platform function based on the 5G message system, that is, a template management function module is added to MaaP.
[0146] See also Figure 6 , Figure 6 An optional 5G messaging system architecture diagram provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the 5G message system includes: a 5G message platform 4 (MaaP platform) and a 5G message center 5, the MaaP platform 4 includes: a template management module 43, a file storage module 42 and a business processing module 41; further, the scene of the 5G message system also includes a 5G message robot 3 (Chatbot) and a terminal 6 (5G message terminal); wherein,
[0147] The 5G message center 5 is used to send updated card information to the terminal when the user information of the terminal is a 5G message user, the terminal is online, and the terminal supports 5G card information. The 5G message system can also control bad messages.
[0148] The business processing module 41 is used to determine the card template link corresponding to the card template identifier in the template link relationship when the acquired card information carries the card template identifier and the card template identifier is legal; wherein the card information includes the card content; the template link relationship represents the correspondence between the card template identifier and the card template link; and according to the card information and the card template link, obtain the updated card information so that the terminal displays the card content according to the card template corresponding to the card template link in the updated card information;
[0149] The template management module 43 is used to generate a card template link in response to the template storage instruction acting on the template customization interface if the card template file is legal; wherein the card template link is used to indicate the storage path or file identifier of the card template;
[0150] The file storage module 42 is used to store template link relationships.
[0151] In the embodiment of the present application, the 5G message platform 4 (MaaP platform) has the following functions:
[0152] 1. The MaaP platform supports the management of preset card display templates
[0153] In some embodiments, the MaaP platform may provide access to a card display template management portal. Enterprises that plan to send card messages can view the pre-set universal card message display templates in the MaaP platform, or edit or upload their own dedicated card message display templates.
[0154] 1) The template management module provides enterprises with a function to view general card message display templates. Enterprises can log in to the portal provided by the module to view the display style of each template. Each template can define the placement of multiple cards, such as horizontal, vertical, stacked, carousel, nine-square grid, etc. The template can also define the card switching display method (including fade in and out, rotation, erasure, etc.). The template contains the number definition of each card in the style, and can define the message, title, description and recommended operation display effect for each card.
[0155] 2) Each card message display template has a unique template ID in UUID format and a corresponding download link.
[0156] 3) The template management module also provides customized templates for enterprises. Enterprises can define their own proprietary templates in the portal to realize personalized dedicated card display templates. After the customization is completed and approved, the template management module generates a unique template ID and corresponding download link for it. Enterprises can only see the template ID, but not the corresponding download link.
[0157] 4) The MaaP extension provides a module management module to manage common and enterprise-customized templates, and pass the template files to the file storage module for storage.
[0158] 2. The 5G messaging system sends a card message with a custom display template to the terminal
[0159] In some embodiments, when Chatbot sends a card message to the 5G message system, the message content also carries the card display template ID. The MaaP platform authenticates the template ID and converts it into a download link, which is then filled into the message content and forwarded to the 5G message center. The 5G message center sends the card message to the target terminal.
[0160] 3. 5G messages are combined with the enhanced card message terminal SDK to automatically pull customized card display templates and display them.
[0161] In some embodiments, after receiving a card message, the 5G message terminal automatically downloads the card display template from the link according to the style download link and displays it according to the template without any operation by the user.
[0162] In some embodiments, the 5G message system customizes the card message display template to achieve rich card display modes and different display effects for each card, and combines the display capabilities of the enhanced card message terminal SDK to enhance the card message experience of 5G message terminal users. It provides 5G industry message users with richer and more impactful content display effects in various scenarios such as merchant marketing, customer service, and information push.
[0163] Combined with Figure 6 The architecture diagram of the 5G messaging system shown in the figure is as follows: Figure 7 A schematic diagram of an optional card information generation method provided in an embodiment of the present application Figure 3 ,like Figure 7 As shown, the interaction process between Chatbot 3, MaaP platform 4, 5G message center 5 and 5G message terminal 6 may include steps S401 to S408:
[0164] S401, card display template customization.
[0165] In some embodiments, the Chatbot is connected to the MaaP portal to customize a dedicated card display template.
[0166] S402: Submit the template for storage.
[0167] In some embodiments, a personalized card message display template is created on the MaaP platform template management module portal, such as setting the placement of multiple cards, card switching effects, display style of each card, etc. After the creation is completed, the template management module submits a template upload request to the file storage module, which includes a template ID.
[0168] S403. The template is submitted for review and a template download link is generated.
[0169] In some embodiments, the file storage module performs security review, and after passing the review, returns the storage result to the template management module, which includes a download link.
[0170] S404: Save the template ID and link relationship.
[0171] In some embodiments, the file storage module returns the template link to the template management module, and the template management module stores the corresponding relationship between the template download link and the template ID.
[0172] S405. Send a 5G card message, which includes a template ID.
[0173] In some embodiments, the Chatbot sends a card message to the MaaP platform, and the UNI interface carries the template ID.
[0174] S406: Template ID authentication, template ID is replaced with download link.
[0175] In some embodiments, after receiving the card message, the MaaP platform determines whether the template can be used by the Chatbot if it carries the card message display template ID. If it is allowed to be used, the template ID parameter is replaced with the card display template download link and filled into the layout parameter.
[0176] S407. Send 5G card message.
[0177] In some embodiments, the MaaP platform service processing module forwards the card message to the 5G message center.
[0178] S408. Send 5G message.
[0179] In some embodiments, the 5G message center determines that the called user is a 5G message user and is online and sends a 5G card message to the target terminal.
[0180] In some embodiments, after receiving the card message, the terminal SDK automatically pulls the card template download link in the layout parameter and displays the card message according to the template.
[0181] In an embodiment of the present application, the 5G message system provides a card message display template, which can support viewing of general card message display templates through the portal, and also supports Chatbot custom dedicated card message display templates to achieve an enhanced display effect of multi-card messages.
[0182] In the embodiment of the present application, the 5G message platform replaces the template ID in the message content with the template download link after authentication, and sends the 5G card message to the terminal. The 5G message terminal supports identifying the template download link in the message content, automatically pulling the template, and displaying the card message according to the template content.
[0183] In the embodiment of the present application, compared with the existing card message technology of 5G messages, an effective technical method for expanding the card message display template of 5G messages (i.e., a method for generating card information) is provided. The implementation of the present application provides Chatbot with a richer and more flexible card message display effect, and takes into account the security management of the display template, with obvious advantages. Specifically, the embodiment of the present application can change the card information display effect at any time as needed, and has strong scalability. The embodiment of the present application only needs to expand the MaaP platform to provide it, and Chatbot access does not need to be adjusted. In the embodiment of the present application, the operator controls the card message display template, and the management is more standardized to reduce spam messages. The embodiment of the present application makes templates, and the templates are more flexible and rich. The embodiment of the present application has a good user experience and covers a wide range of business scenarios; it makes up for the problem that the existing card message display method is single and solidified.
[0184] The preferred embodiments of the present application are described in detail above in conjunction with the accompanying drawings. However, the present application is not limited to the specific details in the above embodiments. Within the technical concept of the present application, the technical solution of the present application can be subjected to a variety of simple modifications, and these simple modifications all belong to the protection scope of the present application. For example, the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present application will not further explain various possible combinations. For another example, the various different embodiments of the present application can also be arbitrarily combined, as long as they do not violate the idea of the present application, they should also be regarded as the contents disclosed in the present application. For another example, under the premise of no conflict, the various embodiments and / or the technical features in the various embodiments described in the present application can be arbitrarily combined with the prior art, and the technical solution obtained after the combination should also fall within the protection scope of the present application.
[0185] Based on the foregoing embodiments, an embodiment of the present application provides a control device for an image sensor, which includes the modules included and the units included in the modules, and can be implemented by a processor; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be an AI acceleration engine (such as NPU, etc.), GPU, central processing unit (CPU), microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA), etc.
[0186] Based on the same inventive concept as the above embodiments, Figure 8 A schematic diagram of the composition structure of an optional 5G message platform provided in an embodiment of the present application, such as Figure 8 As shown, the 5G message platform 7 includes: a judgment unit 71 and a determination unit 72; wherein,
[0187] The judgment unit 71 is used to determine the card template link corresponding to the card template identifier in the template link relationship when the acquired card information carries the card template identifier and the card template identifier is legal; wherein the card information includes the card content; and the template link relationship represents the corresponding relationship between the card template identifier and the card template link;
[0188] The determining unit 72 is used to obtain updated card information according to the card information and the card template link, so that the terminal displays the card content according to the card template corresponding to the card template link in the updated card information.
[0189] In some embodiments, the determination unit 72 is also used to send the updated card information to the 5G message center, so that the 5G message center sends the updated card information to the terminal when the user information of the terminal is a 5G message user, the terminal is online and the terminal supports 5G card information.
[0190] In some embodiments, the card information is issued through a 5G message robot; the determination unit 72 is also used to display a card template customization interface in response to a template customization instruction when the 5G message platform establishes a connection with the 5G message robot; in response to the template customization instruction acting on the template customization interface, a card template file is obtained; wherein the template customization instruction includes one or more of a placement mode setting instruction, a switching mode setting instruction and a display style setting instruction; the card template file includes the card template and the card template identifier.
[0191] In some embodiments, the determination unit 72 is also used to respond to the template storage instruction acting on the template customization interface, and generate the card template link if the card template file is legal; and save the card template identifier and the card template link to the template link relationship; wherein the card template link is used to indicate the storage path or file identifier of the card template.
[0192] In some embodiments, the determination unit 72 is further used to switch from the template customization interface to the template preview interface in response to a template preview instruction acting on the template customization interface; wherein the template preview interface includes at least one template preview control; each template preview control corresponds to a candidate card template; in response to a triggering operation of any template preview control in the at least one template preview control, the candidate card template corresponding to any template preview control is displayed in the template customization interface; wherein any template preview control is a predefined card template or a customized card template.
[0193] In some embodiments, the determining unit 72 is further configured to replace the card template identifier in the card information with the card template link to obtain the updated card information.
[0194] Based on the same inventive concept as the above embodiments, Fig. 9 A schematic diagram of the composition structure of an optional terminal provided in an embodiment of the present application, such as Fig. 9 As shown, the terminal 8 includes: an acquisition unit 81 and a display unit 82; wherein,
[0195] The acquisition unit 81 is used to acquire updated card information issued by the 5G message center; wherein the updated card information is obtained by the 5G message platform according to the card information and the card template link; the card template link is determined by the 5G message platform in the template link relationship when the acquired card information carries a card template identifier and the card template identifier is legal; the card template link corresponds to the card template identifier; the card information includes card content; the template link relationship represents the corresponding relationship between the card template identifier and the card template link;
[0196] The display unit 82 is used to display the card content according to the card template link corresponding to the card template.
[0197] In some embodiments, the display unit 82 is used to send a card template acquisition request to the 5G message platform; wherein the card template acquisition request includes the card template link; receive the card template sent by the 5G message platform in response to the card template acquisition request, and use the card template to display the card content.
[0198] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0199] It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional unit. It may also be implemented in the form of a combination of software and hardware.
[0200] It should be noted that in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.
[0201] In some embodiments of the present application, Fig.10 A schematic diagram of the structure of an optional electronic device provided in an embodiment of the present application, such as Fig.10 As shown, the electronic device 9 includes:
[0202] Memory 91, used to store computer executable instructions;
[0203] The processor 92 is connected to the memory 91 and is used to implement the above-mentioned card information generation method by executing the computer executable instructions.
[0204] It should be noted that the memory 91 is configured to store instructions and applications executable by the processor 92, and can also cache data to be processed or already processed by various modules in the processor 92 (for example, image data, audio data, voice communication data, and video communication data), which can be implemented through flash memory (FLASH) or random access memory (Random Access Memory, RAM).
[0205] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the method provided in the above embodiment are implemented.
[0206] An embodiment of the present application provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps of the method provided in the above method embodiment.
[0207] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium, storage medium and device embodiments of the present application, please refer to the description of the method embodiments of the present application for understanding. It should be understood that "one embodiment" or "one embodiment" or "some embodiments" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in one embodiment" or "in some embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence number of the embodiment of the present application is only for description and does not represent the advantages and disadvantages of the embodiment. The above description of each embodiment tends to emphasize the differences between the various embodiments, and the same or similar parts can refer to each other. For the sake of brevity, this article will not repeat them.
[0208] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist at the same time, and object B exists alone.
[0209] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0210] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as: multiple modules or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or modules can be electrical, mechanical or other forms.
[0211] The modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules; they may be located in one place or distributed on multiple network units; some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0212] In addition, all functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may be a separate unit, or two or more modules may be integrated into one unit; the above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0213] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0214] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0215] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0216] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0217] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0218] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for generating card information, characterized in that: Applied to the 5G messaging platform, the method includes: When the acquired card information carries a card template identifier and the card template identifier is legal, in the template link relationship, a card template link corresponding to the card template identifier is determined; wherein the card information includes card content; and the template link relationship represents a corresponding relationship between the card template identifier and the card template link; Updated card information is obtained according to the card information and the card template link, so that the terminal displays the card content according to the card template corresponding to the card template link in the updated card information.
2. The method according to claim 1, characterized in that The method further comprises: The updated card information is sent to the 5G message center, so that the 5G message center sends the updated card information to the terminal when the user information of the terminal is a 5G message user, the terminal is online, and the terminal supports 5G card information.
3. The method according to claim 1 or 2, characterized in that: The card information is sent via a 5G messaging robot; the method further includes: When the 5G messaging platform is connected to the 5G messaging robot, in response to a template customization instruction, a card template customization interface is displayed; In response to a template customization instruction acting on the template customization interface, a card template file is obtained; wherein the template customization instruction includes one or more of a placement mode setting instruction, a switching mode setting instruction and a display style setting instruction; the card template file includes the card template and the card template identifier.
4. The method according to claim 3, characterized in that The method further comprises: In response to the template storage instruction acting on the template customization interface, the card template link is generated if the card template file is legal; and the card template identifier and the card template link are saved in the template link relationship; wherein, the card template link is used to indicate the storage path or file identifier of the card template.
5. The method according to claim 3, characterized in that: The method further comprises: In response to a template preview instruction acting on the template customization interface, switching from the template customization interface to the template preview interface; wherein the template preview interface includes at least one template preview control; each template preview control corresponds to a candidate card template; In response to a triggering operation acting on any one of the at least one template preview controls, a candidate card template corresponding to the any one template preview control is displayed in the template customization interface; wherein the any one template preview control is used to preview a predefined card template or a customized card template.
6. The method according to any one of claims 1 to 5, characterized in that: The obtaining updated card information according to the card information and the card template link includes: The card template identifier in the card information is replaced with the card template link to obtain the updated card information.
7. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: receiving a card template acquisition request sent by the terminal; wherein the card template acquisition request includes the card template link; The card template acquisition request is parsed, the card template is determined according to the card template link in the card template acquisition request, and the card template is sent to the terminal.
8. A method for generating card information, characterized in that: Applied to a terminal, the method comprises: Obtain updated card information issued by the 5G message center; wherein the updated card information is obtained by the 5G message platform based on the card information and the card template link; the card template link is determined by the 5G message platform in the template link relationship when the acquired card information carries a card template identifier and the card template identifier is legal; the card template link corresponds to the card template identifier; the card information includes card content; the template link relationship represents the correspondence between the card template identifier and the card template link; The card content is displayed according to the card template corresponding to the card template link.
9. The method according to claim 8, characterized in that The displaying of the card content according to the card template linking to the corresponding card template includes: Sending a card template acquisition request to the 5G message platform; wherein the card template acquisition request includes the card template link; Receive the card template sent by the 5G message platform in response to the card template acquisition request, and use the card template to display the card content.
10. A 5G messaging platform, characterized in that: include: A judging unit and a determining unit; wherein, The judgment unit is used to determine the card template link corresponding to the card template identifier in the template link relationship when the acquired card information carries the card template identifier and the card template identifier is legal; wherein the card information includes the card content; and the template link relationship represents the corresponding relationship between the card template identifier and the card template link; The determining unit is used to obtain updated card information according to the card information and the card template link, so that the terminal displays the card content according to the card template corresponding to the card template link in the updated card information.
11. A terminal, characterized in that: include: an acquisition unit and a display unit; wherein, The acquisition unit is used to acquire updated card information issued by the 5G message center; wherein the updated card information is obtained by the 5G message platform according to the card information and the card template link; the card template link is determined by the 5G message platform in the template link relationship when the acquired card information carries a card template identifier and the card template identifier is legal; the card template link corresponds to the card template identifier; the card information includes card content; the template link relationship represents the corresponding relationship between the card template identifier and the card template link; The display unit is used to display the card content according to the card template link corresponding to the card template.
12. An electronic device, characterized in that: include: A memory for storing computer executable instructions; A processor, connected to the memory, for implementing the method of any one of claims 1 to 7, or implementing the method of claim 8 or 9, by executing the computer executable instructions.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by at least one processor, the method of any one of claims 1 to 7 is implemented, or the method of claim 8 or 9 is implemented.
14. A computer program product, characterized in that The method comprises computer program instructions, which, when executed by a processor, implement the method according to any one of claims 1 to 7, or implement the method according to claim 8 or 9.
Citation Information
Cited By
Contextual delivery of access to artificial intelligence functionality
US20250335528A1
