WO2017185627A1 - 一种实现分类聊天的方法及装置 - Google Patents

一种实现分类聊天的方法及装置 Download PDF

Info

Publication number
WO2017185627A1
WO2017185627A1 PCT/CN2016/100336 CN2016100336W WO2017185627A1 WO 2017185627 A1 WO2017185627 A1 WO 2017185627A1 CN 2016100336 W CN2016100336 W CN 2016100336W WO 2017185627 A1 WO2017185627 A1 WO 2017185627A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
chat
chat room
module
information
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.)
Ceased
Application number
PCT/CN2016/100336
Other languages
English (en)
French (fr)
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.)
Le Holdings Beijing Co Ltd
LeTV Sports Culture Develop Beijing Co Ltd
Original Assignee
Le Holdings Beijing Co Ltd
LeTV Sports Culture Develop Beijing 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 Le Holdings Beijing Co Ltd, LeTV Sports Culture Develop Beijing Co Ltd filed Critical Le Holdings Beijing Co Ltd
Publication of WO2017185627A1 publication Critical patent/WO2017185627A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a method and apparatus for implementing classified chat.
  • the online live broadcast platform is mainly a platform for transmitting live signals through the network. Because it is not geographically restricted and supports users' on-demand broadcasting, online live broadcast platforms are becoming more and more popular.
  • the present application provides a method and apparatus for implementing classified chat, which can realize classified chat according to supported actors, which is beneficial to reducing language conflicts between supporters and purifying the chat environment.
  • the embodiment of the present application provides a method for implementing a classified chat, including: receiving a first login instruction sent by a first terminal device, where the first login instruction carries a supported first participant Identifying, according to the first login instruction, the first terminal device to access a first chat room corresponding to the first party; receiving first chat information sent by the first terminal device; The first chat information is published in the first chat room.
  • the method further includes: receiving a release command sent from the first terminal device to release the support of the first participant; and, according to the release instruction, the first terminal device from the first chat room Trusing and returning the first terminal device to the public chat room; receiving second chat information sent from the first terminal device; publishing the second chat information in the public chat room Inside.
  • the method further includes: identifying, according to a preset semantic recognition algorithm, whether the first chat information is confrontation information against the first participant; if the first chat information is confrontation information against the first participant, And then the first terminal device is culled from the first chat room, and the first terminal device is returned to the public chat room.
  • the method further includes: receiving a second login instruction sent by the second terminal device, where the second login instruction carries an identifier of the supported second participant; and according to the second login instruction, The second terminal device accesses the second chat room corresponding to the second participant; receives the second chat information sent by the second terminal device; and publishes the second chat information in the second chat room .
  • the method further includes: acquiring a first number of terminal devices that access the first chat room, and displaying the first quantity; and acquiring a second quantity of terminal devices that access the second chat room, And the second quantity is displayed.
  • the embodiment of the present application further provides an apparatus for implementing a classified chat, including: a first receiving module, configured to receive a first login instruction sent by a first terminal device, where the first login The command carries the identifier of the first party that is supported; the first access module is configured to enable the first terminal device to access the first chat room corresponding to the first participant according to the first login instruction; The second receiving module is configured to receive the first chat information sent by the first terminal device, and the first publishing module is configured to publish the first chat information in the first chat room.
  • the device further includes: a third receiving module, configured to receive a release command sent by the first terminal device to release the first participant; the first culling module is configured to use, according to the release command, Deleting the first terminal device from the first chat room, and returning the first terminal device to the public chat room; and fourth receiving module, configured to receive a second sent by the first terminal device
  • the second information module is configured to publish the second chat information in the public chat room.
  • the device further includes: an identification module, configured to identify, according to a preset semantic recognition algorithm, whether the first chat information is confrontation information against the first participant; and the second culling module is configured to identify the identification module When the first chat message is confrontation information against the first party, the first terminal device is culled from the first chat room, and the first terminal device is returned to the public chat room.
  • an identification module configured to identify, according to a preset semantic recognition algorithm, whether the first chat information is confrontation information against the first participant
  • the second culling module is configured to identify the identification module
  • the device further includes: a fifth receiving module, configured to receive a second login command sent by the second terminal device, where the second login command carries the identifier of the supported first participant;
  • the ingress module is configured to enable the second terminal device to access the second chat room corresponding to the second participant according to the second login instruction, and the sixth receiving module, configured to receive the second terminal device
  • the second chat information is sent, and the third advertisement module is configured to publish the second chat information in the second chat room.
  • the device further includes: a first acquisition display module, configured to acquire a first quantity of terminal devices that are accessed in the first chat room, and display the first quantity; and a second acquisition display module, configured to acquire Accessing a second number of terminal devices in the second chat room and displaying the second number.
  • the embodiment of the present application further provides an electronic device, including:
  • At least one processor and,
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method as described above.
  • the embodiment of the present application further provides a non-transitory computer readable storage medium, where the computer readable storage medium stores computer executable instructions for causing a computer to execute the above The method described.
  • the embodiment of the present application further provides a computer program product, where the computer program product includes a computer program stored on a non-transitory computer readable storage medium, the computer program includes program instructions, when When the program instructions are executed by the computer, the computer is caused to perform the method as described above.
  • the method and device for implementing the classified chat provided by the embodiment of the present application, when receiving the first login instruction sent by the first terminal device, according to the identifier of the first participant carried by the first login instruction, the first terminal device is connected Entering the first chat room corresponding to the first party to realize classified chat according to the supported participants, which is beneficial to reducing language conflicts between supporters and purifying the chat environment.
  • FIG. 1 is a flowchart of a first implementation manner of a method for implementing classified chat according to an embodiment of the present application
  • FIG. 2 is a flowchart of a second implementation manner of a method for implementing a classified chat provided by an embodiment of the present application
  • FIG. 3 is a flowchart of a third implementation manner of a method for implementing a classified chat provided by an embodiment of the present application
  • FIG. 4 is a schematic diagram of a first implementation manner of an apparatus for implementing classified chat provided by an embodiment of the present application
  • FIG. 5 is a schematic diagram of a second implementation manner of an apparatus for implementing classified chat according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of hardware of an electronic device for performing a method for implementing classified chat according to an embodiment of the present application.
  • the method for implementing the classified chat includes:
  • Step S201 Receive a first login instruction sent by the first terminal device, where the first login instruction carries the identifier of the supported first participant;
  • each competitive competition includes at least the first and second participants.
  • the user can post a comment in the chat room of the live broadcast.
  • the live broadcast The number of chat rooms set on the page is the same as the number of participants.
  • the first login command is an instruction to request to log in to the chat room.
  • Step S202 The first terminal device is connected to the first chat room corresponding to the first participant according to the first login instruction;
  • the chat information published by the first terminal device is only disclosed in the first chat room, and the chat information in other chat rooms is not.
  • Step S203 Receive first chat information sent by the first terminal device, and publish the first chat information in the first chat room;
  • the first terminal device Since the user of the first terminal device is a supporter of the first participant, the first terminal device is connected to the first chat room corresponding to the first participant, and the supporters supporting different participants are located in different chat rooms. It helps to reduce language conflicts between supporters and purify the chat environment.
  • the first chat information published by the first terminal device may also be identified, if it is against the first party's confrontation information, Then the first terminal device is removed from the first chat room, please refer to FIG. 2, and the method is also include:
  • Step S204 Identify, according to the preset semantic recognition algorithm, whether the first chat information is confrontation information against the first competitor. If the first chat information is confrontation information against the first competitor, proceed to step S205, otherwise no processing;
  • the confrontation information against the first party refers to the resistance information of the first party.
  • the specific implementation of the preset semantic recognition algorithm is not limited, for example, when a specific resistance language is detected, it is determined as confrontation information against the first competitor.
  • Step S205 culling the first terminal device from the first chat room, and returning the first terminal device to the public chat room;
  • the first terminal device is a masher
  • the first terminal device is removed from the first chat room, which is beneficial to ensure consistency of the supporters of the first chat room, thereby facilitating reduction of chat conflicts.
  • FIG. 3 is a third embodiment of a method for implementing a classified chat according to this embodiment.
  • the third implementation manner of implementing a classified chat is different from the first embodiment in that:
  • the method also includes:
  • Step S206 Receive a release command sent from the first terminal device to release the support of the first participant;
  • Dismissing an order means dissolving the instructions that support the first party.
  • the release command from the first terminal device it indicates that the user of the first terminal device no longer supports the first participant, and the first terminal device is not suitable for the first chat room.
  • Step S207 According to the release instruction, the first terminal device is culled from the first chat room, and the first terminal device is returned to the public chat room;
  • Public chat rooms are chat rooms that do not distinguish between supportive tendencies.
  • Step S208 Receive second chat information sent by the first terminal device, and publish the second chat information in the public chat room;
  • the first terminal device When the first terminal device no longer supports the first party, the first terminal device culls from the first chat room and returns to the public chat room. It should be noted that the chat content between the public chat room and the first chat room is mutually shielded.
  • the second login command from the second terminal device may be received.
  • the second terminal device supports the second participant
  • the second terminal device is connected to the second chat room, and the method further includes:
  • Step S209 Receive a second login instruction sent by the second terminal device, where the second login instruction carries the identifier of the supported second party;
  • the second login command is also an instruction to request to log in to the chat room.
  • Step S210 The second terminal device is connected to the second chat room corresponding to the second participant according to the second login instruction;
  • Step S211 Receive a second chat message sent by the second terminal device, and publish the second chat information in the second chat room.
  • the number of people in each chat room may also be displayed.
  • the method further includes: obtaining a first number of terminal devices accessing the first chat room, displaying the first quantity, and obtaining the access number.
  • the second number of terminal devices in the chat room, and the second number is displayed.
  • the number of chat messages published by each chat room can also be displayed.
  • the first terminal device when receiving the first login instruction sent by the first terminal device, the first terminal device is connected to the first participant according to the identifier of the first participant carried by the first login instruction.
  • the first chat room realizes classified chat according to the supported contestants, which helps to reduce language conflicts between supporters and purify the chat environment.
  • the apparatus 30 for implementing classified chat includes a first receiving module 31, a first access module 32, a second receiving module 33, and a first publishing module 34.
  • the first receiving module 31 is configured to receive a first login instruction sent by the first terminal device, where the first login instruction carries an identifier of the supported first participant.
  • the first access module 32 is configured to enable the first terminal device to access the first chat room corresponding to the first participant according to the first login instruction.
  • the second receiving module 33 is configured to receive first chat information sent by the first terminal device.
  • the first publishing module 34 is configured to publish the first chat information in the first chat room.
  • the first terminal device is connected to the first chat room corresponding to the first participant, so as to implement classified chat according to the supported participants, which is beneficial to reducing supporters. Language conflicts, purify the chat environment.
  • the device further includes an identification module 35 and a second culling module 36.
  • the identification module 35 is configured to identify, according to the preset semantic recognition algorithm, whether the first chat information is confrontation information against the first participant.
  • the second culling module 36 is configured to: when the identification module 35 recognizes that the first chat information is confrontation information against the first participant, the first terminal device is removed from the first chat room, and the first terminal device is returned to the public chat room. .
  • the first terminal device is a masher
  • the first terminal device is removed from the first chat room, which is beneficial to ensure consistency of the supporters of the first chat room, thereby facilitating reduction of chat conflicts.
  • the device 30 further includes a third receiving module 37, a first culling module 38, a fourth receiving module 39, and a second publishing module 40.
  • the third receiving module 37 is configured to receive a release command sent by the first terminal device to release the support of the first party.
  • the first culling module 38 is configured to cull the first terminal device from the first chat room according to the release instruction, and return the first terminal device to the public chat room.
  • the fourth receiving module 39 is configured to receive second chat information sent by the first terminal device.
  • the second publishing module 40 is configured to publish the second chat information in the public chat room.
  • the second login command from the second terminal device may be received.
  • the second terminal device supports the second participant
  • the second terminal device is connected to the second chat room, and the device 30 further includes a fifth receiving module 41.
  • the fifth receiving module 41 is configured to receive a second login instruction sent by the second terminal device, where the second login instruction carries the identifier of the supported first participant.
  • the second access module 42 is configured to enable the second terminal device to access the second chat room corresponding to the second participant according to the second login instruction.
  • the sixth receiving module 43 is configured to receive second chat information sent by the second terminal device.
  • the third publishing module 44 is configured to publish the second chat information in the second chat room.
  • the device further includes a first acquisition display module (not shown) and a second acquisition display module (not shown). And a first acquiring display module, configured to acquire a first quantity of the terminal device that accesses the first chat room, and display the first quantity. And a second acquiring display module, configured to acquire a second quantity of the terminal device that accesses the second chat room, and display the second quantity.
  • the first receiving module 31 is configured to receive the first login command sent by the first terminal device, and the first access module 32 is configured to use the identifier of the first participant that is carried according to the first login command.
  • the first terminal device is connected to the first chat room corresponding to the first participant, so that the classified chat is performed according to the supported participants, which is beneficial to reducing language conflicts between the supporters and purifying the chat environment.
  • FIG. 6 is a schematic diagram of a hardware structure of an electronic device 600 for implementing a method for classifying a chat according to an embodiment of the present disclosure. As shown in FIG. 6, the electronic device 600 includes:
  • processors 610 and memory 620 one processor 610 is taken as an example in FIG.
  • the processor 610 and the memory 620 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 620 is a non-volatile computer readable storage medium, and is applicable to a non-volatile software program, a non-volatile computer-executable program, and a module, as in the method for implementing the classified chat in the embodiment of the present application.
  • Program instructions/modules eg, first receiving module 31, first access module 32, and first publishing module 34 shown in FIG. 4.
  • the processor 610 executes various functional applications of the terminal device or the server and completes data processing by running the non-volatile software programs, instructions, and modules stored in the memory 620, that is, the method for implementing the classified chat by implementing the foregoing method embodiments .
  • the memory 620 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to use of a device that implements the classified chat, and the like.
  • memory 620 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • memory 620 can optionally include memory remotely located relative to processor 610, which can be connected over a network to a device that implements a classified chat. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the one or more modules are stored in the memory 620, and when executed by the one or more processors 610, perform a method of implementing a classified chat in any of the above method embodiments, for example, performing the above described graph Method step 201 to step S203 in FIG. 1, method step S204 to step S205 in FIG. 2, method step S206 to step S211 in FIG. 3, implementing the functions of modules 31-34 in FIG. 4, and implementing the functions in FIG. The function of modules 35-44.
  • the electronic device of the embodiment of the present application exists in various forms, including but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile PC devices These devices belong to the category of personal computers, with calculations and The function is generally also equipped with mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the server consists of a processor, a hard disk, a memory, a system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
  • the embodiment of the present application provides a non-transitory computer readable storage medium storing computer-executable instructions that are executed by one or more processors, such as in FIG.
  • the processor 610 is configured to enable the one or more processors to perform the method for implementing the classified chat in any of the foregoing method embodiments, for example, to perform the method step 201 to step S203 in FIG. 1 described above, in FIG.
  • the method steps S204 to S205, the method steps S206 to S211 in FIG. 3, implement the functions of the modules 31-34 in FIG. 4, and implement the functions of the modules 35-44 in FIG.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

