Session window generation method and device, electronic equipment and storage medium
By obtaining the association information of the second contact, the electronic device automatically determines and generates a conversation window that includes the third contact, which solves the problem of complex and inefficient addition of conversation windows in the prior art, and improves user communication efficiency and device intelligence.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2020-02-13
- Publication Date
- 2026-05-19
AI Technical Summary
In existing technologies, when users communicate through electronic devices, the process of establishing a session window is complex and inefficient, requiring manual searching and adding of group members.
When an electronic device receives a session request, it automatically determines and generates a target session window that includes a third contact by obtaining the association information of the second contact, thus simplifying the process of adding a session window.
It improves communication efficiency between users, enhances the intelligence of electronic devices, and simplifies the convenience and efficiency of adding associated contacts in the chat window.
Smart Images

Figure CN113254117B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of Internet technology, specifically to the field of communication technology, and particularly to a method for generating a session window, a device for generating a session window, an electronic device, and a computer storage medium. Background Technology
[0002] With the advancement of electronic technology, electronic devices are becoming smaller and smaller, leading to a wider range of applications for them. Applications on these devices are also increasingly feature-rich, with communication being a common function. Currently, when users engage in conversations using these applications, they need to manually search for and add group members to the conversation window, making the process complex and inefficient. Summary of the Invention
[0003] This invention provides a method, apparatus, electronic device, and computer storage medium for generating a conversation window. When a first electronic device receives a conversation request from a first contact to a second contact, it determines a third contact based on the conversation request and / or the association information of the second contact, and generates a target conversation window including the third contact. This method conveniently and efficiently adds the associated contacts of the second contact, improves the efficiency of communication between users, and enhances the intelligence of the electronic device.
[0004] On one hand, embodiments of the present invention provide a method for generating a session window, applied to a first electronic device, the method for generating a session window comprising:
[0005] Receive a session request sent by the second electronic device from the first contact to the second contact;
[0006] Obtain the association information of the second contact;
[0007] A third contact is determined based on the session request and / or the associated information;
[0008] Generate a target session window, which includes the third contact.
[0009] On the other hand, embodiments of the present invention provide a method for updating a session window, applied to a first electronic device, the method for updating the session window including:
[0010] Receive a session request for a second contact, the session request being used to request that the second contact be added to the target session window;
[0011] Obtain the association information of the second contact;
[0012] A third contact is determined based on the session request and / or the associated information;
[0013] Update the target session window to include the third contact.
[0014] In another aspect, embodiments of the present invention provide a method for generating a session window, characterized in that it is applied to a second electronic device, and the method for generating the session window includes:
[0015] Generate a session request for the second contact based on the user's settings.
[0016] Send the session request to the first electronic device;
[0017] Receive data from the target session window sent by the first electronic device;
[0018] The target session window is displayed on the screen based on the data in the target session window. The target session window includes a third contact, which is an associated contact of the second contact.
[0019] In another aspect, embodiments of the present invention provide a method for setting associated contacts, applied to a third electronic device, the method for setting associated contacts including:
[0020] When the third electronic device displays the first display interface, it receives selection information for relationship setting options, wherein the first display interface includes the relationship setting options.
[0021] A second display interface is displayed on the third electronic device. The second display interface is used to add information about the associated contacts of the second contact. The second display interface includes at least one of the following options: relationship name, select user, user role.
[0022] Generate option information for each option in the second display interface based on the user's settings.
[0023] Set the status of adding associated users to enabled;
[0024] Generate the association information of the second contact person based on the option information corresponding to each option;
[0025] The associated information is sent to the first electronic device.
[0026] In another aspect, embodiments of the present invention provide a method for generating a session window, the method comprising:
[0027] Receive conversation commands for the second contact;
[0028] Display the target session window, which includes a third contact, which is an associated contact of the second contact.
[0029] In another aspect, embodiments of the present invention provide a method for updating a session window, the method comprising:
[0030] When the target conversation window is displayed, receive conversation commands for the second contact;
[0031] Update the target session window to include a third contact, which is an associated contact of the second contact.
[0032] In another aspect, embodiments of the present invention provide a session window generation apparatus, applied to a first electronic device, the session window generation apparatus comprising:
[0033] A communication unit is configured to receive a session request initiated by a first contact to a second contact from a second electronic device; and to obtain the association information of the second contact.
[0034] A processing unit is configured to determine a third contact based on the session request and / or the associated information; and to generate a target session window, wherein the target session window includes the third contact.
[0035] In another aspect, embodiments of the present invention provide a session window updating device, applied to a first electronic device, comprising:
[0036] A communication unit is configured to receive a session request for a second contact, the session request being used to request that the second contact be added to a target session window; and to obtain the associated information of the second contact.
[0037] A processing unit is configured to determine a third contact based on the session request and / or the associated information; and to update the target session window such that the target session window includes the third contact.
[0038] In another aspect, embodiments of the present invention provide a session window generation apparatus, applied to a second electronic device, comprising:
[0039] The processing unit is used to generate a session request for the second contact based on the user's settings.
[0040] The communication unit sends the session request to the first electronic device; and is used to receive data of the target session window sent by the first electronic device.
[0041] The processing unit is further configured to display the target session window on a display screen based on the data of the target session window, the target session window including a third contact, the third contact being an associated contact of the second contact.
[0042] In another aspect, embodiments of the present invention provide a device for setting associated contacts, characterized in that it is applied to a third electronic device and includes:
[0043] The processing unit is configured to receive selection information for relationship setting options when the third electronic device displays a first display interface, the first display interface including the relationship setting options; and to display a second display interface on the third electronic device, the second display interface being used to add information about associated contacts of a second contact, the second display interface including at least one of the following options: relationship name, selected user, user role; and to generate option information corresponding to each option in the second display interface based on the user's setting operation; and to set the status of adding associated persons to an enabled state; and to generate association information of the second contact based on the option information corresponding to each option;
[0044] A communication unit is used to send the associated information to a first electronic device.
[0045] In another aspect, embodiments of the present invention provide a device for generating a session window, characterized in that it includes:
[0046] A communication unit for receiving conversation instructions for a second contact;
[0047] A processing unit is configured to display a target session window, the target session window including a third contact, the third contact being an associated contact of the second contact.
[0048] In another aspect, embodiments of the present invention provide a device for updating a session window, characterized in that it includes:
[0049] A communication unit is used to receive conversation commands for a second contact when the target conversation window is displayed;
[0050] A processing unit is configured to update the target session window such that the target session window includes a third contact, the third contact being an associated contact of the second contact.
[0051] In another aspect, embodiments of the present invention provide an electronic device, the electronic device including an input device and an output device, the electronic device further including:
[0052] A processor, adapted to implement one or more instructions; and,
[0053] A computer storage medium storing one or more instructions adapted for loading by the processor and executing the following steps:
[0054] Receive a session request sent by the second electronic device from the first contact to the second contact;
[0055] Obtain the association information of the second contact;
[0056] A third contact is determined based on the session request and / or the associated information;
[0057] Generate a target session window, which includes the third contact.
[0058] In another aspect, embodiments of the present invention provide an electronic device, the electronic device including an input device and an output device, the electronic device further including:
[0059] A processor, adapted to implement one or more instructions; and,
[0060] A computer storage medium storing one or more instructions adapted for loading by the processor and executing the following steps:
[0061] Receive a session request for a second contact, the session request being used to request that the second contact be added to the target session window;
[0062] Obtain the association information of the second contact;
[0063] A third contact is determined based on the session request and / or the associated information;
[0064] Update the target session window to include the third contact.
[0065] In another aspect, embodiments of the present invention provide an electronic device, the electronic device including an input device and an output device, the electronic device further including:
[0066] A processor, adapted to implement one or more instructions; and,
[0067] A computer storage medium storing one or more instructions adapted for loading by the processor and executing the following steps:
[0068] Generate a session request for the second contact based on the user's settings.
[0069] Send the session request to the first electronic device;
[0070] Receive data from the target session window sent by the first electronic device;
[0071] The target session window is displayed on the screen based on the data in the target session window. The target session window includes a third contact, which is an associated contact of the second contact.
[0072] In another aspect, embodiments of the present invention provide another electronic device, the electronic device including an input device and an output device, the electronic device further including:
[0073] A processor, adapted to implement one or more instructions; and,
[0074] A computer storage medium storing one or more instructions adapted for loading by the processor and executing the following steps:
[0075] When the third electronic device displays the first display interface, it receives selection information for relationship setting options, wherein the first display interface includes the relationship setting options.
[0076] A second display interface is displayed on the third electronic device. The second display interface is used to add information about the associated contacts of the second contact. The second display interface includes at least one of the following options: relationship name, select user, user role.
[0077] Generate option information for each option in the second display interface based on the user's settings.
[0078] Set the status of adding associated users to enabled;
[0079] Generate the association information of the second contact person based on the option information corresponding to each option;
[0080] The associated information is sent to the first electronic device.
[0081] In another aspect, embodiments of the present invention provide an electronic device, the electronic device including an input device and an output device, the electronic device further including:
[0082] A processor, adapted to implement one or more instructions; and,
[0083] A computer storage medium storing one or more instructions adapted for loading by the processor and executing the following steps:
[0084] Receive conversation commands for the second contact;
[0085] Display the target session window, which includes a third contact, which is an associated contact of the second contact.
[0086] In another aspect, embodiments of the present invention provide an electronic device, the electronic device including an input device and an output device, the electronic device further including:
[0087] A processor, adapted to implement one or more instructions; and,
[0088] A computer storage medium storing one or more instructions adapted for loading by the processor and executing the following steps:
[0089] When the target conversation window is displayed, receive conversation commands for the second contact;
[0090] Update the target session window to include a third contact, which is an associated contact of the second contact.
[0091] In another aspect, embodiments of the present invention provide a computer storage medium storing one or more instructions, the one or more instructions being adapted to be loaded by a processor and executed as follows:
[0092] Receive a session request sent by the second electronic device from the first contact to the second contact;
[0093] Obtain the association information of the second contact;
[0094] A third contact is determined based on the session request and / or the associated information;
[0095] Generate a target session window, which includes the third contact.
[0096] In another aspect, embodiments of the present invention provide a computer storage medium storing one or more instructions, the one or more instructions being adapted to be loaded by a processor and executed as follows:
[0097] Receive a session request for a second contact, the session request being used to request that the second contact be added to the target session window;
[0098] Obtain the association information of the second contact;
[0099] A third contact is determined based on the session request and / or the associated information;
[0100] Update the target session window to include the third contact.
[0101] In another aspect, embodiments of the present invention provide a computer storage medium storing one or more instructions, the one or more instructions being adapted to be loaded by a processor and executed as follows:
[0102] Generate a session request for the second contact based on the user's settings.
[0103] Send the session request to the first electronic device;
[0104] Receive data from the target session window sent by the first electronic device;
[0105] The target session window is displayed on the screen based on the data in the target session window. The target session window includes a third contact, which is an associated contact of the second contact.
[0106] In another aspect, embodiments of the present invention provide a computer storage medium storing one or more instructions, the one or more instructions being adapted to be loaded by a processor and executed as follows:
[0107] When the third electronic device displays the first display interface, it receives selection information for relationship setting options, wherein the first display interface includes the relationship setting options.
[0108] A second display interface is displayed on the third electronic device. The second display interface is used to add information about the associated contacts of the second contact. The second display interface includes at least one of the following options: relationship name, select user, user role.
[0109] Generate option information for each option in the second display interface based on the user's settings.
[0110] Set the status of adding associated users to enabled;
[0111] Generate the association information of the second contact person based on the option information corresponding to each option;
[0112] The associated information is sent to the first electronic device.
[0113] In another aspect, embodiments of the present invention provide a computer storage medium storing one or more instructions, the one or more instructions being adapted to be loaded by a processor and executed as follows:
[0114] Receive conversation commands for the second contact;
[0115] Display the target session window, which includes a third contact, which is an associated contact of the second contact.
[0116] In another aspect, embodiments of the present invention provide a computer storage medium storing one or more instructions, the one or more instructions being adapted to be loaded by a processor and executed as follows:
[0117] When the target conversation window is displayed, receive conversation commands for the second contact;
[0118] Update the target session window to include a third contact, which is an associated contact of the second contact.
[0119] As can be seen, in this embodiment of the invention, the first electronic device first receives a session request initiated by a first contact to a second contact from a second electronic device; secondly, it obtains the association information of the second contact; thirdly, it determines a third contact based on the session request and / or the association information; and finally, it generates a target session window, which includes the third contact. Thus, in this embodiment of the invention, when the first electronic device receives a session request initiated by a first contact to a second contact, it obtains the association information of the second contact, and then determines the associated contacts of the second contact, namely the third contact, based on the association information of the second contact and / or the information in the session request; thereby establishing a session window including the third contact; this improves the convenience and efficiency of adding the associated contacts of the second contact to the session window, thereby improving the efficiency of conversations between users and enhancing the intelligence of the electronic device. Attached Figure Description
[0120] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0121] Figure 1 This is a schematic diagram of the architecture of a communication system provided in an embodiment of the present invention;
[0122] Figure 2A This is a flowchart illustrating a method for generating a session window according to an embodiment of the present invention;
[0123] Figure 2B This is a flowchart illustrating another method for generating a session window provided in an embodiment of the present invention;
[0124] Figure 2CA schematic diagram of the first interface and the second interface provided for embodiments of the present invention;
[0125] Figure 2D This is a schematic diagram illustrating the process of adding associated contacts during a conversation, as provided in an embodiment of the present invention.
[0126] Figure 2E This is a flowchart illustrating another method for generating a session window provided in an embodiment of the present invention;
[0127] Figure 3A This is a flowchart illustrating a method for generating a session window according to an embodiment of this application;
[0128] Figure 3B This is a schematic diagram illustrating the generation of a target session window according to an embodiment of the present invention;
[0129] Figure 3C This is a schematic diagram of another method for generating a target session window provided in an embodiment of the present invention;
[0130] Figure 3D This is a schematic diagram of another method for generating a target session window provided in an embodiment of the present invention;
[0131] Figure 3E This is a schematic diagram illustrating the process of determining a third contact person according to an embodiment of the present invention;
[0132] Figure 3F This is a schematic diagram illustrating another method for determining a third contact person provided in an embodiment of the present invention;
[0133] Figure 3G This is a schematic diagram of another method for generating a target session window provided in an embodiment of the present invention;
[0134] Figure 4A This is a flowchart illustrating a method for updating a session window provided in an embodiment of this application;
[0135] Figure 4B This is a schematic diagram of an update session window provided in an embodiment of the present invention;
[0136] Figure 5 This is a schematic diagram of the structure of a session window generation device provided in an embodiment of the present invention;
[0137] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0138] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0139] Please see Figure 1 , Figure 1 This is an architecture diagram of a communication system provided by an embodiment of the present invention, including electronic devices 101, 102, 103, and 104. Electronic device 101 can be a server, and it is communicatively connected to electronic devices 102, 103, and 104. Electronic devices 102, 103, and 104 can have the same communication application installed, with electronic device 101 acting as the server for the communication application. Users can then establish session windows through the communication application to achieve communication and interaction. Specifically, the user of electronic device 102 is the first contact in the communication application; the user of electronic device 103 is the second contact in the communication application; and the user of electronic device 104 is the third contact in the communication application. When the first contact wants to establish a conversation window that includes the second contact in the communication application, electronic device 102 first generates a conversation request based on the information entered by the first contact. Then, electronic device 102 sends the conversation request to electronic device 101. Electronic device 101 parses the conversation request, determines that the conversation request was initiated by the first contact to the second contact, obtains the association information of the second contact, and determines the associated contact of the second contact based on the association information: the third contact. The electronic device 101 determines whether a target session window exists based on the session request. If it does, it updates the information in the target session window to include a second and a third contact. Then, electronic device 101 sends the updated target session window information to electronic devices 102, 103, and 104. Electronic devices 102, 103, and 104 display the target session window information in their communication applications and provide real-time feedback to electronic device 101 regarding the user's input of the target session window information. This improves the efficiency of adding a second and a third contact to the target session window, enhances the convenience of establishing the target session window, and thus improves communication efficiency between users. It should be noted that the first electronic device can communicate with multiple electronic devices as needed, not limited to electronic devices 102, 103, and 104 in the above example.
[0140] In this invention, the electronic devices in the real-time examples may include various handheld devices, in-vehicle devices, wearable devices (e.g., smartwatches, smart bracelets, pedometers, etc.) with wireless communication capabilities, computing devices or other processing devices connected to a wireless modem, as well as various forms of user equipment (UE), mobile stations (MS), terminal devices, etc. For ease of description, the devices mentioned above are collectively referred to as electronic devices.
[0141] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of the embodiments of the present invention are used to distinguish different objects, rather than to describe a specific order.
[0142] Based on the above description, this embodiment of the invention proposes a method for generating a session window, which can be executed by a first electronic device. Please refer to... Figure 2A The method for generating this session window may include the following steps S201-S204:
[0143] S201, the first electronic device receives a session request sent by the second electronic device from the first contact to the second contact.
[0144] The second electronic device may have a communication application installed. When the second electronic device is running the communication application, it can communicate with other electronic devices running the communication application. The first electronic device may be a server corresponding to the communication application.
[0145] In this configuration, the user of the second electronic device corresponds to the first contact in the communication application. Before the first electronic device receives a session request initiated by the first contact to the second contact from the second electronic device, the process may further include: the second electronic device receiving information entered by the user through the communication application; the second electronic device determining the target conversation participant as the second contact based on the information entered by the user; the second electronic device generating a session request for the second contact and sending the session request to the first electronic device. The second electronic device receiving the information entered by the user through the communication application may include at least one of the following: the user clicking on a preset area on the display screen, the preset area representing the second contact, specifically, the preset area may display the name or identifier of the second contact; or the second electronic device receiving voice information entered by the user; and the electronic device determining the target conversation participant as the second contact based on the voice information.
[0146] The session request includes a second contact; it can also include relationship attributes, such as superior, subordinate, etc.; thus enabling the first electronic device to determine the associated contacts of the second contact based on the relationship attributes, and then add the second contact and the associated contacts of the second contact to the target session window.
[0147] S202, the first electronic device obtains the association information of the second contact.
[0148] The specific method by which the first electronic device obtains the association information of the second contact can be as follows: using the second contact as a query identifier, querying a preset database, obtaining the association information of the query identifier, and determining it as the association information of the second contact, wherein the preset database includes the matching relationship between contacts and association information; specifically, the first electronic device can communicate with other electronic devices that have a communication application installed; when any user uses an electronic device with a communication application installed, they can set up association contacts in the communication application, and after the setting is completed, generate the association information of the contacts corresponding to any user's current account, and then send the association information to the first electronic device, the first electronic device stores the association information, and constructs a preset database based on the association information of contacts corresponding to all accounts; when the user modifies the association information on the electronic device they are using through the communication application, the electronic device will send the modified association information to the first electronic device; the first electronic device updates the association information of the corresponding contact with the modified association information.
[0149] Optionally, the first electronic device may obtain the association information of the second contact in the following ways: the first electronic device determines the second account corresponding to the second contact based on the second contact, and sends a data acquisition request to the third electronic device logged into the second account, wherein the second account is the account corresponding to the second contact in the communication application; the third electronic device sends the association information of the second contact to the first electronic device; wherein the association information is entered into the third electronic device by the user through the communication application.
[0150] S203, the first electronic device determines the third contact based on the session request and / or associated information.
[0151] S204, The first electronic device generates a target session window, which includes a third contact.
[0152] The target conversation window includes a first contact, and may also include a second contact.
[0153] Specifically, after the first electronic device generates the target session window, it sends the target session window information to the account corresponding to each group member, thereby enabling the electronic device logged into by the account corresponding to each group member to display and provide feedback on the target session window information, thus enabling the group members of the target session window to have a session.
[0154] The specific steps for generating the target session window include: determining whether a target session window exists based on the session request; if it exists, updating the information of the target session window to include the second contact; if it does not exist, creating a target session window that includes the second contact.
[0155] As can be seen, in this embodiment of the invention, the first electronic device first receives a session request initiated by a first contact to a second contact from a second electronic device; secondly, it obtains the association information of the second contact; thirdly, it determines a third contact based on the session request and / or the association information; and finally, it generates a target session window, which includes the third contact. Thus, in this embodiment of the invention, when the first electronic device receives a session request initiated by a first contact to a second contact, it obtains the association information of the second contact, and then determines the associated contacts of the second contact, namely the third contact, based on the association information of the second contact and / or the information in the session request; thereby establishing a session window including the third contact; this improves the convenience and efficiency of adding the associated contacts of the second contact to the session window, thereby improving the efficiency of conversations between users and enhancing the intelligence of the electronic device.
[0156] In one possible implementation, the target information includes a session request and associated information. Determining a third contact based on the session request and / or associated information includes: determining a first relationship attribute based on the session request; using the first relationship attribute as a query identifier to query the associated information and obtain the contact corresponding to the query identifier, wherein the associated information includes the correspondence between the relationship attribute and the contact; and determining the contact corresponding to the query identifier as the third contact.
[0157] The associated information includes user relationships and / or user roles: user relationships refer to the relationship between the second contact and other contacts, which may include pre-defined relationships such as superior, subordinate, and substitute; user roles refer to the roles of the second contact's associated contacts in the company or department, including pre-defined roles such as pre-sales, after-sales, and technical support; it should be noted that both user relationships and user roles can be customized. Users can set associated contacts, user relationships, and user roles of associated contacts themselves when using electronic devices.
[0158] In one possible implementation, determining a third contact based on a session request and / or associated information includes: determining first tag information of a first contact based on a session request, the tag information including at least one of the following: the contact's department, the contact's user role; obtaining second tag information of a second contact from the associated information; and determining the third contact based on the first tag information and the second tag information.
[0159] The specific method for determining the third contact person based on the first and second tag information can be as follows: using the first and second tags as query identifiers, querying preset matching rules, determining the third tag that matches the query identifiers, and determining the third contact person based on the third tag; for example, the tag information includes the contact person's department and user role. The first contact person's department is: R&D Department, and the user role is Product A R&D Personnel; the second contact person's department is: Product Design Department, and the user role is Product A Designer; the third contact person's department is: Process Department, and the user role is Product A Process Personnel; when the above is executed... In the implementation, the first electronic device determines the conditions for pulling personnel based on the departments of the first contact person and the second contact person, and determines that the department of the person to be pulled is the process department; then, the first electronic device determines the personnel to be pulled as product process personnel of product A based on the user roles of the first contact person (product R&D personnel) and the second contact person (product designer) (product design personnel), and the user role of the person to be pulled is product process personnel of product A; the first electronic device queries the tag information in the database based on the department (process department) and user role (product process personnel of product A), determines the matching tag information, and determines that the contact person corresponding to the tag information is the third contact person.
[0160] In one possible implementation, determining a third contact based on a session request and / or association information includes: determining at least one associated contact based on the association information of a second contact; and determining the at least one associated contact as a third contact.
[0161] For example, the second contact can be a team leader or a department head. In a work scenario, if a person establishes a conversation with the second contact, all members of the department corresponding to the second contact will be identified as third contacts. This allows all members led by the second contact to be directly pulled into the target conversation window, thereby achieving efficient task assignment and distribution.
[0162] In one possible implementation, determining a third contact based on a session request and / or associated information includes: detecting the status of a second contact; using the status of the second contact as a query identifier to query associated information, determining an associated contact that matches the query identifier, the associated information including the matching relationship between status and contact; and determining the associated contact as the third contact.
[0163] Specifically, the associated information includes the second contact's associated contacts. The specific method for detecting the second contact's status can be: the first electronic device detects the status of the account corresponding to the second contact or the tag information set by the second contact, including: online, offline, working, vacation; for example, the second contact's status includes: working, busy, vacation, offline; the second contact's associated contacts include the first substitute, the second substitute, and the superior; the specific matching relationship can be: when the second contact's status is working, the matched contact is the second contact's superior; when the second contact's status is busy, the matched contact is the second contact's first substitute; when the second contact's status is vacation or offline, the matched contact is the second contact's second substitute.
[0164] In one possible implementation, determining a third contact based on a session request and / or associated information includes: determining the group name of the target session window based on the session request; determining the matter to be processed based on the group name; determining the first process node where the matter is currently located; determining the second process node of the matter, wherein the second process node is a process node following the first process node; and determining the third contact based on the second process node.
[0165] The first electronic device can pre-set the naming rules for the session window. When the user initiates a session according to the naming rules, the first electronic device can determine the corresponding processing item. A processing item can include multiple process nodes, and each process node can correspond to different process personnel. For example, the creation of a software product includes: conceptual design, appearance design, developer development, and software product testing. Each node corresponds to different personnel, and each node also has different process personnel. When the product manager completes the conceptual design of the product, they can initiate a conversation with the first process personnel at that node and set the group name to "Product B Conceptual Design". The first electronic device determines that the product being processed is Product B, and the current process node is conceptual design, based on the group name. The next stage of conceptual design is appearance design. The first electronic device identifies the appearance designer corresponding to Product B and the process personnel corresponding to the appearance design node as the third contact person. This ensures that when the product manager (first contact person) initiates a conversation with the process personnel (second contact person) at the conceptual design stage, the conversation window includes both the appearance designer (one of the third contacts) and the process personnel (one of the third contacts) at the appearance design stage. This allows the third contact person to prepare for tasks based on the conversation content of the first and second contacts without needing the first and second contacts to notify the third contact person of the relevant content, thus improving communication efficiency during task processing.
[0166] In one possible implementation, determining the third contact based on the session request and / or associated information includes: determining the group name of the target session window based on the session request; parsing the group name and determining the type of processing matter based on the group name, where the processing matter type includes information reporting and task execution; if the processing matter type is information reporting, determining the superior contact of the second contact and identifying the superior contact of the second contact as the third contact; if the processing matter type is task execution, determining the subordinate contact of the second contact and identifying the subordinate contact of the second contact as the third contact.
[0167] One method for parsing group names is to detect the presence of preset keywords. For example, if the group name contains words like "report" or "summary," the matter type is determined to be a reporting type; if the group name contains words like "arrange," "assign," or "work assignment," the matter type is determined to be a task execution type. These preset keywords can be set by the user of the first electronic device.
[0168] Please see Figure 2B , Figure 2B This is a flowchart illustrating another method for generating a session window provided in an embodiment of the present invention. The method for generating a session window may include the following steps S301-S304:
[0169] S301, the second electronic device receives a conversation instruction for the second contact and generates a conversation request based on the conversation instruction. The conversation request is a conversation request from the first contact to the second contact.
[0170] The second electronic device includes a communication application, and the first contact is the contact person corresponding to the account logged in in the communication application of the second electronic device.
[0171] S302, the second electronic device sends a session request to the first electronic device;
[0172] S303, The first electronic device determines the second contact based on the session request;
[0173] S304, the first electronic device obtains the association information of the second contact;
[0174] The method by which the first electronic device obtains the association information of the second contact is to retrieve the association information of the second contact from the database; before the first electronic device obtains the association information of the second contact, steps s11-s16 are also included:
[0175] s11: When the third electronic device displays the first display interface, it receives selection information for relationship setting options, the first display interface including relationship setting options; for details, please refer to Figure 2C , Figure 2C A schematic diagram of a first interface and a second interface provided for an embodiment of the present invention; after the user clicks the relationship setting option in the first interface, the first interface jumps to the second interface;
[0176] s12: Display a second interface on a third electronic device. The second interface is used to add information about the associated contacts of the second contact. The second interface includes at least one of the following options: relationship name, select user, user role; for details, please refer to [link to relevant documentation]. Figure 3B A schematic diagram of the second interface in the diagram;
[0177] s13: The third electronic device generates option information corresponding to each option in the second interface based on the user's settings.
[0178] s14: The setting for adding associated users on the third electronic device is enabled;
[0179] s15: The third electronic device generates the association information of the second contact based on the option information corresponding to each option;
[0180] s16: The third electronic device sends associated information to the first electronic device.
[0181] S305, the first electronic device determines the third contact based on the session request and / or associated information;
[0182] S306, The first electronic device generates a target session window, which includes a third contact;
[0183] S307, the first electronic device sends data of the target session window to the second electronic device;
[0184] At the same time, the first electronic device also sends information about the target session window to the third and fourth electronic devices so that the second, third, and fourth electronic devices can display and respond to the relevant information of the target session window.
[0185] Among them, the third electronic device is the electronic device logged into by the account corresponding to the second contact person, and the fourth electronic device is the electronic device logged into by the account corresponding to the third contact person;
[0186] S308, the second electronic device displays the target session window on the display screen based on the data of the target session window.
[0187] In this embodiment of the invention, from the perspective of the second electronic device, please refer to... Figure 2D , Figure 2D This is a schematic diagram illustrating the addition of associated contacts during a conversation, provided by an embodiment of the present invention. During a conversation between the first contact and the second contact, the second electronic device displays display interface A. The user clicks a preset icon in display interface A to enter display interface B. Optionally, the user can also enter display interface B by inputting preset gestures or preset voice commands. Display interface B includes an entry point for setting conversational connections. After clicking this entry point, the user enters display interface C. In display interface C, the first contact can set information about personnel relationships and roles, where personnel relationships refer to the relationship with the second contact. For example, if the first contact wants to add the second contact's superior in the conversation, the first contact sets the personnel relationship to superior. Display interface C also has an on / off switch. When the switch is on, the second electronic device can send a conversation request, including personnel relationships and roles, to the first electronic device. When the first electronic device determines a third contact that satisfies the personnel relationships and roles of the second contact based on the conversation request, it adds the third contact to the target conversation window and returns the updated information of the target conversation window to the second electronic device. Thus, the second electronic device achieves the purpose of adding associated contacts to the target conversation window.
[0188] When the second electronic device displays the target session window, it can receive information input by other members in the target session window through electronic devices sent by the first electronic device in real time and display it on the screen. At the same time, the second electronic device can enter information input by the first contact and send the information input by the first contact to the first electronic device. Then the first electronic device synchronizes the information input by the first contact to other electronic devices that are connected to the first electronic device.
[0189] In one possible implementation, please refer to Figure 2E , Figure 2E This is a flowchart illustrating another method for generating a session window provided in an embodiment of the present invention, including the following steps S401-S412;
[0190] S401, the second electronic device generates a session request for the second contact based on the user's settings.
[0191] S402, the second electronic device sends a session request to the first electronic device;
[0192] S403, The first electronic device determines the second contact based on the session request;
[0193] S404, The first electronic device obtains the association information of the second contact;
[0194] S405, the first electronic device sends the association information of the second contact to the second electronic device, the association information including information of at least one associated contact;
[0195] S406, the second electronic device displays at least one associated contact on the display screen;
[0196] S407, the second electronic device receives selection information for a third contact among at least one associated contact;
[0197] S408, the second electronic device sends the selection information of the third contact to the first electronic device;
[0198] S409, the first electronic device determines the third contact person based on the selection information of the third contact person;
[0199] S410, The first electronic device generates a target session window, which includes a third contact;
[0200] S411, the first electronic device sends data of the target session window to the second electronic device;
[0201] S412, the second electronic device displays the target session window on the display screen based on the data of the target session window.
[0202] As can be seen, in this embodiment of the invention, firstly, the second electronic device detects the information input by the user and generates a session request, which is a session request from the first contact to the second contact; secondly, the second electronic device sends the session request to the first electronic device; secondly, the first electronic device determines the second contact based on the session request; secondly, the first electronic device obtains the associated information of the second contact; secondly, the first electronic device determines the third contact based on the session request and / or the associated information; secondly, the first electronic device generates a target session window, which includes the third contact; secondly, the first electronic device sends the information of the target session window to the second electronic device; secondly, the first electronic device also sends the information of the target session window to the third and fourth electronic devices so that the second, third, and fourth electronic devices can display and respond to the relevant information of the target session window; finally, the second electronic device displays the target session window on the display screen based on the information of the target session window. Therefore, in this embodiment of the invention, the second electronic device can interact with the first electronic device to generate a target session window including the second and third contacts, improving the convenience and efficiency of adding associated contacts of the second contact to the session window, thereby improving the efficiency of conversations between users and enhancing the intelligence of the electronic device.
[0203] This invention provides a method for updating a session window, which can be executed by a first electronic device. The method includes the following steps:
[0204] Receive a session request for a second contact, which is used to request that the second contact be added to the target session window;
[0205] Obtain the association information of the second contact;
[0206] Determine the third contact person based on the session request and / or associated information;
[0207] Update the target session window to include the third contact.
[0208] As can be seen, in this embodiment of the invention, when a target session window exists, the first electronic device can update the target session window according to the session request and / or the association information of the second contact, thereby improving the convenience and efficiency of adding the associated contacts of the second contact to the target session window.
[0209] In one possible implementation, determining a third contact based on a session request and / or associated information includes: determining the group name of the target session window based on the session request; determining the matter to be processed based on the group name; determining the first process node where the matter is currently located; determining the second process node of the matter, wherein the second process node is a process node following the first process node; and determining the third contact based on the second process node.
[0210] The first electronic device can pre-set the naming rules for the session window. When the user initiates a session according to the naming rules, the first electronic device can determine the corresponding processing item. A processing item can include multiple process nodes, and each process node can correspond to different process personnel. For example, the creation of a software product includes: conceptual design, appearance design, developer development, and software product testing. Each node corresponds to different personnel, and each node also has different process personnel. When the product manager completes the conceptual design of the product, they can initiate a conversation with the first process personnel at that node and set the group name to "Product B Conceptual Design". The first electronic device determines that the product being processed is Product B, and the current process node is conceptual design, based on the group name. The next stage of conceptual design is appearance design. The first electronic device identifies the appearance designer corresponding to Product B and the process personnel corresponding to the appearance design node as the third contact person. This ensures that when the product manager (first contact person) initiates a conversation with the process personnel (second contact person) at the conceptual design stage, the conversation window includes both the appearance designer (one of the third contacts) and the process personnel (one of the third contacts) at the appearance design stage. This allows the third contact person to prepare for tasks based on the conversation content of the first and second contacts without needing the first and second contacts to notify the third contact person of the relevant content, thus improving communication efficiency during task processing.
[0211] In one possible implementation, determining the third contact based on the session request and / or associated information includes: determining the group name of the target session window based on the session request; parsing the group name and determining the type of processing matter based on the group name, where the processing matter type includes information reporting and task execution; if the processing matter type is information reporting, determining the superior contact of the second contact and identifying the superior contact of the second contact as the third contact; if the processing matter type is task execution, determining the subordinate contact of the second contact and identifying the subordinate contact of the second contact as the third contact.
[0212] One method for parsing group names is to detect the presence of preset keywords. For example, if the group name contains words like "report" or "summary," the matter type is determined to be a reporting type; if the group name contains words like "arrange," "assign," or "work assignment," the matter type is determined to be a task execution type. These preset keywords can be set by the user of the first electronic device.
[0213] Please see Figure 3A , Figure 3A This is a flowchart illustrating a method for generating a session window according to an embodiment of this application, which can be applied to a client or electronic device. The method for generating a session window includes:
[0214] S501, Receive conversation instructions for the second contact;
[0215] In this context, the client or electronic device receives conversational instructions for the second contact as the first contact.
[0216] The session commands can be issued by the user of the client or electronic device.
[0217] Among them, receiving conversation instructions for the second contact can be a preset voice instruction input by the user, such as: establishing a conversation with the second contact;
[0218] S502, Display the target session window, which includes a third contact, which is an associated contact of the second contact.
[0219] The target conversation window also includes a first contact, and may also include a second contact.
[0220] As can be seen, in this embodiment of the invention, when a client or electronic device receives a conversation instruction for a second contact as a first contact, it can display a conversation window that includes the associated contacts of the second contact, which improves the convenience and efficiency of users in establishing a conversation window that includes the second contact and enhances the intelligence of the client or electronic device.
[0221] In one possible implementation, the display interface includes a first display area corresponding to the second contact, and receives conversation instructions for the second contact, including: detecting a preset operation for the first display area.
[0222] The preset operation may include any of the following: a click operation on the first display area; a preset duration of pressing the first display area; eye-tracking information on the first display area; or a preset voice command.
[0223] The preset duration can be set by the user of the client or electronic device, such as 1 second, 2 seconds, etc.
[0224] Among them, the eye-tracking information for the first display area can be the detected user's eye gaze point remaining on the first display area for a preset duration;
[0225] The preset voice command could be: "Second contact".
[0226] For details, please refer to Figure 3B , Figure 3B This is a schematic diagram illustrating the generation of a target session window according to an embodiment of the present invention. Figure 3B In the first interface, the client or electronic device displays the address book interface, including the second contact, the fourth contact, the fifth contact, and the sixth contact; after the client or electronic device detects the user's click operation on the first display area including the second contact, the client or electronic device displays the second interface, which is the target conversation window including the second contact and the third contact.
[0227] In one possible implementation, after detecting a preset operation on the first display area and before displaying the target session window, the method further includes: displaying a relationship attribute selection interface on the display interface, the relationship attribute selection interface including at least one relationship option; and receiving selection information for a first relationship option among the at least one relationship option, the first relationship option representing the relationship between a second contact and a third contact.
[0228] The relationship options can include: superior, substitute, and subordinate; it should be noted that the relationship options can be set according to specific circumstances.
[0229] For example, if the first relationship option is "subordinate", then the third contact is the subordinate of the second contact.
[0230] For details, please refer to Figure 3C , Figure 3C This is a schematic diagram of another method for generating a target session window provided in an embodiment of the present invention. Figure 3C In the first interface, the client or electronic device displays the address book interface, including the second contact, the fourth contact, the fifth contact, and the sixth contact. After the client or electronic device detects a user's click operation on the first display area including the second contact, the client or electronic device displays the second interface, which partially covers the relationship attribute selection interface of the first interface. After the user clicks on a sub-option, the client or electronic device displays the third interface, which is the target conversation window including the second contact and the third contact.
[0231] Optionally, after receiving selection information for a first relationship option among at least one relationship option and before displaying the target session window, the method further includes: displaying a role selection interface, the role selection interface including at least one role option, and receiving selection information for a first role option among at least one role option, the first role option representing the role of a third contact.
[0232] In one possible implementation, the display interface includes a search input field and receives a conversation command for a second contact, including receiving the identity information of the second contact in the search input field.
[0233] For details, please refer to Figure 3D , Figure 3D This is a schematic diagram of another method for generating a target session window provided in an embodiment of the present invention. Figure 3D The first interface includes a search input field and a search button. After entering the information of the second contact in the search input field (which can be the name or tag of the second contact; the tag can be a unique tag information in the company, such as the head of the first department), and receiving the user's confirmation operation for the search button, the user is redirected to the second interface, which is a target conversation window that includes the second and third contacts.
[0234] In one possible implementation, after receiving a session instruction for the second contact and before displaying the target session window, the method further includes: displaying the second contact and a first number of second display areas on the display interface, each of the first number of second display areas including an associated contact and a corresponding relationship attribute; receiving a selection instruction for the second number of display areas, wherein the second number of display areas belong to the first number of display areas; and determining the second number of associated contacts corresponding to the second number of display areas as the third contact.
[0235] The process of receiving a selection instruction for a second number of display areas includes: marking the second number of display areas according to the user's settings; receiving an OK button instruction; and generating a selection instruction for the second number of display areas.
[0236] For details, please refer to Figure 3E , Figure 3E This is a schematic diagram illustrating the determination of a third contact person according to an embodiment of the present invention. Figure 3EIn the first interface, the second contact is displayed in the top status bar. Each status bar below displays the second contact's associated contacts and their relationship attributes; for example, the third contact is a subordinate of the second contact. When the user clicks on the status bar corresponding to the third contact, the client or electronic device's display interface jumps to the second interface. In the second interface, the status bar of the third contact is marked with a preset icon. At the same time, an "OK" button is displayed in the top status bar and the status bar corresponding to the second contact. In this state, if the client or electronic device receives selection information for other contacts, it can also mark them. For example, if the user clicks on the status bar of the sixth contact, the status bar of the sixth contact is also marked. After the user completes the selection operation for associated contacts, the client or electronic device receives the user's selection information for the "OK" button. The client or electronic device then generates a target session window based on the contact corresponding to the currently marked status bar.
[0237] Optional, please refer to Figure 3F , Figure 3F This is a schematic diagram illustrating another method for determining a third contact person provided in an embodiment of the present invention. Figure 3F yes Figure 3E Different forms of expression and different interface display methods, but all fall within the scope of protection of the embodiments of this invention. Figure 3F In this system, contact information is displayed in preset shapes. In the first interface, the second contact is in the center, with their associated contacts scattered around them. The relationship attributes between the second contact and their associated contacts are also displayed in corresponding preset shapes. When a user clicks on a contact's preset shape, the client or electronic device displays that contact's preset shape in different states. For example... Figure 3F In the first interface, when a user clicks on the circular area corresponding to the third contact, and the third contact has a subordinate relationship with the second contact, the client or electronic device will jump to the second interface. The state of the circular area corresponding to the third contact in the second interface will vary. The client or electronic device will generate a target session window based on the circular area in different states, and generate a target session window that includes the third contact. Optionally, the second interface may also include an "OK" button. When the client or electronic device receives selection information for the "OK" button, it will generate a target session window based on the third contact, the first contact, and the second contact.
[0238] In one possible implementation, the display interface further includes a relationship attribute input field. After receiving the identity information of the second contact in the search input field and before displaying the target session window, the method further includes receiving first relationship attribute information in the relationship attribute input field.
[0239] In one possible implementation, after receiving the first relation attribute information in the relation attribute input field and before displaying the target session window, the method further includes...
[0240] Upon receiving a selection instruction for a preset key, the preset key is used to determine the creation of the target session window based on the information in the search input field and the relationship attribute input field.
[0241] For details, please refer to Figure 3G , Figure 3G This is a schematic diagram of another method for generating a target session window provided in an embodiment of the present invention. Figure 3G The first interface includes a contact input field (search input field), a relationship attribute input field, and a search button. In the contact input field, the user enters information about the second contact (which can be the second contact's name or a tag; the tag can be a unique tag within the company, such as the head of the first department). In the relationship attribute input field, the user enters the relationship attribute. As shown in the figure, if the user enters the second contact in the contact input field and the relationship attribute is the subordinate, the client or electronic device will be redirected to the second interface after receiving confirmation from the user's search button. The second interface is a target session window that includes the second and third contacts, where the third contact is a subordinate of the second contact.
[0242] Please see Figure 4A , Figure 4A This is a flowchart illustrating a method for updating a session window according to an embodiment of this application, which can be applied to a client or electronic device. The method for updating the session window includes:
[0243] S601, when displaying the target conversation window, receives a conversation command for the second contact;
[0244] The process of receiving conversation instructions for the second contact includes: receiving selection instructions for function keys; displaying the member list interface of the target conversation window; receiving selection instructions for a first key, which is used to add a member to the target conversation window; displaying a contact list, which includes the second contact; and receiving selection instructions for the second contact.
[0245] S602, Update the target session window so that the target session window includes a third contact, which is an associated contact of the second contact.
[0246] For details, please refer to Figure 4B , Figure 4B This is a schematic diagram of an update session window provided by an embodiment of the present invention. Figure 4BIn the first interface, the client or electronic device displays the target session window. When the client or electronic device detects the user's selection of a function key, it jumps to the second interface, the member list interface. When the client or electronic device detects the user's selection of the first key in the member list interface, it displays the third interface, which is the interface corresponding to the contact list. When the client or electronic device detects the selection of the second contact, it displays the fourth interface, which is the updated target session window. In addition to the original fourth and fifth contacts, it also includes the second contact, the second contact's associated contacts, and the third contact.
[0247] Based on the description of the above-described method for generating a session window, this invention also discloses an apparatus for generating a session window. This apparatus can be a computer program (including program code) running in an electronic device. Please refer to... Figure 5 The session window generation device can operate the following units:
[0248] The communication unit 401 is used to receive a session request initiated by the first contact to the second contact from the second electronic device; and to obtain the association information of the second contact.
[0249] Processing unit 402 is configured to determine a third contact based on the session request and / or the associated information; and to generate a target session window, the target session window including the third contact.
[0250] In one implementation, when the processing unit 402 determines a third contact based on a session request and / or association information, it is specifically configured to: determine a first relationship attribute based on the session request; use the first relationship attribute as a query identifier to query the association information and obtain the contact corresponding to the query identifier, wherein the association information includes the correspondence between the relationship attribute and the contact; and determine the contact corresponding to the query identifier as the third contact.
[0251] In another embodiment, when the processing unit 402 determines a third contact based on a session request and / or association information, it is specifically configured to: determine the first tag information of the first contact based on the session request, wherein the tag information includes at least one of the following: the contact's department, the contact's user role; obtain the second tag information of the second contact in the association information; and determine the third contact based on the first tag information and the second tag information.
[0252] In another embodiment, when the processing unit 402 determines a third contact based on the session request and / or the association information, it is specifically configured to: determine at least one associated contact based on the association information of the second contact; and determine the at least one associated contact as the third contact.
[0253] In another embodiment, when the processing unit 402 determines the third contact based on the session request and / or the association information, it is specifically configured to: detect the status of the second contact; use the status of the second contact as a query identifier to query the association information and obtain the associated contact that matches the query identifier, wherein the association information includes the matching relationship between status and contact; and determine the associated contact as the third contact.
[0254] In another embodiment, when the processing unit 402 determines the third contact based on the session request and / or the association information, it is specifically configured to: send the association information of the second contact to the second electronic device, the association information including information of at least one associated contact; receive response information sent by the second electronic device in response to the association information, the response information including selection information of the third contact, the third contact belonging to the at least one associated contact; and determine the third contact based on the selection information of the third contact.
[0255] In another embodiment, after generating the target session window, the processing unit 402 is further configured to: send the data of the target session window to the second electronic device through the communication unit 401.
[0256] According to another embodiment of the present invention, Figure 5 The various units in the session window generation apparatus shown can be individually or entirely merged into one or more other units, or some of the units can be further divided into multiple functionally smaller units. This achieves the same operation without affecting the technical effects of the embodiments of the present invention. The above units are based on logical function division. In practical applications, the function of one unit can be implemented by multiple units, or the function of multiple units can be implemented by one unit. In other embodiments of the present invention, the session window generation apparatus may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented collaboratively by multiple units.
[0257] According to another embodiment of the present invention, a method such as [example of method] can be constructed by running a computer program (including program code) capable of performing the steps involved in the corresponding methods in the embodiments of the present invention on a general-purpose computing device including processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM). Figure 5 The diagram illustrates a session window generation apparatus and a method for generating a session window to implement embodiments of the present invention. The computer program may be recorded on, for example, a computer-readable recording medium, loaded onto the aforementioned computing device via the same medium, and run therein.
[0258] As can be seen, in this embodiment of the invention, the first electronic device first receives a session request initiated by a first contact to a second contact from a second electronic device; secondly, it obtains the association information of the second contact; thirdly, it determines a third contact based on the session request and / or the association information; and finally, it generates a target session window, which includes the third contact. Thus, in this embodiment of the invention, when the first electronic device receives a session request initiated by a first contact to a second contact, it obtains the association information of the second contact, and then determines the associated contacts of the second contact, namely the third contact, based on the association information of the second contact and / or the information in the session request; thereby establishing a session window including the third contact; this improves the convenience and efficiency of adding the associated contacts of the second contact to the session window, thereby improving the efficiency of conversations between users and enhancing the intelligence of the electronic device.
[0259] This invention also provides a session window updating device, applied to a first electronic device, comprising:
[0260] A communication unit is configured to receive a session request for a second contact, the session request being used to request that the second contact be added to a target session window; and to obtain the associated information of the second contact.
[0261] A processing unit is configured to determine a third contact based on the session request and / or the associated information; and to update the target session window such that the target session window includes the third contact.
[0262] This invention also provides a device for generating a session window, applied to a second electronic device, comprising:
[0263] The processing unit is used to generate a session request for the second contact based on the user's settings.
[0264] The communication unit sends the session request to the first electronic device; and is used to receive data of the target session window sent by the first electronic device.
[0265] The processing unit is further configured to display the target session window on a display screen based on the data of the target session window, the target session window including a third contact, the third contact being an associated contact of the second contact.
[0266] This invention also provides a device for setting associated contacts, characterized in that it is applied to a third electronic device and includes:
[0267] The processing unit is configured to receive selection information for relationship setting options when the third electronic device displays a first display interface, the first display interface including the relationship setting options; and to display a second display interface on the third electronic device, the second display interface being used to add information about associated contacts of a second contact, the second display interface including at least one of the following options: relationship name, selected user, user role; and to generate option information corresponding to each option in the second display interface based on the user's setting operation; and to set the status of adding associated persons to an enabled state; and to generate association information of the second contact based on the option information corresponding to each option;
[0268] A communication unit is used to send the associated information to a first electronic device.
[0269] This invention also provides a device for generating a session window, characterized in that it includes:
[0270] A communication unit for receiving conversation instructions for a second contact;
[0271] A processing unit is configured to display a target session window, the target session window including a third contact, the third contact being an associated contact of the second contact.
[0272] This invention also provides a device for updating a session window, characterized in that it includes:
[0273] A communication unit is used to receive conversation commands for a second contact when the target conversation window is displayed;
[0274] A processing unit is configured to update the target session window such that the target session window includes a third contact, the third contact being an associated contact of the second contact.
[0275] Based on the description of the method and apparatus embodiments above, this invention also provides an electronic device. Please refer to... Figure 6The electronic device includes at least a processor 501, an input device 505, an output device 503, and a computer storage medium 504. The processor 501, input device 505, output device 503, and computer storage medium 504 within the electronic device can be connected via a bus or other means.
[0276] Computer storage medium 504 can be stored in the memory of an electronic device. The computer storage medium 504 is used to store computer programs, which include program instructions. The processor 501 is used to execute the program instructions stored in the computer storage medium 504. The processor 501 (or CPU (Central Processing Unit)) is the computing and control core of the electronic device, suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions to achieve a corresponding method flow or function. In one embodiment, the processor 501 described in this embodiment can be used to perform a series of session window generation processes, including: sending a data request to a second electronic device when a target application in a first electronic device is launched; receiving a layout file sent by the second electronic device; parsing the layout file through a visual component to generate view information; and when a display request for the mini-program display interface is detected, performing a rendering operation on the view information through the visual component to generate the mini-program display interface.
[0277] This invention also provides a computer storage medium (Memory), which is a memory device in an electronic device used to store programs and data. It is understood that the computer storage medium here can include both the built-in storage medium in the electronic device and extended storage media supported by the electronic device. The computer storage medium provides storage space that stores the operating system of the electronic device. Furthermore, the storage space also stores one or more instructions suitable for loading and execution by the processor 501. These instructions can be one or more computer programs (including program code). It should be noted that the computer storage medium here can be high-speed RAM or non-volatile memory, such as at least one disk storage device; optionally, it can also be at least one computer storage medium located remotely from the aforementioned processor.
[0278] In one embodiment, processor 501 may load and execute one or more instructions stored in computer storage medium to implement the corresponding steps of the method in the above-described embodiment concerning the generation of a session window; specifically, one or more instructions in computer storage medium are loaded and executed by processor 501 in the following steps:
[0279] Receive a session request sent by the second electronic device from the first contact to the second contact;
[0280] Obtain the association information of the second contact;
[0281] A third contact is determined based on the session request and / or the associated information;
[0282] Generate a target session window, which includes the third contact.
[0283] In one implementation, when determining a third contact based on a session request and / or association information, the one or more instructions may also be loaded and specifically executed by the processor 501: determining a first relationship attribute based on the session request; using the first relationship attribute as a query identifier, querying the association information to obtain the contact corresponding to the query identifier, wherein the association information includes the correspondence between the relationship attribute and the contact; and determining the contact corresponding to the query identifier as the third contact.
[0284] In another embodiment, when determining a third contact based on a session request and / or association information, the one or more instructions may also be loaded and specifically executed by the processor 501: determining the first tag information of the first contact based on the session request, the tag information including at least one of the following: the contact's department, the contact's user role; obtaining the second tag information of the second contact in the association information; and determining the third contact based on the first tag information and the second tag information.
[0285] In another embodiment, when determining a third contact based on the session request and / or the association information, the one or more instructions may also be loaded and specifically executed by the processor 501: determining at least one associated contact based on the association information of the second contact; determining the at least one associated contact as the third contact.
[0286] In another embodiment, when determining a third contact based on the session request and / or the association information, the one or more instructions may also be loaded and specifically executed by the processor 501: detecting the status of the second contact; using the status of the second contact as a query identifier, querying the association information to obtain an associated contact that matches the query identifier, the association information including the matching relationship between status and contact; and determining the associated contact as the third contact.
[0287] In another embodiment, when determining a third contact based on the session request and / or the association information, the one or more instructions may also be loaded and specifically executed by the processor 501: sending association information of the second contact to the second electronic device, the association information including information of at least one associated contact; receiving response information sent by the second electronic device in response to the association information, the response information including selection information of the third contact, the third contact belonging to the at least one associated contact; and determining the third contact based on the selection information of the third contact.
[0288] In another embodiment, after generating the target session window, the one or more instructions may also be loaded and executed by the processor 501: sending the data of the target session window to the second electronic device.
[0289] As can be seen, in this embodiment of the invention, the first electronic device first receives a session request initiated by a first contact to a second contact from a second electronic device; secondly, it obtains the association information of the second contact; thirdly, it determines a third contact based on the session request and / or the association information; and finally, it generates a target session window, which includes the third contact. Thus, in this embodiment of the invention, when the first electronic device receives a session request initiated by a first contact to a second contact, it obtains the association information of the second contact, and then determines the associated contacts of the second contact, namely the third contact, based on the association information of the second contact and / or the information in the session request; thereby establishing a session window including the third contact; this improves the convenience and efficiency of adding the associated contacts of the second contact to the session window, thereby improving the efficiency of conversations between users and enhancing the intelligence of the electronic device.
[0290] This invention also provides an electronic device, which includes an input device and an output device, and further includes:
[0291] A processor, adapted to implement one or more instructions; and,
[0292] A computer storage medium storing one or more instructions adapted for loading by the processor and executing the following steps:
[0293] Receive a session request for a second contact, the session request being used to request that the second contact be added to the target session window;
[0294] Obtain the association information of the second contact;
[0295] A third contact is determined based on the session request and / or the associated information;
[0296] Update the target session window to include the third contact.
[0297] This invention also provides an electronic device, which includes an input device and an output device, and further includes:
[0298] A processor, adapted to implement one or more instructions; and,
[0299] A computer storage medium storing one or more instructions adapted for loading by the processor and executing the following steps:
[0300] Generate a session request for the second contact based on the user's settings.
[0301] Send the session request to the first electronic device;
[0302] Receive data from the target session window sent by the first electronic device;
[0303] The target session window is displayed on the screen based on the data in the target session window. The target session window includes a third contact, which is an associated contact of the second contact.
[0304] This invention also provides another electronic device, which includes an input device and an output device, and further includes:
[0305] A processor, adapted to implement one or more instructions; and,
[0306] A computer storage medium storing one or more instructions adapted for loading by the processor and executing the following steps:
[0307] When the third electronic device displays the first display interface, it receives selection information for relationship setting options, wherein the first display interface includes the relationship setting options.
[0308] A second display interface is displayed on the third electronic device. The second display interface is used to add information about the associated contacts of the second contact. The second display interface includes at least one of the following options: relationship name, select user, user role.
[0309] Generate option information for each option in the second display interface based on the user's settings.
[0310] Set the status of adding associated users to enabled;
[0311] Generate the association information of the second contact person based on the option information corresponding to each option;
[0312] The associated information is sent to the first electronic device.
[0313] This invention also provides an electronic device, which includes an input device and an output device, and further includes:
[0314] A processor, adapted to implement one or more instructions; and,
[0315] A computer storage medium storing one or more instructions adapted for loading by the processor and executing the following steps:
[0316] Receive conversation commands for the second contact;
[0317] Display the target session window, which includes a third contact, which is an associated contact of the second contact.
[0318] This invention also provides an electronic device, which includes an input device and an output device, and further includes:
[0319] A processor, adapted to implement one or more instructions; and,
[0320] A computer storage medium storing one or more instructions adapted for loading by the processor and executing the following steps:
[0321] When the target conversation window is displayed, receive conversation commands for the second contact;
[0322] Update the target session window to include a third contact, which is an associated contact of the second contact.
[0323] The above description discloses only preferred embodiments of the present invention and should not be construed as limiting the scope of the present invention. Therefore, equivalent variations made in accordance with the claims of the present invention are still within the scope of the present invention.
Claims
1. A method for generating a session window, characterized in that, Applied to a first electronic device, the first electronic device corresponding to a server of a communication application, the method includes: The system receives a session request from a first contact to a second contact sent by a second electronic device. The user of the second electronic device corresponds to the first contact in the communication application. The session request is used to request that the second contact be added to the target session window. If the second contact's "Add Associates" status in the communication application is enabled, then obtain the association information of the second contact. Determining a third contact based on the session request and the associated information includes: Detect the status of the second contact; Using the status of the second contact as the query identifier, query the associated information to obtain the associated contacts that match the query identifier. The associated information includes the matching relationship between status and contact. The associated contact is identified as the third contact. Generate the target session window, which is a session window between the first contact and the third contact.
2. The method as described in claim 1, characterized in that, The step of determining the third contact based on the session request and the associated information includes: Determine the first relationship attribute based on the session request; Using the first relation attribute as the query identifier, query the associated information to obtain the contact person corresponding to the query identifier. The associated information includes the correspondence between the relation attribute and the contact person. The contact person corresponding to the query identifier is identified as the third contact person.
3. The method as described in claim 1, characterized in that, The step of determining the third contact based on the session request and the associated information includes: The first tag information of the first contact is determined based on the session request, and the tag information includes at least one of the following: the contact's department and the contact's user role; Obtain the second tag information of the second contact person from the associated information; The third contact is determined based on the first tag information and the second tag information.
4. The method as described in claim 1, characterized in that, The step of determining the third contact based on the session request and the associated information includes: At least one associated contact is determined based on the association information of the second contact; The at least one associated contact is identified as the third contact.
5. The method as described in claim 1, characterized in that, The step of determining the third contact based on the session request and the associated information includes: Send the association information of the second contact to the second electronic device, the association information including information of at least one associated contact; Receive response information sent by the second electronic device in response to the associated information, the response information including the selection information of the third contact, the third contact belonging to the at least one associated contact; The third contact person is determined based on the selection information of the third contact person.
6. The method according to any one of claims 1-5, characterized in that, After generating the target session window, the method further includes: The first electronic device sends the data of the target session window to the second electronic device; The second electronic device displays the target session window on the display screen based on the data of the target session window.
7. A method for updating a session window, characterized in that, Applied to a first electronic device, the method includes: Receive a session request for a second contact, the session request being used to request that the second contact be added to the target session window; Obtain the association information of the second contact; A third contact is determined based on the session request and / or the associated information; Update the target session window to include the third contact; The step of determining the third contact based on the session request and / or the associated information includes: The group name of the target session window is determined based on the session request; The processing items are determined based on the group name. The processing items include multiple process nodes, and different process nodes correspond to different process personnel. The first process node of the processing matter is determined based on the second contact person, and the second contact person is the process personnel corresponding to the first process node. Determine a second process node for the processing item, wherein the second process node is a process node following the first process node; The third contact person is determined based on the second process node.
8. The method as described in claim 7, characterized in that, The session request for the second contact is generated by the second electronic device receiving a session instruction for the second contact. The second electronic device receiving the session instruction for the second contact includes: Receive selection information for function keys; Displays the member list interface of the target session window; Receive selection information for a first button, where the first button is used to add a member to the target session window; Display a contact list, which includes the second contact; Receive selection information for the second contact.
9. The method as described in claim 7, characterized in that, The step of determining the third contact based on the session request and / or the associated information includes: The group name of the target session window is determined based on the session request; The group name is parsed, and the type of processing matter is determined based on the group name. The type of processing matter includes information reporting and task execution. If the processing item type is the information reporting type, then the superior contact of the second contact person is determined, and the superior contact of the second contact person is determined to be the third contact person; If the processing item type is the task execution type, then the subordinate contact of the second contact is determined, and the subordinate contact of the second contact is determined as the third contact.
10. A method for generating a session window, characterized in that, Applied to a second electronic device, wherein a user of the second electronic device corresponds to a first contact in a communication application, the method includes: Upon receiving a conversation instruction from the first contact for the second contact, a conversation request is generated based on the conversation instruction. The conversation request is used to request that the second contact be added to the target conversation window. Send the session request to the first electronic device; The device receives data from the target session window sent by the first electronic device. The data of the target session window is generated when the first electronic device detects that the status of the second contact in the communication application is enabled by adding associated people. The target conversation window is displayed on the screen based on the data of the target conversation window. The target conversation window is a conversation window between the first contact and the third contact. The third contact is an associated contact in the association information of the second contact that matches the status of the second contact. The association information includes the matching relationship between status and contact.
11. The method as described in claim 10, characterized in that, After sending the session request to the first electronic device and before receiving the data of the target session window sent by the first electronic device, the method further includes: The device receives the association information of the second contact sent by the first electronic device, wherein the association information of the second contact includes at least one associated contact. Display the at least one associated contact on the screen; Receive selection information for the third contact among the at least one associated contact; Send the selection information of the third contact to the first electronic device.
12. The method as described in claim 10, characterized in that, The associated contacts of the second contact are obtained through settings on the third electronic device corresponding to the second contact. The steps for setting the associated contacts on the third electronic device include: The method includes: When the third electronic device displays the first display interface, it receives selection information for relationship setting options, wherein the first display interface includes the relationship setting options. A second display interface is displayed on the third electronic device. The second display interface is used to add information about the associated contacts of the second contact. The second display interface includes at least one of the following options: relationship name, select user, user role. Generate option information for each option in the second display interface based on the user's settings. Set the status of adding associated users to enabled; Generate the association information of the second contact person based on the option information corresponding to each option; The association information is sent to the first electronic device, and the association information includes the associated contacts of the second contact.
13. The method as described in claim 10, characterized in that, The display interface includes a first display area corresponding to the second contact, and the receipt of a conversation instruction from the first contact for the second contact includes: A preset operation targeting the first display area was detected.
14. The method as described in claim 13, characterized in that, The preset operation includes any one of the following: Click operations targeting the first display area; Press the first display area for a preset duration; Eye-tracking information for the first display area; Preset voice commands.
15. The method as described in claim 13 or 14, characterized in that, After detecting a preset operation targeting the first display area and before displaying the target session window, the method further includes: The display interface shows a relationship attribute selection interface, which includes at least one relationship option; Receive selection information for a first relationship option among the at least one relationship options, the first relationship option representing the relationship between the second contact and the third contact.
16. The method as described in claim 10, characterized in that, The display interface includes a search input bar, and the receipt of conversation commands for the second contact includes: The identity information of the second contact is received in the search input field.
17. The method according to any one of claims 10-16, characterized in that, After receiving the conversation instruction from the first contact for the second contact, and before displaying the target conversation window, the method further includes: The display interface displays the second contact and a first number of second display areas, each of the first number of second display areas including an associated contact and a corresponding relationship attribute; A selection instruction is received for a second number of display areas, wherein the second number of display areas belong to the first number of display areas; The second number of associated contacts corresponding to the second number of display areas are determined as the third contact.
18. The method as described in claim 17, characterized in that, The receipt of the selection instruction for the second number of display areas includes: Mark the second number of display areas according to the user's settings; Receive the confirmation key command; Generate selection instructions for the second number of display areas.
19. The method as described in claim 16, characterized in that, The display interface further includes a relationship attribute input field. After receiving the identity information of the second contact in the search input field and before displaying the target session window, the method further includes: The first relation attribute information is received in the relation attribute input field.
20. The method as described in claim 19, characterized in that, After receiving the first relation attribute information in the relation attribute input field and before displaying the target session window, the method further includes... Upon receiving a selection instruction for a preset key, the preset key is used to determine the establishment of the target session window based on the information in the search input field and the relationship attribute input field.
21. A device for generating a session window, characterized in that, A server applied to a first electronic device, the first electronic device corresponding to a communication application, comprising: A communication unit is configured to receive a session request initiated by a first contact to a second contact sent by a second electronic device, wherein the user of the second electronic device corresponds to the first contact in the communication application, and the session request is used to request that the second contact be added to a target session window; and to obtain the association information of the second contact if the status of adding associated persons in the communication application of the second contact is enabled. The processing unit is configured to determine a third contact based on the session request and the association information; and to generate the target session window if it is determined based on the session request that the target session window does not currently exist, wherein the target session window is a session window between the first contact and the third contact. The processing unit, when determining the third contact based on the session request and the association information, is specifically configured to: detect the status of the second contact; use the status of the second contact as a query identifier to query the association information and obtain the associated contact that matches the query identifier, wherein the association information includes the matching relationship between status and contact; and determine the associated contact as the third contact.
22. A device for updating a session window, characterized in that, Applied to a first electronic device, including: A communication unit is configured to receive a session request for a second contact, the session request being used to request that the second contact be added to a target session window; and to obtain the associated information of the second contact. The processing unit is configured to determine a third contact based on the session request and / or the associated information; and to update the target session window such that the target session window includes the third contact. The processing unit, when determining the third contact based on the session request and / or the association information, is specifically used for: The group name of the target session window is determined based on the session request; The processing items are determined based on the group name. The processing items include multiple process nodes, and different process nodes correspond to different process personnel. The first process node of the processing matter is determined based on the second contact person, and the second contact person is the process personnel corresponding to the first process node. Determine a second process node for the processing item, wherein the second process node is a process node following the first process node; The third contact person is determined based on the second process node.
23. A device for generating a session window, characterized in that, Applied to a second electronic device, wherein the user of the second electronic device corresponds to a first contact in a communication application, including: The processing unit is configured to generate a session request for the second contact based on the received session instruction from the first contact for the second contact, wherein the session request is used to request that the second contact be added to the target session window; The communication unit sends the session request to the first electronic device; and is used to receive data of a target session window sent by the first electronic device, wherein the data of the target session window is generated by the first electronic device when it detects that the status of the second contact in the communication application for adding associated persons is enabled. The processing unit is further configured to display the target session window on the display screen according to the data of the target session window. The target session window is a session window between the first contact and the third contact. The third contact is an associated contact in the association information of the second contact that matches the status of the second contact. The association information includes the matching relationship between the status and the contact.
24. An electronic device comprising an input device and an output device, characterized in that, Also includes: A processor, adapted to implement one or more instructions; as well as, A computer storage medium storing one or more instructions adapted to be loaded by the processor and executed as described in any one of claims 1-20.
25. A computer storage medium, characterized in that, The computer storage medium stores one or more instructions, which are adapted to be loaded by a processor and executed as described in any one of claims 1-20.