CN116166893A - Interactive topic positioning and display method, device, equipment and storage medium - Google Patents
Interactive topic positioning and display method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN116166893A CN116166893A CN202111408623.9A CN202111408623A CN116166893A CN 116166893 A CN116166893 A CN 116166893A CN 202111408623 A CN202111408623 A CN 202111408623A CN 116166893 A CN116166893 A CN 116166893A
- Authority
- CN
- China
- Prior art keywords
- interactive
- target
- topic
- bucket
- candidate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9537—Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9538—Presentation of query results
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本申请公开了一种互动话题定位和展示方法、装置、设备及存储介质,涉及计算机技术领域,用于提升了互动话题定位的效率,且保护参与互动的成员对象的隐私,该方法包括:在目标对象进入目标群组时,针对指定的历史时间段,获取目标群组关联的各个候选分桶各自对应的互动行为指标;从各个候选分桶中,确定出互动行为指标满足话题热度峰值条件的至少一个目标分桶;针对至少一个目标分桶中各个目标分桶,基于产生时刻位于各个目标分桶的创建时刻之前的各个互动消息之间的相关性,分别确定至少一个目标分桶各自对应的互动话题的起始点位置;基于确定的各个起始点位置,呈现目标对象对应的目标群组操作界面。
This application discloses a method, device, device and storage medium for locating and displaying interactive topics, which relate to the field of computer technology and are used to improve the efficiency of locating interactive topics and protect the privacy of member objects participating in the interaction. The method includes: When the target object enters the target group, for the specified historical time period, the interactive behavior indicators corresponding to each candidate bucket associated with the target group are obtained; from each candidate bucket, it is determined that the interactive behavior indicator satisfies the topic heat peak condition At least one target bucket; for each target bucket in the at least one target bucket, based on the correlation between the interaction messages whose generation time is before the creation time of each target bucket, respectively determine the respective corresponding The starting point position of the interactive topic; based on the determined starting point positions, the target group operation interface corresponding to the target object is presented.
Description
技术领域technical field
本申请涉及计算机技术领域,提供一种互动话题定位和展示方法、装置、设备及存储介质。The present application relates to the field of computer technology, and provides an interactive topic positioning and display method, device, equipment and storage medium.
背景技术Background technique
随着通讯技术的发展,即时通讯应用的使用越来越普遍。在即时通讯应用中,存在多个成员对象参与互动的场景,例如:群聊场景,在这种多成员对象参与的场景中,一旦参与的成员对象过多,或者,短时间内成员对象的互动率过高,则极有可能产生数量庞大的历史互动消息,而新进入的成员对象需要消耗大量的时间去查看这些历史互动消息,以获知其余成员对象历史互动的内容。With the development of communication technology, the use of instant messaging applications is becoming more and more common. In instant messaging applications, there are scenarios where multiple member objects participate in the interaction, such as group chat scenarios. In this multi-member object participation scenario, once too many member objects participate, or the interaction If the rate is too high, it is very likely that a large number of historical interaction messages will be generated, and newly entered member objects need to spend a lot of time to check these historical interaction messages in order to learn the historical interaction content of other member objects.
目前,为了辅助成员对象快速了解互动内容,可以通过互动话题识别的方法来定位历史互动内容所对应的话题,从而帮助成员对象可以快速了解历史互动的内容。At present, in order to assist member objects to quickly understand the interactive content, the topic corresponding to the historical interactive content may be located by an interactive topic identification method, thereby helping the member object to quickly understand the historical interactive content.
但是,目前的互动话题识别的方法,通常是使用语义识别等神经网络的方式分析文本进行实现,例如:基于知识词典和主题模型相结合的词语相关度模型,计算词语的语义相关度,以识别各个交互文本是否属于同一话题。显然,这种方法需要获取成员对象的文本内容,容易触及到成员对象的隐私,并且,通过神经网络进行文本分析需要的计算量大,从而资源消耗较大,且需要较长的时长,使得互动话题识别的效率不高。However, the current interactive topic recognition methods are usually implemented by analyzing texts using neural networks such as semantic recognition. Whether each interactive text belongs to the same topic. Obviously, this method needs to obtain the text content of the member object, which is easy to touch the privacy of the member object, and the text analysis through the neural network requires a large amount of calculation, which consumes a lot of resources and takes a long time, making the interaction The efficiency of topic identification is not high.
发明内容Contents of the invention
本申请实施例提供一种互动话题定位和展示方法、装置、设备及存储介质,用于提升了互动话题定位的效率,且保护参与互动的成员对象的隐私。Embodiments of the present application provide a method, device, device, and storage medium for locating and displaying interactive topics, which are used to improve the efficiency of locating interactive topics and protect the privacy of member objects participating in the interaction.
一方面,提供一种互动话题定位方法,所述方法包括:On the one hand, a method for locating an interactive topic is provided, and the method includes:
在目标对象进入目标群组时,针对指定的历史时间段,获取所述目标群组关联的各个候选分桶各自对应的互动行为指标,其中,每个候选分桶包含:在所述历史时间段中一个子时间段内,所述目标群组产生的互动消息;When the target object enters the target group, for the specified historical time period, obtain the interactive behavior indicators corresponding to each candidate bucket associated with the target group, wherein each candidate bucket contains: In a sub-time period, the interactive messages generated by the target group;
从所述各个候选分桶中,确定出互动行为指标满足话题热度峰值条件的至少一个目标分桶;From each of the candidate buckets, determine at least one target bucket whose interaction behavior index satisfies the topic popularity peak condition;
针对所述至少一个目标分桶中各个目标分桶,基于产生时刻位于所述各个目标分桶的创建时刻之前的各个互动消息之间的相关性,分别确定所述至少一个目标分桶各自对应的互动话题的起始点位置;For each target bucket in the at least one target bucket, based on the correlation between the interaction messages whose generation time is before the creation time of each target bucket, respectively determine the respective corresponding The location of the starting point of the interactive topic;
基于确定的各个起始点位置,呈现所述目标对象对应的目标群组操作界面。Based on the determined starting point positions, a target group operation interface corresponding to the target object is presented.
一方面,提供一种互动话题展示方法,所述方法包括:On the one hand, a method for displaying interactive topics is provided, the method comprising:
响应于目标对象进入目标群组的触发操作,呈现所述目标对象对应的目标群组操作界面;其中,所述目标群组操作界面中显示有历史时间段内所述目标群组产生的互动消息;In response to the trigger operation of the target object entering the target group, a target group operation interface corresponding to the target object is presented; wherein, the target group operation interface displays interactive messages generated by the target group within a historical time period ;
响应于针对所述目标群组操作界面中话题跳转控件进行的触发操作,跳转至所述历史时间段内相应互动话题的起始点位置进行显示。In response to a trigger operation on the topic jump control in the target group operation interface, jump to the starting point of the corresponding interactive topic in the historical time period for display.
一方面,提供一种互动话题定位装置,所述装置包括:In one aspect, an interactive topic locating device is provided, the device comprising:
行为指标获取单元,用于在目标对象进入目标群组时,针对指定的历史时间段,获取所述目标群组关联的各个候选分桶各自对应的互动行为指标,其中,每个候选分桶包含:在所述历史时间段中一个子时间段内,所述目标群组产生的互动消息;The behavior indicator acquisition unit is used to acquire the interactive behavior indicators corresponding to each candidate bucket associated with the target group for a specified historical time period when the target object enters the target group, wherein each candidate bucket contains : an interactive message generated by the target group within a sub-time period in the historical time period;
话题峰值定位单元,用于从所述各个候选分桶中,确定出互动行为指标满足话题热度峰值条件的至少一个目标分桶;A topic peak positioning unit, configured to determine at least one target bucket whose interactive behavior index satisfies the topic heat peak condition from the candidate buckets;
起始点定位单元,用于针对所述至少一个目标分桶中各个目标分桶,基于产生时刻位于所述各个目标分桶的创建时刻之前的各个互动消息之间的相关性,分别确定所述至少一个目标分桶各自对应的互动话题的起始点位置;The starting point locating unit is configured to, for each target bucket in the at least one target bucket, determine the at least The starting point position of the interactive topic corresponding to each target bucket;
界面呈现单元,用于基于确定的各个起始点位置,呈现所述目标对象对应的目标群组操作界面。The interface presentation unit is configured to present the target group operation interface corresponding to the target object based on the determined starting point positions.
可选的,所述行为指标获取单元,还用于:Optionally, the behavior index acquisition unit is also used for:
接收目标群组内的成员对象发送的至少一条互动消息;receiving at least one interactive message sent by the member objects in the target group;
若当前时刻与上一子时间段的结束时刻之间的时间差,不大于分桶时间差阈值,则基于所述至少一条互动消息对应的互动行为指标,更新已创建的候选分桶中,最近一次创建的候选分桶的互动行为指标;If the time difference between the current moment and the end moment of the previous sub-time period is not greater than the bucketing time difference threshold, based on the interactive behavior index corresponding to the at least one interactive message, update the created candidate bucket, the most recently created The interactive behavior indicators of candidate buckets;
若所述时间差大于所述分桶时间差阈值,则新建候选分桶,并基于所述至少一条互动消息对应的互动行为指标,更新新建的候选分桶的互动行为指标。If the time difference is greater than the bucketing time difference threshold, create a candidate bucket, and update the interaction behavior indicator of the newly created candidate bucket based on the interaction behavior indicator corresponding to the at least one interactive message.
可选的,所述互动行为指标为互动消息数量;则所述话题峰值定位单元,具体用于:Optionally, the interactive behavior indicator is the number of interactive messages; the topic peak positioning unit is specifically used for:
基于所述各个候选分桶各自对应的互动消息数量,确定所述历史时间段中满足所述话题热度峰值条件时的互动消息数量阈值;Based on the number of interactive messages corresponding to each of the candidate buckets, determine the threshold of the number of interactive messages when the topic popularity peak condition is met in the historical time period;
针对所述各个候选分桶,分别执行如下操作:针对一个候选分桶,若其对应的互动消息数量大于所述互动消息数量阈值,则确定所述一个候选分桶为目标分桶。For each of the candidate buckets, perform the following operations: for a candidate bucket, if the number of interactive messages corresponding to it is greater than the threshold of the number of interactive messages, determine the candidate bucket as the target bucket.
可选的,所述话题峰值定位单元,具体用于:Optionally, the topic peak positioning unit is specifically used for:
基于所述各个候选分桶的互动消息数量,确定所述各个候选分桶的互动消息数量均值;Based on the number of interactive messages in each candidate bucket, determine the mean value of the number of interactive messages in each candidate bucket;
基于所述目标群组的群组业务类型,确定所述目标群组对应的话题峰值系数;Based on the group business type of the target group, determine the topic peak coefficient corresponding to the target group;
基于所述互动消息数量均值以及所述话题峰值系数,确定所述互动消息数量阈值。Based on the mean value of the number of interactive messages and the peak coefficient of the topic, the threshold of the number of interactive messages is determined.
可选的,所述互动行为指标为参与互动的成员对象数量;则所述话题峰值定位单元,具体用于:Optionally, the interactive behavior indicator is the number of member objects participating in the interaction; the topic peak positioning unit is specifically used for:
确定所述至少一条互动消息对应的成员对象中,所述最近一次创建的候选分桶未记录的成员对象数量;Determine the number of member objects that are not recorded in the last created candidate bucket among the member objects corresponding to the at least one interactive message;
在所述最近一次创建的候选分桶已记录的成员对象数量基础上,累加所述未记录的成员对象数量。On the basis of the number of member objects recorded in the last created candidate bucket, the number of unrecorded member objects is accumulated.
可选的,所述话题峰值定位单元,具体用于:Optionally, the topic peak positioning unit is specifically used for:
基于所述各个候选分桶各自已记录的成员对象数量,确定所述历史时间段中满足所述话题热度峰值条件时的成员对象数量阈值;Based on the number of member objects recorded in each candidate bucket, determine the threshold of the number of member objects when the topic heat peak condition is met in the historical time period;
针对所述各个候选分桶,分别执行如下操作:针对一个候选分桶,若已记录的成员对象数量大于所述成员对象数量阈值,则确定所述一个候选分桶为目标分桶。For each of the candidate buckets, the following operations are respectively performed: for a candidate bucket, if the number of recorded member objects is greater than the threshold of the number of member objects, determine the candidate bucket as the target bucket.
可选的,所述互动行为指标包括互动消息数量和成员对象数量;则所述话题峰值定位单元,具体用于:Optionally, the interactive behavior index includes the number of interactive messages and the number of member objects; the topic peak positioning unit is specifically used for:
针对所述各个候选分桶,分别执行如下操作:For each of the candidate buckets, perform the following operations:
针对一个候选分桶,确定其对应的互动消息数量是否大于互动消息数量阈值;For a candidate bucket, determine whether the corresponding interactive message quantity is greater than the interactive message quantity threshold;
若互动消息数量大于所述互动消息数量阈值,则确定已记录的成员对象数量是否大于成员对象数量阈值;If the number of interactive messages is greater than the threshold of the number of interactive messages, determine whether the number of recorded member objects is greater than the threshold of the number of member objects;
若所述成员对象数量大于所述成员对象数量阈值,则确定一个候选分桶为目标分桶。If the number of member objects is greater than the threshold of the number of member objects, determine a candidate bucket as the target bucket.
可选的,所述起始点定位单元,具体用于:Optionally, the starting point positioning unit is specifically used for:
针对所述各个目标分桶,分别执行如下操作:For each of the target buckets, perform the following operations:
针对一个目标分桶,从所述一个目标分桶中的产生时刻最早的互动消息开始,逐一确定每一条互动消息的产生时刻,与其上一条互动消息的产生时刻之间的时间差是否大于产生时间差阈值,直至出现时间差大于所述产生时间差阈值的目标互动消息为止;For a target bucket, starting from the interaction message with the earliest generation time in the target bucket, determine the generation time of each interaction message one by one, and whether the time difference between the generation time of the previous interaction message and the generation time of the previous interaction message is greater than the generation time difference threshold , until a target interaction message with a time difference greater than the generation time difference threshold appears;
将所述目标互动消息,确定为所述一个目标分桶对应的互动话题的起始点位置。The target interaction message is determined as the starting point of the interaction topic corresponding to the one target bucket.
可选的,所述起始点定位单元,具体用于:Optionally, the starting point positioning unit is specifically used for:
确定所述目标互动消息与所述产生时刻最早的互动消息之间的各个互动消息对应的成员对象,与所述一个目标分桶对应的成员对象之间的重合度;Determine the degree of overlap between the member objects corresponding to each interaction message between the target interaction message and the interaction message at the earliest generation time, and the member objects corresponding to the one target bucket;
若重合度不小于重合度阈值,则确定所述目标互动消息的前一条互动消息为所述一个目标分桶对应的互动话题的起始点位置。If the coincidence degree is not less than the coincidence degree threshold, it is determined that the previous interaction message of the target interaction message is the starting point of the interaction topic corresponding to the one target bucket.
可选的,所述装置还包括话题合并单元,用于:Optionally, the device also includes a topic merging unit, configured to:
针对确定的各个起始点位置,分别执行如下操作:For each determined starting point position, perform the following operations:
针对一个起始点位置,若所述一个起始点位置与相应的第一目标分桶之间的互动消息,已覆盖了第二目标分桶的互动消息,则将所述第一目标分桶与所述第二目标分桶对应的互动话题进行合并。For a starting point location, if the interaction message between the starting point location and the corresponding first target bucket has covered the interaction message of the second target bucket, then the first target bucket and the first target bucket Merge interactive topics corresponding to the second target bucket.
可选的,所述界面呈现单元,还用于:Optionally, the interface presentation unit is also used for:
响应于针对所述目标群组操作界面中话题跳转控件进行的操作,从当前互动话题区域,跳转至其他互动话题的起始点位置进行显示。In response to the operation performed on the topic jump control in the target group operation interface, jump from the current interactive topic area to the starting point of other interactive topics for display.
一方面,提供一种互动话题展示装置,所述装置包括:In one aspect, an interactive topic display device is provided, the device comprising:
操作界面切换单元,用于响应于目标对象进入目标群组的触发操作,呈现所述目标对象对应的目标群组操作界面;其中,所述目标群组操作界面中显示有历史时间段内所述目标群组产生的互动消息;An operation interface switching unit, configured to present a target group operation interface corresponding to the target object in response to a trigger operation that the target object enters the target group; wherein, the target group operation interface displays the Interactive messages generated by target groups;
话题跳转单元,用于响应于针对所述目标群组操作界面中话题跳转控件进行的触发操作,跳转至所述历史时间段内相应互动话题的起始点位置进行显示。The topic jump unit is configured to jump to the starting point of the corresponding interactive topic in the historical time period for display in response to a trigger operation on the topic jump control in the target group operation interface.
可选的,所述目标群组操作界面中显示有顶部跳转控件,所述顶部跳转控件用于跳转至所述历史时间段内的首条互动消息位置;Optionally, a top jump control is displayed in the target group operation interface, and the top jump control is used to jump to the position of the first interactive message in the historical time period;
则所述装置还包括消息跳转单元,用于:Then the device also includes a message jump unit for:
响应于针对所述顶部跳转控件进行的触发操作,跳转至所述历史时间段内的首条互动消息位置进行显示;并,In response to the trigger operation performed on the top jump control, jump to the first interactive message position in the historical time period for display; and,
在所述目标群组操作界面中显示所述话题跳转控件。The topic jump control is displayed on the target group operation interface.
可选的,所述话题跳转控件用于跳转至下一互动话题;Optionally, the topic jump control is used to jump to the next interactive topic;
则所述话题跳转单元,具体用于:Then the topic jump unit is specifically used for:
响应于针对所述话题跳转控件进行的触发操作,从当前互动消息位置,跳转至下一互动话题的起始点位置进行显示。In response to a trigger operation performed on the topic jump control, jump from the current interactive message position to the starting point of the next interactive topic for display.
可选的,所述话题跳转控件包括跳转至所述历史时间段内的各个互动话题的话题跳转子控件,每一话题跳转子控件对应一个互动话题;Optionally, the topic jump control includes topic jump sub-controls for jumping to each interactive topic in the historical time period, and each topic jump sub-control corresponds to an interactive topic;
则所述话题跳转单元,具体用于:Then the topic jump unit is specifically used for:
响应于针对各个话题跳转子控件中目标话题跳转子控件进行的触发操作,从当前互动消息位置,跳转至所述目标话题跳转子控件对应的互动话题的起始点位置进行显示。In response to a trigger operation on the target topic jump sub-control in each topic jump sub-control, jump from the current interactive message position to the starting point of the interactive topic corresponding to the target topic jump sub-control for display.
可选的,所述装置还包括话题定位单元,用于:Optionally, the device also includes a topic positioning unit, configured to:
针对指定的历史时间段,获取所述目标群组关联的各个候选分桶各自对应的互动行为指标,其中,每个候选分桶包含:在所述历史时间段中一个子时间段内,所述目标群组产生的互动消息;For a specified historical time period, obtain the interactive behavior indicators corresponding to each candidate bucket associated with the target group, wherein each candidate bucket includes: within a sub-time period in the historical time period, the Interactive messages generated by target groups;
从所述各个候选分桶中,确定出互动行为指标满足话题热度峰值条件的至少一个目标分桶;From each of the candidate buckets, determine at least one target bucket whose interaction behavior index satisfies the topic popularity peak condition;
针对所述至少一个目标分桶中各个目标分桶,基于产生时刻位于所述各个目标分桶的创建时刻之前的各个互动消息之间的相关性,分别确定所述至少一个目标分桶各自对应的互动话题的起始点位置。For each target bucket in the at least one target bucket, based on the correlation between the interaction messages whose generation time is before the creation time of each target bucket, respectively determine the respective corresponding The location of the starting point of the interactive topic.
一方面,提供一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述任一种方法的步骤。In one aspect, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and operable on the processor, and the processor implements the steps of any one of the above methods when executing the computer program.
一方面,提供一种计算机存储介质,其上存储有计算机程序指令,该计算机程序指令被处理器执行时实现上述任一种方法的步骤。In one aspect, a computer storage medium is provided, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the steps of any one of the above methods are implemented.
一方面,提供一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述任一种方法的步骤。In one aspect there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the steps of any one of the above-mentioned methods.
本申请实施例中,在目标对象进入目标群组时通过将历史时间段内的互动消息按照每个子时间段划分为多个候选分桶,并统计得到每个候选分桶的互动行为指标,从而在目标对象进入目标群组时,可以基于互动行为指标从各个候选分桶中,确定出满足话题热度峰值条件的目标分桶,每个目标分桶即为一个互动话题的热度峰值区域,进而通过每个目标分桶之前的互动消息的相关性,来定位到每个目标分桶对应的互动话题的起始点位置,以呈现相应的目标群组操作界面。可见,通过对群组内的互动行为进行分析,从而无需获取互动文本的内容,不会涉及到群组内成员对象的隐私,并且,通过互动行为分析,计算量远远小于通过互动文本进行识别的方法,进而所需计算资源更少,也能够更快速的进行互动话题的定位。In the embodiment of this application, when the target object enters the target group, the interactive messages in the historical time period are divided into multiple candidate buckets according to each sub-time period, and the interactive behavior indicators of each candidate bucket are obtained through statistics, so that When the target object enters the target group, the target bucket that meets the peak heat condition of the topic can be determined from each candidate bucket based on the interactive behavior index. Each target bucket is the peak heat area of an interactive topic, and then passed The correlation of the interactive messages before each target bucket is used to locate the starting point of the interactive topic corresponding to each target bucket, so as to present the corresponding target group operation interface. It can be seen that by analyzing the interactive behavior in the group, there is no need to obtain the content of the interactive text, and the privacy of the member objects in the group will not be involved. Moreover, through the analysis of the interactive behavior, the amount of calculation is far less than the identification through the interactive text The method requires less computing resources, and can locate interactive topics more quickly.
附图说明Description of drawings
为了更清楚地说明本申请实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments or related technologies. Obviously, the accompanying drawings in the following description are only For the embodiment of the application, those skilled in the art can also obtain other drawings according to the provided drawings without making creative efforts.
图1为本申请实施例提供的应用场景示意图;FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present application;
图2为本申请实施例提供的互动话题定位方法的流程示意图;FIG. 2 is a schematic flow diagram of an interactive topic locating method provided in an embodiment of the present application;
图3为本申请实施例提供的确定互动消息数量阈值的流程示意图;FIG. 3 is a schematic flowchart of determining the threshold of the number of interactive messages provided by the embodiment of the present application;
图4为本申请实施例提供的确定成员对象数量阈值的流程示意图;FIG. 4 is a schematic flowchart of determining the threshold of the number of member objects provided by the embodiment of the present application;
图5为本申请实施例提供的确定目标分桶的流程示意图;FIG. 5 is a schematic flow diagram of determining target bucketing provided by the embodiment of the present application;
图6为本申请实施例提供的统计候选分桶的互动行为指标的流程示意图;FIG. 6 is a schematic flow chart of counting interactive behavior indicators of candidate buckets provided by the embodiment of the present application;
图7为本申请实施例提供的聊天群组中聊天话题定位过程的流程示意图;FIG. 7 is a schematic flow diagram of a chat topic location process in a chat group provided by an embodiment of the present application;
图8为本申请实施例提供的互动话题展示方法的流程示意图;FIG. 8 is a schematic flowchart of an interactive topic display method provided by an embodiment of the present application;
图9a和图9b为本申请实施例提供的聊天群组页面的显示示意图;FIG. 9a and FIG. 9b are schematic display diagrams of the chat group page provided by the embodiment of the present application;
图10a和图10b为本申请实施例提供的互动话题定位方法的效果示意图;Fig. 10a and Fig. 10b are schematic diagrams of the effect of the interactive topic positioning method provided by the embodiment of the present application;
图11为本申请实施例提供的互动话题定位装置的一种结构示意图;FIG. 11 is a schematic structural diagram of an interactive topic locating device provided by an embodiment of the present application;
图12为本申请实施例提供的互动话题展示装置的一种结构示意图;FIG. 12 is a schematic structural diagram of an interactive topic display device provided by an embodiment of the present application;
图13为本申请实施例提供的计算机设备的一种结构示意图。FIG. 13 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚明白,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。In order to make the purpose, technical solutions and advantages of the application clearer, the technical solutions in the embodiments of the application will be clearly and completely described below in conjunction with the drawings in the embodiments of the application. Obviously, the described embodiments are only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application. In the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
为便于理解本申请实施例提供的技术方案,这里先对本申请实施例使用的一些关键名词进行解释:In order to facilitate the understanding of the technical solutions provided by the embodiments of the present application, some key terms used in the embodiments of the present application are first explained here:
群组:由多个成员对象组成,例如多人参与的群聊、直播或者游戏等。以群聊为例,每个成员对象都可以在群组内发送互动消息,而其发送的互动消息会被转发给群组内所有成员对象,所有成员对象均可查看。Group: Consists of multiple member objects, such as group chats, live broadcasts, or games where multiple people participate. Taking group chat as an example, each member object can send an interactive message in the group, and the interactive message sent by it will be forwarded to all member objects in the group, and all member objects can view it.
互动消息:指群组内的成员对象通过互动行为触发的消息,以群聊为例,则互动消息可以是指成员对象发送的群聊消息,可以包括文本、链接以及图片等。以直播为例,进入直播间的成员对象也可以在该直播间内进行互动,以触发互动消息,例如可以包括评论、点赞或者直播间内的其他互动行为等。Interactive message: refers to the message triggered by the member object in the group through interactive behavior. Taking group chat as an example, the interactive message can refer to the group chat message sent by the member object, which can include text, link and picture, etc. Taking a live broadcast as an example, members who enter the live broadcast room can also interact in the live broadcast room to trigger interactive messages, such as comments, likes, or other interactive behaviors in the live broadcast room.
分桶:按照一定的时长,对群组内的成员对象发送的互动消息进行分组,每一个组即为一个分桶。以群聊为例,可以按照每10分钟创建一个分桶,则一个分桶包括在每10分钟之内产生的所有互动消息。Bucketing: According to a certain duration, the interactive messages sent by the member objects in the group are grouped, and each group is a bucketing. Taking group chat as an example, a bucket can be created every 10 minutes, and a bucket includes all interactive messages generated within every 10 minutes.
话题热度峰值:在多成员对象参与群组中的互动,围绕一个互动话题,通常存在一个或者多个热度峰值时段,在该热度峰值时段内或参与人员较多,或互动行为较多。Topic popularity peak: In the interaction in a multi-member object participation group, there is usually one or more popularity peak periods around an interactive topic. During this popularity peak period, there may be more participants or more interactive behaviors.
下面对本申请实施例的设计思想进行简要介绍。The following briefly introduces the design idea of the embodiment of the present application.
在即时通讯应用中,存在多个成员对象参与互动的场景,例如:群聊场景,为了辅助成员对象快速了解互动内容,可以通过互动话题识别的方法来定位历史互动内容所对应的话题,从而帮助成员对象可以快速了解历史互动的内容。In instant messaging applications, there are scenarios where multiple member objects participate in the interaction, such as group chat scenarios. In order to assist member objects to quickly understand the interactive content, the method of interactive topic identification can be used to locate the topic corresponding to the historical interactive content, thereby helping Member objects provide a quick overview of the content of historical interactions.
但是,目前的互动话题识别的方法,通常是使用语义识别等神经网络的方式分析文本进行实现,这种方法需要获取成员对象的文本内容,容易触及到成员对象的隐私,并且,通过神经网络进行文本分析需要的计算量大,从而资源消耗较大,且需要较长的时长,使得互动话题识别的效率不高。此外,在文本互动过程中,文本可能分散在多个交互消息中,导致语义识别算法很难识别这种分散的句子,因此存在识别误差,并且,语义识别仅支持文本消息,对于含义更多的表情、链接等,语义识别算法通常无法识别。However, the current method of interactive topic recognition is usually implemented by analyzing the text using a neural network such as semantic recognition. This method needs to obtain the text content of the member object, which is easy to touch the privacy of the member object, and is carried out through the neural network. Text analysis requires a large amount of calculation, which consumes a lot of resources and takes a long time, which makes the efficiency of interactive topic identification not high. In addition, in the process of text interaction, the text may be scattered in multiple interactive messages, which makes it difficult for the semantic recognition algorithm to recognize such scattered sentences, so there are recognition errors. Moreover, semantic recognition only supports text messages, and it is difficult for semantic recognition algorithms to recognize more meaningful sentences. Emoticons, links, etc., are usually not recognized by semantic recognition algorithms.
考虑到当群聊核心话题出现时,会伴随着参与人数与消息量在单位时间内激增,通过该现象,可借此定位到核心话题。Considering that when the core topic of group chat appears, the number of participants and the volume of messages will increase sharply in a unit time. Through this phenomenon, the core topic can be located.
鉴于此,本申请实施例提供一种基于对象检索方法,在该方法中,通过直接对互动行为进行分析,从而脱离了文本分析,规避了对文本、图片、表情以及链接等多种消息形态带来的识别问题,并且但对于互动话题的定位而言,有着更简单的实现方式,且效果比较理想。In view of this, the embodiment of the present application provides an object-based retrieval method. In this method, by directly analyzing the interactive behavior, it is separated from the text analysis and avoids the need to carry out various information forms such as text, pictures, emoticons, and links. However, for the positioning of interactive topics, there is a simpler implementation method, and the effect is ideal.
具体而言,在目标对象进入目标群组时通过将历史时间段内的互动消息按照每个子时间段划分为多个候选分桶,并统计得到每个候选分桶的互动行为指标,从而在目标对象进入目标群组时,可以基于互动行为指标从各个候选分桶中,确定出满足话题热度峰值条件的目标分桶,每个目标分桶即为一个互动话题的热度峰值区域,进而通过每个目标分桶之前的互动消息的相关性,来定位到每个目标分桶对应的互动话题的起始点位置,以呈现相应的目标群组操作界面。可见,通过对群组内的互动行为进行分析,从而无需获取互动文本的内容,不会涉及到群组内成员对象的隐私,并且,通过互动行为分析,计算量远远小于通过互动文本进行识别的方法,进而所需计算资源更少,也能够更快速的进行互动话题的定位。Specifically, when the target object enters the target group, the interactive messages in the historical time period are divided into multiple candidate buckets according to each sub-time period, and the interactive behavior indicators of each candidate bucket are obtained through statistics, so that the target When the object enters the target group, the target bucket that satisfies the peak heat condition of the topic can be determined from each candidate bucket based on the interactive behavior indicators. Each target bucket is the peak heat area of an interactive topic, and then through each The relevance of the interactive messages before the target bucket is used to locate the starting point of the interactive topic corresponding to each target bucket, so as to present the corresponding target group operation interface. It can be seen that by analyzing the interactive behavior in the group, there is no need to obtain the content of the interactive text, and the privacy of the member objects in the group will not be involved. Moreover, through the analysis of the interactive behavior, the amount of calculation is far less than the identification through the interactive text The method requires less computing resources, and can locate interactive topics more quickly.
下面对本申请实施例的技术方案能够适用的应用场景做一些简单介绍,需要说明的是,以下介绍的应用场景仅用于说明本申请实施例而非限定。在具体实施过程中,可以根据实际需要灵活地应用本申请实施例提供的技术方案。The following briefly introduces the applicable application scenarios of the technical solutions of the embodiments of the present application. It should be noted that the application scenarios described below are only used to illustrate the embodiments of the present application and not limit them. In the specific implementation process, the technical solutions provided by the embodiments of the present application can be flexibly applied according to actual needs.
本申请实施例提供的方案可以适用于大多数多成员对象参与的互动场景中,例如群聊、直播或者游戏等场景。如图1所示,为本申请实施例提供的一种应用场景示意图,在该场景中,可以包括多个终端设备101和服务器102。The solutions provided by the embodiments of the present application can be applied to most interactive scenarios involving multi-member objects, such as group chat, live broadcast, or game scenarios. As shown in FIG. 1 , it is a schematic diagram of an application scenario provided by the embodiment of the present application. In this scenario, multiple
终端设备101例如可以为手机、平板电脑(PAD)、笔记本电脑、台式电脑、智能电视、智能车载设备以及智能可穿戴设备等。终端设备101可以安装有能够多成员对象参与的群组互动应用,例如即时通讯应用、直播应用或者游戏应用等。可以理解的是。本申请实施例涉及的应用可以是软件客户端,也可以是网页、小程序等客户端,服务器则是与软件或是网页、小程序等相对应的后台服务器,不限制客户端的具体类型。The
服务器102可以为终端设备101上安装的群组互动应用所对应的后台服务器,其可以为多成员对象在同一群组中参与互动提供后台服务。例如可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、即内容分发网络(Content Delivery Network,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器,但并不局限于此。The
本申请实施例的方法步骤可以通过终端设备101来执行,也可以通过服务器102来执行。以终端设备101执行为例,则终端设备101可以包括一个或多个处理器、存储器以及与交互I/O接口等。其中,终端设备101的存储器中可以存储本申请实施例提供的互动话题定位方法的程序指令,这些程序指令被处理器执行时能够用以实现本申请实施例提供的互动话题定位方法的步骤。The method steps in this embodiment of the present application may be executed by the
具体的,对于一个目标对象而言,当群组内的成员对象进行了互动行为,则该目标对象也会接收到互动消息,为了便于后续互动话题的定位,则可以按照时间段进行划分,对接收到的互动消息进行分桶管理,而当该目标对象进入群组(例如打开该群组的界面)时,则可以基于各个候选分桶的互动行为指标从各个候选分桶中,确定出满足话题热度峰值条件的目标分桶,每个目标分桶即为一个互动话题的热度峰值区域,进而通过每个目标分桶之前的互动消息的相关性,来定位到每个目标分桶对应的互动话题的起始点位置,以呈现相应的目标群组操作界面。Specifically, for a target object, when the member objects in the group perform interactive behaviors, the target object will also receive interactive messages. In order to facilitate the positioning of subsequent interactive topics, it can be divided according to time periods. The received interaction messages are managed in buckets, and when the target object enters the group (such as opening the interface of the group), it can be determined from each candidate bucket based on the interactive behavior indicators of each candidate bucket The target bucket of the topic heat peak condition, each target bucket is the heat peak area of an interactive topic, and then locate the interaction corresponding to each target bucket through the correlation of the interaction messages before each target bucket The starting point of the topic to present the corresponding target group operation interface.
以互动场景具体为群聊场景为例,多个用户使用自身拥有的即时通讯账号在其所在的群组A中进行群聊,以用户1为例,在用户1未打开群组A的界面时,群组A内的聊天过程也可以是持续进行的,即若群组内的其他用户在发送聊天消息,则仍然用户1仍然会收到聊天消息,在此过程中,则可以按照时间段进行划分,对接收到的聊天消息进行分桶管理,而当用户1进入群组A时,则会根据未读的互动消息所在的各个聊天消息分桶的消息数量或者参与用户数量等互动行为指标,从聊天消息分桶中选定聊天话题峰值区域,并基于这些聊天话题峰值区域往前回溯聊天消息,定位出各个聊天话题的起始点位置,进而为用户提供话题跳转的快捷方式,快速进入各个聊天话题,浏览聊天消息。Taking the interactive scenario as a group chat scene as an example, multiple users use their own instant messaging accounts to conduct group chats in their group A. Taking user 1 as an example, when user 1 does not open the interface of group A , the chat process in group A can also be continuous, that is, if other users in the group are sending chat messages, user 1 will still receive chat messages, and during this process, it can be carried out according to the time period Divide, manage the received chat messages in buckets, and when user 1 enters group A, it will divide the unread interactive messages according to the interactive behavior indicators such as the number of messages in each chat message or the number of participating users, etc. Select the chat topic peak areas from the chat message buckets, and trace back the chat messages based on these chat topic peak areas to locate the starting point of each chat topic, and then provide users with shortcuts to jump topics and quickly enter each chat topic. Chat topics, browse chat messages.
各个终端设备101和服务器102之间均可以通过一个或者多个网络103进行直接或间接的通信连接。该网络103可以是有线网络,也可以是无线网络,例如无线网络可以是移动蜂窝网络,或者可以是无线保真(Wireless-Fidelity,WIFI)网络,当然还可以是其他可能的网络,本发明实施例对此不做限制。Each
在一种可能的应用场景中,本申请实施例中涉及的相关数据(如互动话题以及互动消息哈希值等)以及模型参数可以采用云存储(cloud storage)技术进行存储。云存储是在云计算概念上延伸和发展出来的一个新的概念,分布式云存储系统是指通过集群应用、网格技术以及分布存储文件系统等功能,将网络中大量各种不同类型的存储设备(或称存储节点)通过应用软件或应用接口集合起来协同工作,共同对外提供数据存储和业务访问功能的一个存储系统。In a possible application scenario, relevant data (such as interactive topics and interactive message hash values, etc.) and model parameters involved in the embodiments of the present application may be stored using cloud storage technology. Cloud storage is a new concept extended and developed from the concept of cloud computing. Distributed cloud storage system refers to a large number of different types of storage in the network through functions such as cluster application, grid technology and distributed storage file system. Devices (or storage nodes) work together through application software or application interfaces to jointly provide a storage system with data storage and service access functions.
在一种可能的应用场景中,为了便于降低通信时延,可以在各个地区部署服务器102,或为了负载均衡,可以由不同的服务器102分别去服务不同地区的终端设备101,例如,终端设备101位于地点a,与服务地点a的服务器102建立通信连接,终端设备101位于地点b,与服务地点b的服务器102建立通信连接,多个服务器102组成一数据共享系统,通过区块链实现数据的共享。In a possible application scenario, in order to reduce communication delay,
对于数据共享系统中的每个服务器102,均具有与该服务器102对应的节点标识,数据共享系统中的每个服务器102均可以存储有数据共享系统中其他服务器102的节点标识,以便后续根据其他服务器102的节点标识,将生成的区块广播至数据共享系统中的其他服务器102。每个服务器102中可维护一个节点标识列表,将服务器102名称和节点标识对应存储至该节点标识列表中。其中,节点标识可为网络之间互联的协议(Internet Protocol,IP)地址以及其他任一种能够用于标识该节点的信息。For each
当然,本申请实施例提供的方法并不限用于图1所示的应用场景中,还可以用于其他可能的应用场景,本申请实施例并不进行限制。对于图1所示的应用场景的各个设备所能实现的功能将在后续的方法实施例中一并进行描述,在此先不过多赘述。Of course, the method provided in the embodiment of the present application is not limited to the application scenario shown in FIG. 1 , and can also be used in other possible application scenarios, which is not limited by the embodiment of the present application. The functions that can be realized by each device in the application scenario shown in FIG. 1 will be described together in subsequent method embodiments, and will not be repeated here.
本申请各实施例中提供的方法流程,可以通过图1中的服务器102或者终端设备101来执行,也可以由服务器102和终端设备101共同执行,这里主要以终端设备101来执行为例进行介绍。The method flow provided in each embodiment of the present application can be executed by the
参见图2所示,为本申请实施例提供的互动话题定位方法的流程示意图。Referring to FIG. 2 , it is a schematic flow chart of the interactive topic locating method provided by the embodiment of the present application.
步骤201:在目标对象进入目标群组时,针对指定的历史时间段,获取目标群组关联的各个候选分桶各自对应的互动行为指标,其中,每个候选分桶包含:在历史时间段中一个子时间段内,目标群组产生的互动消息。Step 201: When the target object enters the target group, for the specified historical time period, obtain the interactive behavior indicators corresponding to each candidate bucket associated with the target group, wherein each candidate bucket includes: in the historical time period Interaction messages generated by the target group within a sub-time period.
本申请实施例中,每个群组可以包括多个成员对象,而每个成员对象也可以属于多个群组,为了方便叙述,这里具体以一个群组,即上述的目标群组为例进行介绍,当一个成员对象同属于多个群组时,则每个群组所执行的过程可以是类似,因而也可参见后续的介绍。In the embodiment of the present application, each group can include multiple member objects, and each member object can also belong to multiple groups. For the convenience of description, here is a specific group, that is, the above-mentioned target group as an example. Introduction, when a member object belongs to multiple groups, the process performed by each group may be similar, so please refer to the subsequent introduction.
在一种实施方式中,目标对象进入目标群组可以是指打开目标群组的操作界面的过程,即目标对象已经加入目标群组,成为了目标群组中的一个成员对象,则目标对象可以进入目标群组的操作界面查看其它成员对象发送的互动消息,也可以进行互动操作,以向其他成员对象发送互动消息。In one embodiment, the target object entering the target group may refer to the process of opening the operation interface of the target group, that is, the target object has joined the target group and has become a member object in the target group, then the target object can Enter the operation interface of the target group to view the interactive messages sent by other member objects, and also perform interactive operations to send interactive messages to other member objects.
在另一种实施方式中,目标对象进入目标群组还可以是指目标对象加入目标群组,即目标对象通过任意的加群方式加入目标群组,成为目标群组的成员对象。In another implementation manner, the target object entering the target group may also refer to the target object joining the target group, that is, the target object joins the target group through any way of adding groups, and becomes a member object of the target group.
在实际应用中,指定的历史时间段可以是指目标对象上一次离开目标群组的操作界面到当前时刻之间的时间段,那么历史时间段内的互动消息实质上即为目标对象未读的互动消息;或者,指定的历史时间段还可以是指目标对象加入目标群组之后的任意时间段;或者,指定的历史时间段还可以是目标对象在加入目标群组之前的指定时长的时间段。当然,指定的历史时间段还可以为目标对象指定的任意时间段,本申请实施例对此不做限制。In practical applications, the specified historical time period may refer to the time period between the last time the target object left the operation interface of the target group and the current moment, then the interactive messages in the historical time period are essentially the unread messages of the target object. Interactive messages; or, the specified historical time period can also refer to any time period after the target object joined the target group; or, the specified historical time period can also be a specified period of time before the target object joined the target group . Of course, the specified historical time period may also be any time period specified by the target object, which is not limited in this embodiment of the present application.
本申请实施例中,每个候选分桶包含在历史时间段中一个子时间段内目标群组产生的互动消息,每个候选分桶对应一个子时间段,不同子时间段的时长可以相同,也可以不同。此外,子时间段的时长也可以根据实际需求进行设置,以每个子时间段的时长相同为例,可以将子时间段的时长设置为10分钟,即每10分钟创建一个候选分桶,每个候选分桶用于记载每10分钟内产生的互动消息。当然,子时间段的时长还可以为其他可能的值,本申请实施例对此不做限制。In the embodiment of this application, each candidate bucket contains interactive messages generated by the target group in a sub-time period in the historical time period, and each candidate bucket corresponds to a sub-time period, and the duration of different sub-time periods can be the same. It can also be different. In addition, the duration of the sub-time period can also be set according to actual needs. Taking the same duration of each sub-time period as an example, the duration of the sub-time period can be set to 10 minutes, that is, a candidate bucket is created every 10 minutes, and each Candidate buckets are used to record interactive messages generated within every 10 minutes. Certainly, the duration of the sub-time period may also be other possible values, which is not limited in this embodiment of the present application.
本申请实施例中,互动行为指标为候选分桶中的互动行为产生的互动消息的量化指标参数,能够用于表征一个候选分桶中话题讨论热度的程度高低。例如互动行为指标可以为互动消息数量,当一个候选分桶的互动消息数量越多,则表明该候选分桶为一个互动话题的话题峰值区域的概率越高,相反的,当一个候选分桶的互动消息数量越少,则表明该候选分桶为一个互动话题的话题峰值区域的概率越低;或者,动行为指标还可以为参与互动的成员对象数量,当一个候选分桶中参与互动的成员对象数量越多,则表明该候选分桶为一个互动话题的话题峰值区域的概率越高,相反的,当一个候选分桶中参与互动的成员对象数量越少,则表明该候选分桶为一个互动话题的话题峰值区域的概率越低。当然,互动行为指标可以为还可以为其他可能的量化指标,本申请实施例对此不做限制。In the embodiment of the present application, the interactive behavior index is a quantitative index parameter of the interactive message generated by the interactive behavior in the candidate bucket, which can be used to represent the degree of hotness of topic discussion in a candidate bucket. For example, the interactive behavior indicator can be the number of interactive messages. When the number of interactive messages in a candidate bucket is larger, it indicates that the candidate bucket is a topic peak area of an interactive topic. On the contrary, when a candidate bucket has The smaller the number of interactive messages, the lower the probability that the candidate bucket is the topic peak area of an interactive topic; or, the action behavior index can also be the number of member objects participating in the interaction, when the member objects participating in the interaction in a candidate bucket The larger the number of objects, the higher the probability that the candidate bucket is a topic peak area of an interactive topic. The probability of the topic peak area of the interactive topic is lower. Certainly, the interactive behavior index may be other possible quantitative indexes, which is not limited in this embodiment of the present application.
在一种实施方式中,可以在目标对象进入目标群组时,对历史时间段内的互动消息按照子时间段的时长进行统计,每个子时间段对应一个候选分桶,从而获得各个候选分桶对应的互动行为指标。In one embodiment, when the target object enters the target group, the interactive messages in the historical time period can be counted according to the duration of the sub-time period, and each sub-time period corresponds to a candidate bucket, so as to obtain each candidate bucket Corresponding interactive behavior indicators.
在另一种实施方式中,还可以预先统计每个候选分桶的互动行为指标,并进行存储,那么在目标对象进入目标群组时,则可以从本地存储读取各个候选分桶的互动行为指标。In another implementation, the interactive behavior indicators of each candidate bucket can also be counted in advance and stored, then when the target object enters the target group, the interactive behavior of each candidate bucket can be read from the local storage index.
步骤202:从各个候选分桶中,确定出互动行为指标满足话题热度峰值条件的至少一个目标分桶。Step 202: From each candidate bucket, determine at least one target bucket whose interaction behavior index satisfies the peak condition of topic popularity.
本申请实施例中,目标分桶满足话题热度峰值条件,即目标分桶相当于时一个互动话题的话题峰值区域,可以通过互动行为指标来进行判断,下面分别就不同的互动行为指标分别进行介绍。In the embodiment of this application, the target bucketing meets the topic heat peak condition, that is, the target bucketing is equivalent to the topic peak area of an interactive topic, which can be judged by the interactive behavior indicators. The following will introduce different interactive behavior indicators respectively. .
(1)互动行为指标为互动消息数量(1) The interactive behavior indicator is the number of interactive messages
当互动行为指标为互动消息数量时,则可以将话题热度峰值条件设定为候选分桶的互动消息数量需大于互动消息数量阈值。When the interactive behavior indicator is the number of interactive messages, the topic popularity peak condition can be set as the number of interactive messages in candidate buckets must be greater than the threshold of the number of interactive messages.
在一种实施方式中,互动消息数量阈值可以设置为较大的固定值,即若候选分桶对应的互动消息数量超过设置的固定值时,则认为该候选分桶满足话题热度峰值条件。In an implementation manner, the threshold of the number of interactive messages may be set to a larger fixed value, that is, if the number of interactive messages corresponding to a candidate bucket exceeds the set fixed value, the candidate bucket is considered to meet the topic popularity peak condition.
例如,可以将话题热度峰值条件设定为互动消息数量超过200条,则当候选分桶的互动消息数量超过200条时,则该候选分桶可以被确定为目标分桶。For example, the peak popularity condition of a topic can be set to be that the number of interactive messages exceeds 200, then when the number of interactive messages in a candidate bucket exceeds 200, the candidate bucket can be determined as the target bucket.
在另一种实施方式中,还可以根据各个候选分桶的具体互动消息数量调整互动消息数量阈值的具体值,使得更为灵活的确定历史时间段内的话题峰值区域。具体而言,可以首先基于各个候选分桶各自对应的互动消息数量,确定历史时间段中满足话题热度峰值条件时的互动消息数量阈值,也就是首先确定具体将互动消息数量为多少定义为话题热度峰值条件。In another implementation manner, the specific value of the interactive message quantity threshold may be adjusted according to the specific interactive message quantity of each candidate bucket, so that the topic peak area in the historical time period can be more flexibly determined. Specifically, based on the number of interactive messages corresponding to each candidate bucket, determine the threshold of the number of interactive messages in the historical time period when the topic heat peak condition is met, that is, first determine how many interactive messages are defined as the topic heat peak conditions.
参见图3所示,为确定互动消息数量阈值的流程示意图。Referring to FIG. 3 , it is a schematic flowchart of determining the threshold of the number of interactive messages.
S30:基于各个候选分桶的互动消息数量,确定各个候选分桶的互动消息数量均值。S30: Based on the number of interactive messages in each candidate bucket, determine an average value of the number of interactive messages in each candidate bucket.
例如,历史时间段内记录了X个候选分桶,其各自对应的互动消息数量分别为M1、M2、M3、……、Mx,则互动消息数量均值N可以为:For example, X candidate buckets are recorded in the historical time period, and the corresponding numbers of interactive messages are respectively M1, M2, M3, ..., Mx, then the average number of interactive messages N can be:
S31:基于目标群组的群组业务类型,确定目标群组对应的话题峰值系数。S31: Based on the group business type of the target group, determine a topic peak coefficient corresponding to the target group.
本申请实施例中,考虑到不同业务类型的群组,互动消息数量差异是比较大的,因而可以考虑业务类型,为不同的群组分配不同的话题峰值系统,从而更为准确的定位不同业务类型的群组中互动话题位置。In the embodiment of this application, considering the groups of different business types, the difference in the number of interactive messages is relatively large, so it is possible to consider the business type and assign different topic peak systems to different groups, so as to more accurately locate different businesses The position of the interactive topic in the group of the type.
S32:基于互动消息数量均值以及话题峰值系数,确定互动消息数量阈值。S32: Determine the threshold value of the number of interactive messages based on the mean value of the number of interactive messages and the peak coefficient of the topic.
具体的,互动消息数量阈值例如可以为互动消息数量均值和话题峰值系数的乘积,即互动消息数量阈值N’可以表示如下:Specifically, the threshold of the number of interactive messages may be, for example, the product of the mean value of the number of interactive messages and the peak coefficient of the topic, that is, the threshold N' of the number of interactive messages may be expressed as follows:
N’=N*YN'=N*Y
其中,Y为话题峰值系数,例如可以取值为300%,根据实际业务进行调整。Wherein, Y is a topic peak coefficient, for example, it may take a value of 300%, and it is adjusted according to actual services.
当确定互动消息数量阈值之后,则针对各个候选分桶而言,当一个候选分桶对应的互动消息数量大于互动消息数量阈值时,则确定该候选分桶为目标分桶,即该候选分桶为被定义为一个话题讨论的峰值区域。After determining the threshold of the number of interactive messages, for each candidate bucket, when the number of interactive messages corresponding to a candidate bucket is greater than the threshold of the number of interactive messages, the candidate bucket is determined to be the target bucket, that is, the candidate bucket is defined as the peak area of discussion for a topic.
(2)互动行为指标为参与互动的成员对象数量(2) The interactive behavior indicator is the number of member objects participating in the interaction
当互动行为指标为成员对象数量时,则可以将话题热度峰值条件设定为候选分桶的成员对象数量需大于成员对象数量阈值。When the interactive behavior indicator is the number of member objects, the topic popularity peak condition can be set as the number of member objects in the candidate bucket must be greater than the threshold of the number of member objects.
在一种实施方式中,成员对象数量阈值可以设置为较大的固定值,即若候选分桶对应的成员对象数量超过设置的固定值时,则认为该候选分桶满足话题热度峰值条件。In an implementation manner, the threshold of the number of member objects can be set to a larger fixed value, that is, if the number of member objects corresponding to a candidate bucket exceeds the set fixed value, the candidate bucket is considered to meet the topic popularity peak condition.
例如,可以将话题热度峰值条件设定为成员对象数量超过5个,则当候选分桶的成员对象数量超过5个时,则该候选分桶可以被确定为目标分桶。For example, the topic popularity peak condition can be set as the number of member objects exceeds 5, then when the number of member objects in a candidate bucket exceeds 5, the candidate bucket can be determined as the target bucket.
在另一种实施方式中,还可以根据各个候选分桶的具体成员对象数量调整成员对象数量阈值的具体值,使得更为灵活的确定历史时间段内的话题峰值区域。具体而言,可以首先基于各个候选分桶各自对应的成员对象数量,确定历史时间段中满足话题热度峰值条件时的成员对象数量阈值,也就是首先确定具体将成员对象数量为多少定义为话题热度峰值条件。In another implementation manner, the specific value of the threshold of the number of member objects may be adjusted according to the number of specific member objects of each candidate bucket, so that the topic peak area in the historical time period can be more flexibly determined. Specifically, based on the number of member objects corresponding to each candidate bucket, determine the threshold of the number of member objects when the topic heat peak condition is met in the historical time period, that is, first determine how many member objects are defined as the topic heat peak conditions.
参见图4所示,为确定成员对象数量阈值的流程示意图。Referring to FIG. 4 , it is a schematic flowchart of determining the threshold of the number of member objects.
S40:基于各个候选分桶的成员对象数量,确定各个候选分桶的成员对象数量均值。S40: Based on the number of member objects in each candidate bucket, determine an average value of the number of member objects in each candidate bucket.
例如,历史时间段内记录了X个候选分桶,其各自对应的成员对象数量分别为P1、P2、P3、……、Px,则成员对象数量均值Z可以为:For example, X candidate buckets are recorded in the historical time period, and the number of member objects corresponding to each is P1, P2, P3, ..., Px, then the mean value Z of the number of member objects can be:
S41:基于目标群组的群组业务类型,确定目标群组对应的话题峰值系数。S41: Based on the group service type of the target group, determine a topic peak coefficient corresponding to the target group.
S42:基于成员对象数量均值以及话题峰值系数,确定成员对象数量阈值。S42: Determine the threshold of the number of member objects based on the mean value of the number of member objects and the peak coefficient of the topic.
具体的,成员对象数量阈值例如可以为成员对象数量均值和话题峰值系数的乘积,即成员对象数量阈值Z’可以表示如下:Specifically, the threshold of the number of member objects can be, for example, the product of the mean value of the number of member objects and the peak coefficient of the topic, that is, the threshold Z' of the number of member objects can be expressed as follows:
Z’=Z*YZ'=Z*Y
当确定成员对象数量阈值之后,则针对各个候选分桶而言,当一个候选分桶对应的成员对象数量大于成员对象数量阈值时,则确定该候选分桶为目标分桶,即该候选分桶为被定义为一个话题讨论的峰值区域。After determining the threshold of the number of member objects, for each candidate bucket, when the number of member objects corresponding to a candidate bucket is greater than the threshold of the number of member objects, the candidate bucket is determined to be the target bucket, that is, the candidate bucket is defined as the peak area of discussion for a topic.
(3)互动行为指标包括互动消息数量和成员对象数量(3) Interactive behavior indicators include the number of interactive messages and the number of member objects
本申请实施例中,可以通过基于多种参数设置话题峰值条件,以提升话题峰值区域确定的准确性。In the embodiment of the present application, the topic peak condition can be set based on various parameters to improve the accuracy of determining the topic peak area.
具体的,可以以互动消息数量为依据确定目标分桶,并通过成员对象数量作为验证,当两者均满足时,则确定一个分桶确为话题峰值区域。Specifically, the target bucket can be determined on the basis of the number of interactive messages, and the number of member objects can be used as a verification. When both are satisfied, it is determined that a bucket is indeed a topic peak area.
参见图5所示,为确定目标分桶的流程示意图。这里以一个候选分桶A为例,介绍确定该候选分桶A是否为目标分桶的过程。Referring to FIG. 5 , it is a schematic flow diagram of determining target bucketing. Here, a candidate bucket A is taken as an example to introduce the process of determining whether the candidate bucket A is a target bucket.
S50:针对候选分桶A,确定其对应的互动消息数量是否大于互动消息数量阈值。S50: For candidate bucket A, determine whether the number of interactive messages corresponding to it is greater than a threshold for the number of interactive messages.
S51:若互动消息数量大于互动消息数量阈值,即步骤S50的确定结果为是,则确定候选分桶A已记录的成员对象数量是否大于成员对象数量阈值。S51: If the number of interactive messages is greater than the threshold of the number of interactive messages, that is, the determination result of step S50 is Yes, determine whether the number of member objects recorded in the candidate bucket A is greater than the threshold of the number of member objects.
S52:若成员对象数量大于成员对象数量阈值,即步骤S51的确定结果为是,则确定候选分桶A为目标分桶。S52: If the number of member objects is greater than the threshold of the number of member objects, that is, the determination result of step S51 is Yes, determine the candidate bucket A as the target bucket.
S53:若互动消息数量不大于互动消息数量阈值,或者若成员对象数量不大于成员对象数量阈值,即步骤S50或者步骤S51的确定结果为否,则确定候选分桶A并非目标分桶。S53: If the number of interactive messages is not greater than the threshold of the number of interactive messages, or if the number of member objects is not greater than the threshold of the number of member objects, that is, the determination result of step S50 or step S51 is No, determine that the candidate bucket A is not the target bucket.
步骤203:针对至少一个目标分桶中各个目标分桶,基于产生时刻位于各个目标分桶的创建时刻之前的各个互动消息之间的相关性,分别确定至少一个目标分桶各自对应的互动话题的起始点位置。Step 203: For each target bucket in at least one target bucket, based on the correlation between the interaction messages whose generation time is before the creation time of each target bucket, respectively determine the interaction topics corresponding to at least one target bucket The starting point position.
本申请实施例中,由于每个目标分桶的起始点位置的确定过程类似,因此这里以一个目标分桶为例进行介绍。In the embodiment of the present application, since the determination process of the starting point position of each target bucket is similar, one target bucket is taken as an example for introduction here.
在一种实施方式中,针对目标分桶B,从目标分桶B中的产生时刻最早的互动消息开始,逐一确定每一条互动消息的产生时刻,与其上一条互动消息的产生时刻之间的时间差是否大于产生时间差阈值,直至出现时间差大于产生时间差阈值的目标互动消息为止,进而将目标互动消息的前一条互动消息,确定为一个目标分桶对应的互动话题的起始点位置。In one embodiment, for the target bucket B, starting from the interaction message with the earliest generation time in the target bucket B, the time difference between the generation time of each interaction message and the generation time of the previous interaction message is determined one by one Whether it is greater than the generation time difference threshold, until a target interaction message with a time difference greater than the generation time difference threshold appears, and then determine the previous interaction message of the target interaction message as the starting point position of the interaction topic corresponding to a target bucket.
也就是说,从目标分桶B中第一条互动消息开始,往前回溯上一条消息,若上一条互动消息与第一条互动消息的时间差不大于产生时间差阈值,则继续选择上一条互动消息的前一条互动消息进行确定,直至出现时间差大于产生时间差阈值的目标互动消息。That is to say, starting from the first interactive message in the target bucket B, go back to the previous message, if the time difference between the previous interactive message and the first interactive message is not greater than the generation time difference threshold, continue to select the previous interactive message The previous interactive message is determined until a target interactive message with a time difference greater than the generation time difference threshold appears.
上述的至少一个目标分桶均可以通过上述方式确定出目标互动消息。The above-mentioned at least one target bucket can be used to determine the target interaction message in the above-mentioned manner.
在具体应用时,产生时间差阈值可以实验结果进行调整,例如可以为10分钟,当然,也可以为其他可能的值,本申请实施例对此不进行限制。In a specific application, the generation time difference threshold can be adjusted according to experimental results, for example, it can be 10 minutes, and of course, it can also be other possible values, which are not limited in this embodiment of the present application.
在另一种实施方式中,在通过上述方式确定出目标互动消息之后,还可以通过验证成员对象的重合度,来加以验证前面的互动话题与目标分桶B是否吻合。In another implementation manner, after the target interaction message is determined in the above manner, it may also be verified whether the previous interaction topic matches the target bucket B by verifying the coincidence degree of the member objects.
具体的,可以确定目标互动消息与目标分桶B的第一条互动消息之间的各个互动消息对应的成员对象,与目标分桶B对应的成员对象之间的重合度,若重合度不小于重合度阈值,则确定目标互动消息的前一条互动消息为目标分桶B对应的互动话题的起始点位置。Specifically, it is possible to determine the degree of overlap between the member objects corresponding to each interaction message between the target interaction message and the first interaction message of the target bucket B, and the member objects corresponding to the target bucket B, if the coincidence degree is not less than The overlapping degree threshold determines that the previous interactive message of the target interactive message is the starting point of the interactive topic corresponding to the target bucket B.
例如,设置重合度阈值为50%,目标互动消息与目标分桶B的第一条互动消息之间的各个互动消息对应的成员对象为成员对象2~4,目标分桶B对应的成员对象为成员对象2~5,其存在3个重合的成员对象,重合度不小于50%,则确定目标互动消息确实为目标分桶B对应的互动话题的起始点位置,否则可以从目标互动消息往后回溯,确定出重合度满足条件的互动消息,将其作为起始点位置。For example, if the overlap threshold is set to 50%, the member objects corresponding to each interaction message between the target interaction message and the first interaction message in target bucket B are member objects 2 to 4, and the member objects corresponding to target bucket B are For member objects 2 to 5, there are 3 overlapping member objects, and the coincidence degree is not less than 50%, then it is determined that the target interaction message is indeed the starting point of the interaction topic corresponding to the target bucket B, otherwise you can start from the target interaction message Backtracking, determine the interactive message whose coincidence degree satisfies the condition, and use it as the starting point position.
本申请实施例中,还考虑到有可能会出现将一个互动话题切分为多个话题切片的情况,也就是说多个目标分桶有可能同属于相同的互动话题,那么则可以这些话题进行合并。In the embodiment of this application, it is also considered that an interactive topic may be divided into multiple topic slices, that is to say, multiple target buckets may belong to the same interactive topic, then these topics can be merge.
具体的,在确定起始点位置之后,若该起始点位置与相应的第一目标分桶之间的互动消息,已覆盖了第二目标分桶的互动消息,则第一目标分桶与第二目标分桶应属于同一互动话题,则可以将第一目标分桶与第二目标分桶对应的互动话题进行合并。Specifically, after determining the starting point position, if the interaction message between the starting point position and the corresponding first target bucket has covered the interaction message of the second target bucket, then the first target bucket and the second target bucket The target buckets should belong to the same interactive topic, then the interactive topics corresponding to the first target bucket and the second target bucket can be merged.
当然,在实际应用时,若是该起始点位置与相应的第一目标分桶之间的互动消息,与第二目标分桶的互动消息的重合度超过一定的阈值,也可以认为第一目标分桶与第二目标分桶应属于同一互动话题,也可以将第一目标分桶与第二目标分桶对应的互动话题进行合并。Of course, in practical applications, if the coincidence degree of the starting point position with the interaction message between the corresponding first target bucket and the interaction message with the second target bucket exceeds a certain threshold, it can also be considered that the first target bucket The bucket and the second target bucket should belong to the same interactive topic, and the interactive topics corresponding to the first target bucket and the second target bucket can also be merged.
步骤204:基于确定的各个起始点位置,呈现目标对象对应的目标群组操作界面。Step 204: Present the target group operation interface corresponding to the target object based on the determined starting point positions.
本申请实施例中,确定各个互动话题的起始点位置之后,则在目标对象进入目标群组后,则可以进行相应的话题提示。In the embodiment of the present application, after the starting point position of each interactive topic is determined, after the target object enters the target group, a corresponding topic prompt can be performed.
在一种实施方式中,可以在目标群组操作界面上直接显示各个互动话题的相关信息,例如显示各个互动话题的起始点位置。In an implementation manner, relevant information of each interactive topic may be directly displayed on the target group operation interface, for example, the starting point position of each interactive topic may be displayed.
在一种实施方式中,在目标对象进入目标群组后,可以显示跳转至产生时刻距离当前时刻最久的互动消息的跳转控件,当通过该跳转控件跳转至最顶部时,则可以显示话题跳转控件,响应于针对目标群组操作界面中话题跳转控件进行的操作,从当前互动话题区域,跳转至其他互动话题的起始点位置进行显示。例如,该话题跳转控件可以用于跳转至下一话题的起始点位置,则对该控件后,则跳转至当前位置的下一互动话题的起始点位置进行显示。In one embodiment, after the target object enters the target group, a jump control that jumps to the interactive message whose generation time is the longest from the current time can be displayed, and when jumping to the top through the jump control, then The topic jump control can be displayed, and in response to the operation on the topic jump control in the target group operation interface, jump from the current interactive topic area to the starting point of other interactive topics for display. For example, the topic jump control can be used to jump to the starting point of the next topic, and after the control, jump to the starting point of the next interactive topic at the current position for display.
本申请实施例中,在获取互动行为指标之前,可以在接收互动消息的同时,对互动行为指标进行统计,参见图6所示,为统计候选分桶的互动行为指标的流程示意图,该过程可以是在上述步骤201之前进行的,其具体可以包括如下的步骤S1~S4。In the embodiment of the present application, before obtaining the interactive behavior indicators, the interactive behavior indicators can be counted while receiving the interactive messages, as shown in Figure 6, which is a schematic flow chart of counting the interactive behavior indicators of candidate buckets, and the process can be It is performed before the
S60:接收目标群组内的成员对象发送的至少一条互动消息。S60: Receive at least one interactive message sent by member objects in the target group.
本申请实施例中,当目标群组内有成员对象发生互动行为时,则服务器会将相应的互动消息下发至目标群组内的每个成员对象对应的客户端,相应的,客户端则会接收到这些互动消息。In the embodiment of this application, when there is an interaction between member objects in the target group, the server will send the corresponding interaction message to the client corresponding to each member object in the target group, and the client will then will receive these interactive messages.
S61:确定当前时刻与上一子时间段的结束时刻之间的时间差是否不大于分桶时间差阈值。S61: Determine whether the time difference between the current moment and the end moment of the previous sub-time period is not greater than the bucketing time difference threshold.
S62:若当前时刻与上一子时间段的结束时刻之间的时间差,不大于分桶时间差阈值,即步骤S2的确定结果为否,则基于至少一条互动消息对应的互动行为指标,更新已创建的候选分桶中,最近一次创建的候选分桶的互动行为指标。S62: If the time difference between the current moment and the end moment of the previous sub-time period is not greater than the bucketing time difference threshold, that is, the determination result of step S2 is no, update the created interactive behavior index based on at least one interactive message Among the candidate buckets of , the interaction behavior indicator of the last created candidate bucket.
以按照每个子时间段10分钟为例,将接收到的消息在目标群组按照每10分钟一个候选分桶进行累计统计。那么在接收到上述至少一条互动消息时,则需要判断需要将其累计到哪个候选分桶,从而可以判断当前时刻与上一子时间段的结束时刻之间的时间差是否不大于分桶时间差阈值,也就是判断当前分桶(最近一次创建的候选分桶)的时长是否超过10分钟。Taking 10 minutes per sub-time period as an example, the received messages are accumulated and counted according to one candidate bucket every 10 minutes in the target group. Then, when at least one of the above interaction messages is received, it is necessary to determine which candidate bucket it needs to be accumulated into, so as to determine whether the time difference between the current moment and the end moment of the previous sub-time period is not greater than the bucketing time difference threshold, That is, it is judged whether the duration of the current bucket (the candidate bucket created last time) exceeds 10 minutes.
具体的,若未超过10分钟,则仍然在最近一次创建的候选分桶进行累计,即至少一条互动消息对应的互动行为指标,更新最近一次创建的候选分桶的互动行为指标。Specifically, if it does not exceed 10 minutes, the accumulation is still performed in the last created candidate bucket, that is, the interaction behavior indicator corresponding to at least one interactive message, and the interaction behavior indicator of the last created candidate bucket is updated.
在一种实施方式中,当互动行为指标为互动消息数量时,若最近一次创建的候选分桶的累计互动消息数量为A,上述至少一条互动消息数量为B,则在原始数量A的基础上累加数量B,即将最近一次创建的候选分桶的累计消息数量更新为A+B。In one embodiment, when the interactive behavior indicator is the number of interactive messages, if the cumulative number of interactive messages in the last created candidate bucket is A, and the number of at least one interactive message is B, then based on the original number A The accumulative quantity B is to update the accumulative message quantity of the last created candidate bucket to A+B.
在另一种实施方式中,当互动行为指标为参与互动的成员对象数量时,则在更新最近一次创建的候选分桶的互动行为指标时,则需要确定上述接收到的至少一条互动消息对应的成员对象中,最近一次创建的候选分桶未记录的成员对象数量,从而在最近一次创建的候选分桶已记录的成员对象数量基础上,累加未记录的成员对象数量。In another embodiment, when the interaction behavior indicator is the number of member objects participating in the interaction, when updating the interaction behavior indicator of the last created candidate bucket, it is necessary to determine the corresponding Among the member objects, the number of unrecorded member objects in the last created candidate bucket, so that the number of unrecorded member objects is accumulated on the basis of the number of recorded member objects in the last created candidate bucket.
例如,若最近一次创建的候选分桶的累计成员对象数量为3个,即成员对象1~3,若是上述至少一条互动消息是由成员对象3发送的,而最近一次创建的候选分桶已记录了成员对象3,也就是说,未记录的成员对象数量应为零,则最近一次创建的候选分桶的累计成员对象数量仍为3;而若是上述至少一条互动消息是由成员对象4和5发送的,而最近一次创建的候选分桶未记录成员对象4和5,也就是说,未记录的成员对象数量应为2,则在最近一次创建的候选分桶的累计成员对象数量3的基础上,累加数量2,即将累计成员对象数量更新为5。For example, if the cumulative number of member objects in the last created candidate bucket is 3, that is, member objects 1 to 3, if at least one of the above interactive messages is sent by member object 3, and the last created candidate bucket has been recorded member object 3, that is to say, the number of unrecorded member objects should be zero, and the cumulative number of member objects in the candidate bucket created last time is still 3; sent, and the last created candidate bucket does not record member objects 4 and 5, that is, the number of unrecorded member objects should be 2, then based on the cumulative number of member objects of the last created candidate bucket 3 , the cumulative quantity is 2, that is, the cumulative number of member objects is updated to 5.
进而,在每个子时间段的结束时刻达到时,分桶统计结束,则可以获得该候选分桶的互动行为指标,例如该候选分桶为分桶1,对应的互动消息数量为M1,以此类推。Furthermore, when the end moment of each sub-period is reached and the bucketing statistics are completed, the interaction behavior index of the candidate bucket can be obtained. For example, the candidate bucket is bucket 1, and the corresponding number of interactive messages is M1. analogy.
需要说明的是,当目标对象进入目标群组时,则最后一个候选分桶的互动行为指标的统计暂停,以得到该候选分桶的互动行为指标。It should be noted that when the target object enters the target group, the statistics of the interaction behavior indicator of the last candidate bucket is suspended to obtain the interaction behavior indicator of the candidate bucket.
S63:若时间差大于分桶时间差阈值,即步骤S2的确定结果为是,则新建候选分桶,并基于至少一条互动消息对应的互动行为指标,更新新建的候选分桶的互动行为指标。S63: If the time difference is greater than the bucket time difference threshold, that is, the determination result of step S2 is Yes, create a candidate bucket, and update the interaction behavior indicator of the newly created candidate bucket based on the interaction behavior indicator corresponding to at least one interactive message.
具体的,若是当前分桶的时长已超过10分钟,则需要新建一个候选分桶,再以至少一条互动消息对应的互动行为指标,更新新建的候选分桶的互动行为指标,更新的方式与上述最近一次创建的候选分桶更新的方式相同,因此在此不再进行赘述。Specifically, if the duration of the current bucket exceeds 10 minutes, a new candidate bucket needs to be created, and then the interaction behavior indicator corresponding to at least one interactive message is used to update the interaction behavior indicator of the newly created candidate bucket. The update method is the same as above The latest created candidate buckets are updated in the same manner, so details will not be repeated here.
下面,以具体的实施例对本申请的技术方案进行介绍,该群组具体为聊天群组,且以互动行为指标具体为聊天消息数量为例。参见图7所示,为聊天群组中聊天话题定位过程的流程示意图。In the following, the technical solution of the present application will be introduced with specific embodiments, the group is specifically a chat group, and the interactive behavior indicator is specifically the number of chat messages as an example. Referring to FIG. 7 , it is a schematic flowchart of a process of locating a chat topic in a chat group.
S70:服务器下发聊天消息至客户端。S70: the server sends the chat message to the client.
S71:客户端按照分桶进行聊天消息数量统计。S71: The client performs statistics on the number of chat messages according to buckets.
具体的,客户端将该聊天消息在当前的分桶1进行累计统计。当聊天消息超过当前分桶1中第一条聊天消息10分钟时,则新建一个新的分桶2,以此类推。在每个分桶统计结束时,统计该分桶所积累的聊天消息总数,例如图7所示的分桶1的聊天消息数为M1,分桶2的聊天消息数为M2,以此类推。Specifically, the client performs cumulative statistics of the chat messages in the current bucket 1. When the chat message exceeds the first chat message in the current bucket 1 by 10 minutes, create a new bucket 2, and so on. At the end of each bucket statistics, the total number of chat messages accumulated in the bucket is counted. For example, the number of chat messages in bucket 1 shown in FIG. 7 is M1, the number of chat messages in bucket 2 is M2, and so on.
需要说明的是,图7中所示的分桶时间段,如分桶1的时间段为9:00~9:03,是因为在此时间段存在聊天消息,除此之外群组内没有聊天消息产生,但仍然是按照每个分桶的时长上限为10分钟进行统计,同理,9:03~10:15这个时间段之间未有新的未读聊天消息,则可以停止统计,直至有未读聊天消息触发,从而还能够节省设备资源,避免造成设备处理压力过大。It should be noted that the bucketing time period shown in Figure 7, such as the time period of bucket 1 is 9:00-9:03, because there are chat messages in this time period, and there are no other messages in the group. Chat messages are generated, but the statistics are still based on the upper limit of 10 minutes for each bucket. Similarly, if there are no new unread chat messages between 9:03 and 10:15, the statistics can be stopped. Until an unread chat message is triggered, it can also save device resources and avoid excessive processing pressure on the device.
S72:当用户进入该聊天时,计算聊天消息数量均值。S72: When the user enters the chat, calculate the average number of chat messages.
具体的,当用户进入该聊天时,最后一个分桶x的统计暂停,将已有的聊天消息数量记为改分桶的聊天消息数量,即图7所示的Mx。同时,以记录的各个分桶的聊天消息数量计算所有分桶的聊天消息数量均值:Specifically, when the user enters the chat, the statistics of the last bucket x is suspended, and the number of existing chat messages is recorded as the number of chat messages changed into buckets, that is, Mx shown in FIG. 7 . At the same time, calculate the average number of chat messages in all buckets based on the number of recorded chat messages in each bucket:
S73:基于聊天消息数量均值进行话题波峰判定。S73: Determine the peak of the topic based on the average number of chat messages.
具体的,将每个分桶的聊天消息数量M1~Mx依次与N进行比对,若Mx/N>Y时,则该分桶被定义为一个话题讨论的峰值区域。Specifically, the number of chat messages M1-Mx in each bucket is compared with N in sequence, and if Mx/N>Y, then the bucket is defined as a peak area of topic discussion.
S74:聊天话题的起始点位置定位。S74: Locate the starting point of the chat topic.
具体的,在上述判定结果中,可能会得到多个符合条件的分桶,均标记为话题峰值区域。进而,针对每个符合条件的分桶,取该分桶中第一条聊天消息A1,往过去逐一回溯上一条聊天消息,若上一聊天消息A1-1与本条聊天消息A1时间差距<Q分钟,则取上一聊天消息A1-1继续与上上一聊天消息A1-2比对,直至A1-X比A1-X+1时间差距>Q分钟,则A1-X被判定为聊天话题的起始点位置。Specifically, in the above determination results, multiple eligible buckets may be obtained, all of which are marked as topic peak areas. Furthermore, for each eligible sub-bucket, take the first chat message A1 in the sub-bucket, and go back to the previous chat message one by one, if the time difference between the last chat message A1-1 and this chat message A1 is < Q minutes , then take the previous chat message A1-1 and continue to compare with the previous chat message A1-2 until the time difference between A1-X and A1-X+1 > Q minutes, then A1-X is judged as the start of the chat topic starting position.
其中,Q根据实验效果进行设定,例如设置为10分钟。Wherein, Q is set according to the experimental effect, for example, it is set to 10 minutes.
同理,当互动行为指标为参与群聊的成员数量时,其互动话题定位过程与上述过程类似,因此可参见上述部分的描述,不再进行赘述。此外,不同群组均可采用上述的过程进行该群组内的互动话题的定位。Similarly, when the interactive behavior indicator is the number of members participating in the group chat, the process of locating the interactive topic is similar to the above process, so please refer to the description in the above part, and will not repeat it here. In addition, different groups can use the above-mentioned process to locate the interactive topic in the group.
本申请实施例中,根据上述的实施例过程,可以定位得到群组中的各个互动话题的位置,例如上述的聊天群组中聊天话题的定位,进而,则可以根据定位得到的各个互动话题的位置进行群组页面的显示。In the embodiment of the present application, according to the above-mentioned embodiment process, the position of each interactive topic in the group can be located, such as the positioning of the chat topic in the above-mentioned chat group, and then the position of each interactive topic can be obtained according to the positioning. position to display the group page.
参见图8所示,为本申请实施例提供的互动话题展示方法的流程示意图。Referring to FIG. 8 , it is a schematic flowchart of an interactive topic display method provided by the embodiment of the present application.
步骤801:响应于目标对象进入目标群组的触发操作,呈现目标对象对应的目标群组操作界面;其中,目标群组操作界面中显示有历史时间段内目标群组产生的互动消息。Step 801: In response to the trigger operation of the target object entering the target group, present the target group operation interface corresponding to the target object; wherein, the target group operation interface displays interactive messages generated by the target group within a historical time period.
具体的,进入目标群组的触发操作例如可以是在互动应用中点击目标群组图标;或者,还可以是显示目标群组有新互动消息的通知消息时,点击通知消息进入,当然,也可以采用其他的触发方式,本申请实施例对此不做限制。Specifically, the trigger operation for entering the target group may be, for example, clicking the icon of the target group in the interactive application; or, when a notification message is displayed that the target group has a new interactive message, click the notification message to enter, of course, it may also be Other trigger modes are adopted, which is not limited in this embodiment of the present application.
步骤802:响应于针对顶部跳转控件进行的触发操作,跳转至历史时间段内的首条互动消息位置进行显示,并在目标群组操作界面中显示话题跳转控件。Step 802: In response to the trigger operation on the top jump control, jump to the position of the first interactive message in the historical time period for display, and display the topic jump control in the target group operation interface.
在进入目标群组后,由于存在较多的未阅读的互动消息,为了方便用户从头开始阅读,可以提供给用户快速跳转至首条互动消息的快捷方式,即可以在目标群组操作界面上显示顶部跳转控件,该控件可以用于跳转至历史时间段内的首条互动消息位置,进而对其操作,则可以进行快速跳转。After entering the target group, since there are many unread interactive messages, in order to facilitate the user to read from the beginning, a shortcut to quickly jump to the first interactive message can be provided to the user, that is, on the target group operation interface Display the top jump control, which can be used to jump to the first interactive message position in the historical time period, and then operate on it, you can quickly jump.
需要说明的是,步骤802并不是必选的步骤,也就是说,在进入目标群组的操作界面之后,也可以直接在该界面上显示话题跳转控件。It should be noted that
步骤803:响应于针对目标群组操作界面中话题跳转控件进行的触发操作,跳转至历史时间段内相应互动话题的起始点位置进行显示。Step 803: In response to the trigger operation on the topic jump control in the target group operation interface, jump to the starting point of the corresponding interactive topic in the historical time period for display.
以群聊为例,参见图9a和9b所示,为聊天群组页面的显示示意图。当用户群聊消息很多时,通过对群内核心话题的定位,可以帮助用户快速跳转,从而促进用户更好消化聊天消息。当用户进入聊天群组时,则可以显示如图9a所示的群组界面,在该群组界面中包括顶部跳转控件,对该顶部跳转控件进行操作后则可以跳转至维度消息的顶部进行显示,即切换为图9b所示的群组界面,在该群组界面中包括话题跳转控件,用于跳转至识别到的话题处,例如下一话题的起始点位置,以便于用户快速跳转聊天话题。Taking group chat as an example, see FIGS. 9a and 9b , which are schematic diagrams showing a chat group page. When users have a lot of group chat messages, by locating the core topics in the group, users can quickly jump, thereby facilitating users to better digest chat messages. When the user enters the chat group, the group interface as shown in Figure 9a can be displayed, the group interface includes a top jump control, and after operating the top jump control, it can jump to the dimension message Display at the top, that is, switch to the group interface shown in Figure 9b, which includes a topic jump control, which is used to jump to the identified topic, such as the starting point of the next topic, so that Users quickly jump to chat topics.
在一种实施方式中,参见图9b所示,话题跳转控件可以是用于跳转至下一互动话题,则对话题跳转控件进行触发操作之后,则可以响应于该触发操作,从当前互动消息位置,跳转至下一互动话题的起始点位置进行显示。In one embodiment, as shown in FIG. 9b, the topic jump control can be used to jump to the next interactive topic, and after the trigger operation is performed on the topic jump control, it can respond to the trigger operation from the current Interactive message position, jump to the starting point of the next interactive topic for display.
在另一种实施方式中,话题跳转控件还可以包括跳转至历史时间段内的各个互动话题的话题跳转子控件,每一话题跳转子控件对应一个互动话题,则可以根据需要跳转至任一互动话题,进而响应于针对各个话题跳转子控件中目标话题跳转子控件进行的触发操作,从当前互动消息位置,跳转至目标话题跳转子控件对应的互动话题的起始点位置进行显示。In another embodiment, the topic jump control may also include topic jump sub-controls for jumping to each interactive topic in the historical time period, and each topic jump sub-control corresponds to an interactive topic, and you can jump to as needed Go to any interactive topic, and then respond to the trigger operation on the target topic jump sub-control in each topic jump sub-control, jump from the current interactive message position to the start of the interactive topic corresponding to the target topic jump sub-control The starting position is displayed.
当然,在实际应用中还可以采用其他方式进行识别到的话题的显示,如直接在群组页面中显示定位到的聊天话题区域,用户则选择进行跳转。此外,对于上述的各个控件的显示位置以及显示样式,本申请实施例对此不做限制。Of course, in practical applications, other methods can also be used to display the identified topics, such as directly displaying the located chat topic area on the group page, and the user chooses to jump. In addition, the embodiments of the present application do not limit the display positions and display styles of the above-mentioned controls.
本申请实施例中,各个互动话题的起始点位置的定位过程可以上述互动话题定位方法的描述,在此不再进行赘述。In the embodiment of the present application, the process of locating the position of the starting point of each interactive topic can be described in the above method for locating the interactive topic, and will not be repeated here.
综上所述,本申请实施例中,通过直接对互动行为进行分析,从而脱离了文本分析,规避了对文本、图片、表情以及链接等多种消息形态带来的识别问题,并且但对于互动话题的定位而言,有着更简单的实现方式,且效果比较理想。参见图10a和图10b所示,为采用本申请实施例的互动话题定位方法的效果示意图。To sum up, in the embodiment of this application, by directly analyzing the interactive behavior, it is separated from the text analysis and avoids the identification problems caused by various message forms such as text, pictures, emoticons, and links. As far as topic positioning is concerned, there is a simpler way to achieve it, and the effect is ideal. Referring to FIG. 10 a and FIG. 10 b , it is a schematic diagram of the effect of the method for locating an interactive topic in the embodiment of the present application.
参见图10a所示,为针对有聊天话题存在的群聊的效果示意图,其中,实线折线图表示一个群聊内的消息数量变化,虚线折现图表示该群聊内的参与用户数量变化,图10a的效果图是按照10分钟分桶所得到的,消息数量均值为7.8。一般而言,这些群聊通常是以兴趣为主的群聊,如宠物群或者美食群等,通过本申请实施例的互动话题定位方法,可以有效定位到群内成员高参与的话题,如图10a中的话题1~4,其数据(消息数量或者用户参与量)明显高于其他时段,定位准确率高,且误差可接受度高。Referring to Figure 10a, it is a schematic diagram of the effect of a group chat with chat topics, wherein the solid line graph represents the change in the number of messages in a group chat, and the broken line graph represents the change in the number of participating users in the group chat, The effect diagram in Figure 10a is obtained by bucketing according to 10 minutes, and the average number of messages is 7.8. Generally speaking, these group chats are usually group chats based on interests, such as pet groups or food groups, etc. Through the interactive topic positioning method of the embodiment of this application, topics with high participation of members in the group can be effectively located, as shown in the figure Topics 1-4 in 10a have significantly higher data (number of messages or user participation) than other time periods, high positioning accuracy, and high error acceptability.
参见图10b所示,为针对话题比较少的群聊的效果示意图,例如营销群、购物群等,可以看到,这种群聊的特点很明显,发送聊天消息的用户数量基本固定,且通常为固定的人,且聊天消息数量也是呈现规律性,通过本申请实施例的互动话题定位方法,也可以较好地过滤掉大多数非话题内容。Referring to Figure 10b, it is a schematic diagram of the effect of group chats with relatively few topics, such as marketing groups, shopping groups, etc. It can be seen that the characteristics of this group chat are obvious, and the number of users who send chat messages is basically fixed, and usually If there are fixed people, and the number of chat messages is also regular, most non-topic content can also be better filtered out through the interactive topic positioning method of the embodiment of the present application.
请参见图11,基于同一发明构思,本申请实施例还提供了一种互动话题定位装置110,该装置包括:Please refer to Fig. 11, based on the same inventive concept, the embodiment of the present application also provides an interactive
行为指标获取单元1101,用于在目标对象进入目标群组时,针对指定的历史时间段,获取目标群组关联的各个候选分桶各自对应的互动行为指标,其中,每个候选分桶包含:在历史时间段中一个子时间段内,目标群组产生的互动消息;The behavior
话题峰值定位单元1102,用于从各个候选分桶中,确定出互动行为指标满足话题热度峰值条件的至少一个目标分桶;Topic
起始点定位单元1103,用于针对至少一个目标分桶中各个目标分桶,基于产生时刻位于各个目标分桶的创建时刻之前的各个互动消息之间的相关性,分别确定至少一个目标分桶各自对应的互动话题的起始点位置;The starting
界面呈现单元1104,用于基于确定的各个起始点位置,呈现目标对象对应的目标群组操作界面。The
可选的,行为指标获取单元1101,还用于:Optionally, the behavior
接收目标群组内的成员对象发送的至少一条互动消息;receiving at least one interactive message sent by the member objects in the target group;
若当前时刻与上一子时间段的结束时刻之间的时间差,不大于分桶时间差阈值,则基于至少一条互动消息对应的互动行为指标,更新已创建的候选分桶中,最近一次创建的候选分桶的互动行为指标;If the time difference between the current moment and the end moment of the previous sub-time period is not greater than the bucketing time difference threshold, based on the interaction behavior indicator corresponding to at least one interactive message, update the candidate created last time among the created candidate buckets Bucketed interaction behavior indicators;
若时间差大于分桶时间差阈值,则新建候选分桶,并基于至少一条互动消息对应的互动行为指标,更新新建的候选分桶的互动行为指标。If the time difference is greater than the bucket time difference threshold, create a candidate bucket, and update the interaction behavior indicator of the newly created candidate bucket based on the interaction behavior indicator corresponding to at least one interactive message.
可选的,互动行为指标为互动消息数量;则话题峰值定位单元1102,具体用于:Optionally, the interactive behavior indicator is the number of interactive messages; the topic
基于各个候选分桶各自对应的互动消息数量,确定历史时间段中满足话题热度峰值条件时的互动消息数量阈值;Based on the number of interactive messages corresponding to each candidate bucket, determine the threshold of the number of interactive messages when the topic popularity peak condition is met in the historical time period;
针对各个候选分桶,分别执行如下操作:针对一个候选分桶,若其对应的互动消息数量大于互动消息数量阈值,则确定一个候选分桶为目标分桶。For each candidate bucket, perform the following operations: For a candidate bucket, if the number of interactive messages corresponding to it is greater than the threshold of the number of interactive messages, determine a candidate bucket as the target bucket.
可选的,话题峰值定位单元1102,具体用于:Optionally, the topic
基于各个候选分桶的互动消息数量,确定各个候选分桶的互动消息数量均值;Based on the number of interactive messages in each candidate bucket, determine the mean value of the number of interactive messages in each candidate bucket;
基于目标群组的群组业务类型,确定目标群组对应的话题峰值系数;Based on the group business type of the target group, determine the topic peak coefficient corresponding to the target group;
基于互动消息数量均值以及话题峰值系数,确定互动消息数量阈值。Based on the mean value of the number of interactive messages and the peak coefficient of the topic, the threshold of the number of interactive messages is determined.
可选的,互动行为指标为参与互动的成员对象数量;则话题峰值定位单元1102,具体用于:Optionally, the interactive behavior indicator is the number of member objects participating in the interaction; the topic
确定至少一条互动消息对应的成员对象中,最近一次创建的候选分桶未记录的成员对象数量;Determine the number of member objects that are not recorded in the last created candidate bucket among the member objects corresponding to at least one interactive message;
在最近一次创建的候选分桶已记录的成员对象数量基础上,累加未记录的成员对象数量。Based on the number of member objects recorded in the last created candidate bucket, add the number of unrecorded member objects.
可选的,话题峰值定位单元1102,具体用于:Optionally, the topic
基于各个候选分桶各自已记录的成员对象数量,确定历史时间段中满足话题热度峰值条件时的成员对象数量阈值;Based on the number of member objects recorded in each candidate bucket, determine the threshold of the number of member objects when the topic popularity peak condition is met in the historical time period;
针对各个候选分桶,分别执行如下操作:针对一个候选分桶,若已记录的成员对象数量大于成员对象数量阈值,则确定一个候选分桶为目标分桶。For each candidate bucket, perform the following operations: For a candidate bucket, if the number of recorded member objects is greater than the threshold of the number of member objects, determine a candidate bucket as the target bucket.
可选的,互动行为指标包括互动消息数量和成员对象数量;则话题峰值定位单元1102,具体用于:Optionally, the interactive behavior index includes the number of interactive messages and the number of member objects; the topic
针对各个候选分桶,分别执行如下操作:For each candidate bucket, perform the following operations:
针对一个候选分桶,确定其对应的互动消息数量是否大于互动消息数量阈值;For a candidate bucket, determine whether the corresponding interactive message quantity is greater than the interactive message quantity threshold;
若互动消息数量大于互动消息数量阈值,则确定已记录的成员对象数量是否大于成员对象数量阈值;If the number of interactive messages is greater than the threshold of the number of interactive messages, it is determined whether the number of recorded member objects is greater than the threshold of the number of member objects;
若成员对象数量大于成员对象数量阈值,则确定一个候选分桶为目标分桶。If the number of member objects is greater than the threshold of the number of member objects, determine a candidate bucket as the target bucket.
可选的,起始点定位单元1103,具体用于:Optionally, the starting
针对各个目标分桶,分别执行如下操作:For each target bucket, perform the following operations:
针对一个目标分桶,从一个目标分桶中的产生时刻最早的互动消息开始,逐一确定每一条互动消息的产生时刻,与其上一条互动消息的产生时刻之间的时间差是否大于产生时间差阈值,直至出现时间差大于产生时间差阈值的目标互动消息为止;For a target bucket, starting from the interaction message with the earliest generation time in a target bucket, determine whether the time difference between the generation time of each interaction message and the generation time of the previous interaction message is greater than the generation time difference threshold, until Until the target interaction message with a time difference greater than the time difference threshold appears;
将目标互动消息,确定为一个目标分桶对应的互动话题的起始点位置。The target interactive message is determined as the starting point position of the interactive topic corresponding to a target bucket.
可选的,起始点定位单元1103,具体用于:Optionally, the starting
确定目标互动消息与产生时刻最早的互动消息之间的各个互动消息对应的成员对象,与一个目标分桶对应的成员对象之间的重合度;Determine the overlap between the member objects corresponding to each interactive message between the target interactive message and the earliest interactive message at the generation time, and the member objects corresponding to a target bucket;
若重合度不小于重合度阈值,则确定目标互动消息的前一条互动消息为一个目标分桶对应的互动话题的起始点位置。If the coincidence degree is not less than the coincidence degree threshold, it is determined that an interaction message preceding the target interaction message is the starting point of an interaction topic corresponding to a target bucket.
可选的,该装置还包括话题合并单元1105,用于:Optionally, the device also includes a
针对确定的各个起始点位置,分别执行如下操作:For each determined starting point position, perform the following operations:
针对一个起始点位置,若一个起始点位置与相应的第一目标分桶之间的互动消息,已覆盖了第二目标分桶的互动消息,则将第一目标分桶与第二目标分桶对应的互动话题进行合并。For a starting point position, if the interaction message between a starting point position and the corresponding first target bucket has covered the interaction message of the second target bucket, then the first target bucket and the second target bucket Corresponding interactive topics are merged.
通过上述装置,可以通过对群组内的互动行为进行分析,从而无需获取互动文本的内容,不会涉及到群组内成员对象的隐私,并且,通过互动行为分析,计算量远远小于通过互动文本进行识别的方法,进而所需计算资源更少,也能够更快速的进行互动话题的定位。Through the above device, it is possible to analyze the interactive behavior in the group, so that there is no need to obtain the content of the interactive text, and the privacy of the member objects in the group will not be involved, and, through the analysis of the interactive behavior, the amount of calculation is much smaller than that through the interactive The method of text recognition requires less computing resources, and can locate interactive topics more quickly.
该装置可以用于执行本申请各实施例中所示的方法,因此,对于该装置的各功能模块所能够实现的功能等可参考前述实施例的描述,不多赘述。The device can be used to execute the methods shown in the various embodiments of the present application. Therefore, for the functions that can be realized by the functional modules of the device, etc., reference can be made to the descriptions of the foregoing embodiments, and details will not be repeated here.
请参见图12,基于同一发明构思,本申请实施例还提供了一种互动话题展示装置120,该装置例如可以为上述的终端设备,该装置包括:Please refer to Fig. 12, based on the same inventive concept, the embodiment of the present application also provides an interactive
操作界面切换单元1201,用于响应于目标对象进入目标群组的触发操作,呈现目标对象对应的目标群组操作界面;其中,目标群组操作界面中显示有历史时间段内目标群组产生的互动消息;The operation
话题跳转单元1202,用于响应于针对目标群组操作界面中话题跳转控件进行的触发操作,跳转至历史时间段内相应互动话题的起始点位置进行显示。The
可选的,目标群组操作界面中显示有顶部跳转控件,顶部跳转控件用于跳转至历史时间段内的首条互动消息位置;Optionally, a top jump control is displayed on the target group operation interface, and the top jump control is used to jump to the position of the first interactive message in the historical time period;
则该装置还包括消息跳转单元1203,用于:Then the device also includes a
响应于针对顶部跳转控件进行的触发操作,跳转至历史时间段内的首条互动消息位置进行显示;并,In response to a trigger operation on the top jump control, jump to the first interactive message position in the historical time period for display; and,
在目标群组操作界面中显示话题跳转控件。Display the topic jump control in the target group operation interface.
可选的,话题跳转控件用于跳转至下一互动话题;Optionally, the topic jump control is used to jump to the next interactive topic;
则话题跳转单元1202,具体用于:Then the
响应于针对话题跳转控件进行的触发操作,从当前互动消息位置,跳转至下一互动话题的起始点位置进行显示。In response to a trigger operation on the topic jump control, jump from the current interactive message position to the starting point of the next interactive topic for display.
可选的,话题跳转控件包括跳转至历史时间段内的各个互动话题的话题跳转子控件,每一话题跳转子控件对应一个互动话题;Optionally, the topic jump control includes topic jump sub-controls for jumping to each interactive topic in the historical time period, and each topic jump sub-control corresponds to an interactive topic;
则话题跳转单元1202,具体用于:Then the
响应于针对各个话题跳转子控件中目标话题跳转子控件进行的触发操作,从当前互动消息位置,跳转至目标话题跳转子控件对应的互动话题的起始点位置进行显示。In response to a trigger operation performed on the target topic jump sub-control in each topic jump sub-control, jump from the current interactive message position to the starting point of the interactive topic corresponding to the target topic jump sub-control for display.
可选的,该装置还包括话题定位单元1204,用于:Optionally, the device also includes a
针对指定的历史时间段,获取目标群组关联的各个候选分桶各自对应的互动行为指标,其中,每个候选分桶包含:在历史时间段中一个子时间段内,目标群组产生的互动消息;For the specified historical time period, obtain the interaction behavior indicators corresponding to each candidate bucket associated with the target group, where each candidate bucket contains: the interaction generated by the target group in a sub-time period in the historical time period information;
从各个候选分桶中,确定出互动行为指标满足话题热度峰值条件的至少一个目标分桶;From each candidate bucket, determine at least one target bucket whose interaction behavior index satisfies the topic heat peak condition;
针对至少一个目标分桶中各个目标分桶,基于产生时刻位于各个目标分桶的创建时刻之前的各个互动消息之间的相关性,分别确定至少一个目标分桶各自对应的互动话题的起始点位置。For each target bucket in the at least one target bucket, based on the correlation between the interaction messages whose generation time is before the creation time of each target bucket, respectively determine the starting point position of the interactive topic corresponding to the at least one target bucket .
通过上述装置,可以为用户提供快速跳转话题的可操作控件,进而用户进行操作后,则可以快捷的进行话题的跳转,便可以快速浏览各个互动话题的内容,而排除不属于互动话题的内容,实现历史未读消息的快速浏览,提升用户的使用体验。Through the above-mentioned device, users can be provided with operable controls for quickly jumping topics, and after the user performs operations, they can quickly jump topics, and quickly browse the content of each interactive topic, and exclude those that do not belong to interactive topics. content, realize quick browsing of historical unread messages, and improve user experience.
此外,通过对群组内的互动行为进行分析,从而无需获取互动文本的内容,不会涉及到群组内成员对象的隐私,并且,通过互动行为分析,计算量远远小于通过互动文本进行识别的方法,进而所需计算资源更少,也能够更快速的进行互动话题的定位。In addition, by analyzing the interactive behavior in the group, there is no need to obtain the content of the interactive text, and the privacy of the member objects in the group will not be involved, and, through the analysis of the interactive behavior, the amount of calculation is far less than the identification through the interactive text The method requires less computing resources, and can locate interactive topics more quickly.
该装置可以用于执行本申请各实施例中所示的方法,因此,对于该装置的各功能模块所能够实现的功能等可参考前述实施例的描述,不多赘述。The device can be used to execute the methods shown in the various embodiments of the present application. Therefore, for the functions that can be realized by the functional modules of the device, etc., reference can be made to the descriptions of the foregoing embodiments, and details will not be repeated here.
请参见图13,基于同一技术构思,本申请实施例还提供了一种计算机设备130,该计算机设备130可以为图1所示的终端设备或服务器,该计算机设备130可以包括存储器1301和处理器1302。Please refer to FIG. 13 , based on the same technical concept, the embodiment of the present application also provides a
所述存储器1301,用于存储处理器1302执行的计算机程序。存储器1301可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据计算机设备的使用所创建的数据等。处理器1302,可以是一个中央处理单元(central processing unit,CPU),或者为数字处理单元等等。本申请实施例中不限定上述存储器1301和处理器1302之间的具体连接介质。本申请实施例在图13中以存储器1301和处理器1302之间通过总线1303连接,总线1303在图13中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。所述总线1303可以分为地址总线、数据总线、控制总线等。为便于表示,图13中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The
存储器1301可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM);存储器1301也可以是非易失性存储器(non-volatilememory),例如只读存储器,快闪存储器(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)、或者存储器1301是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器1301可以是上述存储器的组合。The
处理器1302,用于调用所述存储器1301中存储的计算机程序时执行本申请各实施例中设备所执行的方法。The
在一些可能的实施方式中,本申请提供的方法的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在计算机设备上运行时,所述程序代码用于使所述计算机设备执行本说明书上述描述的根据本申请各种示例性实施方式的方法中的步骤,例如,所述计算机设备可以执行本申请各实施例中设备所执行的方法。In some possible implementations, various aspects of the method provided in this application can also be implemented in the form of a program product, which includes program code. When the program product is run on a computer device, the program code is used to The computer device is made to execute the steps in the methods described above in this specification according to various exemplary implementations of the present application. For example, the computer device may execute the methods performed by the devices in the various embodiments of the present application.
所述程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product may reside on any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: electrical connection with one or more conductors, portable disk, hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。While preferred embodiments of the present application have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, the appended claims are intended to be construed to cover the preferred embodiment and all changes and modifications which fall within the scope of the application.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.
Claims (20)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111408623.9A CN116166893A (en) | 2021-11-25 | 2021-11-25 | Interactive topic positioning and display method, device, equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111408623.9A CN116166893A (en) | 2021-11-25 | 2021-11-25 | Interactive topic positioning and display method, device, equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116166893A true CN116166893A (en) | 2023-05-26 |
Family
ID=86415044
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111408623.9A Pending CN116166893A (en) | 2021-11-25 | 2021-11-25 | Interactive topic positioning and display method, device, equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116166893A (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070198645A1 (en) * | 2006-02-21 | 2007-08-23 | Yen-Fu Chen | Method for providing in-context responses to instant messaging conversations |
| CN107104877A (en) * | 2016-02-29 | 2017-08-29 | 艾威梯科技(北京)有限公司 | It is a kind of to add the method and system for discussing and history mutual information being obtained after group |
| US20180287981A1 (en) * | 2017-04-04 | 2018-10-04 | International Business Machines Corporation | Context-based personalized group chat summarization of missed messages |
| CN109039873A (en) * | 2018-09-13 | 2018-12-18 | 广州达美智能科技有限公司 | Chat record display methods, device and computer readable storage medium |
| KR102269061B1 (en) * | 2021-02-03 | 2021-06-24 | 주식회사 문토 | System for recommending providing integrated contents using usage information recognition of applications |
-
2021
- 2021-11-25 CN CN202111408623.9A patent/CN116166893A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070198645A1 (en) * | 2006-02-21 | 2007-08-23 | Yen-Fu Chen | Method for providing in-context responses to instant messaging conversations |
| CN107104877A (en) * | 2016-02-29 | 2017-08-29 | 艾威梯科技(北京)有限公司 | It is a kind of to add the method and system for discussing and history mutual information being obtained after group |
| US20180287981A1 (en) * | 2017-04-04 | 2018-10-04 | International Business Machines Corporation | Context-based personalized group chat summarization of missed messages |
| CN109039873A (en) * | 2018-09-13 | 2018-12-18 | 广州达美智能科技有限公司 | Chat record display methods, device and computer readable storage medium |
| KR102269061B1 (en) * | 2021-02-03 | 2021-06-24 | 주식회사 문토 | System for recommending providing integrated contents using usage information recognition of applications |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11374884B2 (en) | Managing and displaying online messages along timelines | |
| US20160307131A1 (en) | Method, apparatus, and system for controlling delivery task in social networking platform | |
| US20180211335A1 (en) | Method and apparatus for estimating user influence on social platform | |
| CN109446171B (en) | Data processing method and device | |
| KR102805340B1 (en) | Method and system for providing multi profile | |
| KR102609744B1 (en) | Method and apparatus for managing user profile | |
| CN116599783A (en) | Communication method, device and equipment | |
| CN111092804B (en) | Information recommendation method, information recommendation device, electronic equipment and storage medium | |
| WO2018133824A1 (en) | Content sharing method and device | |
| CN110751509A (en) | Display method, device and electronic device for application pop-up window | |
| Hu et al. | Budget-efficient viral video distribution over online social networks: Mining topic-aware influential users | |
| CN118233851A (en) | A 5G message push task management system, method, device and medium | |
| US10182029B2 (en) | Estimation of information diffusion route on computer mediated communication network | |
| CN106487653B (en) | Message processing method and server | |
| CN110830306B (en) | Method, device, storage medium and electronic equipment for determining influence of network user | |
| CN113761287A (en) | Data processing method, system, device and medium based on advertisement service | |
| CN110472744B (en) | Network content processing method, device, medium and electronic device | |
| CN116166893A (en) | Interactive topic positioning and display method, device, equipment and storage medium | |
| US9159081B2 (en) | Content item type determination and selection | |
| CN114186101B (en) | Data processing method, device, computer equipment and storage medium | |
| KR20250059054A (en) | Method, computer device, and computer program for generating and displaying chat room message summary | |
| HK40086105A (en) | Method, apparatus, device, and storage medium for positioning and displaying interactive topic | |
| CN115391653A (en) | Notification message management method and device | |
| US9380413B1 (en) | Dynamically forming the content of a message to a user based on a perceived emotion | |
| CN114500448A (en) | Method, device and computer readable medium for selecting target user |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40086105 Country of ref document: HK |