Session menu processing method, device and electronic equipment

CN116319644BActive Publication Date: 2026-10-09BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310286365.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-22
Publication Date
2026-10-09
Estimated Expiration
2043-03-22

AI Technical Summary

Technical Problem

但是这些会话菜单通常是固定的,是由开发人员配置好的,用户无法自主创建会话菜单

Benefits of technology

[0015] The embodiments of this disclosure provide a method and apparatus for processing a conversation menu. By having conversation members create a conversation menu in the target conversation, any conversation member can perform the corresponding execution steps through the conversation menu. This provides greater convenience for communication between conversation members, improves the flexibility of using the conversation menu, expands the functionality of the conversation, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116319644B_ABST
    Figure CN116319644B_ABST
Patent Text Reader

Abstract

The present disclosure provides a processing method, device and electronic equipment of a conversation menu, a specific embodiment of the method comprising: in response to a preset operation triggered by a first user on a user interface of a target conversation, creating a conversation menu in the target conversation; in response to a triggering operation of the second user on the created conversation menu, executing an execution step corresponding to the conversation menu; wherein the first user and the second user are both conversation members of the target conversation, and the second user and the first user are different users or the same user. This embodiment provides more convenience for communication between conversation members, improves the flexibility of conversation menu use operation, expands the function of the conversation, and improves the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and in particular to a method, apparatus, and electronic device for processing a conversation menu. Background Technology

[0002] With the continuous development of terminal and network technologies, instant messaging tools are increasingly used in people's lives and work, allowing them to communicate with friends or group members within instant messaging sessions. Currently, members in a session can handle business-related matters through the session menu. For example, some specific session menus include items for appointment registration and query results. However, these session menus are usually fixed and configured by developers; users cannot create their own session menus. Summary of the Invention

[0003] This disclosure provides a method, apparatus, and electronic device for processing conversation menus.

[0004] According to the first aspect, a method for processing a conversation menu is provided, the method comprising:

[0005] In response to a preset operation triggered by a first user on the user interface of the target session, a session menu is created in the target session;

[0006] In response to the second user's triggering operation on the created session menu, the execution steps corresponding to the session menu are executed;

[0007] Wherein, the first user and the second user are both session members of the target session, and the second user and the first user are different users or the same user.

[0008] According to a second aspect, a session menu processing apparatus is provided, the apparatus comprising:

[0009] The first creation module is used to create a session menu in the target session in response to a preset operation triggered by the first user on the user interface of the target session;

[0010] The first execution module is used to execute the execution steps corresponding to the session menu in response to the triggering operation of the second user on the created session menu;

[0011] Wherein, the first user and the second user are both session members of the target session, and the second user and the first user are different users or the same user.

[0012] According to a third aspect, a computer-readable storage medium is provided, the storage medium storing a computer program that, when executed by a processor, implements the method described in any one of the first aspects above.

[0013] According to a fourth aspect, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method described in any one of the first aspects.

[0014] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:

[0015] The embodiments of this disclosure provide a method and apparatus for processing a conversation menu. By having conversation members create a conversation menu in the target conversation, any conversation member can perform the corresponding execution steps through the conversation menu. This provides greater convenience for communication between conversation members, improves the flexibility of using the conversation menu, expands the functionality of the conversation, and enhances the user experience.

[0016] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0017] To more clearly illustrate the technical solutions of the embodiments in this specification, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This is a schematic diagram of an exemplary system architecture for applying the embodiments of this disclosure;

[0019] Figure 2 This is a flowchart illustrating a method for processing a session menu according to an exemplary embodiment of the present disclosure;

[0020] Figure 3A This disclosure is a schematic diagram illustrating a scenario of processing a conversation menu according to an exemplary embodiment;

[0021] Figure 3B This is a schematic diagram illustrating another scenario of processing a session menu according to an exemplary embodiment of the present disclosure;

[0022] Figure 3C This is a schematic diagram illustrating another scenario of processing a session menu according to an exemplary embodiment of the present disclosure;

[0023] Figure 3D This is a schematic diagram illustrating another scenario of processing a session menu according to an exemplary embodiment of the present disclosure;

[0024] Figure 4 This is a flowchart illustrating another method for processing a session menu according to an exemplary embodiment of this disclosure;

[0025] Figure 5 This is an interactive flowchart illustrating a method for processing a conversation menu according to an exemplary embodiment of the present disclosure;

