CN106202222A - The determination method and device of focus incident - Google Patents
The determination method and device of focus incident Download PDFInfo
- Publication number
- CN106202222A CN106202222A CN201610491209.1A CN201610491209A CN106202222A CN 106202222 A CN106202222 A CN 106202222A CN 201610491209 A CN201610491209 A CN 201610491209A CN 106202222 A CN106202222 A CN 106202222A
- Authority
- CN
- China
- Prior art keywords
- information
- popular
- event
- hot
- events
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
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/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Evolutionary Computation (AREA)
- Evolutionary Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Computational Biology (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- User Interface Of Digital Computer (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本公开是关于热点事件的确定方法及装置。该方法包括:获取用户好友当前发表的状态信息;依次判断状态信息是否与预先获得的各热点事件的信息相匹配;当状态信息与各热点事件中的任一热点事件的信息相匹配时,确定状态信息属于任一热点事件。该技术方案,在接收到用户好友当前发表的状态信息之后,可以依次判断该状态信息是否与预先获得的各热点事件的信息相匹配,如果该状态信息与各热点事件中的任一热点事件的信息相匹配,则可以准确确定该状态信息属于该任一热点事件,以便于后期对该状态信息进行标记,同时使得用户在刷新朋友圈时,在看到该好友发表的状态信息时,可以很清楚地了解该状态信息属于近期的一个热点事件。
The present disclosure relates to a method and device for determining a hotspot event. The method includes: obtaining the status information currently published by the user's friends; sequentially judging whether the status information matches the information of each hot event obtained in advance; when the status information matches the information of any hot event among the hot events, determining Status information pertains to any hot event. In this technical solution, after receiving the status information currently published by the user's friends, it can be judged in sequence whether the status information matches the information of each hot event obtained in advance, if the status information matches the information of any hot event in each hot event If the information matches, it can be accurately determined that the status information belongs to any hot event, so that the status information can be marked later, and at the same time, when the user refreshes the circle of friends and sees the status information published by the friend, he can quickly It is clear that this status information is a recent hot topic.
Description
技术领域technical field
本公开涉及终端技术领域,尤其涉及热点事件的确定方法及装置。The present disclosure relates to the technical field of terminals, and in particular to a method and device for determining a hotspot event.
背景技术Background technique
目前,越来越多的用户通过朋友圈发表各种状态,而相关技术中的朋友圈都是以时间顺序进行顺次排列的,用户的感受也只是某个朋友在朋友圈发表了一个状态,并不知道自己的朋友圈中所刷新的各种状态是否有任何关联,因而,用户体验较低。At present, more and more users post various statuses through the circle of friends, and the circles of friends in related technologies are arranged in chronological order, and the user's feeling is only that a friend has posted a status in the circle of friends. I don't know whether the various states refreshed in my circle of friends are related in any way, so the user experience is low.
发明内容Contents of the invention
本公开实施例提供了热点事件的确定方法及装置。所述技术方案如下:Embodiments of the present disclosure provide a method and device for determining a hotspot event. Described technical scheme is as follows:
根据本公开实施例的第一方面,提供一种热点事件的确定方法,包括:According to the first aspect of an embodiment of the present disclosure, a method for determining a hotspot event is provided, including:
获取用户好友当前发表的状态信息;Obtain the status information currently published by the user's friends;
依次判断所述状态信息是否与预先获得的各热点事件的信息相匹配;Sequentially determine whether the state information matches the pre-acquired information of each hot event;
当所述状态信息与所述各热点事件中的任一热点事件的信息相匹配时,确定所述状态信息属于所述任一热点事件。When the state information matches the information of any hot event among the various hot events, it is determined that the state information belongs to the any hot event.
在一个实施例中,所述方法还包括:In one embodiment, the method also includes:
当所述状态信息属于所述任一热点事件时,获取预先获得的所述任一热点事件对应的背景信息,其中,所述背景信息包括:所述任一热点事件的起因和所述任一热点事件的发展过程中的至少一项信息;When the status information belongs to any of the hot events, obtain the pre-obtained background information corresponding to any of the hot events, where the background information includes: the cause of any of the hot events and the At least one piece of information on the development of hot events;
将所述状态信息和所述任一热点事件对应的背景信息发送至用户设备,以使用户设备同时显示所述状态信息和所述任一热点事件对应的背景信息,其中,所述状态信息包括:一条或多条信息。Sending the state information and the background information corresponding to any hot event to the user equipment, so that the user equipment simultaneously displays the state information and the background information corresponding to any hot event, wherein the state information includes : One or more messages.
在一个实施例中,所述依次判断所述状态信息是否与预先获得的各热点事件的信息相匹配,包括:In one embodiment, the sequentially judging whether the status information matches the pre-acquired information of each hotspot event includes:
依次判断所述状态信息中的文本信息是否与所述各热点事件的文本信息相匹配;Sequentially determine whether the text information in the state information matches the text information of each hot event;
当所述状态信息中的文本信息与所述各热点事件中的任一热点事件的关键词相匹配时,确定所述状态信息与所述任一热点事件的信息相匹配;When the text information in the state information matches the keywords of any one of the hot events, determining that the state information matches the information of any one of the hot events;
和/或and / or
依次判断所述状态信息中的图片特征信息是否与所述各热点事件的图片特征信息相匹配;Sequentially determine whether the picture feature information in the state information matches the picture feature information of each hotspot event;
当所述状态信息中的图片特征信息与所述各热点事件中的任一热点事件的图片特征信息相匹配时,确定所述状态信息与所述任一热点事件的信息相匹配。When the picture feature information in the state information matches the picture feature information of any hot event among the hot events, it is determined that the state information matches the information of any hot event.
在一个实施例中,在依次判断所述状态信息是否与预先获得的各热点事件的信息相匹配之前,所述方法还包括:In one embodiment, before sequentially judging whether the state information matches the pre-obtained information of each hotspot event, the method further includes:
获取预设历史时间段内各用户发表的历史状态信息;Obtain the historical status information published by each user within the preset historical time period;
获取所述各用户发表的历史状态信息中的所有词和/或所有图片特征信息的出现频率;Obtain the frequency of occurrence of all words and/or all picture feature information in the historical state information published by each user;
根据所述所有词和/或所有图片特征信息的出现频率,确定所述各用户发表的历史状态信息中的所有热门信息,其中,所述所有热门信息包括:所有热门关键词和/或所有热门图片特征信息;According to the frequency of occurrence of all words and/or all picture feature information, determine all popular information in the historical state information published by each user, wherein, all popular information includes: all popular keywords and/or all popular Image feature information;
根据所述所有热门信息,获得所述各热门事件。According to all the popular information, the popular events are obtained.
在一个实施例中,所述根据所述所有热门信息,获得所述各热门事件包括:In one embodiment, the obtaining the popular events according to all the popular information includes:
将所述所有热门信息进行处理,以获取所述各热门事件所属的热门信息;Processing all the popular information to obtain the popular information to which each popular event belongs;
根据所述各热门事件所属的热门信息,生成所述各热门事件,其中,所述各热门事件所属的热门信息包括:所述各热门事件所属的热门关键词和/或热门图片特征信息。The popular events are generated according to the popular information to which each popular event belongs, wherein the popular information to which each popular event belongs includes: popular keywords and/or feature information of popular pictures to which each popular event belongs.
在一个实施例中,在获取预先获得的所述任一热点事件对应的背景信息之前,所述方法还包括:In one embodiment, before obtaining the pre-acquired background information corresponding to any hot event, the method further includes:
在生成所述各热门事件时,从预设数据库中获取与所述各热门事件所属的热门信息有关的关联信息;When generating the popular events, obtain associated information related to the popular information to which the popular events belong from a preset database;
根据所述各热门事件的关联信息和所述各热门事件的关联信息的时间排序,获取所述各热门事件的背景信息。The background information of each popular event is obtained according to the associated information of each popular event and the time ordering of the associated information of each popular event.
在一个实施例中,所述将所述状态信息和所述任一热点事件对应的背景信息发送至用户设备,包括:In one embodiment, the sending the status information and the background information corresponding to any hot event to the user equipment includes:
为所述状态信息设置热门事件标记;Set a popular event flag for the state information;
生成用于控制所述状态信息置顶的控制指令;generating a control instruction for controlling the state information to be placed on top;
将设置热门事件标记的所述状态信息、所述任一热点事件对应的背景信息和所述控制指令发送至用户设备,以使所述用户设备根据所述控制指令,将设置热门事件标记的所述状态信息和所述任一热点事件对应的背景信息置顶显示。Sending the state information for setting the hot event flag, the background information corresponding to any hot event, and the control instruction to the user equipment, so that the user equipment will set the popular event flag according to the control instruction The above status information and the background information corresponding to any of the hot events are displayed on top.
根据本公开实施例的第二方面,提供一种热点事件的确定装置,包括:According to a second aspect of an embodiment of the present disclosure, an apparatus for determining a hotspot event is provided, including:
第一获取模块,用于获取用户好友当前发表的状态信息;The first obtaining module is used to obtain the status information currently published by the user's friends;
判断模块,用于依次判断所述第一获取模块获取到的所述状态信息是否与预先获得的各热点事件的信息相匹配;A judging module, configured to sequentially judge whether the status information acquired by the first acquiring module matches the pre-acquired information of each hot event;
第一确定模块,用于当所述判断模块的判断结果为所述状态信息与所述各热点事件中的任一热点事件的信息相匹配时,确定所述状态信息属于所述任一热点事件。A first determination module, configured to determine that the state information belongs to any one of the hot events when the judging result of the judgment module is that the state information matches the information of any one of the hot events. .
在一个实施例中,所述装置还包括:In one embodiment, the device also includes:
第二获取模块,用于当所述状态信息属于所述任一热点事件时,获取预先获得的所述任一热点事件对应的背景信息,其中,所述背景信息包括:所述任一热点事件的起因和所述任一热点事件的发展过程中的至少一项信息;A second acquiring module, configured to acquire pre-acquired background information corresponding to any hot event when the state information belongs to any hot event, wherein the background information includes: any hot event At least one piece of information on the cause of the hotspot event and the development process of any of the hotspot events mentioned above;
发送模块,用于将所述第一获取模块获取到的所述状态信息和所述第二获取模块获取到的所述任一热点事件对应的背景信息发送至用户设备,以使用户设备同时显示所述状态信息和所述任一热点事件对应的背景信息,其中,所述状态信息包括:一条或多条信息。a sending module, configured to send the state information obtained by the first obtaining module and the background information corresponding to any hot event obtained by the second obtaining module to the user equipment, so that the user equipment simultaneously displays The status information and background information corresponding to any hot event, wherein the status information includes: one or more pieces of information.
在一个实施例中,所述判断模块包括:In one embodiment, the judgment module includes:
第一判断子模块,用于依次判断所述状态信息中的文本信息是否与所述各热点事件的文本信息相匹配;The first judging submodule is used to sequentially judge whether the text information in the state information matches the text information of each hot event;
第一确定子模块,用于当所述第一判断子模块的判断结果为所述状态信息中的文本信息与所述各热点事件中的任一热点事件的关键词相匹配时,确定所述状态信息与所述任一热点事件的信息相匹配;The first determining submodule is configured to determine the The state information matches the information of any hot event;
和/或and / or
第二判断子模块,用于依次判断所述状态信息中的图片特征信息是否与所述各热点事件的图片特征信息相匹配;The second judging submodule is used to sequentially judge whether the picture feature information in the state information matches the picture feature information of each hot event;
第二确定子模块,用于当所述第二判断子模块的判断结果为所述状态信息中的图片特征信息与所述各热点事件中的任一热点事件的图片特征信息相匹配时,确定所述状态信息与所述任一热点事件的信息相匹配。The second determining submodule is configured to determine when the judgment result of the second judging submodule is that the picture feature information in the state information matches the picture feature information of any hot event among the hot events. The state information matches the information of any hot event.
在一个实施例中,所述装置还包括:In one embodiment, the device also includes:
第三获取模块,用于在依次判断所述状态信息是否与预先获得的各热点事件的信息相匹配之前,获取预设历史时间段内各用户发表的历史状态信息;The third obtaining module is used to obtain the historical state information published by each user within the preset historical time period before sequentially judging whether the state information matches the information of each hot event obtained in advance;
第四获取模块,用于获取所述第三获取模块获取到的所述各用户发表的历史状态信息中的所有词和/或所有图片特征信息的出现频率;The fourth obtaining module is used to obtain the frequency of occurrence of all words and/or all picture feature information in the historical status information published by the users obtained by the third obtaining module;
第二确定模块,用于根据所述第四获取模块获取到的所述所有词和/或所有图片特征信息的出现频率,确定所述各用户发表的历史状态信息中的所有热门信息,其中,所述所有热门信息包括:所有热门关键词和/或所有热门图片特征信息;The second determination module is configured to determine all popular information in the historical status information published by each user according to the frequency of occurrence of all the words and/or all picture feature information acquired by the fourth acquisition module, wherein, The all popular information includes: all popular keywords and/or feature information of all popular pictures;
第五获取模块,用于根据所述第二确定模块确定的所述所有热门信息,获得所述各热门事件。A fifth obtaining module, configured to obtain the popular events according to all the popular information determined by the second determining module.
在一个实施例中,所述第五获取模块包括:In one embodiment, the fifth acquisition module includes:
处理子模块,用于将所述所有热门信息进行处理,以获取所述各热门事件所属的热门信息;A processing submodule, configured to process all the popular information to obtain the popular information to which each popular event belongs;
第一生成子模块,用于根据所述处理子模块获取到的所述各热门事件所属的热门信息,生成所述各热门事件,其中,所述各热门事件所属的热门信息包括:所述各热门事件所属的热门关键词和/或热门图片特征信息。The first generating submodule is configured to generate the popular events according to the popular information of the popular events acquired by the processing submodule, wherein the popular information of the popular events includes: the Feature information of popular keywords and/or popular pictures to which the popular event belongs.
在一个实施例中,所述装置还包括:In one embodiment, the device also includes:
第六获取模块,用于在获取预先获得的所述任一热点事件对应的背景信息之前,在生成所述各热门事件时,从预设数据库中获取与所述各热门事件所属的热门信息有关的关联信息;The sixth acquisition module is used to obtain from a preset database the information related to the hot information to which each hot event belongs before acquiring the pre-acquired background information corresponding to any hot event. related information;
第七获取模块,用于根据所述第六获取模块获取到的所述各热门事件的关联信息和所述各热门事件的关联信息的时间排序,获取所述各热门事件的背景信息。The seventh acquiring module is configured to acquire the background information of the popular events according to the related information of the popular events acquired by the sixth acquiring module and the time order of the related information of the popular events.
在一个实施例中,所述发送模块包括:In one embodiment, the sending module includes:
设置子模块,用于为所述状态信息设置热门事件标记;Setting a submodule, used to set a popular event flag for the state information;
第二生成子模块,用于生成用于控制所述状态信息置顶的控制指令;The second generation submodule is used to generate a control instruction for controlling the state information to be placed on top;
发送子模块,用于将使用所述设置子模块设置了热门事件标记的所述状态信息、所述任一热点事件对应的背景信息和所述第二生成子模块生成的所述控制指令发送至用户设备,以使所述用户设备根据所述控制指令,将设置热门事件标记的所述状态信息和所述任一热点事件对应的背景信息置顶显示。The sending submodule is used to send the status information with the hot event flag set by the setting submodule, the background information corresponding to any hot event, and the control instruction generated by the second generating submodule to The user equipment, so that the user equipment, according to the control instruction, displays the state information with the hot event flag set and the background information corresponding to any hot event on top.
根据本公开实施例的第三方面,提供了一种热点事件的确定装置,包括:According to a third aspect of an embodiment of the present disclosure, an apparatus for determining a hotspot event is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
获取用户好友当前发表的状态信息;Obtain the status information currently published by the user's friends;
依次判断所述状态信息是否与预先获得的各热点事件的信息相匹配;Sequentially determine whether the state information matches the pre-acquired information of each hot event;
当所述状态信息与所述各热点事件中的任一热点事件的信息相匹配时,确定所述状态信息属于所述任一热点事件。When the state information matches the information of any hot event among the various hot events, it is determined that the state information belongs to the any hot event.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
本公开的实施例提供的技术方案,在接收到用户好友当前发表的状态信息之后,可以依次判断该状态信息是否与预先获得的各热点事件的信息相匹配,当该状态信息与各热点事件中的任一热点事件的信息的相似度高于预设相似度时,说明该状态信息与各热点事件中的任一热点事件的信息相匹配,则可以准确确定该状态信息属于该任一热点事件,以便于后期对该状态信息进行标记,同时使得用户在刷新朋友圈时,在看到该好友发表的状态信息时,可以很清楚地了解该状态信息属于近期的一个热点事件。In the technical solution provided by the embodiments of the present disclosure, after receiving the status information currently published by the user's friends, it can be judged in turn whether the status information matches the pre-acquired hot event information. When the similarity of the information of any hot event is higher than the preset similarity, it means that the state information matches the information of any hot event in each hot event, and it can be accurately determined that the state information belongs to any hot event , so as to mark the status information in the later stage, and at the same time, when the user refreshes the circle of friends and sees the status information published by the friend, he can clearly understand that the status information belongs to a recent hot event.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的一种热点事件的确定方法的流程图。Fig. 1 is a flowchart showing a method for determining a hotspot event according to an exemplary embodiment.
图2是根据一示例性实施例示出的另一种热点事件的确定方法的流程图。Fig. 2 is a flow chart showing another method for determining a hotspot event according to an exemplary embodiment.
图3A是根据一示例性实施例一示出的又一种热点事件的确定方法的流程图。Fig. 3A is a flow chart showing another method for determining a hotspot event according to the first exemplary embodiment.
图3B是根据一示例性实施例一示出的再一种热点事件的确定方法的流程图。Fig. 3B is a flow chart of another method for determining a hotspot event according to the first exemplary embodiment.
图4是根据一示例性实施例一示出的再一种热点事件的确定方法的流程图。Fig. 4 is a flow chart showing another method for determining a hotspot event according to the first exemplary embodiment.
图5是根据一示例性实施例一示出的再一种热点事件的确定方法的流程图。Fig. 5 is a flow chart showing another method for determining a hotspot event according to the first exemplary embodiment.
图6是根据一示例性实施例一示出的再一种热点事件的确定方法的流程图。Fig. 6 is a flow chart showing another method for determining a hotspot event according to the first exemplary embodiment.
图7是根据一示例性实施例一示出的再一种热点事件的确定方法的流程图。Fig. 7 is a flow chart showing another method for determining a hotspot event according to the first exemplary embodiment.
图8是根据一示例性实施例示出的一种热点事件的确定装置的框图。Fig. 8 is a block diagram of an apparatus for determining a hotspot event according to an exemplary embodiment.
图9是根据一示例性实施例示出的另一种热点事件的确定装置的框图。Fig. 9 is a block diagram of another apparatus for determining a hotspot event according to an exemplary embodiment.
图10A是根据一示例性实施例示出的又一种热点事件的确定装置的框图。Fig. 10A is a block diagram showing another apparatus for determining a hotspot event according to an exemplary embodiment.
图10B是根据一示例性实施例示出的再一种热点事件的确定装置的框图。Fig. 10B is a block diagram showing another apparatus for determining a hotspot event according to an exemplary embodiment.
图11是根据一示例性实施例示出的再一种热点事件的确定装置的框图。Fig. 11 is a block diagram of another apparatus for determining a hotspot event according to an exemplary embodiment.
图12是根据一示例性实施例示出的再一种热点事件的确定装置的框图。Fig. 12 is a block diagram of another apparatus for determining a hotspot event according to an exemplary embodiment.
图13是根据一示例性实施例示出的再一种热点事件的确定装置的框图。Fig. 13 is a block diagram of another apparatus for determining a hotspot event according to an exemplary embodiment.
图14是根据一示例性实施例示出的再一种热点事件的确定装置的框图。Fig. 14 is a block diagram of another apparatus for determining a hotspot event according to an exemplary embodiment.
图15是根据一示例性实施例示出的适用于热点事件的确定装置的框图。Fig. 15 is a block diagram of an apparatus suitable for determining a hotspot event according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
目前,越来越多的用户通过朋友圈发表各种状态,而相关技术中的朋友圈都是以时间顺序进行顺次排列的,用户的感受也只是某个朋友在朋友圈发表了一个状态,并不知道自己的朋友圈中所刷新的各种状态是否有任何关联,例如:用户可能并不知道好友发表的某条或者某几条状态是否属于近期的一个热点事件,更不知道这些热点事件发生的前因后果,这使得用户体验较低。At present, more and more users post various statuses through the circle of friends, and the circles of friends in related technologies are arranged in chronological order, and the user's feeling is only that a friend has posted a status in the circle of friends. I don't know whether the various statuses refreshed in my circle of friends are related. For example, the user may not know whether a certain or several statuses published by friends belong to a recent hot event, let alone these hot events The cause and effect of the occurrence, which makes the user experience lower.
为了解决上述技术问题,本公开实施例提供了一种热点事件的确定方法,该方法可用于热点事件的确定程序、系统或装置中,且该方法对应的执行主体可以是服务器,且该服务器同时连接用户的终端(即用户设备)和用户好友的终端(即用户好友的设备),用于接收用户好友通过其终端发表的状态信息,如图1所示,该方法包括步骤S101至步骤S103:In order to solve the above technical problems, an embodiment of the present disclosure provides a method for determining a hotspot event, which can be used in a program, system or device for determining a hotspot event, and the execution subject corresponding to the method may be a server, and the server simultaneously Connect the user's terminal (i.e. the user equipment) and the terminal of the user friend (i.e. the equipment of the user friend), for receiving the state information published by the user friend through its terminal, as shown in Figure 1, the method includes steps S101 to S103:
在步骤S101中,获取用户好友当前发表的状态信息;In step S101, obtain the status information currently published by the user's friends;
在接收到用户好友当前发表的状态信息且在将该状态信息推送至用户之前,可以先获取并存储该状态信息,以便于将该状态信息进行分析从而确定该状态信息是否为热点事件。Before receiving the status information currently published by the user's friends and pushing the status information to the user, the status information can be acquired and stored, so as to analyze the status information to determine whether the status information is a hot event.
该状态信息可以是用户好友在即时通信平台上发表的状态/说说,如可以是该用户好友在微信、微博、QQ等即时通信平台上发表的状态/说说。The state information can be the state/talk published by the user's friend on the instant messaging platform, such as the state/talk published by the user's friend on the instant messaging platform such as WeChat, Weibo, QQ.
另外,该状态信息可以是同一好友当前发表的一条或多条信息、或者是不同好友当前发表的一条或多条信息。In addition, the status information may be one or more pieces of information currently published by the same friend, or one or more pieces of information currently published by different friends.
在步骤S102中,依次判断状态信息是否与预先获得的各热点事件的信息相匹配;In step S102, it is judged sequentially whether the state information matches the information of each hot event obtained in advance;
预设获得的各热点事件可以是预设获得的近期的各种热点事件,且各种热点事件可以是预先通过统计海量用户的朋友圈中的历史状态信息获取到的。The preset hot events may be various recent hot events, and the hot events may be pre-obtained by counting the historical state information in the circle of friends of a large number of users.
在步骤S103中,当状态信息与各热点事件中的任一热点事件的信息相匹配时,确定状态信息属于任一热点事件。In step S103, when the state information matches information of any hot event among the hot events, it is determined that the state information belongs to any hot event.
在接收到用户好友当前发表的状态信息之后,可以依次判断该状态信息是否与预先获得的各热点事件的信息相匹配,当该状态信息与各热点事件中的任一热点事件的信息的相似度高于预设相似度时,说明该状态信息与各热点事件中的任一热点事件的信息相匹配,则可以准确确定该状态信息属于该任一热点事件,以便于后期对该状态信息进行标记,使得用户在刷新朋友圈时,在看到该好友发表的状态信息时,可以很清楚地了解该状态信息属于近期的一个热点事件。After receiving the status information currently published by the user's friends, it can be judged in turn whether the status information matches the information of each hot event obtained in advance. When the similarity is higher than the preset similarity, it means that the state information matches the information of any hot event in each hot event, and it can be accurately determined that the state information belongs to any hot event, so as to mark the state information later , so that when the user refreshes the circle of friends and sees the status information published by the friend, he can clearly understand that the status information belongs to a recent hot event.
如图2所示,在一个实施例中,上述方法还可包括:As shown in Figure 2, in one embodiment, the above method may also include:
在步骤S201中,当状态信息属于任一热点事件时,获取预先获得的任一热点事件对应的背景信息,其中,背景信息包括:任一热点事件的起因和任一热点事件的发展过程中的至少一项信息;In step S201, when the status information belongs to any hot event, obtain the pre-acquired background information corresponding to any hot event, wherein the background information includes: the cause of any hot event and the development process of any hot event at least one piece of information;
在步骤S202中,将状态信息和任一热点事件对应的背景信息发送至用户设备,以使用户设备同时显示状态信息和任一热点事件对应的背景信息,其中,状态信息包括:一条或多条信息,且用户设备可以是用户使用的手机、平板、计算机等设备。In step S202, the status information and the background information corresponding to any hot event are sent to the user equipment, so that the user equipment simultaneously displays the status information and the background information corresponding to any hot event, wherein the status information includes: one or more information, and the user equipment may be a mobile phone, a tablet, a computer and other equipment used by the user.
当该状态信息属于任一热点事件时,可以获取预先获得的该任一热点事件对应的背景信息,进而将状态信息和任一热点事件对应的背景信息发送至用户设备,以使用户设备同时显示状态信息和任一热点事件对应的背景信息,这样用户在刷新朋友圈时,在看到该好友发表的状态信息时,就不仅可以很清楚地了解该状态信息属于近期的一个热点事件,同时还能够清楚地了解该任一热点事件的起因和发展过程,这有利于用户了解该任一热点事件的前因后果,从而有利于加速该任一热点事件的传播速度。When the state information belongs to any hot event, the pre-obtained background information corresponding to any hot event can be obtained, and then the state information and the background information corresponding to any hot event can be sent to the user equipment, so that the user equipment can simultaneously display The status information and the background information corresponding to any hot event, so that when the user refreshes the circle of friends and sees the status information posted by the friend, he can not only clearly understand that the status information belongs to a recent hot event, but also Being able to clearly understand the cause and development process of any hot event is helpful for users to understand the cause and effect of any hot event, thereby helping to speed up the propagation speed of any hot event.
如图3A所示,在一个实施例中,上述图1和图2中的步骤S102可被执行为:As shown in FIG. 3A, in one embodiment, step S102 in the above-mentioned FIG. 1 and FIG. 2 may be executed as:
在步骤S301中,依次判断状态信息中的文本信息是否与各热点事件的文本信息相匹配;In step S301, determine whether the text information in the status information matches the text information of each hot event in turn;
在步骤S302中,当状态信息中的文本信息与各热点事件中的任一热点事件的关键词相匹配时,确定状态信息与任一热点事件的信息相匹配;In step S302, when the text information in the state information matches the keyword of any hot event in each hot event, it is determined that the state information matches the information of any hot event;
在判断状态信息是否与预先获得的各热点事件的信息相匹配时,可以自动根据文本相似度匹配算法判断该状态信息中的文本信息是否与各热点事件的文本信息相匹配,如果该状态信息中的文本信息与某个任一热点事件中的文本信息相匹配,则说明该状态信息中的文本信息与该任一热点事件的文本信息中相同或相近的关键词的数目较多且该状态信息中的文本信息与该任一热点事件的文本信息的语义相近,因而,可以准确确定该状态信息与该任一热点事件的信息相匹配。When judging whether the status information matches the pre-acquired hot event information, it can be automatically judged according to the text similarity matching algorithm whether the text information in the status information matches the text information of each hot event. The text information in the state information matches the text information in any hot event, which means that the text information in the status information has a large number of keywords that are the same as or similar to the text information in the hot event, and the status information The semantics of the text information in is similar to the text information of any hot event, so it can be accurately determined that the state information matches the information of any hot event.
和/或and / or
如图3B所示,在一个实施例中,上述图1和图2中的步骤S102可被执行为:As shown in FIG. 3B, in one embodiment, step S102 in the above-mentioned FIG. 1 and FIG. 2 may be executed as:
在步骤S303中,依次判断状态信息中的图片特征信息是否与各热点事件的图片特征信息相匹配;In step S303, it is judged in sequence whether the picture feature information in the status information matches the picture feature information of each hot event;
在步骤S304中,当状态信息中的图片特征信息与各热点事件中的任一热点事件的图片特征信息相匹配时,确定状态信息与任一热点事件的信息相匹配,其中,图片特征信息包括:状态信息中的图片的颜色特征、纹理特征、形状特征等特征。In step S304, when the picture feature information in the state information matches the picture feature information of any hot event in each hot event, it is determined that the state information matches the information of any hot event, wherein the picture feature information includes : The color feature, texture feature, shape feature and other features of the picture in the state information.
在判断状态信息是否与预先获得的各热点事件的信息相匹配时,如果该状态信息中有图片,则还可以自动判断该状态信息中的图片特征信息是否与各热点事件的图片特征信息相匹配,如果该状态信息中的图片特征信息与该任一热点事件的图片特征信息的相似度较高,则说明该状态信息中的图片特征信息与某个任一热点事件的图片特征信息相匹配,因而,可以准确确定该状态信息与该任一热点事件的信息相匹配。When judging whether the state information matches the pre-acquired information of each hot event, if there is a picture in the state information, it can also automatically judge whether the picture feature information in the state information matches the picture feature information of each hot event , if the similarity between the picture feature information in the state information and the picture feature information of any hot event is high, it means that the picture feature information in the state information matches the picture feature information of any hot event, Therefore, it can be accurately determined that the state information matches the information of any hot event.
如图4所示,在一个实施例中,在执行上述图1和图2中的步骤S102之前,上述方法还可包括:As shown in FIG. 4, in one embodiment, before performing step S102 in the above-mentioned FIG. 1 and FIG. 2, the above method may further include:
在步骤S401中,获取预设历史时间段内各用户发表的历史状态信息;In step S401, the historical status information published by each user within the preset historical time period is obtained;
获取各用户发表的历史状态信息的过程就是采用自然语言处理算法对近期的海量用户在朋友圈发表的状态信息进行统计和分析的过程。The process of obtaining the historical status information published by each user is the process of using natural language processing algorithms to count and analyze the status information published by a large number of users in Moments recently.
在步骤S402中,获取各用户发表的历史状态信息中的所有词和/或所有图片特征信息的出现频率;In step S402, the frequency of occurrence of all words and/or all picture feature information in the historical state information published by each user is obtained;
在步骤S403中,根据所有词和/或所有图片特征信息的出现频率,确定各用户发表的历史状态信息中的所有热门信息,其中,所有热门信息包括:所有热门关键词和/或所有热门图片特征信息;In step S403, according to the frequency of occurrence of all words and/or all picture feature information, determine all popular information in the historical status information published by each user, wherein all popular information includes: all popular keywords and/or all popular pictures characteristic information;
其中,在根据出现频率确定热门信息时,出现频率高于某个阈值的词或者图片特征信息都属于热门信息。Wherein, when hot information is determined according to the frequency of occurrence, words or picture feature information whose frequency of occurrence is higher than a certain threshold are all hot information.
在步骤S404中,根据所有热门信息,获得各热门事件。In step S404, each popular event is obtained according to all popular information.
在获取到海量历史状态信息中的所有热门信息时,可以根据这些所有热门信息的来源(即每个热门信息所来自的历史状态信息)和所有热门信息之间的相关度等信息,自动地对各热门事件进行整理、归纳,以获取到各热门事件;When all the popular information in the massive historical state information is obtained, it can be automatically analyzed according to the source of all the popular information (that is, the historical state information from which each popular information comes) and the correlation between all the popular information. Organize and summarize the popular events to obtain the popular events;
另外,还可以为各热门事件设置一个事件标题,以方便后期查找和使用该热门事件。In addition, an event title can also be set for each popular event, so as to facilitate the later search and use of the popular event.
如图5所示,在一个实施例中,上述图4所示的步骤S404可被执行为:As shown in FIG. 5, in one embodiment, step S404 shown in FIG. 4 above may be executed as:
在步骤S501中,将所有热门信息进行处理,以获取各热门事件所属的热门信息;In step S501, all popular information is processed to obtain the popular information to which each popular event belongs;
在步骤S502中,根据各热门事件所属的热门信息,生成各热门事件,其中,各热门事件所属的热门信息包括:各热门事件所属的热门关键词和/或热门图片特征信息。In step S502, each hot event is generated according to the hot information to which each hot event belongs, wherein the hot information to which each hot event belongs includes: hot keywords and/or hot picture feature information to which each hot event belongs.
由于每个热门事件都源自若干个历史状态信息,且同一热门事件对应的若干个历史状态信息中的关键词相同或者相近的概率较大,同时同一热门事件对应的若干个历史状态信息中的不同关键词的相关度也较大,因而,在获取各热门事件所属的热门信息时,可以人工地或者自动地据每个热门信息的来源(即每个热门信息所来自的历史状态信息)和不同热门信息之间的相关度等信息,对各热门事件进行整理、归纳,以获取到各热门事件所属的热门关键词或者热门图片特征信息,进而将各热门事件所属的热门关键词或者热门图片特征信息进行整合即可生成各热门事件。Since each popular event comes from several historical state information, and the keywords in several historical state information corresponding to the same popular event have a higher probability of being the same or similar, and at the same time, the keywords in several historical state information corresponding to the same popular event The relevancy of different keywords is also relatively large. Therefore, when obtaining the popular information to which each popular event belongs, it can be manually or automatically based on the source of each popular information (that is, the historical state information from which each popular information comes) and Correlation between different popular information and other information, organize and summarize each popular event, in order to obtain the popular keywords or popular picture feature information of each popular event, and then classify the popular keywords or popular pictures to which each popular event belongs Feature information can be integrated to generate popular events.
如图6所示,在一个实施例中,在执行图2所示的步骤S201之前,上述方法还可包括:As shown in FIG. 6, in one embodiment, before performing step S201 shown in FIG. 2, the above method may further include:
在步骤S601中,在生成各热门事件时,从预设数据库中获取与各热门事件所属的热门信息有关的关联信息;In step S601, when each popular event is generated, related information related to the popular information to which each popular event belongs is obtained from a preset database;
该预设数据库可以是能够记录事件传播过程的各种数据库如可以是云端的XX文库、XX图片库等。The preset database can be various databases capable of recording the event propagation process, such as XX library, XX picture library, etc. in the cloud.
与各热门事件所属的热门信息有关的关联信息是预设数据库中存储的包含该热门信息的图片或者文章,或者是预设数据库中存储的与该热门信息相关度较大的图片或者文章,也即关联信息表征着各热门事件所属的热门信息在预设数据库中所出现的位置区域和时间。The associated information related to the hot information to which each hot event belongs is a picture or an article containing the hot information stored in the preset database, or a picture or article with a high correlation with the hot information stored in the preset database, or That is, the associated information represents the location area and time where the hot information to which each hot event belongs appears in the preset database.
在步骤S602中,根据各热门事件的关联信息和各热门事件的关联信息的时间排序,获取各热门事件的背景信息。In step S602, the background information of each popular event is acquired according to the associated information of each popular event and the time order of the associated information of each popular event.
由于每个事件都是按照时间顺序发展和演变的,因而,在获取到各热门事件的关联信息之后,可以根据这些关联信息的时间排序(即时间从前到后的拍寻),自动地生成用于表征各热门事件的前因后果的背景信息。Since each event develops and evolves in chronological order, after obtaining the associated information of each popular event, it can be automatically generated according to the time ordering of these associated information (that is, the time from front to back). It is used to characterize the background information of the cause and effect of each popular event.
如图7所示,在一个实施例中,上述图2所示的步骤S202可被执行为:As shown in FIG. 7, in one embodiment, step S202 shown in FIG. 2 above may be executed as:
在步骤S701中,为状态信息设置热门事件标记;In step S701, a popular event flag is set for the state information;
为状态信息设置热门事件标记可以是将该状态信息进行放大显示、加粗显示、或者为该状态信息设置表征该状态信息为热门事件的文字标记、或者为状态信息设置符号标记等。Setting the popular event mark for the status information may be to enlarge and display the status information, or to display the status information in bold, or to set a text mark for the status information indicating that the status information is a popular event, or to set a symbol mark for the status information.
在步骤S702中,生成用于控制状态信息置顶的控制指令;In step S702, generate a control instruction for controlling the status information to be on top;
在步骤S703中,将设置热门事件标记的状态信息、任一热点事件对应的背景信息和控制指令发送至用户设备,以使用户设备根据控制指令,将设置热门事件标记的状态信息和任一热点事件对应的背景信息置顶显示,其中,用户设备为该用户好友所对应的用户所使用的手机、平板、计算机等终端。In step S703, the state information of setting the popular event flag, the background information corresponding to any hot event and the control instruction are sent to the user equipment, so that the user equipment will set the state information of the popular event flag and any hot event according to the control instruction. The background information corresponding to the event is displayed on top, wherein the user equipment is a mobile phone, a tablet, a computer and other terminals used by the user corresponding to the user's friend.
通过将设置热门事件标记的状态信息、任一热点事件对应的背景信息和控制指令这三者一同发送至用户设备,可以使用户设备根据控制指令,将设置热门事件标记的状态信息和任一热点事件对应的背景信息一同置顶显示,这样用户在刷新朋友圈时,就可以优先看到该好友发表的被置顶的状态信息,同时用户不仅可以很清楚地了解该状态信息属于近期的一个热点事件,还能够清楚地了解该任一热点事件的起因和发展过程,从而有利于用户清楚地了解该任一热点事件的前因后果,并有利于加速该任一热点事件的传播速度。By sending the status information of setting the popular event flag, the background information corresponding to any hot event, and the control instruction to the user device, the user device can set the status information of the popular event flag and any hot event according to the control instruction. The background information corresponding to the event is displayed on the top together, so that when the user refreshes the circle of friends, he can first see the top status information published by the friend. At the same time, the user can not only clearly understand that the status information belongs to a recent hot event, It is also possible to clearly understand the cause and development process of any hot event, thereby helping users to clearly understand the cause and effect of any hot event, and to accelerate the propagation speed of any hot event.
其次,由于设置热门事件标记的状态信息及其所属的热门事件的背景信息被置顶显示了,因而,用户的朋友圈中不属于任何热门事件的状态信息就被按照时间从近到远的顺序紧随该状态信息进行了排列显示。Secondly, because the status information of the hot event mark and the background information of the popular event to which it belongs are displayed on top, the status information that does not belong to any popular event in the user's circle of friends is displayed in the order of time from the nearest to the farthest. The display is arranged along with this status information.
另外,根据控制指令,将设置热门事件标记的状态信息和任一热点事件对应的背景信息置顶显示时,为了使用户能够优先看到该好友发表的状态信息,该状态信息显示在该状态信息所属的热门事件的背景信息之前,且如果该状态信息有多条,则多条状态信息之间仍然可以按照时间从近到远的顺序进行排列显示,而背景信息显示在多条状态信息的最下面。In addition, according to the control instruction, when the status information with the hot event mark and the background information corresponding to any hot event are displayed on top, in order to enable the user to see the status information published by the friend first, the status information is displayed in the status information to which the status information belongs. Before the background information of popular events, and if there are multiple pieces of status information, the multiple pieces of status information can still be displayed in order of time from recent to far, while the background information is displayed at the bottom of the multiple pieces of status information .
对应本公开实施例提供的上述热点事件的确定方法,本公开实施例还提供一种热点事件的确定装置,如图8所示,该装置包括:Corresponding to the method for determining the above-mentioned hotspot event provided by the embodiment of the present disclosure, the embodiment of the present disclosure also provides a device for determining a hotspot event, as shown in FIG. 8 , the device includes:
第一获取模块801,被配置为获取用户好友当前发表的状态信息;The first obtaining module 801 is configured to obtain the status information currently published by the user's friends;
判断模块802,被配置为依次判断第一获取模块801获取到的状态信息是否与预先获得的各热点事件的信息相匹配;The judging module 802 is configured to sequentially judge whether the status information acquired by the first acquiring module 801 matches the pre-acquired information of each hotspot event;
第一确定模块803,被配置为当判断模块802的判断结果为状态信息与各热点事件中的任一热点事件的信息相匹配时,确定状态信息属于任一热点事件。The first determining module 803 is configured to determine that the state information belongs to any hot event when the judging result of the judging module 802 is that the state information matches information of any hot event among the hot events.
如图9所示,在一个实施例中,上述装置还可包括:As shown in Figure 9, in one embodiment, the above-mentioned device may further include:
第二获取模块901,被配置为当状态信息属于任一热点事件时,获取预先获得的任一热点事件对应的背景信息,其中,背景信息包括:任一热点事件的起因和任一热点事件的发展过程中的至少一项信息;The second acquisition module 901 is configured to acquire pre-acquired background information corresponding to any hot event when the state information belongs to any hot event, wherein the background information includes: the cause of any hot event and the At least one piece of information on the development process;
发送模块902,被配置为将第一获取模块801获取到的状态信息和第二获取模块901获取到的任一热点事件对应的背景信息发送至用户设备,以使用户设备同时显示状态信息和任一热点事件对应的背景信息,其中,状态信息包括:一条或多条信息。The sending module 902 is configured to send the state information obtained by the first obtaining module 801 and the background information corresponding to any hot event obtained by the second obtaining module 901 to the user equipment, so that the user equipment simultaneously displays the state information and any Background information corresponding to a hot event, wherein the status information includes: one or more pieces of information.
如图10A所示,在一个实施例中,上述图8所示的判断模块802可以包括:As shown in FIG. 10A, in one embodiment, the judging module 802 shown in FIG. 8 may include:
第一判断子模块8021,被配置为依次判断状态信息中的文本信息是否与各热点事件的文本信息相匹配;The first judging sub-module 8021 is configured to sequentially judge whether the text information in the status information matches the text information of each hot event;
第一确定子模块8022,被配置为当第一判断子模块8021的判断结果为状态信息中的文本信息与各热点事件中的任一热点事件的关键词相匹配时,确定状态信息与任一热点事件的信息相匹配;The first determination sub-module 8022 is configured to determine that the status information matches any hot event keyword when the judgment result of the first judgment sub-module 8021 is that the text information in the status information Match the information of hot events;
和/或and / or
如图10B所示,在一个实施例中,上述图8所示的判断模块802可以包括:As shown in FIG. 10B, in one embodiment, the judging module 802 shown in FIG. 8 may include:
第二判断子模块8023,被配置为依次判断状态信息中的图片特征信息是否与各热点事件的图片特征信息相匹配;The second judging sub-module 8023 is configured to sequentially judge whether the picture feature information in the state information matches the picture feature information of each hot event;
第二确定子模块8024,被配置为当第二判断子模块8023的判断结果为状态信息中的图片特征信息与各热点事件中的任一热点事件的图片特征信息相匹配时,确定状态信息与任一热点事件的信息相匹配。The second determination sub-module 8024 is configured to determine that the status information is consistent with the picture feature information of any hot event in each hot event when the judgment result of the second judgment sub-module 8023 is that the picture feature information in the state information matches the picture feature information of any hot event. Match the information of any hot event.
如图11所示,在一个实施例中,上述装置还可包括:As shown in Figure 11, in one embodiment, the above-mentioned device may further include:
第三获取模块1101,被配置为在依次判断状态信息是否与预先获得的各热点事件的信息相匹配之前,获取预设历史时间段内各用户发表的历史状态信息;The third acquiring module 1101 is configured to acquire the historical status information published by each user within a preset historical time period before sequentially judging whether the status information matches the pre-acquired information of each hot event;
第四获取模块1102,被配置为获取第三获取模块1101获取到的各用户发表的历史状态信息中的所有词和/或所有图片特征信息的出现频率;The fourth obtaining module 1102 is configured to obtain the frequency of occurrence of all words and/or all picture feature information in the historical state information published by each user obtained by the third obtaining module 1101;
第二确定模块1103,被配置为根据第四获取模块1102获取到的所有词和/或所有图片特征信息的出现频率,确定各用户发表的历史状态信息中的所有热门信息,其中,所有热门信息包括:所有热门关键词和/或所有热门图片特征信息;The second determining module 1103 is configured to determine all popular information in the historical state information published by each user according to the frequency of occurrence of all words and/or all picture feature information obtained by the fourth obtaining module 1102, wherein all popular information Including: all popular keywords and/or feature information of all popular pictures;
第五获取模块1104,被配置为根据第二确定模块1103确定的所有热门信息,获得各热门事件。The fifth acquiring module 1104 is configured to acquire popular events according to all popular information determined by the second determining module 1103 .
如图12所示,在一个实施例中,上述图11中的第五获取模块1104可以包括:As shown in FIG. 12, in an embodiment, the fifth obtaining module 1104 in FIG. 11 may include:
处理子模块11041,被配置为将所有热门信息进行处理,以获取各热门事件所属的热门信息;The processing sub-module 11041 is configured to process all popular information to obtain the popular information to which each popular event belongs;
第一生成子模块11042,被配置为根据处理子模块11041获取到的各热门事件所属的热门信息,生成各热门事件,其中,各热门事件所属的热门信息包括:各热门事件所属的热门关键词和/或热门图片特征信息。The first generation sub-module 11042 is configured to generate each popular event according to the hot information to which each hot event belongs obtained by the processing sub-module 11041, wherein the hot information to which each hot event belongs includes: the popular keywords to which each hot event belongs and/or popular image feature information.
如图13所示,在一个实施例中,上述装置还可包括:As shown in Figure 13, in one embodiment, the above-mentioned device may further include:
第六获取模块1301,被配置为在获取预先获得的任一热点事件对应的背景信息之前,在生成各热门事件时,从预设数据库中获取与各热门事件所属的热门信息有关的关联信息;The sixth acquiring module 1301 is configured to acquire the related information related to the hot information to which each hot event belongs from a preset database when each hot event is generated before acquiring the pre-acquired background information corresponding to any hot event;
第七获取模块1302,被配置为根据第六获取模块1301获取到的各热门事件的关联信息和各热门事件的关联信息的时间排序,获取各热门事件的背景信息。The seventh acquiring module 1302 is configured to acquire the background information of each popular event according to the associated information of each popular event acquired by the sixth acquiring module 1301 and the time order of the associated information of each popular event.
如图14所示,在一个实施例中,上述图9所示的发送模块902可以包括:As shown in FIG. 14, in an embodiment, the sending module 902 shown in FIG. 9 may include:
设置子模块9021,被配置为为状态信息设置热门事件标记;The setting sub-module 9021 is configured to set the popular event flag for the state information;
第二生成子模块9022,被配置为生成被配置为控制状态信息置顶的控制指令;The second generation sub-module 9022 is configured to generate a control instruction configured to put the control state information on top;
发送子模块9023,被配置为将使用设置子模块9021设置了热门事件标记的状态信息、任一热点事件对应的背景信息和第二生成子模块9022生成的控制指令发送至用户设备,以使用户设备根据控制指令,将设置热门事件标记的状态信息和任一热点事件对应的背景信息置顶显示。The sending submodule 9023 is configured to send the status information of the hot event flag set by the setting submodule 9021, the background information corresponding to any hot event, and the control instruction generated by the second generation submodule 9022 to the user equipment, so that the user According to the control instruction, the device will set the status information of the hot event mark and the background information corresponding to any hot event on top for display.
根据本公开实施例的第三方面,提供一种热点事件的确定装置,包括:According to a third aspect of an embodiment of the present disclosure, an apparatus for determining a hotspot event is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,处理器被配置为:where the processor is configured as:
获取用户好友当前发表的状态信息;Obtain the status information currently published by the user's friends;
依次判断所述状态信息是否与预先获得的各热点事件的信息相匹配;Sequentially determine whether the state information matches the pre-acquired information of each hot event;
当所述状态信息与所述各热点事件中的任一热点事件的信息相匹配时,确定所述状态信息属于所述任一热点事件。When the state information matches the information of any hot event among the various hot events, it is determined that the state information belongs to the any hot event.
上述处理器还可被配置为:The processors described above can also be configured to:
所述方法还包括:The method also includes:
当所述状态信息属于所述任一热点事件时,获取预先获得的所述任一热点事件对应的背景信息,其中,所述背景信息包括:所述任一热点事件的起因和所述任一热点事件的发展过程中的至少一项信息;When the status information belongs to any of the hot events, obtain the pre-obtained background information corresponding to any of the hot events, where the background information includes: the cause of any of the hot events and the At least one piece of information on the development of hot events;
将所述状态信息和所述任一热点事件对应的背景信息发送至用户设备,以使用户设备同时显示所述状态信息和所述任一热点事件对应的背景信息,其中,所述状态信息包括:一条或多条信息。Sending the state information and the background information corresponding to any hot event to the user equipment, so that the user equipment simultaneously displays the state information and the background information corresponding to any hot event, wherein the state information includes : One or more messages.
上述处理器还可被配置为:The processors described above can also be configured to:
所述依次判断所述状态信息是否与预先获得的各热点事件的信息相匹配,包括:The sequentially judging whether the status information matches the pre-acquired information of each hot event includes:
依次判断所述状态信息中的文本信息是否与所述各热点事件的文本信息相匹配;Sequentially determine whether the text information in the state information matches the text information of each hot event;
当所述状态信息中的文本信息与所述各热点事件中的任一热点事件的关键词相匹配时,确定所述状态信息与所述任一热点事件的信息相匹配;When the text information in the state information matches the keywords of any one of the hot events, determining that the state information matches the information of any one of the hot events;
和/或and / or
依次判断所述状态信息中的图片特征信息是否与所述各热点事件的图片特征信息相匹配;Sequentially determine whether the picture feature information in the state information matches the picture feature information of each hotspot event;
当所述状态信息中的图片特征信息与所述各热点事件中的任一热点事件的图片特征信息相匹配时,确定所述状态信息与所述任一热点事件的信息相匹配。When the picture feature information in the state information matches the picture feature information of any hot event among the hot events, it is determined that the state information matches the information of any hot event.
上述处理器还可被配置为:The processors described above can also be configured to:
在依次判断所述状态信息是否与预先获得的各热点事件的信息相匹配之前,所述方法还包括:Before sequentially judging whether the state information matches the pre-acquired information of each hotspot event, the method further includes:
获取预设历史时间段内各用户发表的历史状态信息;Obtain the historical status information published by each user within the preset historical time period;
获取所述各用户发表的历史状态信息中的所有词和/或所有图片特征信息的出现频率;Obtain the frequency of occurrence of all words and/or all picture feature information in the historical state information published by each user;
根据所述所有词和/或所有图片特征信息的出现频率,确定所述各用户发表的历史状态信息中的所有热门信息,其中,所述所有热门信息包括:所有热门关键词和/或所有热门图片特征信息;According to the frequency of occurrence of all words and/or all picture feature information, determine all popular information in the historical state information published by each user, wherein, all popular information includes: all popular keywords and/or all popular Image feature information;
根据所述所有热门信息,获得所述各热门事件。According to all the popular information, the popular events are obtained.
上述处理器还可被配置为:The processors described above can also be configured to:
所述根据所述所有热门信息,获得所述各热门事件包括:The obtaining of the popular events according to all the popular information includes:
将所述所有热门信息进行处理,以获取所述各热门事件所属的热门信息;Processing all the popular information to obtain the popular information to which each popular event belongs;
根据所述各热门事件所属的热门信息,生成所述各热门事件,其中,所述各热门事件所属的热门信息包括:所述各热门事件所属的热门关键词和/或热门图片特征信息。The popular events are generated according to the popular information to which each popular event belongs, wherein the popular information to which each popular event belongs includes: popular keywords and/or feature information of popular pictures to which each popular event belongs.
上述处理器还可被配置为:The processors described above can also be configured to:
在获取预先获得的所述任一热点事件对应的背景信息之前,所述方法还包括:Before obtaining the pre-acquired background information corresponding to any hot event, the method further includes:
在生成所述各热门事件时,从预设数据库中获取与所述各热门事件所属的热门信息有关的关联信息;When generating the popular events, obtain associated information related to the popular information to which the popular events belong from a preset database;
根据所述各热门事件的关联信息和所述各热门事件的关联信息的时间排序,获取所述各热门事件的背景信息。The background information of each popular event is obtained according to the associated information of each popular event and the time ordering of the associated information of each popular event.
上述处理器还可被配置为:The processors described above can also be configured to:
所述将所述状态信息和所述任一热点事件对应的背景信息发送至用户设备,包括:The sending the status information and the background information corresponding to any hot event to the user equipment includes:
为所述状态信息设置热门事件标记;Set a popular event flag for the state information;
生成用于控制所述状态信息置顶的控制指令;generating a control instruction for controlling the state information to be placed on top;
将设置热门事件标记的所述状态信息、所述任一热点事件对应的背景信息和所述控制指令发送至用户设备,以使所述用户设备根据所述控制指令,将设置热门事件标记的所述状态信息和所述任一热点事件对应的背景信息置顶显示。Sending the state information for setting the hot event flag, the background information corresponding to any hot event, and the control instruction to the user equipment, so that the user equipment will set the popular event flag according to the control instruction The above status information and the background information corresponding to any of the hot events are displayed on top.
图15是根据一示例性实施例示出的一种用于热点事件的确定装置1500的框图。例如,装置1500可以被提供为一服务器。参照图15,装置1500包括处理组件1522,其进一步包括一个或多个处理器,以及由存储器1532所代表的存储器资源,用于存储可由处理组件1522的执行的指令,例如应用程序。存储器1532中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1522被配置为执行指令,以执行上述方法。Fig. 15 is a block diagram of an apparatus 1500 for determining a hotspot event according to an exemplary embodiment. For example, the apparatus 1500 may be provided as a server. 15, apparatus 1500 includes processing component 1522, which further includes one or more processors, and a memory resource represented by memory 1532 for storing instructions executable by processing component 1522, such as application programs. The application programs stored in memory 1532 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 1522 is configured to execute instructions to perform the above method.
装置1500还可以包括一个电源组件1526被配置为执行装置1500的电源管理,一个有线或无线网络接口1550被配置为将装置1500连接到网络,和一个输入输出(I/O)接口1558。装置1500可以操作基于存储在存储器1532的操作系统,例如Windows ServerTM,MacOS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。Device 1500 may also include a power component 1526 configured to perform power management of device 1500 , a wired or wireless network interface 1550 configured to connect device 1500 to a network, and an input-output (I/O) interface 1558 . The apparatus 1500 can operate based on an operating system stored in the memory 1532, such as Windows Server™, MacOS X™, Unix™, Linux™, FreeBSD™ or the like.
一种非临时性计算机可读存储介质,当所述存储介质中的指令由上述装置1500的处理器执行时,使得上述装置1500能够执行一种热点事件的确定方法,包括:A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the above-mentioned device 1500, the above-mentioned device 1500 can execute a method for determining a hotspot event, including:
获取用户好友当前发表的状态信息;Obtain the status information currently published by the user's friends;
依次判断所述状态信息是否与预先获得的各热点事件的信息相匹配;Sequentially determine whether the state information matches the pre-acquired information of each hot event;
当所述状态信息与所述各热点事件中的任一热点事件的信息相匹配时,确定所述状态信息属于所述任一热点事件。When the state information matches the information of any hot event among the various hot events, it is determined that the state information belongs to the any hot event.
在一个实施例中,所述方法还包括:In one embodiment, the method also includes:
当所述状态信息属于所述任一热点事件时,获取预先获得的所述任一热点事件对应的背景信息,其中,所述背景信息包括:所述任一热点事件的起因和所述任一热点事件的发展过程中的至少一项信息;When the status information belongs to any of the hot events, obtain the pre-obtained background information corresponding to any of the hot events, where the background information includes: the cause of any of the hot events and the At least one piece of information on the development of hot events;
将所述状态信息和所述任一热点事件对应的背景信息发送至用户设备,以使用户设备同时显示所述状态信息和所述任一热点事件对应的背景信息,其中,所述状态信息包括:一条或多条信息。Sending the state information and the background information corresponding to any hot event to the user equipment, so that the user equipment simultaneously displays the state information and the background information corresponding to any hot event, wherein the state information includes : One or more messages.
在一个实施例中,所述依次判断所述状态信息是否与预先获得的各热点事件的信息相匹配,包括:In one embodiment, the sequentially judging whether the status information matches the pre-acquired information of each hotspot event includes:
依次判断所述状态信息中的文本信息是否与所述各热点事件的文本信息相匹配;Sequentially determine whether the text information in the state information matches the text information of each hot event;
当所述状态信息中的文本信息与所述各热点事件中的任一热点事件的关键词相匹配时,确定所述状态信息与所述任一热点事件的信息相匹配;When the text information in the state information matches the keywords of any one of the hot events, determining that the state information matches the information of any one of the hot events;
和/或and / or
依次判断所述状态信息中的图片特征信息是否与所述各热点事件的图片特征信息相匹配;Sequentially determine whether the picture feature information in the state information matches the picture feature information of each hotspot event;
当所述状态信息中的图片特征信息与所述各热点事件中的任一热点事件的图片特征信息相匹配时,确定所述状态信息与所述任一热点事件的信息相匹配。When the picture feature information in the state information matches the picture feature information of any hot event among the hot events, it is determined that the state information matches the information of any hot event.
在一个实施例中,在依次判断所述状态信息是否与预先获得的各热点事件的信息相匹配之前,所述方法还包括:In one embodiment, before sequentially judging whether the state information matches the pre-obtained information of each hotspot event, the method further includes:
获取预设历史时间段内各用户发表的历史状态信息;Obtain the historical status information published by each user within the preset historical time period;
获取所述各用户发表的历史状态信息中的所有词和/或所有图片特征信息的出现频率;Obtain the frequency of occurrence of all words and/or all picture feature information in the historical state information published by each user;
根据所述所有词和/或所有图片特征信息的出现频率,确定所述各用户发表的历史状态信息中的所有热门信息,其中,所述所有热门信息包括:所有热门关键词和/或所有热门图片特征信息;According to the frequency of occurrence of all words and/or all picture feature information, determine all popular information in the historical state information published by each user, wherein, all popular information includes: all popular keywords and/or all popular Image feature information;
根据所述所有热门信息,获得所述各热门事件。According to all the popular information, the popular events are obtained.
在一个实施例中,所述根据所述所有热门信息,获得所述各热门事件包括:In one embodiment, the obtaining the popular events according to all the popular information includes:
将所述所有热门信息进行处理,以获取所述各热门事件所属的热门信息;Processing all the popular information to obtain the popular information to which each popular event belongs;
根据所述各热门事件所属的热门信息,生成所述各热门事件,其中,所述各热门事件所属的热门信息包括:所述各热门事件所属的热门关键词和/或热门图片特征信息。The popular events are generated according to the popular information to which each popular event belongs, wherein the popular information to which each popular event belongs includes: popular keywords and/or feature information of popular pictures to which each popular event belongs.
在一个实施例中,在获取预先获得的所述任一热点事件对应的背景信息之前,所述方法还包括:In one embodiment, before obtaining the pre-acquired background information corresponding to any hot event, the method further includes:
在生成所述各热门事件时,从预设数据库中获取与所述各热门事件所属的热门信息有关的关联信息;When generating the popular events, obtain associated information related to the popular information to which the popular events belong from a preset database;
根据所述各热门事件的关联信息和所述各热门事件的关联信息的时间排序,获取所述各热门事件的背景信息。The background information of each popular event is obtained according to the associated information of each popular event and the time ordering of the associated information of each popular event.
在一个实施例中,所述将所述状态信息和所述任一热点事件对应的背景信息发送至用户设备,包括:In one embodiment, the sending the status information and the background information corresponding to any hot event to the user equipment includes:
为所述状态信息设置热门事件标记;Set a popular event flag for the state information;
生成用于控制所述状态信息置顶的控制指令;generating a control instruction for controlling the state information to be placed on top;
将设置热门事件标记的所述状态信息、所述任一热点事件对应的背景信息和所述控制指令发送至用户设备,以使所述用户设备根据所述控制指令,将设置热门事件标记的所述状态信息和所述任一热点事件对应的背景信息置顶显示。Sending the state information for setting the hot event flag, the background information corresponding to any hot event, and the control instruction to the user equipment, so that the user equipment will set the popular event flag according to the control instruction The above status information and the background information corresponding to any of the hot events are displayed on top.
本领域技术用户员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to users skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (15)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610491209.1A CN106202222B (en) | 2016-06-28 | 2016-06-28 | Method and device for determining hot event |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610491209.1A CN106202222B (en) | 2016-06-28 | 2016-06-28 | Method and device for determining hot event |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106202222A true CN106202222A (en) | 2016-12-07 |
| CN106202222B CN106202222B (en) | 2022-08-12 |
Family
ID=57461129
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610491209.1A Active CN106202222B (en) | 2016-06-28 | 2016-06-28 | Method and device for determining hot event |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106202222B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109561212A (en) * | 2018-11-30 | 2019-04-02 | 苏州达家迎信息技术有限公司 | A kind of merging method of release information, device, equipment and storage medium |
| CN110601956A (en) * | 2019-09-06 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Content aggregation method and device, computer equipment and storage medium |
| CN111368201A (en) * | 2020-03-06 | 2020-07-03 | 杭州威佩网络科技有限公司 | Hot event detection method and device, electronic equipment and storage medium |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009506395A (en) * | 2005-08-23 | 2009-02-12 | 株式会社リコー | System, apparatus and method for use in a mixed media environment |
| CN101488150A (en) * | 2009-03-04 | 2009-07-22 | 哈尔滨工程大学 | Real-time multi-view network focus event analysis apparatus and analysis method |
| CN101923544A (en) * | 2009-06-15 | 2010-12-22 | 北京百分通联传媒技术有限公司 | Method for monitoring and displaying Internet hot spots |
| CN102184176A (en) * | 2010-11-10 | 2011-09-14 | 湖北铂金智慧网络科技有限公司 | Method for analyzing dynamic hot spot in network |
| CN103164427A (en) * | 2011-12-13 | 2013-06-19 | 中国移动通信集团公司 | Method and device of news aggregation |
| CN103729388A (en) * | 2012-10-16 | 2014-04-16 | 北京千橡网景科技发展有限公司 | Real-time hot spot detection method used for published status of network users |
| CN104281607A (en) * | 2013-07-08 | 2015-01-14 | 上海锐英软件技术有限公司 | Microblog hot topic analyzing method |
| CN104598632A (en) * | 2015-02-05 | 2015-05-06 | 北京航空航天大学 | Hot event detection method and device |
| CN104636476A (en) * | 2015-02-13 | 2015-05-20 | 小米科技有限责任公司 | Method and device for recommending friends |
| CN104933475A (en) * | 2015-05-27 | 2015-09-23 | 国家计算机网络与信息安全管理中心 | Network forwarding behavior prediction method and apparatus |
| CN105335476A (en) * | 2015-10-08 | 2016-02-17 | 北京邮电大学 | Method and device for classifying hot event |
-
2016
- 2016-06-28 CN CN201610491209.1A patent/CN106202222B/en active Active
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009506395A (en) * | 2005-08-23 | 2009-02-12 | 株式会社リコー | System, apparatus and method for use in a mixed media environment |
| CN101488150A (en) * | 2009-03-04 | 2009-07-22 | 哈尔滨工程大学 | Real-time multi-view network focus event analysis apparatus and analysis method |
| CN101923544A (en) * | 2009-06-15 | 2010-12-22 | 北京百分通联传媒技术有限公司 | Method for monitoring and displaying Internet hot spots |
| CN102184176A (en) * | 2010-11-10 | 2011-09-14 | 湖北铂金智慧网络科技有限公司 | Method for analyzing dynamic hot spot in network |
| CN103164427A (en) * | 2011-12-13 | 2013-06-19 | 中国移动通信集团公司 | Method and device of news aggregation |
| CN103729388A (en) * | 2012-10-16 | 2014-04-16 | 北京千橡网景科技发展有限公司 | Real-time hot spot detection method used for published status of network users |
| CN104281607A (en) * | 2013-07-08 | 2015-01-14 | 上海锐英软件技术有限公司 | Microblog hot topic analyzing method |
| CN104598632A (en) * | 2015-02-05 | 2015-05-06 | 北京航空航天大学 | Hot event detection method and device |
| CN104636476A (en) * | 2015-02-13 | 2015-05-20 | 小米科技有限责任公司 | Method and device for recommending friends |
| CN104933475A (en) * | 2015-05-27 | 2015-09-23 | 国家计算机网络与信息安全管理中心 | Network forwarding behavior prediction method and apparatus |
| CN105335476A (en) * | 2015-10-08 | 2016-02-17 | 北京邮电大学 | Method and device for classifying hot event |
Non-Patent Citations (5)
| Title |
|---|
| BINYUE CUI ET AL.: "An exploration on analysis of local public opinion based on Sina Weibo associated with regional web community", 《2014 9TH INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE & EDUCATION》 * |
| 朱荔: "基于微博的新兴热点事件检测研究", 《中国优秀硕士学位论文全文数据库 信息科技辑(月刊)》 * |
| 王昊等: "日本地震的微博热点事件分析", 《中文信息学报》 * |
| 王潇天: "基于中文微博的热点事件情感倾向分析", 《中国优秀硕士学位论文全文数据库 信息科技辑(月刊)》 * |
| 魏超等: "《微博与微信》", 28 February 2015 * |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109561212A (en) * | 2018-11-30 | 2019-04-02 | 苏州达家迎信息技术有限公司 | A kind of merging method of release information, device, equipment and storage medium |
| CN109561212B (en) * | 2018-11-30 | 2021-06-08 | 苏州达家迎信息技术有限公司 | Merging method, device, equipment and storage medium for published information |
| CN110601956A (en) * | 2019-09-06 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Content aggregation method and device, computer equipment and storage medium |
| CN111368201A (en) * | 2020-03-06 | 2020-07-03 | 杭州威佩网络科技有限公司 | Hot event detection method and device, electronic equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106202222B (en) | 2022-08-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10785510B2 (en) | Automatic recognition of entities in media-captured events | |
| US11120078B2 (en) | Method and device for video processing, electronic device, and storage medium | |
| CN109981785B (en) | Method and device for pushing information | |
| US11153430B2 (en) | Information presentation method and device | |
| WO2017054309A1 (en) | Interactive control method and device for voice and video communications | |
| CN111178410A (en) | Illegal picture identification method and device | |
| JP2021034003A (en) | Human object recognition method, apparatus, electronic device, storage medium, and program | |
| JP7231638B2 (en) | Image-based information acquisition method and apparatus | |
| US10733249B1 (en) | Machine learning system for data selection | |
| CN104243276B (en) | A kind of contact person recommends method and device | |
| CN110472558B (en) | Image processing method and device | |
| US20240037142A1 (en) | Systems and methods for filtering of computer vision generated tags using natural language processing | |
| CN106202222B (en) | Method and device for determining hot event | |
| CN112307281A (en) | Entity recommendation method and device | |
| CN112148923B (en) | Method for ordering search results, method, device and equipment for generating ordering model | |
| CN112783779A (en) | Test case generation method and device, electronic equipment and storage medium | |
| CN108509442B (en) | Search method and apparatus, server, and computer-readable storage medium | |
| US20220245401A1 (en) | Method and apparatus for training model | |
| US12367693B2 (en) | Messaging system for engagement analysis based on labels | |
| US11816906B2 (en) | Messaging system for engagement analysis based on labels | |
| CN112287173A (en) | Method and apparatus for generating information | |
| CN105262676A (en) | Method and apparatus for transmitting message in instant messaging | |
| CN104936046A (en) | Method and device for generating abstract picture of video collection | |
| CN114125479B (en) | Information processing method, apparatus, electronic device and storage medium | |
| CN116863359A (en) | Target object identification method and device, electronic equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |