Session menu processing method and apparatus, and electronic device

By creating a customized conversation menu in the instant messaging tool, the problem of fixed menu restrictions is solved, the operational flexibility and communication convenience of conversation members are improved, and the user experience is improved.

WO2024193581A1PCT designated stage expired Publication Date: 2024-09-26BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/082712
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-22
Filing Date
2024-03-20
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

The conversation menu in existing instant messaging tools is fixed and users cannot create it independently, which limits the communication and operational flexibility between conversation members.

Method used

Create and manage custom session menus by triggering preset actions on the target session's user interface, allowing session members to perform the corresponding execution steps as needed, such as adding a chatbot or triggering specific menu items.

Benefits of technology

The usage flexibility and function expansion of the session menu are improved, and the user experience is enhanced, making it easier for session members to communicate and operate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024082712_26092024_PF_FP
    Figure CN2024082712_26092024_PF_FP
Patent Text Reader

Abstract

Provided by the present disclosure are a session menu processing method and apparatus, and an electronic device. One specific embodiment of the method comprises: in response to a preset operation triggered by a first user on a user interface of a target session, creating a session menu in the target session; and in response to a trigger operation by a second user on the created session menu, executing an execution step corresponding to the session menu. Both the first user and the second user are session members of the target session, and the second user and the first user are different users or the same user. According to the embodiment, greater convenience is provided for communication among the session members, the flexibility of use operation of the session menu is also improved, the functions of a session are expanded, and user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Conversation menu processing method, device and electronic device

[0001] This application claims priority to the Chinese invention patent application entitled “Conversational Menu Processing Method, Device and Electronic Device” filed on March 22, 2023, with application number 202310286365.4, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present disclosure relates to the field of computer technology, and in particular to a method, device, and electronic device for processing a conversation menu. Background Art

[0003] With the continuous development of terminal and network technologies, instant messaging tools are increasingly used in people's lives and work. People can communicate with friends or group members in instant messaging conversations. Currently, members of a conversation can use conversation menus to handle business-related tasks. For example, the conversation menus in some specific conversations include menu items for booking appointments and querying results. However, these conversation menus are usually fixed and configured by developers, and users cannot create their own conversation menus.

[0004] Summary of the Invention

[0005] The present disclosure provides a method, device, and electronic device for processing a conversation menu.

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

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

[0008] In response to a triggering operation of the created conversation menu by the second user, executing execution steps corresponding to the conversation menu;

[0009] 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.

[0010] According to a second aspect, a device for processing a conversation menu is provided, the device comprising:

[0011] a first creating module, configured to create a session menu in the target session in response to a preset operation triggered by a first user on a user interface of the target session;

[0012] a first execution module, configured to execute execution steps corresponding to the conversation menu in response to a triggering operation of the second user on the created conversation menu;

[0013] 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.

[0014] According to a third aspect, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of the above-mentioned first aspects is implemented.

[0015] According to a fourth aspect, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any one of the methods described in the first aspect when executing the program.

[0016] The technical solutions provided by the embodiments of the present disclosure may have the following beneficial effects:

[0017] Embodiments of the present disclosure provide a method and apparatus for processing a session menu. Session members of a target session create a session menu in the target session, enabling any session member to perform corresponding execution steps of the session menu through the session menu. This facilitates communication between session members, improves the flexibility of using the session menu, expands session functionality, and enhances user experience.

[0018] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0020] FIG1 is a schematic diagram of an exemplary system architecture for applying an embodiment of the present disclosure;

[0021] FIG2 is a flowchart of a method for processing a conversation menu according to an exemplary embodiment of the present disclosure;

[0022] FIG3A is a schematic diagram showing a scenario of processing a conversation menu according to an exemplary embodiment of the present disclosure;

[0023] FIG3B is a schematic diagram of another scenario of processing a conversation menu according to an exemplary embodiment of the present disclosure;

[0024] FIG3C is a schematic diagram showing another scenario of processing a conversation menu according to an exemplary embodiment of the present disclosure;

[0025] FIG3D is a schematic diagram showing another scenario of processing a conversation menu according to an exemplary embodiment of the present disclosure;

[0026] FIG4 is a flowchart of another method for processing a conversation menu according to an exemplary embodiment of the present disclosure;

[0027] FIG5 is an interactive flow chart of a method for processing a conversation menu according to an exemplary embodiment of the present disclosure;

[0028] FIG6 is a block diagram of a device for processing a conversation menu according to an exemplary embodiment of the present disclosure;

[0029] FIG7 is a schematic block diagram of an electronic device provided by some embodiments of the present disclosure;