[0026] Figure 6 This is a block diagram of a session menu processing apparatus according to an exemplary embodiment of the present disclosure;

[0027] Figure 7 This is a schematic block diagram of an electronic device provided in some embodiments of this disclosure;

[0028] Figure 8 This is a schematic block diagram of another electronic device provided in some embodiments of this disclosure;

[0029] Figure 9 This is a schematic diagram of a storage medium provided in some embodiments of this disclosure. Detailed Implementation

[0030] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this specification.

[0031] In the following description, when referring to the accompanying drawings, the same numbers in different drawings denote the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0032] The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The singular forms “a,” “the,” and “the” as used herein are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

[0033] It should be understood that although the terms first, second, third, etc., may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are used only to distinguish information of the same type from one another. For example, without departing from the scope of this disclosure, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."

[0034] See Figure 1 This is a schematic diagram of an exemplary system architecture for applying embodiments of this disclosure.

[0035] like Figure 1 As shown, system architecture 100 may include terminal devices 101 and 102, network 103, and server 104. It should be understood that... Figure 1 The number or type of terminal devices, networks, and servers shown are merely illustrative. Depending on implementation needs, there can be any number or type of terminal devices, networks, and servers.

[0036] Network 103 is a medium used to provide a communication link between terminal devices and servers. Network 103 may include various connection types, such as wired or wireless communication links or fiber optic cables, etc.

[0037] Terminal devices 101 and 102 can interact with the server via network 103 to receive or send requests or information. Terminal devices 101 and 102 can be various electronic devices, including but not limited to smartphones, tablets, smart wearable devices, and personal digital assistants.

[0038] Server 104 can store, analyze, and process received data, and can also send control commands or requests to terminal devices or other servers. The server can provide services in response to user service requests. It is understood that a server can provide one or more services, and the same service can be provided by multiple servers.

[0039] based on Figure 1 In the system architecture shown in this embodiment, after terminal device 101 or terminal device 102 determines that a user has triggered a preset operation on the user interface of the target session, it can send information about triggering the preset operation to server 104 via network 103. After receiving the information, server 104 can instruct the terminal devices corresponding to some or all members of the target session to output a session menu in the target session. This enables members in the target session to execute the execution steps corresponding to the created session menu. The present disclosure will now be described in detail with reference to specific embodiments.

[0040] The present disclosure will now be described in detail with reference to specific embodiments.

[0041] Figure 2 This is a flowchart illustrating a method for processing a session menu according to an exemplary embodiment. The entity executing this method can be any terminal device, platform, server, or device cluster with computing and processing capabilities. The method may include the following steps:

[0042] like Figure 2 As shown, in step 201, in response to a preset operation triggered by the first user on the user interface of the target session, a session menu is created in the target session.

[0043] In this embodiment, the target session can be a window in an instant messaging client where users transmit instant messages. The target session can be a one-on-one chat between two users or a group chat between multiple users. After logging into the instant messaging client, users can send messages to friends / group members in the target session. The first user is a member of the target session. The first user can be the administrator of the target session, a member designated by the administrator, or any ordinary member of the target session. It is understood that this embodiment does not limit the specific identity of the first user in the target session.

[0044] In step 202, in response to the second user's triggering operation on the created session menu, the execution steps corresponding to the session menu are executed.

[0045] In this embodiment, the second user is also a member of the target session. The second user and the first user can be different users or the same user. After the second user triggers the created session menu, they can execute the execution steps corresponding to the session menu. These execution steps can be steps for performing information statistics or sharing information within the session. For example, if the session menu is for team building registration, after the second user triggers the menu, a page for team building registration can be displayed, allowing the second user to input registration information. Similarly, if the session menu is for test demonstrations, after the second user triggers the menu, a page for test demonstrations can be displayed, allowing the second user to perform a test demonstration. Furthermore, if the session menu is for voting, after the second user triggers the menu, a page for voting can be displayed, allowing the second user to vote.

[0046] pass Figure 2 The method shown allows users to create menus within a session, making it easier for them to use the session menu.

