Method for processing 5g message, electronic device and readable storage medium
By displaying interaction logic diagrams and template materials in the 5G messaging platform, users can visually edit 5G message templates, solving the problem of low editing efficiency in existing technologies and achieving efficient template editing and optimization.
Patent Information
- Application Number
- CN202211676138.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-26
- Publication Date
- 2025-12-23
- Estimated Expiration
- 2042-12-26
AI Technical Summary
The current technology for editing 5G message templates is inefficient, requiring adjustments and optimizations through recoding, configuration, and testing, which leads to low efficiency.
In the pre-created 5G messaging platform, the system receives the Chatbot account selected by the user and the corresponding business scenario. The interaction logic diagram of the 5G message template is displayed in the editing interface, and the user is allowed to perform editing operations through the visualization of template materials and node materials.
It improves the efficiency of editing 5G message templates, avoids the need for frequent adjustments and optimizations due to the refinement of business scenarios, and realizes convenient template editing.
Smart Images

Figure CN116233769B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of 5G message, in particular to a 5G message processing method, an electronic device and a readable storage medium. BACKGROUND
[0002] With the rapid development of science and technology, the message pushing technology is also developing more and more mature. At present, Chatbot selects a corresponding fixed 5G message template for message pushing in different business scenarios. With the development of time, the business scenarios are more and more refined, and the developers also need to make corresponding adjustments and optimizations to the content of the 5G message template in each business scenario. However, the adjustment and optimization process needs to be realized through re-coding, configuration and testing, and the editing and processing efficiency of the 5G message template is low, thereby leading to low editing and processing efficiency of the 5G message. SUMMARY
[0003] The main purpose of the present application is to provide a 5G message processing method, an electronic device and a readable storage medium, which aims to solve the technical problem of low editing and processing efficiency of the 5G message in the prior art.
[0004] To achieve the above purpose, the present application provides a 5G message processing method applied to a 5G message processing device, which comprises the following steps:
[0005] In a pre-created 5G message platform, a Chatbot account selected by a user and a business scenario corresponding to the Chatbot account are received, and an interaction logic relationship diagram of a 5G message template corresponding to the business scenario is displayed in a predetermined editing interface. The interaction logic relationship diagram comprises a 5G message template according to the sequence of the interaction logic corresponding to the business scenario.
[0006] When an editing instruction for the 5G message template is received, a material of the 5G message template is displayed at a first preset position of the editing interface. The material comprises a template material and a node material derived from a resource library.
[0007] Based on the displayed template material and / or node material, an editing operation is performed on the 5G message template.
[0008] Optionally, after the step of receiving the Chatbot account selected by the user, the method further comprises the following steps:
[0009] If the business scenario corresponding to the Chatbot account does not exist in the 5G message platform, a new business scenario of the Chatbot account is created.
[0010] Optionally, the step of creating the new business scenario of the Chatbot account comprises the following steps:
[0011] receiving a drag operation of a user on the displayed template material and / or node material, and dragging the dragged template material and / or node material to the editing interface;
[0012] creating a business scenario based on the template material and / or node material of the editing interface as a new business scenario of the Chatbot account.
[0013] Optionally, the 5G message template includes a single-card message template and a multi-card message template, and after the step of displaying the interaction logic relationship diagram of the 5G message template corresponding to the business scenario in the predetermined editing interface according to the Chatbot account selected by the user and the business scenario corresponding to the Chatbot account, the method further includes:
[0014] if the 5G message template is a single-card message template, displaying the single-card message template in the editing interface;
[0015] if the 5G message template is a multi-card message template, displaying one card message template in the multi-card message template in the editing interface, and if a switching instruction is detected, displaying other card message templates in the multi-card message template according to the switching instruction.
[0016] Optionally, the node material includes an interactive component, and after the step of displaying the interaction logic relationship diagram of the 5G message template corresponding to the business scenario in the predetermined editing interface according to the Chatbot account selected by the user and the business scenario corresponding to the Chatbot account, the method further includes:
[0017] obtaining a target message template selected by the user;
[0018] displaying component information of the interactive component in the target message template at a second predetermined position of the editing interface, and performing an editing operation on the interactive component based on the component information.
[0019] Optionally, the component information includes a text label, a numerical value, and a type, and the step of performing an editing operation on the interactive component based on the component information includes:
[0020] if a text label editing instruction is received for the text label, performing an editing operation on the text label according to the text label editing instruction;
[0021] if a numerical value editing instruction is received for the numerical value, performing an editing operation on the numerical value according to the numerical value editing instruction;
[0022] If a type editing instruction for the type is received, a type editing operation is performed on the type according to the type editing instruction.
[0023] Optionally, the node material includes an interactive component group and a link, and the step of performing an editing operation on the 5G message template based on the displayed template material and / or node material includes:
[0024] receiving a template material selected by a user, and replacing the set target message template with the selected template material;
[0025] receiving an interactive component group and / or a link selected by a user, and replacing the interactive component group and / or the link in the card message template with the selected interactive component group and / or link.
[0026] Optionally, after the step of performing an editing operation on the 5G message template based on the displayed template material and / or node material, the method further includes:
[0027] after detecting a delivery instruction of the 5G message template, delivering the edited 5G message template to a 5G message platform.
[0028] To achieve the above object, the application further provides a 5G message processing device, which is applied to a 5G message processing equipment, and includes:
[0029] a receiving module, configured to receive a Chatbot account selected by a user and a business scenario corresponding to the Chatbot account in a pre-created 5G message platform, and display an interactive logic relationship diagram of a 5G message template corresponding to the business scenario in a predetermined editing interface, the interactive logic relationship diagram including an order of the 5G message template according to an interactive logic corresponding to the business scenario;
[0030] a display module, configured to display a material of the 5G message template at a first preset position of the editing interface when an editing instruction for the 5G message template is received, the material including a template material and a node material from a resource library;
[0031] an execution module, configured to perform an editing operation on the 5G message template based on the displayed template material and / or node material.
[0032] Optionally, after the step of receiving a Chatbot account selected by a user, the 5G message processing device is further configured to:
[0033] if the business scenario corresponding to the Chatbot account does not exist in the 5G message platform, creating a new business scenario of the Chatbot account.
[0034] Optionally, the 5G message processing apparatus is further configured to:
[0035] receiving a drag operation of the user on the displayed template material and / or node material, and dragging the dragged template material and / or node material to the editing interface;
[0036] creating a business scenario based on the template material and / or node material of the editing interface as a new business scenario of the Chatbot account.
[0037] Optionally, the 5G message template includes a single-card message template and a multi-card message template, and after the step of displaying the interaction logic relationship diagram of the 5G message template corresponding to the business scenario in the predetermined editing interface according to the Chatbot account selected by the user and the business scenario corresponding to the Chatbot account, the 5G message processing apparatus is further configured to:
[0038] if the 5G message template is a single-card message template, displaying the single-card template in the editing interface;
[0039] if the 5G message template is a multi-card message template, displaying one card message template in the multi-card message template in the editing interface, and if a switching instruction is detected, displaying other card message templates in the multi-card message template according to the switching instruction.
[0040] Optionally, the node material includes an interactive component, and after the step of displaying the interaction logic relationship diagram of the 5G message template corresponding to the business scenario in the predetermined editing interface according to the Chatbot account selected by the user and the business scenario corresponding to the Chatbot account, the 5G message processing apparatus is further configured to:
[0041] obtaining a target message template selected by the user;
[0042] displaying component information of the interactive component in the target message template at a second predetermined position of the editing interface, and performing an editing operation on the interactive component based on the component information.
[0043] Optionally, the component information includes a text label, a numerical value, and a type, and the 5G message processing apparatus is further configured to:
[0044] if a text label editing instruction is received for the text label, performing an editing operation on the text label according to the text label editing instruction;
[0045] if a numerical value editing instruction is received for the numerical value, performing an editing operation on the numerical value according to the numerical value editing instruction;
[0046] If a type editing instruction of the type is received, an editing operation is performed on the type according to the type editing instruction.
[0047] Optionally, the node material includes an interactive component group and a link, and the execution module is further configured to:
[0048] receiving a template material selected by a user, and replacing the set target message template with the selected template material;
[0049] receiving an interactive component group and / or a link selected by a user, and replacing the interactive component group and / or the link in the card message template with the selected interactive component group and / or the link.
[0050] Optionally, after the step of performing an editing operation on the 5G message template based on the displayed template material and / or node material, the 5G message processing apparatus is further configured to:
[0051] after detecting the delivery instruction of the 5G message template, delivering the edited 5G message template to a 5G message platform.
[0052] The application also provides an electronic device, which includes a memory, a processor, and a program of the 5G message processing method stored in the memory and executable on the processor, and the program of the 5G message processing method, when executed by the processor, can implement the steps of the 5G message processing method as described above.
[0053] The application also provides a computer readable storage medium, which stores a program of a 5G message processing method, and the program of the 5G message processing method, when executed by a processor, implements the steps of the 5G message processing method as described above.
[0054] The application also provides a computer program product, which includes a computer program, and the computer program, when executed by a processor, implements the steps of the 5G message processing method as described above.
[0055] The application provides a 5G message processing method, an electronic device and a readable storage medium. Compared with selecting a corresponding fixed 5G message template for message pushing of a Chatbot through different business scenarios, the application receives a Chatbot account selected by a user and a business scenario corresponding to the Chatbot account in a pre-created 5G message platform, displays an interaction logic relationship diagram of a 5G message template corresponding to the business scenario in a predetermined editing interface, and the interaction logic relationship diagram comprises a 5G message template in a sequence according to an interaction logic corresponding to the business scenario. When an editing instruction for the 5G message template is received, the 5G message template is displayed at a first preset position of the editing interface, and the material comprises template material and node material from a resource library. The 5G message template is edited based on the displayed template material and / or node material, and the visual display of the template material and node material is preset in advance for user editing, which realizes convenient editing of the 5G message template and avoids the technical defect of low editing processing efficiency of the 5G message template when different business scenarios are selected to select a corresponding fixed 5G message template for message pushing, and as time goes on, the business scenarios are more and more refined, and the content of the 5G message template in each business scenario needs to be adjusted and optimized by the R&D personnel. Since the adjustment and optimization process needs to be realized through re-coding, configuration and testing, the technical defect of low editing processing efficiency of the 5G message template is prone to occur, thereby improving the editing processing efficiency of the 5G message template. BRIEF DESCRIPTION OF DRAWINGS
[0056] The accompanying drawings, which are incorporated into and form a part of the specification, illustrate preferred embodiments of the present application and, together with the description, serve to explain the principles of the application.
[0057] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, for those skilled in the art, other drawings can also be obtained without creative labor based on these drawings.
[0058] Figure 1 Flowchart of the first embodiment of the 5G message processing method of the present application;
[0059] Figure 2 Structure diagram of the 5G message processing device of the present application;
[0060] Figure 3 Device structure diagram of the hardware running environment involved in the 5G message processing method in the embodiments of the present application.
[0061] The objectives, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION
[0062] In order to make the above objectives, features and advantages of the present application more apparent, clear and complete, the technical solutions in the embodiments of the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.
[0063] Embodiment One
[0064] The embodiments of the present application provide a 5G message processing method. In a first embodiment of the 5G message processing method, referring to Figure 1 , the 5G message processing method comprises:
[0065] In step S10, in a pre-created 5G message platform, a Chatbot account selected by a user and a business scenario corresponding to the Chatbot account are received, and an interaction logic relationship diagram of a 5G message template corresponding to the business scenario is displayed in a predetermined editing interface, the interaction logic relationship diagram comprising a 5G message template according to a sequence of interaction logic corresponding to the business scenario.
[0066] In the present embodiment, it should be noted that the 5G message platform is used to push 5G messages, and the messages can be advertisements, text information, picture information, video information, link jump information, or comprehensive information combining text information, picture information, video information and link jump information. The 5G message template is a template common to all Chatbot accounts. The user can be a merchant, an institution, or an organization such as a unit, and the business scenario can be a sales scenario, a notification scenario, or an information scenario.
[0067] By way of example, step S10 comprises receiving a user input account and password through a pre-created 5G message platform, selecting a Chatbot account corresponding to the user according to the account and the password, querying a business scenario corresponding to the Chatbot account, and displaying an interaction logic relationship diagram of a 5G message template corresponding to the business scenario in a predetermined editing interface, the 5G message template corresponding to the business scenario comprising a plurality of.
[0068] Step S20, when receiving the editing instruction for the 5G message template, displaying the material of the 5G message template in a first preset position of the editing interface, the material including template material and node material derived from the resource library.
[0069] In the embodiment, it should be noted that the first preset position is a position in the editing interface where the material of the 5G message template in the resource library is displayed.
[0070] For example, step S20 includes: when receiving the editing instruction for the 5G message template sent by the user, displaying the material corresponding to the 5G message template in the first preset position of the 5G message platform for human-computer interaction, so as to obtain the 5G message template selected by the user and / or the editing content of the 5G message template.
[0071] Step S30, performing editing operation on the 5G message template based on the displayed template material and / or node material.
[0072] For example, step S30 includes: receiving the editing content corresponding to the operation data of the user through the 5G message platform, or obtaining the editing content corresponding to the 5G message template through the 5G message platform, and editing the 5G message template according to the editing content, wherein the editing content includes deletion and / or replacement and / or addition of business scenarios and / or business information and / or node material and / or template material in the 5G message template.
[0073] In step S30, after the step of receiving the Chatbot account selected by the user, the method further includes:
[0074] Step S40, if the 5G message platform does not exist the business scenario corresponding to the Chatbot account, creating a new business scenario of the Chatbot account:
[0075] For example, step S40 includes: querying the Chatbot account through the 5G message platform to obtain the business scenario corresponding to the user, or obtaining the business scenario selected by the user through the 5G message platform; judging whether the 5G message platform exists the 5G message template corresponding to the business scenario; if the 5G message platform exists the 5G message template corresponding to the business scenario, receiving the 5G message template corresponding to the business scenario selected by the user; if the 5G message platform does not exist the 5G message template corresponding to the business scenario, obtaining the operation data of the user through the 5G message platform, and constructing the 5G message template corresponding to the Chatbot account according to the operation data.
[0076] In step S30, the step of creating the new business scenario of the Chatbot account comprises:
[0077] In step S31, a drag operation of the user on the displayed template material and / or node material is received, and the dragged template material and / or node material is dragged to the editing interface.
[0078] In step S32, a business scenario is created based on the template material and / or node material of the editing interface as a new business scenario of the Chatbot account.
[0079] For example, steps S31 to S32 comprise: receiving the click operation and / or drag operation of the user on the template material and / or node material through the 5G message platform to obtain the template material and / or node material edited to the editing interface; and creating a business scenario based on the template material and / or node material of the editing interface as a new business scenario of the Chatbot account.
[0080] For example, step S31 comprises: obtaining the click operation of the user through the 5G message platform to switch the template material and / or node material; and obtaining the drag operation of the user to add and / or replace the template material and / or node material.
[0081] Optionally, the step of creating the new business scenario of the Chatbot account comprises:
[0082] The template creation information and the node creation information corresponding to the operation data of the user are obtained; and the new business scenario of the Chatbot account is constructed according to the business scenario, the template creation information, and the node creation information.
[0083] For example, when the business scenario is a sales scenario, the sales scenario comprises product recommendation business, complaint business, pre-sale business, and after-sale business, etc.; according to the sales scenario, the corresponding business of the Chatbot account is determined, and the corresponding template creation information and node creation information are obtained according to each business and the operation data.
[0084] The embodiment of the application provides a 5G message processing method, an electronic device and a readable storage medium. Compared with selecting a corresponding fixed 5G message template for message pushing of a Chatbot through different business scenarios, the embodiment of the application receives a Chatbot account selected by a user and a business scenario corresponding to the Chatbot account in a pre-created 5G message platform, displays an interaction logic relationship diagram of a 5G message template corresponding to the business scenario in a predetermined editing interface, the interaction logic relationship diagram includes a 5G message template according to a sequence of interaction logic corresponding to the business scenario, when an editing instruction for the 5G message template is received, a material of the 5G message template is displayed at a first preset position of the editing interface, the material includes template material and node material from a resource library, and an editing operation is performed on the 5G message template based on the displayed template material and / or node material. Through the visual display of the template material and the node material in advance, the user can edit, the convenient editing of the 5G message template is realized, and the technical defect of low editing processing efficiency of the 5G message template is avoided when different business scenarios are selected to select a corresponding fixed 5G message template for message pushing, and as time goes on, the business scenarios are more and more refined, and the content of the 5G message template in each business scenario needs to be adjusted and optimized by the developers, so that the editing processing efficiency of the 5G message template is improved.
[0085] Embodiment two
[0086] Further, based on the first embodiment of the application, in another embodiment of the application, the same or similar contents as the above embodiment one can refer to the above introduction, and the following will not be described. On this basis, in step S10, the 5G message template includes a single card message template and a multi-card message template, after the step of receiving the Chatbot account selected by the user and the business scenario corresponding to the Chatbot account, displaying the interaction logic relationship diagram of the 5G message template corresponding to the business scenario in the predetermined editing interface, further includes:
[0087] Step A10, if the 5G message template is a single card message template, the single card template is displayed in the editing interface;
[0088] Step A20, if the 5G message template is a multi-card message template, a card message template in the multi-card message template is displayed in the editing interface, and if it is detected that a switching instruction is received, according to the switching instruction, other card message templates in the multi-card message template are displayed.
[0089] Exemplarily, the steps A10 to A20 include: acquiring a template quantity of the 5G message template, determining a message template type of the 5G message template according to the template quantity, displaying the single-card message template in the editing interface if the message template is the single-card message template, displaying a card message template in the multi-card message template in the editing interface if the message template is the multi-card message template, and displaying other card message templates in the multi-card message template according to the switching instruction if it is detected that the switching instruction triggered by the user is received.
[0090] In step S10, the node material includes an interactive component. After the step of displaying the interactive logic relationship diagram of the 5G message template corresponding to the business scenario in the predetermined editing interface according to the Chatbot account selected by the user and the business scenario corresponding to the Chatbot account, the method further includes:
[0091] Step B10: acquiring the target message template selected by the user.
[0092] Step B20: displaying component information of the interactive component in the target message template at a second preset position of the editing interface, and performing an editing operation on the interactive component based on the component information.
[0093] In this embodiment, it should be noted that the second preset position is a position in the editing interface that is pre-set for displaying component information of an interactive component.
[0094] Exemplarily, the steps B10 to B20 include: receiving a target message template selected by the user in each 5G message template, or randomly selecting a target message template; displaying component information of an interactive component in the target message template at a second preset position of the editing interface, and performing an editing operation on the interactive component based on the component information.
[0095] Optionally, the step of acquiring the target message template selected by the user includes:
[0096] acquiring a use frequency of each 5G message template corresponding to the business scenario in the 5G message platform; and selecting a target 5G message template from the 5G message templates as the 5G message template corresponding to the business scenario according to the use frequency.
[0097] Exemplarily, the method further comprises: pulling, by the 5G message platform, the frequency of use of each 5G message template by the user and / or all users; displaying, by the 5G message platform, the frequency of use of each 5G message template for the user to select a target 5G message template; and obtaining the target 5G message template selected by the user as the 5G message template corresponding to the business scenario, or selecting a target 5G message template corresponding to a target frequency of use greater than or equal to a preset frequency threshold from the frequency of use of each 5G message template, wherein the preset frequency threshold is a preset critical value of the frequency of use of the 5G message template.
[0098] As an example, the method further comprises: pulling, by the 5G message platform, the frequency of use of each 5G message template by the user and / or all users, and / or the use score of each 5G message template by the user and / or all users.
[0099] In step B20, the component information includes a text label, a value, and a type, and the step of performing an editing operation on the interactive component based on the component information includes:
[0100] In step B21, if a text label editing instruction for the text label is received, performing an editing operation on the text label according to the text label editing instruction;
[0101] In step B22, if a value editing instruction for the value is received, performing an editing operation on the value according to the value editing instruction;
[0102] In step B23, if a type editing instruction for the type is received, performing an editing operation on the type according to the type editing instruction.
[0103] In this embodiment, it should be noted that the editing instruction can be a selected content instruction or a changed content instruction.
[0104] As an example, when the business scenario is to recommend shoes, the text label of the node material is shoes, and the type of the node material is to jump to a webpage, the value is the link of the webpage; when the type of the node material is to make a phone call, the value is the phone number of the phone.
[0105] In step S30, the node material includes an interactive component group and a link, and the step of performing an editing operation on the 5G message template based on the displayed template material and / or node material includes:
[0106] In step S31, receiving a template material selected by a user, and replacing a target message template set with the selected template material;
[0107] Step S32, receiving the user-selected interactive component group and / or link, replacing the interactive component group and / or link in the card message template with the selected interactive component group and / or link.
[0108] The method for processing the 5G message further includes:
[0109] Obtaining a user recommendation degree of each node material, and determining a node material with a high user recommendation degree as the editing content of the editing operation.
[0110] For example, the method includes: pulling, by the 5G message platform, a usage frequency and / or a usage score of each node material by the user and / or all users, and determining a user recommendation degree of each node material according to the usage frequency and / or the usage score; and displaying each user recommendation degree, so that the user selects a node material as the editing content of the editing operation, or selects a target node material greater than or equal to a preset recommendation degree threshold as the editing content of the editing operation, wherein the preset frequency threshold is a user recommendation degree threshold value preset to determine that the user recommendation degree of the node material is high.
[0111] In step S30, after the step of performing the editing operation on the 5G message template based on the displayed template material and / or node material, the method further includes:
[0112] Determining whether the editing content corresponding to the editing instruction contains a preset violation field; if so, canceling the execution of the editing instruction containing the editing content.
[0113] In this embodiment, it should be noted that the preset violation field is a field preset to determine that the editing content contains a violation.
[0114] For example, the method includes: determining whether the editing content corresponding to the editing instruction contains a preset violation field; if the editing content corresponding to the editing instruction contains a preset violation field, canceling the execution of the editing instruction containing the editing content; and if the editing content corresponding to the editing instruction does not contain a preset violation field, performing the editing operation on the 5G message template based on the displayed template material and / or node material.
[0115] In step S30, after the step of performing the editing operation on the 5G message template based on the displayed template material and / or node material, the method further includes:
[0116] Step S50, after detecting the delivery instruction of the 5G message template, delivering the edited 5G message template to the 5G message platform.
[0117] Exemplarily, the step S50 comprises: when the user selects the 5G message template, sending a delivery instruction of the 5G message template to the 5G message platform, and after the 5G message platform detects the delivery instruction, replacing the 5G message template in the 5G message platform with the edited 5G message template, or adding a new business scenario to the 5G message template of the business scenario after the 5G message platform detects the delivery instruction.
[0118] The embodiments of the present application provide a 5G message processing method, an electronic device and a readable storage medium. Compared with selecting a corresponding fixed 5G message template for message pushing of a Chatbot through different business scenarios, the embodiments of the present application receive a Chatbot account selected by a user and a business scenario corresponding to the Chatbot account in a pre-created 5G message platform, display an interaction logic relationship diagram of a 5G message template corresponding to the business scenario in a predetermined editing interface, the interaction logic relationship diagram comprises a sequence of the 5G message template according to an interaction logic corresponding to the business scenario, display material of the 5G message template at a first predetermined position of the editing interface when an editing instruction for the 5G message template is received, the material comprises template material and node material derived from a resource library, and perform an editing operation on the 5G message template based on the displayed template material and / or node material. The visual display of the template material and the node material is used for editing by the user, the editing of the 5G message template is convenient, and the technical defect of low editing and processing efficiency of the 5G message template is avoided when different business scenarios are selected to select a corresponding fixed 5G message template for message pushing, and as time goes on, the business scenarios are more and more refined, and the content of the 5G message template in each business scenario needs to be adjusted and optimized by the developers, the editing and processing efficiency of the 5G message template is improved.
[0119] Embodiment three
[0120] The embodiments of the present application further provide a 5G message processing device, which is applied to a 5G message processing equipment, and comprises:
[0121] The receiving module is configured to receive a Chatbot account selected by a user and a business scenario corresponding to the Chatbot account in a pre-created 5G message platform, display an interaction logic relationship diagram of a 5G message template corresponding to the business scenario in a predetermined editing interface, and the interaction logic relationship diagram comprises a sequence of the 5G message template according to an interaction logic corresponding to the business scenario.
[0122] displaying, by a display module, a material of the 5G message template at a first preset position of the editing interface when an editing instruction for the 5G message template is received, the material including template material and node material derived from a resource library;
[0123] performing, by an execution module, an editing operation on the 5G message template based on the displayed template material and / or node material.
[0124] Optionally, after the step of receiving the Chatbot account selected by the user, the 5G message processing apparatus is further configured to:
[0125] if the Chatbot account does not correspond to a business scenario in the 5G message platform, creating a new business scenario of the Chatbot account.
[0126] Optionally, the 5G message processing apparatus is further configured to:
[0127] receiving a drag operation of the user on the displayed template material and / or node material, and dragging the dragged template material and / or node material to the editing interface;
[0128] creating a business scenario based on the template material and / or node material of the editing interface as a new business scenario of the Chatbot account.
[0129] Optionally, the 5G message template includes a single-card message template and a multi-card message template, and after the step of receiving the Chatbot account selected by the user and the business scenario corresponding to the Chatbot account, and displaying an interaction logic relationship diagram of a 5G message template corresponding to the business scenario in a predetermined editing interface, the 5G message processing apparatus is further configured to:
[0130] if the 5G message template is a single-card message template, displaying the single-card template in the editing interface;
[0131] if the 5G message template is a multi-card message template, displaying a card message template in the multi-card message template in the editing interface, and if a switching instruction is detected to be received, displaying other card message templates in the multi-card message template according to the switching instruction.
[0132] Optionally, the node material includes an interaction component, and after the step of receiving the Chatbot account selected by the user and the business scenario corresponding to the Chatbot account, and displaying an interaction logic relationship diagram of a 5G message template corresponding to the business scenario in a predetermined editing interface, the 5G message processing apparatus is further configured to:
[0133] obtaining a target message template selected by the user.
[0134] display component information of the interactive component in the target message template at a second preset position of the editing interface, and perform an editing operation on the interactive component based on the component information.
[0135] Optionally, the component information includes a text label, a value, and a type, and the 5G message processing apparatus is further configured to:
[0136] if a text label editing instruction is received for the text label, perform an editing operation on the text label according to the text label editing instruction;
[0137] if a value editing instruction is received for the value, perform an editing operation on the value according to the value editing instruction;
[0138] if a type editing instruction is received for the type, perform an editing operation on the type according to the type editing instruction.
[0139] Optionally, the node material includes an interactive component group and a link, and the execution module is further configured to:
[0140] receive a template material selected by a user, and replace the target message template that has been set with the selected template material;
[0141] receive an interactive component group and / or a link selected by a user, and replace the interactive component group and / or the link in the card message template with the selected interactive component group and / or link.
[0142] Optionally, after the step of performing an editing operation on the 5G message template based on the displayed template material and / or node material, the 5G message processing apparatus is further configured to:
[0143] after detecting a delivery instruction of the 5G message template, deliver the edited 5G message template to a 5G message platform.
[0144] The 5G message processing apparatus provided in the present application adopts the 5G message processing method in the above embodiments, and solves the technical problem of low editing and processing efficiency of the 5G message template. Compared with the prior art, the 5G message processing apparatus provided in the present application has the same beneficial effects as the 5G message processing method provided in the above embodiments, and other technical features in the 5G message processing apparatus are the same as the features disclosed in the above embodiments, which will not be repeated here.
[0145] Embodiment Four
[0146] An electronic device provided by an embodiment of the present application includes at least one processor and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of processing a 5G message according to an embodiment described above.
[0147] Reference will now be made to Figure 3 , which shows a structural diagram of an electronic device suitable for implementing embodiments of the present disclosure. The electronic device in embodiments of the present disclosure can include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet Personal Computer), a PMP (Portable Multimedia Player), a car terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. Figure 3 The electronic device shown is merely an example and should not impose any limitation on the functions and use range of embodiments of the present disclosure.
[0148] As shown in Figure 3 , the electronic device can include a processing device (e.g., a central processing unit, a graphic processing unit, etc.) that can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded into a random access memory (RAM) from a storage device. In the RAM, various programs and data required for the operation of the electronic device are also stored. The processing device, the ROM, and the RAM are connected to each other through a bus. An input / output (I / O) interface is also connected to the bus.
[0149] Generally, the following systems can be connected to the I / O interface: input devices including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, and the like; output devices including, for example, a liquid crystal display (LCD), a speaker, a vibrator, and the like; storage devices including, for example, a magnetic tape, a hard disk, and the like; and communication devices. The communication devices can allow the electronic device to communicate wirelessly or wiredly with other devices to exchange data. Although the electronic device having various systems is shown in the drawing, it should be understood that all of the systems shown are not required to be implemented or provided. More or less systems can be alternatively implemented or provided.
[0150] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer readable medium, the computer program containing program code for performing the methods illustrated by the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network by a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by a processing device, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.
[0151] The electronic device provided by the present application adopts the 5G message processing method in the above-mentioned embodiments, and solves the technical problem of low editing and processing efficiency of the 5G message template. Compared with the prior art, the electronic device provided by the embodiments of the present application has the same beneficial effects as the 5G message processing method provided by the above-mentioned embodiments, and other technical features in the electronic device are the same as the features disclosed in the above-mentioned embodiment method, which will not be repeated here.
[0152] It should be understood that parts of the present disclosure can be realized by hardware, software, firmware or a combination thereof. In the description of the above-mentioned embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0153] The above is merely specific embodiments of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
[0154] Embodiment five
[0155] The present embodiment provides a computer readable storage medium having stored thereon computer readable program instructions for performing the 5G message processing method of the above-mentioned embodiments.
[0156] The computer readable storage medium provided by the embodiments of the present application may, for example, be a U disk, but is not limited to an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, system, or device, or any combination thereof. More specific examples of the computer readable storage medium can include, but are not limited to, an electric connection with one or more conductive wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the embodiments, the computer readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer readable storage medium can be transmitted by any suitable medium, including but not limited to an electric wire, an optical cable, an RF (radio frequency), and the like, or any suitable combination thereof.
[0157] The above computer readable storage medium can be included in an electronic device, or can exist separately without being assembled into an electronic device.
[0158] The above computer readable storage medium carries one or more programs, when the one or more programs are executed by the electronic device, the electronic device receives a Chatbot account selected by a user and a business scenario corresponding to the Chatbot account in a pre-created 5G message platform, displays an interaction logic relationship diagram of a 5G message template corresponding to the business scenario in a predetermined editing interface, the interaction logic relationship diagram includes a 5G message template according to a sequence of interaction logic corresponding to the business scenario; when an editing instruction for the 5G message template is received, display the material of the 5G message template at a first predetermined position of the editing interface, the material includes template material and node material derived from a resource library; based on the displayed template material and / or node material, perform editing operation on the 5G message template.
[0159] Computer program code for carrying out operations of the present disclosure can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0160] The flow diagrams and the block diagrams in the drawings are illustrations of architectures, functionalities, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flow diagrams or block diagrams can represent a module, a segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks may
[0161] The modules involved in the embodiments of the present disclosure can be implemented in the form of software or in the form of hardware. In some cases, the name of the module does not constitute a limitation on the module itself.
[0162] The computer readable storage medium provided by the present application stores computer readable program instructions for executing the processing method of the 5G message, and solves the technical problem of low editing processing efficiency of the 5G message template. Compared with the prior art, the computer readable storage medium provided by the embodiments of the present application has the same beneficial effects as the processing method of the 5G message provided by the above embodiments, and will not be described here.
[0163] Embodiment six
[0164] The application further provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the method for processing a 5G message as described above.
[0165] The computer program product provided by the application solves the technical problem of low editing and processing efficiency of a 5G message template. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiments of the application are the same as those of the method for processing a 5G message provided by the above-mentioned embodiments, and are not described here.
[0166] The above is only a preferred embodiment of the application, and does not limit the patent scope of the application, and any equivalent structure or equivalent process transformation using the content of the specification and drawings, or direct or indirect application in other related technical fields, are also included in the patent processing scope of the application.
Claims
1. A method for processing 5G messages, characterized in that, The processing method of the 5G message includes: In a pre-created 5G message platform, a user-selected Chatbot account and a business scenario corresponding to the Chatbot account are received, and an interaction logic relationship diagram of a 5G message template corresponding to the business scenario is displayed in a predetermined editing interface, the interaction logic relationship diagram including the 5G message template in the order of interaction logic corresponding to the business scenario; When an editing instruction for the 5G message template is received, a material of the 5G message template is displayed at a first preset position of the editing interface, the material including a template material and a node material from a resource library, wherein the first preset position is a position in the editing interface that is pre-set to display the material of the 5G message template; An editing operation is performed on the 5G message template based on the displayed template material and / or node material; After the step of performing the editing operation on the 5G message template based on the displayed template material and / or node material, the method further includes: Determining whether the editing content corresponding to the editing instruction contains a preset violation field; if so, cancel the execution of the editing instruction containing the editing content; After the step of receiving the user-selected Chatbot account, the method further includes: If the business scenario corresponding to the Chatbot account does not exist in the 5G message platform, a new business scenario of the Chatbot account is created; The step of creating the new business scenario of the Chatbot account includes: Receiving a user's drag operation on the displayed template material and / or node material, and dragging the dragged template material and / or node material to the editing interface; Creating a business scenario based on the template material and / or node material of the editing interface as a new business scenario of the Chatbot account; The node material includes an interaction component, and after the step of receiving the user-selected Chatbot account and the business scenario corresponding to the Chatbot account, displaying the interaction logic relationship diagram of the 5G message template corresponding to the business scenario in the predetermined editing interface, the method further includes: Obtaining a target message template selected by the user; Displaying component information of the interaction component in the target message template at a second preset position of the editing interface, and performing an editing operation on the interaction component based on the component information, the second preset position being a position in the editing interface that is pre-set to display the component information of the interaction component; The step of obtaining the target message template selected by the user includes: Obtaining the use frequency of each 5G message template corresponding to the business scenario in the 5G message platform; Selecting a target 5G message template from each 5G message template as the 5G message template corresponding to the business scenario according to the use frequency; The processing method of the 5G message further includes: pull, by the 5G message platform, the use frequency and / or use score of each node material by the user and / or all users, and determine a user recommendation degree of each node material according to the use frequency and / or the use score; display the user recommendation degrees for the user to select a node material as the editing content of the editing operation, or select a target node material greater than or equal to a preset recommendation degree threshold value in the user recommendation degrees as the editing content of the editing operation, wherein the preset recommendation degree threshold value is a user recommendation degree critical value that is preset to determine that a user recommendation degree of a node material is high; wherein the component information includes a text label, a numerical value, and a type, and the step of performing the editing operation on the interactive component based on the component information includes: if a text label editing instruction for the text label is received, performing an editing operation on the text label according to the text label editing instruction; if a numerical value editing instruction for the numerical value is received, performing an editing operation on the numerical value according to the numerical value editing instruction; if a type editing instruction for the type is received, performing an editing operation on the type according to the type editing instruction. 2.The method of claim 1, wherein, The 5G message template includes a single-card message template and a multi-card message template. After the step of displaying, in a predetermined editing interface, an interactive logic relationship diagram of a 5G message template corresponding to a business scenario corresponding to a Chatbot account selected by the user and the business scenario corresponding to the Chatbot account, the method further includes: if the 5G message template is a single-card message template, displaying the single-card message template in the editing interface; if the 5G message template is a multi-card message template, displaying one card message template in the multi-card message template in the editing interface, and if a switching instruction is detected, displaying other card message templates in the multi-card message template according to the switching instruction. 3.The method of claim 1, wherein the 5G message is a Non-Access Stratum (NAS) message. The node material includes an interactive component group and a link. The step of performing the editing operation on the 5G message template based on the displayed template material and / or node material includes: receiving a template material selected by the user, and replacing a target message template that has been set with the selected template material; receiving an interactive component group and / or a link selected by the user, and replacing an interactive component group and / or a link in a card message template with the selected interactive component group and / or link. 4.The method of claim 1, wherein the 5G message is a Non-Access Stratum (NAS) message. After the step of performing the editing operation on the 5G message template based on the displayed template material and / or node material, the method further includes: after detecting a delivery instruction of the 5G message template, delivering the edited 5G message template to a 5G message platform.
5. An electronic device, comprising: The electronic device includes: at least one processor; and a memory connected in communication with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the 5G message processing method of any one of claims 1 to 4.
6. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a program for implementing the processing method of the 5G message, and the program is executed by the processor to implement the steps of the processing method of the 5G message as claimed in any one of claims 1 to 4.
Citation Information
Patent Citations
Interactive content generation method and device, storage medium and electronic equipment
CN113190314A
Message pushing method and device, electronic equipment and storage medium
CN114244896A