[0030] FIG8 is a schematic block diagram of another electronic device provided by some embodiments of the present disclosure;

[0031] FIG9 is a schematic diagram of a storage medium provided by some embodiments of the present disclosure. DETAILED DESCRIPTION

[0032] To help those skilled in the art better understand the technical solutions in this specification, the following will provide a clear and complete description of the technical solutions in the embodiments of this specification, in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. All other embodiments derived by those skilled in the art based on the embodiments in this specification without creative effort shall fall within the scope of protection of this specification.

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

[0034] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms "a," "the," and "the" used in this disclosure 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 or all possible combinations of one or more of the associated listed items.

[0035] 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 only used to distinguish information of the same type from each other. 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 "at the time of" or "when" or "in response to determining."

[0036] See FIG1 , which is a schematic diagram of an exemplary system architecture applying an embodiment of the present disclosure.

[0037] As shown in FIG1 , system architecture 100 may include terminal devices 101 and 102, a network 103, and a server 104. It should be understood that the number or types of terminal devices, networks, and servers in FIG1 are merely illustrative. Any number or type of terminal devices, networks, and servers may be used as needed.

[0038] The network 103 is used to provide a medium for communication links between terminal devices and servers. The network 103 can include various connection types, such as wired or wireless communication links or optical fiber cables.

[0039] The terminal devices 101 and 102 can interact with the server via the network 103 to receive or send requests or information, etc. The terminal devices 101 and 102 can be various electronic devices, including but not limited to smart phones, tablet computers, smart wearable devices, and personal digital assistants, etc.

[0040] The server 104 can store, analyze, and process the 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.

[0041] Based on the system architecture shown in Figure 1, in an embodiment of the present disclosure, after determining that a user has triggered a preset operation on the user interface of a target session, terminal device 101 or terminal device 102 can send information triggering the preset operation to server 104 via network 103. Upon receiving this 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 allows members of the target session to execute the execution steps corresponding to the session menu based on the created session menu. The present disclosure will be described in detail below in conjunction with specific embodiments.

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

[0043] Figure 2 is a flowchart of a method for processing a conversation menu according to an exemplary embodiment. The method can be implemented as any terminal device, platform, server, or device cluster with computing and processing capabilities. The method may include the following steps:

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

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

[0046] In step 202, in response to a triggering operation of the second user on the created conversation menu, execution steps corresponding to the conversation menu are executed.

[0047] In this embodiment, the second user is also a session member of the target session. The second user and the first user may be different users or the same user. After the second user triggers the created session menu, the execution steps corresponding to the session menu may be executed. The execution steps corresponding to the session menu may be steps for performing information statistics or sharing within the session. For example, if the session menu is for team building registration, after the second user triggers the session menu, a page for team building registration may be displayed, and the second user may enter the team building registration information on this page. For another example, if the session menu is for performing a test demonstration, after the second user triggers the session menu, a page for performing a test demonstration may be displayed, and the second user may perform the test demonstration on this page. For another example, if the session menu is for voting, after the second user triggers the session menu, a page for voting may be displayed, and the second user may vote on this page.

[0048] Through the method shown in FIG. 2 , users can independently create menus in a session, which facilitates the use of session menus by users.

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

[0050] In another implementation, the preset operation triggered by the first user on the user interface of the target session may also be an operation by the first user triggering a preset control associated with the session menu in the target session. For example, as shown in FIG3B , user a may create a session menu in the target session by triggering the menu add control 305 associated with the session menu in the toolbar 304.

[0051] In some embodiments, the preset operations described above may have corresponding objects, and different corresponding objects may correspond to different conversation menus. In one implementation, if the preset operation is to add a preset chatbot as a member of the target conversation, the different corresponding objects may be different chatbots, each of which may correspond to a different 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.

[0052] In another implementation, if the preset operation triggers a preset control in the target session, different corresponding objects can be different preset controls, and each preset control can correspond to a session menu. For example, as shown in Figure 3C, user A can trigger a preset control in the toolbar to enter session menu selection interface 306. Session menu selection interface 306 displays multiple controls corresponding to different session menus. User A can trigger control m corresponding to the session menu 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. The present disclosure does not limit the business functions corresponding to menu items.

[0053] In one embodiment of the present disclosure, the conversation menu may 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 by switching controls.

[0054] Creating a session menu in the target session can involve displaying the session menu in the session interface of each session member of the target session. Each session member can trigger the session menu to perform the steps corresponding to the session menu. For example, as shown in Figure 3D , after user A creates the session menu in the target session, each session member of the target session can switch the message input box in the session interface of the target session to the session menu 307 through a preset switching operation. Each session member can trigger the session menu 307 to enter the page 308 corresponding to the session menu. The page corresponding to the session menu can be displayed as a session sidebar, as shown in Figure 3D , or it can be displayed in a browser, or it can be displayed as a pop-up window, without limitation.