[0047] In one implementation, the preset action triggered by the first user on the user interface of the target session can be an action where the first user adds a preset application associated with the session menu to the target session. For example, the preset application could be a preset chatbot, and adding the preset application to the target session could mean adding the preset chatbot as a member of the target session. Figure 3A As shown, user A can access the chatbot selection interface 303 by triggering the robot addition control 302 in the settings area 301. The chatbot selection interface 303 displays various chatbots with different functions. User A can select chatbot B, which is associated with the conversation menu, and add chatbot B as a member of the target conversation. After addition, the message "A invites chatbot B to join this group" is displayed on the conversation interface of user A's target conversation, and the message "A invites chatbot B to join this group" is also displayed on the conversation interfaces of other members of the target conversation. User A can be the administrator of the target conversation, a member designated by the administrator of the target conversation, or any ordinary member of the target conversation.

[0048] In another implementation, the preset action triggered by the first user on the user interface of the target session can also be an action triggered by the first user on a preset control associated with the session menu in the target session. For example, such as Figure 3B As shown, user a can create a session menu in the target session by triggering the menu add control 305 associated with the session menu in toolbar 304.

[0049] In some embodiments, the aforementioned preset operation may have corresponding objects, and different corresponding objects may correspond to different conversation menus. In one implementation, if the aforementioned preset operation is to add a preset chatbot as a member of a target conversation, then different corresponding objects may be different chatbots, and each chatbot may correspond to a conversation menu. For example, chatbot b may correspond to a conversation menu for team building registration, chatbot c may correspond to a conversation menu for test demonstrations, and so on.

[0050] In another implementation, if the aforementioned preset operation triggers an operation on a preset control in the target session, then different corresponding objects can be different preset controls, and each preset control can correspond to a session menu. For example, Figure 3CAs shown, user A can access the session menu selection interface 306 by triggering preset controls in the toolbar. The session menu selection interface 306 displays various controls corresponding to different session menus. User A can trigger the control m corresponding to the session menu used for team building registration, thereby creating a session menu for team building registration in the target session. Different session menus can include different menu items, and different menu items can correspond to different business functions. This disclosure does not limit the business functions corresponding to menu items.

[0051] In one embodiment of this disclosure, the conversation menu can be an input box menu, that is, the menu is located in the conversation input box, and the user switches between the conversation input box and the conversation menu using a switching control.

[0052] Creating a session menu within the target session can be achieved by displaying the menu in the session interfaces of each session member. Each session member can then trigger the corresponding steps within the menu. For example, ... Figure 3D As shown, after user A creates a conversation menu in the target conversation, each member of the target conversation can switch the message input box in the conversation interface of the target conversation to conversation menu 307 through a preset switching operation. Each member can trigger conversation menu 307, thereby entering the page 308 corresponding to the conversation menu. The page corresponding to the conversation menu can be as follows: Figure 3D As shown, it can be displayed as a conversation sidebar, or it can be displayed in a browser or as a pop-up window; there are no restrictions here.

[0053] It should be noted that if the aforementioned preset operation involves adding a preset chatbot as a member of the target session, then the chatbot can be deleted from the target session menu after any member removes it from the session. It should also be noted that each member of the target session can trigger an action on the created chatbot, causing their logged-in terminal device to execute the corresponding steps within the chatbot menu.

[0054] In some embodiments of this disclosure, Figure 2 The method may further include: after a third user adds the aforementioned preset chatbot as a member of a session other than the target session, creating a session menu in that other session. After a fourth user triggers the created session menu, executing the corresponding steps for the session menu. The third and fourth users can be members of the other session; they can be different users or the same user. The session menu created in the other session differs from the menu created in the target session.

[0055] This disclosure provides a method for processing conversation menus. By having conversation members create conversation menus within a target conversation, any conversation member can perform the corresponding steps through the conversation menu. This provides greater convenience for communication between conversation members, improves the flexibility of using the conversation menu, expands the functionality of the conversation, and enhances the user experience.

[0056] Figure 4 This is a flowchart illustrating another method for processing a session menu according to an exemplary embodiment. This embodiment describes the process of creating a session menu, including the following steps:

[0057] like Figure 4 As shown, in step 401, in response to a preset operation triggered by the first user on the user interface of the target session, configuration information of the session menu is obtained, and in step 402, a session menu is created in the target session according to the configuration information.

[0058] In this embodiment, the configuration information of the conversation menu may include, but is not limited to, the link address corresponding to the conversation menu, the display style of the conversation menu, and the permission information of the conversation menu. The link address corresponding to the conversation menu may be the address of a page corresponding to the conversation menu. This link address allows access to the corresponding function page. For example, if the menu is specifically a team building information collection menu, the link address might be the address of a team building information entry page. The configuration information of the conversation menu can be stored in a database or on the terminal device (for example, after installing or logging into an instant messaging client, the terminal device can retrieve and store the configuration information of the conversation menu from the database).

