CN112422407B - Voice room following method, device, equipment and storage medium - Google Patents

Voice room following method, device, equipment and storage medium Download PDF

Info

Publication number
CN112422407B
CN112422407B CN202011162825.5A CN202011162825A CN112422407B CN 112422407 B CN112422407 B CN 112422407B CN 202011162825 A CN202011162825 A CN 202011162825A CN 112422407 B CN112422407 B CN 112422407B
Authority
CN
China
Prior art keywords
room
current user
voice
terminal
user
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202011162825.5A
Other languages
Chinese (zh)
Other versions
CN112422407A (en
Inventor
黄塨铭
梁金锋
陈光尧
刘圳辉
龙洁珊
刘若琳
宋亚
谢土胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Quwan Network Technology Co Ltd
Original Assignee
Guangzhou Quwan Network Technology Co Ltd
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 Guangzhou Quwan Network Technology Co Ltd filed Critical Guangzhou Quwan Network Technology Co Ltd
Priority to CN202011162825.5A priority Critical patent/CN112422407B/en
Publication of CN112422407A publication Critical patent/CN112422407A/en
Application granted granted Critical
Publication of CN112422407B publication Critical patent/CN112422407B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Abstract

The invention discloses a voice room following method, a device, equipment and a storage medium, and relates to a first terminal, wherein the method comprises the following steps: when a target user is online and is in a voice room, acquiring the setting type of the room following permission of the target user; judging whether the current user has the room following permission or not according to the setting type of the room following permission; if the current user has the room following permission, displaying the state of the voice room where the target user is located on the head portrait identifier corresponding to the target user; the head portrait identifier is displayed on a first terminal corresponding to the current user; and responding to a click instruction of the current user on the avatar identification, and establishing association between the first terminal and the voice room. Therefore, the target voice room can be added quickly, and voice social contact of the user is facilitated.

Description

Voice room following method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a voice room following method, device, equipment and storage medium.
Background
With the rapid development of the internet, more and more users utilize a real-time communication system or an instant messaging system to forward information, wherein the real-time communication system can realize the communication of real-time messages such as voice, video and internet phone, and the instant messaging system can realize the communication of instant messages such as characters and pictures.
When a user of the existing voice social platform finds an interested target user in different modules, the user can only inquire the room number by sending a message to the target user, and can only enter the corresponding room by searching the room number after the target user replies.
However, the room entering the target user in the voice social contact mode has a long flow, so that the interaction timeliness is low; meanwhile, the user cannot know the activity content of the room to which the target user belongs from the room number, so that the user cannot be quickly integrated into the room, and the voice social contact of the user is inconvenient.
Disclosure of Invention
The invention provides a voice room following method, a voice room following device, voice room following equipment and a storage medium, and solves the technical problem that in the prior art, a user is inconvenient to perform voice social contact because the room number and the activity content of a target user cannot be quickly known.
The invention provides a voice room following method, which relates to a first terminal and comprises the following steps:
when a target user is online and in a voice room, acquiring a setting type of a room following permission of the target user;
judging whether the current user has the room following permission or not according to the set type of the room following permission;
if the current user has the room following permission, displaying the state of the voice room where the target user is located on the head portrait identifier corresponding to the target user; the head portrait mark is displayed on a first terminal corresponding to the current user;
and responding to a click instruction of the current user to the avatar identification, and establishing association between the first terminal and the voice room.
Optionally, the setting types of the room following permission comprise visible fan and player, visible player and visible owner; the step of judging whether the current user has the room following authority or not according to the setting information of the room following authority comprises the following steps:
acquiring identity information of a current user;
when the setting type of the room following permission is that fans and play partners are visible, judging whether the identity information of the current user exists in a fan list of the target user or whether the identity information of the current user exists in an attention list of the target user;
if so, judging that the current user has the room following authority;
when the setting type of the room following permission is visible for the playmate, judging whether the identity information of the current user exists in the attention list of the target user;
if so, judging that the current user has the room following authority;
when the set type of the room following permission is that all people are visible, determining that the current user has the room following permission.
Optionally, the method further comprises:
when the setting type of the room following permission is fan visible, if the current user does not exist in the fan list of the target user, judging that the current user does not have the room following permission;
and when the setting type of the room following permission is that the playmate is visible, if the identity information of the current user does not exist in the attention list of the target user, judging that the current user does not have the room following permission.
Optionally, the step of establishing an association between the first terminal and the voice room in response to the click command of the current user on the avatar identifier includes:
responding to a click instruction of the current user to the head portrait identifier, and displaying a popup window to be confirmed on the first terminal; the popup window to be confirmed is used for displaying a confirmation option and a denial option for entering the voice room;
if a click command of the current user to the confirmation option is received on the first terminal, establishing association between the first terminal and the voice room;
and if the click instruction of the current user to the repudiation option is received on the first terminal, closing the popup window to be confirmed.
Optionally, the method further involves a second terminal corresponding to the target user, and the method further includes:
when the first terminal is associated with the voice room, displaying the room entering information of the current user on the second terminal; the room entering information is used for indicating that the current user establishes association with the voice room by using the room following authority.
Optionally, the method further comprises:
when the current user does not have the room following authority, hiding the state of the voice room where the target user is located on the avatar identification.
Optionally, the method further comprises:
when the target user is not online, the head portrait identifier displays an offline state on the first terminal;
when the target user is not in the voice room, the avatar identification displays an online state on the first terminal.
The invention also provides a voice room following device, which relates to a first terminal, and comprises:
the device comprises a setting type acquisition module, a setting type acquisition module and a setting module, wherein the setting type acquisition module is used for acquiring the setting type of the room following permission of a target user when the target user is online and in a voice room;
the permission judging module is used for judging whether the current user has the room following permission or not according to the setting type of the room following permission;
the state display module is used for displaying the state of the voice room where the target user is located on the head portrait identifier corresponding to the target user if the current user has the room following permission; the head portrait mark is displayed on a first terminal corresponding to the current user;
and the association establishing module is used for responding to a click instruction of the current user on the avatar identification, and establishing the association between the first terminal and the voice room.
Optionally, the setting types of the room following permission comprise that fans and companions are visible, the companions are visible, and all people are visible; the permission judging module comprises:
the identity information acquisition submodule is used for acquiring the identity information of the current user;
the first judgment sub-module is used for judging whether the identity information of the current user exists in a fan list of the target user or whether the identity information of the current user exists in a concern list of the target user when the setting type of the room following permission is that fans and playmates are visible;
the first judgment sub-module is used for judging that the current user has the room following permission if the current user has the room following permission;
the second judgment sub-module is used for judging whether the identity information of the current user exists in the attention list of the target user or not when the setting type of the room following permission is that the playmate is visible;
the second judging sub-module is used for judging that the current user has the room following permission if the current user has the room following permission;
and the permission determination sub-module is used for determining that the current user has the room following permission when the set type of the room following permission is visible to all people.
Optionally, the permission judging module further includes:
the first negation sub-module is used for judging that the current user does not have the room following permission if the current user does not exist in the fan list of the target user when the setting type of the room following permission is visible;
and the second negation sub-module is used for judging that the current user does not have the room following permission if the identity information of the current user does not exist in the attention list of the target user when the setting type of the room following permission is that the play partner is visible.
Optionally, the association establishing module includes:
a popup window to be confirmed display submodule, configured to display a popup window to be confirmed on the first terminal in response to a click instruction of the current user on the avatar identifier; the popup window to be confirmed is used for displaying a confirmation option and a denial option for entering the voice room;
the key establishing submodule is used for establishing the association between the first terminal and the voice room if a click instruction of the current user on the confirmation option is received on the first terminal;
and the closing submodule of the popup window to be confirmed is used for closing the popup window to be confirmed if the current user clicks the denial option on the first terminal.
Optionally, the apparatus further includes a second terminal corresponding to the target user, where the apparatus further includes:
the room entering information display module is used for displaying the room entering information of the current user on the second terminal when the first terminal is associated with the voice room; the room entering information is used for indicating that the current user establishes association with the voice room by using the room following authority.
Optionally, the apparatus further comprises:
and the state hiding module is used for hiding the state of the voice room where the target user is located on the avatar identification when the current user does not have the room following right.
Optionally, the apparatus further comprises:
the offline state display module is used for displaying the offline state of the head portrait identifier on the first terminal when the target user is not online;
and the online state display module is used for displaying the online state of the avatar identification on the first terminal when the target user is not in the voice room.
The present invention further provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the voice room following method according to any of the above embodiments.
The present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by the processor, implements the speech room following method according to any of the above embodiments.
According to the technical scheme, the invention has the following advantages:
in the embodiment of the invention, when a target user is online and is in a voice room, the setting type of the room following permission of the target user is obtained through a server, so that whether the current user has the corresponding room following permission or not is judged, and under the condition that the current user has the room following permission, the state of the voice room is displayed at the head portrait identifier of the target user of a first terminal of the current user, and at the moment, if a click instruction of the head portrait identifier by the current user is received, the association between the first terminal and the voice room is established, so that the current user is added into the voice room, the target voice room is rapidly added, and the voice social contact of the user is more convenient.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without inventive labor.
FIG. 1 is a flow chart illustrating steps of a method for following a voice room according to an embodiment of the present invention;
FIG. 2 is a flow chart of the steps of a voice room following method according to an alternative embodiment of the present invention;
FIG. 3 is a schematic view of a current user viewing page in an embodiment of the present invention;
FIG. 4 is a flowchart illustrating the steps of a room following permission determination process of a current user according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a voice room according to an embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating a pop-up window to be confirmed according to an embodiment of the present invention;
FIG. 7 is a software flow chart of a method for following a voice room according to an embodiment of the present invention;
fig. 8 is a block diagram of a voice room following device according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a voice room following method, a device, equipment and a storage medium, which are used for solving the technical problem that a user is inconvenient to perform voice social contact because the room number and the activity content of a target user cannot be quickly known in the prior art.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a voice room following method according to an embodiment of the present invention.
The invention provides a voice room following method, which relates to a first terminal and comprises the following steps:
step 101, when a target user is online and in a voice room, acquiring a setting type of a room following permission of the target user;
in the embodiment of the invention, the current user needs to join the voice room where the target user is located, whether the target user is online and in the voice room needs to be determined, and at the moment, the server detects the state of the target user, so that the setting type of the room following permission of the target user is obtained when the target user is online and in the voice room.
Step 102, judging whether the current user has the room following permission or not according to the set type of the room following permission;
after the setting type of the room following permission of the target user is obtained, in order to guarantee the information security of the target user, whether the requirement of the current user for adding into the voice room is allowed by the target user needs to be judged, whether the current user has the room following permission can be judged according to the setting type of the room following permission, and therefore whether the current user can know the current state of the room where the target user is located is determined.
103, if the current user has the room following authority, displaying the state of the voice room where the target user is located on the avatar identification corresponding to the target user;
in the embodiment of the invention, the head portrait identifier is displayed on a first terminal corresponding to the current user; when the current user has the room following right, the server can directly display the state of the voice room where the target user is located on the head portrait identifier corresponding to the target user because the head portrait identifier of the target user is displayed on the first terminal of the current user, so that the current user can quickly know the activity condition of the voice room where the target user is located, and whether the current user enters the room for voice interaction or not can be better considered.
And 104, responding to a click instruction of the current user to the avatar identification, and establishing the association between the first terminal and the voice room.
After the current user determines that the current user needs to enter the voice room, the server responds to the click command by clicking the head portrait identifier, and directly establishes the association between the current user and the voice room so as to display the voice room on the first terminal, thereby achieving the technical purpose that the current user quickly joins the voice room where the target user is located for interaction.
In the embodiment of the invention, when a target user is online and is in a voice room, the setting type of the room following permission of the target user is obtained through a server, so that whether the current user has the corresponding room following permission or not is judged, and under the condition that the current user has the room following permission, the state of the voice room is displayed at the head portrait identifier of the target user of a first terminal of the current user, and at the moment, if a click instruction of the head portrait identifier by the current user is received, the association between the first terminal and the voice room is established, so that the current user is added into the voice room, the target voice room is rapidly added, and the voice social contact of the user is more convenient.
Referring to fig. 2, fig. 2 is a flowchart illustrating steps of a method for following a voice room according to an alternative embodiment of the present invention.
The invention provides a voice room following method, which relates to a first terminal and comprises the following steps:
step 201, when a target user is online and in a voice room, acquiring a setting type of a room following authority of the target user;
in the embodiment of the present invention, the specific implementation process of step 201 is similar to that of step 101, and is not described herein again.
Referring to fig. 3, the server may monitor the list of messages of the current user, for example, in a live broadcast, which may be displayed as "live voice room"; or the homepage or the dynamic page of the target user is checked through the first terminal of the current user, such as 'Ta is expanding rooms', and the like, so that the current state of the target user is known, and the setting type of the room following permission of the target user is further acquired.
Step 202, judging whether the current user has the room following permission or not according to the set type of the room following permission;
referring to fig. 4, fig. 4 is a flow chart illustrating steps of a room following permission judging process of a current user in the embodiment of the present invention.
Wherein the setting types of the room following authority include fan and player visibility, player visibility and owner visibility, the step 202 may include the following substeps S11-S16:
s11, acquiring identity information of a current user;
s12, when the setting type of the room following permission is that fans and playmates are visible, judging whether the identity information of the current user exists in a fan list of the target user or whether the identity information of the current user exists in an attention list of the target user;
s13, if yes, judging that the current user has the room following permission;
s14, when the setting type of the room following permission is visible for the companion, judging whether the identity information of the current user exists in the attention list of the target user;
s15, if yes, judging that the current user has the room following permission;
s16, when the setting type of the room following permission is that all people are visible, determining that the current user has the room following permission.
In the embodiment of the invention, the room following permission is default opened, and at this time, in order to determine whether the current user has the room following permission, the setting type of the room following permission of the target user can be detected by acquiring the identity information of the current user; if the type is that the fans and the play partners are visible, further judging whether the identity information of the current user exists in a fan list of the target user or an attention list of the target user; if the fan list exists, the current user is the fan of the target user, if the fan list exists, the current user is the mutual interested person of the target user and belongs to the play category, and at the moment, the current user can be judged to have the room following permission.
And if the setting type of the room following permission is visible for the player, directly judging whether the identity information of the current user is in the attention list of the target user, and if so, judging that the current user has the room following permission.
If the setting type of the room following permission is that all people are visible, it is stated that no matter fans, concerned people or tourists and the like have the room following permission, the current user also belongs to one of the types, and the current user can be directly determined to have the room following permission.
Further, the step 202 further includes S17-S18:
s17, when the setting type of the room following permission is visible, if the current user does not exist in the fan list of the target user, judging that the current user does not have the room following permission;
s18, when the setting type of the room following permission is that the player is visible, if the identity information of the current user does not exist in the attention list of the target user, judging that the current user does not have the room following permission.
It is worth mentioning that in a specific implementation, the target user may choose not to open the room following permission, and at this time, no matter what the setting type of the room following permission is, the current user does not have the room following permission of the target user.
Step 203, if the current user has the room following authority, displaying the state of the voice room where the target user is located on the head portrait identifier corresponding to the target user; the head portrait mark is displayed on a first terminal corresponding to the current user;
in the embodiment of the invention, if the current user has the room following authority, the current user can check the head portrait identifier of the target user through the first terminal, and the state of the voice room where the target user is located is displayed on the head portrait identifier.
Referring to fig. 5, the states of the voice room include various states, such as "live", "expanding", "queen", "relative", etc., which are not limited by the embodiment of the present invention.
In another example of the present invention, the above step 104 may be replaced with the following steps 204-206:
step 204, responding to a click instruction of the current user to the avatar identification, and displaying a popup to be confirmed on the first terminal;
optionally, the popup to be confirmed is used to display a confirmation option and a denial option for entering the voice room, and in order to prevent a user from performing an incorrect operation due to a false touch, after the current user clicks the avatar identifier, the popup to be confirmed may be displayed on the first terminal so as to further receive a selection of the current user for entering the voice room.
As shown in fig. 6, the pop-up window may be displayed as "confirm entry into the room where the cat stains" and may be provided with "confirm" and "cancel" options.
Step 205, if a click instruction of the current user on the confirmation option is received on the first terminal, establishing association between the first terminal and the voice room;
further, if the current user clicks the confirmation option on the pop-up window to be confirmed, it indicates that the current operation of the current user is not the misoperation, and at this time, the association between the first terminal and the voice room can be established, so that the current user enters the voice room corresponding to the target user, and the current user can perform voice social contact more conveniently.
Step 206, if a click instruction of the current user to the denial option is received on the first terminal, closing the popup window to be confirmed.
In another example of the present invention, if a click instruction of the current user for the negative-confirmation option is received from the first terminal, it indicates that the operation of the current user may be a false-touch operation, and to facilitate the user operation, the popup window to be confirmed is closed, so that the current user can perform further operations.
Optionally, the method further involves a second terminal corresponding to the target user, and the method further includes:
when the first terminal is associated with the voice room, displaying the room entering information of the current user on the second terminal;
in the embodiment of the invention, in order to enable the target user to timely know the information of the current user joining the voice room, when the first terminal is associated with the voice room, the room entering information of the current user can be displayed on the second terminal of the target user, and the room entering information is used for indicating that the current user uses the room following authority to establish the association with the voice room.
For example, the room entering information of the current user may be displayed at the top of the message list of the voice room, which is not limited in this embodiment of the present invention.
In another example of the present invention, the method may further include the following case in implementation:
when the current user does not have the room following right, hiding the state of the voice room where the target user is located on the avatar identification.
In a specific implementation, if the current user does not have the room following authority, the server controls the display condition of the avatar identifier on the first terminal so as not to display the state of the voice room where the target user is located.
In an optional embodiment of the present invention, the method further comprises the following cases in an implementation process:
when the target user is not online, the head portrait identifier displays an offline state on the first terminal;
when the target user is not in the voice room, the avatar identification displays an online state on the first terminal.
In a specific implementation, the server needs to judge whether the target user is online in advance, if the target user is not online, the target user is not possible to be in the voice room, the current user cannot use the room to follow the permission to enter the voice room, and the offline state can be directly displayed on the avatar identifier.
And if the target user is online but not in the voice room, directly displaying the online state of the target user through the avatar identification.
Optionally, the first terminal and the second terminal are terminals capable of networking, including but not limited to APP, a mobile phone, a tablet computer or a computer.
In the embodiment of the invention, when a target user is online and in a voice room, the setting type of the room following permission of the target user is obtained through a server, so that whether the current user has the corresponding room following permission or not is judged, and under the condition that the current user has the room following permission, the state of the voice room is displayed at the head portrait identifier of the target user of a first terminal of the current user, at the moment, if a click instruction of the head portrait identifier by the current user is received, the association between the first terminal and the voice room is established, so that the current user is added into the voice room, the target voice room is rapidly added, and the voice social contact of the user is more convenient.
Referring to fig. 7, fig. 7 is a software flowchart illustrating a voice room following method according to an embodiment of the present invention, including:
1. the server checks the information list, the target user homepage or the owner dynamics at the first terminal;
2. the server judges whether the target user is online or not; if not, displaying the head portrait on the first terminal in an offline mode; if yes, displaying the head portrait on line at the first terminal;
3. the server judges whether the target user is in a voice room or not; if not, hiding the state display of the voice room;
4. if yes, continuously judging whether the target user opens the room following permission or not; if not, hiding the state of the voice room; if yes, detecting which room follows the authority;
5. if the fans and the play partners have the visible permission, judging whether the user corresponding to the first terminal joins a fan group of the target user or pays attention to the target user; if so, displaying the state of the voice room; if not, hiding the state of the voice room;
6. if the permission is the play partner visible permission, whether the user corresponding to the first terminal pays attention to the target user is judged; if so, displaying the state of the voice room; if not, hiding the state of the voice room;
7. if the authority is the authority visible to all people, the state of the voice room is displayed;
8. under the condition of displaying the state of the voice room, if an instruction of clicking a head portrait of a target user is received from the first terminal, displaying a popup window to be confirmed when the user enters the room;
9. judging a click instruction of the pop-up window to be confirmed when the user enters the room through the server, if so, entering a voice room where the target user is located, and displaying a follow-up room entering message at the second terminal; and if not, canceling to enter the voice room where the target user is located.
Referring to fig. 8, fig. 8 is a block diagram of a voice room following device according to an embodiment of the present invention.
The embodiment of the invention provides a voice room following device, which relates to a first terminal, and comprises:
a setting type obtaining module 801, configured to obtain a setting type of a room following permission of a target user when the target user is online and is in a voice room;
the permission judging module 802 is configured to judge whether the current user has the room following permission according to the setting type of the room following permission;
a state display module 803, configured to display, if the current user has the room following permission, a state of a voice room where the target user is located on an avatar identifier corresponding to the target user; the head portrait identifier is displayed on a first terminal corresponding to the current user;
an association establishing module 804, configured to establish an association between the first terminal and the voice room in response to a click instruction of the current user on the avatar identifier.
Optionally, the setting types of the room following permission comprise visible fan and player, visible player and visible owner; the permission judging module 802 includes:
the identity information acquisition submodule is used for acquiring the identity information of the current user;
the first judgment submodule is used for judging whether the identity information of the current user exists in a fan list of the target user or whether the identity information of the current user exists in an attention list of the target user when the setting type of the room following permission is that fans and play partners are visible;
the first judgment sub-module is used for judging that the current user has the room following permission if the current user has the room following permission;
the second judgment submodule is used for judging whether the identity information of the current user exists in the attention list of the target user or not when the setting type of the room following permission is that the playmate is visible;
the second judging submodule is used for judging that the current user has the room following permission if the current user has the room following permission;
and the permission determination submodule is used for determining that the current user has the room following permission when the setting type of the room following permission is visible to all people.
Optionally, the permission determining module 802 further includes:
the first negation sub-module is used for judging that the current user does not have the room following permission if the current user does not exist in the fan list of the target user when the setting type of the room following permission is visible;
and the second negation sub-module is used for judging that the current user does not have the room following permission if the identity information of the current user does not exist in the attention list of the target user when the setting type of the room following permission is that the play partner is visible.
Optionally, the association establishing module 804 includes:
a popup window to be confirmed display submodule, configured to display a popup window to be confirmed on the first terminal in response to a click instruction of the current user on the avatar identifier; the popup window to be confirmed is used for displaying a confirmation option and a denial option for entering the voice room;
the key establishment sub-module is used for establishing the association between the first terminal and the voice room if a click command of the current user on the confirmation option is received on the first terminal;
and the to-be-confirmed popup window closing submodule is used for closing the to-be-confirmed popup window if the click instruction of the current user on the denial option is received on the first terminal.
Optionally, the apparatus further includes a second terminal corresponding to the target user, where the apparatus further includes:
the room entering information display module is used for displaying the room entering information of the current user on the second terminal when the first terminal is associated with the voice room; the room entering information is used for indicating that the current user establishes association with the voice room by using the room following authority.
Optionally, the apparatus further comprises:
and the state hiding module is used for hiding the state of the voice room where the target user is located on the avatar identification when the current user does not have the room following right.
Optionally, the apparatus further comprises:
the offline state display module is used for displaying the offline state of the head portrait identifier on the first terminal when the target user is not online;
and the online state display module is used for displaying the online state of the avatar identification on the first terminal when the target user is not in the voice room.
An embodiment of the present invention further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the voice room following method according to any of the above embodiments.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by the processor to implement the voice room following method described in any of the above embodiments.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
In the several embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
The above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (9)

1. A voice room following method, involving a first terminal, the method comprising:
when a target user is online and in a voice room, acquiring a setting type of a room following permission of the target user;
judging whether the current user has the room following permission or not according to the setting type of the room following permission;
if the current user has the room following permission, displaying the state of the voice room where the target user is located on the head portrait identifier corresponding to the target user; the head portrait mark is displayed on a first terminal corresponding to the current user;
responding to a click instruction of the current user to the avatar identification, and establishing association between the first terminal and the voice room;
the method also relates to a second terminal corresponding to the target user, and further comprises the following steps:
when the first terminal is associated with the voice room, displaying the room entering information of the current user on the second terminal; the room entering information is used for indicating that the current user establishes association with the voice room by using the room following authority;
the room entering information is displayed at the topmost end of the message list of the voice room.
2. The method according to claim 1, wherein the setting types of the room following authority include fan and player visibility, player visibility and owner visibility; the step of judging whether the current user has the room following authority or not according to the setting information of the room following authority comprises the following steps:
acquiring identity information of a current user;
when the setting type of the room following permission is that fans and play partners are visible, judging whether the identity information of the current user exists in a fan list of the target user or whether the identity information of the current user exists in an attention list of the target user;
if yes, judging that the current user has the room following permission;
when the setting type of the room following permission is visible for the playmate, judging whether the identity information of the current user exists in the attention list of the target user;
if so, judging that the current user has the room following authority;
and when the setting type of the room following permission is that all people are visible, determining that the current user has the room following permission.
3. The method of claim 2, further comprising:
when the setting type of the room following permission is fan visible, if the current user does not exist in the fan list of the target user, judging that the current user does not have the room following permission;
and when the setting type of the room following permission is that the playmate is visible, if the identity information of the current user does not exist in the attention list of the target user, judging that the current user does not have the room following permission.
4. The method according to claim 1, wherein the step of establishing the association between the first terminal and the voice room in response to the click command of the avatar identifier from the current user comprises:
responding to a click instruction of the current user to the avatar identification, and displaying a popup to be confirmed on the first terminal; the popup window to be confirmed is used for displaying a confirmation option and a denial option for entering the voice room;
if a click command of the current user to the confirmation option is received on the first terminal, establishing association between the first terminal and the voice room;
and if the click instruction of the current user to the repudiation option is received on the first terminal, closing the popup window to be confirmed.
5. The method of claim 3, further comprising:
when the current user does not have the room following right, hiding the state of the voice room where the target user is located on the avatar identification.
6. The method of claim 1, further comprising:
when the target user is not online, the head portrait identifier displays an offline state on the first terminal;
when the target user is not in the voice room, the avatar identification displays an online state on the first terminal.
7. A voice room following device, relating to a first terminal, the device comprising:
the device comprises a setting type acquisition module, a setting type acquisition module and a setting module, wherein the setting type acquisition module is used for acquiring the setting type of the room following permission of a target user when the target user is online and in a voice room;
the permission judging module is used for judging whether the current user has the room following permission or not according to the setting type of the room following permission;
the state display module is used for displaying the state of the voice room where the target user is located on the head portrait identifier corresponding to the target user if the current user has the room following permission; the head portrait mark is displayed on a first terminal corresponding to the current user;
the association establishing module is used for responding to a click instruction of the current user on the head portrait identifier and establishing the association between the first terminal and the voice room;
the device also relates to a second terminal corresponding to the target user, and the device also comprises:
the room entering information display module is used for displaying the room entering information of the current user on the second terminal when the first terminal is associated with the voice room; the room entering information is used for indicating that the current user establishes association with the voice room by using the room following permission;
the room entrance information is displayed at the topmost of the message list of the voice room.
8. An electronic device, comprising a memory and a processor, wherein the memory has stored therein a computer program, which, when executed by the processor, causes the processor to carry out the steps of the voice room following method according to any of the claims 1-6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the voice room following method according to any one of claims 1 to 6.
CN202011162825.5A 2020-10-27 2020-10-27 Voice room following method, device, equipment and storage medium Active CN112422407B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011162825.5A CN112422407B (en) 2020-10-27 2020-10-27 Voice room following method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011162825.5A CN112422407B (en) 2020-10-27 2020-10-27 Voice room following method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112422407A CN112422407A (en) 2021-02-26
CN112422407B true CN112422407B (en) 2022-11-04

Family

ID=74840637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011162825.5A Active CN112422407B (en) 2020-10-27 2020-10-27 Voice room following method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112422407B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338709B (en) * 2021-12-07 2023-08-29 贵阳语玩科技有限公司 User head portrait synchronization method and device, storage medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106961385A (en) * 2017-03-15 2017-07-18 腾讯科技(深圳)有限公司 The implementation method and device of real-time voice in virtual scene interaction
CN109445577A (en) * 2018-10-11 2019-03-08 腾讯科技(深圳)有限公司 Virtual room switching method, device, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10133442B2 (en) * 2013-06-08 2018-11-20 Tencent Technology (Shenzhen) Company Limited Method and apparatus for accessing a chat room
CN104852882A (en) * 2014-02-13 2015-08-19 夷希数码科技(上海)有限公司 Method for protecting user privacies in network social contact
CN109711892A (en) * 2018-12-28 2019-05-03 浙江百应科技有限公司 The method for automatically generating client's label during Intelligent voice dialog

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106961385A (en) * 2017-03-15 2017-07-18 腾讯科技(深圳)有限公司 The implementation method and device of real-time voice in virtual scene interaction
CN109445577A (en) * 2018-10-11 2019-03-08 腾讯科技(深圳)有限公司 Virtual room switching method, device, electronic equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"TT语音怎么设置仅玩伴可见";百度经验;《https://jingyan.baidu.com/article/6b182309de7a4aba58e159df.html》;20190505;第1-4页 *
"欢游怎么跟随好友";百度经验;《https://jingyan.baidu.com/article/375c8e196594fc65f3a22946.html》;20190905;第1-11页 *

Also Published As

Publication number Publication date
CN112422407A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN104394432B (en) Creation method and service equipment between a kind of net cast
WO2019238123A1 (en) Group message highlighting method and apparatus, readable storage medium and smart terminal
EP2438548B1 (en) A method for monitoring activities of a first user on any of a plurality of platforms
US7752554B2 (en) Bot identification and control
JP5925373B1 (en) Communication support system
US8473850B2 (en) Methods and apparatuses for displaying and managing content during a collaboration session
CN110149270B (en) Apparatus and method for instant messaging
CN111399709A (en) Message reminding method and device, electronic equipment and storage medium
US20180139253A1 (en) Communication system and method of using the same
TW201933288A (en) Attendance check method and apparatus, and attendance check device
US8117560B1 (en) Methods and apparatuses for selectively removing sensitive information during a collaboration session
US20140244772A1 (en) Method and device for implementing instant communication
US9876871B2 (en) User logging of web traffic on non-browser based devices
CN101535973A (en) Methods and apparatuses for dynamically sharing a portion of a display during a collaboration session
CN103916533A (en) Communication terminal, communication system, communication method
CN106713438B (en) Position sharing processing method and device
CN108052822B (en) Terminal control method, device and system
CN110955374A (en) Message display method and device
CN111147268A (en) Group chat method, device, electronic equipment and storage medium
CN106134134A (en) Transit time flow meter
CN109039877A (en) A kind of method, apparatus, electronic equipment and storage medium showing unread message quantity
CN112422407B (en) Voice room following method, device, equipment and storage medium
CN112911207A (en) Calling method and intelligent talkback system
CN108616443A (en) Associated person information methods of exhibiting and device
CN103970814A (en) Indicating Organization Of Visitor On User Interface Of User Engaged In Collaborative Activity With Visitor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant