CN116506242A - Method, device, computer equipment and storage medium for controlling data transmission - Google Patents

Method, device, computer equipment and storage medium for controlling data transmission Download PDF

Info

Publication number
CN116506242A
CN116506242A CN202210074850.0A CN202210074850A CN116506242A CN 116506242 A CN116506242 A CN 116506242A CN 202210074850 A CN202210074850 A CN 202210074850A CN 116506242 A CN116506242 A CN 116506242A
Authority
CN
China
Prior art keywords
user
users
state
target
interaction
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.)
Pending
Application number
CN202210074850.0A
Other languages
Chinese (zh)
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202210074850.0A priority Critical patent/CN116506242A/en
Priority to PCT/CN2022/142544 priority patent/WO2023138323A1/en
Publication of CN116506242A publication Critical patent/CN116506242A/en
Pending legal-status Critical Current

Links

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/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1822Conducting the conference, e.g. admission, detection, selection or grouping of participants, correlating users to one or more conference sessions, prioritising transmission
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/203D [Three Dimensional] animation
    • G06T13/403D [Three Dimensional] animation of characters, e.g. humans, animals or virtual beings
    • 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
    • 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/1827Network arrangements for conference optimisation or adaptation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a computer device, and a storage medium for controlling data transmission; the method for controlling data transmission provided by the embodiment of the disclosure comprises the following steps: responding to a request of a first user entering a target chat room, and determining the number of users in different interaction states in the target chat room; wherein, users in different interaction states have different data receiving and transmitting rights; determining a target interaction state from a plurality of interaction states according to the number of users in different interaction states in the target chat room, the upper limit of the number of users corresponding to each interaction state and the member type of the first user; and configuring the target interaction state for the first user so that the first user can receive and send data in the target chat room based on the target interaction state.

Description

