CN110913276A - Data processing method, device, server, terminal and storage medium - Google Patents

Data processing method, device, server, terminal and storage medium Download PDF

Info

Publication number
CN110913276A
CN110913276A CN201911059767.0A CN201911059767A CN110913276A CN 110913276 A CN110913276 A CN 110913276A CN 201911059767 A CN201911059767 A CN 201911059767A CN 110913276 A CN110913276 A CN 110913276A
Authority
CN
China
Prior art keywords
chat room
target topic
chat
terminal
identifier
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.)
Granted
Application number
CN201911059767.0A
Other languages
Chinese (zh)
Other versions
CN110913276B (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.)
Reach Best Technology Co Ltd
Original Assignee
Reach Best 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 Reach Best Technology Co Ltd filed Critical Reach Best Technology Co Ltd
Priority to CN201911059767.0A priority Critical patent/CN110913276B/en
Publication of CN110913276A publication Critical patent/CN110913276A/en
Application granted granted Critical
Publication of CN110913276B publication Critical patent/CN110913276B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • 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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems
    • H04N7/152Multipoint control units therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The scheme includes that when a first chat room access request sent by a first terminal is received, a target topic identification is obtained, the target topic identification is an identification representing a target topic to which a chat room to be accessed belongs, whether the chat room meeting a first preset condition exists or not is judged, if the chat room meeting the first preset condition does not exist, the chat room belonging to the target topic is created to serve as the first chat room, the chat room identification of the first chat room is sent to the first terminal, and the chat room can be created based on the received first chat room access request without being played to create the chat room, so that a voice communication mode among common users is provided, and a voice communication path of the common users can be increased.

Description