实现分类聊天的方法及装置,该方法包括:接收来自第一终端设备发送的第一登录指令,其中,所述第一登录指令携带所支持的第一参赛方的标识;根据所述第一登录指令,使所述第一终端设备接入所述第一参赛方对应的第一聊天室;接收来自所述第一终端设备发送的第一聊天信息;将所述第一聊天信息公布于所述第一聊天室内。

Description

一种实现分类聊天的方法及装置
相关申请的交叉参考
本申请要求于2016年04月29日提交中国专利局,申请号为201610281267.1,发明名称为“一种实现分类聊天的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及计算机技术领域,特别是涉及一种实现分类聊天的方法及装置。
背景技术
在线直播平台主要是通过网络传输直播信号的平台。由于其不受地域的限制,并且支持用户的点播,因此,在线直播平台越来越受人们欢迎。
为了方便观众在观看比赛的过程中进行讨论,增加观众的参与感,提高观众对比赛直播平台的忠诚度,目前,大部分的在线直播平台都会提供聊天室功能。但是不同观众其喜爱是不相同的,因此,会出现不同观众支持不同参赛方的情况,而支持不同参赛方的观众在一天聊天室内聊天时,容易引发观众之间的对抗,进而引起观众之间的对骂,影响聊天室的聊天环境。
发明内容
本申请提供一种实现分类聊天的方法及装置,能够实现根据所支持的参赛方进行分类聊天,有利于减少支持者之间语言冲突,净化聊天环境。
第一方面,本申请实施例提供了一种实现分类聊天的方法,包括:接收来自第一终端设备发送的第一登录指令,其中,所述第一登录指令携带所支持的第一参赛方的标识;根据所述第一登录指令,使所述第一终端设备接入所述第一参赛方对应的第一聊天室;接收来自所述第一终端设备发送的第一聊天信息;将所述第一聊天信息公布于所述第一聊天室内。
其中,所述方法还包括:接收来自所述第一终端设备发送的解除支持所述第一参赛方的解除指令;根据所述解除指令,将所述第一终端设备从所述第一聊天室剔除,并且使所述第一终端设备返回所述公共聊天室;接收来自所述第一终端设备发送的第二聊天信息;将所述第二聊天信息公布于所述公共聊天室 内。
其中,所述方法还包括:根据预设语义识别算法,识别所述第一聊天信息是否为对抗第一参赛方的对抗信息;若所述第一聊天信息为对抗第一参赛方的对抗信息,则将所述第一终端设备从所述第一聊天室剔除,并且使所述第一终端设备返回所述公共聊天室。
其中,所述方法还包括:接收来自第二终端设备发送的第二登录指令,其中,所述第二登录指令携带所支持的第二参赛方的标识;根据所述第二登录指令,使所述第二终端设备接入所述第二参赛方对应的第二聊天室;接收来自所述第二终端设备发送的第二聊天信息;将所述第二聊天信息公布于所述第二聊天室内。
其中,所述方法还包括:获取接入所述第一聊天室内的终端设备的第一数量,并且显示所述第一数量;获取接入所述第二聊天室内的终端设备的第二数量,并且显示所述第二数量。
第二方面,本申请实施例还提供了一种一种实现分类聊天的装置,包括:第一接收模块,用于接收来自第一终端设备发送的第一登录指令,其中,所述第一登录指令携带所支持的第一参赛方的标识;第一接入模块,用于根据所述第一登录指令,使所述第一终端设备接入所述第一参赛方对应的第一聊天室;第二接收模块,用于接收来自所述第一终端设备发送的第一聊天信息;第一公布模块,用于将所述第一聊天信息公布于所述第一聊天室内。
其中,所述装置还包括:第三接收模块,用于接收来自所述第一终端设备发送的解除支持所述第一参赛方的解除指令;第一剔除模块,用于根据所述解除指令,将所述第一终端设备从所述第一聊天室剔除,并且使所述第一终端设备返回所述公共聊天室;第四接收模块,用于接收来自所述第一终端设备发送的第二聊天信息;第二公布模块,用于将所述第二聊天信息公布于所述公共聊天室内。
其中,所述装置还包括:识别模块,用于根据预设语义识别算法,识别所述第一聊天信息是否为对抗第一参赛方的对抗信息;第二剔除模块,用于所述识别模块识别到所述第一聊天信息为对抗第一参赛方的对抗信息时,将所述第一终端设备从所述第一聊天室剔除,并且使所述第一终端设备返回所述公共聊天室。
其中,所述装置还包括:第五接收模块,用于接收来自第二终端设备发送的第二登录指令,其中,所述第二登录指令携带所支持的第一参赛方的标识;第二接入模块,用于根据所述第二登录指令,使所述第二终端设备接入所述第二参赛方对应的第二聊天室;第六接收模块,用于接收来自所述第二终端设备发送的第二聊天信息;第三公布模块,用于将所述第二聊天信息公布于所述第二聊天室内。
其中,所述装置还包括:第一获取显示模块,用于获取接入所述第一聊天室内的终端设备的第一数量,并且显示所述第一数量;第二获取显示模块,用于获取接入所述第二聊天室内的终端设备的第二数量,并且显示所述第二数量。
第三方面,本申请实施例还提供了一种电子设备,包括:
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如上所述的方法。
第四方面,本申请实施例还提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使计算机执行如上所述的方法。
第五方面,本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行如上所述的方法。
本申请实施例提供的实现分类聊天的方法和装置,在接收到第一终端设备发送的第一登录指令时,根据第一登录指令所携带的第一参赛方的标识,将第一终端设备接入第一参赛方对应的第一聊天室,实现根据所支持的参赛方进行分类聊天,有利于减少支持者之间语言冲突,净化聊天环境。
附图说明
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1是本申请实施例提供的一种实现分类聊天的方法第一实施方式的流程图;
图2是本申请实施例提供的实现分类聊天的方法第二实施方式的流程图;
图3是本申请实施例提供的实现分类聊天的方法第三实施方式的流程图;
图4是本申请实施例提供的实现分类聊天的装置第一实施方式的示意图;
图5是本申请实施例提供的实现分类聊天的装置第二实施方式的示意图;
图6是本申请实施例提供的执行实现分类聊天的方法的电子设备的硬件结构示意图。
具体实施方式
下面结合附图和实施方式对本实施例进行详细说明。
请参阅图1,实现分类聊天的方法包括:
步骤S201:接收来自第一终端设备发送的第一登录指令,其中,第一登录指令携带所支持的第一参赛方的标识;
在竞技比赛中,每一个竞技比赛至少包含第一、第二两个参赛方,为了方便用户对直播的竞技比赛进行评论,用户可以直播页面的聊天室中发表评论,在本实施方式中,直播页面设置的聊天室的数量与参赛方的数量相同。第一登录指令是请求登录聊天室的指令。
步骤S202:根据第一登录指令,使第一终端设备接入第一参赛方对应的第一聊天室;
当第一终端设备接入第一聊天室后,通过第一终端设备发表的聊天信息只会在第一聊天室公开,而在其它聊天室内的聊天信息不会向。
步骤S203:接收来自第一终端设备发送的第一聊天信息,并将第一聊天信息公布于第一聊天室内;
由于第一终端设备的使用者是第一参赛方的支持者,因此,将第一一终端设备接入第一参赛方对应的第一聊天室,而支持不同参赛方的支持者位于不同聊天室,有利于减少支持者之间语言冲突,净化聊天环境。
进一步的,为了避免支持其它参赛方的支持者利用第一终端设备混入第一聊天室,对第一终端设备发表的第一聊天信息也可以进行识别,若为对抗第一参赛方的对抗信息,则将第一终端设备从第一聊天室剔除,请参阅图2,方法还 包括:
步骤S204:根据预设语义识别算法,识别第一聊天信息是否为对抗第一参赛方的对抗信息,若第一聊天信息为对抗第一参赛方的对抗信息,则进入步骤S205,否则不处理;
对抗第一参赛方的对抗信息是指反第一参赛方的反抗信息。预设语义识别算法的具体实现不再限定,例如:当检测到特定的反抗语言时,认定为对抗第一参赛方的对抗信息。
步骤S205:将第一终端设备从第一聊天室剔除,并且使第一终端设备返回公共聊天室;
当识别到第一终端设备是混入者,将第一终端设备从第一聊天室剔除,有利于保证第一聊天室的支持者的一致性,从而有利于减少聊天冲突。
请参阅图3,图3是本实施例实现分类聊天的方法第三实施方式,实现分类聊天的方法第三实施方式与第一实施方式不同之处在于:
方法还包括:
步骤S206:接收来自第一终端设备发送的解除支持第一参赛方的解除指令;
解除指令是指解除支持第一参赛方的指令。当接收来自第一终端设备的解除指令时,说明第一终端设备的使用者不再支持第一参赛方,第一终端设备不适合在第一聊天室内。
步骤S207:根据解除指令,将第一终端设备从第一聊天室剔除,并且使第一终端设备返回公共聊天室;
公共聊天室是不区分支持倾向的聊天室。
步骤S208:接收来自第一终端设备发送的第二聊天信息,并将第二聊天信息公布于公共聊天室内;
当第一终端设备不再支持第一参赛方时,第一终端设备从第一聊天室剔除并返回公共聊天室。需要说明的是:公共聊天室和第一聊天室之间的聊天内容相互屏蔽。
进一步,也可以接收来自第二终端设备的第二登录指令,当第二终端设备是支持第二参赛方,则将第二终端设备接入第二聊天室,则方法还包括:
步骤S209:接收来自第二终端设备发送的第二登录指令,其中,第二登录指令携带所支持的第二参赛方的标识;
第二登录指令也是请求登录聊天室的指令。
步骤S210:根据第二登录指令,使第二终端设备接入第二参赛方对应的第二聊天室;
步骤S211:接收来自第二终端设备发送的第二聊天信,并且将第二聊天信息公布于第二聊天室内。
为了方便获知各个聊天室的热度,还可以将显示各个聊天室的人数,则方法还包括:获取接入第一聊天室内的终端设备的第一数量,并且显示第一数量,以及获取接入第二聊天室内的终端设备的第二数量,并且显示第二数量。当然,在其它替代实施方式中,还可以显示各个聊天室所发表的聊天信息的数量。
在本实施例实施方式中,在接收到第一终端设备发送的第一登录指令时,根据第一登录指令所携带的第一参赛方的标识,将第一终端设备接入第一参赛方对应的第一聊天室,实现根据所支持的参赛方进行分类聊天,有利于减少支持者之间语言冲突,净化聊天环境。
本实施例又提供实现分类聊天的装置实施方式。请参阅图4,实现分类聊天的装置30包括第一接收模块31、第一接入模块32、第二接收模块33和第一公布模块34。
第一接收模块31,用于接收来自第一终端设备发送的第一登录指令,其中,所述第一登录指令携带所支持的第一参赛方的标识。第一接入模块32,用于根据所述第一登录指令,使所述第一终端设备接入所述第一参赛方对应的第一聊天室。第二接收模块33,用于接收来自所述第一终端设备发送的第一聊天信息。第一公布模块34,用于将所述第一聊天信息公布于所述第一聊天室内。
根据第一登录指令所携带的第一参赛方的标识,将第一终端设备接入第一参赛方对应的第一聊天室,实现根据所支持的参赛方进行分类聊天,有利于减少支持者之间语言冲突,净化聊天环境。
为了避免支持其它参赛方的支持者利用第一终端设备混入第一聊天室,请参阅图5,装置还包括识别模块35和第二剔除模块36。
识别模块35,用于根据预设语义识别算法,识别第一聊天信息是否为对抗第一参赛方的对抗信息。第二剔除模块36,用于识别模块35识别到第一聊天信息为对抗第一参赛方的对抗信息时,将第一终端设备从第一聊天室剔除,并且使第一终端设备返回公共聊天室。
当识别到第一终端设备是混入者,将第一终端设备从第一聊天室剔除,有利于保证第一聊天室的支持者的一致性,从而有利于减少聊天冲突。
当第一终端设备位于第一聊天室时,第一终端设备也可以请求解除支持第一参赛方,当第一终端设备不是第一参赛方的支持者时,第一终端设备会从第一聊天室中剔除,则装置30还包括第三接收模块37、第一剔除模块38、第四接收模块39和第二公布模块40。
第三接收模块37,用于接收来自所述第一终端设备发送的解除支持所述第一参赛方的解除指令。第一剔除模块38,用于根据所述解除指令,将所述第一终端设备从所述第一聊天室剔除,并且使所述第一终端设备返回所述公共聊天室。第四接收模块39,用于接收来自所述第一终端设备发送的第二聊天信息。第二公布模块40,用于将所述第二聊天信息公布于所述公共聊天室内。
进一步,也可以接收来自第二终端设备的第二登录指令,当第二终端设备是支持第二参赛方,则将第二终端设备接入第二聊天室,装置30还包括第五接收模块41、第二接入模块42、第六接收模块43和第三公布模块44。
第五接收模块41,用于接收来自第二终端设备发送的第二登录指令,其中,所述第二登录指令携带所支持的第一参赛方的标识。第二接入模块42,用于根据所述第二登录指令,使所述第二终端设备接入所述第二参赛方对应的第二聊天室。第六接收模块43,用于接收来自所述第二终端设备发送的第二聊天信息。第三公布模块44,用于将所述第二聊天信息公布于所述第二聊天室内。
为了方便获知各个聊天室的热度,装置还包括第一获取显示模块(图未示)和第二获取显示模块(图未示)。第一获取显示模块,用于获取接入所述第一聊天室内的终端设备的第一数量,并且显示所述第一数量。第二获取显示模块,用于获取接入所述第二聊天室内的终端设备的第二数量,并且显示所述第二数量。
在本实施例实施方式中,第一接收模块31用于接收第一终端设备发送的第一登录指令,第一接入模块32用于根据第一登录指令所携带的第一参赛方的标识,将第一终端设备接入第一参赛方对应的第一聊天室,实现根据所支持的参赛方进行分类聊天,有利于减少支持者之间语言冲突,净化聊天环境。
图6是本申请实施例提供的实现分类聊天的方法的电子设备600的硬件结构示意图,如图6所示,该电子设备600包括:
一个或多个处理器610以及存储器620,图6中以一个处理器610为例。
处理器610和存储器620可以通过总线或者其他方式连接,图6中以通过总线连接为例。
存储器620作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的实现分类聊天的方法对应的程序指令/模块(例如,附图4所示的第一接收模块31、第一接入模块32和第一公布模块34)。处理器610通过运行存储在存储器620中的非易失性软件程序、指令以及模块,从而执行终端设备或者服务器的各种功能应用以及完成数据处理,即实现上述方法实施例的实现分类聊天的方法。
存储器620可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据实现分类聊天的装置的使用所创建的数据等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器620可选包括相对于处理器610远程设置的存储器,这些远程存储器可以通过网络连接至实现分类聊天的装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
所述一个或者多个模块存储在所述存储器620中,当被所述一个或者多个处理器610执行时,执行上述任意方法实施例中的实现分类聊天的方法,例如,执行以上描述的图1中的方法步骤201至步骤S203,图2中的方法步骤S204至步骤S205,图3中的方法步骤S206至步骤S211,实现图4中的模块31-34的功能,和实现图5中的模块35-44的功能。
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。
本申请实施例的电子设备以多种形式存在,包括但不限于:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处 理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。
(5)其他具有数据交互功能的电子装置。
本申请实施例提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个处理器执行,例如图6中的一个处理器610,可使得上述一个或多个处理器可执行上述任意方法实施例中的实现分类聊天的方法,例如,执行以上描述的图1中的方法步骤201至步骤S203,图2中的方法步骤S204至步骤S205,图3中的方法步骤S206至步骤S211,实现图4中的模块31-34的功能,和实现图5中的模块35-44的功能。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
通过以上的实施方式的描述,本领域普通技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限 制;在本申请的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本申请的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。