[0055] It should be noted that if the preset operation is to add a preset chatbot as a member of the target session, then after any member of the target session removes the preset chatbot from the target session, the session menu can be deleted from the target session. It should be noted that each member of the target session can trigger the created session menu to cause their logged-in terminal device to execute the execution steps corresponding to the session menu.

[0056] In some embodiments of the present disclosure, the method shown in FIG. 2 may further include: after a third user adds the preset chatbot as a member of a session other than the target session, creating a session menu in the other session. After a fourth user triggers the created session menu, executing the steps corresponding to the session menu. The third and fourth users may be session members of the other session, and the third and fourth users may be different users or the same user. The session menu created in the other session is different from the menu created in the target session.

[0057] The present disclosure provides a method for processing a session menu, in which session members of a target session create a session menu in the target session, so that any session member can perform the execution steps corresponding to the session menu through the session menu, thereby providing more convenience for communication between session members, improving the flexibility of using the session menu, expanding the functionality of the session, and enhancing the user experience.

[0058] FIG4 is a flowchart of another method for processing a conversation menu according to an exemplary embodiment. This embodiment describes a process of creating a conversation menu, including the following steps:

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

[0060] In this embodiment, the configuration information of the conversation menu may include, for example, but is not limited to, the link address corresponding to the conversation menu, the display style corresponding to the conversation menu, and the permission information corresponding to the conversation menu. The link address corresponding to the conversation menu may be the address of a page that links to the conversation menu, and the function page corresponding to the conversation menu may be opened through the link address corresponding to the conversation menu. For example, if the menu is a team-building information collection menu, the link address may be the address of a page for adding team-building information. The configuration information of the conversation menu may be stored in a database or in a terminal device (for example, after installing or logging into an instant messaging client, the terminal device may obtain and store the configuration information of the conversation menu from the database).

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

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

[0063] In one implementation, after a user performs a preset operation, the terminal device may transmit the identifier of the corresponding object corresponding to the preset operation to a workflow execution module on the server side. The workflow execution module herein refers to the business module that executes the method disclosed herein. Based on the identifier of the corresponding object, the workflow execution module may determine a first information set associated with the corresponding object and obtain configuration information for a session menu from the first information set. The workflow execution module may then create a session menu based on the session menu configuration information and send an instruction to the client logged in by a member of the target session, causing the client to display the session menu in the target session.

[0064] In one embodiment of the present disclosure, the workflow execution module can be created and run using an integration platform. The integration platform is an application integration platform that provides a visual way to orchestrate processes across business systems such as personnel, finance, and operations. This platform can help enterprises achieve global data interoperability and reduce the complexity and cost of internal system integration.

[0065] In another implementation, after a preset operation is triggered in the user interface of any one of 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.

[0066] 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.

[0067] In this embodiment, the configuration information of the session menu is allowed to be modified. When the session menu configuration information is modified, the session menu in the target session can be updated with the modified configuration information. 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 last obtained session menu configuration information. If, based on the comparison results, it is determined that the session menu configuration information has been modified, the session menu in the target session is updated with the modified configuration information. The terminal devices logged in by each member of the target session are then instructed to update the session menu in the target session.

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

[0069] In one implementation, when creating a session menu for a target session, a configuration record corresponding to the target session can be added to an online data table stored in a database. This configuration record can include a default value for at least one configuration item in the configuration information corresponding to the session menu. After creating the session menu for the target session, the user can update the session menu by setting any configuration item in the session menu's configuration information using the configuration record corresponding to the target session in the online data table.

[0070] In this embodiment, after the session members of the target session create a session menu in the target session, they can also update the session menu through the configuration information of the session menu, thereby further improving the flexibility of using the session menu, expanding the functionality of the session, and enhancing the user experience.

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

[0072] FIG5 is an interactive flow chart of a method for processing a conversation menu according to an exemplary embodiment. Referring to FIG5 , the solution of the present disclosure will be schematically described below in combination with a complete and specific application example.

[0073] As shown in Figure 5, this embodiment involves a terminal device, a server, and a workflow execution module. The terminal device is installed with an instant messaging client, the server is used to provide services for the instant messaging client, and the workflow execution module is used to manage menus. The terminal device establishes a communication connection with the server, and the server establishes a communication connection with the workflow execution module.

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

