WO2023246364A1 - 聊天机器人菜单管理方法、装置、计算机设备及可读介质 - Google Patents

聊天机器人菜单管理方法、装置、计算机设备及可读介质 Download PDF

Info

Publication number
WO2023246364A1
WO2023246364A1 PCT/CN2023/093790 CN2023093790W WO2023246364A1 WO 2023246364 A1 WO2023246364 A1 WO 2023246364A1 CN 2023093790 W CN2023093790 W CN 2023093790W WO 2023246364 A1 WO2023246364 A1 WO 2023246364A1
Authority
WO
WIPO (PCT)
Prior art keywords
menu display
menu
user terminal
policy
chatbot
Prior art date
Application number
PCT/CN2023/093790
Other languages
English (en)
French (fr)
Inventor
张亚奎
刘超
刘锋
林朗
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2023246364A1 publication Critical patent/WO2023246364A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/02User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Definitions

  • the present disclosure relates to, but is not limited to, the field of communication technology.
  • a chatbot when a chatbot is presented on a terminal, a fixed menu is set at the bottom of the display interface based on the properties of the chatbot. This menu is usually presented in the form of a button, which facilitates users to use services quickly and reduces the complexity of operations. .
  • the present disclosure provides a chatbot menu management method, device, computer equipment and readable medium.
  • the present disclosure provides a chatbot menu management method for managing the chatbot menu of an application.
  • the method is applied to a chatbot menu management device and includes: generating at least two first menu display strategies for the application to be managed, each of which is
  • the first menu display strategy includes: the identification of the application, menu information and terminal information of the user terminal used to execute the first menu display strategy. Different first menu display strategies have different terminal information;
  • the message system sends the first menu display policy, so that the message system sends the first menu display policy to the corresponding user terminal, so that the user terminal executes the first target menu display policy.
  • the present disclosure also provides a chatbot menu management method for managing the chatbot menu of an application.
  • the method is applied to a messaging system and includes: receiving at least two first messages of an application to be managed sent by a chatbot menu management device.
  • Menu display strategy, each of the first menu display strategies includes: the identification of the application, menu information and terminal information of the user terminal used to execute the first menu display strategy. Different first menus The terminal information of the display strategy is different; store the mapping relationship between the identification of the application, the menu information and the terminal information; send the first menu display strategy to the user terminal for execution by the user terminal The first target menu display strategy.
  • the present disclosure also provides a chatbot menu management method for managing the chatbot menu of an application.
  • the method is applied to a user terminal and includes: receiving a first menu display policy of an application to be managed sent by a messaging system, and executing The first menu display strategy; the first menu display strategy includes: the identification of the application, menu information and terminal information of the user terminal used to execute the first menu display strategy; the first menu display strategy Sent by the chatbot menu management device to the message system, it is one of multiple first menu display strategies generated by the chatbot menu management device for the application; the first menu display strategy received by the user terminal The terminal information is different from the terminal information of other first menu display policies sent to other user terminals.
  • the present disclosure also provides a chatbot menu management device, including a generation module and a sending module.
  • the generation module is configured to generate at least two first menu display strategies for an application to be managed, each of the first menu
  • the display strategy includes: the identification of the application, menu information and terminal information of the user terminal used to execute the first menu display strategy. Different first menu display strategies have different terminal information;
  • the sending module is configured as , sending the first menu display strategy to the message system, so that the message system sends the first menu display strategy to the corresponding user terminal, so that the user terminal executes the first target menu display strategy.
  • the present disclosure also provides a message system, including a first receiving module, a first processing module and a first sending module.
  • the first receiving module is configured to receive the information of the application to be managed sent by the chatbot menu management device.
  • At least two first menu display strategies each of the first menu display strategies includes: the identification of the application, menu information and terminal information of the user terminal used to execute the first menu display strategy, and the different first menu display strategies
  • the terminal information of a menu display policy is different;
  • the first processing module is configured to store the mapping relationship between the identification of the application, the menu information and the terminal information;
  • the first sending module is configured to: The user terminal sends the first menu display strategy so that the user terminal executes the first target menu display strategy.
  • the present disclosure also provides a user terminal, including a second receiving module and a second processing module, the second receiving module is configured to receive the first menu display strategy of the application to be managed sent by the message system; the second processing module is configured to execute the first menu display strategy;
  • the first menu display strategy includes: the identification of the application, menu information and terminal information of the user terminal used to execute the first menu display strategy; the first menu display strategy is sent to the message by the chatbot menu management device
  • the system is one of multiple first menu display strategies generated by the chatbot menu management device for the application; the terminal information of the first menu display strategy received by the user terminal is different from other terminal information sent to other user terminals.
  • the first menu displays different terminal information for the policy.
  • the present disclosure also provides a computer device, including: one or more processors; a storage device having one or more programs stored thereon; when the one or more programs are executed by the one or more When the processor is executed, the one or more processors are caused to implement any chatbot menu management method as described herein.
  • the present disclosure also provides a computer-readable medium with a computer program stored thereon, wherein when the computer program is executed by a processor, it causes the processor to implement any of the chatbot menu management methods described herein. .
  • Figure 1 is a schematic diagram of the system architecture of the present disclosure
  • FIG. 2 is a schematic diagram of the chatbot menu management process provided by the present disclosure with the chatbot menu management device as the execution subject;
  • FIG. 3 is a schematic diagram of the chatbot menu management process provided by the present disclosure with the chatbot menu management device as the execution subject;
  • Figure 4 is a schematic diagram of the chatbot menu management process provided by the present disclosure with the messaging system as the execution subject;
  • Figure 5 is a schematic diagram of the chatbot menu management process provided by the present disclosure with the messaging system as the execution subject;
  • Figure 6 is a schematic diagram of the chatbot menu management process provided by the present disclosure with the messaging system as the execution subject;
  • Figure 7 is a schematic diagram of the chatbot menu management process provided by the present disclosure with the user terminal as the execution subject;
  • Figure 8 is a schematic diagram of the chatbot menu management process provided by the present disclosure with the user terminal as the execution subject;
  • Figure 9 is a schematic diagram of the chatbot menu management process provided by the present disclosure with the user terminal as the execution subject;
  • Figure 10 is a schematic diagram of the chatbot menu management process provided by the present disclosure.
  • Figure 11 is a schematic structural diagram of the chatbot menu management device provided by the present disclosure.
  • Figure 12 is a schematic structural diagram of the chatbot menu management device provided by the present disclosure.
  • Figure 13 is a schematic structural diagram of the messaging system provided by the present disclosure.
  • Figure 14 is a schematic structural diagram of a user terminal provided by the present disclosure.
  • Figure 15 is a schematic structural diagram of a user terminal provided by the present disclosure.
  • Embodiments described herein may be described with reference to plan and/or cross-sectional illustrations, with the aid of idealized schematic illustrations of the present disclosure. Accordingly, example illustrations may be modified based on manufacturing techniques and/or tolerances. Therefore, embodiments are not limited to those shown in the drawings but include modifications of configurations based on manufacturing processes. Accordingly, the regions illustrated in the figures are of a schematic nature and the shapes of the regions shown in the figures are illustrative of the specific shapes of regions of the element and are not intended to be limiting.
  • a chatbot when a chatbot is presented on a terminal, a fixed menu is set at the bottom of the display interface based on the properties of the chatbot. This menu is usually presented in the form of a button, which facilitates users to use services quickly and reduces the complexity of operations. .
  • the fixed menu of chatbot presented on the 5G messaging terminal is the same for all users, and due to the limitations of UI (User Interface, user interface), there is a limit to the number of buttons included in the fixed menu of chatbot. Generally, Fixed at 3. In this way, the development of chatbot services is limited in practical applications. Operators have many types of chatbot services for terminals, and the fixed chatbot fixed menu cannot meet the actual business needs of different end users.
  • UI User Interface, user interface
  • FIG. 1 is a schematic diagram of the system architecture of the present disclosure.
  • the system shown in Figure 1 supports the chatbot menu dynamic update function.
  • This function is functionally modified based on the existing 5G messaging system and supports chatbot's dynamic settings, updates, synchronization and other functions.
  • It is a plug-in function system that supports operational management. Based on the basic function system of RCS (Rich Communication Suite, Fusion Communications), this system adds a plug-in management server.
  • the plug-in management server controls the access and operation management of third-party plug-ins. Function.
  • the system architecture includes: a chatbot menu management device, a message management system (hereinafter referred to as the message system) and a user terminal.
  • the chatbot menu management device interacts with the message system through the message interface to realize the synchronization of the chatbot menu strategy and the setting of the chatbot menu display strategy for individual or batch end users;
  • the message system is the 5G message system, which can realize the storage and update of the chatbot menu.
  • the chatbot menu display policy to the user terminal; the user terminal can execute the chatbot menu display policy and update the chatbot menu display policy, thereby presenting the corresponding chatbot menu to the end user.
  • the chatbot menu management method is applied to the chatbot menu management device, The following steps S11 and S12 may be included.
  • step S11 at least two first menu display strategies are generated for the application to be managed.
  • Each first menu display strategy includes: the identification of the application, the menu information, and the terminal information of the user terminal used to execute the first menu display strategy. Different The first menu displays different terminal information for the policy.
  • the identification of the application is the identification of the application to be managed. Since the 5G messaging system can manage 5G messages of multiple applications at the same time, the menu display policy generated by each chatbot menu management device needs to carry the application information to be managed.
  • Menu information refers to information such as menu content and display interface for the application to be managed, which is displayed to end users.
  • the terminal information is the information of the user terminal to which the first menu display policy is applied.
  • a first menu display policy can be applied to one or more user terminals. Therefore, the terminal information of a first menu display policy can be one or more . It should be noted that different first menu display strategies are applied to different end users, and the user terminal of one end user can only execute one menu display strategy.
  • the chatbot menu management device formulates display strategies for multiple chatbot menus (i.e., first menu display strategies) according to business needs, and synchronizes the multiple first menu display strategies to the 5G messaging system to inform 5G
  • the first menu of the messaging system displays the application to which the policy belongs, the specific content of the menu, the display interface information, and the applied end user information.
  • the chatbot menu management device can set different chatbot menus for different users (or different types of users), and present chatbot menus with different interfaces and different contents for them.
  • step S12 the first menu display policy is sent to the message system, so that the message system sends the first menu display policy to the corresponding user terminal, so that the user terminal executes the first target menu display policy.
  • the chatbot menu management device can send the first menu display strategy to the 5G message system through the real-time message interface, and the 5G message system forwards the first menu display strategy to the corresponding user terminal according to the terminal information of the first menu display strategy. , thereby enabling the user terminal to execute the first target menu display strategy.
  • the chatbot menu management method provided by the embodiment of the present disclosure is used to manage the chatbot menu of the application.
  • the method is applied to the chatbot menu management device and includes: A managed application generates at least two first menu display strategies.
  • Each first menu display strategy includes: an application identifier, menu information, and terminal information of a user terminal used to execute the first menu display strategy.
  • the terminal information is different; the first menu display strategy is sent to the message system, so that the message system sends the first menu display strategy to the corresponding user terminal, so that the user terminal executes the first target menu display strategy; the chatbot menu management device can according to different According to the actual needs of end-user services, the messaging system synchronizes the end-user chatbot menu to the user terminal, and presents different chatbot menu formats and contents to different end-users, so that the operator's messaging service can be promoted in a targeted manner.
  • the menu information may include one or any combination of the following: menu hierarchy information, menu content information, number of buttons, button functions, and button order.
  • the terminal information may include the user communication number, for example, the called number of the terminal user, the ISDN (Integrated Services Digital Network, Integrated Services Digital Network) number of the terminal user.
  • the user communication number for example, the called number of the terminal user, the ISDN (Integrated Services Digital Network, Integrated Services Digital Network) number of the terminal user.
  • the chatbot menu management method after sending the first menu display policy to the messaging system (ie, step S12), the chatbot menu management method further includes the following steps S13 and S14.
  • step S13 the second menu display policy of the application is obtained, and the second menu display policy is the updated menu display policy of the first menu display policy.
  • the chatbot menu management device can dynamically adjust the chatbot menu display strategy for each end user or each type of end user according to the current business situation, such as dynamically adjusting the specific content, number of buttons, and each button of the chatbot menu. functions, etc. Different types of end users often use different business functions. You can set the frequently used business functions as the first button, and set the second button or secondary menu content in the chatbot menu in order of priority.
  • step S14 the second menu display policy is sent to the message system, so that the message system sends the second menu display policy to the corresponding user terminal, so that the user terminal updates the first menu display policy according to the second menu display policy.
  • the chatbot menu management device sends the second menu display strategy to the 5G message system through the real-time message interface, and the 5G message system displays the second menu according to the real-time message interface.
  • the terminal information of the policy forwards the second menu display policy to the corresponding user terminal, so that the user terminal can execute the second target menu display policy and implement the chatbot menu update.
  • the chatbot menu management device can dynamically update the chatbot menu displayed on different user terminals according to business needs.
  • the present disclosure also provides a chatbot menu management method for managing the chatbot menu of an application.
  • the method is applied to a messaging system, as shown in Figure 4, and includes the following steps S21 to S23.
  • step S21 receive at least two first menu display strategies of the application to be managed sent by the chatbot menu management device.
  • Each first menu display strategy includes: the identification of the application, the menu information and the user used to execute the first menu display strategy. Terminal information of the terminal. Different first menu display strategies have different terminal information.
  • the identification of the application is the identification of the application to be managed. Since the 5G messaging system can manage 5G messages of multiple applications at the same time, the menu display policy generated by each chatbot menu management device needs to carry the application information to be managed.
  • the menu information refers to the menu content, that is, the display interface and other information for the application to be managed, which is used to display to the end user.
  • the terminal information is the information of the user terminal to which the first menu display policy is applied.
  • a first menu display policy can be applied to one or more user terminals. Therefore, the terminal information of a first menu display policy can be one or more . It should be noted that different first menu display strategies are applied to different end users, and the user terminal of one end user can only execute one menu display strategy.
  • the 5G messaging system receives multiple first menu display strategies sent by the chatbot menu management device through MAAP (Message As a Platform), and obtains the application identification, menu information and terminal information carried therein
  • MAAP Message As a Platform
  • step S22 the mapping relationship between the application identification, menu information and terminal information is stored.
  • the 5G messaging system is oriented to multiple applications.
  • the 5G messaging system establishes the mapping relationship between the application's identification, menu information and terminal information. For a certain application, it records which menu information is presented to which end users and how to present the menu information. Menu information, a chatbot menu policy can be effective for a single user or a batch of users.
  • step S23 the first menu display policy is sent to the user terminal for the user terminal to execute the first target menu display policy.
  • the 5G messaging system determines the corresponding user terminal based on the terminal information in the first menu display policy, and sends the first menu display policy to the user terminal(s) so that the user terminal(s) can execute the first menu display policy.
  • Target menu display strategy determines the corresponding user terminal based on the terminal information in the first menu display policy, and sends the first menu display policy to the user terminal(s) so that the user terminal(s) can execute the first menu display policy.
  • the chatbot menu management method is used to manage the chatbot menu of the application.
  • the method is applied to the message system and includes: receiving at least two first menu display strategies of the application to be managed sent by the chatbot menu management device, Each first menu display strategy includes: an application identifier, menu information, and terminal information of a user terminal used to execute the first menu display strategy. Different first menu display strategies have different terminal information; and stores the application identifier, menu information, and terminal information.
  • the target menu display strategy and forwarding the first menu display strategy to the corresponding user terminal can realize the presentation of different chatbot menu formats and contents to different terminal users, thereby enabling targeted promotion of the operator's messaging service.
  • the user terminal regularly sends a chatbot menu update request to the 5G messaging system to request the 5G messaging system to issue an updated menu display strategy; the 5G messaging system returns the chatbot menu carrying the updated chatbot menu display strategy to the user terminal.
  • the user terminal locally executes the updated chatbot menu display policy to update the chatbot menu. If the timing time is long, the end user's chatbot menu cannot be updated in time. If the timing time is set short, the traffic and performance overhead of the user terminal and the 5G messaging system are increased.
  • the chatbot menu management method after sending the first menu display policy to the user terminal (ie, step S23), the chatbot menu management method further includes the following steps S24 to S26.
  • step S24 the second menu display policy sent by the chatbot menu management device is received.
  • the second menu display policy is an updated menu display policy of the first menu display policy.
  • the chatbot menu management device can dynamically adjust the chatbot menu display for each end user or each type of end user according to the current business situation.
  • Strategies such as dynamically adjusting the specific content of the chatbot menu, the number of buttons, the function of each button, etc. Different types of end users often use different business functions. You can set the frequently used business functions as the first button, and set the second button or secondary menu content in the chatbot menu in order of priority.
  • the 5G messaging system receives the updated menu display policy (i.e., the second menu display policy) sent by the chatbot menu management device, and obtains the application identification, menu information, and terminal information in the second menu display policy.
  • the updated menu display policy i.e., the second menu display policy
  • step S25 the mapping relationship is updated according to the second menu display policy.
  • the 5G messaging system updates the mapping relationship between the locally stored application identifier, menu information, and terminal information based on the application identifier, menu information, and terminal information in the second menu display policy.
  • step S26 a menu display policy update notification message carrying the second menu display policy is sent to the user terminal so that the user terminal can execute the second target menu display policy.
  • the 5G message system uses the 5GMC (5G Message Center, 5G Message Center) interface to send the updated menu display policy to the corresponding user through the menu display policy update notification message based on the terminal information of the updated menu display policy. Terminal, thereby enabling the user terminal to execute the updated target menu display strategy and implement chatbot menu update.
  • 5GMC 5G Message Center, 5G Message Center
  • the 5G messaging system uses the menu display policy update notification message to deliver the updated chatbot menu display policy to the user terminal to notify the user terminal to update the current chatbot menu and realize the dynamic update of the chatbot menu by the user terminal. This reduces the performance overhead of the chatbot menu update process in the current specification on user terminals and 5G messaging systems, and ensures that the end user's chatbot menu can be updated in a timely manner.
  • the chatbot menu management method further includes the following steps: Step S27: Upon receiving the update failure response message sent by the user terminal, send a menu display policy update notification message carrying the second menu display policy to the user terminal.
  • the 5G messaging system has a retry mechanism. If the user terminal fails to update the chatbot menu display policy, the 5G messaging system will resend the updated message to the user terminal. Chatbot menu display policy, so that the user terminal updates the chatbot menu display policy again to ensure that the chatbot menu is updated successfully.
  • the terminal information includes a user communication number.
  • the menu information includes one or any combination of the following: menu hierarchy information, menu content information, number of buttons, button functions, and button order.
  • the present disclosure also provides a chatbot menu management method for managing the chatbot menu of an application.
  • the method is applied to a user terminal, as shown in Figure 7, and includes the following steps S31 and S32.
  • step S31 receive the first menu display policy of the application to be managed sent by the message system.
  • the first menu display strategy includes: application identification, menu information and terminal information of the user terminal used to execute the first menu display strategy; the first menu display strategy is sent to the message system by the chatbot menu management device and is the chatbot menu management One of a plurality of first menu display strategies generated by the device for the application to be managed.
  • the terminal information of the first menu display policy received by this user terminal is different from the terminal information of other first menu display policies sent to other user terminals.
  • step S32 the first menu display strategy is executed.
  • the chatbot menu management method is used to manage the chatbot menu of the application.
  • the method is applied to the user terminal and includes: receiving the first menu display policy of the application to be managed sent by the message system, and executing the first menu display policy.
  • Menu display strategy; the first menu display strategy of different user terminals can be different.
  • the first menu display strategy is forwarded to the user terminal by the chatbot menu management device through the message system, and is executed locally by the user terminal, enabling different terminal users to present different
  • the chatbot menu format and content can be used to promote the operator's messaging service in a targeted manner.
  • the chatbot menu management method after executing the first menu display policy (ie, step S32), the chatbot menu management method further includes the following steps S33 and S34.
  • step S33 receive a menu display policy update notification message carrying a second menu display policy sent by the message system.
  • the second menu display policy is an update of the first menu display policy.
  • New menu display strategy is an update of the first menu display policy.
  • step S34 the second menu display strategy is executed.
  • the user terminal After receiving the updated menu display policy sent by the 5G messaging system, the user terminal executes the updated menu display policy locally, thereby dynamically updating the chatbot menu.
  • the chatbot menu management method further includes the following steps S35 to S37.
  • Step S35 If the execution of the second menu display strategy fails, send an update failure response message to the message system.
  • Step S36 Receive the menu display policy update notification message carrying the second menu display policy sent by the messaging system.
  • Step S37 Execute the second menu display strategy.
  • the user terminal If the user terminal fails to update the chatbot menu locally, it will send an update failure response message to the 5G messaging system to inform the chatbot menu that the update failed, thereby triggering the retry mechanism of the 5G messaging system and initiate the chatbot menu update again. Correspondingly, the user terminal Update the chatbot menu locally again.
  • the terminal information includes a user communication number.
  • the menu information includes one or any combination of the following: menu hierarchy information, menu content information, number of buttons, button functions, and button order.
  • the chatbot menu management process of the embodiment of the present disclosure will be described in detail below through illustrative examples.
  • the chatbot menu management method includes the following steps S1 to S13.
  • Step S1 The chatbot menu management device generates at least two first menu display strategies.
  • step S2 the chatbot menu management device synchronizes the first menu display policy generated in step S1 with the 5G message system, and receives the response returned by the 5G message system.
  • Step S3 The 5G messaging system stores the mapping relationship between the application identifier, menu information, and terminal information of each first menu display policy according to the application description.
  • Step S4 The 5G messaging system sends the first menu display policy to the corresponding user terminal.
  • Step S5 The user terminal executes the first menu display strategy.
  • Step S6 The chatbot menu management device adjusts the first menu display strategy according to business operation conditions and generates a second menu display strategy.
  • the second menu display strategy is the updated first menu display strategy.
  • step S7 the chatbot menu management device synchronizes the second menu display policy generated in step S6 with the 5G message system, and receives the response returned by the 5G message system.
  • Step S8 The 5G messaging system locally updates the mapping relationship between the application's identity, menu information, and terminal information according to the second menu display policy.
  • Step S9 The 5G messaging system sends a menu display strategy update notification message to the corresponding user terminal to inform the user terminal of the second menu display strategy.
  • Step S10 The user terminal executes the second menu display strategy.
  • Step S11 If the user terminal fails to execute the second menu display strategy, an update failure response message is returned to the 5G messaging system.
  • Step S12 The 5G messaging system sends the menu display policy update notification message to the user terminal again based on the retry mechanism, so as to inform the user terminal of the second menu display strategy again.
  • Step S13 The user terminal executes the second menu display strategy.
  • the chatbot menu management method of the disclosed embodiment is applied to the 5G messaging system of third-party chatbot providers and operators and user terminals. It adds a dynamic update mechanism for the Chatbot menu to the existing 5G messaging system and updates the chatbot menu used on the user terminal. Content.
  • the chatbot menu management device in the disclosed embodiment dynamically updates the chatbot menu on the user terminal according to the business needs of different end users. That is, the third-party chatbot provider can set different chatbot menus for different user groups according to their own business needs. And promptly notify the user terminal to update the chatbot menu.
  • the disclosed implementation method improves the service mechanism of the chatbot menu in the current 5G messaging specifications, and can dynamically update the chatbot menu according to business needs, thereby improving the competitiveness of the 5G messaging service and making it easier for operators to expand their services.
  • the chatbot menu management device includes a generation module 101 and a sending module.
  • the sending module 102, the generating module 101 is configured to generate at least two first menu display strategies for the application to be managed, each of the first menu display strategies includes: the identification of the application, menu information and a method for executing the first menu display strategy.
  • Terminal information of a user terminal of a menu display policy, and different first menu display policies have different terminal information.
  • the sending module 102 is configured to send the first menu display strategy to the message system, so that the message system sends the first menu display strategy to the corresponding user terminal, so that the user terminal executes the first goal. Menu display strategy.
  • the chatbot menu management device further includes an acquisition module 103, which is configured to acquire a second menu display policy of the application, where the second menu display policy is the first menu display policy.
  • the updated menu shows the policy.
  • the sending module 102 is also configured to send the second menu display policy to the message system, so that the message system can send the second menu display policy to the corresponding user terminal, so that the user terminal can send the second menu display policy to the corresponding user terminal according to the message system.
  • the second menu display strategy updates the first menu display strategy.
  • the terminal information includes a user communication number.
  • the present disclosure also provides a message system.
  • the message system includes a first receiving module 201, a first processing module 202 and a first sending module 203.
  • the first receiving module 201 is configured To receive at least two first menu display strategies for applications to be managed sent by the chatbot menu management device, each of the first menu display strategies including: an identification of the application, menu information and information for executing the first menu.
  • the terminal information of the user terminal of the display policy is different, and the terminal information of the different first menu display policies is different.
  • the first processing module 202 is configured to store the mapping relationship between the identification of the application, the menu information and the terminal information.
  • the first sending module 203 is configured to send the first menu display strategy to the user terminal so that the user terminal can execute the first target menu display strategy.
  • the first receiving module 201 is further configured to receive a second menu display policy sent by the chatbot menu management device, where the second menu display policy is the updated menu display of the first menu display policy. Strategy.
  • the first processing module 202 is also configured to update the the mapping relationship.
  • the first sending module 203 is also configured to send a menu display policy update notification message carrying the second menu display policy to the user terminal, so that the user terminal can execute the second target menu display policy.
  • the first sending module 203 is further configured to, after sending the menu display policy update notification message carrying the second menu display policy to the user terminal, after receiving the update sent by the user terminal. In the case of a failure response message, a menu display policy update notification message carrying the second menu display policy is sent to the user terminal.
  • the terminal information includes a user communication number.
  • the present disclosure also provides a user terminal.
  • the user terminal includes a second receiving module 301 and a second processing module 302.
  • the second receiving module 301 is configured to receive a message sent by the system.
  • the second processing module 302 is configured to execute the first menu display strategy.
  • the first menu display strategy includes: the identification of the application, menu information and terminal information of the user terminal used to execute the first menu display strategy; the first menu display strategy is sent to the message by the chatbot menu management device
  • the system is one of multiple first menu display strategies generated by the chatbot menu management device for the application; the terminal information of the first menu display strategy received by the user terminal is different from other terminal information sent to other user terminals.
  • the first menu displays different terminal information for the policy.
  • the second receiving module 301 is further configured to, after the second processing module 302 executes the first menu display policy, receive a menu display policy update notification message carrying the second menu display policy sent by the message system.
  • the second menu display strategy is the updated menu display strategy of the first menu display strategy.
  • the second processing module 302 is also configured to execute the second menu display strategy.
  • the user terminal further includes a second sending module 303.
  • the second sending module 303 is configured to, after the second processing module 302 executes the second menu display policy, execute the If the second menu display policy fails, an update failure response message is sent to the message system.
  • the second receiving module 301 is also configured to receive a menu display policy update notification message carrying a second menu display policy sent by the message system.
  • the second processing module 302 is also configured to execute the second menu display strategy.
  • the terminal information includes a user communication number.
  • the present disclosure also provides a computer device.
  • the computer device includes: one or more processors and a storage device; wherein one or more programs are stored on the storage device. When the one or more programs are used by the one or more programs, When executed by multiple processors, the above one or more processors are caused to implement the chatbot menu management method as provided in the foregoing embodiments.
  • the present disclosure also provides a computer-readable medium on which a computer program is stored.
  • the computer program When executed by a processor, the computer program causes the processor to implement the chatbot menu management method as provided in the foregoing embodiments.
  • Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
  • computer storage media includes volatile and nonvolatile media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. removable, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disk (DVD) or other optical disk storage, magnetic cassettes, tapes, disk storage or other magnetic storage devices, or may Any other medium used to store the desired information and that can be accessed by a computer.
  • communication media typically embodies computer readable instructions, data structures, program modules, or devices such as carrier waves or other Other data in a modulated data signal such as other transport mechanisms and may include any information delivery medium.
  • Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a general illustrative sense only and not for purpose of limitation. In some instances, it will be apparent to those skilled in the art that features, characteristics and/or elements described in connection with a particular embodiment may be used alone, or may be used in combination with other embodiments, unless expressly stated otherwise. Features and/or components are used in combination. Accordingly, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the scope of the invention as set forth in the appended claims.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本公开提供一种聊天机器人菜单管理方法,用于管理应用的聊天机器人菜单,所述方法应用于聊天机器人菜单管理装置,包括:为待管理的应用生成至少两个第一菜单显示策略,各第一菜单显示策略包括:应用的标识、菜单信息和用于执行第一菜单显示策略的用户终端的终端信息,不同的第一菜单显示策略的终端信息不同;向消息系统发送第一菜单显示策略,以供消息系统将第一菜单显示策略发送给相应的用户终端,以便用户终端执行第一目标菜单显示策略。本公开还提供一种聊天机器人菜单管理装置、消息系统、用户终端、计算机设备和可读介质。