Claims (13)

  1. 一种实现分类聊天的方法,应用于电子设备,所述方法包括:
    接收来自第一终端设备发送的第一登录指令,其中,所述第一登录指令携带所支持的第一参赛方的标识;
    根据所述第一登录指令,使所述第一终端设备接入所述第一参赛方对应的第一聊天室;
    接收来自所述第一终端设备发送的第一聊天信息;
    将所述第一聊天信息公布于所述第一聊天室内。
  2. 根据权利要求1所述的方法,其中,所述方法还包括:
    接收来自所述第一终端设备发送的解除支持所述第一参赛方的解除指令;
    根据所述解除指令,将所述第一终端设备从所述第一聊天室剔除,并且使所述第一终端设备返回所述公共聊天室;
    接收来自所述第一终端设备发送的第二聊天信息;
    将所述第二聊天信息公布于所述公共聊天室内。
  3. 根据权利要求1所述的方法,其中,所述方法还包括:
    根据预设语义识别算法,识别所述第一聊天信息是否为对抗第一参赛方的对抗信息;
    若所述第一聊天信息为对抗第一参赛方的对抗信息,则将所述第一终端设备从所述第一聊天室剔除,并且使所述第一终端设备返回所述公共聊天室。
  4. 根据权利要求1所述的方法,其中,所述方法还包括:
    接收来自第二终端设备发送的第二登录指令,其中,所述第二登录指令携带所支持的第二参赛方的标识;
    根据所述第二登录指令,使所述第二终端设备接入所述第二参赛方对应的第二聊天室;
    接收来自所述第二终端设备发送的第二聊天信息;
    将所述第二聊天信息公布于所述第二聊天室内。
  5. 根据权利要求4所述的方法,其中,所述方法还包括:
    获取接入所述第一聊天室内的终端设备的第一数量,并且显示所述第一数量;
    获取接入所述第二聊天室内的终端设备的第二数量,并且显示所述第二数量。
  6. 一种实现分类聊天的装置,其中,包括:
    第一接收模块,用于接收来自第一终端设备发送的第一登录指令,其中,所述第一登录指令携带所支持的第一参赛方的标识;
    第一接入模块,用于根据所述第一登录指令,使所述第一终端设备接入所述第一参赛方对应的第一聊天室;
    第二接收模块,用于接收来自所述第一终端设备发送的第一聊天信息;
    第一公布模块,用于将所述第一聊天信息公布于所述第一聊天室内。
  7. 根据权利要求6所述的装置,其中,所述装置还包括:
    第三接收模块,用于接收来自所述第一终端设备发送的解除支持所述第一参赛方的解除指令;
    第一剔除模块,用于根据所述解除指令,将所述第一终端设备从所述第一聊天室剔除,并且使所述第一终端设备返回所述公共聊天室;
    第四接收模块,用于接收来自所述第一终端设备发送的第二聊天信息;
    第二公布模块,用于将所述第二聊天信息公布于所述公共聊天室内。
  8. 根据权利要求6所述的装置,其中,所述装置还包括:
    识别模块,用于根据预设语义识别算法,识别所述第一聊天信息是否为对抗第一参赛方的对抗信息;
    第二剔除模块,用于所述识别模块识别到所述第一聊天信息为对抗第一参 赛方的对抗信息时,将所述第一终端设备从所述第一聊天室剔除,并且使所述第一终端设备返回所述公共聊天室。
  9. 根据权利要求6所述的装置,其中,所述装置还包括:
    第五接收模块,用于接收来自第二终端设备发送的第二登录指令,其中,所述第二登录指令携带所支持的第一参赛方的标识;
    第二接入模块,用于根据所述第二登录指令,使所述第二终端设备接入所述第二参赛方对应的第二聊天室;
    第六接收模块,用于接收来自所述第二终端设备发送的第二聊天信息;
    第三公布模块,用于将所述第二聊天信息公布于所述第二聊天室内。
  10. 根据权利要求9所述的装置,其中,所述装置还包括:
    第一获取显示模块,用于获取接入所述第一聊天室内的终端设备的第一数量,并且显示所述第一数量;
    第二获取显示模块,用于获取接入所述第二聊天室内的终端设备的第二数量,并且显示所述第二数量。
  11. 一种电子设备,其中,包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-5任一项所述的方法。
  12. 一种非易失性计算机可读存储介质,其中,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使计算机执行权利要求1-5任一项所述的方法。
  13. 一种计算机程序产品,其中,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-5任一项所述的方 法。