[0059] In some embodiments, a preset operation has a corresponding object, and different corresponding objects correspond to different session menus. For example, if the preset operation is to add a preset chatbot as a member of the target session, then different corresponding objects can be different chatbots, and each chatbot can correspond to a session menu. As another example, if the preset operation is to trigger an operation of a preset control in the target session, then different corresponding objects can be different preset controls, and each preset control can correspond to a session menu. Therefore, the corresponding object for the preset operation can be determined based on the preset operation, and then the configuration information of the session menu corresponding to that object can be obtained.

[0060] In some embodiments, the database stores at least one first information set (e.g., an online data table), each first information set corresponding to a corresponding object (e.g., each online data table corresponding to a chatbot), and the configuration information of the session menu is stored in the first information set. The first information set may include the correspondence between multiple sessions and multiple session menu configuration information.

[0061] In one implementation, after a user performs a preset operation, the terminal device can transmit the identifier of the corresponding object to the server-side workflow execution module. Here, the workflow execution module refers to the business module that executes the methods described in this disclosure. The workflow execution module can determine a first set of information associated with the corresponding object based on its identifier, and retrieve the session menu configuration information from this first set of information. Then, based on the session menu configuration information, the workflow execution module can create a session menu and send instruction information to clients logged in as members of the target session, causing the clients to output the session menu in the target session.

[0062] In one embodiment of this disclosure, the workflow execution module can be created and run using an integration platform. An integration platform is an application integration platform that provides a visual way to orchestrate business systems related to people, finance, and operations, helping enterprises achieve cross-domain data interoperability and reducing the complexity and cost of internal system integration.

[0063] In another implementation, after a preset operation is triggered in the user interface of any of the multiple sessions, a first information set can be determined based on the corresponding object of the preset operation, and then a session menu can be created in the session based on the session menu configuration information corresponding to the session in the first information set.

[0064] In step 403, if it is determined that the configuration information has been modified, the session menu in the target session is updated with the modified configuration information.

[0065] In this embodiment, the session menu configuration information can be modified. When the session menu configuration information is modified, the modified configuration information can be used to update the session menu in the target session. Specifically, when the session menu configuration information is modified, the database can store the modified configuration information. In one implementation, after obtaining the modified configuration information, the workflow execution module can directly update the session menu and instruct the terminal devices logged in by each member of the target session to update the session menu in the target session. In another implementation, the server can periodically obtain the session menu configuration information and compare the newly obtained session menu configuration information with the previously obtained session menu configuration information. If it is determined based on the comparison result that the session menu configuration information has been modified, the modified configuration information is used to update the session menu in the target session. Then, the terminal devices logged in by each member of the target session are instructed to update the session menu in the target session.

[0066] In some embodiments, after creating a session menu, the first user who created the session menu can configure at least one configuration item in the configuration information corresponding to the session menu through a configuration operation. Further, a user among the session members of the target session who has update permissions for the first information set can configure at least one configuration item in the configuration information corresponding to the session menu. The configuration operation can be a preset triggered operation by the user in the target session for the created session menu. The configuration items in the configuration information may include, but are not limited to, the session menu's name, the session menu's link address, the session menu's image, the session menu's permission information, and the session menu's display style.

[0067] In one implementation, when creating the session menu for the target session, a configuration record corresponding to the target session can first be added to an online data table stored in the database. This configuration record can include default values ​​for at least one configuration item in the configuration information corresponding to the session menu. After the session menu for the target session is created, the user can also update the session menu by setting any configuration item in the configuration information of the session menu through the configuration record corresponding to the target session in the online data table.

[0068] In this embodiment, after a member of the target session creates a session menu in the target session, they can update the session menu through the session menu's configuration information, thereby further improving the flexibility of using the session menu, expanding the session's functionality, and enhancing the user experience.

[0069] It should be noted that although the operations of the methods of this disclosure embodiment are described in a specific order in the above embodiments, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. On the contrary, the steps depicted in the flowcharts may be executed in a different order. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.

[0070] Figure 5 This is an interactive flowchart illustrating a method for processing a conversation menu according to an exemplary embodiment. See below for reference. Figure 5 The solution disclosed herein will be illustrated with a complete and specific application example.