[0075] In step 502, after the session menu is created in the target session, any member of the target session can modify the configuration information of the session menu through a terminal device. The terminal device can transmit a request to modify the configuration information of the session menu to the workflow execution module via the server. The workflow execution module updates the session menu based on the request to modify the configuration information of the session menu.

[0076] In step 503, when any member of the target conversation deletes chatbot R from the target conversation via a terminal device, the terminal device may 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 conversation menu created for the target conversation.

[0077] Corresponding to the aforementioned embodiment of the method for processing a conversation menu, the present disclosure also provides an embodiment of an apparatus for processing a conversation menu.

[0078] As shown in FIG6 , FIG6 is a block diagram of a device for processing a conversation menu according to an exemplary embodiment of the present disclosure. The device may include: a first creating module 601 and a first executing module 602 .

[0079] The first creating module 601 is configured 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.

[0080] The first execution module 602 is configured to execute the execution steps corresponding to the session menu in response to a trigger 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.

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

[0082] In other implementations, if the 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.

[0083] In other implementations, the device may further include: a deletion module (not shown in the figure).

[0084] The deletion module is configured to delete the session menu in the target session in response to an operation of removing the preset chat robot from the target session.

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

[0086] In some other implementations, the first creation module 601 is configured to: obtain configuration information of the session menu, and create the session menu in the target session according to the configuration information.

[0087] In other implementations, the device may further include: an update module (not shown in the figure).

[0088] The updating 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.

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

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

[0091] The setting module is configured to set at least one configuration item in the configuration information corresponding to the conversation menu in response to a configuration operation of the first user.

[0092] In other embodiments, the setting module is configured to set at least one configuration item in the configuration information corresponding to the session menu by using a configuration record corresponding to the target session in a pre-created online data table.

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

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

[0095] The second creation module is configured to create a session menu in the other session in response to a third user adding the preset chat robot as a member of the other session, where the other session is a session other than the target session.

[0096] The second execution module is configured to execute execution steps corresponding to the session menu in response to a triggering operation by a fourth user on the created session menu. The third user and the fourth user are both session members of another session, and the third user and the fourth user may be different users or the same user. The session menu created in the other session is different from the menu created in the target session.

[0097] In other embodiments, the preset operation has a corresponding object associated with a first information set, wherein the first information set includes a correspondence between multiple sessions and multiple session menu configuration information. The apparatus may further include a third creation module (not shown). The third creation module is configured to, in response to triggering the 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 the session in the first information set.

[0098] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to the partial description of the method embodiments. The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiment scheme of the present disclosure. A person of ordinary skill in the art can understand and implement it without paying any creative work.

[0099] Figure 7 is a schematic block diagram of an electronic device provided in some embodiments of the present disclosure. As shown in Figure 7, the electronic device 910 includes a processor 911 and a memory 912, which can be used to implement a client or server. The memory 912 is used to non-transiently store computer-executable instructions (e.g., one or more computer program modules). The processor 911 is used to run the computer-executable instructions. When the computer-executable instructions are run by the processor 911, one or more steps in the method for processing the session menu described above can be executed, thereby implementing the method for processing the session menu 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).

[0100] For example, the processor 911 may be a central processing unit (CPU), a graphics processing unit (GPU), or other processing units with data processing capabilities and / or program execution capabilities. For example, the central processing unit (CPU) may be an X86 or ARM architecture. The processor 911 may be a general-purpose processor or a dedicated processor, and may control other components in the electronic device 910 to perform desired functions.

[0101] For example, the 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), a hard disk, an erasable programmable read-only memory (EPROM), a portable compact disk read-only memory (CD-ROM), a USB memory, a flash memory, etc. One or more computer program modules may be stored on the computer-readable storage medium, and the processor 911 may execute one or more computer program modules to implement various functions of the electronic device 910. Various applications and various data, as well as various data used and / or generated by the applications, may also be stored in the computer-readable storage medium.

[0102] It should be noted that, in the embodiment of the present disclosure, the specific functions and technical effects of the electronic device 910 can be referred to the above description of the method for processing the conversation menu, which will not be repeated here.