Data processing method, device, server, terminal and storage medium
Technical Field
The present disclosure relates to the field of network audio and video technologies, and in particular, to a method, an apparatus, a server, a terminal, and a storage medium for data processing.
Background
With the development of internet technology, watching live broadcast through electronic devices has become an increasingly popular entertainment mode, and related live broadcast platforms provide various types of live broadcast modes, such as chat rooms, in order to expand the experience boundary of users.
The chat room is usually established by a main broadcast application, after the main broadcast applies for establishing the chat room, other users can apply for connecting the chat place to the main broadcast, and after the main broadcast agrees, the other users can communicate with the main broadcast or other users of the chat place through voice.
In the related art, a chat room can only be established by a main broadcaster, and if the main broadcaster does not establish the chat room, voice communication cannot be performed between ordinary users, so that a channel of voice communication is lost for the ordinary users, and the voice social contact of the users is limited.
Disclosure of Invention
The present disclosure provides a data processing method, apparatus, server, terminal, and storage medium, to at least solve the problem of limited user voice social interaction in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a data processing method, applied to a server, including:
when a first chat room access request sent by a first terminal is received, acquiring a target topic identifier, wherein the target topic identifier is an identifier representing a target topic to which a chat room to be accessed belongs;
judging whether a chat room meeting a first preset condition exists or not;
if the chat room meeting the first preset condition does not exist, establishing the chat room belonging to the target topic as a first chat room;
and sending the chat room identification of the first chat room to the first terminal.
Further, the first preset condition is that the number of currently accessed terminals is smaller than a first preset threshold value and the chat rooms belong to the target topic.
Further, the determining whether there is a chat room meeting the first preset condition includes:
determining at least one chat room belonging to the target topic according to the target topic identification;
and judging whether chat rooms with the number of the currently accessed terminals smaller than the first preset threshold exist in the at least one chat room.
Further, the determining whether there is a chat room in which the number of currently accessed terminals is smaller than the first preset threshold in the at least one chat room includes:
and judging whether the chat rooms exist in at least one chat room, wherein the number of the terminals accessed in the preset time range is smaller than the first preset threshold value.
Further, the creating a chat room belonging to the target topic as a first chat room comprises:
establishing a chat room;
and associating the established chat room with the target topic identifier to obtain a first chat room belonging to the target topic.
Further, the data processing method further includes:
and sending the chat room identification to a distribution exposure server, wherein the chat room identification is used for determining the chat room state information of the first chat room, the chat room state information is used for displaying a chat room selection interface after being received by a terminal connected with the distribution exposure server, the chat room selection interface is used for displaying the chat room to be selected, and the chat room state information comprises the chat room identification, the target topic of the chat room and the number of the currently accessed terminals.
Further, the data processing method further includes:
and when a second chat room access request sent by a second terminal is received, sending the chat room identifier to the second terminal, wherein the second chat room access request is a request sent by aiming at the selection operation of the displayed first chat room.
Further, the data processing method further includes:
when the first chat room has an idle chat position, the second terminal is accessed to the idle chat position; alternatively, the first and second electrodes may be,
when the first chat room has no free chat position, adding the second terminal into a waiting chat position queue; alternatively, the first and second electrodes may be,
and when the first chat room does not have the free chat position, triggering the creation of a second chat room.
According to a second aspect of the embodiments of the present disclosure, there is provided a data processing method, applied to a terminal, including:
obtaining a chat room access operation, wherein the chat room access operation is used for entering a chat room of a target topic;
and entering a first chat room which meets a first preset condition and corresponds to the target topic according to the chat room access operation.
Further, the chat room access operation is a target topic selection operation, and the first preset condition is that the number of currently accessed terminals is smaller than a first preset threshold value and the chat rooms belong to the target topic;
the operation of obtaining chat room access comprises:
receiving the target topic selection operation for selecting the target topic;
judging whether a chat room meeting the first preset condition exists or not;
and when no chat room meeting the first preset condition exists, generating a chat room access instruction containing a target topic identifier, wherein the target topic identifier is an identifier representing the target topic.
Further, the determining whether there is a chat room meeting the first preset condition includes:
determining at least one chat room belonging to the target topic;
and judging whether chat rooms with the number of the currently accessed terminals smaller than the first preset threshold exist in the at least one chat room.
Further, the determining whether there is a chat room in which the number of currently accessed terminals is smaller than the first preset threshold in the at least one chat room includes:
and judging whether the chat rooms exist in at least one chat room, wherein the number of the terminals accessed in the preset time range is smaller than the first preset threshold value.
Further, the entering a first chat room corresponding to the target topic and meeting a first preset condition according to the chat room access operation includes:
and creating a chat room belonging to the target topic as a first chat room according to the target topic identification in the chat room access instruction.
Further, the chat room access operation is a target topic selection operation, and the first preset condition is that the number of currently accessed terminals is smaller than a first preset threshold value and the chat rooms belong to the target topic;
the operation of obtaining chat room access comprises:
receiving the target topic selection operation for selecting the target topic;
sending a target topic identifier corresponding to the target topic to a server;
and receiving a first chat room identifier fed back by the server, wherein the first chat room identifier is used for representing the identifier of a first chat room, and the first chat room is a chat room meeting the first preset condition.
Further, the entering a first chat room corresponding to the target topic and meeting a first preset condition according to the chat room access operation includes:
and entering the first chat room according to the first chat room identifier.
Further, the chat room access operation is a chat room selection operation, and the first preset condition is that the number of currently accessed terminals is smaller than a first preset threshold value and the chat rooms belong to the target topic;
the operation of obtaining chat room access comprises:
receiving a chat room selection operation for selecting a first chat room, and acquiring a first chat room identifier representing the first chat room, wherein the first chat room identifier meets the first preset condition.
Further, the entering a first chat room corresponding to the target topic and meeting a first preset condition according to the chat room access operation includes:
and entering the first chat room according to the first chat room identifier.
Further, the entering the first chat room according to the first chat room identifier includes:
when the first chat room has an idle chat position, accessing the idle chat position; alternatively, the first and second electrodes may be,
when the first chat room has no free chat position, adding the first chat room into a waiting chat position queue; alternatively, the first and second electrodes may be,
and when the first chat room does not have the free chat position, triggering the creation of a second chat room.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for data processing, applied to a server, including:
the first obtaining module is configured to obtain a target topic identifier when a first chat room access request sent by a first terminal is received, wherein the target topic identifier is an identifier representing a target topic to which a chat room to be accessed belongs;
a first judgment module configured to perform a judgment of whether there is a chat room satisfying a first preset condition;
a first creating module configured to create a chat room belonging to the target topic as a first chat room if there is no chat room satisfying the first preset condition;
a first sending module configured to execute sending the chat room identifier of the first chat room to the first terminal.
Further, the first preset condition is that the number of currently accessed terminals is smaller than a first preset threshold value and the chat rooms belong to the target topic.
Further, the first determining module is specifically configured to determine, according to the target topic identifier, at least one chat room belonging to the target topic, and determine whether there is a chat room in the at least one chat room, where the number of currently accessed terminals is smaller than the first preset threshold.
Further, the first determining module is specifically configured to perform determining whether there is a chat room in the at least one chat room, where the number of terminals accessed within a preset time range is smaller than the first preset threshold.
Further, the first creating module is specifically configured to establish a chat room, and associate the established chat room with the target topic identifier to obtain a first chat room belonging to the target topic.
Further, the first sending module is further configured to execute sending the chat room identifier to a distribution exposure server, where the chat room identifier is used to determine chat room status information of the first chat room, the chat room status information is used to show a chat room selection interface after being received by a terminal connected to the distribution exposure server, the chat room selection interface is used to show a chat room to be selected, and the chat room status information includes the chat room identifier, the target topic to which the chat room belongs, and the number of currently accessed terminals.
Further, the first sending module is further configured to send the chat room identifier to the second terminal when receiving a second chat room access request sent by the second terminal, where the second chat room access request is a request sent by a selection operation for the first chat room that is displayed.
Further, the data processing apparatus further includes:
a first access module configured to access the second terminal to an idle chat position when the idle chat position exists in the first chat room; or, when the first chat room has no free chat position, adding the second terminal into a waiting chat position queue; or when the first chat room has no free chat position, triggering the creation of a second chat room.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a data processing apparatus, applied to a terminal, including:
a second obtaining module configured to perform a chat room access operation for entering a chat room of a target topic;
and the chat room access module is configured to execute the chat room access operation and enter a first chat room which meets a first preset condition and corresponds to the target topic.
Further, the chat room access operation is a target topic selection operation, and the first preset condition is that the number of currently accessed terminals is smaller than a first preset threshold value and the chat rooms belong to the target topic;
the second obtaining module is specifically configured to perform the target topic selection operation of receiving and selecting the target topic, determine whether a chat room meeting the first preset condition exists, and generate a chat room access instruction including a target topic identifier when no chat room meeting the first preset condition exists, where the target topic identifier is an identifier representing the target topic.
Further, the second obtaining module is specifically configured to perform determining at least one chat room belonging to the target topic, and determine whether there is a chat room in the at least one chat room, in which the number of currently accessed terminals is smaller than the first preset threshold.
Further, the second obtaining module is specifically configured to perform a judgment on whether there is a chat room in which the number of terminals accessed within a preset time range is smaller than the first preset threshold in the at least one chat room.
Further, the chat room accessing module is specifically configured to execute creating, according to the target topic identifier in the chat room accessing instruction, a chat room belonging to the target topic as the first chat room.
Further, the chat room access operation is a target topic selection operation, and the first preset condition is that the number of currently accessed terminals is smaller than a first preset threshold value and the chat rooms belong to the target topic;
the second obtaining module is specifically configured to perform the target topic selection operation of selecting the target topic, send a target topic identifier corresponding to the target topic to a server, and receive a first chat room identifier fed back by the server, where the first chat room identifier is used to represent an identifier of a first chat room, and the first chat room is a chat room that meets the first preset condition.
Further, the chat room accessing module is specifically configured to enter the first chat room according to the first chat room identifier.
The chat room accessing operation is further a chat room selecting operation, and the first preset condition is that the number of the currently accessed terminals is smaller than a first preset threshold value and the currently accessed terminals belong to the chat rooms of the target topic;
the second obtaining module is specifically configured to perform a chat room selection operation of receiving and selecting a first chat room, and obtain a first chat room identifier representing the first chat room, where the first chat room identifier satisfies the first preset condition.
Further, the chat room accessing module is specifically configured to enter the first chat room according to the first chat room identifier.
Further, the chat room accessing module is specifically configured to access an idle chat position when the idle chat position exists in the first chat room; or, when the first chat room has no free chat position, adding the first chat room into a waiting chat position queue; or when the first chat room has no free chat position, triggering the creation of a second chat room.
According to a fifth aspect of embodiments of the present disclosure, there is provided a server including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement any of the above-mentioned methods applied to data processing of a server.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a terminal, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement any of the above-mentioned methods applied to data processing of a terminal.
According to a seventh aspect of the embodiments of the present disclosure, there is provided a storage medium, wherein instructions of the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform any one of the above-mentioned methods for data processing applied to a server.
According to an eighth aspect of the embodiments of the present disclosure, there is provided a storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform any one of the above-described methods for data processing applied to a terminal.
According to a ninth aspect of embodiments of the present disclosure, there is provided a computer program product, wherein instructions of the computer program product, when executed by a processor of an electronic device, enable the electronic device to perform the method of data processing applied to a server as claimed in any one of the above.
According to a ninth aspect of embodiments of the present disclosure, there is provided a computer program product, wherein instructions which, when executed by a processor of an electronic device, enable the electronic device to perform the method of data processing applied to a terminal as described in any one of the above.
The technical scheme provided by the disclosed embodiment at least brings the following beneficial effects:
in the method, when a first chat room access request sent by a first terminal is received, a target topic identifier is obtained, the target topic identifier is an identifier representing a target topic to which a chat room to be accessed belongs, whether the chat room meeting a first preset condition exists or not is judged, if the chat room meeting the first preset condition does not exist, the chat room belonging to the target topic is created to serve as the first chat room, and the chat room identifier of the first chat room is sent to the first terminal.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic diagram of a chat room access interface in the prior art
FIG. 2 is a flow diagram illustrating a method of data processing applied to a server in accordance with an example embodiment.
FIG. 3 is a schematic diagram of a target topic selection interface shown in accordance with an exemplary embodiment.
FIG. 4 is a flow chart illustrating another method of data processing applied to a server in accordance with an illustrative embodiment.
FIG. 5 is a flow chart illustrating yet another method of data processing applied to a server in accordance with an exemplary embodiment.
Figure 6 is a diagram illustrating a chat room selection interface, according to an example embodiment.
Fig. 7 is a flowchart illustrating a method of data processing applied to a terminal according to an exemplary embodiment.
Figure 8 is a diagram illustrating a chat room access interface in accordance with an exemplary embodiment.
Fig. 9 is a flowchart illustrating another method of data processing applied to a terminal according to an example embodiment.
Fig. 10 is a flowchart illustrating still another method of data processing applied to a terminal according to an exemplary embodiment.
Fig. 11 is a flowchart illustrating still another method of data processing applied to a terminal according to an exemplary embodiment.
Fig. 12 is a block diagram illustrating an apparatus for data processing applied to a server according to an exemplary embodiment.
Fig. 13 is a block diagram illustrating an apparatus for data processing applied to a terminal according to an exemplary embodiment.
Fig. 14 is a block diagram illustrating a terminal according to an example embodiment.
FIG. 15 is a block diagram illustrating a server in accordance with an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 2 is a flowchart illustrating a method of data processing according to an exemplary embodiment, where the method of data processing is used in a server, as shown in fig. 2, and includes the following steps.
S201: when a first chat room access request sent by a first terminal is received, a target topic identifier is obtained.
In this step, the target topic identifier is an identifier representing a target topic to which the chat room to be accessed belongs.
The data processing method of the embodiment of the application can be realized by a server. The first chat room access request may be sent after the first terminal receives a target topic selection operation of the user, where the chat room access operation may be a trigger operation of a target topic selection interface displayed for the first terminal, for example, clicking, long pressing, and the like.
In one embodiment, the first chat room may be a voice chat room and the target topic may be a voice topic type.
As shown in fig. 3, a schematic diagram of a target topic selection interface displayed for a terminal is shown, where a plurality of target topics to be selected are displayed in the target topic selection interface, where the target topics to be selected may be defined and set by a user according to interests and hobbies of the user, and the target topics to be selected may also be provided by a chat room service providing platform.
For example, the target topic may be "special local chatting about home", "favorite song", or "favorite food", etc.
In an embodiment, the target topic identifier may be determined according to a received first chat room access request sent by the first terminal, optionally, the first chat room access request may carry the target topic identifier, and the target topic identifier may be obtained by reading the first chat room access request.
S202: and judging whether a chat room meeting a first preset condition exists.
In this step, the first preset condition may be that the number of currently accessed terminals is smaller than a first preset threshold, and the chat rooms belong to the target topic.
The first preset threshold may be determined according to experience or actual requirements, and optionally, the first preset threshold may also be determined according to the number of maximum chat bits in the chat room.
For example, if the number of maximum chat bits in the chat room is N, the first preset threshold may be 1.5N, where N is a positive integer greater than 1, and if N is 6, the first preset threshold is 9.
Because the number of the chat positions in the chat room is limited, the chat positions in the chat room can only be accessed by the maximum preset number of terminals, therefore, the number of the terminals accessed in the chat room at the same time is controlled by the number of the terminals accessed in the first preset condition being smaller than the first preset threshold value, so as to avoid the situation that a part of the terminals in the chat room can not be accessed to the chat positions in the chat room all the time due to the excessive number of the terminals accessed in the chat room, and simultaneously, the load balance of each chat room is also ensured.
In an embodiment of the present application, the determining whether there is a chat room satisfying the first preset condition may be implemented by:
step A: and determining at least one chat room belonging to the target topic according to the target topic identification.
And B: and judging whether at least one chat room has a chat room with the number of the currently accessed terminals smaller than a first preset threshold value.
At least one chat room exists under each target topic, and a terminal currently accessed to the chat room can be accessed through the target topic or can be accessed to the chat room through other modes.
Optionally, the target topic may be used as an index identifier, so as to determine, in each chat room, a chat room belonging to the target topic. After the chat rooms belonging to the target topic are determined, the number of terminals currently accessed to each determined chat room can be counted, whether the counted number is smaller than a first preset threshold value or not is judged finally, and if not, the chat room meeting a first preset condition does not exist.
In one embodiment, in order to more accurately determine how busy the chat room is, the step B may be implemented as follows:
and judging whether at least one chat room has a chat room with the number of the accessed terminals within a preset time range smaller than a first preset threshold value.
The preset time range can be determined according to experience and actual requirements, for example, the preset time range can be 30 minutes, and whether the chat room is busy in the recent time period is determined according to the number of the terminals accessed in the preset time range, so that misjudgment of results caused by the existence of instant data is avoided, and the busy degree of the chat room is more accurately judged.
If it is determined that there is no chat room satisfying the first preset condition, step S203 is executed.
S203: a chat room belonging to the target topic is created as a first chat room.
In this step, since there is no chat room satisfying the first preset condition, it indicates that the requested target topic is newly generated or the number of terminals currently accessed by the requested target topic is large, and therefore, a chat room belonging to the target topic needs to be created.
In one embodiment of the present application, the above-mentioned creating of the chat room belonging to the target topic can be implemented by:
and establishing a chat room, and associating the established chat room with the target topic identifier to obtain a first chat room belonging to the target topic.
The chat room can be established by using a chat room establishing method in the prior art, and details are not described herein. After the chat room is newly built, the newly built chat room is associated with the target topic, and the association mode can be realized by establishing an association table.
By associating the established chat room with the target topic identifier, the terminal user can find the newly-established chat room through the target topic.
S204: and sending the chat room identification of the first chat room to the first terminal.
In this step, the chat room identifier may be an IP (internet protocol) address allocated by the server to the first chat room, so that the first terminal may access the first chat room by directly accessing the IP address, or may be a room number of the first chat room, and at this time, the first terminal may jump to the first chat room by sending the room number to the scheduling server through the scheduling server.
In the embodiment shown in fig. 2, when receiving a first chat room access request sent by a first terminal, obtaining a target topic identifier, and determining whether a chat room meeting a first preset condition exists, and if no chat room meeting the first preset condition exists, creating a chat room belonging to the target topic as the first chat room, and sending the chat room identifier of the first chat room to the first terminal.
In one embodiment, referring to fig. 4, on the basis of the above exemplary embodiment, when the step S202 determines that there is a chat room satisfying the first preset condition, the following steps may be further performed, including:
s205: and determining a chat room for accessing the first terminal in the chat rooms meeting the first preset condition.
In this step, when only one chat room satisfying the first preset condition exists, the chat room is determined as a chat room for accessing the first terminal.
When a plurality of chat rooms satisfying the first preset condition exist, determining a chat room for accessing the first terminal from the plurality of chat rooms satisfying the first preset condition in two ways, including:
the first mode is as follows: and randomly determining a chat room for accessing the first terminal in the chat rooms meeting the first preset condition.
In the first aspect, one of the chat rooms satisfying the first preset condition is randomly determined and selected as the target chat room.
The second mode is as follows: and determining the chat room with the minimum number of the currently accessed terminals as the chat room for accessing the first terminal in the chat rooms meeting the first preset condition.
In the second mode, the number of currently accessed terminals in the plurality of chat rooms may be determined, the number of currently accessed terminals in each chat room may be compared, the chat room with the smallest number of currently accessed terminals may be used as the target chat room, and the chat room with the smallest number of currently accessed terminals may be determined as the target chat room, so that balanced access terminals in each chat room may be ensured.
S206: and sending the determined chat room identifier to the first terminal.
In this step, the specific implementation manner is similar to that in step S204, and is not described herein again.
In the embodiment shown in fig. 4, a chat room for accessing to the first terminal may be determined in a chat room satisfying a first preset condition, and the determined chat room identifier may be sent to the first terminal.
As shown in fig. 5, according to a flowchart of still another data processing method shown in an exemplary embodiment, the data processing method may be executed after the completion of the execution of step S203 or step S204, and the data processing method is used in a server and includes the following steps:
s501: and sending the chat room identification to the distribution exposure server.
In this step, the chat room identifier is used to determine chat room status information of the first chat room, the chat room status information is used to display a chat room selection interface after being received by a terminal connected to the distribution exposure server, the chat room selection interface is used to display a chat room to be selected, and the chat room status information includes the chat room identifier, the target topic to which the chat room belongs, and the number of currently accessed terminals.
The chat room selection interface is used for displaying chat rooms with the number of the currently accessed terminals being smaller than a first preset threshold, and the chat room state information comprises chat room identification, the target topic of the chat room identification and the number of the currently accessed terminals.
In one embodiment, as shown in fig. 6, an exemplary diagram of a chat room selection interface provided in an embodiment of the present application is shown, where each box in the chat room selection interface represents a chat room, and relevant information of the chat room, including an identifier of the chat room, an affiliated target topic, and the number of currently accessed terminals, is shown in the box. The user can conveniently find the chat room which is interested and can be accessed currently through the chat room selection interface displayed by the terminal.
The data of the chat room selection interface displayed by the terminal can be acquired through the distribution exposure server, and when the terminal needs to display the chat room selection interface, a chat room state information acquisition request can be sent to the distribution exposure server so as to request the distribution exposure server to send the chat room state information of the chat rooms with the number of the terminals which are accessed currently being smaller than the first preset threshold value.
The server creates a chat room every time, namely sends the chat room identification of the newly created chat room to the distribution exposure server, and the distribution exposure server can obtain the chat room state information of the chat room represented by the chat room identification periodically or according to the chat room identification received by the distribution exposure server when receiving the chat room display request sent by the terminal.
S502: and when receiving a second chat room access request sent by the second terminal, sending the chat room identification to the second terminal.
In this step, the second chat room access request is a request issued by a selection operation for the displayed first chat room.
In an application scenario of the embodiment of the application, when a terminal receives an operation of opening a chat room selection interface, the chat room selection interface is displayed, wherein the chat room selection interface displays chat rooms with the number of currently accessed terminals smaller than a first preset threshold, a user can determine the chat room to be accessed through an approximate trigger operation, and the terminal sends a chat room access request to a server after receiving the trigger operation.
In one embodiment, when the second terminal receives a trigger operation of a first chat room displayed on the chat room selection interface, the second terminal sends a second chat room access request to the server, wherein the second chat room access request is used for requesting to access the first chat room.
And after receiving a second chat room access request sent by the second terminal, sending the chat room identifier of the first chat room to the second terminal according to the chat room state information of the first chat room carried in the second chat room access request, and after receiving the chat room identifier, the second terminal accesses the first chat room through the chat room identifier.
S503: and judging whether the first chat room has an idle chat position.
In this step, after the second terminal accesses the first chat room, it can continuously determine whether there is an idle chat space in the first chat room.
If there is an idle chat space, step S504 is executed, and if there is no idle chat space, step S505 is executed.
S504: and accessing the second terminal into the idle chat position.
In this step, the second terminal accesses the idle chat space, so that the user corresponding to the second terminal can perform voice communication with the users corresponding to the other terminals accessing the chat space.
S505: and judging whether the number of the terminals currently accessed into the first chat room is less than a first preset threshold value.
In this step, all the chat rooms displayed on the chat room selection interface are chat rooms meeting a first preset condition, so that when the second terminal sends a second chat room access request to the server, the number of terminals currently accessed to the first chat room is smaller than a first preset threshold, but in the actual use process, a plurality of terminals simultaneously request to access to the first chat room exist, so that the number of terminals currently accessed to the first chat room is instantaneously increased, and therefore, in order to avoid that the first chat room is too busy, whether the number of terminals currently accessed to the first chat room is smaller than the first preset threshold can be judged.
When the number of the currently accessed terminals of the first chat room is smaller than the first preset threshold, step S506 is executed, and when the number of the currently accessed terminals of the first chat room is not smaller than the first preset threshold, step S507 is executed.
S506: and adding the second terminal into the waiting chat space queue.
In this step, because there is no idle chat space currently and the number of currently accessed terminals is less than the first preset threshold, the second terminal enters the queue of waiting chat spaces until there is an idle chat space, and then the second terminal accesses the idle chat space.
S507: triggering the creation of a second chat room.
In this step, the number of currently accessed terminals is not less than the first preset threshold, and the first chat room is busy, so that creation of the second chat room is triggered, wherein the creation process of the second chat room may be the same as the creation process of the first chat room, and is not described herein again.
In the embodiment shown in fig. 5, the chat room identifier may be sent to the distribution exposure server, and when receiving a second chat room access request sent by the second terminal, the chat room identifier is sent to the second terminal, and it is determined whether there is an idle chat space in the first chat room, if there is an idle chat space, the second terminal is accessed to the idle chat space, if there is no idle chat space, it is determined whether the number of currently accessed terminals in the first chat room is less than a first preset threshold, when the number of currently accessed terminals in the first chat room is less than the first preset threshold, the second terminal is added to the waiting chat space queue, and when the number of currently accessed terminals in the first chat room is not less than the first preset threshold, the creation of the second chat room is triggered, because the second terminal can access the first chat room through the chat room selection interface, the access to the first chat room is expanded, and the chat room auxiliary balance is realized by triggering the creation of the second chat room.
Fig. 7 is a flowchart illustrating a method of data processing according to an exemplary embodiment, where the method of data processing is used in a terminal, as shown in fig. 7, and includes the following steps:
s701: and obtaining the chat room access operation.
In this step, the chat room access operation is used to enter a chat room of a target topic.
In one embodiment, the chat room access operation may be a target topic selection operation, where the target topic selection operation may be a trigger operation for a target topic selection interface as shown in fig. 3, and a type of a chat room that a user needs to enter may be determined through the target topic selection operation.
Illustratively, the user double-clicks the target topic 6 in the target topic selection interface shown in fig. 3, and then determines the target topic 6 as the target topic.
In one embodiment, the chat room access operation may also be a chat room selection operation, where the chat room selection operation may be a trigger operation for the chat room selection interface shown in fig. 6, and the chat room that the user needs to enter may be determined through the chat room selection operation.
S702: and entering a first chat room meeting a first preset condition according to the chat room access operation.
In this step, the first preset condition is that the number of currently accessed terminals is smaller than a first preset threshold and belongs to a chat room of a target topic.
As described above, a chat room or a chat room that a user needs to enter may be determined through a chat room access operation, and thus, a first chat room corresponding to a target topic satisfying a first preset condition may be entered through the chat room access operation.
Alternatively, the access mode is not limited to the following:
the first method comprises the following steps: and through the chat room access operation, after a first chat room which meets a first preset condition and corresponds to the target topic is established, entering the first chat room.
And the second method comprises the following steps: and requesting the server to distribute a chat room identifier of a first chat room which meets a first preset condition and corresponds to the target topic through chat room access operation, and entering through the chat room identifier.
And the third is that: and inquiring the chat room identifier of the first chat room corresponding to the target topic meeting the first preset condition through the chat room access operation, and entering the target topic through the chat room identifier.
After successfully entering the first chat room, as shown in fig. 8, a schematic diagram of an access interface of the chat room is shown, where "number of people currently queued" in the interface indicates the number of terminals currently in the queue of waiting chat places.
In the embodiment as shown in fig. 7, a chat room access operation may be obtained, where the chat room access operation is used to enter a chat room on a target topic, and the first chat room corresponding to the target topic and meeting a first preset condition is entered according to the chat room access operation.
In one embodiment, the chat room access operation may be a target topic selection operation, and the data processing method shown in fig. 7 may be implemented as follows:
fig. 9 is a flowchart illustrating another method of data processing according to an exemplary embodiment, where the method of data processing is used in a terminal, as shown in fig. 9, and includes the following steps:
s901: a target topic selection operation is received that selects a target topic.
In this step, the target topic selection operation may be a trigger operation for the target topic selection interface shown in fig. 3, and the type of the chat room that the user needs to enter may be determined through the target topic selection operation.
Illustratively, as described above, the user double-clicks the target topic 6 in the target topic selection interface shown in fig. 3, and then determines the target topic 6 as the target topic.
S902: and judging whether a chat room meeting a first preset condition exists.
In this step, the determination may be performed in the following manner, including:
step a: determining at least one chat room belonging to the target topic according to the target topic identification;
step b: and judging whether at least one chat room has a chat room with the number of the currently accessed terminals smaller than a first preset threshold value.
Wherein, the step b can be realized by the following steps:
and judging whether at least one chat room has a chat room with the number of the accessed terminals within a preset time range smaller than a first preset threshold value.
The specific implementation manner of this step is the same as or similar to that of step S202, and is not described herein again.
When there is no chat room satisfying the first preset condition, step S903 is executed.
S903: and generating a chat room access instruction containing the target topic identification.
In this step, the target topic identifier is an identifier representing the target topic, and the chat room access instruction is used to create a chat room belonging to the target topic.
S904: and creating a chat room belonging to the target topic as a first chat room according to the target topic identification in the chat room access instruction.
In this step, the manner of creating the chat room belonging to the target topic is the same as or similar to that in step S203, and is not described herein again.
Meanwhile, after the creation is completed, the terminal can enter the first chat room.
In the embodiment as shown in fig. 9, a target topic selection operation for selecting a target topic may be received, and it is determined whether there is a chat room satisfying a first preset condition, and when there is no chat room satisfying the first preset condition, a chat room access instruction including a target topic identifier is generated, and a chat room belonging to the target topic is created according to the target topic identifier in the chat room access instruction, as the first chat room, since there is no need to host to create a chat room, a voice communication mode between general users is provided, and a voice communication path of the general users is increased.
In one embodiment, when the chat room access operation is a target topic selection operation, the data processing method shown in fig. 7 may be further implemented as follows:
fig. 10 is a flowchart illustrating a further method of data processing according to an exemplary embodiment, where the method of data processing is used in a terminal, as shown in fig. 10, and includes the following steps:
s1001: a target topic selection operation is received that selects a target topic.
In this step, the specific implementation manner is similar to that in step S901, and is not described herein again.
S1002: and sending the target topic identification corresponding to the target topic to the server.
In this step, after the target topic is determined, a first chat room access request carrying the target topic may be sent to the server, where the first chat room access request carries a target topic identifier, so that the server determines whether there is a chat room meeting a first preset condition after receiving the first chat room access request, and creates a first chat room belonging to the target topic if there is no chat room meeting the first preset condition.
That is, the target topic identifier corresponding to the target topic is sent to the server, so that the server can execute the method applied to the data processing of the server as shown in fig. 2, which is not described herein again
S1003: and receiving the first chat room identification fed back by the server.
In this step, the first chat room identifier is used to represent an identifier of the first chat room, and the first chat room is a chat room that meets a first preset condition.
S1004: and entering the first chat room according to the first chat room identifier.
In this step, the specific access manner is similar to that described in step S204, and is not described herein again.
In the embodiment of fig. 10, a target topic selection operation for selecting a target topic can be received, a target topic identifier corresponding to the target topic is sent to the server, a first chat room identifier fed back by the server is received, and the first chat room is entered according to the first chat room identifier.
In an embodiment, the chat room accessing operation may be a chat room selecting operation, and in this case, the data processing method shown in fig. 7 may be implemented as follows:
fig. 11 is a flowchart illustrating a further method of data processing according to an exemplary embodiment, where the method of data processing is used in a terminal, as shown in fig. 11, and includes the following steps:
s1101: and receiving a chat room selection operation for selecting the first chat room, and acquiring a first chat room identifier representing the first chat room.
In this step, the first chat room meets a first preset condition.
The chat room selection operation may be a trigger operation for the chat room selection interface shown in fig. 6, and the chat room that the user needs to enter may be determined through the chat room selection operation.
S1102: and entering the first chat room according to the first chat room identifier.
In this step, the entering into the first chat room may be implemented in the following manner, including:
when the first chat room has an idle chat position, accessing the idle chat position; alternatively, the first and second electrodes may be,
when the first chat room has no free chat position, adding the first chat room into a waiting chat position queue; alternatively, the first and second electrodes may be,
when the first chat room does not have a free chat place, the creation of a second chat room is triggered.
The specific implementation of the above method is the same as or similar to steps S503 to S507, and is not described herein again.
In the embodiment as shown in fig. 11, a chat room selection operation for selecting a first chat room may be received, a first chat room identifier representing the first chat room is obtained, and the first chat room is entered according to the first chat room identifier, so that a voice communication mode between common users is provided and a voice communication path of the common users is increased because a host is not required to create a chat room.
Fig. 12 is a block diagram illustrating an apparatus for data processing applied to a server according to an example embodiment. Referring to fig. 12, the apparatus includes a first obtaining module 1201, a first determining module 1202, a first creating module 1203, and a first transmitting module 1204.
A first obtaining module 1201 configured to, when receiving a first chat room access request sent by a first terminal, obtain a target topic identifier, where the target topic identifier is an identifier representing a target topic to which a chat room to be accessed belongs;
a first determining module 1202 configured to perform determining whether there is a chat room satisfying a first preset condition;
a first creating module 1203, configured to execute creating a chat room belonging to the target topic as a first chat room if there is no chat room satisfying the first preset condition;
a first sending module 1204 configured to perform sending the chat room identification of the first chat room to the first terminal.
Further, the first preset condition is that the number of currently accessed terminals is smaller than a first preset threshold value and belongs to the chat room of the target topic.
Further, the first determining module 1202 is specifically configured to perform determining, according to the target topic identifier, at least one chat room belonging to the target topic, and determine whether there is a chat room in the at least one chat room, where the number of currently accessed terminals is smaller than a first preset threshold.
Further, the first determining module 1201 is specifically configured to perform determining whether there is a chat room in which the number of terminals accessed within a preset time range is smaller than a first preset threshold in at least one chat room.
Further, the first creating module 1203 is specifically configured to establish a chat room, and associate the established chat room with the target topic identifier, so as to obtain a first chat room belonging to the target topic.
Further, the first sending module 1024 is further configured to perform sending of a chat room identifier to the distribution exposure server, where the chat room identifier is used to determine chat room status information of the first chat room, the chat room status information is used to show a chat room selection interface after being received by a terminal connected to the distribution exposure server, the chat room selection interface is used to show a chat room to be selected, and the chat room status information includes the chat room identifier, the target topic to which the chat room belongs, and the number of currently accessed terminals.
Further, the first sending module 1204 is further configured to, when receiving a second chat room access request sent by the second terminal, send the chat room identifier to the second terminal, where the second chat room access request is a request issued by a selection operation for the presented first chat room.
Further, the data processing apparatus further includes:
a first access module 1205 configured to perform access of the second terminal to the idle chat space when the idle chat space exists in the first chat room; or when the first chat room has no free chat position, adding the second terminal into the waiting chat position queue; or, when the first chat room has no free chat position, the creation of the second chat room is triggered.
Fig. 13 is a block diagram illustrating an apparatus for data processing applied to a terminal according to an exemplary embodiment. Referring to fig. 13, the apparatus includes a selection second acquisition module 1301 and a chat room access module 1302.
A second obtaining module 1301 configured to perform a chat room access operation for entering a chat room of a target topic;
the chat room accessing module 1302 is configured to perform an access operation according to a chat room to enter a first chat room corresponding to the target topic, wherein the first chat room satisfies a first preset condition.
Further, the chat room access operation is a target topic selection operation, and the first preset condition is that the number of currently accessed terminals is smaller than a first preset threshold value and the chat rooms belong to the target topic;
the second obtaining module 1301 is specifically configured to perform a target topic selection operation of receiving a selection target topic, determine whether a chat room meeting a first preset condition exists, and generate a chat room access instruction including a target topic identifier when no chat room meeting the first preset condition exists, where the target topic identifier is an identifier representing the target topic.
Further, the second obtaining module 1301 is specifically configured to perform determining at least one chat room belonging to the target topic, and determine whether there is a chat room in the at least one chat room, where the number of currently accessed terminals is smaller than a first preset threshold.
Further, the second obtaining module 1301 is specifically configured to perform determining whether there is a chat room in which the number of terminals accessed within a preset time range is smaller than a first preset threshold in at least one chat room.
Further, the chat room accessing module 1302 is specifically configured to execute creating a chat room belonging to the target topic as the first chat room according to the target topic identifier in the chat room accessing instruction.
Further, the chat room access operation is a target topic selection operation, and the first preset condition is that the number of currently accessed terminals is smaller than a first preset threshold value and the chat rooms belong to the target topic;
the second obtaining module 1301 is specifically configured to perform a target topic selection operation of selecting a target topic, send a target topic identifier corresponding to the target topic to the server, and receive a first chat room identifier fed back by the server, where the first chat room identifier is used to represent an identifier of a first chat room, and the first chat room is a chat room meeting a first preset condition.
Further, the chat room accessing module 1302 is specifically configured to perform entering the first chat room according to the first chat room identifier.
The further chat room access operation is a chat room selection operation, and the first preset condition is that the number of the currently accessed terminals is smaller than a first preset threshold value and the currently accessed terminals belong to the chat rooms of the target topic;
the second obtaining module 1301 is specifically configured to perform a chat room selection operation of receiving and selecting the first chat room, and obtain a first chat room identifier representing the first chat room, where the first chat room identifier meets a first preset condition.
Further, the chat room accessing module 1302 is specifically configured to perform entering the first chat room according to the first chat room identifier.
Further, the chat room accessing module 1302 is specifically configured to access an idle chat space when the idle chat space exists in the first chat room; or, when the first chat room has no free chat position, adding the first chat room into the waiting chat position queue; or, when the first chat room has no free chat position, the creation of the second chat room is triggered.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 14 is a block diagram illustrating a terminal for data processing according to an example embodiment. For example, the terminal may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 14, the terminal may include one or more of the following components: a processing component 1402, a memory 1404, a power component 1406, a multimedia component 1408, an audio component 1410, an input/output (I/O) interface 1412, a sensor component 1414, and a communication component 1416.
The processing component 1402 generally controls the overall operation of the terminal, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing component 1402 may include one or more processors 1420 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1402 can include one or more modules that facilitate interaction between processing component 1402 and other components. For example, the processing component 1402 can include a multimedia module to facilitate interaction between the multimedia component 1408 and the processing component 1402.
The memory 1404 is configured to store various types of data to support operations at the terminal. Examples of such data include instructions for any application or method operating on the terminal, contact data, phonebook data, messages, pictures, videos, etc. The memory 1404 may be implemented by any type of volatile or non-volatile storage device or combination of devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1406 provides power to the various components of the terminal. The power components 1406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the terminal.
The multimedia component 1408 includes a screen that provides an output interface between the terminal and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1408 includes a front-facing camera and/or a rear-facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1410 is configured to output and/or input audio signals. For example, the audio component 1410 includes a Microphone (MIC) configured to receive external audio signals when the terminal is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1404 or transmitted via the communication component 1416. In some embodiments, audio component 1410 further includes a speaker for outputting audio signals.
Input/output interface 1412 provides an interface between processing component 1402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 1414 includes one or more sensors for providing various aspects of status assessment for the terminal. For example, the sensor component 1414 may detect an open/closed state of the terminal, the relative positioning of components, such as a display and keypad of the terminal, the sensor component 1414 may also detect a change in the position of the terminal or a component of the terminal, the presence or absence of user contact with the terminal, orientation or acceleration/deceleration of the terminal, and a change in the temperature of the terminal. The sensor assembly 1414 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 1414 may also include a photosensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1416 is configured to facilitate wired or wireless communication between the terminal and other devices. The terminal may access a wireless network based on a communication standard, such as WiFi, an operator network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 1416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1416 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a storage medium comprising instructions, such as the memory 1404 comprising instructions, executable by the processor 1420 of the terminal to perform the above-described method is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
FIG. 15 is a block diagram illustrating a server for data processing in accordance with an exemplary embodiment. For example, the server may be provided as a server. Referring to FIG. 15, the server includes a processing component 1522 that further includes one or more processors, and memory resources, represented by memory 1532, for storing instructions, such as applications, that are executable by the processing component 1522. The application programs stored in the memory 1532 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1522 is configured to execute instructions to perform the above-described methods of data processing.
The server can also include a power component 1526 configured to perform power management of the server, a wired or wireless network interface 1550 configured to connect the server to a network, and an input-output (I/O) interface 1558. The server may operate based on an operating system stored in memory 1532, such as a Windows Server, Mac OS15TM, Uni15TM, Linu15, FreeBSDTM, or similar operating system.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A data processing method is applied to a server and comprises the following steps:
when a first chat room access request sent by a first terminal is received, acquiring a target topic identifier, wherein the target topic identifier is an identifier representing a target topic to which a chat room to be accessed belongs;
judging whether a chat room meeting a first preset condition exists or not;
if the chat room meeting the first preset condition does not exist, establishing the chat room belonging to the target topic as a first chat room;
and sending the chat room identification of the first chat room to the first terminal.
2. The method of claim 1, wherein the determining whether there is a chat room satisfying a first preset condition comprises:
determining at least one chat room belonging to the target topic according to the target topic identification;
and judging whether chat rooms with the number of the currently accessed terminals smaller than the first preset threshold exist in the at least one chat room.
3. A data processing method is applied to a terminal and comprises the following steps:
obtaining a chat room access operation, wherein the chat room access operation is used for entering a chat room of a target topic;
and entering a first chat room which meets a first preset condition and corresponds to the target topic according to the chat room access operation.
4. The data processing method of claim 3, wherein the chat room accessing operation is a target topic selecting operation, and the first preset condition is that the number of currently accessed terminals is less than a first preset threshold and belongs to the chat room of the target topic;
the operation of obtaining chat room access comprises:
receiving the target topic selection operation for selecting the target topic;
judging whether a chat room meeting the first preset condition exists or not;
and when no chat room meeting the first preset condition exists, generating a chat room access instruction containing a target topic identifier, wherein the target topic identifier is an identifier representing the target topic.
5. An apparatus for data processing, applied to a server, comprising:
the first obtaining module is configured to obtain a target topic identifier when a first chat room access request sent by a first terminal is received, wherein the target topic identifier is an identifier representing a target topic to which a chat room to be accessed belongs;
a first judgment module configured to perform a judgment of whether there is a chat room satisfying a first preset condition;
a first creating module configured to create a chat room belonging to the target topic as a first chat room if there is no chat room satisfying the first preset condition;
a first sending module configured to execute sending the chat room identifier of the first chat room to the first terminal.
6. An apparatus for data processing, applied to a terminal, includes:
a second obtaining module configured to perform a chat room access operation for entering a chat room of a target topic;
and the chat room access module is configured to execute the chat room access operation and enter a first chat room which meets a first preset condition and corresponds to the target topic.
7. A server, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of data processing of claim 1 or 2.
8. A terminal, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of data processing of claim 3 or 4.
9. A storage medium, characterized in that instructions in the storage medium, when executed by a processor of a server, enable the server to perform the method of data processing according to claim 1 or 2.
10. A storage medium, characterized in that instructions in the storage medium, when executed by a processor of a terminal, enable the terminal to perform the method of data processing according to claim 3 or 4.
CN201911059767.0A 2019-11-01 2019-11-01 Data processing method, device, server, terminal and storage medium Active CN110913276B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911059767.0A CN110913276B (en) 2019-11-01 2019-11-01 Data processing method, device, server, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911059767.0A CN110913276B (en) 2019-11-01 2019-11-01 Data processing method, device, server, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110913276A true CN110913276A (en) 2020-03-24
CN110913276B CN110913276B (en) 2022-04-22