Description

聊天机器人菜单管理方法、装置、计算机设备及可读介质
相关申请的交叉引用
本申请要求2022年6月24日提交给中国专利局的第202210730463.8号专利申请的优先权,其全部内容通过引用合并于此。
技术领域
本公开涉及但不限于通信技术领域。
背景技术
当前5G消息的国际规范中,聊天机器人(chatbot)在终端呈现时,在显示界面底部根据chatbot的属性设置固定菜单,该菜单通常呈现为按钮形式,便于用户快捷的使用业务,减少操作的复杂度。
发明内容
本公开提供一种chatbot菜单管理方法、装置、计算机设备及可读介质。
第一方面,本公开提供一种chatbot菜单管理方法,用于管理应用的chatbot菜单,所述方法应用于chatbot菜单管理装置,包括:为待管理的应用生成至少两个第一菜单显示策略,各所述第一菜单显示策略包括:所述应用的标识、菜单信息和用于执行所述第一菜单显示策略的用户终端的终端信息,不同的所述第一菜单显示策略的终端信息不同;向消息系统发送所述第一菜单显示策略,以供所述消息系统将所述第一菜单显示策略发送给相应的用户终端,以便所述用户终端执行所述第一目标菜单显示策略。
又一方面,本公开还提供一种chatbot菜单管理方法,用于管理应用的chatbot菜单,所述方法应用于消息系统,包括:接收chatbot菜单管理装置发送的待管理的应用的至少两个第一菜单显示策略,各所述第一菜单显示策略包括:所述应用的标识、菜单信息和用于执行所述第一菜单显示策略的用户终端的终端信息,不同的所述第一菜单 显示策略的终端信息不同;存储所述应用的标识、所述菜单信息和所述终端信息之间的映射关系;向所述用户终端发送所述第一菜单显示策略,以供所述用户终端执行所述第一目标菜单显示策略。
又一方面,本公开还提供一种chatbot菜单管理方法,用于管理应用的chatbot菜单,所述方法应用于用户终端,包括:接收消息系统发送的待管理的应用的第一菜单显示策略,执行所述第一菜单显示策略;所述第一菜单显示策略包括:所述应用的标识、菜单信息和用于执行所述第一菜单显示策略的用户终端的终端信息;所述第一菜单显示策略由chatbot菜单管理装置发送给所述消息系统,是所述chatbot菜单管理装置为所述应用生成的多个第一菜单显示策略中的一个;本用户终端接收到的所述第一菜单显示策略的终端信息与发送给其他用户终端的其他第一菜单显示策略的终端信息不同。
又一方面,本公开还提供一种chatbot菜单管理装置,包括生成模块和发送模块,所述生成模块配置为,为待管理的应用生成至少两个第一菜单显示策略,各所述第一菜单显示策略包括:所述应用的标识、菜单信息和用于执行所述第一菜单显示策略的用户终端的终端信息,不同的所述第一菜单显示策略的终端信息不同;所述发送模块配置为,向消息系统发送所述第一菜单显示策略,以供所述消息系统将所述第一菜单显示策略发送给相应的用户终端,以便所述用户终端执行所述第一目标菜单显示策略。
又一方面,本公开还提供一种消息系统,包括第一接收模块、第一处理模块和第一发送模块,所述第一接收模块配置为,接收chatbot菜单管理装置发送的待管理的应用的至少两个第一菜单显示策略,各所述第一菜单显示策略包括:所述应用的标识、菜单信息和用于执行所述第一菜单显示策略的用户终端的终端信息,不同的所述第一菜单显示策略的终端信息不同;所述第一处理模块配置为,存储所述应用的标识、所述菜单信息和所述终端信息之间的映射关系;所述第一发送模块配置为,向所述用户终端发送所述第一菜单显示策略,以供所述用户终端执行所述第一目标菜单显示策略。
又一方面,本公开还提供一种用户终端,包括第二接收模块和 第二处理模块,所述第二接收模块配置为,接收消息系统发送的待管理的应用的第一菜单显示策略;所述第二处理模块配置为,执行所述第一菜单显示策略;所述第一菜单显示策略包括:所述应用的标识、菜单信息和用于执行所述第一菜单显示策略的用户终端的终端信息;所述第一菜单显示策略由chatbot菜单管理装置发送给所述消息系统,是所述chatbot菜单管理装置为所述应用生成的多个第一菜单显示策略中的一个;本用户终端接收到的所述第一菜单显示策略的终端信息与发送给其他用户终端的其他第一菜单显示策略的终端信息不同。
又一方面,本公开还提供一种计算机设备,包括:一个或多个处理器;存储装置,其上存储有一个或多个程序;当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如本文所述的任一chatbot菜单管理方法。
又一方面,本公开还提供一种计算机可读介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时,使得所述处理器实现本文所述的任一chatbot菜单管理方法。
附图说明
图1为本公开的系统架构示意图;
图2为本公开提供的以chatbot菜单管理装置为执行主体的chatbot菜单管理流程示意图;
图3为本公开提供的以chatbot菜单管理装置为执行主体的chatbot菜单管理流程示意图;
图4为本公开提供的以消息系统为执行主体的chatbot菜单管理流程示意图;
图5为本公开提供的以消息系统为执行主体的chatbot菜单管理流程示意图;
图6为本公开提供的以消息系统为执行主体的chatbot菜单管理流程示意图;
图7为本公开提供的以用户终端为执行主体的chatbot菜单管理流程示意图;
图8为本公开提供的以用户终端为执行主体的chatbot菜单管理流程示意图;
图9为本公开提供的以用户终端为执行主体的chatbot菜单管理流程示意图;
图10为本公开提供的chatbot菜单管理流程示意图;
图11为本公开提供的chatbot菜单管理装置的结构示意图;
图12为本公开提供的chatbot菜单管理装置的结构示意图;
图13为本公开提供的消息系统的结构示意图;
图14为本公开提供的用户终端的结构示意图;
图15为本公开提供的用户终端的结构示意图。
具体实施方式
在下文中将参考附图更充分地描述示例实施方式,但是所述示例实施方式可以以不同形式来体现且不应当被解释为限于本文阐述的实施方式。反之,提供这些实施方式的目的在于使本公开透彻和完整,并将使本领域技术人员充分理解本公开的范围。
如本文所使用的,术语“和/或”包括一个或多个相关列举条目的任何和所有组合。
本文所使用的术语仅用于描述特定实施方式,且不意欲限制本公开。如本文所使用的,单数形式“一个”和“该”也意欲包括复数形式,除非上下文另外清楚指出。还将理解的是,当本说明书中使用术语“包括”和/或“由……制成”时,指定存在所述特征、整体、步骤、操作、元件和/或组件,但不排除存在或添加一个或多个其他特征、整体、步骤、操作、元件、组件和/或其群组。
本文所述实施方式可借助本公开的理想示意图而参考平面图和/或截面图进行描述。因此,可根据制造技术和/或容限来修改示例图示。因此,实施方式不限于附图中所示的实施方式,而是包括基于制造工艺而形成的配置的修改。因此,附图中例示的区具有示意性属性,并且图中所示区的形状例示了元件的区的具体形状,但并不旨在是限制性的。
除非另外限定,否则本文所用的所有术语(包括技术和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如那些在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本公开的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本文明确如此限定。
当前5G消息的国际规范中,聊天机器人(chatbot)在终端呈现时,在显示界面底部根据chatbot的属性设置固定菜单,该菜单通常呈现为按钮形式,便于用户快捷的使用业务,减少操作的复杂度。
但是在当前规范中,针对所有用户,在5G消息终端上呈现的chatbot的固定菜单均相同,且由于UI(User Interface,用户界面)的限制,对于chatbot固定菜单中包含的按钮数量有限定,一般固定为3个。这样,在实际应用中限定了chatbot业务的发展,运营商对终端的chatbot业务类型较多,固定不变的chatbot固定菜单无法满足不同终端用户的业务实际需要。
本公开提供一种chatbot菜单管理方法,所述方法用于管理应用的chatbot菜单。图1为本公开的系统架构示意图,图1所示的系统支持chatbot菜单动态更新功能,该功能在现有的5G消息系统基础上做功能改造,支持chatobt的动态设置、更新、同步等功能,是支持可运营管理的插件功能系统,该系统在RCS(Rich Communication Suite,融合通信)基础功能系统基础上,增加了插件管理服务端,插件管理服务端控制第三方插件的接入和运营管理等功能。
如图1所示,所述系统架构包括:chatbot菜单管理装置、消息管理系统(以下简称为消息系统)和用户终端。chatbot菜单管理装置通过消息接口和消息系统交互,实现chatbot菜单策略的同步、单个或批量终端用户的chatbot菜单显示策略的设定;消息系统即为5G消息系统,能够实现对chatbot菜单的存储和更新,并将chatbot菜单显示策略下发给用户终端;用户终端能够执行chatbot菜单显示策略以及更新chatbot菜单显示策略,从而为终端用户呈现相应的chatbot菜单。
如图2所示,chatbot菜单管理方法应用于chatbot菜单管理装置, 可以包括以下步骤S11和S12。
在步骤S11,为待管理的应用生成至少两个第一菜单显示策略,各第一菜单显示策略包括:应用的标识、菜单信息和用于执行第一菜单显示策略的用户终端的终端信息,不同的第一菜单显示策略的终端信息不同。
应用的标识即为待管理的应用的标识,由于5G消息系统可以同时管理多个应用的5G消息,因此,每个chatbot菜单管理装置生成的菜单显示策略中需携带待管理的应用信息。菜单信息是指针对该待管理的应用的用于向终端用户显示的菜单内容及显示界面等信息。终端信息是应用该第一菜单显示策略的用户终端的信息,一个第一菜单显示策略可以应用于一个或多个用户终端上,因此,一个第一菜单显示策略的终端信息可以是一个或多个。需要说明的是,不同的第一菜单显示策略所应用的终端用户不同,而一个终端用户的用户终端只能执行一个菜单显示策略。
在本步骤中,chatbot菜单管理装置根据业务需要,制定多个chatbot菜单的显示策略(即第一菜单显示策略),并将该多个第一菜单显示策略同步至5G消息系统,用以告知5G消息系统该第一菜单显示策略所属的应用、菜单的具体内容和显示界面信息以及所应用的终端用户信息。chatbot菜单管理装置可以针对不同用户(或不同类型的用户)设定不同的chatbot菜单,为其呈现不同界面、不同内容的chatbot菜单。
在步骤S12,向消息系统发送第一菜单显示策略,以供消息系统将第一菜单显示策略发送给相应的用户终端,以便用户终端执行第一目标菜单显示策略。
在本步骤中,chatbot菜单管理装置可以通过实时消息接口,向5G消息系统发送第一菜单显示策略,5G消息系统根据该第一菜单显示策略的终端信息向相应用户终端转发该第一菜单显示策略,从而使该用户终端能够执行该第一目标菜单显示策略。
本公开实施方式提供的chatbot菜单管理方法,用于管理应用的chatbot菜单,所述方法应用于chatbot菜单管理装置,包括:为待管 理的应用生成至少两个第一菜单显示策略,各第一菜单显示策略包括:应用的标识、菜单信息和用于执行第一菜单显示策略的用户终端的终端信息,不同的第一菜单显示策略的终端信息不同;向消息系统发送第一菜单显示策略,以供消息系统将第一菜单显示策略发送给相应的用户终端,以便用户终端执行第一目标菜单显示策略;chatbot菜单管理装置能够根据不同终端用户业务的实际需要,通过消息系统向用户终端同步其终端用户的chatbot菜单,为不同的终端用户呈现不同的chatbot菜单格式及内容,从而可以有针对性地推广运营商的消息业务。
在一些实施方式中,菜单信息可以包括以下之一或任意组合:菜单分级信息、菜单内容信息、按钮数量、按钮功能、按钮顺序。
在一些实施方式中,终端信息可以包括用户通信号码,例如,终端用户的被叫号码、终端用户的ISDN(Integrated Services Digital Network,综合业务数字网)号码。
在一些实施方式中,如图3所示,在向消息系统发送第一菜单显示策略(即步骤S12)之后,所述chatbot菜单管理方法还包括以下步骤S13和S14。
在步骤S13,获取应用的第二菜单显示策略,第二菜单显示策略为第一菜单显示策略更新后的菜单显示策略。
在业务运行时,chatbot菜单管理装置可以根据当前的业务情况,针对每个终端用户或每个类型的终端用户动态调整chatbot菜单显示策略,例如动态调整chatbot菜单的具体内容、按钮数量、每个按钮的功能等。不同类型的终端用户经常使用的业务功能不同,可以将经常使用的业务功能设置为第一个位置的按钮,并按照优先级依次排序设置第二个按钮或chatbot菜单中的二级菜单内容。
在步骤S14,向消息系统发送第二菜单显示策略,以供消息系统将第二菜单显示策略发送给相应的用户终端,以便用户终端根据第二菜单显示策略更新第一菜单显示策略。
在本步骤中,chatbot菜单管理装置通过实时消息接口,向5G消息系统发送第二菜单显示策略,5G消息系统根据该第二菜单显示 策略的终端信息向相应的用户终端转发该第二菜单显示策略,从而使该用户终端能够执行该第二目标菜单显示策略,实现chatbot菜单更新。chatbot菜单管理装置可以根据业务需要动态更新不同用户终端上显示的chatbot菜单。
本公开还提供一种chatbot菜单管理方法,用于管理应用的chatbot菜单,所述方法应用于消息系统,如图4所示,包括以下步骤S21至S23。
在步骤S21,接收chatbot菜单管理装置发送的待管理的应用的至少两个第一菜单显示策略,各第一菜单显示策略包括:应用的标识、菜单信息和用于执行第一菜单显示策略的用户终端的终端信息,不同的第一菜单显示策略的终端信息不同。
应用的标识即为待管理的应用的标识,由于5G消息系统可以同时管理多个应用的5G消息,因此,每个chatbot菜单管理装置生成的菜单显示策略中需携带待管理的应用信息。菜单信息是指针对该待管理的应用的用于向终端用户显示的菜单内容即显示界面等信息。终端信息是应用该第一菜单显示策略的用户终端的信息,一个第一菜单显示策略可以应用于一个或多个用户终端上,因此,一个第一菜单显示策略的终端信息可以是一个或多个。需要说明的是,不同的第一菜单显示策略所应用的终端用户不同,而一个终端用户的用户终端只能执行一个菜单显示策略。
在本步骤中,5G消息系统通过MAAP(Message As a Platform,消息即平台)接收chatbot菜单管理装置发送的多个第一菜单显示策略,获取其中携带的应用的标识、菜单信息和终端信息
在步骤S22,存储应用的标识、菜单信息和终端信息之间的映射关系。
5G消息系统面向多个应用,在本步骤中,5G消息系统建立应用的标识、菜单信息和终端信息之间的映射关系,针对某一应用,记录为哪些终端用户呈哪些菜单信息、如何呈现该菜单信息,一个chatbot菜单策略可以针对单个用户或者批量用户生效。
在步骤S23,向用户终端发送第一菜单显示策略,以供用户终端执行第一目标菜单显示策略。
在本步骤中,5G消息系统根据第一菜单显示策略中的终端信息确定对应的用户终端,并向这个(些)用户终端发送第一菜单显示策略,以供这个(些)用户终端执行第一目标菜单显示策略。
本公开实施方式提供的chatbot菜单管理方法,用于管理应用的chatbot菜单,所述方法应用于消息系统,包括:接收chatbot菜单管理装置发送的待管理的应用的至少两个第一菜单显示策略,各第一菜单显示策略包括:应用的标识、菜单信息和用于执行第一菜单显示策略的用户终端的终端信息,不同的第一菜单显示策略的终端信息不同;存储应用的标识、菜单信息和终端信息之间的映射关系;向用户终端发送第一菜单显示策略,以供用户终端执行第一目标菜单显示策略;消息系统接收chatbot菜单管理装置发送的为不同的用户终端配置的不同的第一目标菜单显示策略,并向相应的用户终端转发第一菜单显示策略,能够实现为不同的终端用户呈现不同的chatbot菜单格式及内容,从而可以有针对性地推广运营商的消息业务。
在相关技术中,用户终端定时向5G消息系统发送chatbot菜单更新请求,以请求5G消息系统下发更新后的菜单显示策略;5G消息系统向用户终端返回携带更新后的chatbot菜单显示策略的chatbot菜单更新响应,用户终端在本地执行该更新后的chatbot菜单显示策略,以更新chatbot菜单。如果该定时时间较长,则终端用户的chatbot菜单无法及时更新,如果该定时时间设置较短,则增加了用户终端和5G消息系统的流量及性能开销。
为了解决上述问题,在本公开一些实施方式中,如图5所示,在向用户终端发送第一菜单显示策略(即步骤S23)之后,所述chatbot菜单管理方法还包括以下步骤S24至S26。
在步骤S24,接收chatbot菜单管理装置发送的第二菜单显示策略,第二菜单显示策略是第一菜单显示策略更新后的菜单显示策略。
在业务运行时,chatbot菜单管理装置可以根据当前的业务情况,针对每个终端用户或每个类型的终端用户动态调整chatbot菜单显示 策略,例如动态调整chatbot菜单的具体内容、按钮数量、每个按钮的功能等。不同类型的终端用户经常使用的业务功能不同,可以将经常使用的业务功能设置为第一个位置的按钮,并按照优先级依次排序设置第二个按钮或chatbot菜单中的二级菜单内容。
在本步骤中,5G消息系统接收chatbot菜单管理装置发送的更新后的菜单显示策略(即第二菜单显示策略),获取第二菜单显示策略中的应用的标识、菜单信息和终端信息。
在步骤S25,根据第二菜单显示策略更新映射关系。
在本步骤中,5G消息系统根据第二菜单显示策略中的应用的标识、菜单信息和终端信息,更新本地存储的应用的标识、菜单信息和终端信息之间的映射关系。
在步骤S26,向用户终端发送携带有第二菜单显示策略的菜单显示策略更新通知消息,以供用户终端执行第二目标菜单显示策略。
在本步骤中,5G消息系统根据更新后的菜单显示策略的终端信息,利用5GMC(5G Message Center,5G消息中心)接口通过菜单显示策略更新通知消息将更新后的菜单显示策略发送给相应的用户终端,从而使该用户终端能够执行更新后的目标菜单显示策略,实现chatbot菜单更新。
在本公开实施方式中,5G消息系统利用菜单显示策略更新通知消息向用户终端下发更新后的chatbot菜单显示策略,以通知用户终端进行现chatbot菜单更新,实现用户终端对chatbot菜单的动态更新,从而减少当前规范中chatbot菜单更新流程对用户终端及5G消息系统的性能开销,并保证终端用户的chatbot菜单能够及时更新。
在一些实施方式中,如图6所示,所述向用户终端发送携带有第二菜单显示策略的菜单显示策略更新通知消息(即步骤S26)之后,所述chatbot菜单管理方法还包括以下步骤:步骤S27,在接收到用户终端发送的更新失败响应消息的情况下,向用户终端发送携带有第二菜单显示策略的菜单显示策略更新通知消息。
5G消息系统具备重试机制,如果用户终端对chatbot菜单显示策略更新失败,则5G消息系统重新向该用户终端发送更新后的 chatbot菜单显示策略,以便该用户终端再次更新chatbot菜单显示策略,以保证chatbot菜单更新成功。
在一些实施方式中,所述终端信息包括用户通信号码。
在一些实施方式中,所述菜单信息包括以下之一或任意组合:菜单分级信息、菜单内容信息、按钮数量、按钮功能、按钮顺序。
本公开还提供一种chatbot菜单管理方法,用于管理应用的chatbot菜单,所述方法应用于用户终端,如图7所示,包括以下步骤S31和S32。
在步骤S31,接收消息系统发送的待管理的应用的第一菜单显示策略。
第一菜单显示策略包括:应用的标识、菜单信息和用于执行第一菜单显示策略的用户终端的终端信息;第一菜单显示策略由chatbot菜单管理装置发送给所述消息系统,是chatbot菜单管理装置为待管理的应用生成的多个第一菜单显示策略中的一个。本用户终端接收到的第一菜单显示策略的终端信息与发送给其他用户终端的其他第一菜单显示策略的终端信息不同。
在步骤S32,执行第一菜单显示策略。
本公开实施方式提供的chatbot菜单管理方法,用于管理应用的chatbot菜单,所述方法应用于用户终端,包括:接收消息系统发送的待管理的应用的第一菜单显示策略,并执行该第一菜单显示策略;不同用户终端的第一菜单显示策略可以不同,第一菜单显示策略由chatbot菜单管理装置通过消息系统转发给用户终端,由用户终端在本地执行,能够实现不同的终端用户呈现不同的chatbot菜单格式及内容,从而可以有针对性地推广运营商的消息业务。
在本公开一些实施方式中,如图8所示,在执行第一菜单显示策略(即步骤S32)之后,所述chatbot菜单管理方法还包括以下步骤S33和S34。
在步骤S33,接收消息系统发送的携带有第二菜单显示策略的菜单显示策略更新通知消息,第二菜单显示策略是第一菜单显示策略更 新后的菜单显示策略。
在步骤S34,执行第二菜单显示策略。
用户终端在接收到5G消息系统发送的更新后的菜单显示策略之后,在本地执行该更新后的菜单显示策略,从而可以动态更新chatbot菜单。
在一些实施方式中,如图9所示,在执行第二菜单显示策略(即步骤S34)之后,所述chatbot菜单管理方法还包括以下步骤S35至S37。
步骤S35,在执行第二菜单显示策略失败的情况下,向消息系统发送更新失败响应消息。
步骤S36,接收消息系统发送的携带有第二菜单显示策略的菜单显示策略更新通知消息。
步骤S37,执行第二菜单显示策略。
若用户终端在本地进行chatbot菜单更新失败,则向5G消息系统发送更新失败响应消息,以告知chatbot菜单更新失败,从而触发5G消息系统的重试机制,再次发起chatbot菜单更新,相应的,用户终端在本地再次进行chatbot菜单更新。
在一些实施方式中,所述终端信息包括用户通信号码。
在一些实施方式中,所述菜单信息包括以下之一或任意组合:菜单分级信息、菜单内容信息、按钮数量、按钮功能、按钮顺序。
为清楚说明本公开的方案,以下通过示例性实例对本公开实施方式的chatbot菜单管理过程进行详细说明。如图10所示,所述chatbot菜单管理方法包括以下步骤S1至S13。
步骤S1,chatbot菜单管理装置生成至少两个第一菜单显示策略。
步骤S2,chatbot菜单管理装置向5G消息系统同步步骤S1生成的第一菜单显示策略,并接收5G消息系统返回的响应。
步骤S3,5G消息系统根据应用的表述存储每个第一菜单显示策略的应用的标识、菜单信息、终端信息之间的映射关系。
步骤S4,5G消息系统向相应的用户终端发送第一菜单显示策略。
步骤S5,用户终端执行第一菜单显示策略。
步骤S6,chatbot菜单管理装置根据业务运行情况对第一菜单显示策略进行调整,生成第二菜单显示策略,第二菜单显示策略即为更新后的第一菜单显示策略。
步骤S7,chatbot菜单管理装置向5G消息系统同步步骤S6生成的第二菜单显示策略,并接收5G消息系统返回的响应。
步骤S8,5G消息系统根据第二菜单显示策略,在本地更新应用的标识、菜单信息、终端信息之间的映射关系。
步骤S9,5G消息系统向相应的用户终端发送菜单显示策略更新通知消息,以告知该用户终端第二菜单显示策略。
步骤S10,用户终端执行第二菜单显示策略。
步骤S11,若用户终端执行第二菜单显示策略失败,向5G消息系统返回更新失败响应消息。
步骤S12,5G消息系统基于重试机制再次向用户终端发送菜单显示策略更新通知消息,以再次告知该用户终端第二菜单显示策略。
步骤S13,用户终端执行第二菜单显示策略。
本公开实施方式的chatbot菜单管理方法,应用在第三方chatbot提供商、运营商的5G消息系统以及用户终端,在现有5G消息系统上增加Chatbot菜单动态更新机制,更新用户终端上使用的chatbot菜单的内容。本公开实施方式的chatbot菜单管理装置根据不同终端用户的业务需要,动态更新用户终端上chatbot菜单,即第三方chatbot提供商可以根据自己的业务需要,针对不同的用户群设定不同的chatbot菜单,并及时通知用户终端进行chatbot菜单更新。本公开实施方式完善了当前5G消息规范中chatbot菜单的服务机制,可根据业务需要动态更新的chatbot菜单,从而提升5G消息业务的竞争力,更利于运营商扩展业务。
基于相同的技术构思,本公开还提供一种chatbot菜单管理装置,所述如图11所示,所述chatbot菜单管理装置包括生成模块101和发 送模块102,生成模块101配置为,为待管理的应用生成至少两个第一菜单显示策略,各所述第一菜单显示策略包括:所述应用的标识、菜单信息和用于执行所述第一菜单显示策略的用户终端的终端信息,不同的所述第一菜单显示策略的终端信息不同。
发送模块102配置为,向消息系统发送所述第一菜单显示策略,以供所述消息系统将所述第一菜单显示策略发送给相应的用户终端,以便所述用户终端执行所述第一目标菜单显示策略。
在一些实施方式中,如图12所示,chatbot菜单管理装置还包括获取模块103,其配置为获取所述应用的第二菜单显示策略,所述第二菜单显示策略为所述第一菜单显示策略更新后的菜单显示策略。
发送模块102还配置为,向所述消息系统发送所述第二菜单显示策略,以供所述消息系统将所述第二菜单显示策略发送给相应的用户终端,以便所述用户终端根据所述第二菜单显示策略更新所述第一菜单显示策略。
在一些实施方式中,所述终端信息包括用户通信号码。
基于相同的技术构思,本公开还提供一种消息系统,如图13所示,所述消息系统包括第一接收模块201、第一处理模块202和第一发送模块203,第一接收模块201配置为,接收chatbot菜单管理装置发送的待管理的应用的至少两个第一菜单显示策略,各所述第一菜单显示策略包括:所述应用的标识、菜单信息和用于执行所述第一菜单显示策略的用户终端的终端信息,不同的所述第一菜单显示策略的终端信息不同。
第一处理模块202配置为,存储所述应用的标识、所述菜单信息和所述终端信息之间的映射关系。
第一发送模块203配置为,向所述用户终端发送所述第一菜单显示策略,以供所述用户终端执行所述第一目标菜单显示策略。
在一些实施方式中,第一接收模块201还配置为,接收所述chatbot菜单管理装置发送的第二菜单显示策略,所述第二菜单显示策略是所述第一菜单显示策略更新后的菜单显示策略。
第一处理模块202还配置为,根据所述第二菜单显示策略更新 所述映射关系。
第一发送模块203还配置为,向所述用户终端发送携带有所述第二菜单显示策略的菜单显示策略更新通知消息,以供所述用户终端执行所述第二目标菜单显示策略。
在一些实施方式中,第一发送模块203还配置为,在向所述用户终端发送携带有所述第二菜单显示策略的菜单显示策略更新通知消息之后,在接收到所述用户终端发送的更新失败响应消息的情况下,向所述用户终端发送携带有所述第二菜单显示策略的菜单显示策略更新通知消息。
在一些实施方式中,所述终端信息包括用户通信号码。
基于相同的技术构思,本公开还提供一种用户终端,如图14所示,所述用户终端包括第二接收模块301和第二处理模块302,第二接收模块301配置为,接收消息系统发送的待管理的应用的第一菜单显示策略。
第二处理模块302配置为,执行所述第一菜单显示策略。
第一菜单显示策略包括:所述应用的标识、菜单信息和用于执行所述第一菜单显示策略的用户终端的终端信息;所述第一菜单显示策略由chatbot菜单管理装置发送给所述消息系统,是所述chatbot菜单管理装置为所述应用生成的多个第一菜单显示策略中的一个;本用户终端接收到的所述第一菜单显示策略的终端信息与发送给其他用户终端的其他第一菜单显示策略的终端信息不同。
在一些实施方式中,第二接收模块301还配置为,在第二处理模块302执行第一菜单显示策略之后,接收所述消息系统发送的携带有第二菜单显示策略的菜单显示策略更新通知消息,所述第二菜单显示策略是所述第一菜单显示策略更新后的菜单显示策略。
第二处理模块302还配置为,执行所述第二菜单显示策略。
在一些实施方式中,如图15所示,用户终端还包括第二发送模块303,第二发送模块303配置为,在第二处理模块302执行所述第二菜单显示策略之后,在执行所述第二菜单显示策略失败的情况下,向所述消息系统发送更新失败响应消息。
第二接收模块301还配置为,接收所述消息系统发送的携带有第二菜单显示策略的菜单显示策略更新通知消息。
第二处理模块302还配置为,执行所述第二菜单显示策略。
在一些实施方式中,所述终端信息包括用户通信号码。
本公开还提供了一种计算机设备,该计算机设备包括:一个或多个处理器以及存储装置;其中,存储装置上存储有一个或多个程序,当上述一个或多个程序被上述一个或多个处理器执行时,使得上述一个或多个处理器实现如前述各实施方式所提供的chatbot菜单管理方法。
本公开还提供了一种计算机可读介质,其上存储有计算机程序,其中,该计算机程序被处理器执行时,使得处理器实现如前述各实施方式所提供的chatbot菜单管理方法。
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其 他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。
本文已经公开了示例实施方式,并且虽然采用了具体术语,但它们仅用于并仅应当被解释为一般说明性含义,并且不用于限制的目的。在一些实例中,对本领域技术人员显而易见的是,除非另外明确指出,否则可单独使用与特定实施方式相结合描述的特征、特性和/或元素,或可与其他实施方式相结合描述的特征、特性和/或元件组合使用。因此,本领域技术人员将理解,在不脱离由所附的权利要求阐明的本发明的范围的情况下,可进行各种形式和细节上的改变。

Claims (16)

  1. 一种聊天机器人菜单管理方法,用于管理应用的聊天机器人菜单,所述方法应用于聊天机器人菜单管理装置,包括:
    为待管理的应用生成至少两个第一菜单显示策略,各所述第一菜单显示策略包括:所述应用的标识、菜单信息和用于执行所述第一菜单显示策略的用户终端的终端信息,不同的所述第一菜单显示策略的终端信息不同;
    向消息系统发送所述第一菜单显示策略,以供所述消息系统将所述第一菜单显示策略发送给相应的用户终端,以便所述用户终端执行所述第一目标菜单显示策略。
  2. 如权利要求1所述的方法,其中,在向消息系统发送所述第一菜单显示策略之后,所述方法还包括:
    获取所述应用的第二菜单显示策略,所述第二菜单显示策略为所述第一菜单显示策略更新后的菜单显示策略;
    向所述消息系统发送所述第二菜单显示策略,以供所述消息系统将所述第二菜单显示策略发送给相应的用户终端,以便所述用户终端根据所述第二菜单显示策略更新所述第一菜单显示策略。
  3. 如权利要求1或2所述的方法,其中,所述终端信息包括用户通信号码。
  4. 一种聊天机器人菜单管理方法,其中,用于管理应用的聊天机器人菜单,所述方法应用于消息系统,包括:
    接收聊天机器人菜单管理装置发送的待管理的应用的至少两个第一菜单显示策略,各所述第一菜单显示策略包括:所述应用的标识、菜单信息和用于执行所述第一菜单显示策略的用户终端的终端信息,不同的所述第一菜单显示策略的终端信息不同;
    存储所述应用的标识、所述菜单信息和所述终端信息之间的映 射关系;
    向所述用户终端发送所述第一菜单显示策略,以供所述用户终端执行所述第一目标菜单显示策略。
  5. 如权利要求4所述的方法,其中,在向所述用户终端发送所述第一菜单显示策略之后,所述方法还包括:
    接收所述聊天机器人菜单管理装置发送的第二菜单显示策略,所述第二菜单显示策略是所述第一菜单显示策略更新后的菜单显示策略;
    根据所述第二菜单显示策略更新所述映射关系;
    向所述用户终端发送携带有所述第二菜单显示策略的菜单显示策略更新通知消息,以供所述用户终端执行所述第二目标菜单显示策略。
  6. 如权利要求5所述的方法,其中,所述向所述用户终端发送携带有所述第二菜单显示策略的菜单显示策略更新通知消息之后,所述方法还包括:
    在接收到所述用户终端发送的更新失败响应消息的情况下,向所述用户终端发送携带有所述第二菜单显示策略的菜单显示策略更新通知消息。
  7. 如权利要求4-6任一项所述的方法,其中,所述终端信息包括用户通信号码。
  8. 一种聊天机器人菜单管理方法,其中,用于管理应用的聊天机器人菜单,所述方法应用于用户终端,包括:
    接收消息系统发送的待管理的应用的第一菜单显示策略,执行所述第一菜单显示策略;
    所述第一菜单显示策略包括:所述应用的标识、菜单信息和用于执行所述第一菜单显示策略的用户终端的终端信息;所述第一菜单 显示策略由聊天机器人菜单管理装置发送给所述消息系统,是所述聊天机器人菜单管理装置为所述应用生成的多个第一菜单显示策略中的一个;本用户终端接收到的所述第一菜单显示策略的终端信息与发送给其他用户终端的其他第一菜单显示策略的终端信息不同。
  9. 如权利要求8所述的方法,其中,在执行所述第一菜单显示策略之后,所述方法还包括:
    接收所述消息系统发送的携带有第二菜单显示策略的菜单显示策略更新通知消息,所述第二菜单显示策略是所述第一菜单显示策略更新后的菜单显示策略;
    执行所述第二菜单显示策略。
  10. 如权利要求9所述的方法,其中,在执行所述第二菜单显示策略之后,所述方法还包括:
    在执行所述第二菜单显示策略失败的情况下,向所述消息系统发送更新失败响应消息;
    接收所述消息系统发送的携带有第二菜单显示策略的菜单显示策略更新通知消息;
    执行所述第二菜单显示策略。
  11. 如权利要求8-10任一项所述的方法,其中,所述终端信息包括用户通信号码。
  12. 一种聊天机器人菜单管理装置,其中,包括生成模块和发送模块,
    所述生成模块配置为,为待管理的应用生成至少两个第一菜单显示策略,各所述第一菜单显示策略包括:所述应用的标识、菜单信息和用于执行所述第一菜单显示策略的用户终端的终端信息,不同的所述第一菜单显示策略的终端信息不同;
    所述发送模块配置为,向消息系统发送所述第一菜单显示策略, 以供所述消息系统将所述第一菜单显示策略发送给相应的用户终端,以便所述用户终端执行所述第一目标菜单显示策略。
  13. 一种消息系统,其中,包括第一接收模块、第一处理模块和第一发送模块,
    所述第一接收模块配置为,接收聊天机器人菜单管理装置发送的待管理的应用的至少两个第一菜单显示策略,各所述第一菜单显示策略包括:所述应用的标识、菜单信息和用于执行所述第一菜单显示策略的用户终端的终端信息,不同的所述第一菜单显示策略的终端信息不同;
    所述第一处理模块配置为,存储所述应用的标识、所述菜单信息和所述终端信息之间的映射关系;
    所述第一发送模块配置为,向所述用户终端发送所述第一菜单显示策略,以供所述用户终端执行所述第一目标菜单显示策略。
  14. 一种用户终端,其中,包括第二接收模块和第二处理模块,
    所述第二接收模块配置为,接收消息系统发送的待管理的应用的第一菜单显示策略;
    所述第二处理模块配置为,执行所述第一菜单显示策略;
    所述第一菜单显示策略包括:所述应用的标识、菜单信息和用于执行所述第一菜单显示策略的用户终端的终端信息;所述第一菜单显示策略由聊天机器人菜单管理装置发送给所述消息系统,是所述聊天机器人菜单管理装置为所述应用生成的多个第一菜单显示策略中的一个;本用户终端接收到的所述第一菜单显示策略的终端信息与发送给其他用户终端的其他第一菜单显示策略的终端信息不同。
  15. 一种计算机设备,包括:
    一个或多个处理器;
    存储装置,其上存储有一个或多个程序;
    当所述一个或多个程序被所述一个或多个处理器执行时,使得 所述一个或多个处理器实现如权利要求1-11任一项所述的聊天机器人菜单管理方法。
  16. 一种计算机可读介质,其上存储有计算机程序,其中,所述程序被处理器执行时,使得所述处理器实现如权利要求1-11任一项所述的聊天机器人菜单管理方法。
PCT/CN2023/093790 2022-06-24 2023-05-12 聊天机器人菜单管理方法、装置、计算机设备及可读介质 WO2023246364A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210730463.8 2022-06-24
CN202210730463.8A CN117319333A (zh) 2022-06-24 2022-06-24 chatbot菜单管理方法、装置、计算机设备及可读介质

Publications (1)

Publication Number Publication Date
WO2023246364A1 true WO2023246364A1 (zh) 2023-12-28

Family

ID=89261023

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/093790 WO2023246364A1 (zh) 2022-06-24 2023-05-12 聊天机器人菜单管理方法、装置、计算机设备及可读介质

Country Status (2)

Country Link
CN (1) CN117319333A (zh)
WO (1) WO2023246364A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107258071A (zh) * 2015-02-11 2017-10-17 连股份有限公司 在即时通讯服务中提供官方账户的丰富的菜单的方法和系统及记录介质
CN109639566A (zh) * 2018-12-14 2019-04-16 杭州安司源科技有限公司 一种开放式的即时通信聊天机器人系统
CN110709869A (zh) * 2017-06-15 2020-01-17 谷歌有限责任公司 用于在聊天对话中与嵌入式应用一起使用的建议项目
US20200112566A1 (en) * 2018-10-05 2020-04-09 Edutechnologic, Llc Systems, methods and apparatuses for integrating a service application within an existing application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107258071A (zh) * 2015-02-11 2017-10-17 连股份有限公司 在即时通讯服务中提供官方账户的丰富的菜单的方法和系统及记录介质
CN110709869A (zh) * 2017-06-15 2020-01-17 谷歌有限责任公司 用于在聊天对话中与嵌入式应用一起使用的建议项目
US20200112566A1 (en) * 2018-10-05 2020-04-09 Edutechnologic, Llc Systems, methods and apparatuses for integrating a service application within an existing application
CN109639566A (zh) * 2018-12-14 2019-04-16 杭州安司源科技有限公司 一种开放式的即时通信聊天机器人系统

Also Published As

Publication number Publication date
CN117319333A (zh) 2023-12-29

Similar Documents

Publication Publication Date Title
US10757624B2 (en) Communication method, access network device, and core network device
EP3860189B1 (en) Ue migration method, apparatus, system, and storage medium
CN107465767B (zh) 一种数据同步的方法和系统
CN110603837B (zh) 将移动无线电通信网络的网络切片实例与网络功能相关联的方法
WO2018214865A1 (zh) 消息回执的处理方法、相关装置、存储介质和处理器
WO2015188440A1 (zh) 资源订阅处理方法及装置
CN111935738B (zh) 一种用于多运营商核心网对接mec的方法及系统
US20100011070A1 (en) Method and device for notification message processing
CN112789842A (zh) 用于在电信网络中支持事件监测的订阅和报告的服务的方法以及相关网络功能
US20230074694A1 (en) Report control method and apparatus, device, medium, and computer program product
US10609533B2 (en) Method and device for trigger management of a common service entity (CSE) and a network element of bearer network
WO2017162079A1 (zh) 一种数据的同步方法和装置
US20220167217A1 (en) Devices and Methods for Supporting Handover of UE
US11956114B2 (en) Device management method, apparatus, and system, device, and storage medium
WO2021129754A1 (zh) 一种报文处理的方法、设备及存储介质
CN114554550A (zh) 5g接入网与边缘云网关的通信方法及装置
CN114625565A (zh) 数据容灾备份方法、统一数据管理udm实体和存储介质
TWI740210B (zh) 終端設備管理方法及伺服器
WO2023246364A1 (zh) 聊天机器人菜单管理方法、装置、计算机设备及可读介质
EP2421291B1 (en) Terminal for device management and method for initiating management session thereof
EP3934286B1 (en) Charging method and device
US11888678B2 (en) Configuration error information transmission method and device
CN115088281A (zh) 当应用服务器改变时的服务器发现改进
CN115349119A (zh) 用于在网络中部署网络功能(nf)集时的增强的5gc恢复的方法和装置
US20230379261A1 (en) Pfd management method, network element and computer-readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23826014

Country of ref document: EP

Kind code of ref document: A1