Method, device, computer equipment and storage medium for controlling data transmission
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a computer device, and a storage medium for controlling data transmission.
Background
For social software of multiple people on line at the same time, users in the same chat room can send and receive instant messages to each other so as to communicate. However, due to the limitation of the concurrent data volume of the server or the performance of the client, the chat room has a limited number of users, and when the upper limit of the number of users is reached, new users cannot be accommodated.
In order to solve the problem of the upper limit of the number of chat users, general social software adopts queuing rules, namely after the number of users in the chat room reaches the upper limit, the users who want to enter the chat room need to queue, and after the users in the chat room exit, the users in the queue enter the chat room in sequence.
The method has the defects that users in the queuing cannot participate in the chat at all, the time required by the queuing is difficult to estimate, and the user experience during the queuing is poor, so that the users finally abandon to enter the chat room. However, the users currently located in the chat room may not intend or act to participate in communication, which results in low resource utilization efficiency of the chat room.
Disclosure of Invention
The embodiment of the disclosure at least provides a method, a device and a system for controlling data transmission.
In a first aspect, an embodiment of the present disclosure provides a method for controlling data transmission, including:
Responding to a request of a first user entering a target chat room, and determining the number of users in different interaction states in the target chat room; wherein, users in different interaction states have different data receiving and transmitting rights;
determining a target interaction state from a plurality of interaction states according to the number of users in different interaction states in the target chat room, the upper limit of the number of users corresponding to each interaction state and the member type of the first user;
and configuring the target interaction state for the first user so that the first user can receive and send data in the target chat room based on the target interaction state.
In one embodiment, selecting the target interaction state from a plurality of interaction states according to the number of users in different interaction states in the target chat room, the upper limit of the number of users corresponding to each interaction state, and the member type to which the first user belongs, includes:
determining the interaction states of other users with the same member type as the first user in the target chat room according to the number of users in different interaction states in the target chat room, the upper limit of the number of users corresponding to each interaction state and the member type of the first user, and judging whether the number of users in the interaction state reaches the upper limit of the corresponding number of users;
If the upper limit of the number of users is not reached, taking the interaction state of other users with the same member type as the first user as the target interaction state of the first user;
if the upper limit of the number of the users is reached, selecting a priority according to the member type of the first user, the member types of other users in the target chat room and the states corresponding to different member types, and determining the target interaction state for the first user.
In one embodiment, the determining the target interaction state for the first user according to the member type to which the first user belongs, the member types to which other users in the target chat room belong, and the state selection priorities corresponding to different member types includes:
judging whether at least one second user with lower state selection priority than the first user exists in the target chat room or not according to the member type of the first user, the member types of other users in the target chat room and the state selection priorities corresponding to different member types;
if at least one second user with lower priority than the state selection priority of the first user exists, determining the interaction state with the highest corresponding data receiving and transmitting authority as the target interaction state in the interaction states respectively corresponding to the at least one second user;
And if at least one second user with lower priority than the state selection priority of the first user does not exist, taking the interaction state with the highest corresponding data receiving and transmitting authority in the interaction states which do not reach the upper limit of the number of users currently as the target interaction state.
In an embodiment, after determining, in the interaction states corresponding to the at least one second user respectively, the interaction state with the highest data receiving and transmitting authority as the target interaction state, the method further includes:
if the number of users corresponding to the target interaction state with the highest data receiving and transmitting authority in the interaction state of the at least one second user reaches the upper limit of the number of users, degrading the interaction state of the target second user with the lowest corresponding state selection priority in the at least one second user in the target interaction state, and configuring the interaction state of the first user as the target interaction state; wherein the status selection priorities between different ones of the second users are related to the member types of the second users and the order of entry into the target chat room.
In one embodiment, the degrading the interaction state of the target second user with the lowest priority for selecting the corresponding state in the at least one second user in the target interaction state includes:
If the number of users corresponding to the next-level interaction state of the target second user reaches the upper limit of the number of users, degrading the interaction state of the target third user with the lowest corresponding state selection priority in at least one third user in the next-level interaction state, and degrading the interaction state of the target second user into the next-level interaction state; wherein the status selection priorities between different ones of the third users are related to the member types of the third users and the order of entry into the target chat room.
In one embodiment, the method further comprises:
after determining that a fourth user leaves the target chat room, under the condition that at least one fifth user with lower data receiving and transmitting authority than the fourth user exists, upgrading the interaction state of the target fifth user with the highest corresponding state selection priority in the at least one fifth user into the interaction state of the fourth user before leaving the target chat room; wherein the status selection priorities among different ones of the fifth users are related to the member types of the fifth users and the order of entry into the target chat room.
In one embodiment, the upgrading the interaction state of the target fifth user with the highest state selection priority in the at least one fifth user to the interaction state of the fourth user before leaving the target chat room further includes:
if the number of users corresponding to the interaction state of the target fifth user before upgrading reaches the upper limit of the number of users, upgrading the interaction state of the target sixth user with the highest corresponding state selection priority in at least one sixth user in the next-stage interaction state of the interaction state before upgrading to the interaction state before upgrading of the fifth user; wherein the status selection priorities among different ones of the sixth users are related to the member types of the sixth users and the order of entry into the target chat room.
In one embodiment, the method further comprises:
when the seventh user in the target chat room is determined to be on the top of the wheat, if the data receiving and transmitting authority of the seventh user is not the highest, the data receiving and transmitting authority of the seventh user is:
upgrading the interaction state of the seventh user to the interaction state corresponding to the highest data receiving and transmitting authority; degrading the interaction state of the target eighth user with the lowest state selection priority among at least one eighth user which is not on wheat in the target chat room and has the highest data receiving and transmitting authority; wherein the status selection priorities among different eighth users are related to the member types of the eighth users and the order of entering the target chat room.
In one embodiment, the method further comprises:
when determining that a ninth user having the highest data receiving and transmitting authority in the target chat room plays a role in downloading, if at least one tenth user having a higher priority than the state selection corresponding to the member type of the ninth user exists in the target chat room and at least one tenth user does not have the highest data receiving and transmitting authority, upgrading the interaction state of the target tenth user having the highest priority and downgrading the interaction state of the ninth user, wherein the tenth user does not have the highest data receiving and transmitting authority; wherein the status selection priorities among the different tenth users are related to the member types of the tenth users and the order of entering rooms.
In one embodiment, the interaction state includes a plurality of:
entity status; the user in the entity state can operate the corresponding three-dimensional virtual character, the three-dimensional virtual character is visible to other users, and the user can interact with the three-dimensional virtual character in other corresponding entity states;
a ghost state; the user in the virtual shadow state can operate the corresponding three-dimensional virtual character, and the three-dimensional virtual character is only visible to the user operating the three-dimensional virtual character and cannot interact with the three-dimensional virtual character in other corresponding entity states;
A viewing state; the user in the watching state does not have a corresponding three-dimensional virtual character, and the three-dimensional virtual characters of other users are invisible to the user, but chat information of other users in the target chat room can be received.
In one embodiment, the member types include a plurality of:
the method comprises the steps of a barley member, a group owner, a group manager, a common member and a visitor.
In a second aspect, an embodiment of the present disclosure further provides an apparatus for controlling data transmission, including:
the first determining module is used for responding to a request of a first user entering a target chat room and determining the number of users in different interaction states in the target chat room; wherein, users in different interaction states have different data receiving and transmitting rights;
the second determining module is used for determining a target interaction state from a plurality of interaction states according to the number of users in different interaction states in the target chat room, the upper limit of the number of users corresponding to each interaction state and the member type of the first user;
and the configuration module is used for configuring the target interaction state for the first user so that the first user can receive and send data in the target chat room based on the target interaction state.
In a third aspect, embodiments of the present disclosure further provide a computer device, comprising: a processor, a memory storing machine-readable instructions executable by the processor, the processor for executing the machine-readable instructions stored in the memory, the machine-readable instructions when executed by the processor, the processor performing the steps of the method of controlling data transmission as described in any of the above embodiments.
The disclosed embodiments also provide a computer readable storage medium having stored thereon a computer program which, when executed by a computer device, performs the steps of the method of controlling data transmission as described in any of the above embodiments.
By adopting the scheme of the embodiment of the disclosure, different upper limits of the number of users can be set respectively aiming at different interaction states, and a matched target interaction state is determined for the users by combining member types of the users, so that the total number of users accommodated in the chat room is increased, and meanwhile, the interaction requirements of the different users can be met, thereby improving the utilization efficiency of chat room resources.
In addition, in some implementations provided by the embodiments of the present disclosure, when the states of members in the chat room change, for example, when the members leave the chat room, leave the wheat, or leave the wheat, the interaction states of the members in the chat room can be adjusted and updated, so that the interaction states of the users in the chat room can be adjusted in time according to the actual needs of the users, further meeting different interaction needs of the users, and further improving the utilization efficiency of the chat room resources.
The foregoing objects, features and advantages of the disclosure will be more readily apparent from the following detailed description of the preferred embodiments taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for the embodiments are briefly described below, which are incorporated in and constitute a part of the specification, these drawings showing embodiments consistent with the present disclosure and together with the description serve to illustrate the technical solutions of the present disclosure. It is to be understood that the following drawings illustrate only certain embodiments of the present disclosure and are therefore not to be considered limiting of its scope, for the person of ordinary skill in the art may admit to other equally relevant drawings without inventive effort.
Fig. 1 is a flowchart of a method of controlling data transmission provided by an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a chat room configuration in an embodiment of the disclosure;
fig. 3 is a schematic diagram of a state of virtual roles corresponding to each user in a chat room when a current user is in a virtual image state;
FIG. 4 is a schematic diagram of a chat message dialog in a chat room;
fig. 5 is a schematic diagram of an apparatus for controlling data transmission according to an embodiment of the disclosure
Fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only some embodiments of the present disclosure, but not all embodiments. The components of the disclosed embodiments generally described and illustrated herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure is not intended to limit the scope of the disclosure, as claimed, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be made by those skilled in the art based on the embodiments of this disclosure without making any inventive effort, are intended to be within the scope of this disclosure.
According to research, the interaction requirements of users in the same chat room are different, for example, some users have the requirement of chat communication, some users may only have the requirement of watching chat contents in the chat room, and if the upper limit of the number of users in the chat room is limited only by the number of users, the full utilization of chat room resources is not facilitated.
In addition, the demands of users in different interaction states on resources are different, and if the users have no uplink data demands, such as watching only chat content in a chat room, the stress on the server is small.
Based on this, the embodiment of the disclosure provides a method for controlling data transmission, which can determine a target interaction state for a user from multiple interaction states according to the number of users in different interaction states in a chat room, the upper limit of the number of users corresponding to each interaction state, and the member type to which the current user belongs when the user wants to enter the chat room, so that the user can send and receive data in the chat room in the target interaction state.
Based on the scheme, different upper limits of the number of users can be set according to different interaction states, and a matched target interaction state is determined for the users according to the member types of the users, so that the total number of users accommodated in the chat room is increased, and meanwhile, the interaction requirements of the different users can be met, and the utilization efficiency of chat room resources is improved.
The study and solution of the above problems are both the results of the inventors upon practice and careful study, and therefore, the discovery of the above problems and the corresponding solutions should be the contribution of the inventors to the present disclosure during the course of the present disclosure.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
For the sake of understanding the present embodiment, first, a detailed description will be given of a method for controlling data transmission disclosed in the present embodiment, where an execution body of the method for controlling data transmission provided in the present embodiment is generally a computer device with a certain computing capability, and in some possible implementations, the method for controlling data transmission may be implemented by a processor calling computer readable instructions stored in a memory.
A method for controlling data transmission provided by an embodiment of the present disclosure is described below.
Referring to fig. 1, a flowchart of a method for controlling data transmission according to an embodiment of the disclosure is shown, where the method includes:
S101: responding to a request of a first user entering a target chat room, and determining the number of users in different interaction states in the target chat room; wherein, the data receiving and transmitting rights of users in different interaction states are different.
S102: determining a target interaction state from a plurality of interaction states according to the number of users in different interaction states in the target chat room, the upper limit of the number of users corresponding to each interaction state and the member type of the first user;
s103: and configuring the target interaction state for the first user so that the first user can receive and send data in the target chat room based on the target interaction state.
In the above steps, the interaction state may refer to a state authority of the user exchanging interaction with other users in the chat room, if there is a right of data uplink and data downlink (i.e. the user can send and receive messages) in the interaction state, and if there is a right of only data downlink (only the user can receive messages but not send messages) in the interaction state; the member type is a character attribute of the user in the chat room, such as a chat room manager or a chat room common member or a non-chat room member is only a common visitor, etc.
In the above embodiment, the first user applies to enter the target chat room, at this time, the system may determine whether the number of users in different interaction states in the target chat room reaches an upper limit, for example, if the number of users in the interaction state with the highest data receiving and transmitting authority currently corresponding to the user does not reach the upper limit yet, the first user may be directly matched with the interaction state with the highest data receiving and transmitting authority, if the number of users in the interaction state with the highest data receiving and transmitting authority currently corresponding to the user reaches the upper limit yet, the member type of the first user may be looked at again, and if the priority of selecting the interaction state corresponding to the member type of the first user is the lowest, for example, the common visitor, at this time, the interaction state with the highest data receiving and transmitting authority currently not reaching the upper limit of the number of users may be configured to the first user as the target interaction state.
That is, according to whether the number of users in different interaction states in the target chat room reaches the upper limit and the member type to which the first user belongs, the embodiment can give consideration to the requirements of different member types in the target chat room on the data receiving and transmitting rights while configuring the interaction state with higher data receiving and transmitting rights for the first user as much as possible, and can utilize chat room resources to the greatest extent while meeting the interaction requirements of different degrees of users of different member types as much as possible.
The chat room in the embodiment of the disclosure has the function of playing the multimedia content while chat. As shown in fig. 2, in the chat room, each user may have a corresponding virtual character, and each user in the virtual room may control the corresponding virtual character to participate in the activity in the chat room, and participate in the discussion communication in the activity with the identity of the virtual character, which may be through voice or text communication. Further, the method can be applied to a chat room scene in a three-dimensional space, and the chat room and each virtual character exist in a three-dimensional posture, so that the sense of reality and immersion of the chat scene are increased.
Based on the application scenario, the interaction state of the embodiments of the present disclosure may include, for example, a physical state, a ghost state, a viewing state, and the like; the virtual roles corresponding to different interaction states have different existence states and/or different data uplink and downlink rights. For example, in the entity state, the user may have data uplink rights and data downlink rights (including role data uplink and downlink, and chat message uplink and downlink); in the virtual shadow state, the user can have data downlink authority (including role data downlink and chat message downlink); in the viewing state, the user may have a part of data downlink authority (for example, the role data cannot be downlink, and the chat message may be downlink); here, the virtual character may be a two-dimensional virtual character or a three-dimensional virtual character, and the interaction state is further described below by taking a chat room scene in a three-dimensional space as an example.
Specifically, for entity states: a user in an entity state can operate a corresponding three-dimensional virtual character which is visible to other users and can interact with the three-dimensional virtual characters in other corresponding entity states; that is, in the entity state, the data receiving and transmitting authority corresponding to the interaction state of the user is the highest; the user can chat and interact with the three-dimensional virtual roles of other entity states by using the three-dimensional virtual roles.
For the virtual shadow state: a user in a virtual shadow state can operate a corresponding three-dimensional virtual character, the three-dimensional virtual character is only visible to the user operating the three-dimensional virtual character, and the appearance of the virtual character can be displayed in a semitransparent state and cannot interact with the three-dimensional virtual character in other corresponding entity states; that is, in the virtual image state, the user data generally has no uplink authority, but may have data downlink authority, that is, the user may see the three-dimensional virtual character in the virtual image state and the three-dimensional virtual character of other users in the physical state; in addition, in the virtual shadow state, the user cannot speak, but can see chat messages of other users. As shown in fig. 3, after the current user enters the chat room, if the interaction state is configured as a virtual image state, in the chat room interface seen by the current user, the virtual character corresponding to the current user is in a semitransparent state (indicated by a dashed line in the figure), and meanwhile, the current user can see the virtual characters of other users in the physical state.
For the viewing state: the user in the watching state has no corresponding three-dimensional virtual character, and the three-dimensional virtual characters of other users are invisible to the user; the user in the watching state can receive chat information of other users in the target chat room. As shown in fig. 4, in the viewing state, the user cannot see the three-dimensional virtual character of the user and cannot see the three-dimensional virtual character of other users, but can receive voice and text information, that is, can obtain chat messages in the chat room, so that the chat progress of the chat room can be basically known.
In addition, the above member types include a plurality of:
the method comprises the steps of a barley member, a group owner, a group manager, a common member and a visitor.
Here, the top member, that is, the member who uses the microphone function to perform voice, may set the priority of selecting the interaction state to be the highest because of the high instant communication requirement of such member. The group owner is a user creating a chat room, the group administrator can be a user with a chat room member management function set by the group owner, the common member is a user joining the chat room, the visitor is a user which does not formally join the chat room, but can pay attention to the chat state in the chat room, such as a user waiting in line to formally become a chat room member. The priority of the member type selection interaction state can be from high to low, and the priority is that the top-priority member > group owner > group manager > common member > visitor.
For S101, the upper limit of the number of users in different interaction states in the target chat room may be preset according to the chat requirement and the resource status of the chat room. When a request of a first user entering a target chat room is received, determining the number of users currently in different interaction states in the target chat room, and generally, if the high-level (i.e. higher data receiving and transmitting authority) interaction state does not reach the upper limit of the number of users, preferentially distributing the high-level interaction state to the users, so that the high-level interaction state reaches the upper limit of the number of users first.
Aiming at the S102, a target interaction state is selected from a plurality of interaction states for a first user by combining whether the number of users in different interaction states in the target chat room reaches an upper limit and the member type to which the first user belongs; in the above description, if the high-level interaction state does not reach the upper limit of the number of users, the high-level interaction state is preferentially allocated to the users, and therefore, the high-level interaction state reaches the upper limit of the number of users first. Therefore, the interaction state of other users in the target chat room, which are the same as the member type of the first user, is the highest-level interaction state which the first user has an opportunity to select, if the interaction state does not reach the upper limit, the interaction state can be allocated to the first user, if the interaction state reaches the upper limit, whether the member type corresponding to the user in the interaction state has a lower priority than the state selection of the member type of the first user or not can be seen, and if the member type corresponding to the user in the interaction state has the higher priority, the user can give up the interaction state, so that the first user with the higher state selection priority inherits the interaction state.
That is, according to the number of users in different interaction states in the target chat room, the upper limit of the number of users corresponding to each interaction state, and the member type to which the first user belongs, determining the interaction states of other users in the target chat room, which are the same as the member type of the first user, and judging whether the number of users in the interaction state reaches the upper limit of the corresponding number of users; if the upper limit of the number of users is not reached, taking the interaction state of other users with the same member type as the first user as the target interaction state of the first user; if the upper limit of the number of the users is reached, selecting priorities according to the member types of the first user, the member types of other users in the target chat room and states corresponding to different member types, and determining the target interaction state for the first user.
For example, the first user enters the target chat room, the first user is a common group member, if the interaction states corresponding to the common group member in the target chat room are all physical states, and the upper limit of the number of users corresponding to the physical states in the target chat room is not reached, the interaction states can be directly configured for the first user to be the physical states; if the upper limit of the number of users corresponding to the entity state is reached, then users in multiple interaction states exist in the target chat room at the same time, at the moment, whether other users with lower priority than the state selection of the first user exist in the entity state can be judged, and if the other users exist, the entity state of the other users can be given away to the first user.
Here, if there are two or more kinds of interaction states of other users of the same member type as the first user, it means that the higher level (higher in data transceiving authority) interaction state has reached the upper limit of the number of users, and that no user in the higher level interaction state is lower in priority than the state selection of the first user; at this time, the interaction state with the lowest corresponding level (lowest data receiving and transmitting authority) among the interaction states of the other users with the same member type as the first user may be used as the interaction state for further judgment, that is, the interaction state of the other users with the same member type as the first user in the confirmed target chat room, and the judgment whether the subsequent user number reaches the upper limit may be performed.
In the above embodiment, after determining the interaction state of the other users in the target chat room, which are the same as the member type of the first user, if the number of users in the interaction state reaches the upper limit of the corresponding number of users, the priority is selected according to the member type to which the first user belongs, the member type to which the other users in the target chat room belong, and the states corresponding to different member types, so as to determine the target interaction state for the first user. Specifically, whether at least one second user with lower state selection priority than the first user exists in the target chat room can be judged according to the member type of the first user, the member types of other users in the target chat room and the state selection priorities corresponding to different member types; if at least one second user with lower priority than the state selection priority of the first user exists, determining the interaction state with the highest corresponding data receiving and transmitting authority as a target interaction state in the interaction states respectively corresponding to the at least one second user; if at least one second user with lower priority than the state selection priority of the first user does not exist, the interaction state with the highest corresponding data receiving and transmitting authority in the interaction state which does not reach the upper limit of the number of users at present is taken as a target interaction state.
If the number of users in the interaction state of other users with the same member type as the first user in the target chat room reaches the upper limit of the corresponding number of users, at this time, it can be seen whether second users with lower priority than the state selection priority of the first user exist in the chat room, and if so, the interaction state with the highest corresponding data receiving and transmitting authority in each second user can be used as the target interaction state of the first user. The specific principle is as follows: because the state selection priority of the second user is lower than that of the first user, if the number of users in the interaction state of the second user reaches the upper limit, the interaction state of the second user can be given to the first user; if the number of users in the interaction state of the second user does not reach the upper limit, the interaction state of the second user may naturally be configured to the first user as the target interaction state since the interaction state is the highest level of interaction state that the first user can select.
In the above description, it is explained that if the number of users in the interaction state of the second user reaches the upper limit, the interaction state of the target second user with the lowest priority of the corresponding state selection in the second user may be given to the first user; specifically, if the number of users corresponding to the target interaction state with the highest data receiving and transmitting authority in the interaction state of the at least one second user reaches the upper limit of the number of users, degrading the interaction state of the target second user with the lowest corresponding state selection priority in the at least one second user in the target interaction state, and configuring the interaction state of the first user as the target interaction state.
Here, the state selection priorities among the different second users are related to the order in which the second users enter the target chat room, in addition to the member types of the second users. That is, in the case of different member types, the priority of the member entering the target chat room first is higher than the priority of the member entering the target chat room later under the same member type according to the priority order of the above-described barley member > group owner > group manager > general member > visitor.
For example, if the first user is a group member (a top-hat member, or a group owner, or a group administrator, or a general member), and a visitor in a physical state exists in the target chat room, at this time, the interaction state of the first user may be configured to be in the physical state, and the visitor with the lowest priority (the visitor that finally enters the target chat room) may be adjusted to be in the virtual state.
The chat rooms in the embodiment of the disclosure can be divided into two types, namely, open chat rooms and friend chat rooms, wherein the open chat rooms allow all people to enter the chat, and the friend chat rooms only allow group members to enter. The above examples may be directed to open chat rooms.
In addition, in the foregoing embodiment, in order to configure the interaction state of the first user as the target interaction state, the interaction state of the target second user with the lowest priority for the corresponding state selection may be degraded in at least one second user in the target interaction state; here, after the interactive status of the target second user is downgraded, if the downgraded interactive status has exceeded the upper limit of the number of corresponding users, the interactive status of the user with the lowest priority is also required to be selected for the corresponding status among the users in the downgraded interactive status.
Specifically, the degrading the interaction state of the target second user with the lowest priority for the corresponding state selection in the at least one second user in the target interaction state includes: if the number of users corresponding to the next-level interaction state of the target second user reaches the upper limit of the number of users, degrading the interaction state of the target third user with the lowest corresponding state selection priority in at least one third user in the next-level interaction state, and degrading the interaction state of the target second user into the next-level interaction state; wherein the status selection priorities between different ones of the third users are related to the member types of the third users and the order of entry into the target chat room.
For example, the first user is a group member, a visitor in a physical state exists in the target chat room, after the interaction state of the first user is configured as the physical state and the visitor with the lowest state selection priority is adjusted as the virtual image state, if the number of users in the virtual image state before the adjustment reaches the upper limit or the number of users in the virtual image state after the adjustment exceeds the upper limit, the user with the lowest priority in the virtual image state is adjusted as the watching state.
In other embodiments, there may be situations where the user leaves the chat room, or where the types of members of the user in the chat room change, where the priority may be selected based on the status of each user, and the interaction status of the user in the chat room may be adjusted.
In one embodiment, after determining that the fourth user leaves the target chat room, if at least one fifth user with lower data receiving and transmitting authority than the fourth user exists, upgrading the interaction state of the target fifth user with the highest corresponding state selection priority in the at least one fifth user to the interaction state of the fourth user before leaving the target chat room; wherein the status selection priorities among different ones of the fifth users are related to the member types of the fifth users and the order of entry into the target chat room.
Here, after the fourth user leaves the target chat room, if there is a fifth user whose interaction state is lower than that of the fourth user, the rest of the interaction state seats after the fourth user leaves may be configured to the target fifth user with the highest state selection priority in the fifth user, that is, the interaction state of the target fifth user is updated to the interaction state of the fourth user before the fourth user leaves the target chat room. Here, the state selection priority among the different fifth users is related to the order in which the fifth users enter the target chat room, in addition to the member types of the fifth users. That is, in the case of different member types, the priority of the state selection is determined according to the priority order of the above-described barley member > group owner > group manager > general member > visitor, and in the same member type, the priority of the fifth user who first enters the target chat room is higher than the priority of the fifth user who later enters the target chat room.
For example, when the user in the physical state leaves the target chat room, the user with the highest state selection priority in the virtual state users is converted into the physical state.
The above embodiment may be applied to public group rooms or friend group rooms.
In addition, in the above embodiments, the interaction state of the target fifth user may be updated to the interaction state of the fourth user before leaving the target chat room; here, after upgrading the interaction state of the target fifth user, if the interaction state of the target fifth user before upgrading reaches the upper limit of the corresponding number of users and the interaction state of the sixth user is lower than the level of the interaction state of the target fifth user before upgrading, the interaction state of the target fifth user before upgrading may be further configured to the sixth user, and the steps are repeated until the requirement that: on the premise that the high-level interaction state reaches the upper limit of the number of users, users with low-level interaction state exist, namely, the high-level interaction state is fully utilized, and the high-level interaction requirement of the users is met as much as possible.
Specifically, updating the interaction state of the target fifth user with the highest corresponding state selection priority among the at least one fifth user to the interaction state of the fourth user before leaving the target chat room, further includes: if the number of users corresponding to the interaction state of the target fifth user before upgrading reaches the upper limit of the number of users, upgrading the interaction state of the target sixth user with the highest corresponding state selection priority in at least one sixth user in the next-stage interaction state of the interaction state before upgrading to the interaction state before upgrading of the fifth user; wherein the status selection priorities among different ones of the sixth users are related to the member types of the sixth users and the order of entry into the target chat room.
For example, when a user in a physical state leaves the target chat room, the user with the highest state selection priority among users in a virtual image state is changed into the physical state, and meanwhile, the user with the highest state selection priority among users in a viewing state is changed into the virtual image state.
The above description refers to the situation that the member type of the user in the chat room changes, such as the situation that the user gets a prime or gets a prime, at which time the user changes from other member types to prime members, or from prime members to other member types.
For the case of wheat feeding:
when the seventh user in the target chat room is determined to be on the top of the wheat, if the data receiving and transmitting authority of the seventh user is not the highest, the data receiving and transmitting authority of the seventh user is: upgrading the interaction state of the seventh user into the interaction state corresponding to the highest data receiving and transmitting authority; degrading the interaction state of the target eighth user with the lowest state selection priority among at least one eighth user which is not on wheat in the target chat room and has the highest data receiving and transmitting authority; wherein the status selection priorities among different eighth users are related to the member types of the eighth users and the order of entering the target chat room.
Here, after the seventh user changes from the non-top-level state to the top-level state, since the top-level member is the highest priority member, if the interaction state of the seventh user is not the highest level, that is, is not corresponding to the highest data receiving and transmitting authority, it needs to be adjusted to the interaction state of the highest level, such as the entity state described above; in addition, since the interaction state before the adjustment of the seventh user is not the highest level, the number of users indicating the entity state reaches the upper limit, and in this case, the eighth user with the lowest state selection priority among the eighth users without the prime of the entity state is also required to be degraded from the entity state to the ghost state.
For example, when a user in a virtual shadow state is on the top of the internet, the user in the virtual shadow state is adjusted to be in a physical state, and meanwhile, the user with the lowest state selection priority among the users in the physical state is adjusted to be in the virtual shadow state.
The above embodiment may be applied to public group rooms or friend group rooms.
For the following cases:
when determining that a ninth user having the highest data receiving and transmitting authority in a target chat room is down, if at least one tenth user having a higher priority than the state selection corresponding to the member type of the ninth user exists in the target chat room and at least one tenth user does not have the highest data receiving and transmitting authority (also is a user without the top authority), upgrading the interaction state of the target tenth user having the highest priority corresponding to the state selection in at least one tenth user not having the highest data receiving and transmitting authority, and downgrading the interaction state of the ninth user; wherein the status selection priorities among the different tenth users are related to the member types of the tenth users and the order of entering rooms.
Here, the ninth user is a user in an entity state before wheat is played (the user is upgraded to the highest-level interaction state during wheat playing before wheat playing), after the ninth user plays wheat, the member type is changed from a wheat playing member to a non-wheat playing member, for example, the ninth user is a visitor wheat playing member, and after wheat playing, the ninth user is changed to a common visitor still in a chat room; at this time, if a tenth user with a higher state selection priority than the ninth user exists in the target chat room, the interactive state of the target tenth user with the highest state selection priority is upgraded to the entity state, and the interactive state of the ninth user is downgraded, so that the requirements of higher state selection priority and higher level of the interactive state are met.
For example, when a visitor is in a wheat-out state, if a group member exists in the virtual image state members, the group member with the highest state selection priority in the virtual image state members becomes a physical state, and meanwhile, the visitor in the wheat-out state becomes the virtual image state.
In another embodiment, if there are a plurality of tenth users with higher priority than the ninth user in the target chat room, after upgrading the interactive status of the target tenth user in the ghost status with highest priority to the physical status, if the number of users in the ghost status before upgrading reaches the upper limit, the interactive status of the tenth user with priority still exists in the viewing status, at this time, the interactive status of the tenth user with priority of status selection may be further adjusted from the viewing status to the ghost status of the free seat, and the interactive status of the ninth user may be downgraded to the viewing status. For example, in the case where group members are allowed to exist in a viewing state: when a visitor gets off the call, if a plurality of group members (the state selection priority of the group members is higher than that of the visitor) exist in the group members in the virtual shadow state, the group member with the highest state selection priority among the group members in the virtual shadow state becomes the physical state, and if the group member with the watching state exists in the group members with the next state selection priority among the group members in the virtual shadow state, the group member with the watching state becomes the virtual shadow state, and meanwhile, the visitor getting off the call becomes the watching state.
It will be appreciated by those skilled in the art that in the above-described method of the specific embodiments, the written order of steps is not meant to imply a strict order of execution but rather should be construed according to the function and possibly inherent logic of the steps.
Based on the same inventive concept, the embodiments of the present disclosure further provide a device for controlling data transmission corresponding to the method for controlling data transmission, and since the principle of solving the problem of the device in the embodiments of the present disclosure is similar to that of the method for controlling data transmission in the embodiments of the present disclosure, implementation of the device may refer to implementation of the method, and repeated parts will not be repeated.
Referring to fig. 5, a schematic diagram of an apparatus for controlling data transmission according to an embodiment of the disclosure is shown, where the apparatus includes:
a first determining module 51, configured to determine, in response to a request from a first user to enter a target chat room, the number of users in different interaction states in the target chat room; wherein, users in different interaction states have different data receiving and transmitting rights;
the second determining module 52 is configured to determine a target interaction state from a plurality of interaction states according to the number of users in different interaction states in the target chat room, an upper limit of the number of users corresponding to each interaction state, and a member type to which the first user belongs;
The configuration module 53 is configured to configure the target interaction state for the first user, so that the first user performs data transceiving in the target chat room based on the target interaction state.
In one embodiment, the second determining module 52 is specifically configured to:
determining the interaction states of other users with the same member type as the first user in the target chat room according to the number of users in different interaction states in the target chat room, the upper limit of the number of users corresponding to each interaction state and the member type of the first user, and judging whether the number of users in the interaction state reaches the upper limit of the corresponding number of users;
if the upper limit of the number of users is not reached, taking the interaction state of other users with the same member type as the first user as the target interaction state of the first user;
if the upper limit of the number of the users is reached, selecting a priority according to the member type of the first user, the member types of other users in the target chat room and the states corresponding to different member types, and determining the target interaction state for the first user.
Further, in one embodiment, the second determining module 52 is configured to select a priority according to a member type to which the first user belongs, a member type to which other users in the target chat room belong, and states corresponding to different member types, and determine the target interaction state for the first user specifically:
Judging whether at least one second user with lower state selection priority than the first user exists in the target chat room or not according to the member type of the first user, the member types of other users in the target chat room and the state selection priorities corresponding to different member types;
if at least one second user with lower priority than the state selection priority of the first user exists, determining the interaction state with the highest corresponding data receiving and transmitting authority as the target interaction state in the interaction states respectively corresponding to the at least one second user;
and if at least one second user with lower priority than the state selection priority of the first user does not exist, taking the interaction state with the highest corresponding data receiving and transmitting authority in the interaction states which do not reach the upper limit of the number of users currently as the target interaction state.
Further, the second determining module 52 is further configured to, after determining, in the interaction states respectively corresponding to the at least one second user, the interaction state with the highest corresponding data receiving and transmitting authority as the target interaction state:
if the number of users corresponding to the target interaction state with the highest data receiving and transmitting authority in the interaction state of the at least one second user reaches the upper limit of the number of users, degrading the interaction state of the target second user with the lowest corresponding state selection priority in the at least one second user in the target interaction state, and configuring the interaction state of the first user as the target interaction state; wherein the status selection priorities between different ones of the second users are related to the member types of the second users and the order of entry into the target chat room.
In the above further embodiment, the second determining module 52 is specifically configured to, when degrading the interaction state of the target second user with the lowest priority for the corresponding state selection among the at least one second user in the target interaction state:
if the number of users corresponding to the next-level interaction state of the target second user reaches the upper limit of the number of users, degrading the interaction state of the target third user with the lowest corresponding state selection priority in at least one third user in the next-level interaction state, and degrading the interaction state of the target second user into the next-level interaction state; wherein the status selection priorities between different ones of the third users are related to the member types of the third users and the order of entry into the target chat room.
In another embodiment, the second determining module 52 is further configured to:
after determining that a fourth user leaves the target chat room, under the condition that at least one fifth user with lower data receiving and transmitting authority than the fourth user exists, upgrading the interaction state of the target fifth user with the highest corresponding state selection priority in the at least one fifth user into the interaction state of the fourth user before leaving the target chat room; wherein the status selection priorities among different ones of the fifth users are related to the member types of the fifth users and the order of entry into the target chat room.
In another embodiment, the second determining module 52 upgrades the interaction state of the target fifth user with the highest priority of the corresponding state selection in the at least one fifth user to the interaction state of the fourth user before leaving the target chat room, and is further configured to:
if the number of users corresponding to the interaction state of the target fifth user before upgrading reaches the upper limit of the number of users, upgrading the interaction state of the target sixth user with the highest corresponding state selection priority in at least one sixth user in the next-stage interaction state of the interaction state before upgrading to the interaction state before upgrading of the fifth user; wherein the status selection priorities among different ones of the sixth users are related to the member types of the sixth users and the order of entry into the target chat room.
In one embodiment, the second determining module 52 is further configured to:
when the seventh user in the target chat room is determined to be on the top of the wheat, if the data receiving and transmitting authority of the seventh user is not the highest, the data receiving and transmitting authority of the seventh user is:
upgrading the interaction state of the seventh user to the interaction state corresponding to the highest data receiving and transmitting authority; degrading the interaction state of the target eighth user with the lowest state selection priority among at least one eighth user which is not on wheat in the target chat room and has the highest data receiving and transmitting authority; wherein the status selection priorities among different eighth users are related to the member types of the eighth users and the order of entering the target chat room.
In one embodiment, the second determining module 52 is further configured to:
when determining that a ninth user having the highest data receiving and transmitting authority in the target chat room plays a role in downloading, if at least one tenth user having a higher priority than the state selection corresponding to the member type of the ninth user exists in the target chat room and at least one tenth user does not have the highest data receiving and transmitting authority, upgrading the interaction state of the target tenth user having the highest priority and downgrading the interaction state of the ninth user, wherein the tenth user does not have the highest data receiving and transmitting authority; wherein the status selection priorities among the different tenth users are related to the member types of the tenth users and the order of entering rooms.
In one embodiment, the interaction state includes a plurality of:
entity status; the user in the entity state can operate the corresponding three-dimensional virtual character, the three-dimensional virtual character is visible to other users, and the user can interact with the three-dimensional virtual character in other corresponding entity states;
a ghost state; the user in the virtual shadow state can operate the corresponding three-dimensional virtual character, and the three-dimensional virtual character is only visible to the user operating the three-dimensional virtual character and cannot interact with the three-dimensional virtual character in other corresponding entity states;
A viewing state; the user in the watching state does not have a corresponding three-dimensional virtual character, and the three-dimensional virtual characters of other users are invisible to the user, but chat information of other users in the target chat room can be received.
In one embodiment, the member types include a plurality of:
the method comprises the steps of a barley member, a group owner, a group manager, a common member and a visitor.
The process flow of each module in the apparatus and the interaction flow between the modules may be described with reference to the related descriptions in the above method embodiments, which are not described in detail herein.
The embodiment of the disclosure further provides a computer device, as shown in fig. 6, which is a schematic structural diagram of the computer device provided by the embodiment of the disclosure, including:
a processor 10 and a memory 20; the memory 20 stores machine readable instructions executable by the processor 10, the processor 10 being configured to execute the machine readable instructions stored in the memory 20, the machine readable instructions when executed by the processor 10, the processor 10 performing the steps of:
responding to a request of a first user entering a target chat room, and determining the number of users in different interaction states in the target chat room; wherein, users in different interaction states have different data receiving and transmitting rights;
Determining a target interaction state from a plurality of interaction states according to the number of users in different interaction states in the target chat room, the upper limit of the number of users corresponding to each interaction state and the member type of the first user;
and configuring the target interaction state for the first user so that the first user can receive and send data in the target chat room based on the target interaction state.
The memory 20 includes a memory 210 and an external memory 220; the memory 210 is also referred to as an internal memory, and is used for temporarily storing operation data in the processor 10 and data exchanged with the external memory 220 such as a hard disk, and the processor 10 exchanges data with the external memory 220 via the memory 210.
The specific execution process of the above instruction may refer to the steps of the method for controlling data transmission described in the embodiments of the present disclosure, which is not described herein.
The disclosed embodiments also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of controlling data transmission described in the method embodiments described above. Wherein the storage medium may be a volatile or nonvolatile computer readable storage medium.
Embodiments of the present disclosure further provide a computer program product, where the computer program product carries a program code, where instructions included in the program code may be used to perform the steps of the method for controlling data transmission described in the foregoing method embodiments, and specific reference may be made to the foregoing method embodiments, which are not described herein.
Wherein the above-mentioned computer program product may be realized in particular by means of hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied as a computer storage medium, and in another alternative embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK), or the like.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on such understanding, the technical solution of the present disclosure may be embodied in essence or a part contributing to the prior art or a part of the technical solution, or in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present disclosure. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the foregoing examples are merely specific embodiments of the present disclosure, and are not intended to limit the scope of the disclosure, but the present disclosure is not limited thereto, and those skilled in the art will appreciate that while the foregoing examples are described in detail, it is not limited to the disclosure: any person skilled in the art, within the technical scope of the disclosure of the present disclosure, may modify or easily conceive changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features thereof; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the disclosure, and are intended to be included within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (14)