Family

ID=69815076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911059767.0A Active CN110913276B (en) 2019-11-01 2019-11-01 Data processing method, device, server, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110913276B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112003713A (en) * 2020-08-24 2020-11-27 广州市百果园信息技术有限公司 Interface display method, device, terminal and storage medium
CN114268512A (en) * 2021-11-08 2022-04-01 北京达佳互联信息技术有限公司 Chat room recommendation method, chat room recommendation device, server, terminal, program and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291366A (en) * 2010-06-17 2011-12-21 中兴通讯股份有限公司 Method for realizing instant messaging of multi-media conference and user equipment
CN102547600A (en) * 2010-12-29 2012-07-04 上海博泰悦臻电子设备制造有限公司 Method and system for establishing chat group based on vehicle-mounted terminal
CN102546455A (en) * 2010-12-30 2012-07-04 上海博泰悦臻电子设备制造有限公司 Communication system and communication method based on on-vehicle equipment
US20140365924A1 (en) * 2013-06-08 2014-12-11 Tencent Technology (Shenzhen) Company Limited Method and apparatus for accessing a chat room
CN104639426A (en) * 2015-01-29 2015-05-20 小米科技有限责任公司 Method and device for adding group members
CN106549988A (en) * 2015-09-18 2017-03-29 腾讯科技(深圳)有限公司 Add group method, apparatus and system
US20170237785A1 (en) * 2016-02-16 2017-08-17 LinkTime Corp. System and method for managing online group chat

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291366A (en) * 2010-06-17 2011-12-21 中兴通讯股份有限公司 Method for realizing instant messaging of multi-media conference and user equipment
CN102547600A (en) * 2010-12-29 2012-07-04 上海博泰悦臻电子设备制造有限公司 Method and system for establishing chat group based on vehicle-mounted terminal
CN102546455A (en) * 2010-12-30 2012-07-04 上海博泰悦臻电子设备制造有限公司 Communication system and communication method based on on-vehicle equipment
US20140365924A1 (en) * 2013-06-08 2014-12-11 Tencent Technology (Shenzhen) Company Limited Method and apparatus for accessing a chat room
CN104639426A (en) * 2015-01-29 2015-05-20 小米科技有限责任公司 Method and device for adding group members
CN106549988A (en) * 2015-09-18 2017-03-29 腾讯科技(深圳)有限公司 Add group method, apparatus and system
US20170237785A1 (en) * 2016-02-16 2017-08-17 LinkTime Corp. System and method for managing online group chat

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112003713A (en) * 2020-08-24 2020-11-27 广州市百果园信息技术有限公司 Interface display method, device, terminal and storage medium
CN114268512A (en) * 2021-11-08 2022-04-01 北京达佳互联信息技术有限公司 Chat room recommendation method, chat room recommendation device, server, terminal, program and storage medium
CN114268512B (en) * 2021-11-08 2024-03-19 北京达佳互联信息技术有限公司 Chat room recommendation method, chat room recommendation device, chat room recommendation server, chat room recommendation terminal, chat room recommendation program and chat room recommendation storage medium