[0071] like Figure 5 As shown, this embodiment involves a terminal device, a server, and a workflow execution module. The terminal device has an instant messaging client installed, the server provides services to the instant messaging client, and the workflow execution module manages the menu. The terminal device establishes a communication connection with the server, and the server establishes a communication connection with the workflow execution module.

[0072] In step 501, any member of the target session can add chatbot R as a member of the target session via a terminal device. The terminal device transmits the message to the workflow execution module via the server. Upon receiving this message, the workflow execution module can locate the online data table B associated with chatbot R based on its identifier, and retrieve the session menu configuration information from a newly created target record associated with the target session in online data table B. Then, based on the session menu configuration information, a session menu is created for the target session. Next, the workflow execution module sends target information to the terminal device via the server, instructing the output of the session menu. The terminal device can then output the session menu in the target session based on this target information.

[0073] In step 502, after creating the session menu in the target session, any member of the target session can modify the session menu's configuration information via a terminal device. The terminal device can transmit a request to modify the session menu's configuration information to the workflow execution module via the server, and the workflow execution module updates the session menu based on the request.

[0074] In step 503, after any member of the target session deletes chatbot R from the target session via a terminal device, the terminal device can transmit a message deleting chatbot R to the workflow execution module via the server. Based on the message deleting chatbot R, the workflow execution module deletes the session menu created for the target session.

[0075] Corresponding to the aforementioned embodiments of the method for processing conversation menus, this disclosure also provides embodiments of the apparatus for processing conversation menus.

[0076] like Figure 6 As shown, Figure 6 This is a block diagram of a session menu processing apparatus according to an exemplary embodiment of the present disclosure, the apparatus including: a first creation module 601 and a first execution module 602.

[0077] The first creation module 601 is used to create a session menu in the target session in response to a preset operation triggered by the first user on the user interface of the target session.

[0078] The first execution module 602 is used to execute the execution steps corresponding to the session menu in response to the trigger operation of the second user on the created session menu. Both the first user and the second user are session members of the target session; the second user and the first user may be different users or the same user.

[0079] In some implementations, the aforementioned preset operation may include: adding a preset application to the target session, the preset application being associated with the session menu; or triggering a preset control in the target session, the preset control being associated with the session menu.

[0080] In other implementations, if the above-mentioned preset operation includes adding a preset application to the target session, and the preset application is a preset chatbot, adding the preset application to the target session includes adding the preset chatbot as a member of the target session.

[0081] In other embodiments, the device may also include a deletion module (not shown in the figure).

[0082] The delete module is used to delete the conversation menu in the target conversation in response to the operation of removing the preset chatbot from the target conversation.

[0083] In other embodiments, the aforementioned preset operation has a corresponding object, and different corresponding objects correspond to different session menus. When the aforementioned preset operation corresponds to a first object, the first creation module 601 creates a first session menu in the target session corresponding to the first object. When the aforementioned preset operation corresponds to a second object, the first creation module 601 creates a second session menu in the target session corresponding to the second object.

[0084] In other embodiments, the first creation module 601 is configured to: obtain configuration information of the session menu, and create a session menu in the target session based on the configuration information.

[0085] In other embodiments, the device may also include an update module (not shown in the figure).

[0086] The update module is used to update the session menu in the target session with the modified configuration information when it is determined that the configuration information has been modified.

[0087] In other implementations, the configuration information is stored in an online data table, which is associated with the corresponding object of the preset operation.

[0088] In other embodiments, the device may further include a setting module (not shown in the figure).

[0089] The settings module is used to respond to the configuration operation of the first user and set at least one configuration item in the configuration information corresponding to the session menu.

[0090] In other implementations, the settings module is configured to set at least one configuration item in the configuration information corresponding to the session menu by means of the configuration record corresponding to the target session in a pre-created online data table.

[0091] In other implementations, the configuration operation of the first user is an operation triggered by the first user in the target session for the created session menu.

[0092] In other embodiments, the apparatus may further include a second creation module and a second execution module (not shown in the figure).

[0093] The second creation module is used to create a session menu in other sessions in response to a third user adding a preset chatbot as a member of another session, where the other session is a session other than the target session.

[0094] The second execution module is used to respond to the fourth user's trigger operation on the created session menu and execute the execution steps corresponding to the session menu. Here, both the third and fourth users are session members of other sessions; the third and fourth users may be different users or the same user. The session menu created in other sessions differs from the menu created in the target session.