1. A method of controlling data transmission, comprising:
responding to a request of a first user entering a target chat room, and determining the number of users in different interaction states in the target chat room; wherein, users in different interaction states have different data receiving and transmitting rights;
Determining a target interaction state from a plurality of interaction states according to the number of users in different interaction states in the target chat room, the upper limit of the number of users corresponding to each interaction state and the member type of the first user;
and configuring the target interaction state for the first user so that the first user can receive and send data in the target chat room based on the target interaction state.
2. The method of claim 1, wherein selecting the target interaction state from a plurality of interaction states based on the number of users in the target chat room in different interaction states, an upper limit on the number of users corresponding to each interaction state, and the type of member to which the first user belongs, comprises:
determining the interaction states of other users with the same member type as the first user in the target chat room according to the number of users in different interaction states in the target chat room, the upper limit of the number of users corresponding to each interaction state and the member type of the first user, and judging whether the number of users in the interaction state reaches the upper limit of the corresponding number of users;
if the upper limit of the number of users is not reached, taking the interaction state of other users with the same member type as the first user as the target interaction state of the first user;
If the upper limit of the number of the users is reached, selecting a priority according to the member type of the first user, the member types of other users in the target chat room and the states corresponding to different member types, and determining the target interaction state for the first user.
3. The method according to claim 2, wherein the determining the target interaction state for the first user according to the member type to which the first user belongs, the member types to which other users in the target chat room belong, and the states corresponding to the different member types includes:
judging whether at least one second user with lower state selection priority than the first user exists in the target chat room or not according to the member type of the first user, the member types of other users in the target chat room and the state selection priorities corresponding to different member types;
if at least one second user with lower priority than the state selection priority of the first user exists, determining the interaction state with the highest corresponding data receiving and transmitting authority as the target interaction state in the interaction states respectively corresponding to the at least one second user;
And if at least one second user with lower priority than the state selection priority of the first user does not exist, taking the interaction state with the highest corresponding data receiving and transmitting authority in the interaction states which do not reach the upper limit of the number of users currently as the target interaction state.
4. The method according to claim 3, wherein after determining, among the interaction states respectively corresponding to the at least one second user, the interaction state with the highest data transceiving permission corresponding to the interaction state as the target interaction state, the method further comprises:
if the number of users corresponding to the target interaction state with the highest data receiving and transmitting authority in the interaction state of the at least one second user reaches the upper limit of the number of users, degrading the interaction state of the target second user with the lowest corresponding state selection priority in the at least one second user in the target interaction state, and configuring the interaction state of the first user as the target interaction state; wherein the status selection priorities between different ones of the second users are related to the member types of the second users and the order of entry into the target chat room.
5. The method of claim 4, wherein the downgrading the interaction state of the target second user with the lowest priority for the corresponding state selection among the at least one second user in the target interaction state comprises:
If the number of users corresponding to the next-level interaction state of the target second user reaches the upper limit of the number of users, degrading the interaction state of the target third user with the lowest corresponding state selection priority in at least one third user in the next-level interaction state, and degrading the interaction state of the target second user into the next-level interaction state; wherein the status selection priorities between different ones of the third users are related to the member types of the third users and the order of entry into the target chat room.
6. The method according to claim 1, wherein the method further comprises:
after determining that a fourth user leaves the target chat room, under the condition that at least one fifth user with lower data receiving and transmitting authority than the fourth user exists, upgrading the interaction state of the target fifth user with the highest corresponding state selection priority in the at least one fifth user into the interaction state of the fourth user before leaving the target chat room; wherein the status selection priorities among different ones of the fifth users are related to the member types of the fifth users and the order of entry into the target chat room.
7. The method of claim 6, wherein upgrading the interaction state of the target fifth user with the highest priority of the corresponding state selection among the at least one fifth user to the interaction state of the fourth user before leaving the target chat room further comprises:
if the number of users corresponding to the interaction state of the target fifth user before upgrading reaches the upper limit of the number of users, upgrading the interaction state of the target sixth user with the highest corresponding state selection priority in at least one sixth user in the next-stage interaction state of the interaction state before upgrading to the interaction state before upgrading of the fifth user; wherein the status selection priorities among different ones of the sixth users are related to the member types of the sixth users and the order of entry into the target chat room.
8. The method according to claim 1, wherein the method further comprises:
when the seventh user in the target chat room is determined to be on the top of the wheat, if the data receiving and transmitting authority of the seventh user is not the highest, the data receiving and transmitting authority of the seventh user is:
upgrading the interaction state of the seventh user to the interaction state corresponding to the highest data receiving and transmitting authority; degrading the interaction state of the target eighth user with the lowest state selection priority among at least one eighth user which is not on wheat in the target chat room and has the highest data receiving and transmitting authority; wherein the status selection priorities among different eighth users are related to the member types of the eighth users and the order of entering the target chat room.
9. The method according to claim 1, wherein the method further comprises:
when determining that a ninth user having the highest data receiving and transmitting authority in the target chat room plays a role in downloading, if at least one tenth user having a higher priority than the state selection corresponding to the member type of the ninth user exists in the target chat room and at least one tenth user does not have the highest data receiving and transmitting authority, upgrading the interaction state of the target tenth user having the highest priority and downgrading the interaction state of the ninth user, wherein the tenth user does not have the highest data receiving and transmitting authority; wherein the status selection priorities among the different tenth users are related to the member types of the tenth users and the order of entering rooms.
10. The method of claim 1, wherein the interaction state comprises a plurality of:
entity status; the user in the entity state can operate the corresponding three-dimensional virtual character, the three-dimensional virtual character is visible to other users, and the user can interact with the three-dimensional virtual character in other corresponding entity states;
A ghost state; the user in the virtual shadow state can operate the corresponding three-dimensional virtual character, and the three-dimensional virtual character is only visible to the user operating the three-dimensional virtual character and cannot interact with the three-dimensional virtual character in other corresponding entity states;
a viewing state; the user in the watching state does not have a corresponding three-dimensional virtual character, and the three-dimensional virtual characters of other users are invisible to the user, but chat information of other users in the target chat room can be received.
11. The method of claim 1, wherein the member types include a plurality of:
the method comprises the steps of a barley member, a group owner, a group manager, a common member and a visitor.
12. An apparatus for controlling data transmission, comprising:
the first determining module is used for responding to a request of a first user entering a target chat room and determining the number of users in different interaction states in the target chat room; wherein, users in different interaction states have different data receiving and transmitting rights;
the second determining module is used for determining a target interaction state from a plurality of interaction states according to the number of users in different interaction states in the target chat room, the upper limit of the number of users corresponding to each interaction state and the member type of the first user;
And the configuration module is used for configuring the target interaction state for the first user so that the first user can receive and send data in the target chat room based on the target interaction state.
13. A computer device, comprising: a processor, a memory storing machine readable instructions executable by the processor for executing machine readable instructions stored in the memory, which when executed by the processor, perform the steps of the method of controlling data transmission according to any one of claims 1 to 11.
14. A computer-readable storage medium, on which a computer program is stored which, when being run by a computer device, performs the steps of the method of controlling data transmission according to any one of claims 1 to 11.
CN202210074850.0A 2022-01-21 2022-01-21 Method, device, computer equipment and storage medium for controlling data transmission Pending CN116506242A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210074850.0A CN116506242A (en) 2022-01-21 2022-01-21 Method, device, computer equipment and storage medium for controlling data transmission
PCT/CN2022/142544 WO2023138323A1 (en) 2022-01-21 2022-12-27 Method and apparatus for controlling data transmission, and computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210074850.0A CN116506242A (en) 2022-01-21 2022-01-21 Method, device, computer equipment and storage medium for controlling data transmission