Also Published As

Publication number Publication date
CN110913276B (en) 2022-04-22

Similar Documents

Publication Publication Date Title
CN106210797B (en) Network live broadcast method and device
US10237214B2 (en) Methods and devices for sharing media data between terminals
US10334282B2 (en) Methods and devices for live broadcasting based on live broadcasting application
CN109151565B (en) Method and device for playing voice, electronic equipment and storage medium
WO2017008400A1 (en) Method and device for controlling intelligent device
US20170171706A1 (en) Device displaying method, apparatus, and storage medium
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN105208089A (en) Information display method, apparatus and system
CN110913276B (en) Data processing method, device, server, terminal and storage medium
CN107272896B (en) Method and device for switching between VR mode and non-VR mode
CN109525966B (en) Intelligent device query method and device and storage medium
CN109040651B (en) Video communication method and device
CN112333518B (en) Function configuration method and device for video and electronic equipment
CN106773750B (en) Equipment image display method and device
CN107247794B (en) Topic guiding method in live broadcast, live broadcast device and terminal equipment
CN106506808B (en) Method and device for prompting communication message
CN113691872A (en) Live broadcast task allocation method and device, electronic equipment and storage medium
CN106878654B (en) Video communication method and device
CN106447747B (en) Image processing method and device
CN112685599A (en) Video recommendation method and device
CN109245992B (en) Request processing method and device, electronic equipment and storage medium
CN112256380A (en) Interactive page display method and device, electronic equipment and storage medium
CN110908814A (en) Message processing method and device, electronic equipment and storage medium
CN107885464B (en) Data storage method, device and computer readable storage medium
CN110764847A (en) User information processing method and device, electronic equipment and storage medium

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