










技术领域technical field
本公开涉及互动处理技术领域,尤其涉及一种互动处理方法、装置、电子设备、存储介质及程序产品。The present disclosure relates to the technical field of interactive processing, and in particular to an interactive processing method, device, electronic equipment, storage medium, and program product.
背景技术Background technique
随着互联网与多媒体技术的发展,直播服务的应用越来越广泛。With the development of the Internet and multimedia technology, the application of live broadcast services is becoming more and more extensive.
相关技术中,主播可以在直播间中开设聊天室。观众如果想连麦聊天,需上麦申请后等主播通过申请,或者退出当前聊天室并查找下一个符合需求的聊天室申请上麦。In related technologies, the anchor can set up a chat room in the live broadcast room. If viewers want to chat with mic, they need to apply for mic and wait for the anchor to pass the application, or exit the current chat room and find the next chat room that meets the needs to apply for mic.
相关技术中,互动聊天的连接成功率较低、操作复杂度较高。In related technologies, the connection success rate of interactive chatting is relatively low, and the operation complexity is relatively high.
发明内容Contents of the invention
本公开提供一种互动处理方法、装置、电子设备、存储介质及程序产品,以至少解决相关技术中互动聊天的连接成功率较低、操作复杂度较高的问题。本公开的技术方案如下:The present disclosure provides an interactive processing method, device, electronic equipment, storage medium and program product, so as to at least solve the problems of low connection success rate and high operation complexity in interactive chatting in the related art. The disclosed technical scheme is as follows:
根据本公开实施例的第一方面,提供一种互动处理方法,所述方法包括:在接收到服务器发送的互动空间匹配信息的情况下,在预设页面展示所述互动空间匹配信息中的互动空间推荐信息,所述互动空间推荐信息为推荐第一互动聊天空间的信息,所述第一互动聊天空间具有空余互动位且未开启互动申请模式;响应于基于所述互动空间推荐信息触发的接受指令,向所述服务器发送互动指示信息,所述互动指示信息用于指示所述服务器将所述第一互动聊天空间对应的目标互动位分配给目标终端。According to the first aspect of the embodiments of the present disclosure, there is provided an interaction processing method, the method comprising: in the case of receiving the interactive space matching information sent by the server, displaying the interactive space in the interactive space matching information on a preset page Space recommendation information, the interactive space recommendation information is information recommending a first interactive chat space, the first interactive chat space has vacant interactive spaces and the interactive application mode has not been opened; in response to the acceptance triggered based on the interactive space recommendation information An instruction to send interaction instruction information to the server, where the interaction instruction information is used to instruct the server to allocate the target interaction bit corresponding to the first interactive chat space to the target terminal.
在一些可能的设计中,所述方法还包括:在所述预设页面展示互动提示信息,所述互动提示信息用于提示目标对象切换互动聊天空间进行互动聊天;响应于基于所述互动提示信息触发的接受指令,向所述服务器发送互动空间匹配请求;其中,所述互动空间匹配请求用于指示所述服务器返回所述互动空间匹配信息,所述互动空间匹配信息是所述服务器根据所述第一互动聊天空间对应的互动空间属性信息生成的匹配结果,所述第一互动聊天空间是所述服务器从互动空间匹配池中确定的与请求帐号标识对应的互动聊天空间,所述互动空间匹配请求包括所述请求帐号标识,所述互动空间匹配池包括互动空间集合中具有空余互动位且未开启互动申请模式的互动聊天空间。In some possible designs, the method further includes: displaying interactive prompt information on the preset page, the interactive prompt information is used to prompt the target object to switch the interactive chat space for interactive chat; The triggered acceptance instruction sends an interactive space matching request to the server; wherein, the interactive space matching request is used to instruct the server to return the interactive space matching information, and the interactive space matching information is obtained by the server according to the The matching result generated by the attribute information of the interactive space corresponding to the first interactive chat space, the first interactive chat space is the interactive chat space determined by the server from the interactive space matching pool and corresponding to the request account ID, and the interactive space matches The request includes the requesting account ID, and the interactive space matching pool includes interactive chat spaces in the interactive space set that have vacant interactive slots and have not opened the interactive application mode.
在一些可能的设计中,所述预设页面包括第二互动聊天空间对应的直播页面,所述在所述预设页面展示互动提示信息,包括:在所述第二互动聊天空间没有空余互动位的情况下,在所述第二互动聊天空间对应的直播页面展示所述互动提示信息。In some possible designs, the preset page includes a live broadcast page corresponding to the second interactive chat space, and the display of interactive prompt information on the preset page includes: there is no vacant interactive slot in the second interactive chat space In the case of , the interactive prompt information is displayed on the live broadcast page corresponding to the second interactive chat space.
在一些可能的设计中,所述预设页面包括第二互动聊天空间对应的直播页面,所述方法还包括:响应于基于所述第二互动聊天空间触发的互动位申请指令,向所述服务器发送互动请求;在预设时间内未接收到所述互动请求对应的同意信息的情况下,在所述第二互动聊天空间对应的直播页面展示所述互动提示信息。In some possible designs, the preset page includes a live broadcast page corresponding to the second interactive chat space, and the method further includes: responding to an interactive position application instruction triggered based on the second interactive chat space, sending the Sending an interaction request; if the consent information corresponding to the interaction request is not received within a preset time, displaying the interaction prompt information on the live page corresponding to the second interactive chat space.
在一些可能的设计中,所述预设页面还包括所述第一互动聊天空间对应的直播页面,所述在接收到服务器发送的互动空间匹配信息的情况下,在预设页面展示所述互动空间匹配信息中的互动空间推荐信息,包括:在接收到所述服务器发送的所述互动空间匹配信息的情况下,在所述第一互动聊天空间对应的直播页面展示所述互动空间推荐信息。In some possible designs, the preset page also includes a live broadcast page corresponding to the first interactive chat space, and when the interactive space matching information sent by the server is received, the interactive chat room is displayed on the preset page. The interactive space recommendation information in the space matching information includes: displaying the interactive space recommendation information on a live page corresponding to the first interactive chat space when the interactive space matching information sent by the server is received.
在一些可能的设计中,所述互动空间匹配信息还包括操作链信息,所述操作链信息用于指定所述目标终端发送所述互动指示信息所需执行的目标操作,所述响应于基于所述互动空间推荐信息触发的接受指令,向所述服务器发送互动指示信息,包括:响应于基于所述互动空间推荐信息触发的接受指令,执行所述目标操作;在检查到所述目标操作的情况下,向所述服务器发送所述互动指示信息。In some possible designs, the interaction space matching information further includes operation chain information, the operation chain information is used to specify the target operation to be performed by the target terminal to send the interaction instruction information, and the response is based on the The acceptance instruction triggered by the interactive space recommendation information, and sending the interaction instruction information to the server, including: responding to the acceptance instruction triggered based on the interactive space recommendation information, executing the target operation; when the target operation is detected Next, send the interaction indication information to the server.
根据本公开实施例的第二方面,提供一种互动处理方法,所述方法包括:向目标终端发送互动空间匹配信息,所述互动空间匹配信息包括互动空间推荐信息,所述互动空间推荐信息为推荐第一互动聊天空间的信息,所述互动空间推荐信息用于在所述目标终端显示的预设页面进行展示,所述第一互动聊天空间具有空余互动位且未开启互动申请模式;接收所述目标终端发送的互动指示信息,所述互动指示信息是所述目标终端响应于基于所述互动空间推荐信息触发的接受指令发送的指示信息;根据所述互动指示信息,将所述第一互动聊天空间对应的目标互动位分配给所述目标终端。According to the second aspect of the embodiments of the present disclosure, an interaction processing method is provided, the method includes: sending interactive space matching information to a target terminal, the interactive space matching information includes interactive space recommendation information, and the interactive space recommendation information is Recommending the information of the first interactive chat space, the interactive space recommended information is used to display on the preset page displayed on the target terminal, the first interactive chat space has vacant interactive positions and the interactive application mode is not turned on; receiving the The interaction indication information sent by the target terminal, the interaction indication information is the indication information sent by the target terminal in response to the acceptance instruction triggered based on the interaction space recommendation information; according to the interaction indication information, the first interaction The target interaction bit corresponding to the chat space is allocated to the target terminal.
在一些可能的设计中,所述互动空间匹配信息还包括第一互动聊天空间对应的操作链信息,所述操作链信息用于指定所述目标终端发送所述互动指示信息所需执行的目标操作,所述方法还包括:获取所述第一互动聊天空间对应的互动空间属性信息;根据所述互动空间属性信息,确定所述互动空间推荐信息和所述操作链信息;基于所述互动空间推荐信息和所述操作链信息,生成所述互动空间匹配信息。In some possible designs, the interactive space matching information further includes operation chain information corresponding to the first interactive chat space, and the operation chain information is used to specify the target operation that the target terminal needs to perform when sending the interaction indication information , the method further includes: acquiring interactive space attribute information corresponding to the first interactive chat space; determining the interactive space recommendation information and the operation chain information according to the interactive space attribute information; recommending based on the interactive space information and the operation chain information to generate the interaction space matching information.
在一些可能的设计中,所述方法还包括:获取互动空间集合;将所述互动空间集合中具有空余互动位且未开启互动申请模式的互动聊天空间存入互动空间匹配池;接收所述目标终端发送的互动空间匹配请求,所述互动空间匹配请求包括请求帐号标识;基于所述请求帐号标识,对所述互动空间匹配池进行互动空间匹配处理,得到所述第一互动聊天空间,所述第一互动聊天空间与所述请求帐号标识相对应。In some possible designs, the method further includes: acquiring a set of interactive spaces; storing interactive chat spaces in the set of interactive spaces that have vacant interactive slots and have not opened the interactive application mode in the interactive space matching pool; receiving the target The interactive space matching request sent by the terminal, the interactive space matching request includes the request account identifier; based on the request account identifier, the interactive space matching process is performed on the interactive space matching pool to obtain the first interactive chat space, the The first interactive chat space corresponds to the request account identifier.
在一些可能的设计中,所述互动空间匹配池包括至少一个匹配池分区,所述将所述互动空间集合中具有空余互动位且未开启互动申请模式的互动聊天空间存入互动空间匹配池,包括:将所述互动空间集合中具有空余互动位且未开启互动申请模式的互动聊天空间确定为待匹配互动聊天空间;获取所述待匹配互动聊天空间对应的互动空间标识;确定所述至少一个匹配池分区中与所述互动空间标识对应的匹配池分区;将所述互动空间标识存入所述互动空间标识对应的匹配池分区。In some possible designs, the interactive space matching pool includes at least one matching pool partition, and the interactive chatting spaces in the interactive space set that have vacant interactive slots and have not opened the interactive application mode are stored in the interactive space matching pool, Including: determining an interactive chat space that has a vacant interactive space in the set of interactive spaces and has not opened the interactive application mode as an interactive chat space to be matched; obtaining an interactive space identifier corresponding to the interactive chat space to be matched; determining the at least one Matching pool partitions corresponding to the interactive space identifier in the matching pool partitions; storing the interactive space identifiers in the matching pool partitions corresponding to the interactive space identifiers.
在一些可能的设计中,所述互动空间匹配池包括至少一个匹配池分区,所述基于所述请求帐号标识,对所述互动空间匹配池进行互动空间匹配处理,得到所述第一互动聊天空间,包括:确定所述至少一个匹配池分区中与所述请求帐号标识对应的目标匹配池分区;确定所述请求帐号标识与所述目标匹配池分区中待匹配互动聊天空间之间的对应关系信息;根据所述对应关系信息,从所述待匹配互动聊天空间中,确定所述请求帐号标识对应的候选互动空间集合;对所述候选互动空间集合进行筛选,得到所述第一互动聊天空间。In some possible designs, the interactive space matching pool includes at least one matching pool partition, and the interactive space matching process is performed on the interactive space matching pool based on the request account identifier to obtain the first interactive chat space , including: determining a target matching pool partition corresponding to the request account ID in the at least one matching pool partition; determining correspondence information between the request account ID and the interactive chat space to be matched in the target matching pool partition ; According to the corresponding relationship information, from the interactive chat spaces to be matched, determine a set of candidate interactive spaces corresponding to the request account ID; filter the set of candidate interactive spaces to obtain the first interactive chat space.
在一些可能的设计中,所述对应关系信息包括所述请求帐号标识与所述至少一个待匹配互动聊天空间之间的浏览关系信息、兴趣关联度信息、位置关系信息、关注关系信息、属性匹配度信息中至少一种。In some possible designs, the corresponding relationship information includes browsing relationship information, interest correlation degree information, position relationship information, follow relationship information, and attribute matching between the requesting account ID and the at least one interactive chat space to be matched. At least one of the degree information.
在一些可能的设计中,所述对所述候选互动空间集合进行筛选,得到所述第一互动聊天空间,包括:获取所述候选互动空间集合中的候选互动聊天空间对应的直播状态信息和互动位信息,所述直播状态信息表征所述候选互动聊天空间的当前直播状态,所述互动位信息表征所述候选互动聊天空间对应的互动位分配情况;基于所述直播状态信息和所述互动位信息对所述候选互动空间集合进行筛选,得到所述第一互动聊天空间。In some possible designs, the screening the set of candidate interactive spaces to obtain the first interactive chat space includes: acquiring the live broadcast status information and interactive chat spaces corresponding to the candidate interactive chat spaces in the set of candidate interactive spaces. bit information, the live broadcast state information represents the current live state of the candidate interactive chat space, and the interactive bit information represents the allocation of interactive bits corresponding to the candidate interactive chat space; based on the live state information and the interactive bit The information screens the set of candidate interactive spaces to obtain the first interactive chat space.
根据本公开实施例的第三方面,提供一种互动处理装置,所述装置包括:推荐信息展示模块,被配置为执行在接收到服务器发送的互动空间匹配信息的情况下,在预设页面展示所述互动空间匹配信息中的互动空间推荐信息,所述互动空间推荐信息为推荐第一互动聊天空间的信息,所述第一互动聊天空间具有空余互动位且未开启互动申请模式;指示信息发送模块,被配置为执行响应于基于所述互动空间推荐信息触发的接受指令,向所述服务器发送互动指示信息,所述互动指示信息用于指示所述服务器将所述第一互动聊天空间对应的目标互动位分配给目标终端。According to a third aspect of the embodiments of the present disclosure, there is provided an interaction processing device, the device comprising: a recommended information display module configured to display on a preset page when receiving the interactive space matching information sent by the server The interactive space recommendation information in the interactive space matching information, the interactive space recommendation information is the information recommending the first interactive chat space, the first interactive chat space has vacant interactive spaces and the interactive application mode has not been opened; the instruction information is sent A module configured to send interaction instruction information to the server in response to an acceptance instruction triggered based on the interaction space recommendation information, where the interaction instruction information is used to instruct the server to associate the first interactive chat space with the The target interaction bit is assigned to the target terminal.
在一些可能的设计中,所述装置还包括:提示信息展示模块,被配置为执行在所述预设页面展示互动提示信息,所述互动提示信息用于提示目标对象切换互动聊天空间进行互动聊天;匹配请求发送模块,被配置为执行响应于基于所述互动提示信息触发的接受指令,向所述服务器发送互动空间匹配请求;其中,所述互动空间匹配请求用于指示所述服务器返回所述互动空间匹配信息,所述互动空间匹配信息是所述服务器根据所述第一互动聊天空间对应的互动空间属性信息生成的匹配结果,所述第一互动聊天空间是所述服务器从互动空间匹配池中确定的与请求帐号标识对应的互动聊天空间,所述互动空间匹配请求包括所述请求帐号标识,所述互动空间匹配池包括互动空间集合中具有空余互动位且未开启互动申请模式的互动聊天空间。In some possible designs, the device further includes: a prompt information display module configured to display interactive prompt information on the preset page, and the interactive prompt information is used to prompt the target object to switch the interactive chat space for interactive chat a matching request sending module, configured to send an interactive space matching request to the server in response to an acceptance instruction triggered based on the interactive prompt information; wherein, the interactive space matching request is used to instruct the server to return the Interactive space matching information, the interactive space matching information is the matching result generated by the server according to the interactive space attribute information corresponding to the first interactive chat space, the first interactive chat space is the server from the interactive space matching pool The interactive chat space corresponding to the requesting account ID determined in , the interactive space matching request includes the requesting account ID, and the interactive space matching pool includes interactive chat rooms that have vacant interactive slots in the interactive space set and have not opened the interactive application mode space.
在一些可能的设计中,所述预设页面包括第二互动聊天空间对应的直播页面,所述提示信息展示模块,具体被配置为执行在所述第二互动聊天空间没有空余互动位的情况下,在所述第二互动聊天空间对应的直播页面展示所述互动提示信息。In some possible designs, the preset page includes a live broadcast page corresponding to the second interactive chat space, and the prompt information display module is specifically configured to execute when there is no free interaction slot in the second interactive chat space , displaying the interactive prompt information on the live broadcast page corresponding to the second interactive chat space.
在一些可能的设计中,所述预设页面包括第二互动聊天空间对应的直播页面,所述提示信息展示模块,包括:互动请求发送子模块,被配置为执行响应于基于所述第二互动聊天空间触发的互动位申请指令,向所述服务器发送互动请求;提示信息展示子模块,被配置为执行在预设时间内未接收到所述互动请求对应的同意信息的情况下,在所述第二互动聊天空间对应的直播页面展示所述互动提示信息。In some possible designs, the preset page includes a live page corresponding to the second interactive chat space, and the prompt information display module includes: an interaction request sending submodule configured to execute a response based on the second interaction The interactive bit application command triggered by the chat space sends an interactive request to the server; the prompt information display sub-module is configured to perform the execution in the case that the consent information corresponding to the interactive request is not received within a preset time, in the The live broadcast page corresponding to the second interactive chat space displays the interactive prompt information.
在一些可能的设计中,所述预设页面还包括所述第一互动聊天空间对应的直播页面,所述推荐信息展示模块,具体被配置为执行在接收到所述服务器发送的所述互动空间匹配信息的情况下,在所述第一互动聊天空间对应的直播页面展示所述互动空间推荐信息。In some possible designs, the preset page also includes a live broadcast page corresponding to the first interactive chat space, and the recommendation information display module is specifically configured to execute In the case of matching information, the interactive space recommendation information is displayed on the live broadcast page corresponding to the first interactive chat space.
在一些可能的设计中,所述互动空间匹配信息还包括操作链信息,所述操作链信息用于指定所述目标终端发送所述互动指示信息所需执行的目标操作,所述指示信息发送模块,包括:操作执行子模块,被配置为执行响应于基于所述互动空间推荐信息触发的接受指令,执行所述目标操作;提示信息发送子模块,被配置为执行在检查到所述目标操作的情况下,向所述服务器发送所述互动指示信息。In some possible designs, the interaction space matching information further includes operation chain information, the operation chain information is used to specify the target operation that the target terminal needs to perform when sending the interaction instruction information, and the instruction information sending module , including: an operation execution submodule configured to execute the target operation in response to an acceptance instruction triggered based on the interactive space recommendation information; a prompt information sending submodule configured to execute the target operation upon checking In this case, the interaction indication information is sent to the server.
根据本公开实施例的第四方面,提供一种互动处理装置,所述装置包括:匹配信息发送模块,被配置为执行向目标终端发送互动空间匹配信息,所述互动空间匹配信息包括互动空间推荐信息,所述互动空间推荐信息为推荐第一互动聊天空间的信息,所述互动空间推荐信息用于在所述目标终端显示的预设页面进行展示,所述第一互动聊天空间具有空余互动位且未开启互动申请模式;指示信息接收模块,被配置为执行接收所述目标终端发送的互动指示信息,所述互动指示信息是所述目标终端响应于基于所述互动空间推荐信息触发的接受指令发送的指示信息;互动位分配模块,被配置为执行根据所述互动指示信息,将所述第一互动聊天空间对应的目标互动位分配给所述目标终端。According to a fourth aspect of an embodiment of the present disclosure, there is provided an interaction processing device, the device comprising: a matching information sending module configured to send interactive space matching information to a target terminal, the interactive space matching information including interactive space recommendation information, the interactive space recommendation information is the information recommending the first interactive chat space, the interactive space recommendation information is used to display on the preset page displayed on the target terminal, and the first interactive chat space has vacant interactive slots And the interaction application mode is not turned on; the indication information receiving module is configured to receive the interaction indication information sent by the target terminal, the interaction indication information is the target terminal responding to the acceptance instruction triggered based on the interaction space recommendation information Indication information sent; an interaction bit allocation module configured to allocate the target interaction bit corresponding to the first interactive chat space to the target terminal according to the interaction indication information.
在一些可能的设计中,所述互动空间匹配信息还包括第一互动聊天空间对应的操作链信息,所述操作链信息用于指定所述目标终端发送所述互动指示信息所需执行的目标操作,所述装置还包括:属性信息获取模块,被配置为执行获取所述第一互动聊天空间对应的互动空间属性信息;信息确定模块,被配置为执行根据所述互动空间属性信息,确定所述互动空间推荐信息和所述操作链信息;匹配信息生成模块,被配置为执行基于所述互动空间推荐信息和所述操作链信息,生成所述互动空间匹配信息。In some possible designs, the interactive space matching information further includes operation chain information corresponding to the first interactive chat space, and the operation chain information is used to specify the target operation that the target terminal needs to perform when sending the interaction indication information , the device further includes: an attribute information acquisition module configured to acquire interactive space attribute information corresponding to the first interactive chat space; an information determination module configured to determine the interactive space attribute information according to the interactive space attribute information Interactive space recommendation information and the operation chain information; a matching information generation module configured to generate the interaction space matching information based on the interaction space recommendation information and the operation chain information.
在一些可能的设计中,所述装置还包括:空间集合获取模块,被配置为执行获取互动空间集合;空间匹配池存储模块,被配置为执行将所述互动空间集合中具有空余互动位且未开启互动申请模式的互动聊天空间存入互动空间匹配池;匹配请求接收模块,别配置为执行接收所述目标终端发送的互动空间匹配请求,所述互动空间匹配请求包括请求帐号标识;互动空间匹配模块,被配置为执行基于所述请求帐号标识,对所述互动空间匹配池进行互动空间匹配处理,得到所述第一互动聊天空间,所述第一互动聊天空间与所述请求帐号标识相对应。In some possible designs, the device further includes: a space collection acquisition module, configured to acquire an interaction space collection; a space matching pool storage module, configured to perform a collection of interactive spaces that have vacant interaction spaces in the interaction space collection. The interactive chat space with the interactive application mode turned on is stored in the interactive space matching pool; the matching request receiving module is configured to receive the interactive space matching request sent by the target terminal, and the interactive space matching request includes the request account ID; the interactive space matching A module configured to perform interactive space matching processing on the interactive space matching pool based on the requesting account ID to obtain the first interactive chatting space, the first interactive chatting space corresponding to the requesting account ID .
在一些可能的设计中,所述互动空间匹配池包括至少一个匹配池分区,所述空间匹配池存储模块,包括:空间确定子模块,被配置为执行将所述互动空间集合中具有空余互动位且未开启互动申请模式的互动聊天空间确定为待匹配互动聊天空间;标识获取子模块,被配置为执行获取所述待匹配互动聊天空间对应的互动空间标识;匹配池分区确定子模块,被配置为执行确定所述至少一个匹配池分区中与所述互动空间标识对应的匹配池分区;匹配池分区存储子模块,被配置为执行将所述互动空间标识存入所述互动空间标识对应的匹配池分区。In some possible designs, the interaction space matching pool includes at least one matching pool partition, and the space matching pool storage module includes: a space determination submodule, configured to execute the interaction space set with vacant interaction positions And the interactive chat space that does not open the interactive application mode is determined as the interactive chat space to be matched; the identification acquisition submodule is configured to execute the acquisition of the interactive space identification corresponding to the interactive chat space to be matched; the matching pool partition determination submodule is configured In order to determine the matching pool partition corresponding to the interactive space identifier in the at least one matching pool partition; the matching pool partition storage submodule is configured to store the interactive space identifier in the matching pool corresponding to the interactive space identifier. Pool partitions.
在一些可能的设计中,所述互动空间匹配池包括至少一个匹配池分区,所述互动空间匹配模块,包括:目标分区确定子模块,被配置为执行确定所述至少一个匹配池分区中与所述请求帐号标识对应的目标匹配池分区;对应关系确定子模块,被配置为执行确定所述请求帐号标识与所述目标匹配池分区中待匹配互动聊天空间之间的对应关系信息;候选空间匹配子模块,被配置为执行根据所述对应关系信息,从所述待匹配互动聊天空间中,确定所述请求帐号标识对应的候选互动空间集合;候选空间筛选子模块,被配置为执行对所述候选互动空间集合进行筛选,得到所述第一互动聊天空间。In some possible designs, the interaction space matching pool includes at least one matching pool partition, and the interaction space matching module includes: a target partition determination submodule, configured to determine whether the at least one matching pool partition is compatible with the target partition The target matching pool partition corresponding to the request account ID; the corresponding relationship determination submodule is configured to determine the corresponding relationship information between the request account ID and the interactive chat space to be matched in the target matching pool partition; candidate space matching The submodule is configured to determine a set of candidate interactive spaces corresponding to the request account identifier from the interactive chat spaces to be matched according to the correspondence information; the candidate space screening submodule is configured to perform the matching of the The set of candidate interactive spaces is screened to obtain the first interactive chat space.
在一些可能的设计中,所述对应关系信息包括所述请求帐号标识与所述至少一个待匹配互动聊天空间之间的浏览关系信息、兴趣关联度信息、位置关系信息、关注关系信息、属性匹配度信息中至少一种。In some possible designs, the corresponding relationship information includes browsing relationship information, interest correlation degree information, position relationship information, follow relationship information, and attribute matching between the requesting account ID and the at least one interactive chat space to be matched. At least one of the degree information.
在一些可能的设计中,所述候选空间筛选子模块,包括:互动信息获取单元,被配置为执行获取所述候选互动空间集合中的候选互动聊天空间对应的直播状态信息和互动位信息,所述直播状态信息表征所述候选互动聊天空间的当前直播状态,所述互动位信息表征所述候选互动聊天空间对应的互动位分配情况;互动空间筛选单元,被配置为执行基于所述直播状态信息和所述互动位信息对所述候选互动空间集合进行筛选,得到所述第一互动聊天空间。In some possible designs, the candidate space screening submodule includes: an interactive information acquisition unit configured to acquire the live broadcast status information and interactive bit information corresponding to the candidate interactive chat spaces in the set of candidate interactive spaces, so The live broadcast status information represents the current live broadcast status of the candidate interactive chat space, and the interactive bit information represents the allocation of interactive bits corresponding to the candidate interactive chat space; and filtering the set of candidate interaction spaces with the interaction bit information to obtain the first interaction chat space.
根据本公开实施例的第五方面,提供一种电子设备,包括:处理器;用于存储所述处理器可执行指令的存储器;其中,所述处理器被配置为执行所述指令,以实现如上述第一方面中任一项所述的方法。According to a fifth aspect of the embodiments of the present disclosure, there is provided an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement A method as described in any one of the above first aspects.
根据本公开实施例的第六方面,提供一种电子设备,包括:处理器;用于存储所述处理器可执行指令的存储器;其中,所述处理器被配置为执行所述指令,以实现如上述第二方面中任一项所述的方法。According to a sixth aspect of the embodiments of the present disclosure, there is provided an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement A method as described in any one of the above second aspects.
根据本公开实施例的第七方面,提供一种计算机可读存储介质,当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备能够执行本公开实施例的第一方面中任一所述方法。According to the seventh aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium. When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the first method of the embodiments of the present disclosure. Aspects of any of the described methods.
根据本公开实施例的第八方面,提供一种计算机可读存储介质,当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备能够执行本公开实施例的第二方面中任一所述方法。According to an eighth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium. When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the second aspect of the embodiments of the present disclosure. Aspects of any of the described methods.
根据本公开实施例的第九方面,提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行本公开实施例的第一方面中任一所述方法。According to a ninth aspect of the embodiments of the present disclosure, there is provided a computer program product including instructions, which when run on a computer, causes the computer to execute any one of the methods described in the first aspect of the embodiments of the present disclosure.
根据本公开实施例的第十方面,提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行本公开实施例的第二方面中任一所述方法。According to a tenth aspect of the embodiments of the present disclosure, there is provided a computer program product including instructions, which when run on a computer, causes the computer to execute any one of the methods in the second aspect of the embodiments of the present disclosure.
本公开的实施例提供的技术方案至少带来以下有益效果:The technical solutions provided by the embodiments of the present disclosure bring at least the following beneficial effects:
目标终端通过在预设页面展示具有空余互动位且未开启互动申请模式的互动聊天空间的推荐信息,可以有效提示用户切换到能够互动聊天的推荐互动聊天空间,终端响应于上述推荐信息的接受指令后,即可向服务器发送互动指示信息,从而指示服务器将推荐的互动聊天空间中的目标互动位分配给目标终端,从而能够实现快速地互动聊天空间切换并自动互动聊天,有效提升了互动聊天的连接成功率,并降低了互动聊天的操作复杂度。The target terminal can effectively prompt the user to switch to the recommended interactive chat space capable of interactive chat by displaying the recommendation information of the interactive chat space with vacant interactive slots and the interactive application mode not enabled on the preset page, and the terminal responds to the acceptance instruction of the above recommended information After that, the interactive instruction information can be sent to the server, thereby instructing the server to assign the target interactive bit in the recommended interactive chat space to the target terminal, so as to realize fast interactive chat space switching and automatic interactive chat, effectively improving the interactive chat. The connection success rate is improved, and the operation complexity of interactive chat is reduced.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。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 present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理,并不构成对本公开的不当限定。The accompanying drawings here are incorporated into the specification and constitute a part of the specification, show embodiments consistent with the disclosure, and are used together with the description to explain the principle of the disclosure, and do not constitute an improper limitation of the disclosure.
图1是根据一示例性实施例示出的一种应用环境的示意图;Fig. 1 is a schematic diagram showing an application environment according to an exemplary embodiment;
图2是根据一示例性实施例示出的一种互动处理方法的流程图一;Fig. 2 is a flowchart 1 of an interactive processing method according to an exemplary embodiment;
图3是根据一示例性实施例示出的一种互动处理方法的流程图二;Fig. 3 is a second flowchart of an interactive processing method according to an exemplary embodiment;
图4示例性示出了向互动空间匹配池中存入互动聊天空间的流程示意图;Fig. 4 exemplarily shows a schematic flow diagram of storing an interactive chat space into an interactive space matching pool;
图5是根据一示例性实施例示出的一种互动处理方法的流程图三;Fig. 5 is a third flowchart of an interactive processing method according to an exemplary embodiment;
图6示例性示出了一种确定推荐聊天室的流程示意图;Fig. 6 exemplarily shows a schematic flow chart of determining a recommended chat room;
图7示例性示出了一种基于互动处理的页面交互流程图一;Fig. 7 exemplarily shows a flow chart 1 of page interaction based on interactive processing;
图8示例性示出了另一种基于互动处理的页面交互流程图二;FIG. 8 exemplarily shows another interactive process-based page interaction flow chart II;
图9是根据一示例性实施例示出的一种互动处理装置框图一;Fig. 9 is a first block diagram of an interactive processing device according to an exemplary embodiment;
图10是根据一示例性实施例示出的一种互动处理装置框图二;Fig. 10 is a second block diagram of an interactive processing device according to an exemplary embodiment;
图11是根据一示例性实施例示出的一种用于互动处理的电子设备的框图。Fig. 11 is a block diagram of an electronic device for interactive processing according to an exemplary embodiment.
具体实施方式Detailed ways
为了使本领域普通人员更好地理解本公开的技术方案,下面将结合附图,对本公开实施例中的技术方案进行清楚、完整地描述。In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
需要说明的是,本公开所涉及的用户信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于展示的数据、分析的数据等),均为经用户授权或者经过各方充分授权的信息和数据。It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are authorized by the user. Or information and data fully authorized by the parties.
请参阅图1,图1是根据一示例性实施例示出的一种应用环境的示意图,如图1所示,该应用环境可以包括终端100和服务器200。Please refer to FIG. 1 . FIG. 1 is a schematic diagram showing an application environment according to an exemplary embodiment. As shown in FIG. 1 , the application environment may include a terminal 100 and a
终端100可以用于面向任一用户提供直播服务。具体的,终端100可以包括但不限于智能手机、台式计算机、平板电脑、笔记本电脑、智能音箱、数字助理、增强现实(augmentedreality,AR)/虚拟现实(virtual reality,VR)设备、智能可穿戴设备等类型的电子设备,也可以为运行于上述电子设备的软体,例如应用程序等。可选的,电子设备上运行的操作系统可以包括但不限于安卓系统、IOS系统、linux、windows等。The terminal 100 can be used to provide live broadcast services for any user. Specifically, the terminal 100 may include, but is not limited to, smart phones, desktop computers, tablet computers, notebook computers, smart speakers, digital assistants, augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) devices, smart wearable devices and other types of electronic devices, and may also be software running on the above-mentioned electronic devices, such as application programs. Optionally, the operating system running on the electronic device may include but not limited to Android system, IOS system, linux, windows and so on.
在一个可选的实施例中,服务器200可以为终端100提供后台服务,例如向终端100发送推荐信息、直播数据等。具体的,服务器200可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN(ContentDeliveryNetwork,内容分发网络)、以及大数据和人工智能平台等基础云计算服务的云服务器。In an optional embodiment, the
此外,需要说明的是,图1所示的仅仅是本公开提供的一种应用环境,在实际应用中,还可以包括其他应用环境,例如可以包括更多的终端。In addition, it should be noted that what is shown in FIG. 1 is only an application environment provided by the present disclosure, and other application environments may also be included in actual applications, for example, more terminals may be included.
本说明书实施例中,上述终端100以及服务器200可以通过有线或无线通信方式进行直接或间接地连接,本公开在此不做限制。In the embodiment of the present specification, the terminal 100 and the
图2是根据一示例性实施例示出的一种互动处理方法的流程图一,如图2所示,该互动处理方法包括以下步骤(201~204)。Fig. 2 is a flowchart 1 of an interactive processing method according to an exemplary embodiment. As shown in Fig. 2 , the interactive processing method includes the following steps (201-204).
步骤201,服务器向目标终端发送互动空间匹配信息。Step 201, the server sends interactive space matching information to the target terminal.
可选地,互动空间匹配信息包括互动空间推荐信息。可选地,互动空间推荐信息为推荐第一互动聊天空间的信息。可选地,互动空间推荐信息用于在目标终端显示的预设页面进行展示。可选地,第一互动聊天空间具有空余互动位且未开启互动申请模式。可选地,上述第一互动聊天空间是向请求帐号标识对应的目标终端推送的互动聊天空间。Optionally, the interactive space matching information includes interactive space recommendation information. Optionally, the interactive space recommendation information is information recommending the first interactive chat space. Optionally, the interactive space recommendation information is displayed on a preset page displayed on the target terminal. Optionally, the first interactive chat space has vacant interactive slots and the interactive application mode is not turned on. Optionally, the above-mentioned first interactive chatting space is an interactive chatting space pushed to the target terminal corresponding to the requesting account ID.
可选地,上述互动聊天空间是指支持至少两个对象进行互动通话聊天的虚拟空间,包括但不限于语音聊天室、视频聊天室、直播间等,本申请实施例对互动聊天空间不作限定。Optionally, the above-mentioned interactive chat space refers to a virtual space that supports at least two objects to conduct interactive conversation and chat, including but not limited to voice chat room, video chat room, live broadcast room, etc. The embodiment of the present application does not limit the interactive chat space.
可选地,上述空余互动位是指未被占用的空余的互动聊天位置,比如聊天室中的麦位、视频位等。Optionally, the above-mentioned vacant interaction space refers to an unoccupied vacant interactive chatting position, such as a microphone position, a video position, etc. in a chat room.
可选地,上述互动申请模式是指互动申请审核制的互动模式,观众需要向互动聊天空间的管理方发送互动请求,只有在互动请求被同意的情况下观众才可以参与到互动聊天空间的通话聊天中。Optionally, the above-mentioned interactive application mode refers to the interactive mode of the interactive application review system. The viewer needs to send an interactive request to the manager of the interactive chat space. Only when the interactive request is approved, the viewer can participate in the call in the interactive chat space Chatting.
可选地,上述互动空间匹配信息服务器接收到目标终端发送的互动空间匹配请求的情况下生成的。互动空间匹配请求用于指示服务器返回互动空间匹配信息,互动空间匹配信息是服务器根据第一互动聊天空间对应的互动空间属性信息生成的匹配结果,第一互动聊天空间是服务器从互动空间匹配池中确定的与请求帐号标识对应的互动聊天空间,互动空间匹配请求包括请求帐号标识,互动空间匹配池包括互动空间集合中具有空余互动位且未开启互动申请模式的互动聊天空间。Optionally, the above-mentioned interactive space matching information server generates when receiving the interactive space matching request sent by the target terminal. The interactive space matching request is used to instruct the server to return the interactive space matching information. The interactive space matching information is the matching result generated by the server according to the interactive space attribute information corresponding to the first interactive chat space. The first interactive chat space is obtained by the server from the interactive space matching pool. The determined interactive chat space corresponding to the requesting account ID, the interactive space matching request includes the requesting account ID, and the interactive space matching pool includes interactive chat spaces in the interactive space set that have vacant interactive slots and have not opened the interactive application mode.
可选地,上述互动空间推荐信息包括第一互动聊天空间对应的互动空间属性信息。可选地,互动空间属性信息包括第一互动聊天空间对应的至少一个帐号对应的帐号信息、地区信息等信息。Optionally, the interactive space recommendation information includes interactive space attribute information corresponding to the first interactive chat space. Optionally, the attribute information of the interactive space includes information such as account information and region information corresponding to at least one account corresponding to the first interactive chat space.
下面对服务器生成上述互动空间匹配信息的过程进行介绍,但需要说明的是,本申请实施例对上述互动空间匹配信息的生成过程不作限定。The process of generating the matching information of the interactive space by the server is introduced below, but it should be noted that the embodiment of the present application does not limit the process of generating the matching information of the interactive space.
在示例性实施例中,如图3所示,上述方法还可以包括如下步骤(250~260),图3是根据一示例性实施例示出的一种互动处理方法的流程图二。In an exemplary embodiment, as shown in FIG. 3 , the above method may further include the following steps (250-260). FIG. 3 is a flowchart 2 of an interactive processing method according to an exemplary embodiment.
步骤205,服务器获取互动空间集合。In step 205, the server acquires a collection of interactive spaces.
可选地,上述互动空间集合包括处于活跃状态的至少一个互动聊天空间。上述活跃状态是指互动聊天空间能够进行交互聊天的状态,比如主播打开聊天室直播即可认定该聊天室处于活跃状态。Optionally, the foregoing set of interactive spaces includes at least one interactive chat space in an active state. The above-mentioned active state refers to the state in which the interactive chat space can conduct interactive chat. For example, if the host opens the live broadcast of the chat room, it can be determined that the chat room is in the active state.
可选地,服务器可以从数据库中获取每一互动聊天空间对应的直播状态信息,对于任一互动聊天空间,在该互动聊天空间对应的直播状态信息指示该互动聊天空间处于活跃状态的情况下,将其对应的互动空间标识存入上述互动空间集合。上述直播状态信息表征互动聊天空间的直播状态,可以包括表征活跃状态的第一直播状态标识,或表征下线状态的第二直播标识。Optionally, the server may acquire live broadcast status information corresponding to each interactive chat space from the database. For any interactive chat space, if the live broadcast status information corresponding to the interactive chat space indicates that the interactive chat space is active, Store the corresponding interactive space identifier in the above interactive space collection. The above live broadcast status information represents the live broadcast status of the interactive chat space, and may include a first live broadcast status identifier representing an active state, or a second live broadcast identifier representing an offline state.
可选地,上述互动空间集合是自动更新的互动聊天空间,用于存储当前处于活跃状态的至少一个互动聊天空间。Optionally, the above set of interactive spaces is an automatically updated interactive chat space, which is used to store at least one interactive chat space that is currently active.
步骤206,服务器将互动空间集合中具有空余互动位且未开启互动申请模式的互动聊天空间存入互动空间匹配池。In step 206, the server stores the interactive chat spaces in the interactive space collection that have vacant interactive slots and have not opened the interactive application mode into the interactive space matching pool.
可选地,服务器通过获取互动空间集合中的互动聊天空间对应的互动位信息来判断互动聊天空间具有空余互动位。可选地,上述互动位信息至少包括互动聊天空间对应的空余互动位数量。Optionally, the server determines that the interactive chat space has vacant interaction slots by acquiring the interactive slot information corresponding to the interactive chat space in the interactive space set. Optionally, the above interaction position information at least includes the number of vacant interaction positions corresponding to the interactive chat space.
可选地,服务器通过获取互动空间集合中的互动聊天空间对应的互动申请模式信息来判断互动聊天空间是否开启互动申请模式。可选地,上述互动申请模式信息包括表征互动聊天空间开启互动申请模式的第一模式标识,或表征互动聊天空间未开启互动申请模式的第二模式标识。Optionally, the server determines whether the interactive application mode is enabled for the interactive chat space by acquiring the interactive application mode information corresponding to the interactive chat space in the interactive space set. Optionally, the above interactive application mode information includes a first mode identifier indicating that the interactive chat space has enabled the interactive application mode, or a second mode identifier indicating that the interactive chat space has not activated the interactive application mode.
对于互动空间集合中的每一互动聊天空间,若该互动聊天空间对应的空余互动位数量大于0且对应第二模式标识,则将其存入互动空间匹配池。For each interactive chat space in the interactive space set, if the number of free interactive slots corresponding to the interactive chat space is greater than 0 and corresponds to the second mode identifier, it is stored in the interactive space matching pool.
可选地,互动空间匹配池中包括上述互动空间集合中具有空余互动位且未开启互动申请模式的互动聊天空间。Optionally, the interactive space matching pool includes interactive chat spaces that have vacant interactive slots and have not opened the interactive application mode in the above interactive space set.
在一个示例中,如图4所示,其示例性示出了向互动空间匹配池中存入互动聊天空间的流程示意图。其中,活跃聊天室获取服务(allLivingRpc)定时从数据库(MySQL)中轮询全量表,从而查询获取当前活跃的所有聊天室并保存至远程字典服务(Redis)。在活跃聊天室获取服务下一次轮询全量表之间的间隔时间内,数据库的数据更新后发送日志到日志库,远程字典服务从日志库中保存数据更新消息,活跃聊天室获取服务从Redis中读取数据更新消息,从而对上一次查询获取的所有活跃聊天室进行更新。可选地,上述更新数据可以包括聊天室的活跃状态信息。In one example, as shown in FIG. 4 , it exemplarily shows a schematic flow chart of storing an interactive chat space into an interactive space matching pool. Among them, the active chat room acquisition service (allLivingRpc) regularly polls the full scale table from the database (MySQL), so as to query and obtain all currently active chat rooms and save them to the remote dictionary service (Redis). During the interval between the next polling of the active chat room acquisition service, the database data is updated and the log is sent to the log library, the remote dictionary service saves the data update message from the log library, and the active chat room acquisition service is retrieved from Redis Read the data update message to update all active chat rooms obtained by the previous query. Optionally, the above update data may include active state information of the chat room.
可选地,上述互动空间匹配池包括至少一个匹配池分区;相应的,如图5所示,上述步骤206的实施过程可以包括以下步骤(2061~2064),图5是根据一示例性实施例示出的一种互动处理方法的流程图三。Optionally, the above-mentioned interaction space matching pool includes at least one matching pool partition; correspondingly, as shown in FIG. 5, the implementation process of the above-mentioned step 206 may include the following steps (2061-2064), and FIG. 5 shows according to an exemplary embodiment Flowchart III of an interactive processing method.
步骤2061,服务器将互动空间集合中具有空余互动位且未开启互动申请模式的互动聊天空间确定为待匹配互动聊天空间。In step 2061, the server determines an interactive chat space in the interactive space set that has vacant interactive slots and has not opened the interactive application mode as the interactive chat space to be matched.
步骤2062,服务器获取待匹配互动聊天空间对应的互动空间标识。In step 2062, the server acquires the identifier of the interactive space corresponding to the interactive chat space to be matched.
可选地,服务器获取待匹配互动聊天空间对应的聊天空间身份标识和空余互动位数量,基于上述聊天空间身份标识和空余互动位数量,生成上述互动空间标识。比如,互动空间标识的形式为聊天空间身份标识:空余互动位数量。Optionally, the server obtains the chat space ID and the number of vacant interaction slots corresponding to the interactive chat space to be matched, and generates the above-mentioned interaction space ID based on the chat space ID and the number of vacant interaction slots. For example, the form of the interaction space identification is the chat space identification: the number of vacant interaction slots.
步骤2063,服务器确定至少一个匹配池分区中与互动空间标识对应的匹配池分区。Step 2063, the server determines the matching pool partition corresponding to the interaction space identifier in at least one matching pool partition.
本申请实施例对互动空间标识分区的方式不作限定,可以将互动空间标识随机分到至少一个匹配池分区中的任一匹配池分区,也可以根据聊天空间身份标识或互动空间标识对应的模,进行分区。The embodiment of the present application does not limit the way of identifying and partitioning the interactive space. The interactive space identifier can be randomly assigned to any matching pool partition in at least one matching pool partition. Partitioned.
步骤2064,服务器将互动空间标识存入互动空间标识对应的匹配池分区。Step 2064, the server stores the interactive space identifier into the matching pool partition corresponding to the interactive space identifier.
每一上述匹配池分区对应远程字典服务(Redis)中的一个键,该分区下的互动聊天空间对应的互动空间标识是对应于相应键的值。Each of the above matching pool partitions corresponds to a key in the remote dictionary service (Redis), and the interactive space identifier corresponding to the interactive chat space under the partition is the value corresponding to the corresponding key.
可选地,将互动空间标识存入其所属匹配池分区对应的空间标识列表中,即是将互动空间标识对应的互动聊天空间存入相应的匹配池分区。Optionally, storing the interactive space identifier into the corresponding matching pool partition corresponding to the interactive space identifier is to store the interactive chat space corresponding to the interactive space identifier into the corresponding matching pool partition.
可选地,匹配池分区可以通过匹配池分区标识表征,匹配池分区可以自动更新,匹配池分区标识可以基于匹配池分区号和版本号确定,上述版本号可以是匹配池分区更新的时间戳。Optionally, the matching pool partition can be characterized by a matching pool partition identifier, and the matching pool partition can be automatically updated. The matching pool partition identifier can be determined based on the matching pool partition number and version number, and the above version number can be the timestamp when the matching pool partition is updated.
通过对互动空间匹配池分区,并将待匹配互动聊天空间存入不同的匹配池分区,可以防止Redis中出现大键,从而提升匹配速度。By partitioning the matching pool of the interactive space and storing the interactive chat space to be matched into different matching pool partitions, it is possible to prevent large keys from appearing in Redis, thereby improving the matching speed.
步骤207,目标终端在预设页面展示互动提示信息。Step 207, the target terminal displays interactive prompt information on a preset page.
可选地,互动提示信息用于提示目标对象切换互动聊天空间进行互动聊天。本申请实施例对互动提示信息的显示形式不作限定,可以是预设页面中的弹窗,也可以是预设页面中展示的通知气泡。Optionally, the interactive prompt information is used to prompt the target object to switch the interactive chat space for interactive chat. The embodiment of the present application does not limit the display form of the interactive prompt information, which may be a pop-up window on a preset page, or a notification bubble displayed on a preset page.
可选地,上述预设页面包括第二互动聊天空间对应的直播页面。可选地,上述第二互动聊天空间是目标终端当前访问的互动聊天空间。Optionally, the preset page includes a live page corresponding to the second interactive chat space. Optionally, the above-mentioned second interactive chat space is an interactive chat space currently visited by the target terminal.
在一种可能的实施方式中,目标终端在第二互动聊天空间没有空余互动位的情况下,在第二互动聊天空间对应的直播页面展示互动提示信息。In a possible implementation manner, the target terminal displays interaction prompt information on a live broadcast page corresponding to the second interactive chat space when the second interactive chat space has no free interaction slots.
可选地,目标终端在第二互动聊天空间没有空余互动位且持续预设时长的情况下,在第二互动聊天空间对应的直播页面展示互动提示信息。Optionally, the target terminal displays the interactive prompt information on the live broadcast page corresponding to the second interactive chat space when there is no free interaction slot in the second interactive chat space for a preset duration.
目标终端通过在当前访问的互动聊天空间没有空余互动位的情况下,向目标对象展示互动提示信息,有助于提升互动聊天的连接成功率,提升了用户体验。The target terminal displays interactive prompt information to the target object when there is no vacant interactive slot in the currently visited interactive chat space, which helps to improve the connection success rate of the interactive chat and enhances user experience.
在另一种可能的实施方式中,目标终端响应于基于第二互动聊天空间触发的互动位申请指令,向服务器发送互动请求;在预设时间内未接收到互动请求对应的同意信息的情况下,在第二互动聊天空间对应的直播页面展示互动提示信息。In another possible implementation manner, the target terminal sends an interaction request to the server in response to an interaction bit application instruction triggered based on the second interactive chat space; if no consent information corresponding to the interaction request is received within a preset time , and display interactive prompt information on the live broadcast page corresponding to the second interactive chat space.
在第二互动聊天空间对应的直播页面显示第二互动聊天空间有空余互动位的情况下,用户可以在空余互动位上执行操作,例如点击,终端响应于基于空余互动位触发的操作,即可向服务器发送互动请求,例如上麦申请,若目标终端预设时间内未接收到互动请求对应的同意信息,则说明当前对象进行互动聊天出现困难,从而可以显示上述互动提示信息。When the live broadcast page corresponding to the second interactive chat space shows that the second interactive chat space has vacant interaction slots, the user can perform operations on the vacant interaction slots, such as clicking, and the terminal responds to the operation triggered based on the vacant interaction slots. Send an interaction request to the server, such as a microphone application, if the target terminal does not receive the consent information corresponding to the interaction request within the preset time, it means that the current object has difficulty in interactive chatting, so the above-mentioned interactive prompt information can be displayed.
目标终端通过在互动请求长时间未被同意的情况下,向目标对象展示互动提示信息,有助于提升互动聊天的连接成功率,提升了用户体验。By displaying interactive prompt information to the target object when the interactive request has not been approved for a long time, the target terminal helps to improve the connection success rate of the interactive chat and improves the user experience.
步骤208,目标终端响应于基于互动提示信息触发的接受指令,向服务器发送互动空间匹配请求。In step 208, the target terminal sends an interactive space matching request to the server in response to the acceptance instruction triggered based on the interactive prompt information.
可选地,目标终端检测到用于接受上述互动提示信息的操作行为后可以生成上述接受指令。本申请实施例对用于接受上述互动提示信息的操作行为不作限定。Optionally, the target terminal may generate the acceptance instruction after detecting the operation behavior for accepting the interaction prompt information. The embodiment of the present application does not limit the operation behavior for accepting the above interactive prompt information.
其中,互动空间匹配请求用于指示服务器返回互动空间匹配信息,互动空间匹配信息是服务器根据第一互动聊天空间对应的互动空间属性信息生成的匹配结果,第一互动聊天空间是服务器从互动空间匹配池中确定的与请求帐号标识对应的互动聊天空间,互动空间匹配请求包括请求帐号标识,互动空间匹配池包括互动空间集合中具有空余互动位且未开启互动申请模式的互动聊天空间。Wherein, the interactive space matching request is used to instruct the server to return interactive space matching information. The interactive space matching information is the matching result generated by the server according to the interactive space attribute information corresponding to the first interactive chat space. The interactive chat space corresponding to the requesting account ID determined in the pool, the interactive space matching request includes the requesting account ID, and the interactive space matching pool includes interactive chat spaces in the interactive space set that have vacant interactive slots and have not opened the interactive application mode.
相应的,服务器接收目标终端发送的互动空间匹配请求,互动空间匹配请求包括请求帐号标识。Correspondingly, the server receives the interactive space matching request sent by the target terminal, and the interactive space matching request includes the request account identifier.
终端通过展示互动提示信息的方式提示目标对象进行切换互动聊天空间进行聊天的,并根据互动提示信息的接受指令发送请求,能够有效识别用户意图,提升互动聊天的连接成功率。The terminal prompts the target object to switch the interactive chat space for chatting by displaying the interactive prompt information, and sends a request according to the acceptance instruction of the interactive prompt information, which can effectively identify the user's intention and improve the connection success rate of the interactive chat.
步骤209,服务器基于请求帐号标识,对互动空间匹配池进行互动空间匹配处理,得到第一互动聊天空间。Step 209, based on the request account ID, the server performs interactive space matching processing on the interactive space matching pool to obtain the first interactive chat space.
可选地,第一互动聊天空间与请求帐号标识相对应。Optionally, the first interactive chat space corresponds to the requesting account identifier.
服务器预先将聊天室集合中具有空余互动位且未开启互动申请模式的互动聊天空间存入互动空间匹配池,进而在接收到匹配请求后可以根据上述请求帐号在互动空间匹配池中进行匹配处理,得到与上述请求帐号标识相对应的第一互动聊天空间,有效提升了互动聊天空间的匹配效率。The server pre-stores the interactive chat spaces in the chat room collection that have vacant interactive slots and have not turned on the interactive application mode into the interactive space matching pool, and then can perform matching processing in the interactive space matching pool according to the above request account after receiving the matching request. The first interactive chat space corresponding to the request account ID is obtained, which effectively improves the matching efficiency of the interactive chat space.
在示例性实施例中,如图5所示,上述步骤209对应的实施过程可以包括如下步骤(2091~2094)。In an exemplary embodiment, as shown in FIG. 5 , the implementation process corresponding to the above step 209 may include the following steps (2091-2094).
步骤2091,服务器确定至少一个匹配池分区中与请求帐号标识对应的目标匹配池分区。In step 2091, the server determines a target matching pool partition corresponding to the requested account identifier in at least one matching pool partition.
可选地,服务器可以从至少一个匹配池分区中随机选取一个匹配池分区作为上述目标匹配池分区。Optionally, the server may randomly select a matching pool partition from at least one matching pool partition as the target matching pool partition.
步骤2092,服务器确定请求帐号标识与目标匹配池分区中待匹配互动聊天空间之间的对应关系信息。In step 2092, the server determines the corresponding relationship information between the request account identifier and the interactive chat space to be matched in the target matching pool partition.
可选地,对应关系信息包括但不限于请求帐号标识与至少一个待匹配互动聊天空间之间的浏览关系信息、兴趣关联度信息、位置关系信息、关注关系信息、属性匹配度信息。可选地,对应关系信息包括上述几种信息中至少一种。Optionally, the corresponding relationship information includes, but is not limited to, browsing relationship information, interest correlation degree information, location relationship information, follow relationship information, and attribute matching degree information between the requesting account ID and at least one interactive chat space to be matched. Optionally, the correspondence information includes at least one of the above information.
可选地,获取请求帐号标识对应的历史聊天空间集合,其中包括请求帐号标识对应的历史浏览互动聊天空间和历史推荐互动聊天空间。Optionally, a collection of historical chat spaces corresponding to the requesting account ID is acquired, including historical browsing interactive chat spaces and historical recommendation interactive chat spaces corresponding to the requesting account ID.
可选地,将历史聊天空间集合中的历史浏览互动聊天空间与至少一个待匹配互动聊天空间进行对比即可确定上述浏览关系信息,如果待匹配互动聊天空间是历史浏览互动聊天空间,则可将其滤除。Optionally, the above browsing relationship information can be determined by comparing the historically browsed interactive chat space in the history chat space set with at least one to-be-matched interactive chat space. If the to-be-matched interactive chat space is a historically browsed interactive chat space, the It filters out.
可选地,将历史聊天空间集合中的历史推荐互动聊天空间与至少一个待匹配互动聊天空间进行对比即可确定上述兴趣关联度信息,如果待匹配互动聊天空间属于历史推荐互动聊天空间,则可将其滤除。Optionally, the above interest correlation degree information can be determined by comparing the recommended historical interactive chat space in the set of historical chat spaces with at least one interactive chat space to be matched. If the interactive chat space to be matched belongs to the recommended interactive chat space in history, you can Filter it out.
可选地,将请求帐号标识对应的地理位置信息与至少一个待匹配互动聊天空间对应的地理位置信息进行匹配即可确定上述位置关系信息。Optionally, the location relationship information can be determined by matching the geographic location information corresponding to the requesting account identifier with the geographic location information corresponding to at least one interactive chat space to be matched.
可选地,获取请求帐号标识对应的关注聊天空间集合,将至少一个待匹配互动聊天空间与关注聊天空间集合中的互动聊天空间进行对比,即可确定上述关注关系信息。Optionally, the following relationship information can be determined by obtaining a set of followed chat spaces corresponding to the requesting account ID, and comparing at least one interactive chat space to be matched with the interactive chat spaces in the set of followed chat spaces.
获取请求帐号标识对应的对象属性信息,以及至少一个待匹配互动聊天空间对应的管理帐号对应的对象属性信息,将两种对象属性信息进行对比即可确定上述匹配匹配度信息。Obtain the object attribute information corresponding to the requesting account identifier, and at least one object attribute information corresponding to the management account corresponding to the interactive chat space to be matched, and compare the two object attribute information to determine the matching degree information.
步骤2093,服务器根据对应关系信息,从待匹配互动聊天空间中,确定请求帐号标识对应的候选互动空间集合。In step 2093, the server determines a set of candidate interactive spaces corresponding to the requested account ID from the interactive chat spaces to be matched according to the correspondence information.
通过请求帐号标识与至少一个待匹配互动聊天空间之间的浏览关系信息、兴趣关联度信息、位置关系信息、关注关系信息、属性匹配度信息,可以为请求帐号标识匹配到匹配度高的互动聊天空间,提升了互动聊天空间的匹配准确性。Through the browsing relationship information, interest correlation degree information, location relationship information, follow relationship information, and attribute matching degree information between the request account ID and at least one interactive chat space to be matched, an interactive chat with a high matching degree can be matched for the request account ID space, which improves the matching accuracy of the interactive chat space.
步骤2094,服务器对候选互动空间集合进行筛选,得到第一互动聊天空间。Step 2094, the server screens the set of candidate interactive spaces to obtain the first interactive chat space.
在示例性实施例中,上述对候选互动空间集合进行筛选,得到第一互动聊天空间,包括:获取候选互动空间集合中的候选互动聊天空间对应的直播状态信息和互动位信息,直播状态信息表征候选互动聊天空间的当前直播状态,互动位信息表征候选互动聊天空间对应的互动位分配情况;基于直播状态信息和互动位信息对候选互动空间集合进行筛选,得到第一互动聊天空间。In an exemplary embodiment, the above-mentioned screening of the set of candidate interactive spaces to obtain the first interactive chat space includes: obtaining the live broadcast state information and interactive bit information corresponding to the candidate interactive chat spaces in the set of candidate interactive spaces, and the representation of the live state information The current live broadcast status of the candidate interactive chat space, and the interactive bit information represent the allocation of the interactive bit corresponding to the candidate interactive chat space; based on the live broadcast status information and the interactive bit information, the set of candidate interactive chat spaces is screened to obtain the first interactive chat space.
基于直播状态信息和互动位信息,可以将候选互动空间集合中处于停播状态或没有空余互动位的互动聊天空间删除后再得到上述第一互动聊天空间,有助于提升互动聊天的连接成功率。Based on the live broadcast status information and interactive position information, the first interactive chat space above can be obtained after deleting the interactive chat space in the off-broadcast state or without vacant interactive space in the set of candidate interactive spaces, which helps to improve the connection success rate of interactive chat .
另外,上述互动聊天空间的匹配是在请求帐号标识对应的目标匹配分区的范围内进行的,能够有效提升互动聊天空间的匹配效率。In addition, the above-mentioned matching of the interactive chat space is performed within the scope of the target matching partition corresponding to the request account ID, which can effectively improve the matching efficiency of the interactive chat space.
在一个示例中,如图6所示,其示例性示出了一种确定推荐聊天室的流程示意图。在实际应用中,上述互动聊天空间包括聊天室,上述第一聊天室可以推荐的聊天室。图6中确定推荐聊天室的流程如下:In one example, as shown in FIG. 6 , it exemplarily shows a schematic flow chart of determining a recommended chat room. In practical applications, the above-mentioned interactive chatting space includes a chat room, and the above-mentioned first chat room may recommend a chat room. The process of determining the recommended chat room in Figure 6 is as follows:
1、定时任务通过allLivingRpc查询获取当前存活的所有活跃聊天室。1. The scheduled task queries allLivingRpc to obtain all active chat rooms that are currently alive.
2、通过查询MySQL数据库并用Redis存储所有活跃聊天室中未开启申请模式和当前有空麦位的聊天室。其中的过滤逻辑是滤除所有活跃聊天室中开启申请模式或没有空麦位的聊天室。2. By querying the MySQL database and using Redis to store all active chat rooms that have not opened the application mode and currently have free microphones. The filtering logic is to filter out all active chat rooms that open the application mode or have no empty microphones.
3、对于匹配池中合法的聊天室,通过对聊天室标识进行哈希分片存储在不同的分区(以Redis key(键)的形式存在)中,从而防止大key出现影响Redis集群查询速度。其中,每个分区(key)中存储聊天室标识到当前聊天室空余麦位数的映射。这些存储作为聊天室匹配的匹配池。3. For legal chat rooms in the matching pool, the chat room identifiers are hashed and stored in different partitions (in the form of Redis keys), so as to prevent the occurrence of large keys from affecting the query speed of the Redis cluster. Wherein, each partition (key) stores a mapping from a chat room ID to a number of vacant microphone bits in the current chat room. These stores serve as match pools for chat room matches.
4、定时任务定时刷新匹配池。为了防止更新匹配池的间隙查不到数据,引入更新时间戳作为版本号。每次匹配池写入新数据后,更新版本号,对于旧数据等redis自然过期。4. Scheduled tasks regularly refresh the matching pool. In order to prevent data from being found in the interval of updating the matching pool, the update timestamp is introduced as the version number. Every time the matching pool writes new data, the version number is updated, and redis naturally expires for old data.
5、通过检测播放信息记录接口的Kafka(开源流处理平台)消息来记录用户浏览过的聊天室,通过检测聊天室匹配接口的推荐信息记录向用户推荐过的聊天室,将这两部分数据用Redis中的zset(有序集合)数据结构进行存储,得到历史聊天室有序集合。其中,zset(有序集合)中的Score为存入的时间戳,每次存入时对时间戳在一天前的数据进行删除,防止大key存在。5. By detecting the Kafka (open source stream processing platform) messages of the playback information recording interface to record the chat rooms that the user has browsed, and by detecting the recommended information records of the chat room matching interface to recommend the chat rooms to the user, use these two parts of data The zset (ordered set) data structure in Redis is stored to obtain an ordered set of historical chat rooms. Among them, the Score in zset (ordered set) is the time stamp of the storage, and the data with the time stamp one day before is deleted each time it is stored to prevent the existence of large keys.
6、在用户当前浏览的聊天室没有空麦位或者发起的上麦申请主播长时间未处理的情况下,客户端访问聊天室匹配接口。服务器从匹配池中随机取一个分片,然后过滤掉该分片中向该用户推荐过、用户浏览过或者用户不感兴趣的聊天室,然后通过关注关系/地理位置/年龄/性别等信息从剩余的聊天室进行匹配,取出前10个最匹配的聊天室。6. In the case that the chat room currently browsed by the user has no vacant mic space or the host application for mic has not been processed for a long time, the client accesses the chat room matching interface. The server randomly selects a shard from the matching pool, and then filters out the chat rooms in the shard that have been recommended to the user, browsed by the user, or are not interested in the user, and then select from the remaining The chat rooms are matched, and the top 10 most matching chat rooms are taken out.
7、在这10个聊天室中过滤掉已关播的、无空麦位的等不符合条件的聊天室,然后再随机从剩余聊天室中选取一个推荐聊天室作为匹配信息返回给客户端。另外,服务器在该匹配信息中构建一个访问该直播间并进行上麦操作的快链一并返回给客户端。7. Filter out unqualified chat rooms such as those that are off the air or have no empty microphones among the 10 chat rooms, and then randomly select a recommended chat room from the remaining chat rooms as matching information and return it to the client. In addition, the server builds a fast link to visit the live broadcast room and perform microphone operation in the matching information and returns it to the client.
8、客户端获取匹配信息后,可以展示推荐聊天室的相关信息,例如主播对应标签,如是否为好友、年龄、星座等信息,用户接受该匹配结果后,进入该匹配的推荐聊天室并自动调用上麦接口进行上麦。8. After the client obtains the matching information, it can display the relevant information of the recommended chat room, such as the label corresponding to the anchor, such as whether it is a friend, age, constellation, etc. After the user accepts the matching result, it enters the matching recommended chat room and automatically Call the microphone connection interface to perform microphone connection.
可选地,上述互动空间匹配信息还包括第一互动聊天空间对应的操作链信息,操作链信息用于指定目标终端发送互动指示信息所需执行的目标操作。相应的,如图3所示,上述方法还包括如下步骤(210~212)。Optionally, the above interactive space matching information further includes operation chain information corresponding to the first interactive chat space, and the operation chain information is used to specify a target operation to be performed by the target terminal to send the interaction instruction information. Correspondingly, as shown in FIG. 3 , the above method further includes the following steps (210-212).
步骤210,服务器获取第一互动聊天空间对应的互动空间属性信息。Step 210, the server acquires the attribute information of the interactive space corresponding to the first interactive chat space.
可选地,上述互动空间属性信息包括第一互动聊天空间对应的网络地址信息、互动位接口信息、第一互动聊天空间对应的管理帐号对应的对象属性信息。可选地,上述管理帐号是创建上述第一互动聊天空间的帐号。Optionally, the attribute information of the interactive space includes network address information corresponding to the first interactive chat space, interactive bit interface information, and object attribute information corresponding to the management account corresponding to the first interactive chat space. Optionally, the above-mentioned management account is an account for creating the above-mentioned first interactive chat space.
步骤211,服务器根据互动空间属性信息,确定互动空间推荐信息和操作链信息。Step 211, the server determines interactive space recommendation information and operation chain information according to the interactive space attribute information.
可选地,基于上述网络地址信息、互动位接口信息上述操作链信息。可选地,操作链新包括针对第一互动聊天空间的访问操作信息和互动位获取操作信息。可选地,上述访问操作信息表征访问第一互动聊天空间所需执行的访问操作;上述互动位获取操作信息表征获取第一互动聊天空间对应的空余互动位所需执行的互动位获取操作。Optionally, the operation chain information is based on the network address information and the interaction bit interface information. Optionally, the operation chain newly includes access operation information and interaction bit acquisition operation information for the first interactive chat space. Optionally, the above-mentioned access operation information represents an access operation to be performed to access the first interactive chat space; the above-mentioned interaction position acquisition operation information represents an interaction position acquisition operation to be performed to obtain a free interaction position corresponding to the first interactive chat space.
可选地,上述操作链信息可以是终端切换互动聊天空间上互动位通话聊天所需执行操作对应的快链信息。Optionally, the above operation chain information may be the fast chain information corresponding to the operations required for the terminal to switch to the interactive chat space on the interactive chat.
可选地,基于上述管理帐号对应的对象属性信息生成上述互动推荐信息。Optionally, the interaction recommendation information is generated based on the object attribute information corresponding to the management account.
步骤212,服务器基于互动空间推荐信息和操作链信息,生成互动空间匹配信息。Step 212, the server generates interactive space matching information based on the interactive space recommendation information and operation chain information.
可选地,将互动空间推荐信息和操作链信息进行封装,即可生成上述互动空间匹配信息。Optionally, the interactive space matching information can be generated by encapsulating the interactive space recommendation information and the operation chain information.
服务器不仅在匹配信息中添加推荐互动聊天空间的推荐信息,还添加终端换房上麦所需执行操作对应的操作链信息,有效降低了用户切换互动聊天空间进行互动聊天的操作复杂度。The server not only adds the recommendation information of the recommended interactive chat space to the matching information, but also adds the operation chain information corresponding to the operations required for the terminal to change rooms and connect to the microphone, which effectively reduces the operational complexity of the user switching the interactive chat space for interactive chat.
步骤202,目标终端在接收到服务器发送的互动空间匹配信息的情况下,在预设页面展示互动空间匹配信息中的互动空间推荐信息。Step 202, when the target terminal receives the interactive space matching information sent by the server, it displays the interactive space recommendation information in the interactive space matching information on a preset page.
互动空间推荐信息为推荐第一互动聊天空间的信息,第一互动聊天空间具有空余互动位且未开启互动申请模式。The interactive space recommendation information is the information recommending the first interactive chat space, the first interactive chat space has vacant interactive slots and the interactive application mode is not enabled.
可选地,上述预设页面可以是第一互动聊天空间对应的直播页面,也可以是第二互动聊天空间对应的直播页面。Optionally, the aforementioned preset page may be a live page corresponding to the first interactive chat space, or may be a live page corresponding to the second interactive chat space.
在一种可能的实施方式中,目标终端在接收到服务器发送的互动空间匹配信息的情况下,在第二互动聊天空间对应的直播页面展示互动空间推荐信息。In a possible implementation manner, when receiving the interactive space matching information sent by the server, the target terminal displays the interactive space recommendation information on the live broadcast page corresponding to the second interactive chat space.
在一个示例中,如图7所示,其示例性示出了一种基于互动处理的页面交互流程图一。图7示出了主播a的聊天室对应的直播页面71,由于主播a的聊天室中的麦位已满,终端在直播页面71中显示快速上麦提示弹窗711,快速上麦提示弹窗711中包括一键上麦选项712,用户可以点击该一键上麦选项712,从而进入聊天室匹配流程。终端响应于基于上述一键上麦选项712接收的触发操作,可以向服务器发送聊天室匹配请求。接收聊天室匹配信息后可以在直播页面71中显示聊天室推荐弹窗713,其中展示推荐聊天室(主播b的聊天室)的相关信息。聊天室推荐弹窗713中包括聊天选项714,用户可以点击该聊天选项714,从而进入主播b的聊天室上麦聊天。终端响应于上述聊天选项714接收的触发操作,显示主播b的聊天室的直播页面72并自动向服务器发送针对目标麦位的上麦请求,从而实现一键换房上麦,有效降低了连麦操作的复杂度并提升了连麦成功率。In one example, as shown in FIG. 7 , it exemplarily shows a flow chart 1 of page interaction based on interaction processing. Fig. 7 shows the
在另一种可能的实施方式中,目标终端在接收到服务器发送的互动空间匹配信息的情况下,在第一互动聊天空间对应的直播页面展示互动空间推荐信息。In another possible implementation manner, when receiving the interactive space matching information sent by the server, the target terminal displays the interactive space recommendation information on the live broadcast page corresponding to the first interactive chat space.
可选地,互动空间匹配信息还包括第一互动聊天空间对应的互动数据,目标终端还可以展示互动数据,例如播放互动通话数据,互动通话画面等。Optionally, the interactive space matching information also includes interactive data corresponding to the first interactive chat space, and the target terminal can also display the interactive data, such as playing interactive call data, interactive call screen, and the like.
目标终端在接收到互动空间匹配信息的情况下,可以直接显示推荐的第一互动聊天空调的直播页面,并在该页面显示互动空间推荐信息,有效提升了推荐信息的信息量,一旦用户接受推荐,即可迅速上麦,有效提升了互动聊天的连接成功率。When the target terminal receives the interactive space matching information, it can directly display the recommended live broadcast page of the first interactive chat air conditioner, and display the interactive space recommendation information on this page, which effectively increases the amount of recommended information. Once the user accepts the recommendation , you can quickly connect to the microphone, which effectively improves the connection success rate of the interactive chat.
在一个示例中,如图8所示,其示例性示出了另一种基于互动处理的页面交互流程图二。图8示出了主播a的聊天室对应的直播页面71,由于主播a的聊天室中的麦位已满,终端在直播页面71中显示快速上麦提示弹窗711,快速上麦提示弹窗711中包括一键上麦选项712,用户可以点击该一键上麦选项712,从而进入聊天室匹配流程。终端响应于基于上述一键上麦选项712接收的触发操作,可以向服务器发送聊天室匹配请求。终端接收到匹配结果后,可以显示推荐聊天室—主播b的聊天室的直播页面72,并在直播页面中显示聊天室推荐弹窗713,其中展示主播b的聊天室的相关信息。用户可以点击该聊天选项714,在主播b的聊天室上麦聊天。终端响应于上述聊天选项714接收的触发操作,自动向服务器发送针对目标麦位的上麦请求,从而实现一键换房上麦,有效降低了连麦操作的复杂度并提升了连麦成功率。In one example, as shown in FIG. 8 , it exemplarily shows another interactive process-based page interaction flow chart II. Fig. 8 shows the
步骤203,目标终端响应于基于互动空间推荐信息触发的接受指令,向服务器发送互动指示信息。In step 203, the target terminal sends interaction indication information to the server in response to the acceptance instruction triggered based on the interaction space recommendation information.
可选地,互动指示信息用于指示服务器将第一互动聊天空间对应的目标互动位分配给目标终端。Optionally, the interaction instruction information is used to instruct the server to allocate the target interaction bit corresponding to the first interactive chat space to the target terminal.
相应的,服务器接收目标终端发送的互动指示信息,互动指示信息是目标终端响应于基于互动空间推荐信息触发的接受指令发送的指示信息。Correspondingly, the server receives the interaction indication information sent by the target terminal, where the interaction indication information is indication information sent by the target terminal in response to an acceptance instruction triggered based on the interaction space recommendation information.
在示例性实施例中,互动空间匹配信息还包括操作链信息,操作链信息用于指定目标终端发送互动指示信息所需执行的目标操作;相应的,如图3所示,上述步骤203的实施过程可以包括以下步骤(2031~2032)。In an exemplary embodiment, the interaction space matching information also includes operation chain information, and the operation chain information is used to specify the target operation to be performed by the target terminal to send the interaction indication information; correspondingly, as shown in FIG. 3 , the implementation of the above step 203 The process may include the following steps (2031-2032).
步骤2031,目标终端响应于基于互动空间推荐信息触发的接受指令,执行目标操作。Step 2031, the target terminal executes the target operation in response to the acceptance instruction triggered based on the interactive space recommendation information.
可选地,目标终端在检测到用于接受上述互动空间推荐信息的操作的情况下,触发上述接受指令,从而根据操作链信息的指示,执行上述目标操作。可选地,目标操作包括针对第一互动聊天空间的访问操作和互动位获取操作。Optionally, when the target terminal detects an operation for accepting the recommendation information of the interactive space, it triggers the acceptance instruction, so as to execute the target operation according to the indication of the operation chain information. Optionally, the target operation includes an access operation and an interaction location acquisition operation for the first interactive chat space.
步骤2032,目标终端在检查到目标操作的情况下,向服务器发送互动指示信息。Step 2032, when the target terminal detects the target operation, it sends interaction indication information to the server.
服务器不仅在匹配信息中添加推荐互动聊天空间的推荐信息,还添加终端换房上麦所需执行操作对应的操作链信息,这样在目标对象接受推荐信息的情况下,终端可以自行根据操作链信息执行目标操作,有效降低了用户切换互动聊天空间进行互动聊天的操作复杂度。The server not only adds the recommendation information of the recommended interactive chat space to the matching information, but also adds the operation chain information corresponding to the operation required by the terminal to change the room and use the microphone, so that when the target object accepts the recommendation information, the terminal can automatically follow the operation chain information Executing the target operation effectively reduces the operational complexity for the user to switch between interactive chat spaces for interactive chat.
步骤204,服务器根据互动指示信息,将第一互动聊天空间对应的目标互动位分配给目标终端。Step 204, the server allocates the target interaction bit corresponding to the first interactive chat space to the target terminal according to the interaction indication information.
可选地,目标终端可以向服务器发送上述目标互动位对应的互动聊天数据,并接收服务器发送的第一互动聊天空间中其他互动位对应的互动聊天数据,从而实现互动聊天。Optionally, the target terminal may send the interactive chat data corresponding to the target interactive position to the server, and receive the interactive chat data corresponding to other interactive positions in the first interactive chat space sent by the server, so as to realize interactive chat.
可选地,上述互动聊天数据包括但不限于语音通话数据、视频通话数据。Optionally, the above interactive chat data includes but not limited to voice call data and video call data.
综上所述,本公开实施例提供的技术方案,目标终端通过在预设页面展示具有空余互动位且未开启互动申请模式的互动聊天空间的推荐信息,可以有效提示用户切换到能够互动聊天的推荐互动聊天空间,终端响应于上述推荐信息的接受指令后,即可向服务器发送互动指示信息,从而指示服务器将推荐的互动聊天空间中的目标互动位分配给目标终端,从而能够实现快速地互动聊天空间切换并自动互动聊天,有效提升了互动聊天的连接成功率,并降低了互动聊天的操作复杂度。To sum up, in the technical solution provided by the embodiments of the present disclosure, the target terminal can effectively prompt the user to switch to an interactive chatting space by displaying the recommendation information of the interactive chatting space with vacant interactive slots and the interactive application mode not enabled on the preset page. To recommend an interactive chat space, after the terminal accepts an instruction in response to the above recommendation information, it can send an interactive instruction message to the server, thereby instructing the server to assign the target interaction position in the recommended interactive chat space to the target terminal, so as to realize rapid interaction Chat space switching and automatic interactive chat, effectively improving the connection success rate of interactive chat, and reducing the operational complexity of interactive chat.
图9是根据一示例性实施例示出的一种互动处理装置框图一。可选地,该装置可以应用于终端。参照图9,该装置900包括:Fig. 9 is a first block diagram of an interactive processing device according to an exemplary embodiment. Optionally, the device can be applied to a terminal. Referring to Figure 9, the
推荐信息展示模块910,被配置为执行在接收到服务器发送的互动空间匹配信息的情况下,在预设页面展示所述互动空间匹配信息中的互动空间推荐信息,所述互动空间推荐信息为推荐第一互动聊天空间的信息,所述第一互动聊天空间具有空余互动位且未开启互动申请模式;The recommended information display module 910 is configured to display the interactive space recommendation information in the interactive space matching information on a preset page when receiving the interactive space matching information sent by the server, and the interactive space recommendation information is recommended Information about the first interactive chat space, the first interactive chat space has vacant interactive slots and the interactive application mode has not been opened;
指示信息发送模块920,被配置为执行响应于基于所述互动空间推荐信息触发的接受指令,向所述服务器发送互动指示信息,所述互动指示信息用于指示所述服务器将所述第一互动聊天空间对应的目标互动位分配给目标终端。The indication
在一些可能的设计中,所述装置900还包括:In some possible designs, the
提示信息展示模块,被配置为执行在所述预设页面展示互动提示信息,所述互动提示信息用于提示目标对象切换互动聊天空间进行互动聊天;The prompt information display module is configured to display interactive prompt information on the preset page, and the interactive prompt information is used to prompt the target object to switch the interactive chat space for interactive chat;
匹配请求发送模块,被配置为执行响应于基于所述互动提示信息触发的接受指令,向所述服务器发送互动空间匹配请求;A matching request sending module configured to send an interactive space matching request to the server in response to an acceptance instruction triggered based on the interactive prompt information;
其中,所述互动空间匹配请求用于指示所述服务器返回所述互动空间匹配信息,所述互动空间匹配信息是所述服务器根据所述第一互动聊天空间对应的互动空间属性信息生成的匹配结果,所述第一互动聊天空间是所述服务器从互动空间匹配池中确定的与请求帐号标识对应的互动聊天空间,所述互动空间匹配请求包括所述请求帐号标识,所述互动空间匹配池包括互动空间集合中具有空余互动位且未开启互动申请模式的互动聊天空间。Wherein, the interactive space matching request is used to instruct the server to return the interactive space matching information, and the interactive space matching information is a matching result generated by the server according to the interactive space attribute information corresponding to the first interactive chat space , the first interactive chat space is an interactive chat space corresponding to the requesting account ID determined by the server from an interactive space matching pool, the interactive space matching request includes the requesting account ID, and the interactive space matching pool includes An interactive chat space that has vacant interactive slots in the interactive space collection and has not opened the interactive application mode.
在一些可能的设计中,所述预设页面包括第二互动聊天空间对应的直播页面,所述提示信息展示模块,具体被配置为执行在所述第二互动聊天空间没有空余互动位的情况下,在所述第二互动聊天空间对应的直播页面展示所述互动提示信息。In some possible designs, the preset page includes a live broadcast page corresponding to the second interactive chat space, and the prompt information display module is specifically configured to execute when there is no free interaction slot in the second interactive chat space , displaying the interactive prompt information on the live broadcast page corresponding to the second interactive chat space.
在一些可能的设计中,所述预设页面包括第二互动聊天空间对应的直播页面,所述提示信息展示模块,包括:In some possible designs, the preset page includes a live page corresponding to the second interactive chat space, and the prompt information display module includes:
互动请求发送子模块,被配置为执行响应于基于所述第二互动聊天空间触发的互动位申请指令,向所述服务器发送互动请求;The interaction request sending submodule is configured to send an interaction request to the server in response to an interaction bit application instruction triggered based on the second interactive chat space;
提示信息展示子模块,被配置为执行在预设时间内未接收到所述互动请求对应的同意信息的情况下,在所述第二互动聊天空间对应的直播页面展示所述互动提示信息。The prompt information display sub-module is configured to display the interactive prompt information on the live page corresponding to the second interactive chat space when the consent information corresponding to the interaction request is not received within a preset time.
在一些可能的设计中,所述预设页面还包括所述第一互动聊天空间对应的直播页面,所述推荐信息展示模块910,具体被配置为执行在接收到所述服务器发送的所述互动空间匹配信息的情况下,在所述第一互动聊天空间对应的直播页面展示所述互动空间推荐信息。In some possible designs, the preset page also includes a live broadcast page corresponding to the first interactive chat space, and the recommended information display module 910 is specifically configured to execute the interactive In the case of space matching information, the interactive space recommendation information is displayed on the live broadcast page corresponding to the first interactive chat space.
在一些可能的设计中,所述互动空间匹配信息还包括操作链信息,所述操作链信息用于指定所述目标终端发送所述互动指示信息所需执行的目标操作,所述指示信息发送模块920,包括:In some possible designs, the interaction space matching information further includes operation chain information, the operation chain information is used to specify the target operation that the target terminal needs to perform when sending the interaction instruction information, and the instruction
操作执行子模块,被配置为执行响应于基于所述互动空间推荐信息触发的接受指令,执行所述目标操作;An operation execution sub-module configured to execute the target operation in response to an acceptance instruction triggered based on the interactive space recommendation information;
提示信息发送子模块,被配置为执行在检查到所述目标操作的情况下,向所述服务器发送所述互动指示信息。The prompt information sending submodule is configured to send the interaction instruction information to the server when the target operation is detected.
综上所述,本公开实施例提供的技术方案,目标终端通过在预设页面展示具有空余互动位且未开启互动申请模式的互动聊天空间的推荐信息,可以有效提示用户切换到能够互动聊天的推荐互动聊天空间,终端响应于上述推荐信息的接受指令后,即可向服务器发送互动指示信息,从而指示服务器将推荐的互动聊天空间中的目标互动位分配给目标终端,从而能够实现快速地互动聊天空间切换并自动互动聊天,有效提升了互动聊天的连接成功率,并降低了互动聊天的操作复杂度。To sum up, in the technical solution provided by the embodiments of the present disclosure, the target terminal can effectively prompt the user to switch to an interactive chatting space by displaying the recommendation information of the interactive chatting space with vacant interactive slots and the interactive application mode not enabled on the preset page. To recommend an interactive chat space, after the terminal accepts an instruction in response to the above recommendation information, it can send an interactive instruction message to the server, thereby instructing the server to assign the target interaction position in the recommended interactive chat space to the target terminal, so as to realize rapid interaction Chat space switching and automatic interactive chat, effectively improving the connection success rate of interactive chat, and reducing the operational complexity of interactive chat.
图10是根据一示例性实施例示出的一种互动处理装置框图二。可选地,该装置可以应用于服务器。参照图10,该装置1000包括:Fig. 10 is a second block diagram of an interactive processing device according to an exemplary embodiment. Optionally, the device can be applied to a server. Referring to Figure 10, the
匹配信息发送模块1010,被配置为执行向目标终端发送互动空间匹配信息,所述互动空间匹配信息包括互动空间推荐信息,所述互动空间推荐信息为推荐第一互动聊天空间的信息,所述互动空间推荐信息用于在所述目标终端显示的预设页面进行展示,所述第一互动聊天空间具有空余互动位且未开启互动申请模式;The matching information sending module 1010 is configured to send interactive space matching information to the target terminal, the interactive space matching information includes interactive space recommendation information, the interactive space recommendation information is information recommending a first interactive chat space, and the interactive space The space recommendation information is used for displaying on a preset page displayed on the target terminal, and the first interactive chat space has vacant interactive spaces and the interactive application mode is not turned on;
指示信息接收模块1020,被配置为执行接收所述目标终端发送的互动指示信息,所述互动指示信息是所述目标终端响应于基于所述互动空间推荐信息触发的接受指令发送的指示信息;The indication information receiving module 1020 is configured to receive the interaction indication information sent by the target terminal, the interaction indication information is the indication information sent by the target terminal in response to the acceptance instruction triggered based on the interaction space recommendation information;
互动位分配模块1030,被配置为执行根据所述互动指示信息,将所述第一互动聊天空间对应的目标互动位分配给所述目标终端。The interaction bit allocation module 1030 is configured to allocate the target interaction bit corresponding to the first interactive chat space to the target terminal according to the interaction indication information.
在一些可能的设计中,所述互动空间匹配信息还包括第一互动聊天空间对应的操作链信息,所述操作链信息用于指定所述目标终端发送所述互动指示信息所需执行的目标操作,所述装置1000还包括:In some possible designs, the interactive space matching information further includes operation chain information corresponding to the first interactive chat space, and the operation chain information is used to specify the target operation that the target terminal needs to perform when sending the interaction indication information , the
属性信息获取模块,被配置为执行获取所述第一互动聊天空间对应的互动空间属性信息;The attribute information acquisition module is configured to acquire the attribute information of the interactive space corresponding to the first interactive chat space;
信息确定模块,被配置为执行根据所述互动空间属性信息,确定所述互动空间推荐信息和所述操作链信息;An information determination module configured to determine the interactive space recommendation information and the operation chain information according to the interactive space attribute information;
匹配信息生成模块,被配置为执行基于所述互动空间推荐信息和所述操作链信息,生成所述互动空间匹配信息。The matching information generating module is configured to generate the interactive space matching information based on the interactive space recommendation information and the operation chain information.
在一些可能的设计中,所述装置1000还包括:In some possible designs, the
空间集合获取模块,被配置为执行获取互动空间集合;A space collection acquisition module configured to perform acquisition of an interactive space collection;
空间匹配池存储模块,被配置为执行将所述互动空间集合中具有空余互动位且未开启互动申请模式的互动聊天空间存入互动空间匹配池;The space matching pool storage module is configured to store the interactive chat spaces in the set of interactive spaces that have vacant interactive slots and have not opened the interactive application mode into the interactive space matching pool;
匹配请求接收模块,别配置为执行接收所述目标终端发送的互动空间匹配请求,所述互动空间匹配请求包括请求帐号标识;The matching request receiving module is configured to receive the interactive space matching request sent by the target terminal, and the interactive space matching request includes the request account ID;
互动空间匹配模块,被配置为执行基于所述请求帐号标识,对所述互动空间匹配池进行互动空间匹配处理,得到所述第一互动聊天空间,所述第一互动聊天空间与所述请求帐号标识相对应。The interactive space matching module is configured to perform interactive space matching processing on the interactive space matching pool based on the request account identifier, to obtain the first interactive chat space, the first interactive chat space and the request account corresponding to the ID.
在一些可能的设计中,所述互动空间匹配池包括至少一个匹配池分区,所述空间匹配池存储模块,包括:In some possible designs, the interactive space matching pool includes at least one matching pool partition, and the space matching pool storage module includes:
空间确定子模块,被配置为执行将所述互动空间集合中具有空余互动位且未开启互动申请模式的互动聊天空间确定为待匹配互动聊天空间;The space determination sub-module is configured to determine an interactive chat space in the set of interactive spaces that has vacant interactive slots and has not opened the interactive application mode as the interactive chat space to be matched;
标识获取子模块,被配置为执行获取所述待匹配互动聊天空间对应的互动空间标识;The identification acquisition sub-module is configured to acquire the identification of the interactive space corresponding to the interactive chat space to be matched;
匹配池分区确定子模块,被配置为执行确定所述至少一个匹配池分区中与所述互动空间标识对应的匹配池分区;The matching pool partition determination submodule is configured to determine the matching pool partition corresponding to the interaction space identifier in the at least one matching pool partition;
匹配池分区存储子模块,被配置为执行将所述互动空间标识存入所述互动空间标识对应的匹配池分区。The matching pool partition storage submodule is configured to store the interactive space identifier into the matching pool partition corresponding to the interactive space identifier.
在一些可能的设计中,所述互动空间匹配池包括至少一个匹配池分区,所述互动空间匹配模块,包括:In some possible designs, the interactive space matching pool includes at least one matching pool partition, and the interactive space matching module includes:
目标分区确定子模块,被配置为执行确定所述至少一个匹配池分区中与所述请求帐号标识对应的目标匹配池分区;The target partition determining submodule is configured to determine the target matching pool partition corresponding to the request account identifier in the at least one matching pool partition;
对应关系确定子模块,被配置为执行确定所述请求帐号标识与所述目标匹配池分区中待匹配互动聊天空间之间的对应关系信息;The correspondence determining submodule is configured to determine the correspondence between the request account identifier and the interactive chat space to be matched in the target matching pool partition;
候选空间匹配子模块,被配置为执行根据所述对应关系信息,从所述待匹配互动聊天空间中,确定所述请求帐号标识对应的候选互动空间集合;The candidate space matching submodule is configured to determine a set of candidate interactive spaces corresponding to the request account identifier from the interactive chat spaces to be matched according to the correspondence information;
候选空间筛选子模块,被配置为执行对所述候选互动空间集合进行筛选,得到所述第一互动聊天空间。The candidate space screening submodule is configured to perform screening on the set of candidate interactive spaces to obtain the first interactive chat space.
在一些可能的设计中,所述对应关系信息包括所述请求帐号标识与所述至少一个待匹配互动聊天空间之间的浏览关系信息、兴趣关联度信息、位置关系信息、关注关系信息、属性匹配度信息中至少一种。In some possible designs, the corresponding relationship information includes browsing relationship information, interest correlation degree information, position relationship information, follow relationship information, and attribute matching between the requesting account ID and the at least one interactive chat space to be matched. At least one of the degree information.
在一些可能的设计中,所述候选空间筛选子模块,包括:In some possible designs, the candidate space screening submodule includes:
互动信息获取单元,被配置为执行获取所述候选互动空间集合中的候选互动聊天空间对应的直播状态信息和互动位信息,所述直播状态信息表征所述候选互动聊天空间的当前直播状态,所述互动位信息表征所述候选互动聊天空间对应的互动位分配情况;The interactive information acquisition unit is configured to acquire the live broadcast status information and interactive bit information corresponding to the candidate interactive chat spaces in the set of candidate interactive chat spaces, the live broadcast status information represents the current live broadcast status of the candidate interactive chat spaces, so The interaction bit information represents the allocation of interaction bits corresponding to the candidate interactive chat space;
互动空间筛选单元,被配置为执行基于所述直播状态信息和所述互动位信息对所述候选互动空间集合进行筛选,得到所述第一互动聊天空间。The interactive space screening unit is configured to perform screening on the set of candidate interactive spaces based on the live broadcast status information and the interactive bit information to obtain the first interactive chat space.
综上所述,本公开实施例提供的技术方案,服务器可以向目标终端发送互动空间匹配信息,目标终端在接收到互动空间匹配信息情况下可以通过预设页面展示具有空余互动位且未开启互动申请模式的互动聊天空间的推荐信息,从而有效提示用户切换到能够互动聊天的推荐互动聊天空间,服务器在接收到终端响应于上述推荐信息的接受指令后发送的互动指示信息的情况下,将推荐的互动聊天空间中的目标互动位分配给目标终端,从而能够实现快速地互动聊天空间切换并自动互动聊天,有效提升了互动聊天的连接成功率,并降低了互动聊天的操作复杂度。To sum up, in the technical solution provided by the embodiments of the present disclosure, the server can send the interactive space matching information to the target terminal, and the target terminal can display through the preset page that there are vacant interactive spaces and the interactive space is not turned on when the target terminal receives the interactive space matching information. The recommendation information of the interactive chat space in the application mode, so as to effectively prompt the user to switch to the recommended interactive chat space capable of interactive chat. When the server receives the interactive instruction information sent by the terminal in response to the acceptance instruction of the above recommended information, it will recommend The target interaction bit in the interactive chat space is allocated to the target terminal, so that the interactive chat space can be switched quickly and the interactive chat can be performed automatically, which effectively improves the connection success rate of the interactive chat and reduces the operational complexity of the interactive chat.
需要说明的是,上述实施例提供的装置,在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, when realizing the functions of the device provided by the above-mentioned embodiments, the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to the needs. The internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and the method embodiment provided by the above embodiment belong to the same idea, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.
图11是根据一示例性实施例示出的一种用于互动处理的电子设备的框图,该电子设备可以是终端也可以是服务器,其内部结构图可以如图11所示。该电子设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该电子设备的处理器用于提供计算和控制能力。该电子设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该电子设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种互动处理方法。该电子设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该电子设备的输入装置可以是显示屏上覆盖的触摸层,也可以是电子设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。Fig. 11 is a block diagram of an electronic device for interactive processing according to an exemplary embodiment. The electronic device may be a terminal or a server, and its internal structure may be as shown in Fig. 11 . The electronic device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Wherein, the processor of the electronic device is used to provide calculation and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an interactive processing method is realized. The display screen of the electronic device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device may be a touch layer covered on the display screen, or a button, a trackball or a touch pad provided on the housing of the electronic device , and can also be an external keyboard, touchpad, or mouse.
本领域技术人员可以理解,图11中示出的结构,仅仅是与本公开方案相关的部分结构的框图,并不构成对本公开方案所应用于其上的电子设备的限定,具体的电子设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 11 is only a block diagram of a partial structure related to the disclosed solution, and does not constitute a limitation on the electronic device to which the disclosed solution is applied. The specific electronic device can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.
在示例性实施例中,还提供了一种电子设备,包括:处理器;用于存储该处理器可执行指令的存储器;其中,该处理器被配置为执行该指令,以实现如本公开实施例中终端侧的互动处理方法。In an exemplary embodiment, there is also provided an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein, the processor is configured to execute the instructions, so as to implement The interactive processing method on the terminal side in the example.
在示例性实施例中,还提供了一种电子设备,包括:处理器;用于存储该处理器可执行指令的存储器;其中,该处理器被配置为执行该指令,以实现如本公开实施例中服务器侧的互动处理方法。In an exemplary embodiment, there is also provided an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein, the processor is configured to execute the instructions, so as to implement The interactive processing method on the server side in the example.
在示例性实施例中,还提供了一种计算机可读存储介质,当该存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行本公开实施例中终端侧的互动处理方法。In an exemplary embodiment, a computer-readable storage medium is also provided, and when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the interactive processing method on the terminal side in the embodiments of the present disclosure .
在示例性实施例中,还提供了一种计算机可读存储介质,当该存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行本公开实施例中服务器侧的互动处理方法。In an exemplary embodiment, a computer-readable storage medium is also provided, and when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the interactive processing method on the server side in the embodiment of the present disclosure .
在示例性实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行本公开实施例中终端侧的互动处理方法。In an exemplary embodiment, there is also provided a computer program product including instructions, which, when run on a computer, cause the computer to execute the interactive processing method at the terminal side in the embodiments of the present disclosure.
在示例性实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行本公开实施例中服务器侧的互动处理方法。In an exemplary embodiment, there is also provided a computer program product including instructions, which, when run on a computer, cause the computer to execute the interactive processing method on the server side in the embodiments of the present disclosure.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,该计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be realized by instructing related hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium , when the computer program is executed, it may include the procedures of the embodiments of the above-mentioned methods. Wherein, any references to memory, storage, database or other media used in the various embodiments provided in the present application may include non-volatile and/or volatile memory. Nonvolatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and 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.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210879204.1ACN115412774B (en) | 2022-07-25 | 2022-07-25 | Interactive processing method, device, electronic equipment, storage medium and program product |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210879204.1ACN115412774B (en) | 2022-07-25 | 2022-07-25 | Interactive processing method, device, electronic equipment, storage medium and program product |
| Publication Number | Publication Date |
|---|---|
| CN115412774Atrue CN115412774A (en) | 2022-11-29 |
| CN115412774B CN115412774B (en) | 2024-10-29 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210879204.1AActiveCN115412774B (en) | 2022-07-25 | 2022-07-25 | Interactive processing method, device, electronic equipment, storage medium and program product |
| Country | Link |
|---|---|
| CN (1) | CN115412774B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116418777A (en)* | 2023-04-10 | 2023-07-11 | 深圳市逗娱科技有限公司 | Intelligent online chat room pushing system based on data analysis |
| CN116506244A (en)* | 2023-05-24 | 2023-07-28 | 北京比邻星空科技有限公司 | Chat room configuration method capable of self-adapting to number of people in room |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106488267A (en)* | 2016-11-21 | 2017-03-08 | 武汉斗鱼网络科技有限公司 | A kind of appraisal procedure of direct broadcasting room Generalization bounds, user equipment server system |
| CN109246451A (en)* | 2018-08-23 | 2019-01-18 | 武汉斗鱼网络科技有限公司 | A kind of direct broadcasting room recommended method, device, server and storage medium |
| CN111556327A (en)* | 2020-04-02 | 2020-08-18 | 北京达佳互联信息技术有限公司 | Live broadcast room recommendation method, device, terminal, server, system and storage medium |
| CN111600730A (en)* | 2020-05-18 | 2020-08-28 | 腾讯科技(深圳)有限公司 | Session interface display method, group chat creating method, device and equipment |
| 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 |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106488267A (en)* | 2016-11-21 | 2017-03-08 | 武汉斗鱼网络科技有限公司 | A kind of appraisal procedure of direct broadcasting room Generalization bounds, user equipment server system |
| CN109246451A (en)* | 2018-08-23 | 2019-01-18 | 武汉斗鱼网络科技有限公司 | A kind of direct broadcasting room recommended method, device, server and storage medium |
| CN111556327A (en)* | 2020-04-02 | 2020-08-18 | 北京达佳互联信息技术有限公司 | Live broadcast room recommendation method, device, terminal, server, system and storage medium |
| CN111600730A (en)* | 2020-05-18 | 2020-08-28 | 腾讯科技(深圳)有限公司 | Session interface display method, group chat creating method, device and equipment |
| 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 |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116418777A (en)* | 2023-04-10 | 2023-07-11 | 深圳市逗娱科技有限公司 | Intelligent online chat room pushing system based on data analysis |
| CN116418777B (en)* | 2023-04-10 | 2024-06-04 | 深圳市逗娱科技有限公司 | Intelligent online chat room pushing system based on data analysis |
| CN116506244A (en)* | 2023-05-24 | 2023-07-28 | 北京比邻星空科技有限公司 | Chat room configuration method capable of self-adapting to number of people in room |
| CN116506244B (en)* | 2023-05-24 | 2023-11-17 | 北京比邻星空科技有限公司 | Chat room configuration method capable of self-adapting to number of people in room |
| Publication number | Publication date |
|---|---|
| CN115412774B (en) | 2024-10-29 |
| Publication | Publication Date | Title |
|---|---|---|
| US10877826B2 (en) | Message processing method and apparatus, storage medium, and computer device | |
| CN110515572B (en) | Screen projection method and device, storage medium and computer equipment | |
| US11601724B2 (en) | Method, apparatus, and system for displaying comment information | |
| CN109275042B (en) | Bullet screen message distribution method, bullet screen message distribution device, terminal and storage medium | |
| CN115412774B (en) | Interactive processing method, device, electronic equipment, storage medium and program product | |
| US20220358156A1 (en) | Method and apparatus for recommending multimedia resources | |
| CN110706148B (en) | Face image processing method, device, equipment and storage medium | |
| CN112000911B (en) | Page management method, device, electronic equipment and storage medium | |
| CN114218410B (en) | Information recommendation method, device, electronic device and storage medium | |
| CN114595016A (en) | Comment information display method, comment information generation method, comment information display device, comment information generation device and electronic equipment | |
| US11824717B2 (en) | Multi-region virtual data center template | |
| EP4125272A1 (en) | Method and apparatus for displaying page, electronic device and storage medium | |
| CN115037955A (en) | Data processing method, data display method, data processing device, data display device, electronic equipment and storage medium | |
| CN111522626B (en) | Virtual machine list generation method and device and electronic equipment | |
| CN109413507B (en) | Method, device, terminal and medium for processing reference relationship between barrage library and live broadcast room | |
| CN116644250B (en) | Page detection method, page detection device, computer equipment and storage medium | |
| CN112445790A (en) | Report data storage method, device, equipment and medium | |
| CN107463568B (en) | Method and device for acquiring historical access data | |
| CN111954074A (en) | Information processing method, system and equipment | |
| CN109413498B (en) | Bullet screen message distribution method, bullet screen message distribution device, terminal and storage medium | |
| CN115509643A (en) | Cloud application startup method, device, computer equipment and storage medium | |
| CN114884987B (en) | Method, device and storage medium for obtaining equipment status information | |
| CN113553158A (en) | A data processing method, device, electronic device and storage medium | |
| CN114339442A (en) | Multimedia channel configuration method and device, electronic equipment and storage medium | |
| CN115373831A (en) | Data processing method, device and computer readable storage medium |
| 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 |