Publications (1)

Publication Number Publication Date
CN116506242A true CN116506242A (en) 2023-07-28

Family

ID=87318957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210074850.0A Pending CN116506242A (en) 2022-01-21 2022-01-21 Method, device, computer equipment and storage medium for controlling data transmission

Country Status (2)

Country Link
CN (1) CN116506242A (en)
WO (1) WO2023138323A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015183949A1 (en) * 2014-05-27 2015-12-03 Bluesmart Inc. Active container
CN109660489B (en) * 2017-10-10 2021-07-23 武汉斗鱼网络科技有限公司 Live broadcast room login limiting method, storage medium, electronic device and system
CN111385664B (en) * 2018-12-29 2023-04-14 广州市百果园网络科技有限公司 Interactive data processing method and device for live broadcast room, storage medium and server
CN111068305B (en) * 2019-11-28 2023-10-20 咪咕视讯科技有限公司 Cloud game loading control method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2023138323A1 (en) 2023-07-27

Similar Documents

Publication Publication Date Title
US11290550B2 (en) Method and device for allocating augmented reality-based virtual objects
CN111246308B (en) Method and device for accessing live broadcast room, live broadcast server and storage medium
US10063547B2 (en) Authorization authentication method and apparatus
KR102108882B1 (en) Information update method and device, and server
US20220072436A1 (en) Method and apparatus for game live-streaming
US20060075055A1 (en) System and method for integration of instant messaging and virtual environment clients
US20070005704A1 (en) Multi-participant online activities
JP2015038745A (en) Wireless communication device having deterministic control of foreground access of user interface
US20070274496A1 (en) Method and system for multimodal communication using a phone number
CN111282262B (en) Game server communication method and device
US11451504B2 (en) Method and apparatus for operating instant messaging server
CN111901225B (en) Message prompting method and device, storage medium and electronic device
CN112988400A (en) Video memory optimization method and device, electronic equipment and readable storage medium
CN111130986B (en) Message sending method, device, equipment and storage medium
KR102396392B1 (en) System and method for providing virtual communication session for portion of participants connecting to communication session
CN111160882A (en) Virtual resource delivery method, device, server and storage medium
CN107682389B (en) Method, terminal and computer readable storage medium for executing network request
CN109584115A (en) Release method, device and the storage medium of associated client
JP7256242B2 (en) An instant messaging server that offers multiple types of chat rooms
CN108933675B (en) Conference resource allocation method, device and storage medium
CN109614778A (en) Dynamic Configuration, gateway and the system of user right
CN111249747B (en) Information processing method and device in game
US20110202668A1 (en) Methods for Creating and Using a Telecommunications Link between Two Users of a Telecommunications Network
CN116506242A (en) Method, device, computer equipment and storage medium for controlling data transmission
KR102347071B1 (en) Method and apparatus for displaying an interface for providing a social network service through an anonymous based profile

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
CB02 Change of applicant information

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant before: Tiktok vision (Beijing) Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information