[0103] Figure 8 is a schematic block diagram of another electronic device provided by some embodiments of the present disclosure. The electronic device 920 is suitable for implementing the method for processing the conversation menu provided by the embodiments of the present disclosure, for example. The electronic device 920 can be a terminal device, etc., and can be used to implement a client or a 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), vehicle-mounted terminals (such as vehicle-mounted 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 the electronic device 920 shown in Figure 8 is only an example and does not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.

[0104] As shown in FIG8 , the electronic device 920 may include a processing device (e.g., a central processing unit, a graphics processing unit, 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. Various programs and data required for the operation of the electronic device 920 are also stored in the RAM 923. The processing device 921, the ROM 922, and the RAM 923 are connected to each other via a bus 924. An input / output (I / O) interface 925 is also connected to the bus 924.

[0105] Typically, the following devices may be connected to the I / O interface 925: an input device 926 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 927 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 928 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 929. The communication device 929 may allow the electronic device 920 to communicate with other electronic devices wirelessly or by wire to exchange data. Although FIG8 shows the electronic device 920 with various devices, 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.

[0106] For example, according to an embodiment of the present disclosure, the method for processing the above-mentioned conversation menu can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes program code for executing the method for processing the above-mentioned conversation menu. In such an embodiment, the computer program can be downloaded and installed from the network via the communication device 929, or installed from the storage device 928, or installed from the ROM 922. When the computer program is executed by the processing device 921, the functions defined in the method for processing the conversation menu provided in the embodiment of the present disclosure can be implemented.

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

[0108] For example, the storage medium 930 may be applied to the above-mentioned electronic device. For example, the storage medium 930 may include a memory in the electronic device.

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

[0110] For example, the description of the storage medium 930 can refer to the description of the memory in the embodiment of the electronic device, and the repeated parts are not repeated. The specific functions and technical effects of the storage medium 930 can refer to the description of the processing method of the conversation menu above, and are not repeated here.

[0111] It should be noted that in the context of the present disclosure, a computer-readable medium may 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 may be a computer-readable signal medium or a computer-readable storage medium or any combination thereof. A computer-readable storage medium may 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 computer-readable storage media may include, but are not limited to, an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that may be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction 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 cables, RF (radio frequency), etc., or any suitable combination thereof.

[0112] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the claims.

[0113] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present 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 the first user on a user interface of a target session, creating a session menu in the target session; In response to a triggering operation of the second user on the created session menu, executing execution steps corresponding to the session menu; 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.

2. The method according to claim 1, wherein: The preset operation includes: adding a preset application to the target session, the preset application being associated with the session menu; or, A preset control in the target session is triggered, where the preset control is associated with the session menu.

3. The method according to claim 2, wherein: If the preset operation includes adding a preset application to the target session, The preset application is a preset chatbot; Adding the preset application to the target session includes: adding the preset chat robot as a member of the target session.

4. The method according to claim 3, wherein: After creating the session menu, the method further includes: In response to an operation of removing the preset chat robot from the target session, the session menu is deleted in the target session.

5. The method according to claim 1, wherein: The preset operation has a corresponding object, and different corresponding objects correspond to different session menus. When the preset operation corresponds to a first object, creating a first session menu corresponding to the first object in the target session; When the preset operation corresponds to a second object, a second session menu corresponding to the second object is created in the target session.

6. The method according to claim 1, wherein: Creating a session menu in the target session includes: Obtaining configuration information of the session menu; A session menu is created in the target session according to the configuration information.

7. The method according to claim 6, wherein: The method further comprises: 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.

8. The method according to claim 6, wherein: The configuration information is stored in an online data table, and the online data table is associated with a corresponding object of the preset operation.

9. The method according to claim 6, wherein: After creating the session menu, also include: 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.

10. The method according to claim 9, wherein: The setting of 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 a configuration record corresponding to the target session in a pre-created online data table.

11. The method according to claim 9, wherein: The configuration operation of the first user is an operation triggered by the first user on the created session menu in the target session.

12. The method according to claim 3, wherein: The method further includes: In response to a third user adding the preset chat robot as a member of another session, creating a session menu in the other session, the other session being a session other than the target session; In response to a trigger operation of the fourth user on the created session menu, executing the execution steps corresponding to the session menu; 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.

13. 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 a correspondence between a plurality of sessions and a plurality of session menu configuration information; The method further includes: in response to triggering the preset operation in the user interface of any one of the multiple 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.

14. A device for processing a conversation menu, the device comprising: A first creation module, configured to create a session menu in the target session in response to a preset operation triggered by a first user on a user interface of the target session; A first execution module, configured to execute execution steps corresponding to the session menu in response to a trigger operation of the second user on the created session menu; 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.

15. A computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to execute the method according to any one of claims 1 to 13.

16. An electronic device comprising a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the method according to any one of claims 1 to 13 is implemented.

Citation Information

Patent Citations

  • Message processing method and device, terminal and storage medium

    CN112732386A

  • Control adding method and device, equipment and storage medium

    CN113190307A

  • Session menu processing method and device and electronic equipment

    CN116319644A

  • Information processing method and electronic device

    WO2021147784A1