PCT/CN2016/100336 2016-04-29 2016-09-27 一种实现分类聊天的方法及装置 Ceased WO2017185627A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610281267.1 2016-04-29
CN201610281267.1A CN105847125A (zh) 2016-04-29 2016-04-29 一种实现分类聊天的方法及装置

Publications (1)

Publication Number Publication Date
WO2017185627A1 true WO2017185627A1 (zh) 2017-11-02

Family

ID=56590515

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/100336 Ceased WO2017185627A1 (zh) 2016-04-29 2016-09-27 一种实现分类聊天的方法及装置

Country Status (2)

Country Link
CN (1) CN105847125A (zh)
WO (1) WO2017185627A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847125A (zh) * 2016-04-29 2016-08-10 乐视控股(北京)有限公司 一种实现分类聊天的方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859143A (zh) * 2005-04-30 2006-11-08 非常网科技股份有限公司 在因特网或无线通讯上从事社群经营的方法
CN101127767A (zh) * 2007-09-26 2008-02-20 腾讯科技(深圳)有限公司 一种创建网络聊天平台的方法及系统
US20120102073A1 (en) * 2010-10-22 2012-04-26 Patel Yogesh B Contextual presence system and associated methods
CN105847125A (zh) * 2016-04-29 2016-08-10 乐视控股(北京)有限公司 一种实现分类聊天的方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100555972C (zh) * 2007-03-30 2009-10-28 腾讯科技(深圳)有限公司 在网络聊天室中多成员聚集交流的方法、服务器
CN102075456B (zh) * 2011-02-25 2013-06-19 中国科学院计算技术研究所 分布式域管理系统中的群组建立及成员添加方法
CN105530165B (zh) * 2015-12-08 2019-07-02 小米科技有限责任公司 用于即时聊天的方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859143A (zh) * 2005-04-30 2006-11-08 非常网科技股份有限公司 在因特网或无线通讯上从事社群经营的方法
CN101127767A (zh) * 2007-09-26 2008-02-20 腾讯科技(深圳)有限公司 一种创建网络聊天平台的方法及系统
US20120102073A1 (en) * 2010-10-22 2012-04-26 Patel Yogesh B Contextual presence system and associated methods
CN105847125A (zh) * 2016-04-29 2016-08-10 乐视控股(北京)有限公司 一种实现分类聊天的方法及装置