[0095] In other embodiments, the aforementioned preset operation has a corresponding object, which is associated with a first information set. The first information set includes the correspondence between multiple sessions and multiple session menu configuration information. The device may further include a third creation module (not shown in the figure). This third creation module is configured to, in response to triggering the aforementioned preset operation in the user interface of any of the multiple sessions, determine the first information set based on the corresponding object of the preset operation, and create a session menu in the session based on the session menu configuration information corresponding to that session in the first information set.

[0096] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of the embodiments of this disclosure according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0097] Figure 7 This is a schematic block diagram of an electronic device provided for some embodiments of this disclosure. For example... Figure 7 As shown, the electronic device 910 includes a processor 911 and a memory 912, and can be used to implement a client or server. The memory 912 stores computer-executable instructions (e.g., one or more computer program modules) non-transitoryly. The processor 911 executes the computer-executable instructions, which, when run by the processor 911, can perform one or more steps of the session menu processing method described above, thereby implementing the session menu processing method described above. The memory 912 and the processor 911 can be interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0098] For example, processor 911 can be a central processing unit (CPU), a graphics processing unit (GPU), or other form of processing unit with data processing and / or program execution capabilities. For example, the central processing unit (CPU) can be an x86 or ARM architecture. Processor 911 can be a general-purpose processor or a special-purpose processor, and can control other components in electronic device 910 to perform desired functions.

[0099] For example, memory 912 may include any combination of one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, erasable programmable read-only memory (EPROM), portable compact disc read-only memory (CD-ROM), USB memory, flash memory, etc. One or more computer program modules may be stored on the computer-readable storage medium, and processor 911 may run one or more computer program modules to implement various functions of electronic device 910. Various application programs and various data, as well as various data used and / or generated by the application programs, may also be stored in the computer-readable storage medium.

[0100] It should be noted that, in the embodiments of this disclosure, the specific functions and technical effects of the electronic device 910 can be referred to the description of the session menu processing method above, and will not be repeated here.

[0101] Figure 8 This is a schematic block diagram of another electronic device provided in some embodiments of the present disclosure. The electronic device 920 is, for example, suitable for implementing the session menu processing method provided in the embodiments of the present disclosure. The electronic device 920 can be a terminal device, etc., and can be used to implement a client or server. The electronic device 920 can include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), wearable electronic devices, etc., as well as fixed terminals such as digital TVs, desktop computers, smart home devices, etc. It should be noted that... Figure 8 The illustrated electronic device 920 is merely an example and does not impose any limitation on the functionality and scope of use of the embodiments of this disclosure.

[0102] like Figure 8 As shown, the electronic device 920 may include a processing unit (e.g., a central processing unit, a graphics processor, etc.) 921, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 922 or a program loaded from a storage device 928 into a random access memory (RAM) 923. The RAM 923 also stores various programs and data required for the operation of the electronic device 920. The processing unit 921, ROM 922, and RAM 923 are interconnected via a bus 924. An input / output (I / O) interface 925 is also connected to the bus 924.

[0103] Typically, the following devices can be connected to I / O interface 925: input devices 926 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 927 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 928 including, for example, magnetic tapes, hard disks, etc.; and communication devices 929. Communication device 929 allows electronic device 920 to communicate wirelessly or wiredly with other electronic devices to exchange data. Although Figure 8 An electronic device 920 with various devices is shown, but it should be understood that it is not required to implement or have all of the devices shown, and the electronic device 920 may alternatively implement or have more or fewer devices.

[0104] For example, according to embodiments of this disclosure, the above-described session menu processing method can be implemented as a computer software program. For instance, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program including program code for performing the above-described session menu processing method. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 929, or installed from a storage device 928, or installed from a ROM 922. When the computer program is executed by the processing device 921, the functions defined in the session menu processing method provided by embodiments of this disclosure can be implemented.

[0105] Figure 9 This is a schematic diagram of a storage medium provided for some embodiments of this disclosure. For example, such as... Figure 9 As shown, the storage medium 930 can be a non-transitory computer-readable storage medium for storing non-transitory computer-executable instructions 931. When the non-transitory computer-executable instructions 931 are executed by the processor, the session menu processing method described in the embodiments of this disclosure can be implemented. For example, when the non-transitory computer-executable instructions 931 are executed by the processor, one or more steps in the session menu processing method described above can be performed.

[0106] For example, the storage medium 930 can be used in the aforementioned electronic device, such as the storage medium 930 may include the memory in the electronic device.

