WO2023245946A1 - 用户组的生成方法、装置和电子设备 - Google Patents

用户组的生成方法、装置和电子设备 Download PDF

Info

Publication number
WO2023245946A1
WO2023245946A1 PCT/CN2022/128044 CN2022128044W WO2023245946A1 WO 2023245946 A1 WO2023245946 A1 WO 2023245946A1 CN 2022128044 W CN2022128044 W CN 2022128044W WO 2023245946 A1 WO2023245946 A1 WO 2023245946A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
target
response
group
users
Prior art date
Application number
PCT/CN2022/128044
Other languages
English (en)
French (fr)
Inventor
李欣
Original Assignee
网易(杭州)网络有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 网易(杭州)网络有限公司 filed Critical 网易(杭州)网络有限公司
Publication of WO2023245946A1 publication Critical patent/WO2023245946A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1818Conference organisation arrangements, e.g. handling schedules, setting up parameters needed by nodes to attend a conference, booking network resources, notifying involved parties

Definitions

  • the present disclosure relates to the field of data processing technology, and in particular, to a method, device and electronic device for generating a user group.
  • chat tools creating groups and adding people to groups are common functions for users.
  • the user needs to exit the current session, click the Create Group button, and then select the target person from the friend list to create a new group; if you need to add people to a group, you need to create a new group in the group.
  • Click the Add Member button then select the username of the target person from the friend list, confirm the selection and then add the person to the group.
  • a method for generating a user group which provides a graphical user interface through a terminal device; the graphical user interface includes a session window; the session window displays session records of users in the current user group;
  • the method includes: in response to the user ID and specified keyword appearing in the session record, setting the user ID to an interactive state; wherein the specified keyword is used to indicate the generation of a user group related to the user ID; in response to the third user ID for the user ID
  • One touch operation determine the target members of the target user group to be created, and display the creation control, wherein the target members of the target user group at least include the user corresponding to the user ID; in response to the second touch operation on the creation control, create The target user group containing the target members.
  • determining the members of the target user group to be created, and displaying the creation control includes: in response to the first touch operation on the user identification, displaying A user list that matches the user ID and a creation control; the user list contains the user information of the user that matches the user ID; in response to the selection operation of the target user in the user list, determine the target user group to be created based on the selection operation Target members.
  • the above method further includes: in response to the user identification and the specified keyword appearing in the session record, displaying the user identification in the session record in a specified manner that is distinguished from other content in the session record.
  • the above-mentioned specifying method includes at least one of the following: a highlighting display method; a display method including the target color; and a display method including underlining.
  • the above-mentioned step of displaying a list of users matching the user's identity in response to the first touch operation on the user's identity includes: in response to the first touch operation on the user's identity, from a preset database Query users matching user IDs, and display the queried users in the user list; wherein, the default database contains user IDs and user information of users related to users in the current user group.
  • the above-mentioned step of querying users matching the user identification from the preset database and displaying the queried users in the user list includes: querying the preset database for users matching the user identification. User, obtain multiple matching users; sort the matching users according to the degree of matching between the matching users and the users corresponding to the session records; display the matching users in the user list based on the sorting results.
  • the above-mentioned current user group contains two members or more than three members.
  • the above step of determining the target members of the target user group to be created in response to the first touch operation on the user identification includes: in response to the first touch operation on the user identification, determining the user Identify the corresponding users and members of the current user group as target members.
  • the step of creating a target user group containing target members in response to the second touch operation of the creation control includes: responding to the second touch operation of the creation control, identifying the corresponding user Join the current user group to obtain a target user group containing target members; or, in response to the second touch operation on the creation control, create a new target user group containing target members.
  • the above user symbol is a user avatar.
  • the above method further includes: when the contact point of the drag operation in the graphical user interface reaches the edge of the session window, controlling the session record in the session window to scroll.
  • the above-mentioned determining the target members of the target user group to be created in response to the first touch operation on the user identification includes: in response to the first touch operation on the user identification, The users corresponding to the session records within the preset range in the session records are determined to be the target members of the target user group to be created.
  • a device for generating a user group which provides a graphical user interface through a terminal device; the graphical user interface includes a session window; the session window displays session records of users in the current user group;
  • the device includes: a status setting module, configured to set the user ID to an interactive state in response to the user ID and specified keyword appearing in the session record; wherein the specified keyword is used to indicate the generation of a user group related to the user ID; members a determination module, configured to determine the target members of the target user group to be created in response to the first touch operation on the user identification, and display the creation control, wherein the target members of the target user group at least include the user corresponding to the user identification;
  • a user group creation module is configured to create a target user group containing target members in response to a second touch operation on the creation control.
  • a computer-readable storage medium stores computer-executable instructions.
  • the computer-executable instructions When the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause The processor implements the above method for generating user groups.
  • This method can create a new user group without repeatedly jumping to the session. User groups and pulling people to join user groups; at the same time, this method does not require manual search for users, and can quickly match users through user IDs, making the operation of generating user groups quick and simple, which helps to improve the user experience.
  • Figure 1 is a flow chart of a method for generating a user group provided by an embodiment of the present disclosure
  • Figure 2 is a flow chart of another user group generation method provided by an embodiment of the present disclosure.
  • Figure 3 is a schematic diagram of a new user group provided by an embodiment of the present disclosure.
  • Figure 4 is a schematic diagram of inviting a user to join an existing user group according to an embodiment of the present disclosure
  • Figure 6 is a flow chart of another user group generation method provided by an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • chat tools creating groups and adding people to groups are common functions for users.
  • the name of a certain key person will be mentioned in the chat, and the saying is to invite someone to join the group. Find someone to join the group to discuss.
  • the above-mentioned method of establishing a group and recruiting people into the group has a long process and requires repeated conversation jumps, which is complex and affects the user experience.
  • embodiments of the present disclosure provide a method, device, and electronic device for generating a user group; this technology can be applied in scenarios of recruiting people into a group or creating a new group.
  • the method for generating a user group can be run on a terminal device or a server.
  • the terminal device may be a local terminal device.
  • the local terminal device is used to interact with the user through a graphical user interface.
  • the local terminal device may provide the graphical user interface to the user in a variety of ways.
  • the local terminal device may render a graphical user interface displayed on the terminal.
  • the local terminal device may include a display screen for presenting a graphical user interface and a processor.
  • an embodiment of the present disclosure provides a method for generating a user group, providing a graphical user interface through a terminal device; the graphical user interface includes a session window; the session window displays the current user group
  • the session record of the user as shown in Figure 1, the method includes the following specific steps:
  • Step S102 In response to the appearance of the user ID and the specified keyword in the session record, the user ID is set to an interactive state; the specified keyword is used to instruct the generation of a user group related to the user ID.
  • the session window included in the graphical user interface is usually a window where users in the current user group chat.
  • the session window contains session records (that is, chat records), and the session users corresponding to each session record.
  • the conversation window corresponding to the current user group can be a private chat window composed of two users, or it can be a group chat window corresponding to a certain group.
  • the above-mentioned user identification can be the user's name, nickname, email address or work account, etc., which is not specifically limited here.
  • the above specified keywords are usually words and phrases related to the user group that generates the user ID. They can be words and phrases related to a new user group, and they can also be words and phrases related to attracting people to join a certain user group.
  • the designated keywords can be "Join the group”, “Join the group”, “Invite to the group”, "Create a new group” or "Create another group” etc.
  • speech recognition technology or text recognition technology can be used to identify whether the user ID and specified keywords appear in the current session record. If the user ID and specified keywords appear in the current session record, the user ID is immediately set to Interactive state; the user can touch the user ID in the interactive state to determine the target members of the target user group to be created.
  • Step S104 In response to the first touch operation on the user identification, determine the target members of the target user group to be created, and display the creation control, where the target members of the target user group at least include the user corresponding to the user identification.
  • the above-mentioned first touch operation on the user identification may be a click operation, sliding operation or drag operation on the user identification, which is not specifically limited here.
  • the target user matching the user identification is determined as the target member, and a creation control is displayed.
  • the creation control can be one creation control corresponding to one target member, or it can only be displayed A creation control.
  • all target users matching the user identification can be determined as target members, or one or more users can be selected from the target users as target members according to needs.
  • users in the current user group can also be determined as target members.
  • Step S106 In response to the second touch operation on the creation control, create a target user group including target members.
  • the above-mentioned second control operation for creating a control may be a click operation, a sliding operation, a dragging operation, etc., which are not specifically limited here.
  • a target user corresponds to a create control
  • touching the create control will determine the target user as a target member, and create a target user group containing the target member; if only one create control is displayed, Touch the create control to create a target group containing the identified target members.
  • the above current user group contains two members or more than three members. If the current user group contains two members, the current user group is a private chat session. If the current user group contains more than three members, the current user group is a group chat session.
  • the user corresponding to the user identification in response to the first touch operation on the user identification, it is determined that the user corresponding to the user identification and the members of the current user group are the target members; and then in response to the second touch operation on the creation control, the user The user corresponding to the identification is added to the current user group to obtain a target user group containing the target members; or, in response to the second touch operation on the creation control, a new target user group containing the target members is created.
  • This method can quickly complete the creation of groups and attract people into the group in the conversation chat. It can help users quickly match the users who need to be invited without manual search and addition. This method can be operated quickly and reduces the need to create user groups and recruit people in related technologies. Jump into the group.
  • the present disclosure provides a method for generating a user group.
  • the user ID is set to an interactive state; where the specified keyword is used to instruct the generation of users related to the user ID. group; and then in response to the first touch operation on the user identification, determine the target members of the target user group to be created, and display the creation control, wherein the target members of the target user group at least include the user corresponding to the user identification; and then respond For the second touch operation of the creation control, create a target user group containing the target members.
  • This method can invite the user corresponding to the user ID to create a new user group or join the current user group in the current session window based on the user ID and specified keywords that appear in the session record.
  • This method can create a new user group without repeatedly jumping to the session.
  • User groups and pulling people to join user groups; at the same time, this method does not require manual search for users, and can quickly match users through user IDs, making the operation of generating user groups quick and simple, which helps to improve the user experience.
  • the embodiment of the present disclosure also provides another method for generating a user group.
  • This method is implemented on the basis of the above embodiment. This method focuses on setting the user identification to be available in response to the user identification and specified keywords appearing in the session record.
  • the specific process of the interaction state (implemented through the following step S202), and in response to the first touch operation for the user identification, determine the target members of the target user group to be created, and display the specific process of creating the control (through the following steps S204-S206 implementation), as shown in Figure 2, the method includes the following specific steps:
  • Step S202 in response to the user identification and specified keyword appearing in the session record, display the user identification in the session record in a designated manner that is different from other content in the session record, so that the user identification is set to an interactive state.
  • the above specified method can be set according to research and development needs.
  • the designation method includes at least one of the following: a highlighted display method; a display method including a target color; and a display method including underlines.
  • the above target color can be set according to research and development needs.
  • the target color can be red, yellow or green, etc.
  • Step S204 in response to the first touch operation on the user identification, display a user list matching the user identification and create a control; the user list contains user information of the user matching the user identification.
  • a user list When the user touches the user logo, a user list will pop up immediately on the session window (the user list is usually not displayed in the session window, and a new window, that is, a new layer, pops up), which contains There is user information of the user that matches the user ID.
  • the user information may include the user's name, the department to which the user belongs, the user's nickname, etc.
  • the controls created above can be displayed in the user list, or they can be displayed outside the user list in the graphical user interface.
  • the above-mentioned step S204 can also be implemented in the following manner: in response to the first touch operation for the user identification, query the users matching the user identification from the preset database, and display the queried users on the user interface.
  • the preset database contains user IDs and user information of users related to users in the current user group.
  • the users related to the users in the current user group can be users in the same company, the same department or the same team as the users in the current user group, or they can be friends in the friend list of the users in the current user group. wait.
  • the user ID that appears in the session record of the current user group is usually the user ID contained in the default database, that is, the user ID and specified keywords included in the default database appear in the session record.
  • the user ID can be set to an interactive state; where, through technologies such as intelligent comparison or semantic recognition, it can be identified whether the session record contains the user ID included in the preset database. Then the user performs a touch operation (for example, click operation or drag operation, etc.) on the user identification, and a user list will pop up. The user list displays users that are queried from the preset database and match the user identification.
  • the above-mentioned specific process of querying the users matching the user identification from the preset database and displaying the queried users in the user list includes: querying the users matching the user identification from the preset database to obtain multiple matching users; sort the matching users according to the degree of matching between the matching users and the users corresponding to the session records; display the matching users in the user list based on the sorting results.
  • the users corresponding to the above conversation records are the users whose user IDs and specified keywords are involved in the conversation content.
  • the matching degree can be understood as intimacy or relevance. Matching users can usually be sorted in order from high to low matching degree. , the sorting results are obtained, so that the user can quickly find the members the user needs from the user list.
  • Step S206 In response to a selection operation for the target user in the user list, determine the target members of the target user to be created based on the selection operation.
  • the above selection operation for the target user in the user list can be the operation of the user clicking on the user information in the user list, and determining the user corresponding to the clicked user information as the target member; it can also be the operation of triggering the corresponding user information in the user list The operation of the selection control, and determines the user corresponding to the triggered selection control as the target member.
  • some or all users in the current user group corresponding to the session record may be determined as target members by default.
  • Step S208 In response to the second touch operation on the creation control, create a target user group including target members.
  • the create control will create a new target user group containing the target member and two users in the current user group. . If the current user group is a group chat session, then after selecting the target member in the user list, touching the create control will pull the target member into the current user group. The current user group after the target member is pulled in is also the target user. Group.
  • the above user list can also be understood as a control panel containing user information of the user. By triggering a user in the control panel, the user can be selected. After selecting the user, a user list containing the user can be generated. user group. If the conversation window corresponding to the current user group is a private chat window, then the created target user group is a new user group containing the selected users and the users corresponding to the current user group; if the current user group is a group, then create The target user group is still the current user group. It just pulls the selected users into the current user group so that the current user group contains the selected users.
  • the above-mentioned user list includes user information of users matching user identities, and invitation controls corresponding to each user; the specific implementation of the above-mentioned steps S206-S208 may be: responding to the target in the user list The trigger operation of the invitation control corresponding to the user creates a target user group that contains the target user and users in the current user group.
  • the above-mentioned invitation control may be a control for creating a new group corresponding to the user and inviting the user. Through the invitation control, the user corresponding to the first control may be invited to create a new user group. As shown in Figure 3, a schematic diagram for creating a new user group is provided. The private chat window between Zhang San and Li Si is shown in the conversation window in Figure 3.
  • Li Si’s conversation record is "Pull Xiao A to create a new group and discuss it.” ", since it is recognized that "little A” in the session record is the user ID and "new group” is the designated keyword, at this time, "little A” will be underlined in the session record (as shown on the left in Figure 3 ) to set the "little A” in the session record to an interactive state, as shown in the middle picture in Figure 3. Click “little A” to pop up the user list in the session window. At this time, there may be If there are multiple users with the same name, then the users matching the user ID need to be displayed in the user list in order from high to low matching degree. Each user in the user list also corresponds to the "New Group and Invite" control.
  • the users corresponding to the multiple user IDs will be displayed in the pop-up user list.
  • one business card can also display only one user, and one user corresponds to one invitation control (the form of the user list in Figure 3 is also one business card corresponding to one user and one invitation control).
  • the above-mentioned invitation control can also be a control corresponding to the user to invite the user to join the group.
  • the user corresponding to the invitation control can be invited to join the current user group.
  • FIG 4 a schematic diagram for inviting users to join existing user groups is provided.
  • the group chat window between Zhang San and Li Si is shown in the conversation window in Figure 4.
  • Li Si’s conversation record is “It has been discussed to bring Xiao A into the group.” Since it is recognized that “Little A” in the conversation record is the user ID, "Join the group" is the designated keyword.
  • the user wants to invite multiple people to the current group (equivalent to the current user group) at the same time, at this time, it will be displayed in the pop-up user list.
  • the IDs corresponding to multiple user IDs can be displayed in one business card at the same time, and one business card corresponds to one invitation control; if there are duplicate names, multiple users can be displayed in a combined manner. business cards, so that each business card contains a user corresponding to each user ID in multiple user IDs, but each business card contains at least one different user. At this time, you can click the invitation control corresponding to the user you want to invite, so that you can invite multiple users in the business card corresponding to the invitation control to join the current group.
  • one business card can also display only one user, and one user corresponds to a second control (the form of the user list in Figure 4 is also one business card corresponding to one user and one invitation control).
  • the method for generating the above user group can be to set the user ID to an interactive state in the current session window based on the user ID and specified keywords that appear in the session record, and then touch the user ID to invite users corresponding to the user ID to create Target user group, this method does not require manual search for users, and can quickly match users through user IDs, making the operation of generating user groups quick and simple, which helps improve user experience.
  • the embodiment of the present disclosure also provides another method for generating a user group, which method is implemented on the basis of the above embodiment.
  • the method focuses on determining the target user group to be created in response to the first touch operation on the user identification.
  • the specific process of target members (through the following step S504), as shown in Figure 5, the method includes the following specific steps:
  • Step S502 In response to the user identification and specified keyword appearing in the session record, the user identification is set to an interactive state.
  • Step S504 In response to the drag operation on the user identification, determine the user corresponding to the user symbol and the user corresponding to the user identification passed by the touch point of the drag operation in the graphical user interface as the target member of the target user group to be created.
  • the above-mentioned user symbols may be user names, user avatars, user nicknames, etc. displayed in the user interface.
  • the user corresponding to the user's avatar and the user corresponding to the user ID that the drag operation passes through in the graphical user interface in the session record can be determined as the target member.
  • the above step S504 can be implemented through the subordinate steps 10-11:
  • Step 10 In response to the drag operation on the user identification, determine the user corresponding to the user symbol passed by the contact point of the drag operation in the graphical user interface.
  • Step 11 In response to the end of the drag operation, determine the user corresponding to the user symbol and the user corresponding to the user ID that the touch point of the drag operation passes through in the graphical user interface as the target member of the target user group to be created.
  • a user list may be popped up at the end of the drag operation, and the target users matching the user ID may be displayed in the user list. The user makes a selection, thereby identifying the selected user as a subset of the target members.
  • the session records in the session window are controlled to scroll.
  • the session record scrolls in the session window, which facilitates the user to select the target member from the session record.
  • Step S506 Display the creation control.
  • the creation control can be displayed in the graphical user interface after the target member is determined, or the creation control can be displayed when the user ID is dragged.
  • Step S508 In response to the second touch operation on the creation control, create a target user group including target members.
  • the above user group generation method can quickly create user groups in conversational chats without manual search and addition, and can help users quickly match users who need to be invited.
  • This method can be quickly operated and reduces the number of new user groups and the number of new user groups in related technologies. Jump to add people to the group.
  • the embodiment of the present disclosure also provides another method for generating a user group.
  • This method is implemented on the basis of the above embodiment.
  • the method focuses on determining the target user group to be created in response to the first touch operation on the user identification.
  • the specific process of target members (through the following step S604), as shown in Figure 6, the method includes the following specific steps:
  • Step S602 In response to the user identification and specified keyword appearing in the session record, the user identification is set to an interactive state.
  • Step S604 In response to the first touch operation on the user identification, determine the users corresponding to the session records within the preset range in the session record where the user identification is located as the target members of the target user group to be created.
  • the above-mentioned preset range can be the session range currently displayed in the graphical user interface in the session record; the above-mentioned preset range can also be the session content at a specified position in the session record, or it can be the last dozens or dozen items in the session record.
  • the conversation content is not specifically limited here and can be set according to research and development needs.
  • Step S606 Display the creation control.
  • the creation control can be displayed in the graphical user interface after the target member is determined, or the creation control can be displayed when the first triggering operation is performed on the user identification.
  • Step S608 In response to the second touch operation on the creation control, create a target user group including target members.
  • modified target members may also be obtained in response to a modification operation on the determined target members; and then in response to a second touch operation on the creation control, a target user group containing the modified target members may be created.
  • This method provides the function of modifying target members, allowing users to add people to user groups or create new groups according to their own needs, which can improve user experience.
  • the above method of generating user groups can create new user groups and add people to user groups without repeatedly jumping sessions. At the same time, this method does not require manual search for users, and can quickly match users through user IDs, making the operation of generating user groups quick and easy. Simple and helps improve user experience.
  • embodiments of the present disclosure provide a device for generating a user group, which provides a graphical user interface through a terminal device; the graphical user interface includes a session window; the session window displays the users in the current user group session records; as shown in Figure 7, the device includes:
  • the status setting module 70 is configured to set the user ID to an interactive state in response to the user ID and the specified keyword appearing in the session record; wherein the specified keyword is used to indicate the generation of a user group related to the user ID.
  • the member determination module 71 is configured to determine the target members of the target user group to be created in response to the first touch operation on the user identification, and display the creation control, wherein the target members of the target user group at least include the user identification corresponding to user.
  • the user group creation module 72 is configured to create a target user group containing target members in response to the second touch operation on the creation control.
  • the above-mentioned user group generation device first responds to the user ID and specified keywords appearing in the session record, and sets the user ID to an interactive state; wherein the specified keyword is used to indicate the generation of a user group related to the user ID; and then responds to For the first touch operation of the user ID, determine the target members of the target user group to be created, and display the creation control, wherein the target members of the target user group at least include the user corresponding to the user ID; and then respond to the third touch operation for the creation control.
  • This method can create a new user group without repeatedly jumping to the session. User groups and pulling people to join user groups; at the same time, this method does not require manual search for users, and can quickly match users through user IDs, making the operation of generating user groups quick and simple, which helps to improve the user experience.
  • the above-mentioned status setting module 70 is also configured to: in response to the user identification and specified keywords appearing in the session record, display the user identification in the session record in a specified manner that is different from other content in the session record.
  • the above-mentioned specifying method includes at least one of the following: a highlighting display method; a display method including the target color; and a display method including underlining.
  • the above-mentioned member determination module 71 is also configured to: in response to the first touch operation on the user identification, query the users matching the user identification from the preset database, and display the queried users in the user list; wherein , the default database contains user IDs and user information of users related to users in the current user group.
  • the current user group contains two members or more than three members.
  • the above-mentioned member determination module 71 is also configured to: in response to the first touch operation on the user identification, determine the user corresponding to the user identification and the members in the current user group as the target members.
  • the above-mentioned user group creation module 72 is used to: respond to the second touch operation for the creation control, add the user corresponding to the user ID to the current user group, and obtain a target user group containing the target members; or respond to the third touch operation for the creation control. Two-touch operation to create a new target user group containing target members.
  • the first touch operation includes a drag operation
  • the above-mentioned member determination module 71 is configured to: respond to the drag operation on the user identification, and correspond the user symbol passed by the touch point of the drag operation in the graphical user interface.
  • the users and the users corresponding to the user IDs are determined as the target members of the target user group to be created.
  • the above-mentioned member determination module 71 is also used to: respond to the drag operation for the user identification, determine the user corresponding to the user symbol passed by the contact point of the drag operation in the graphical user interface; respond to the end of the drag operation, The user corresponding to the user symbol and the user corresponding to the user ID passed by the contact point of the drag operation in the graphical user interface are determined to be the target members of the target user group to be created.
  • the above-mentioned user symbol is a user avatar.
  • the above-mentioned device also includes a modification module, configured to: respond to the modification operation on the determined target member, obtain the modified target member; the above-mentioned user group creation module 72 is also configured to: respond to the second touch on the creation control. Action to create a target user group containing the modified target members.
  • An embodiment of the present disclosure also provides an electronic device.
  • the electronic device includes a processor and a memory.
  • the memory stores machine-executable instructions that can be executed by the processor.
  • the processor executes the machine-executable instructions. To implement the above user group generation method.
  • a graphical user interface is provided through the terminal device; the graphical user interface includes a session window; the session window displays session records of users in the current user group; the method includes: responding to the user identification and designation appearing in the session record Keyword, set the user identification to an interactive state; wherein, the specified keyword is used to indicate the generation of a user group related to the user identification; in response to the first touch operation for the user identification, determine the target of the target user group to be created members, and display the creation control, where the target members of the target user group at least include users corresponding to the user IDs; in response to the second touch operation on the creation control, create a target user group containing the target members.
  • the above user group can be generated in the current session window by inviting users corresponding to the user ID to create a new user group or join the current user group based on the user ID and specified keywords that appear in the session record.
  • This method does not require repeated session jumps. You can create new user groups and add people to user groups; at the same time, this method does not require manual search for users, and can quickly match users through user IDs, making the operation of generating user groups quick and simple, which helps improve user experience.
  • determining the members of the target user group to be created, and displaying the creation control includes: in response to the first touch operation on the user identification, displaying A user list that matches the user ID and a creation control; the user list contains the user information of the user that matches the user ID; in response to the selection operation of the target user in the user list, determine the target user group to be created based on the selection operation Target members.
  • the above method further includes: in response to the user identification and the specified keyword appearing in the session record, displaying the user identification in the session record in a specified manner that is distinguished from other content in the session record.
  • the above-mentioned specifying method includes at least one of the following: a highlighting display method; a display method including the target color; and a display method including underlining.
  • the above-mentioned step of displaying a list of users matching the user's identity in response to the first touch operation on the user's identity includes: in response to the first touch operation on the user's identity, from a preset database Query users matching user IDs, and display the queried users in the user list; wherein, the default database contains user IDs and user information of users related to users in the current user group.
  • the above-mentioned step of querying users matching the user identification from the preset database and displaying the queried users in the user list includes: querying the preset database for users matching the user identification. User, obtain multiple matching users; sort the matching users according to the degree of matching between the matching users and the users corresponding to the session records; display the matching users in the user list based on the sorting results.
  • the above-mentioned current user group contains two members or more than three members.
  • the above step of determining the target members of the target user group to be created in response to the first touch operation on the user identification includes: in response to the first touch operation on the user identification, determining the user Identify the corresponding users and members of the current user group as target members.
  • the step of creating a target user group containing target members in response to the second touch operation of the creation control includes: responding to the second touch operation of the creation control, identifying the corresponding user Join the current user group to obtain a target user group containing target members; or, in response to the second touch operation on the creation control, create a new target user group containing target members.
  • the above-mentioned first touch operation includes a drag operation
  • the step of determining the target members of the target user group to be created includes: responding to the user identification According to the drag operation, the user corresponding to the user symbol and the user corresponding to the user ID passed by the contact point of the drag operation in the graphical user interface are determined as the target members of the target user group to be created.
  • the user corresponding to the user symbol and the user corresponding to the user identification passed by the touch point of the drag operation in the graphical user interface are determined as the target user to be created
  • the steps of identifying the target member of the group include: responding to the drag operation on the user identification, determining the user corresponding to the user symbol passed by the contact point of the drag operation in the graphical user interface; responding to the end of the drag operation, placing the drag operation on The user corresponding to the user symbol and the user corresponding to the user ID passed by the touch point in the graphical user interface are determined as the target members of the target user group to be created.
  • the above user symbol is a user avatar.
  • the above method further includes: when the contact point of the drag operation in the graphical user interface reaches the edge of the session window, controlling the session record in the session window to scroll.
  • the above-described step of determining the target members of the target user group to be created in response to the first touch operation on the user identification includes: in response to the first touch operation on the user identification, determining where the user identification is located.
  • the users corresponding to the session records within the preset range in the session records are determined to be the target members of the target user group to be created.
  • the above method further includes: responding to a modification operation on the determined target member, obtaining the modified target member; and responding to the second touch operation of the creation control, creating a target user group containing the target member. , including: in response to a second touch operation on the creation control, creating a target user group containing the modified target members.
  • the electronic device shown in Figure 8 also includes a bus 102 and a communication interface 103.
  • the processor 101, the communication interface 103 and the memory 100 are connected through the bus 102.
  • the memory 100 may include high-speed random access memory (RAM, Random Access Memory), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
  • RAM random access memory
  • non-volatile memory non-volatile memory
  • the communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which can be wired or wireless), and the Internet, wide area network, local network, metropolitan area network, etc. can be used.
  • the bus 102 may be an ISA bus, a PCI bus, an EISA bus, etc.
  • the bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one bidirectional arrow is used in Figure 8, but it does not mean that there is only one bus or one type of bus.
  • the processor 101 may be an integrated circuit chip with signal processing capabilities. During the implementation process, each step of the above method can be completed by instructions in the form of hardware integrated logic circuits or software in the processor 101 .
  • the above-mentioned processor 101 can be a general-purpose processor, including a central processing unit (Central Processing Unit, referred to as CPU), a network processor (Network Processor, referred to as NP), etc.; it can also be a digital signal processor (Digital Signal Processing, referred to as DSP). ), Application Specific Integrated Circuit (ASIC for short), Field-Programmable Gate Array (FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.
  • CPU Central Processing Unit
  • NP Network Processor
  • DSP Digital Signal Processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
  • the steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly implemented by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other mature storage media in this field.
  • the storage medium is located in the memory 100.
  • the processor 101 reads the information in the memory 100 and completes the steps of the method in the foregoing embodiment in combination with its hardware.
  • Embodiments of the present disclosure also provide a computer-readable storage medium that stores computer-executable instructions.
  • the computer-executable instructions When the computer-executable instructions are called and executed by the processor, the computer-executable instructions cause the processor to To implement the method for generating the above user group, please refer to the method embodiments for specific implementation, which will not be described again here.
  • a graphical user interface is provided through the terminal device; the graphical user interface includes a session window; the session window displays session records of users in the current user group; the method includes: responding to the user identification and designation appearing in the session record Keyword, set the user identification to an interactive state; wherein, the specified keyword is used to indicate the generation of a user group related to the user identification; in response to the first touch operation for the user identification, determine the target of the target user group to be created member, and display the creation control, wherein the target members of the target user group at least include the user corresponding to the user ID; in response to the second touch operation on the creation control, create a target user group containing the target member.
  • the above user group can be generated in the current session window by inviting users corresponding to the user ID to create a new user group or join the current user group based on the user ID and specified keywords that appear in the session record.
  • This method does not require repeated session jumps. You can create new user groups and add people to user groups; at the same time, this method does not require manual search for users, and can quickly match users through user IDs, making the operation of generating user groups quick and simple, which helps improve user experience.
  • determining the members of the target user group to be created, and displaying the creation control includes: in response to the first touch operation on the user identification, displaying A user list that matches the user ID and a creation control; the user list contains the user information of the user that matches the user ID; in response to the selection operation of the target user in the user list, determine the target user group to be created based on the selection operation Target members.
  • the above method further includes: in response to the user identification and the specified keyword appearing in the session record, displaying the user identification in the session record in a specified manner that is distinguished from other content in the session record.
  • the above-mentioned specifying method includes at least one of the following: a highlighting display method; a display method including the target color; and a display method including underlining.
  • the above-mentioned step of displaying a list of users matching the user's identity in response to the first touch operation on the user's identity includes: in response to the first touch operation on the user's identity, from a preset database Query users matching user IDs, and display the queried users in the user list; wherein, the default database contains user IDs and user information of users related to users in the current user group.
  • the above-mentioned step of querying users matching the user identification from the preset database and displaying the queried users in the user list includes: querying the preset database for users matching the user identification. User, obtain multiple matching users; sort the matching users according to the degree of matching between the matching users and the users corresponding to the session records; display the matching users in the user list based on the sorting results.
  • the above-mentioned current user group contains two members or more than three members.
  • the above step of determining the target members of the target user group to be created in response to the first touch operation on the user identification includes: in response to the first touch operation on the user identification, determining the user Identify the corresponding users and members of the current user group as target members.
  • the step of creating a target user group containing target members in response to the second touch operation of the creation control includes: responding to the second touch operation of the creation control, identifying the corresponding user Join the current user group to obtain a target user group containing target members; or, in response to the second touch operation on the creation control, create a new target user group containing target members.
  • the above-mentioned first touch operation includes a drag operation
  • the step of determining the target members of the target user group to be created includes: responding to the user identification According to the drag operation, the user corresponding to the user symbol and the user corresponding to the user ID passed by the contact point of the drag operation in the graphical user interface are determined as the target members of the target user group to be created.
  • the user corresponding to the user symbol and the user corresponding to the user identification passed by the touch point of the drag operation in the graphical user interface are determined as the target user to be created
  • the steps of identifying the target member of the group include: responding to the drag operation on the user identification, determining the user corresponding to the user symbol passed by the contact point of the drag operation in the graphical user interface; responding to the end of the drag operation, placing the drag operation on The user corresponding to the user symbol and the user corresponding to the user ID passed by the touch point in the graphical user interface are determined as the target members of the target user group to be created.
  • the above user symbol is a user avatar.
  • the above method further includes: when the contact point of the drag operation in the graphical user interface reaches the edge of the session window, controlling the session record in the session window to scroll.
  • the above-mentioned determining the target members of the target user group to be created in response to the first touch operation on the user identification includes: in response to the first touch operation on the user identification, The users corresponding to the session records within the preset range in the session records are determined to be the target members of the target user group to be created.
  • the above method further includes: responding to a modification operation on the determined target member, obtaining the modified target member; and responding to the second touch operation of the creation control, creating a target user group containing the target member. , including: in response to a second touch operation on the creation control, creating a target user group containing the modified target members.
  • the computer software product is stored in a storage medium and includes several Instructions are used to cause a computer device (which may be a personal computer, terminal device, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present disclosure.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code. .

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种用户组的生成方法,包括:响应于会话记录中出现用户标识和指定关键词,将用户标识设置为可交互状态;响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员,并且显示创建控件;响应针对创建控件的第二触控操作,创建包含目标成员的目标用户组。该方法可以在当前会话窗口中,根据会话记录中出现的用户标识和指定关键词,邀请用户标识对应的用户新建一个用户组或者加入当前用户组,无需反复跳转会话,即可实现新建用户组和拉人加入用户组;同时,无需手动搜索用户,可通过用户标识快速匹配用户,使得生成用户组的操作快捷简单,有助于提升用户体验。

Description

用户组的生成方法、装置和电子设备
相关申请的交叉引用
本公开要求于2022年06月24日提交的申请号为202210730338.7、名称为“用户组的生成方法、装置和电子设备”的中国专利申请的优先权,该中国专利申请的全部内容通过引用全部并入全文。
技术领域
本公开涉及数据处理技术领域,尤其是涉及一种用户组的生成方法、装置和电子设备。
背景技术
在聊天工具中,建群和拉人入群是用户常用功能。相关技术中,如果新建一个群组,需要用户退出当前会话,点击创建群组按钮,然后从好友列表中选择目标人物,新建一个群组;如果需要拉人入某群组,需要在该群组中点击新增成员按钮,然后从好友列表中选择目标人物的用户名,确定选择后将该人拉入群组中。上述建群和拉人入群的方式,流程较长,且需要反复跳转会话,操作复杂,影响用户体验。
发明内容
根据本公开的一个方面,提供了一种用户组的生成方法,通过终端设备提供一图形用户界面;该图形用户界面中包括会话窗口;该会话窗口中显示有当前用户组中用户的会话记录;该方法包括:响应于会话记录中出现用户标识和指定关键词,将用户标识设置为可交互状态;其中,指定关键词用于指示生成与用户标识相关的用户组;响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员,并且显示创建控件,其中,目标用户组的目标成员中至少包含用户标识对应的用户;响应针对创建控件的第二触控操作,创建包含目标成员的目标用户组。
在可选的实施方式中,上述响应于针对用户标识的第一触控操作,确定待创建的目标用户组的成员,并且显示创建控件包括:响应于针对用户标识的第一触控操作,显示与用户标识相匹配的用户列表以及创建控件;用户列表中包含有与用户标识相匹配的用户的用户信息;响应针对用户列表中目标用户的选择操作,根据选择操作确定待创建的目标用户组的目标成员。
在可选的实施方式中,上述方法还包括:响应于会话记录中出现用户标识和指定关键词,在会话记录中,以与会话记录中其他内容相区别的指定方式显示用户标识。
在可选的实施方式中,上述指定方式包括以下至少一项:高亮的显示方式;包含目标颜色的显示方式;包含下划线的显示方式。
在可选的实施方式中,上述响应于针对用户标识的第一触控操作,显示与用户标识相匹配的用户列表的步骤,包括:响应针对用户标识的第一触控操作,从预设数据库中查询与用户标识相匹配的用户,将查询到的用户显示在用户列表中;其中,预设数据库中包含有与当前用户组中用户相关的用户的用户标识和用户信息。
在可选的实施方式中,上述从预设数据库中查询与用户标识相匹配的用户,将查询到的用户显示在用户列表中的步骤,包括:从预设数据库中查询与用户标识相匹配的用户,得到多个匹配用户;按照匹配用户与会话记录对应的用户的匹配度,对匹配用户进行排序;根据排序结果,在用户列表中显示匹配用户。
在可选的实施方式中,上述当前用户组包含两个成员或者包含三个以上的成员。
在可选的实施方式中,上述响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员的步骤,包括:响应于针对用户标识的第一触控操作,确定用户标识对应的用户,以及当前用户组中的成员为目标成员。
在可选的实施方式中,上述响应针对创建控件的第二触控操作,创建包含目标成员的目标用户组的步骤,包括:响应针对创建控件的第二触控操作,将用户标识对应的用户加入当前用户组中,得到包含目标成员的目标用户组;或者,响应针对创建控件的第二触控操作,新建包含目标成员的目标用户组。
在可选的实施方式中,上述第一触控操作包括拖动操作,响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员的步骤,包括:响应针对用户标识的拖动操作,将拖动操作在图形用户界面中的触点经过的用户符号对应的用户以及用户标识对应的用户确定为待创建的目标用户组的目标成员。
在可选的实施方式中,上述响应针对用户标识的拖动操作,将拖动操作在图形用户界面中的触点经过的用户符号对应的用户以及用户标识对应的用户确定为待创建的目标用户组的目标成员的步骤, 包括:响应针对用户标识的拖动操作,确定拖动操作在图形用户界面中的触点经过的用户符号对应的用户;响应拖动操作的结束,将拖动操作在图形用户界面中的触点经过的用户符号对应的用户以及用户标识对应的用户确定为待创建的目标用户组的目标成员。
在可选的实施方式中,上述用户符号为用户头像。
在可选的实施方式中,上述方法还包括:当拖动操作在图形用户界面中的触点到达会话窗口的边缘时,控制会话窗口中的会话记录进行滚动。
在可选的实施方式中,上述响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员,包括:响应于针对用户标识的第一触控操作,将用户标识所在会话记录中预设范围内的会话记录分别对应的用户确定为待创建的目标用户组的目标成员。
在可选的实施方式中,上述方法还包括:响应针对确定的目标成员的修改操作,获得修改后的目标成员;上述响应针对创建控件的第二触控操作,创建包含目标成员的目标用户组,包括:响应针对创建控件的第二触控操作,创建包含修改后的目标成员的目标用户组。
根据本公开的一个方面,提供了一种用户组的生成装置,通过终端设备提供一图形用户界面;该图形用户界面中包括会话窗口;该会话窗口中显示有当前用户组中用户的会话记录;该装置包括:状态设置模块,用于响应于会话记录中出现用户标识和指定关键词,将用户标识设置为可交互状态;其中,指定关键词用于指示生成与用户标识相关的用户组;成员确定模块,用于响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员,并且显示创建控件,其中,目标用户组的目标成员中至少包含用户标识对应的用户;用户组创建模块,用于响应针对创建控件的第二触控操作,创建包含目标成员的目标用户组。
根据本公开的一个方面,提供了一种电子设备,该电子设备包括处理器和存储器,该存储器存储有能够被处理器执行的机器可执行指令,该处理器执行机器可执行指令以实现上述用户组的生成方法。
根据本公开的一个方面,提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令在被处理器调用和执行时,该计算机可执行指令促使处理器实现上述用户组的生成方法。
本公开实施例带来了以下有益效果:
本公开提供的一种用户组的生成方法、装置和电子设备,首先响应于会话记录中出现用户标识和指定关键词,将用户标识设置为可交互状态;其中,指定关键词用于指示生成与用户标识相关的用户组;进而响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员,并且显示创建控件,其中,目标用户组的目标成员中至少包含用户标识对应的用户;然后响应针对创建控件的第二触控操作,创建包含目标成员的目标用户组。该方式可以在当前会话窗口中,根据会话记录中出现的用户标识和指定关键词,邀请用户标识对应的用户新建一个用户组或者加入当前用户组,该方式无需反复跳转会话,即可实现新建用户组和拉人加入用户组;同时,该方式无需手动搜索用户,可通过用户标识快速匹配用户,使得生成用户组的操作快捷简单,有助于提升用户体验。
本公开的其他特征和优点将在随后的说明书中阐述,或者,部分特征和优点可以从说明书推知或毫无疑义地确定,或者通过实施本公开的上述技术即可得知。
为使本公开的上述目的、特征和优点能更明显易懂,下文特举较佳实施方式,并配合所附附图,作详细说明如下。
附图说明
图1为本公开实施例提供的一种用户组的生成方法的流程图;
图2为本公开实施例提供的另一种用户组的生成方法的流程图;
图3为本公开实施例提供的一种新建用户组的示意图;
图4为本公开实施例提供的一种邀请用户加入已有用户组的示意图;
图5为本公开实施例提供的另一种用户组的生成方法的流程图;
图6为本公开实施例提供的另一种用户组的生成方法的流程图;
图7为本公开实施例提供的一种用户组的生成装置的结构示意图;
图8为本公开实施例提供的一种电子设备的结构示意图。
具体实施方式
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本公开实施例的组件可以以各种不同的配置来布 置和设计。
因此,以下对在附图中提供的本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
在聊天工具中,建群和拉人入群是用户常用功能。相关技术中,在聊天中会提到某关键人名,并话术为拉某某某入群,找某某某拉个群讨论一下,此时需要手动去搜索该人并拉入群。具体地,如果想要新建一个群组,需要用户退出当前会话,点击创建群组按钮,然后从好友列表中选择目标人物,新建一个群组;如果需要拉人入某群组,需要在该群组中点击新增成员按钮,然后从好友列表中选择目标人物的用户名,确定选择后将该人拉入群组中。但是,上述建群和拉人入群的方式,流程较长,且需要反复跳转会话,操作复杂,影响用户体验。
基于此,本公开实施例提供了一种用户组的生成方法、装置和电子设备;该技术可以应用于拉人入群或者新建群组的场景中。
在本公开的一种实施例中的用户组的生成方法,可以运行于终端设备或者是服务器。其中,终端设备可以为本地终端设备,本地终端设备用于通过图形用户界面与用户进行交互,该本地终端设备将图形用户界面提供给用户的方式可以包括多种,例如,可以渲染显示在终端的显示屏上,或者,通过全息投影提供给玩家。举例而言,本地终端设备可以包括显示屏和处理器,该显示屏用于呈现图形用户界面。当用户组的生成方法运行于服务器时,该方法则可以基于云交互系统来实现与执行,其中,云交互系统包括服务器和客户端设备。
在一种可能的实施方式中,本公开实施例提供了一种用户组的生成方法,通过终端设备提供一图形用户界面;该图形用户界面中包括会话窗口;该会话窗口中显示有当前用户组中用户的会话记录;如图1所示,该方法包括如下具体步骤:
步骤S102,响应于会话记录中出现用户标识和指定关键词,将用户标识设置为可交互状态;其中,该指定关键词用于指示生成与用户标识相关的用户组。
图形用户界面中包括的会话窗口通常是当前用户组中的用户进行聊天的窗口,该会话窗口中包含有会话记录(也即是聊天记录),每条会话记录对应的会话用户。在具体实现时,当前用户组对应的会话窗口可以是两个用户组成的私聊窗口,也可以是某一群组对应的群聊窗口。
具体地,上述用户标识可以是用户的姓名、昵称、邮箱或者工作账号等,在此不做具体限定。上述指定关键词通常是与生成用户标识的用户组相关的词句,可以是与新建用户组有关的词句,还可以是与拉人加入某一用户组相关的词句,例如,该指定关键词可以是“进群”、“入群”、“邀请入群”、“新建群”或者“再建个群”等。
在具体实现时,可以通过语音识别技术或者文本识别技术,识别出当前会话记录中是否出现用户标识和指定关键词,如果当前会话记录中出现了用户标识和指定关键词,立即将用户标识设置为可交互状态;用户可触控处于可交互状态的用户标识,来确定待创建的目标用户组的目标成员。
步骤S104,响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员,并且显示创建控件,其中,目标用户组的目标成员中至少包含用户标识对应的用户。
上述针对用户标识的第一触控操作可以是对用户标识的点击操作、滑动操作或者拖动操作等,在此不作具体限定。当用户对用户标识进行第一触控操作时,将与用户标识相匹配的目标用户确定为目标成员,并显示创建控件,该创建控件可以是一个目标成员对应一个创建控件,也可以是仅显示一个创建控件。具体地,可以将与用户标识相匹配的所有目标用户都确定为目标成员,也可以根据需求从目标用户中选择一个或者多个用户作为目标成员,在一些实施例中,除可将与用户标识相匹配的目标用户确定为目标成员外,还可将当前用户组中的用户确定为目标成员。
步骤S106,响应针对创建控件的第二触控操作,创建包含目标成员的目标用户组。
上述针对创建控件的第二控操作可以是对创建控件的点击操作、滑动操作或者拖动操作等,在此不作具体限定。在具体实现时,如果一个目标用户对应一个创建控件,那么触控该创建控件,即将该目标用户确定为目标成员,并创建包含有该目标成员的目标用户组;如果仅显示有一个创建控件,触控该创建控件,即可创建包含有确定的目标成员的目标用户组。
在实际应用中,上述当前用户组包含两个成员或者包含三个以上的成员。如果当前用户组包含两个成员,该当前用户组即为私聊会话,如果当前用户组包含三个以上成员,该当前用户组即为群聊会话。
在具体实现时,可响应于针对用户标识的第一触控操作,确定用户标识对应的用户,以及当前用户组中的成员为目标成员;然后响应针对创建控件的第二触控操作,将用户标识对应的用户加入当前用户组中,得到包含目标成员的目标用户组;或者,响应针对创建控件的第二触控操作,新建包含目 标成员的目标用户组。该方式在会话聊天中可快速完成建群和拉人入群,无需手动搜索添加,即可帮助用户迅速匹配需要邀请的用户,该方式可快捷操作,减少了相关技术中新建用户组和拉人入群的跳转。
本公开提供的一种用户组的生成方法,首先响应于会话记录中出现用户标识和指定关键词,将用户标识设置为可交互状态;其中,指定关键词用于指示生成与用户标识相关的用户组;进而响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员,并且显示创建控件,其中,目标用户组的目标成员中至少包含用户标识对应的用户;然后响应针对创建控件的第二触控操作,创建包含目标成员的目标用户组。该方式可以在当前会话窗口中,根据会话记录中出现的用户标识和指定关键词,邀请用户标识对应的用户新建一个用户组或者加入当前用户组,该方式无需反复跳转会话,即可实现新建用户组和拉人加入用户组;同时,该方式无需手动搜索用户,可通过用户标识快速匹配用户,使得生成用户组的操作快捷简单,有助于提升用户体验。
本公开实施例还提供了另一种用户组的生成方法,该方法在上述实施例的基础上实现,该方法重点描述响应于会话记录中出现用户标识和指定关键词,将用户标识设置为可交互状态的具体过程(通过下述步骤S202实现),以及响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员,并且显示创建控件的具体过程(通过下述步骤S204-S206实现),如图2所示,该方法包括如下具体步骤:
步骤S202,响应于会话记录中出现用户标识和指定关键词,在会话记录中,以与会话记录中其他内容相区别的指定方式显示用户标识,以使用户标识设置为可交互状态。
在具体实现时,上述指定方式可以根据研发需求进行设定。具体地,该指定方式包括以下至少一项:高亮的显示方式;含目标颜色的显示方式;包含下划线的显示方式。上述目标颜色可以根据研发需求设定,例如,目标颜色可以是红色、黄色或者绿色等。
步骤S204,响应于针对用户标识的第一触控操作,显示与用户标识相匹配的用户列表以及创建控件;该用户列表中包含有与用户标识相匹配的用户的用户信息。
当用户触控用户标识后,会立即在会话窗口上弹出用户列表(该用户列表通常不是在会话窗口中显示,而且弹出了一个新的窗口,即一个新的图层),该用户列表中包含有与用户标识相匹配的用户的用户信息,该用户信息可以包括用户姓名、用户所属部门和用户昵称等。上述创建控件可以显示在用户列表中,也可以显示在图形用户界面中用户列表之外的位置。
在一些实施例中,上述步骤S204还可以通过下述方式实现:响应针对用户标识的第一触控操作,从预设数据库中查询与用户标识相匹配的用户,将查询到的用户显示在用户列表中,该预设数据库中包含有与当前用户组中用户相关的用户的用户标识和用户信息。其中,与当前用户组中的用户相关的用户可以是与当前用户组中的用户在同一个公司、同一个部门或者同一个团队的用户,还可以是当前用户组的用户的好友列表中的好友等。
在一些实施例中,当前用户组的会话记录中出现的用户标识通常是预设数据库中所包含的用户标识,也即是在会话记录中出现预设数据库中所包含的用户标识和指定关键词时,即可在将用户标识设置为可交互状态;其中,可以通过智能比对或者语义识别等技术,识别出会话记录中是否包含有预设数据库中所包含的用户标识。然后用户对用户标识进行触控操作(例如,点击操作或者拖动操作等),即可弹出用户列表,该用户列表中显示有从预设数据库中查询到的、与用户标识相匹配的用户。
具体地,上述从预设数据库中查询与用户标识相匹配的用户,将查询到的用户显示在用户列表中的具体过程,包括:从预设数据库中查询与用户标识相匹配的用户,得到多个匹配用户;按照匹配用户与会话记录对应的用户的匹配度,对匹配用户进行排序;根据排序结果,在用户列表中显示匹配用户。上述会话记录对应的用户也即是会话内容中涉及到用户标识和指定关键词的用户,匹配度可以理解为亲密度或者关联度,通常可以按照匹配度从高到低的顺序对匹配用户进行排序,得到排序结果,从而可以是用户快速从用户列表中查找到用户所需的成员。
步骤S206,响应针对用户列表中目标用户的选择操作,根据该选择操作确定待创建的目标用户的目标成员。
上述针对用户列表中目标用户的选择操作,可以是用户点击用户列表中的用户信息的操作,并将点击的用户信息对应的用户确定为目标成员;还可以是触发用户列表中某一用户信息对应的选择控件的操作,并将触发的选择控件对应的用户,确定为目标成员。
在一些实施例中,可默认将会话记录对应的当前用户组中的部分或者全部用户确定为目标成员。
步骤S208,响应针对创建控件的第二触控操作,创建包含有目标成员的目标用户组。
在具体实现时,如果当前用户组为私聊会话,那么在用户列表中选择出目标成员后,触控创建控 件,会新建一个包含有目标成员和当前用户组中的两个用户的目标用户组。如果当前用户组为群聊会话,那么在用户列表中选择出目标成员后,触控创建控件,会将目标成员拉入当前用户组,将目标成员拉入后的当前用户组也即是目标用户组。
在一些实施例中,上述用户列表也可理解为包含有用户的用户信息的控制面板,通过触发该控制面板中的某用户,可以选中该用户,选中该用户后即可生成包含有该用户的用户组。如果当前用户组对应的会话窗口为私聊窗口,那么创建的目标用户组也即是包含有选中的用户和当前用户组对应的用户的一个新建用户组;如果当前用户组为群组,那么创建的目标用户组还是当前用户组,只是将选中的用户拉入到当前用户组中,以使当前用户组中包含有选中的用户。
在可选实施例中,上述用户列表中包括与用户标识相匹配的用户的用户信息,和每个用户对应的邀请控件;上述步骤S206-S208具体实现方式可以是:响应针对于用户列表中目标用户对应的邀请控件的触发操作,创建包含有目标用户和当前用户组中用户的目标用户组。
上述邀请控件可以是用户对应的新建群并邀请的控件,通过该邀请控件可以邀请该第一控件对应的用户新建用户组。如图3所示,提供了一种新建用户组的示意图,图3中的会话窗口中显示的张三与李四的私聊窗口,李四的会话记录为“拉小A新建个群商量好了”,由于识别到会话记录中“小A”为用户标识、“新建个群”为指定关键词,此时会在会话记录中为“小A”加下划线(如图3中的左侧图所示),以将会话记录中“小A”设置为可交互状态,如图3中的中间的图所示,点击“小A”,即可在会话窗口中弹出用户列表,此时可能有多个重名的用户,那么需要按照匹配度从高到低的顺序在用户列表中显示与用户标识相匹配的用户,该用户列表中的每个用户还对应有“新建群并邀请”的控件(相当于上述邀请控件);点击目标用户对应的“新建群并邀请”的控件后,即可把私聊窗口对应的张三、李四和目标用户拉倒一个新建群组中进行聊天,如图3中右侧的图为新建好的群组对应的会话窗口。
在具体实现时,如果在会话记录中识别到多个用户标识,即用户想要同时邀请多人新建群聊,此时,在弹出的用户列表中会显示多个用户标识对应的用户,在用户列表中,可以在一个名片中同时显示多个用户标识对应的标识,一个名片对应一个邀请控件;如果遇到重名的情况,可以以组合的方式显示多个名片,以使每个名片中均包含有多个用户标识中的每个用户标识对应的用户,只是每个名片所包含的用户至少有一个不同。此时,可以在点击想要邀请的用户对应的邀请控件,从而可以邀请该邀请控件对应的名片中的多个用户同时新建一个群聊。
在用户列表中,还可以一个名片仅显示一个用户,一个用户对应一个邀请控件(图3中的用户列表的形式也是一个名片对应一个用户和一个邀请控件)。此时,用户点击多个邀请控件,以邀请多个邀请控件对应的用户同时新建一个群聊。
上述邀请控件还可以是用户对应的邀请入群的控件,通过该邀请控件可以邀请该邀请控件对应的用户加入当前用户组。如图4所示,提供了一种邀请用户加入已有用户组的示意图。图4中的会话窗口中显示的张三与李四的群聊窗口,李四的会话记录为“拉小A入群商量好了”,由于识别到会话记录中“小A”为用户标识、“入群”为指定关键词,此时会在会话记录中为“小A”加下划线(如图5中的左侧图所示),以使会话记录中“小A”设置为可交互状态,如图4中的中间的图所示,点击“小A”,即可在会话窗口中弹出用户列表,此时可能有多个重名的用户,那么需要按照匹配度从高到低的顺序在用户列表中显示与“小A”相匹配的用户,该用户列表中的每个用户还对应有“邀请入群”的控件(相当于上述邀请控件);点击目标用户对应的“邀请入群”的控件后,即将目标用户拉入到张三和李四当前会话的群组中进行聊天,如图4中右侧的图为拉小A入群后对应的会话窗口。
在具体实现时,如果在会话记录中识别到多个用户标识,即用户想要同时邀请多人将入当前群组(相当于当前用户组)中,此时,在弹出的用户列表中会显示多个用户标识对应的用户,在用户列表中,可以在一个名片中同时显示多个用户标识对应的标识,一个名片对应一个邀请控件;如果遇到重名的情况,可以以组合的方式显示多个名片,以使每个名片中均包含有多个用户标识中的每个用户标识对应的用户,只是每个名片所包含的用户至少有一个不同。此时,可以在点击想要邀请的用户对应的邀请控件,从而可以邀请该邀请控件对应的名片中的多个用户加入当前群组中。
在用户列表中,还可以一个名片仅显示一个用户,一个用户对应一个第二控件(图4中的用户列表的形式也是一个名片对应一个用户和一个邀请控件)。此时,用户点击多个邀请控件,以邀请多个邀请控件对应的用户同时加入当前群组中。在具体实现时,当邀请用户加入当前群组时,还需要判断当前群组的权限,如果该群组设有入群申请的权限就需要先申请审批后再邀请目标用户进入该群组;如果该群组没有设权限,即可直接通过上述方式将目标用户拉入当前群组中。
上述用户组的生成方法可以在当前会话窗口中,根据会话记录中出现的用户标识和指定关键词,将用户标识设置为可交互状态,进而触控该用户标识,以邀请用户标识对应的用户创建目标用户组, 该方式无需手动搜索用户,可通过用户标识快速匹配用户,使得生成用户组的操作快捷简单,有助于提升用户体验。
本公开实施例还提供了另一种用户组的生成方法,该方法在上述实施例的基础上实现,该方法重点描述响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员的具体过程(通过下述步骤S504),如图5所示,该方法包括如下具体步骤:
步骤S502,响应于会话记录中出现用户标识和指定关键词,将用户标识设置为可交互状态。
步骤S504,响应针对用户标识的拖动操作,将拖动操作在图形用户界面中的触点经过的用户符号对应的用户以及用户标识对应的用户确定为待创建的目标用户组的目标成员。
上述用户符号可以是用户界面中显示的用户名称、用户头像或者用户昵称等。例如,可以将拖动操作在图形用户界面中的触点在会话记录中经过的用户头像对应的用户,以及用户标识对应的用户确定为目标成员。在具体实现时,上述步骤S504,可以通过下属步骤10-11实现:
步骤10,响应针对用户标识的拖动操作,确定拖动操作在图形用户界面中的触点经过的用户符号对应的用户。
步骤11,响应拖动操作的结束,将拖动操作在图形用户界面中的触点经过的用户符号对应的用户以及用户标识对应的用户确定为待创建的目标用户组的目标成员。
在一些实施例中,如果与用户标识相匹配的用户为多个,可在拖拽操作结束时,弹出用户列表,并在用户列表中显示与用户标识相匹配的目标用户,对用户列表中的用户进行选择,从而将选择的用户确定为目标成员的部分成员。
在实际应用中,当拖动操作在图形用户界面中的触点到达会话窗口的边缘时,控制会话窗口中的会话记录进行滚动。其中,会话记录在会话窗口中滚动,可方便用户从会话记录中选择目标成员。
步骤S506,显示创建控件。
在具体实现时,可以在确定出目标成员后在图形用户界面中显示创建控件,也可以在拖动用户标识时,显示创建控件。
步骤S508,响应针对创建控件的第二触控操作,创建包含目标成员的目标用户组。
上述用户组的生成方法,该方式在会话聊天中可快速创建用户组,无需手动搜索添加,即可帮助用户迅速匹配需要邀请的用户,该方式可快捷操作,减少了相关技术中新建用户组和拉人入群组的跳转。
本公开实施例还提供了另一种用户组的生成方法,该方法在上述实施例的基础上实现,该方法重点描述响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员的具体过程(通过下述步骤S604),如图6所示,该方法包括如下具体步骤:
步骤S602,响应于会话记录中出现用户标识和指定关键词,将用户标识设置为可交互状态。
步骤S604,响应于针对用户标识的第一触控操作,将用户标识所在会话记录中预设范围内的会话记录分别对应的用户确定为待创建的目标用户组的目标成员。
上述预设范围可以是会话记录中,当前在图形用户界面中显示会话范围;上述预设范围也可以是会话记录中制定位置的会话内容,还可以是会话记录中后几十条或者十几条会话内容,在此不做具体限定,可以根据研发需求设定。
步骤S606,显示创建控件。
在具体实现时,可以在确定出目标成员后在图形用户界面中显示创建控件,也可以在对用户标识执行第一触发操作时,显示创建控件。
步骤S608,响应针对创建控件的第二触控操作,创建包含目标成员的目标用户组。
在一些实施例中,还可以响应针对确定的目标成员的修改操作,获得修改后的目标成员;然后响应针对创建控件的第二触控操作,创建包含修改后的目标成员的目标用户组。该方式提供目标成员修改功能,可以使得用户按照自身需求拉人入用户组或者新建群组,可提升用户体验。
上述用户组的生成方法,无需反复跳转会话,即可实现新建用户组和拉人加入用户组;同时,该方式无需手动搜索用户,可通过用户标识快速匹配用户,使得生成用户组的操作快捷简单,有助于提升用户体验。
对应于上述方法实施例,本公开实施例提供了一种用户组的生成装置,通过终端设备提供一图形用户界面;该图形用户界面中包括会话窗口;该会话窗口中显示有当前用户组中用户的会话记录;如图7所示,该装置包括:
状态设置模块70,用于响应于会话记录中出现用户标识和指定关键词,将用户标识设置为可交互状态;其中,指定关键词用于指示生成与用户标识相关的用户组。
成员确定模块71,用于响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员,并且显示创建控件,其中,目标用户组的目标成员中至少包含用户标识对应的用户。
用户组创建模块72,用于响应针对创建控件的第二触控操作,创建包含目标成员的目标用户组。
上述用户组的生成装置,首先响应于会话记录中出现用户标识和指定关键词,将用户标识设置为可交互状态;其中,指定关键词用于指示生成与用户标识相关的用户组;进而响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员,并且显示创建控件,其中,目标用户组的目标成员中至少包含用户标识对应的用户;然后响应针对创建控件的第二触控操作,创建包含目标成员的目标用户组。该方式可以在当前会话窗口中,根据会话记录中出现的用户标识和指定关键词,邀请用户标识对应的用户新建一个用户组或者加入当前用户组,该方式无需反复跳转会话,即可实现新建用户组和拉人加入用户组;同时,该方式无需手动搜索用户,可通过用户标识快速匹配用户,使得生成用户组的操作快捷简单,有助于提升用户体验。
具体地,上述成员确定模块71,还用于:响应于针对用户标识的第一触控操作,显示与用户标识相匹配的用户列表以及创建控件;用户列表中包含有与用户标识相匹配的用户的用户信息;响应针对用户列表中目标用户的选择操作,根据选择操作确定待创建的目标用户组的目标成员。
进一步地,上述状态设置模块70,还用于:响应于会话记录中出现用户标识和指定关键词,在会话记录中,以与会话记录中其他内容相区别的指定方式显示用户标识。
在具体实现时,上述指定方式包括以下至少一项:高亮的显示方式;包含目标颜色的显示方式;包含下划线的显示方式。
具体地,上述成员确定模块71,还用于:响应针对用户标识的第一触控操作,从预设数据库中查询与用户标识相匹配的用户,将查询到的用户显示在用户列表中;其中,预设数据库中包含有与当前用户组中用户相关的用户的用户标识和用户信息。
进一步地,上述成员确定模块71,还用于:从预设数据库中查询与用户标识相匹配的用户,得到多个匹配用户;按照匹配用户与会话记录对应的用户的匹配度,对匹配用户进行排序;根据排序结果,在用户列表中显示匹配用户。
在一些实施例中,当前用户组包含两个成员或者包含三个以上的成员。
具体地,上述成员确定模块71,还用于:响应于针对用户标识的第一触控操作,确定用户标识对应的用户,以及当前用户组中的成员为目标成员。上述用户组创建模块72,用于:响应针对创建控件的第二触控操作,将用户标识对应的用户加入当前用户组中,得到包含目标成员的目标用户组;或者,响应针对创建控件的第二触控操作,新建包含目标成员的目标用户组。
在具体实现时,第一触控操作包括拖动操作,上述成员确定模块71,用于:响应针对用户标识的拖动操作,将拖动操作在图形用户界面中的触点经过的用户符号对应的用户以及用户标识对应的用户确定为待创建的目标用户组的目标成员。
进一步地,上述成员确定模块71,还用于:响应针对用户标识的拖动操作,确定拖动操作在图形用户界面中的触点经过的用户符号对应的用户;响应拖动操作的结束,将拖动操作在图形用户界面中的触点经过的用户符号对应的用户以及用户标识对应的用户确定为待创建的目标用户组的目标成员。
具体地,上述用户符号为用户头像。
在一些实施例中,当拖动操作在图形用户界面中的触点到达会话窗口的边缘时,控制会话窗口中的会话记录进行滚动。
进一步地,上述成员确定模块71,还用于:响应于针对用户标识的第一触控操作,将用户标识所在会话记录中预设范围内的会话记录分别对应的用户确定为待创建的目标用户组的目标成员。
进一步地,上述装置还包括修改模块,用于:响应针对确定的目标成员的修改操作,获得修改后的目标成员;上述用户组创建模块72,还用于:响应针对创建控件的第二触控操作,创建包含修改后的目标成员的目标用户组。
本公开实施例所提供的用户组的生成装置,其实现原理及产生的技术效果和前述方法实施例相同,为简要描述,装置实施例部分未提及之处,可参考前述方法实施例中相应内容。
本公开实施例还提供了一种电子设备,如图8所示,该电子设备包括处理器和存储器,该存储器存储有能够被处理器执行的机器可执行指令,该处理器执行机器可执行指令以实现上述用户组的生成方法。
具体地,通过终端设备提供一图形用户界面;该图形用户界面中包括会话窗口;该会话窗口中显 示有当前用户组中用户的会话记录;该方法包括:响应于会话记录中出现用户标识和指定关键词,将用户标识设置为可交互状态;其中,指定关键词用于指示生成与用户标识相关的用户组;响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员,并且显示创建控件,其中,目标用户组的目标成员中至少包含用户标识对应的用户;响应针对创建控件的第二触控操作,创建包含目标成员的目标用户组。
上述用户组的生成方法可以在当前会话窗口中,根据会话记录中出现的用户标识和指定关键词,邀请用户标识对应的用户新建一个用户组或者加入当前用户组,该方式无需反复跳转会话,即可实现新建用户组和拉人加入用户组;同时,该方式无需手动搜索用户,可通过用户标识快速匹配用户,使得生成用户组的操作快捷简单,有助于提升用户体验。
在可选的实施方式中,上述响应于针对用户标识的第一触控操作,确定待创建的目标用户组的成员,并且显示创建控件包括:响应于针对用户标识的第一触控操作,显示与用户标识相匹配的用户列表以及创建控件;用户列表中包含有与用户标识相匹配的用户的用户信息;响应针对用户列表中目标用户的选择操作,根据选择操作确定待创建的目标用户组的目标成员。
在可选的实施方式中,上述方法还包括:响应于会话记录中出现用户标识和指定关键词,在会话记录中,以与会话记录中其他内容相区别的指定方式显示用户标识。
在可选的实施方式中,上述指定方式包括以下至少一项:高亮的显示方式;包含目标颜色的显示方式;包含下划线的显示方式。
在可选的实施方式中,上述响应于针对用户标识的第一触控操作,显示与用户标识相匹配的用户列表的步骤,包括:响应针对用户标识的第一触控操作,从预设数据库中查询与用户标识相匹配的用户,将查询到的用户显示在用户列表中;其中,预设数据库中包含有与当前用户组中用户相关的用户的用户标识和用户信息。
在可选的实施方式中,上述从预设数据库中查询与用户标识相匹配的用户,将查询到的用户显示在用户列表中的步骤,包括:从预设数据库中查询与用户标识相匹配的用户,得到多个匹配用户;按照匹配用户与会话记录对应的用户的匹配度,对匹配用户进行排序;根据排序结果,在用户列表中显示匹配用户。
在可选的实施方式中,上述当前用户组包含两个成员或者包含三个以上的成员。
在可选的实施方式中,上述响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员的步骤,包括:响应于针对用户标识的第一触控操作,确定用户标识对应的用户,以及当前用户组中的成员为目标成员。
在可选的实施方式中,上述响应针对创建控件的第二触控操作,创建包含目标成员的目标用户组的步骤,包括:响应针对创建控件的第二触控操作,将用户标识对应的用户加入当前用户组中,得到包含目标成员的目标用户组;或者,响应针对创建控件的第二触控操作,新建包含目标成员的目标用户组。
在可选的实施方式中,上述第一触控操作包括拖动操作,响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员的步骤,包括:响应针对用户标识的拖动操作,将拖动操作在图形用户界面中的触点经过的用户符号对应的用户以及用户标识对应的用户确定为待创建的目标用户组的目标成员。
在可选的实施方式中,上述响应针对用户标识的拖动操作,将拖动操作在图形用户界面中的触点经过的用户符号对应的用户以及用户标识对应的用户确定为待创建的目标用户组的目标成员的步骤,包括:响应针对用户标识的拖动操作,确定拖动操作在图形用户界面中的触点经过的用户符号对应的用户;响应拖动操作的结束,将拖动操作在图形用户界面中的触点经过的用户符号对应的用户以及用户标识对应的用户确定为待创建的目标用户组的目标成员。
在可选的实施方式中,上述用户符号为用户头像。
在可选的实施方式中,上述方法还包括:当拖动操作在图形用户界面中的触点到达会话窗口的边缘时,控制会话窗口中的会话记录进行滚动。
在可选的实施方式中,上述响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员,包括:响应于针对用户标识的第一触控操作,将用户标识所在会话记录中预设范围内的会话记录分别对应的用户确定为待创建的目标用户组的目标成员。
在可选的实施方式中,上述方法还包括:响应针对确定的目标成员的修改操作,获得修改后的目标成员;上述响应针对创建控件的第二触控操作,创建包含目标成员的目标用户组,包括:响应针对创建控件的第二触控操作,创建包含修改后的目标成员的目标用户组。
进一步地,图8所示的电子设备还包括总线102和通信接口103,处理器101、通信接口103和存 储器100通过总线102连接。
其中,存储器100可能包含高速随机存取存储器(RAM,Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。通过至少一个通信接口103(可以是有线或者无线)实现该系统网元与至少一个其他网元之间的通信连接,可以使用互联网,广域网,本地网,城域网等。总线102可以是ISA总线、PCI总线或EISA总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。
处理器101可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器101中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器101可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(Digital Signal Processing,简称DSP)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)、现成可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本公开实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本公开实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器100,处理器101读取存储器100中的信息,结合其硬件完成前述实施例的方法的步骤。
本公开实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令在被处理器调用和执行时,该计算机可执行指令促使处理器实现上述用户组的生成方法,具体实现可参见方法实施例,在此不再赘述。
具体地,通过终端设备提供一图形用户界面;该图形用户界面中包括会话窗口;该会话窗口中显示有当前用户组中用户的会话记录;该方法包括:响应于会话记录中出现用户标识和指定关键词,将用户标识设置为可交互状态;其中,指定关键词用于指示生成与用户标识相关的用户组;响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员,并且显示创建控件,其中,目标用户组的目标成员中至少包含用户标识对应的用户;响应针对创建控件的第二触控操作,创建包含目标成员的目标用户组。
上述用户组的生成方法可以在当前会话窗口中,根据会话记录中出现的用户标识和指定关键词,邀请用户标识对应的用户新建一个用户组或者加入当前用户组,该方式无需反复跳转会话,即可实现新建用户组和拉人加入用户组;同时,该方式无需手动搜索用户,可通过用户标识快速匹配用户,使得生成用户组的操作快捷简单,有助于提升用户体验。
在可选的实施方式中,上述响应于针对用户标识的第一触控操作,确定待创建的目标用户组的成员,并且显示创建控件包括:响应于针对用户标识的第一触控操作,显示与用户标识相匹配的用户列表以及创建控件;用户列表中包含有与用户标识相匹配的用户的用户信息;响应针对用户列表中目标用户的选择操作,根据选择操作确定待创建的目标用户组的目标成员。
在可选的实施方式中,上述方法还包括:响应于会话记录中出现用户标识和指定关键词,在会话记录中,以与会话记录中其他内容相区别的指定方式显示用户标识。
在可选的实施方式中,上述指定方式包括以下至少一项:高亮的显示方式;包含目标颜色的显示方式;包含下划线的显示方式。
在可选的实施方式中,上述响应于针对用户标识的第一触控操作,显示与用户标识相匹配的用户列表的步骤,包括:响应针对用户标识的第一触控操作,从预设数据库中查询与用户标识相匹配的用户,将查询到的用户显示在用户列表中;其中,预设数据库中包含有与当前用户组中用户相关的用户的用户标识和用户信息。
在可选的实施方式中,上述从预设数据库中查询与用户标识相匹配的用户,将查询到的用户显示在用户列表中的步骤,包括:从预设数据库中查询与用户标识相匹配的用户,得到多个匹配用户;按照匹配用户与会话记录对应的用户的匹配度,对匹配用户进行排序;根据排序结果,在用户列表中显示匹配用户。
在可选的实施方式中,上述当前用户组包含两个成员或者包含三个以上的成员。
在可选的实施方式中,上述响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员的步骤,包括:响应于针对用户标识的第一触控操作,确定用户标识对应的用户,以及当前用户组中的成员为目标成员。
在可选的实施方式中,上述响应针对创建控件的第二触控操作,创建包含目标成员的目标用户组的步骤,包括:响应针对创建控件的第二触控操作,将用户标识对应的用户加入当前用户组中,得到包含目标成员的目标用户组;或者,响应针对创建控件的第二触控操作,新建包含目标成员的目标用户组。
在可选的实施方式中,上述第一触控操作包括拖动操作,响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员的步骤,包括:响应针对用户标识的拖动操作,将拖动操作在图形用户界面中的触点经过的用户符号对应的用户以及用户标识对应的用户确定为待创建的目标用户组的目标成员。
在可选的实施方式中,上述响应针对用户标识的拖动操作,将拖动操作在图形用户界面中的触点经过的用户符号对应的用户以及用户标识对应的用户确定为待创建的目标用户组的目标成员的步骤,包括:响应针对用户标识的拖动操作,确定拖动操作在图形用户界面中的触点经过的用户符号对应的用户;响应拖动操作的结束,将拖动操作在图形用户界面中的触点经过的用户符号对应的用户以及用户标识对应的用户确定为待创建的目标用户组的目标成员。
在可选的实施方式中,上述用户符号为用户头像。
在可选的实施方式中,上述方法还包括:当拖动操作在图形用户界面中的触点到达会话窗口的边缘时,控制会话窗口中的会话记录进行滚动。
在可选的实施方式中,上述响应于针对用户标识的第一触控操作,确定待创建的目标用户组的目标成员,包括:响应于针对用户标识的第一触控操作,将用户标识所在会话记录中预设范围内的会话记录分别对应的用户确定为待创建的目标用户组的目标成员。
在可选的实施方式中,上述方法还包括:响应针对确定的目标成员的修改操作,获得修改后的目标成员;上述响应针对创建控件的第二触控操作,创建包含目标成员的目标用户组,包括:响应针对创建控件的第二触控操作,创建包含修改后的目标成员的目标用户组。
功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,终端设备,或者网络设备等)执行本公开各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上实施例,仅为本公开的具体实施方式,用以说明本公开的技术方案,而非对其限制,本公开的保护范围并不局限于此,尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本公开实施例技术方案的精神和范围,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以权利要求的保护范围为准。

Claims (18)

  1. 一种用户组的生成方法,通过终端设备提供一图形用户界面;所述图形用户界面中包括会话窗口;所述会话窗口中显示有当前用户组中用户的会话记录;所述方法包括:
    响应于所述会话记录中出现用户标识和指定关键词,将所述用户标识设置为可交互状态;其中,所述指定关键词用于指示生成与所述用户标识相关的用户组;
    响应于针对所述用户标识的第一触控操作,确定待创建的目标用户组的目标成员,并且显示创建控件,其中,所述目标用户组的目标成员中至少包含所述用户标识对应的用户;
    响应针对所述创建控件的第二触控操作,创建包含所述目标成员的所述目标用户组。
  2. 根据权利要求1所述的方法,其中,所述响应于针对所述用户标识的第一触控操作,确定待创建的目标用户组的目标成员,并且显示创建控件包括:
    响应于针对所述用户标识的第一触控操作,显示与所述用户标识相匹配的用户列表以及创建控件;所述用户列表中包含有与所述用户标识相匹配的用户的用户信息;
    响应针对所述用户列表中目标用户的选择操作,根据所述选择操作确定待创建的目标用户组的所述目标成员。
  3. 根据权利要求1所述的方法,其中,所述方法还包括:
    响应于所述会话记录中出现用户标识和指定关键词,在所述会话记录中,以与所述会话记录中其他内容相区别的指定方式显示所述用户标识。
  4. 根据权利要求3所述的方法,其中,所述指定方式包括以下至少一项:
    高亮的显示方式;
    包含目标颜色的显示方式;
    包含下划线的显示方式。
  5. 根据权利要求2所述的方法,其中,所述响应于针对所述用户标识的第一触控操作,显示与所述用户标识相匹配的用户列表的步骤,包括:
    响应针对所述用户标识的第一触控操作,从预设数据库中查询与所述用户标识相匹配的用户,将查询到的用户显示在所述用户列表中;
    其中,所述预设数据库中包含有与所述当前用户组中用户相关的用户的用户标识和用户信息。
  6. 根据权利要求5所述的方法,其中,所述从预设数据库中查询与所述用户标识相匹配的用户,将查询到的用户显示在所述用户列表中的步骤,包括:
    从预设数据库中查询与所述用户标识相匹配的用户,得到多个匹配用户;
    按照所述匹配用户与所述会话记录对应的用户的匹配度,对所述匹配用户进行排序;
    根据排序结果,在所述用户列表中显示所述匹配用户。
  7. 根据权利要求1所述的方法,其中,所述当前用户组包含两个成员或者包含三个以上的成员。
  8. 根据权利要求1所述的方法,其中,所述响应于针对所述用户标识的第一触控操作,确定待创建的目标用户组的目标成员的步骤,包括:
    响应于针对所述用户标识的第一触控操作,确定所述用户标识对应的用户,以及所述当前用户组中的成员为所述目标成员。
  9. 根据权利要求8所述的方法,其中,所述响应针对所述创建控件的第二触控操作,创建包含所述目标成员的所述目标用户组的步骤,包括:
    响应针对所述创建控件的第二触控操作,将所述用户标识对应的用户加入所述当前用户组中,得到包含所述目标成员的目标用户组;或者,
    响应针对所述创建控件的第二触控操作,新建包含所述目标成员的所述目标用户组。
  10. 根据权利要求1所述的方法,其中,所述第一触控操作包括拖动操作,所述响应于针对所述用户标识的第一触控操作,确定待创建的目标用户组的目标成员的步骤,包括:
    响应针对所述用户标识的拖动操作,将所述拖动操作在所述图形用户界面中的触点经过的用户符号对应的用户以及所述用户标识对应的用户确定为待创建的目标用户组的目标成员。
  11. 根据权利要求10所述的方法,其中,所述响应针对所述用户标识的拖动操作,将所述拖动操作在所述图形用户界面中的触点经过的用户符号对应的用户以及所述用户标识对应的用户确定为待创建的目标用户组的目标成员的步骤,包括:
    响应针对所述用户标识的拖动操作,确定所述拖动操作在所述图形用户界面中的触点经过的用户符号对应的用户;
    响应所述拖动操作的结束,将所述拖动操作在所述图形用户界面中的触点经过的用户符号对应的 用户以及所述用户标识对应的用户确定为待创建的目标用户组的目标成员。
  12. 根据权利要求10所述的方法,其中,所述用户符号为用户头像。
  13. 根据权利要求10所述的方法,其中,所述方法还包括:
    当所述拖动操作在所述图形用户界面中的触点到达所述会话窗口的边缘时,控制所述会话窗口中的会话记录进行滚动。
  14. 根据权利要求1所述的方法,其中,所述响应于针对所述用户标识的第一触控操作,确定待创建的目标用户组的目标成员,包括:
    响应于针对所述用户标识的第一触控操作,将所述用户标识所在会话记录中预设范围内的会话记录分别对应的用户确定为待创建的目标用户组的目标成员。
  15. 根据权利要求14所述的方法,其中,所述方法还包括:
    响应针对确定的所述目标成员的修改操作,获得修改后的目标成员;
    所述响应针对所述创建控件的第二触控操作,创建包含所述目标成员的所述目标用户组,包括:
    响应针对所述创建控件的第二触控操作,创建包含所述修改后的目标成员的所述目标用户组。
  16. 一种用户组的生成装置,通过终端设备提供一图形用户界面;所述图形用户界面中包括会话窗口;所述会话窗口中显示有当前用户组中用户的会话记录;所述装置包括:
    状态设置模块,用于响应于所述会话记录中出现用户标识和指定关键词,将所述用户标识设置为可交互状态;其中,所述指定关键词用于指示生成与所述用户标识相关的用户组;
    成员确定模块,用于响应于针对所述用户标识的第一触控操作,确定待创建的目标用户组的目标成员,并且显示创建控件,其中,所述目标用户组的目标成员中至少包含所述用户标识对应的用户;
    用户组创建模块,用于响应针对所述创建控件的第二触控操作,创建包含所述目标成员的所述目标用户组。
  17. 一种电子设备,包括处理器和存储器,所述存储器存储有能够被所述处理器执行的机器可执行指令,所述处理器执行所述机器可执行指令以实现权利要求1至15任一项所述的用户组的生成方法。
  18. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令在被处理器调用和执行时,所述计算机可执行指令促使所述处理器实现权利要求1至15任一项所述的用户组的生成方法。
PCT/CN2022/128044 2022-06-24 2022-10-27 用户组的生成方法、装置和电子设备 WO2023245946A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210730338.7 2022-06-24
CN202210730338.7A CN115333878B (zh) 2022-06-24 2022-06-24 用户组的生成方法、装置和电子设备

Publications (1)

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

Family

ID=83916388

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/128044 WO2023245946A1 (zh) 2022-06-24 2022-10-27 用户组的生成方法、装置和电子设备

Country Status (2)

Country Link
CN (1) CN115333878B (zh)
WO (1) WO2023245946A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110890970A (zh) * 2019-11-25 2020-03-17 网易(杭州)网络有限公司 创建群组的方法及装置、存储介质及电子设备
CN112578964A (zh) * 2020-12-21 2021-03-30 维沃移动通信有限公司 群组创建方法和装置
WO2021104418A1 (zh) * 2019-11-29 2021-06-03 维沃移动通信有限公司 创建话题群的方法、电子设备及介质
CN114064173A (zh) * 2021-11-09 2022-02-18 广州博冠信息科技有限公司 即时会话页面创建方法、装置、介质及设备

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU784512B2 (en) * 2000-10-19 2006-04-13 International Business Machines Corporation Method and system for persistent chat sessions
CN101820398A (zh) * 2009-02-27 2010-09-01 国际商业机器公司 一种动态管理通讯组的即时通讯工具及其方法
US9269070B2 (en) * 2012-03-23 2016-02-23 Tata Consultancy Services Limited Ephemeral communication
US20150302103A1 (en) * 2012-05-17 2015-10-22 Leo Jeremias Computer system and methods for chat enabled online search
CN110460510B (zh) * 2019-07-31 2022-05-20 北京字节跳动网络技术有限公司 一种建立多人会话的方法、装置、电子设备及介质
CN110708358B (zh) * 2019-09-16 2021-08-31 腾讯科技(深圳)有限公司 会话消息处理方法、电子设备和计算机可读存储介质
CN111158831B (zh) * 2019-12-30 2024-01-16 腾讯科技(深圳)有限公司 基于即时通讯应用的数据处理方法、装置、设备及介质
CN112583700B (zh) * 2020-12-10 2022-08-26 维沃移动通信有限公司 群组创建方法、装置、设备及存储介质
CN113077325A (zh) * 2021-05-06 2021-07-06 北京京东振世信息技术有限公司 多方会话处理方法、装置、存储介质与电子设备
CN113965614A (zh) * 2021-10-11 2022-01-21 维沃移动通信有限公司 会话创建方法、装置和电子设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110890970A (zh) * 2019-11-25 2020-03-17 网易(杭州)网络有限公司 创建群组的方法及装置、存储介质及电子设备
WO2021104418A1 (zh) * 2019-11-29 2021-06-03 维沃移动通信有限公司 创建话题群的方法、电子设备及介质
CN112578964A (zh) * 2020-12-21 2021-03-30 维沃移动通信有限公司 群组创建方法和装置
CN114064173A (zh) * 2021-11-09 2022-02-18 广州博冠信息科技有限公司 即时会话页面创建方法、装置、介质及设备

Also Published As

Publication number Publication date
CN115333878A (zh) 2022-11-11
CN115333878B (zh) 2023-11-17

Similar Documents

Publication Publication Date Title
US11388120B2 (en) Parallel messaging apparatus and method thereof
US10462087B2 (en) Tags in communication environments
US7490132B1 (en) System allowing participant in a chat session to use either private tag or public tag to manage chat histories
US8996648B2 (en) Social networking feed extensibility based on data types
US9130892B2 (en) Multimedia collaboration in live chat
US9531815B2 (en) Relevant communication mode selection
WO2022052749A1 (zh) 一种消息处理方法、装置、设备及存储介质
US20180316637A1 (en) Conversation lens for context
WO2022205772A1 (zh) 直播间的页面元素展示方法及装置
CN108712478B (zh) 一种分享寄宿应用的方法及设备
WO2018050036A1 (zh) 通讯方法及装置
WO2020228561A1 (zh) 一种对话信息的展示方法及装置
US11126796B2 (en) Intelligent summaries based on automated learning and contextual analysis of a user input
WO2020221103A1 (zh) 显示用户情绪的方法及设备
WO2022242745A1 (zh) 显示方法、显示装置、相关设备及可读存储介质
WO2023061343A1 (zh) 会话创建方法、装置和电子设备
WO2021184794A1 (zh) 对话文本的技能领域确定方法及装置
CN113094143A (zh) 跨应用消息发送方法、装置和电子设备、可读存储介质
US20170351650A1 (en) Digital conversation annotation
EP4260259A1 (en) Promotion of users in collaboration sessions
CN109408755A (zh) 数据处理方法、装置、终端设备及计算机存储介质
WO2023245946A1 (zh) 用户组的生成方法、装置和电子设备
CN107222398A (zh) 社交消息控制方法、装置、存储介质和计算机设备
CN110324230A (zh) 界面展示方法、客户端和计算机存储介质
CN106250466B (zh) 一种用于提供推荐搜索序列的方法与装置

Legal Events

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

Ref document number: 22947683

Country of ref document: EP

Kind code of ref document: A1