Also Published As

Publication number Publication date
CN105847125A (zh) 2016-08-10

Similar Documents

Publication Publication Date Title
US10498781B2 (en) Interactive spectating interface for live videos
US10706889B2 (en) Selective content insertion into areas of media objects
US10511642B1 (en) Tools for micro-communities
US20080034040A1 (en) Method and system for embedded group communication
US20170163580A1 (en) Interactive method and device for playback of multimedia
WO2018010682A1 (zh) 直播方法、直播数据流展示方法和终端
WO2017185640A1 (zh) 一种弹幕的生成、呈现方法及其装置、服务器、客户端
WO2017177630A1 (zh) 个性化信息推荐方法及装置
CN104022945B (zh) 在客户端中实现即时通讯的方法和装置
US20150207764A1 (en) Method and device for sharing data
WO2017166630A1 (zh) 一种任务优先级修正方法和装置
US20180302761A1 (en) Recommendation System for Multi-party Communication Sessions
WO2017197826A1 (zh) 图像特征关系的匹配方法、装置和系统
CN109218765B (zh) 一种视频直播房间推荐方法及装置
WO2025190229A2 (zh) 搜索方法、装置、设备和存储介质
CN118467083A (zh) 交互方法、装置、设备和存储介质
CN106452805B (zh) 一种消息广播的方法和装置
CN106533923A (zh) 一种基于即时通讯软件的信息处理方法及装置
CN108989864A (zh) 一种连麦方法、装置、设备及存储介质
US20150039689A1 (en) Social queue
WO2017185644A1 (zh) 一种根据支持人数调整对抗进度条的方法及装置
WO2017185627A1 (zh) 一种实现分类聊天的方法及装置
US20170171634A1 (en) Method and electronic device for pushing reservation message
WO2014205641A1 (en) Server apparatus, information sharing method, and computer-readable storage medium
US9129025B2 (en) Automatically granting access to content in a microblog

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16900136

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16900136

Country of ref document: EP

Kind code of ref document: A1