[0107] For example, the storage medium may include a memory card for a smartphone, a storage component for a tablet computer, a hard disk for a personal computer, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), portable compact disc read-only memory (CD-ROM), flash memory, or any combination of the above storage media, or other suitable storage media.

[0108] For example, the description of storage medium 930 can be found in the description of memory in the embodiments of the electronic device, and will not be repeated here. The specific functions and technical effects of storage medium 930 can be found in the description of the session menu processing method above, and will not be repeated here.

[0109] It should be noted that, in the context of this disclosure, a computer-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to, an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, capable of transmitting, propagating, or transmitting a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0110] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.

[0111] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A method for processing a conversation menu, the method comprising: In response to a preset operation triggered by a first user on the user interface of a target session, a session menu is created in the target session; wherein the preset operation includes: adding a preset chatbot as a member of the target session; the preset chatbot is associated with the session menu; In response to the second user's triggering operation on the created session menu, the execution steps corresponding to the session menu are executed; Wherein, the first user and the second user are both session members of the target session, and the second user and the first user are different users or the same user; Creating a session menu in the target session includes: Obtain the configuration information of the session menu; wherein, the configuration information is stored in an online data table, and the online data table is associated with the corresponding object of the preset operation; Based on the configuration information, a session menu is created in the target session.

2. The method according to claim 1, wherein, After creating the session menu, the method also includes: In response to the operation of removing the preset chatbot from the target session, the session menu is deleted from the target session.

3. The method according to claim 1, wherein, The preset operations have corresponding objects, and different corresponding objects correspond to different conversation menus. When the preset operation corresponds to a first object, a first session menu corresponding to the first object is created in the target session; When the preset operation corresponds to the second object, a second session menu corresponding to the second object is created in the target session.

4. The method according to claim 1, wherein, The method further includes: When it is determined that the configuration information has been modified, the session menu in the target session is updated with the modified configuration information.

5. The method according to claim 1, wherein, After creating the session menu, the following is also included: In response to the configuration operation of the first user, at least one configuration item in the configuration information corresponding to the session menu is set.

6. The method according to claim 5, wherein, Setting at least one configuration item corresponding to the session menu includes setting at least one configuration item in the configuration information corresponding to the session menu through the configuration record corresponding to the target session in a pre-created online data table.

7. The method according to claim 5, wherein, The configuration operation of the first user is the operation triggered by the first user in the target session for the created session menu.

8. The method according to claim 1, wherein, The method also includes: In response to a third user adding the preset chatbot as a member of another session, a session menu is created in the other session, which is a session other than the target session; In response to the fourth user's triggering operation on the created session menu, the execution steps corresponding to the session menu are executed; wherein, the third user and the fourth user are both session members of the other session, and the third user and the fourth user are different users or the same user; The session menu created in the other session is different from the menu created in the target session.

9. The method according to claim 1, wherein, The preset operation has a corresponding object, and the corresponding object is associated with the first information set; The first information set includes the correspondence between multiple sessions and multiple session menu configuration information; The method further includes: responding to triggering the preset operation in the user interface of any of the plurality of sessions, determining the first information set according to the corresponding object of the preset operation, and creating a session menu in the session according to the session menu configuration information corresponding to the session in the first information set.

10. A processing apparatus for a conversation menu, the apparatus comprising: A first creation module is configured to create a session menu in the target session in response to a preset operation triggered by a first user on the user interface of the target session; wherein the preset operation includes: adding a preset chatbot as a member of the target session; the preset chatbot is associated with the session menu; The first execution module is used to execute the execution steps corresponding to the session menu in response to the triggering operation of the second user on the created session menu; Wherein, the first user and the second user are both session members of the target session, and the second user and the first user are different users or the same user; Creating a session menu in the target session includes: Obtain the configuration information of the session menu; wherein, the configuration information is stored in an online data table, and the online data table is associated with the corresponding object of the preset operation; Based on the configuration information, a session menu is created in the target session.

11. A computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to perform the method of any one of claims 1-9.

12. An electronic device comprising a memory and a processor, wherein the memory stores executable code, and the processor, when executing the executable code, implements the method of any one of claims 1-9.

Citation Information

Patent Citations

  • Client function calling method and device, storage medium and electronic equipment

    CN112416474A

  • Operation method and device based on virtual robot, and equipment and storage medium

    CN113204302A