CN109344339B - Method and system for publishing dynamic activity information and recommending method - Google Patents
Method and system for publishing dynamic activity information and recommending method Download PDFInfo
- Publication number
- CN109344339B CN109344339B CN201811146554.7A CN201811146554A CN109344339B CN 109344339 B CN109344339 B CN 109344339B CN 201811146554 A CN201811146554 A CN 201811146554A CN 109344339 B CN109344339 B CN 109344339B
- Authority
- CN
- China
- Prior art keywords
- information
- activity
- terminal
- dynamic activity
- same
- 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.)
- Active
Links
- 230000000694 effects Effects 0.000 title claims abstract description 312
- 238000000034 method Methods 0.000 title claims abstract description 74
- 238000012546 transfer Methods 0.000 claims description 7
- 238000005516 engineering process Methods 0.000 abstract description 2
- 102100028065 Fibulin-5 Human genes 0.000 description 64
- 101710170766 Fibulin-5 Proteins 0.000 description 64
- 238000004891 communication Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 235000013361 beverage Nutrition 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明提供了一种动态活动信息的发布方法、系统和推荐方法,涉及互联网技术领域,动态活动信息的发布方法包括:获取终端的标签信息;其中,标签信息至少包括动态活动类型;获取终端的地理位置信息,并根据地理位置信息确定地理范围;根据标签信息和地理位置信息确定具有相同标签信息的标签在地理范围内的第一分布密度;若相同标签的第一分布密度大于第一设定阈值,则确定相同标签的第一分布密度对应的动态活动为目标动态活动;发布目标动态活动的相关信息。本发明可以准确确定目标动态活动,并将获取的目标动态活动的相关信息进行发布,以便给用户提供方便快捷的动态活动信息检索服务。
The present invention provides a method, system and recommendation method for publishing dynamic activity information, and relates to the field of Internet technology. The method for publishing dynamic activity information includes: acquiring label information of a terminal; wherein the label information at least includes a dynamic activity type; geographic location information, and determine the geographic range according to the geographic location information; determine the first distribution density of tags with the same tag information within the geographic scope according to the tag information and the geographic location information; if the first distribution density of the same tag is greater than the first set If the threshold is set, the dynamic activity corresponding to the first distribution density of the same label is determined as the target dynamic activity; the relevant information of the target dynamic activity is published. The invention can accurately determine the target dynamic activity, and publish the acquired relevant information of the target dynamic activity, so as to provide users with a convenient and fast dynamic activity information retrieval service.
Description
技术领域technical field
本发明涉及互联网技术领域,尤其是涉及一种动态活动信息的发布方法、系统和推荐方法。The present invention relates to the field of Internet technology, in particular to a method, system and recommendation method for publishing dynamic activity information.
背景技术Background technique
随着互联网的发展,人们的生活变得越来越便捷,通过网络查询自己需要的信息后再去做事,可以提升自己办事的效率,比如,用户想出去吃饭,会先在某些APP上搜索“美食”,并选择想去的地点,比如“某某商圈”,或者是选定附近“1km内”等,APP上会通过后台服务器搜索符合条件的餐馆,并显示给用户。APP要实现这种服务,首先需要商家(如餐馆)在服务器上注册自己的信息,如餐馆名称、地点、餐饮内容(如菜式,菜单等)、联系方式等。当有用户需要餐饮的服务时,APP可以通过检索服务器上已经注册的各种餐馆信息,找出符合条件的信息提供给用户。With the development of the Internet, people's life has become more and more convenient. After doing things after inquiring about the information they need, they can improve their efficiency in doing things. For example, if a user wants to go out to eat, he will first search on some APPs. "Food", and select the place you want to go, such as "So-and-so business district", or select the nearby "within 1km", etc., the APP will search for qualified restaurants through the background server and display them to the user. In order to realize this kind of service, the APP first needs the merchant (such as a restaurant) to register its own information on the server, such as the restaurant name, location, food and beverage content (such as dishes, menus, etc.), contact information, etc. When a user needs a catering service, the APP can find out the qualified information and provide it to the user by retrieving the information of various restaurants that have been registered on the server.
目前,类似上述的服务一般都是针对一些静态信息,比如餐馆向服务器注册自己的位置信息以及可以提供的餐饮相关服务内容,超市向服务器注册自己的位置信息以及可提供的售卖服务等。而针对一些团体的动态活动信息,包括时间、地点等一些因素会时常发生变化的活动,很难采取上述静态信息的注册方式来准确获取动态活动信息,导致无法给用户提供方便快捷的动态活动信息检索服务。At present, services similar to the above are generally aimed at some static information, such as restaurants registering their location information with the server and the catering-related service content they can provide, and supermarkets registering their location information with the server and the sales services they can provide. For the dynamic activity information of some groups, including time, location and other factors that change from time to time, it is difficult to use the above static information registration method to accurately obtain dynamic activity information, resulting in the inability to provide users with convenient and fast dynamic activity information. Retrieval service.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明的目的在于提供动态活动信息的发布方法、系统和推荐方法,缓解了目前由于无法准确获取动态活动信息,导致缺少给用户提供方便快捷的动态活动信息检索服务的技术问题。In view of this, the purpose of the present invention is to provide a publishing method, system and recommendation method of dynamic activity information, which alleviates the technical problem of lack of providing users with convenient and fast dynamic activity information retrieval service due to the inability to obtain dynamic activity information accurately.
第一方面,本发明实施例提供了一种动态活动信息的发布方法,应用于服务器,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for publishing dynamic activity information, which is applied to a server, and the method includes:
获取终端的标签信息;其中,所述标签信息至少包括动态活动类型;Acquire label information of the terminal; wherein, the label information includes at least a dynamic activity type;
获取所述终端的地理位置信息,并根据所述地理位置信息确定地理范围;Obtain geographic location information of the terminal, and determine a geographic scope according to the geographic location information;
根据所述标签信息和所述地理位置信息确定具有相同标签信息的相同标签在所述地理范围内的第一分布密度;determining a first distribution density of the same tags with the same tag information within the geographical range according to the tag information and the geographic location information;
若所述相同标签的第一分布密度大于第一设定阈值,则确定所述相同标签的第一分布密度对应的动态活动为目标动态活动;If the first distribution density of the same label is greater than the first set threshold, determining the dynamic activity corresponding to the first distribution density of the same label as the target dynamic activity;
发布所述目标动态活动的相关信息。Publish information about the dynamic activity of the target.
结合第一方面,本发明实施例提供了第一方面的第一种可能的实施方式,其中,所述获取终端的标签信息的步骤,包括:In conjunction with the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, wherein the step of acquiring the label information of the terminal includes:
定时采集终端的标签信息,或者接收终端定时自动上报的标签信息;Collect the label information of the terminal regularly, or receive the label information automatically reported by the terminal regularly;
所述获取所述终端的地理位置信息的步骤,包括:The step of obtaining the geographic location information of the terminal includes:
定时采集终端的地理位置信息,或者接收终端定时自动上报的地理位置信息。The geographic location information of the terminal is collected regularly, or the geographic location information automatically reported by the terminal is received regularly.
结合第一方面,本发明实施例提供了第一方面的第二种可能的实施方式,其中,所述根据所述标签信息和所述地理位置信息确定相同标签在所述地理范围内的第一分布密度的步骤,包括:In conjunction with the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, wherein the determining, according to the tag information and the geographic location information, the first location of the same tag within the geographic range Steps for distributing density, including:
将所述地理范围内的所述相同标签的地理位置信息在地图上用相同颜色进行标识,将相同颜色标识密度作为所述相同标签的第一分布密度;Mark the geographic location information of the same label within the geographic range with the same color on the map, and use the same color identification density as the first distribution density of the same label;
或者,or,
将所述地理范围内的所述相同标签的数量进行计算,得到所述相同标签的第一分布密度。Calculate the number of the same labels within the geographic range to obtain the first distribution density of the same labels.
结合第一方面,本发明实施例提供了第一方面的第三种可能的实施方式,其中,所述标签信息还包括动态活动的名称信息,所述方法还包括:In conjunction with the first aspect, the embodiment of the present invention provides a third possible implementation manner of the first aspect, wherein the tag information further includes name information of the dynamic activity, and the method further includes:
根据所述标签信息获取相近标签;其中,所述相近标签的部分标签信息相同;Obtain a similar label according to the label information; wherein, part of the label information of the similar label is the same;
判断所述相近标签是否表示同一动态活动,若表示同一动态活动,则确定所述相近标签在所述地理范围内的分布密度;Determine whether the similar tags represent the same dynamic activity, and if it represents the same dynamic activity, determine the distribution density of the similar tags within the geographic range;
若所述相近标签的分布密度大于所述第一设定阈值,则所述相近标签的分布密度对应的动态活动为所述目标动态活动。If the distribution density of the close tags is greater than the first set threshold, the dynamic activity corresponding to the distribution density of the close tags is the target dynamic activity.
结合第一方面的第三种可能的实施方式,本发明实施例提供了第一方面的第四种可能的实施方式,其中,所述判断所述相近标签是否表示同一动态活动的步骤,包括:With reference to the third possible implementation manner of the first aspect, the embodiment of the present invention provides the fourth possible implementation manner of the first aspect, wherein the step of judging whether the similar tags represent the same dynamic activity includes:
将所述地理范围缩小,计算缩小后的地理范围内的相同标签的第二分布密度;reducing the geographic range, and calculating the second distribution density of the same tags within the reduced geographic range;
若所述相同标签的第二分布密度大于第二设定阈值,则所述相近标签表示同一动态活动。If the second distribution density of the same tags is greater than the second set threshold, the similar tags represent the same dynamic activity.
结合第一方面的第四种可能的实施方式,本发明实施例提供了第一方面的第五种可能的实施方式,其中,所述标签信息还包括动态活动进行的时间信息,所述判断所述相近标签是否表示同一动态活动的步骤,还包括:With reference to the fourth possible implementation manner of the first aspect, the embodiment of the present invention provides the fifth possible implementation manner of the first aspect, wherein the tag information further includes time information of the dynamic activity, and the judgment Steps to determine whether the similar tags represent the same dynamic activity, and also include:
根据所述动态活动进行的时间信息得到开始时间相同的相近标签,所述开始时间相同的相近标签表示同一动态活动。According to the time information of the dynamic activities, close tags with the same start time are obtained, and the close tags with the same start time represent the same dynamic activities.
结合第一方面的第五种可能的实施方式,本发明实施例提供了第一方面的第六种可能的实施方式,其中,所述动态活动进行的时间信息包括活动开始时间和活动结束时间,所述方法还包括:With reference to the fifth possible implementation manner of the first aspect, the embodiment of the present invention provides the sixth possible implementation manner of the first aspect, wherein the time information of the dynamic activity includes an activity start time and an activity end time, The method also includes:
获取所述终端检测的活动状态信息,当所述活动状态信息由第一活动状态变为第二活动状态时,记为所述活动开始时间;Acquiring the activity state information detected by the terminal, when the activity state information changes from the first activity state to the second activity state, it is recorded as the activity start time;
当所述活动状态信息由所述第二活动状态变为所述第一活动状态时,记为所述活动结束时间。When the activity state information changes from the second activity state to the first activity state, it is recorded as the activity end time.
结合第一方面的第六种可能的实施方式,本发明实施例提供了第一方面的第七种可能的实施方式,其中,所述标签信息为用户设置的信息或者所述终端自动采集的信息。With reference to the sixth possible implementation manner of the first aspect, the embodiment of the present invention provides the seventh possible implementation manner of the first aspect, wherein the tag information is information set by a user or information automatically collected by the terminal .
结合第一方面,本发明实施例提供了第一方面的第八种可能的实施方式,其中,所述终端包括特定终端,所述特定终端至少包括活动领导者的终端;所述若所述相同标签的第一分布密度大于第一设定阈值的步骤之后,还包括:In conjunction with the first aspect, an embodiment of the present invention provides an eighth possible implementation manner of the first aspect, wherein the terminal includes a specific terminal, and the specific terminal at least includes a terminal of an activity leader; After the step that the first distribution density of the labels is greater than the first set threshold, the method further includes:
在所述地理范围内获取所述特定终端的特定标签信息。Acquire specific tag information of the specific terminal within the geographic range.
结合第一方面,本发明实施例提供了第一方面的第九种可能的实施方式,其中,所述方法还包括:In conjunction with the first aspect, the embodiment of the present invention provides a ninth possible implementation manner of the first aspect, wherein the method further includes:
记录并存储所述目标动态活动的相关信息;record and store information about the dynamic activity of the target;
当所述目标动态活动为结束状态时,将所述目标动态活动的所有信息保存为历史记录。When the target dynamic activity is in the end state, all information of the target dynamic activity is saved as a history record.
结合第一方面的第九种可能的实施方式,本发明实施例提供了第一方面的第十种可能的实施方式,其中,通过所述终端自动识别终端用户的当前运动状态来确定所述目标动态活动为结束状态;With reference to the ninth possible implementation manner of the first aspect, the embodiment of the present invention provides the tenth possible implementation manner of the first aspect, wherein the target is determined by automatically identifying the current movement state of the terminal user by the terminal The dynamic activity is the end state;
或者,当所述目标动态活动对应的所述第一分布密度小于第三设定阈值时,确定所述目标动态活动为结束状态。Alternatively, when the first distribution density corresponding to the target dynamic activity is less than a third set threshold, it is determined that the target dynamic activity is an end state.
结合第一方面,本发明实施例提供了第一方面的第十一种可能的实施方式,其中,所述目标动态活动的相关信息包括活动时间、活动地点、活动规模、活动状态、活动类型、活动联系人、角色信息、公众号信息、二维码信息和群组信息中至少之一。In conjunction with the first aspect, the embodiment of the present invention provides an eleventh possible implementation manner of the first aspect, wherein the relevant information of the target dynamic activity includes activity time, activity location, activity scale, activity state, activity type, At least one of activity contacts, role information, official account information, QR code information, and group information.
结合第一方面,本发明实施例提供了第一方面的第十二种可能的实施方式,其中,所述终端包括智能穿戴设备或者智能穿戴设备与移动终端的组合;In conjunction with the first aspect, an embodiment of the present invention provides a twelfth possible implementation manner of the first aspect, wherein the terminal includes a smart wearable device or a combination of a smart wearable device and a mobile terminal;
或者,or,
所述终端包括智能穿戴设备与中转设备的组合,其中,所述中转设备包括特定用户的智能穿戴设备或移动终端;其中,所述特定用户至少包括活动领导者。The terminal includes a combination of an intelligent wearable device and a transit device, wherein the transit device includes an intelligent wearable device or a mobile terminal of a specific user; wherein the specific user includes at least an activity leader.
第二方面,本发明实施例还提供一种动态活动信息的发布系统,所述系统包括终端和服务器,所述终端包含标签信息,并且所述标签信息至少包括动态活动类型,所述服务器包括分布密度获取模块、动态活动确定模块以及信息发布模块;In a second aspect, an embodiment of the present invention further provides a system for publishing dynamic activity information, the system includes a terminal and a server, the terminal includes tag information, and the tag information at least includes a dynamic activity type, and the server includes distribution Density acquisition module, dynamic activity determination module and information release module;
所述终端用于根据所述服务器的采集指令将所述标签信息和/或自身的地理位置信息发送给所述服务器,或者将所述标签信息和/或自身的地理位置信息自动上报给所述服务器;The terminal is configured to send the label information and/or its own geographic location information to the server according to the collection instruction of the server, or automatically report the label information and/or its own geographic location information to the server. server;
所述分布密度获取模块用于根据所述地理位置信息确定地理范围,并根据所述标签信息和所述地理位置信息确定具有相同标签信息的相同标签在所述地理范围内的第一分布密度;The distribution density obtaining module is configured to determine a geographic range according to the geographic location information, and determine a first distribution density of the same tags with the same tag information within the geographic range according to the tag information and the geographic location information;
所述动态活动确定模块用于当所述相同标签的第一分布密度大于第一设定阈值时,确定所述相同标签的第一分布密度对应的动态活动为目标动态活动;The dynamic activity determination module is configured to determine the dynamic activity corresponding to the first distribution density of the same label as the target dynamic activity when the first distribution density of the same label is greater than a first set threshold;
所述信息发布模块用于发布所述目标动态活动的相关信息。The information publishing module is used for publishing the relevant information of the target dynamic activity.
结合第二方面,本发明实施例提供了第二方面的第一种可能的实施方式,其中,所述终端还用于采集标签信息,或者获取用户设置的标签信息。In conjunction with the second aspect, an embodiment of the present invention provides the first possible implementation manner of the second aspect, wherein the terminal is further configured to collect tag information, or acquire tag information set by a user.
结合第二方面的第一种可能的实施方式,本发明实施例提供了第三方面的第二种可能的实施方式,其中,所述标签信息包括活动进行的时间信息,所述终端包括活动状态采集模块;With reference to the first possible implementation manner of the second aspect, this embodiment of the present invention provides a second possible implementation manner of the third aspect, wherein the tag information includes time information of an activity, and the terminal includes an activity state acquisition module;
所述活动状态采集模块用于采集用户的活动状态信息,并根据所述活动状态信息确定活动进行的时间信息。The activity state collection module is configured to collect the activity state information of the user, and determine the time information of the activity according to the activity state information.
第三方面,本发明实施例还提供一种动态活动信息的推荐方法,应用于服务器,所述方法包括:In a third aspect, an embodiment of the present invention further provides a method for recommending dynamic activity information, which is applied to a server, and the method includes:
获取用户所处地理位置及所述用户查询的关键字;Obtain the geographic location of the user and the keywords queried by the user;
查询在目标时间进行的与所述用户查询的关键字相匹配且在用户所处地理位置设定范围内的动态活动信息;其中,所述目标时间至少包括当前时间和用户查询时间;Query the dynamic activity information that matches the keyword queried by the user and is within the range set by the user's geographic location performed at the target time; wherein the target time at least includes the current time and the user's query time;
将查询到的所述设定范围内的动态活动信息发送给用户终端。结合第三方面,本发明实施例提供了第三方面的第一种可能的实施方式,其中,所述方法还包括:Sending the dynamic activity information within the set range inquired to the user terminal. In conjunction with the third aspect, the embodiment of the present invention provides a first possible implementation manner of the third aspect, wherein the method further includes:
若未查询到与所述目标时间相匹配的动态活动信息,则将推荐时间段内且在用户所处地理位置设定范围内的动态活动信息发送给所述用户终端。If no dynamic activity information matching the target time is found, the dynamic activity information within the recommended time period and within the range set by the geographic location of the user is sent to the user terminal.
结合第三方面,本发明实施例提供了第三方面的第二种可能的实施方式,其中,所述方法还包括:In conjunction with the third aspect, the embodiment of the present invention provides a second possible implementation manner of the third aspect, wherein the method further includes:
查询所述用户所在地理位置设定范围外的动态活动信息,并将所述设定范围外的动态活动信息发送给所述用户终端。The dynamic activity information outside the set range of the geographic location of the user is inquired, and the dynamic activity information outside the set range is sent to the user terminal.
结合第三方面,本发明实施例提供了第三方面的第三种可能的实施方式,其中,所述动态活动信息包括活动时间、活动地点、活动规模、活动状态、活动类型、活动联系人、角色信息、公众号信息、二维码信息和群组信息中至少之一。In conjunction with the third aspect, the embodiment of the present invention provides a third possible implementation manner of the third aspect, wherein the dynamic activity information includes activity time, activity location, activity scale, activity status, activity type, activity contact, At least one of role information, official account information, QR code information, and group information.
本发明实施例带来了以下有益效果:The embodiments of the present invention have brought the following beneficial effects:
本发明实施例提供的一种动态活动信息的发布方法和系统,可以获取终端的标签信息以及地理位置信息,并根据地理位置信息确定地理范围;根据标签信息和地理位置信息确定相同标签在地理范围内的第一分布密度;根据相同标签的第一分布密度来确定目标动态活动;然后发布目标动态活动的相关信息。服务器通过相同标签的分布密度可以准确确定目标动态活动,并将获取的目标动态活动的相关信息进行发布,以便给用户提供方便快捷的动态活动信息检索服务。A method and system for publishing dynamic activity information provided by the embodiments of the present invention can acquire label information and geographic location information of a terminal, and determine a geographic range according to the geographic location information; The first distribution density within the same tag is determined; the target dynamic activity is determined according to the first distribution density of the same label; and the relevant information of the target dynamic activity is then published. The server can accurately determine the target dynamic activity through the distribution density of the same tags, and publish the acquired relevant information of the target dynamic activity, so as to provide users with a convenient and fast dynamic activity information retrieval service.
另外,本发明实施例提供的一种动态活动信息的推荐方法,可以根据用户的查询请求将动态活动信息推荐给用户,从而给用户提供方便快捷的动态活动信息检索服务。In addition, a method for recommending dynamic activity information provided by an embodiment of the present invention can recommend dynamic activity information to a user according to a user's query request, thereby providing users with a convenient and fast dynamic activity information retrieval service.
本发明的其他特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the description, claims and drawings.
为使本发明的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below, and are described in detail as follows in conjunction with the accompanying drawings.
附图说明Description of drawings
为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the specific embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the specific embodiments or the prior art. Obviously, the accompanying drawings in the following description The drawings are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.
图1为本发明实施例提供的动态活动信息的发布方法的流程图;1 is a flowchart of a method for publishing dynamic activity information provided by an embodiment of the present invention;
图2为本发明另一实施例提供的动态活动信息的发布方法的流程图;2 is a flowchart of a method for publishing dynamic activity information provided by another embodiment of the present invention;
图3为本发明实施例提供的动态活动信息的发布系统示意图;3 is a schematic diagram of a system for publishing dynamic activity information provided by an embodiment of the present invention;
图4为本发明实施例提供的动态活动信息的推荐方法的流程图。FIG. 4 is a flowchart of a method for recommending dynamic activity information according to an embodiment of the present invention.
图标:10-终端;20-服务器;21-分布密度获取模块;22-动态活动确定模块;23-信息发布模块。Icons: 10-terminal; 20-server; 21-distribution density acquisition module; 22-dynamic activity determination module; 23-information release module.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合附图对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. example. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
目前针对一些团体的动态活动信息,包括时间、地点等一些因素会时常发生变化的活动,很难采取上述静态信息的注册方式来准确获取动态活动信息,从而无法给用户提供方便快捷的动态活动信息检索服务。基于此,本发明实施例提供的一种动态活动信息的发布方法、系统和推荐方法,可以准确确定目标动态活动,并将获取的目标动态活动的相关信息进行发布,以便给用户提供方便快捷的动态活动信息检索服务。At present, for the dynamic activity information of some groups, including the activities where some factors such as time and location change from time to time, it is difficult to adopt the above-mentioned static information registration method to accurately obtain dynamic activity information, so that it is impossible to provide users with convenient and fast dynamic activity information. Retrieval service. Based on this, a method, system, and method for publishing dynamic activity information provided by the embodiments of the present invention can accurately determine the target dynamic activity, and publish the acquired relevant information of the target dynamic activity, so as to provide users with convenient and fast information. Dynamic activity information retrieval service.
为便于对本实施例进行理解,首先对本发明实施例所公开的一种动态活动信息的发布方法进行详细介绍。In order to facilitate the understanding of this embodiment, a method for publishing dynamic activity information disclosed in the embodiment of the present invention is first introduced in detail.
实施例一:Example 1:
图1示出了本发明实施例提供的动态活动信息的发布方法的流程图。FIG. 1 shows a flowchart of a method for publishing dynamic activity information provided by an embodiment of the present invention.
如图1所示,本实施例提供了一种动态活动信息的发布方法,应用于服务器,包括以下步骤:As shown in FIG. 1 , this embodiment provides a method for publishing dynamic activity information, which is applied to a server and includes the following steps:
步骤S101,获取终端的标签信息;其中,标签信息至少包括动态活动类型;Step S101, acquiring label information of the terminal; wherein, the label information at least includes a dynamic activity type;
本步骤中,服务器可以定时(比如10s或者30s一次)采集终端的标签信息,还可以接收终端定时自动上报的标签信息;标签信息中的动态活动类型至少包括具有一定时效性、地点和规模不确定的的群体活动,例如广场舞、遛狗、打太极拳等,在此不做限制。In this step, the server can collect the tag information of the terminal periodically (for example, once every 10s or 30s), and can also receive the tag information automatically reported by the terminal regularly; the dynamic activity type in the tag information at least includes a certain timeliness, location and scale uncertainty There are no restrictions on group activities, such as square dancing, dog walking, Tai Chi, etc.
以广场舞为例,标签信息可以是用户设置的标签,如标签值-“广场舞”,还可以是终端自动识别的活动类型-“广场舞”,比如终端通过内置的加速度传感器检测到用户正在进行广场舞活动。另外,终端还可以进一步采集该广场舞活动的附属信息,如音乐信息,用来识别当前正在跳的是哪一只广场舞。Taking square dance as an example, the tag information can be the tag set by the user, such as the tag value - "square dance", or the activity type automatically recognized by the terminal - "square dance". For example, the terminal detects through the built-in acceleration sensor that the user is Do square dancing. In addition, the terminal may further collect auxiliary information of the square dance activity, such as music information, to identify which square dance is currently being performed.
步骤S102,获取终端的地理位置信息,并根据地理位置信息确定地理范围;Step S102, obtaining geographic location information of the terminal, and determining a geographic scope according to the geographic location information;
同样地,服务器可以定时采集终端的地理位置信息,也可以接收终端定时自动上报的地理位置信息。地理范围可以是距离某个地理位置一定距离的周边区域,比如,确定方式可以为:以获取到的某个地理位置为圆心,以预设距离(如50米)为半径画一个圆圈,这个圆圈范围就是上述的地理范围。Similarly, the server may periodically collect the geographic location information of the terminal, and may also receive the geographic location information automatically reported by the terminal at regular intervals. The geographic range can be a surrounding area that is at a certain distance from a geographic location. For example, the determination method can be: draw a circle with a certain geographic location obtained as the center and a preset distance (such as 50 meters) as the radius. The range is the geographic range described above.
步骤S103,根据标签信息和地理位置信息确定具有相同标签信息的相同标签在地理范围内的第一分布密度;Step S103, determining the first distribution density of the same label with the same label information within the geographic range according to the label information and the geographic location information;
具体地,第一分布密度表示终端是否密集分布在所确定的地理范围内,如果是,则可以表示此时此地在进行相同标签所对应的动态活动。进一步地,步骤S103可以通过以下方式实现:将地理范围内的相同标签的地理位置信息在地图上用相同颜色进行标识,相同颜色标识密度即为相同标签的第一分布密度;或者将地理范围内的相同标签的数量进行计算,得到相同标签的第一分布密度。Specifically, the first distribution density indicates whether the terminals are densely distributed within the determined geographic range, and if so, it may indicate that the dynamic activities corresponding to the same tags are being performed here and now. Further, step S103 can be implemented in the following manner: marking the geographic location information of the same label within the geographic scope with the same color on the map, and the identification density of the same color is the first distribution density of the same label; or The number of identical labels is calculated to obtain the first distribution density of identical labels.
步骤S104,若相同标签的第一分布密度大于第一设定阈值,则确定相同标签的第一分布密度对应的动态活动为目标动态活动;Step S104, if the first distribution density of the same label is greater than the first set threshold, then determine the dynamic activity corresponding to the first distribution density of the same label as the target dynamic activity;
这里,相同标签表示用户在参加同一动态活动,例如广场舞活动。Here, the same label indicates that the user is participating in the same dynamic activity, such as a square dance event.
步骤S105,发布目标动态活动的相关信息。Step S105: Publish the relevant information of the target dynamic activity.
具体地,参加广场舞活动的用户通过终端向服务器上报该广场舞活动的相关信息,或者是服务器向参加广场舞活动的(部分)用户的终端采集相关信息,包括广场舞活动的时间、地点、规模(根据相同标签的数量确认参与人数)、状态(进行中还是已经结束)、音乐(针对需要音乐的动态活动)等部分或者全部信息。还可进一步包括广场舞的其它信息,如队伍名称、队伍联系人(如教练)、角色信息、广场舞公众号信息、二维码信息以及群组信息等,其中,角色信息可以表示队伍中的不同角色,如普通队员、队长或者教练等。这些信息可以是“广场舞”标签的附属标签信息,由用户预先设置在用户的终端上。通过广场舞公众号信息、二维码信息或者群组信息可以进入广场舞活动的公众号或者群组,以便了解更多关于该广场舞活动的信息。Specifically, the user participating in the square dance activity reports the relevant information of the square dance activity to the server through the terminal, or the server collects relevant information from the terminals of (some) users participating in the square dance activity, including the time, location, Some or all of the information such as scale (confirm the number of participants based on the number of the same tag), status (in progress or completed), music (for dynamic activities that require music). It may further include other information of square dance, such as team name, team contact (such as coach), role information, square dance public account information, QR code information and group information, etc. Different roles, such as regular players, captains or coaches. These pieces of information may be attached tag information of the "square dance" tag, which is preset on the user's terminal by the user. Through the square dance public account information, QR code information or group information, you can enter the public account or group of the square dance event to learn more about the square dance event.
服务器将获取的上述广场舞活动的相关信息进行发布,例如发布到某些应用APP,以便用户终端通过APP查询广场舞活动的相关信息。由上述可知,目标动态活动的相关信息包括活动时间、活动地点、活动规模、活动状态、活动类型、活动联系人、广场舞公众号信息、二维码信息以及群组信息中至少之一。The server publishes the obtained relevant information about the square dance activity, for example, to some application APP, so that the user terminal can query the relevant information of the square dance activity through the APP. As can be seen from the above, the relevant information of the target dynamic activity includes at least one of activity time, activity location, activity scale, activity status, activity type, activity contact person, square dance public account information, QR code information and group information.
具体地,当智能穿戴设备具备直接与服务器通信的能力以及可以自动获取当前地理位置信息的能力时,智能穿戴设备直接将自己获取的地理位置信息以及上述标签信息上报给服务器。Specifically, when the smart wearable device has the ability to communicate directly with the server and the ability to automatically obtain the current geographic location information, the smart wearable device directly reports the geographic location information obtained by itself and the above-mentioned tag information to the server.
当智能穿戴设备不具备获取当前地理位置信息的能力时,可以通过智能穿戴设备连接到其它可以获取当前地理位置信息的移动终端,通过移动终端将地理位置信息同步给智能穿戴设备,由智能穿戴设备将地理位置信息和标签信息上报给服务器,或者由移动终端代替智能穿戴设备上报地理位置信息和标签信息。When the smart wearable device does not have the ability to obtain the current geographic location information, the smart wearable device can be connected to other mobile terminals that can obtain the current geographic location information, and the geographic location information can be synchronized to the smart wearable device through the mobile terminal. The geographic location information and tag information are reported to the server, or the mobile terminal replaces the smart wearable device to report the geographic location information and tag information.
因此,终端包括智能穿戴设备或者智能穿戴设备与移动终端的组合,优选地,智能穿戴设备为智能手环,移动终端为智能手机,还可以是其它能够实现上述功能的智能穿戴设备和移动终端。Therefore, the terminal includes a smart wearable device or a combination of a smart wearable device and a mobile terminal. Preferably, the smart wearable device is a smart bracelet, and the mobile terminal is a smart phone, and can also be other smart wearable devices and mobile terminals that can implement the above functions.
另外,当智能穿戴设备不具备直接与远端的服务器进行通信的能力时,可以通过某一具备远距离通信能力的电子设备进行中转,比如在广场舞团队中,包括团队领导者和团队成员,团队成员的智能穿戴设备不能直接连接到服务器,而团队领导者的智能穿戴设备或者移动终端具备与远端的服务器进行通信的能力,则通过团队领导者的智能穿戴设备或者移动终端进行中转。即团队成员的智能穿戴设备先通过短距离通信(如蓝牙)将信息上报给中转设备,再由中转设备将该信息上报给远端的服务器。In addition, when the smart wearable device does not have the ability to communicate directly with the remote server, it can be transferred through an electronic device with long-distance communication capabilities, such as in a square dance team, including team leaders and team members, The team members' smart wearable devices cannot be directly connected to the server, but the team leader's smart wearable device or mobile terminal has the ability to communicate with the remote server, and the transfer is carried out through the team leader's smart wearable device or mobile terminal. That is, the smart wearable devices of the team members first report the information to the relay device through short-range communication (such as Bluetooth), and then the relay device reports the information to the remote server.
因此,终端包括智能穿戴设备与中转设备的组合,其中,中转设备包括特定用户的智能穿戴设备或移动终端;其中,特定用户至少包括活动领导者,还可以指定活动团队中的其他队员。Therefore, the terminal includes a combination of a smart wearable device and a transfer device, wherein the transfer device includes a smart wearable device or a mobile terminal of a specific user; wherein the specific user includes at least the activity leader, and can also specify other members of the activity team.
在上述基础上,标签信息还可以包含更准确的信息,还以广场舞为例,不同的广场舞团队有不同的队伍名称,如“广场舞A”,“广场舞B”,这一信息也可以由用户提前设置。On the basis of the above, the tag information can also contain more accurate information. Taking square dance as an example, different square dance teams have different team names, such as "square dance A" and "square dance B". It can be set in advance by the user.
因此,标签信息还包括动态活动的名称信息,服务器还可以根据标签信息获取相近标签;其中,相近标签的部分标签信息相同;判断相近标签是否表示同一动态活动,若表示同一动态活动,则确定相近标签在地理范围内的分布密度;若相近标签的分布密度大于第一设定阈值,则相近标签的分布密度对应的动态活动为目标动态活动。Therefore, the tag information also includes the name information of the dynamic activity, and the server can also obtain similar tags according to the tag information; among them, part of the tag information of the similar tags is the same; it is judged whether the similar tags represent the same dynamic activity, and if it represents the same dynamic activity, it is determined that the similar tags are similar The distribution density of tags in the geographic range; if the distribution density of similar tags is greater than the first set threshold, the dynamic activity corresponding to the distribution density of similar tags is the target dynamic activity.
另外,当存在标签“广场舞A”和标签“广场舞B”同时在一个地理范围的情况时,因为二者的标签都有“广场舞”三个字(即标签部分内容相同),此时有可能是两种情况,一种是拥有广场舞A标签的成员x和拥有广场舞B标签的成员y在一起(同一个团队)跳同一个广场舞,也可以是x和y在位置较近的区域分别在跳不同的广场舞。服务器需要判断是哪一种情况。即判断相近标签是否表示同一动态活动,具体的方式可以是:In addition, when there is a situation where the tag "square dance A" and the tag "square dance B" are in the same geographical range, because the two tags have the three words "square dance" (that is, the content of the tag is the same), at this time There may be two situations, one is that the member x who has the tag of square dance A and the member y who has the tag of square dance B dance the same square dance together (the same team), or it can be that x and y are in close positions. Different areas are dancing different square dances. The server needs to decide which is the case. That is, to determine whether similar tags represent the same dynamic activity, the specific method can be as follows:
将上述确定好的地理范围缩小,计算缩小后的地理范围内的相同标签的第二分布密度;若相同标签的第二分布密度大于第二设定阈值,则相近标签表示同一动态活动。The above-determined geographic range is reduced, and the second distribution density of the same label within the reduced geographic range is calculated; if the second distribution density of the same label is greater than the second set threshold, the similar labels represent the same dynamic activity.
进一步地,标签信息还包括动态活动进行的时间信息,服务器还可以根据动态活动进行的时间信息得到开始时间和/或结束时间相同的相近标签,开始时间和/或结束时间相同的相近标签表示同一动态活动。Further, the tag information also includes the time information of the dynamic activity, the server can also obtain the similar tags with the same start time and/or end time according to the time information of the dynamic activity, and the similar tags with the same start time and/or end time indicate the same Dynamic activity.
具体地,动态活动进行的时间信息包括活动开始时间和活动结束时间,服务器判断活动开始时间和活动结束时间的方法包括:获取终端检测的活动状态信息,当活动状态信息由第一活动状态变为第二活动状态(从非广场舞活动状态变为广场舞活动状态)时,记为活动开始时间;当活动状态信息由第二活动状态变为第一活动状态(从广场舞活动状变为非广场舞活动状态)时,记为活动结束时间。另外,活动状态信息还可以是当前状态信息,比如在广场舞进行过程中的状态信息,该状态信息对应广场舞的当前进行时长,根据该当前进行时长以及该广场舞的历史进行时长预计结束时间。Specifically, the time information of the dynamic activity includes the activity start time and the activity end time, and the method for the server to determine the activity start time and the activity end time includes: acquiring activity state information detected by the terminal, when the activity state information changes from the first activity state to When the second activity state (from the non-square dance activity state to the square dance activity state) is recorded as the activity start time; when the activity state information changes from the second activity state to the first activity state (from the square dance activity state to the non-square dance activity state) Square dance activity status), record as the end time of the activity. In addition, the activity status information may also be current status information, such as status information during the square dance process, the status information corresponds to the current square dance duration, and the end time is estimated based on the current square dance duration and the square dance historical duration .
需要说明的是,上述实施例中的标签信息为用户设置的信息或者终端自动采集的信息。It should be noted that the tag information in the above embodiment is information set by the user or information automatically collected by the terminal.
进一步地,当目标动态活动为结束状态时,服务器将目标动态活动的所有信息保存为历史记录,并在保存预设时间后进行删除。Further, when the target dynamic activity is in the end state, the server saves all the information of the target dynamic activity as a historical record, and deletes it after saving for a preset time.
目标动态活动的结束状态的判断方法包括:服务器通过终端自动识别终端用户的当前运动状态来确定目标动态活动为结束状态;或者,当目标动态活动对应的第一分布密度小于第三设定阈值时,即由相同标签的密集分布状态转变成分散分布状态,确定目标动态活动为结束状态。The method for judging the end state of the target dynamic activity includes: the server automatically identifies the current motion state of the terminal user through the terminal to determine that the target dynamic activity is the end state; or, when the first distribution density corresponding to the target dynamic activity is less than a third set threshold , that is, the dense distribution state of the same label is transformed into a scattered distribution state, and the target dynamic activity is determined as the end state.
实施例二:Embodiment 2:
在上述实施例的基础上,除了通过相同标签的分布密度来判断目标动态活动之外,还可以通过目标动态活动的领导者(如广场舞的领舞教练)的终端的标签信息来进行判断,因此,服务器可以将相同标签的分布密度和领导者的终端的标签信息综合起来进行判断,比如根据相同标签的分布密度确定目标动态活动,并获取到上述的目标动态活动的相关信息后,将目标动态活动的相关信息与领导者终端的信息进行一致性校验和信息完善。还比如,当从团队队员的终端获取的相关信息中有部分信息存在异常时,以绝大多数人的信息为准或者以领导者的信息为准。从而提高判断准确性和信息的全面性。终端包括特定终端,特定终端至少包括活动领导者的终端。On the basis of the above embodiment, in addition to judging the target dynamic activity by the distribution density of the same label, the target dynamic activity can also be judged by the label information of the terminal of the leader of the target dynamic activity (such as the lead dance coach of the square dance). , the server can combine the distribution density of the same label and the label information of the leader's terminal to make judgments, for example, determine the dynamic activity of the target according to the distribution density of the same label, and obtain the above-mentioned relevant information of the dynamic activity of the target. The relevant information of the activity is checked for consistency with the information of the leader terminal and the information is perfected. For another example, when some of the relevant information obtained from the terminals of the team members is abnormal, the information of the vast majority of the members or the information of the leader shall prevail. Thereby improving the accuracy of judgment and the comprehensiveness of information. The terminal includes a specific terminal, and the specific terminal includes at least the terminal of the activity leader.
如图2所示,本实施例提供了另一种动态活动信息的发布方法,应用于服务器,方法包括以下步骤:As shown in FIG. 2, this embodiment provides another method for publishing dynamic activity information, which is applied to a server, and the method includes the following steps:
步骤S201,获取终端的标签信息;其中,标签信息至少包括动态活动类型;Step S201, acquiring label information of the terminal; wherein the label information at least includes a dynamic activity type;
步骤S202,获取终端的地理位置信息,并根据地理位置信息确定地理范围;Step S202, obtaining geographic location information of the terminal, and determining a geographic scope according to the geographic location information;
步骤S203,根据标签信息和地理位置信息确定具有相同标签信息的标签在地理范围内的第一分布密度;Step S203, determining the first distribution density of the tags with the same tag information within the geographical range according to the tag information and the geographic location information;
步骤S204,若相同标签的第一分布密度大于第一设定阈值,在地理范围内获取特定终端的标签信息;Step S204, if the first distribution density of the same label is greater than the first set threshold, obtain the label information of the specific terminal within the geographical scope;
这里的特定终端可以是活动领导者的终端,服务器可以为特定终端分配特定的ID,通过特定的ID可以识别该特定终端;或者,在特定终端的标签信息中添加有角色信息,通过获取角色信息(活动领导者信息)识别该特定终端;还可以是,仅特定终端上报标签信息,其他终端不上报,从而识别特定终端。在本步骤中,特定终端的标签信息中的动态活动类型与相同标签相同。The specific terminal here can be the terminal of the activity leader, the server can assign a specific ID to the specific terminal, and the specific terminal can be identified by the specific ID; or, role information is added to the tag information of the specific terminal, and the role information can be obtained by (activity leader information) to identify the specific terminal; it may also be that only the specific terminal reports the label information, and other terminals do not report the label information, thereby identifying the specific terminal. In this step, the dynamic activity type in the tag information of the specific terminal is the same as the same tag.
步骤S205,若获取到特定终端的标签信息,则确定相同标签的第一分布密度对应的动态活动为目标动态活动;Step S205, if the label information of the specific terminal is obtained, determine the dynamic activity corresponding to the first distribution density of the same label as the target dynamic activity;
步骤S206,发布目标动态活动的相关信息。Step S206, publishing the relevant information of the target dynamic activity.
上述步骤与实施例一中的步骤S101-步骤S105类似,在此不再赘述。The above steps are similar to steps S101 to S105 in the first embodiment, and are not repeated here.
实施例三:Embodiment three:
如图3所示,本实施例还提供了一种动态活动信息的发布系统,系统包括终端10和服务器20,终端10包含标签信息,并且标签信息至少包括动态活动类型,服务器20包括分布密度获取模块21、动态活动确定模块22以及信息发布模块23;As shown in FIG. 3 , this embodiment also provides a system for publishing dynamic activity information. The system includes a terminal 10 and a
终端10用于根据服务器的采集指令将标签信息和/或自身的地理位置信息发送给服务器,或者将标签信息和/或自身的地理位置信息自动上报给服务器;The terminal 10 is used to send the tag information and/or its own geographic location information to the server according to the collection instruction of the server, or automatically report the tag information and/or its own geographic location information to the server;
具体地,终端10可以采集标签信息,还可以获取用户设置的标签信息。Specifically, the terminal 10 may collect tag information, and may also acquire tag information set by the user.
分布密度获取模块21用于根据地理位置信息确定地理范围,并根据标签信息和地理位置信息确定具有相同标签信息的相同标签在地理范围内的第一分布密度;The distribution
动态活动确定模块22用于当相同标签的第一分布密度大于第一设定阈值时,确定相同标签的第一分布密度对应的动态活动为目标动态活动;The dynamic
信息发布模块23用于发布目标动态活动的相关信息。The
进一步地,标签信息包括活动进行的时间信息,终端10包括活动状态采集模块;Further, the tag information includes time information of the activity, and the terminal 10 includes an activity state acquisition module;
活动状态采集模块用于采集用户的活动状态信息,并根据活动状态信息确定活动进行的时间信息。例如,当活动状态信息由第一活动状态变为第二活动状态(从非广场舞活动状态变为广场舞活动状态)时,记为活动开始时间;当活动状态信息由第二活动状态变为第一活动状态(从广场舞活动状态变为非广场舞活动状态)时,记为活动结束时间。另外,活动状态信息还可以是当前状态信息,比如在广场舞进行过程中的状态信息,该状态信息对应广场舞的当前进行时长,根据该当前进行时长以及该广场舞的历史进行时长预计结束时间。The activity state collection module is used to collect the activity state information of the user, and determine the time information of the activity according to the activity state information. For example, when the activity state information changes from the first activity state to the second activity state (from the non-square dance activity state to the square dance activity state), it is recorded as the activity start time; when the activity state information changes from the second activity state to the square dance activity state When the first activity state (from the square dance activity state to the non-square dance activity state) is recorded as the end time of the activity. In addition, the activity status information may also be current status information, such as status information during the square dance process, the status information corresponds to the current performance duration of the square dance, and the end time is estimated according to the current performance duration and the historical performance duration of the square dance. .
具体地,终端包括智能穿戴设备或者智能穿戴设备与移动终端的组合;或者,终端包括智能穿戴设备与中转设备的组合,其中,中转设备包括特定用户的智能穿戴设备或移动终端;其中,特定用户至少包括活动领导者,还可以是其他指定的团队成员。Specifically, the terminal includes a smart wearable device or a combination of a smart wearable device and a mobile terminal; or, the terminal includes a combination of a smart wearable device and a transfer device, wherein the transfer device includes a smart wearable device or a mobile terminal of a specific user; wherein, the specific user Include at least the event leader, but also other designated team members.
本实施例提供的动态活动信息的发布系统,与上述实施例提供的动态活动信息的发布方法具有相同的技术特征,所以也能解决相同的技术问题,达到相同的技术效果。The system for publishing dynamic activity information provided in this embodiment has the same technical features as the method for publishing dynamic activity information provided in the above-mentioned embodiments, so it can also solve the same technical problem and achieve the same technical effect.
实施例四:Embodiment 4:
如图4所示,本实施例提供了一种动态活动信息的推荐方法,应用于服务器,方法包括以下步骤:As shown in FIG. 4 , this embodiment provides a method for recommending dynamic activity information, which is applied to a server, and the method includes the following steps:
步骤S301,获取用户所处地理位置及用户查询的关键字;Step S301, obtaining the geographic location of the user and the keywords queried by the user;
这里的用户为查询动态活动信息的用户,通过用户的终端获取其所处的地理位置,用户通过终端输入查询的关键字。The user here is a user who inquires about dynamic activity information. The user obtains the geographic location of the user through the terminal of the user, and the user inputs the query keyword through the terminal.
步骤S302,查询在目标时间进行的与用户查询的关键字相匹配且在用户所处地理位置设定范围内的动态活动信息;其中,目标时间至少包括当前时间和用户查询时间;Step S302, query the dynamic activity information performed at the target time that matches the keyword queried by the user and is within the range set by the geographical location of the user; wherein the target time at least includes the current time and the user query time;
步骤S303,将查询到的设定范围内的动态活动信息发送给用户终端。In step S303, the dynamic activity information within the set range obtained by the query is sent to the user terminal.
具体地,关键字以“广场舞”为例,服务器获取当前时间,查询当前时间正在进行的广场舞信息以及历史广场舞信息,并与用户的查询时间进行匹配,将与查询时间相匹配的广场舞信息返回给用户。另外,还可以从广场舞历史数据中查询与用户的查询时间较近时间段的广场舞信息,可以表示该时间段刚刚完成的广场舞信息,以及可能快要开始的广场舞信息,一并推荐给用户进行参考。Specifically, the keyword "square dance" is taken as an example. The server obtains the current time, queries the current square dance information and historical square dance information, and matches the user's query time, and matches the square dance with the query time. Dance information is returned to the user. In addition, the square dance information of a time period closer to the user's query time can also be queried from the square dance historical data, which can indicate the square dance information that has just been completed in this time period and the square dance information that may be about to start. user for reference.
例如,用户的查询时间属于当前时间,则将当前时间正在进行的广场舞信息返回给用户;如果用户的查询时间早于或晚于当前时间,则可以从广场舞历史数据中查询与用户的查询时间较近的的时间段(早于或晚于查询时间)的广场舞信息返回给用户。For example, if the user's query time belongs to the current time, the information about the square dance being performed at the current time will be returned to the user; if the user's query time is earlier or later than the current time, the user's query can be queried from the square dance historical data. The square dance information of a relatively recent time period (earlier or later than the query time) is returned to the user.
进一步地,还包括步骤S304,若未查询到与目标时间相匹配的动态活动信息,则将推荐时间段内且在用户所处地理位置设定范围内的动态活动信息发送给用户终端。Further, step S304 is also included. If no dynamic activity information matching the target time is found, the dynamic activity information within the recommended time period and within the range set by the user's geographic location is sent to the user terminal.
比如,用户当前时间是18:00,服务器查询当前地理位置周边设定范围内没有正在进行的广场舞信息,但是历史记录中查询到今天之前的一段时间内每天在19:30~21:00都有广场舞活动,则将该时间段和地点推荐给用户,预示着今天19:30该地点可能仍然有广场舞活动。For example, the user's current time is 18:00, and the server queries the information about the square dance that is in progress within the set range around the current geographic location, but the historical record shows that it is every day from 19:30 to 21:00 for a period of time before today. If there is a square dance event, the time period and location will be recommended to the user, indicating that there may still be a square dance event at this location at 19:30 today.
进一步地,服务器还可以查询用户所在地理位置设定范围外的动态活动信息,并将设定范围外的动态活动信息发送给用户终端。具体地,可以查询距离用户查询区域一定距离的动态活动信息,并将该动态活动信息发送给用户终端。Further, the server may also query the dynamic activity information outside the set range of the geographic location of the user, and send the dynamic activity information outside the set range to the user terminal. Specifically, dynamic activity information at a certain distance from the user query area can be queried, and the dynamic activity information can be sent to the user terminal.
具体地,动态活动信息包括活动时间、活动地点、活动规模、活动状态、活动名称和活动联系人中至少之一。Specifically, the dynamic event information includes at least one of event time, event location, event scale, event status, event name, and event contact.
本发明实施例提供的一种动态活动信息的发布方法和系统,可以获取终端的标签信息以及地理位置信息,并根据地理位置信息确定地理范围;根据标签信息和地理位置信息确定相同标签在地理范围内的第一分布密度;根据相同标签的第一分布密度来确定目标动态活动;然后发布目标动态活动的相关信息。服务器根据相同标签的分布密度可以准确确定目标动态活动,并将获取的目标动态活动的相关信息进行发布,以便给用户提供方便快捷的动态活动信息检索服务。另外,本发明实施例提供的一种动态活动信息的推荐方法,可以根据用户的查询请求将动态活动信息推荐给用户,从而给用户提供方便快捷的动态活动信息检索服务。A method and system for publishing dynamic activity information provided by the embodiments of the present invention can acquire label information and geographic location information of a terminal, and determine a geographic range according to the geographic location information; The first distribution density within the same tag is determined; the target dynamic activity is determined according to the first distribution density of the same label; and the relevant information of the target dynamic activity is then published. The server can accurately determine the target dynamic activity according to the distribution density of the same tags, and publish the acquired relevant information of the target dynamic activity, so as to provide users with a convenient and fast dynamic activity information retrieval service. In addition, a method for recommending dynamic activity information provided by an embodiment of the present invention can recommend dynamic activity information to a user according to a user's query request, thereby providing users with a convenient and fast dynamic activity information retrieval service.
在本发明的描述中,需要说明的是,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the present invention, it should be noted that the terms "first", "second" and "third" are only used for description purposes, and cannot be understood as indicating or implying relative importance.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the system and unit described above, reference may be made to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的方法和系统,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed method and system may be implemented in other manners. The apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a processor-executable non-volatile computer-readable storage medium. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, removable hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .
最后应说明的是:以上所述实施例,仅为本发明的具体实施方式,用以说明本发明的技术方案,而非对其限制,本发明的保护范围并不局限于此,尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本发明实施例技术方案的精神和范围,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。Finally, it should be noted that the above-mentioned embodiments are only specific implementations of the present invention, and are used to illustrate the technical solutions of the present invention, but not to limit them. The protection scope of the present invention is not limited thereto, although referring to the foregoing The embodiment has been described in detail the present invention, those of ordinary skill in the art should understand: any person skilled in the art who is familiar with the technical field within the technical scope disclosed by the present invention can still modify the technical solutions described in the foregoing embodiments. Or can easily think of changes, or equivalently replace some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be covered in the present invention. within the scope of protection. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (16)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811146554.7A CN109344339B (en) | 2018-09-28 | 2018-09-28 | Method and system for publishing dynamic activity information and recommending method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811146554.7A CN109344339B (en) | 2018-09-28 | 2018-09-28 | Method and system for publishing dynamic activity information and recommending method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109344339A CN109344339A (en) | 2019-02-15 |
CN109344339B true CN109344339B (en) | 2022-03-18 |
Family
ID=65307334
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811146554.7A Active CN109344339B (en) | 2018-09-28 | 2018-09-28 | Method and system for publishing dynamic activity information and recommending method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109344339B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101232848A (en) * | 2005-04-25 | 2008-07-30 | 奈拉·哈菲兹 | Remote control tubular implantation device implantation instrument |
CN103455617A (en) * | 2012-09-11 | 2013-12-18 | 周良文 | Mobile terminal real-time information retrieval system and method |
CN107172590A (en) * | 2017-06-30 | 2017-09-15 | 北京奇虎科技有限公司 | Moving state information processing method, device and mobile terminal based on mobile terminal |
WO2018076695A1 (en) * | 2016-10-31 | 2018-05-03 | 上海斐讯数据通信技术有限公司 | Smart recommendation system and smart recommendation method |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8559979B2 (en) * | 2010-04-01 | 2013-10-15 | Sony Corporation | Mobile terminal, location-based service server, and information providing system |
CN102647661B (en) * | 2011-02-22 | 2014-12-10 | 三星电子(中国)研发中心 | Method for sending real-time status of terminal and interaction method based on real-time status |
US20130073422A1 (en) * | 2011-03-04 | 2013-03-21 | Justin Moore | System and method for providing recommendations with a location-based service |
CN103312748A (en) * | 2012-03-13 | 2013-09-18 | 腾讯科技(深圳)有限公司 | Method and device for obtaining activity information in SNS community |
CN103049538B (en) * | 2012-12-25 | 2015-10-21 | 华中科技大学 | The action message syndication search of a kind of position-based service and interactive approach and system |
US20150169630A1 (en) * | 2013-03-14 | 2015-06-18 | Google Inc. | Recommending an outdoor activity using a geographic information system |
CN105430032A (en) * | 2014-09-17 | 2016-03-23 | 阿里巴巴集团控股有限公司 | Method of pushing information by combining geographic position of terminal, and server |
CN105989113A (en) * | 2015-02-12 | 2016-10-05 | 广东欧珀移动通信有限公司 | Application program recommendation method and application program recommendation system |
US9674660B1 (en) * | 2015-11-09 | 2017-06-06 | Radiumone, Inc. | Using geolocation information in a social graph with sharing activity of users of the open web |
CN107491474A (en) * | 2017-06-26 | 2017-12-19 | 北京三快在线科技有限公司 | Information recommendation method and device |
CN107391605A (en) * | 2017-06-30 | 2017-11-24 | 北京奇虎科技有限公司 | Information-pushing method, device and mobile terminal based on geographical position |
-
2018
- 2018-09-28 CN CN201811146554.7A patent/CN109344339B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101232848A (en) * | 2005-04-25 | 2008-07-30 | 奈拉·哈菲兹 | Remote control tubular implantation device implantation instrument |
CN103455617A (en) * | 2012-09-11 | 2013-12-18 | 周良文 | Mobile terminal real-time information retrieval system and method |
WO2018076695A1 (en) * | 2016-10-31 | 2018-05-03 | 上海斐讯数据通信技术有限公司 | Smart recommendation system and smart recommendation method |
CN107172590A (en) * | 2017-06-30 | 2017-09-15 | 北京奇虎科技有限公司 | Moving state information processing method, device and mobile terminal based on mobile terminal |
Non-Patent Citations (2)
Title |
---|
LBSN中基于活动区域划分的元路径兴趣点推荐;徐泽锋;《软件》;20171115;第85-89页 * |
Where Could We Go? Recommendations for Groups in Location-Based Social Networks;Ayala-Gomez,Frederick等;《PROCEEDINGS OF THE 2017 ACM WEB SCIENCE CONFERENCE (WEBSCI "17)》;20171231;第93-102页 * |
Also Published As
Publication number | Publication date |
---|---|
CN109344339A (en) | 2019-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103765929B (en) | Use the system and method for being related to enhancing menu of mobile device | |
JP4861965B2 (en) | Information distribution system | |
CN106209935A (en) | A kind of information processing method, terminal and server | |
CN103210408A (en) | Matching a first location profile with at least one other location profile | |
CN104254865A (en) | Empirical expert determination and question routing system and method | |
CN102882936A (en) | Cloud pushing method, system and device | |
WO2019033908A1 (en) | Information pushing method | |
CN103438895A (en) | Method and device for providing recommended destination information for mobile terminal | |
TWI526963B (en) | A method, a device and recording media for searching target clients | |
CN110876123A (en) | Flow acquiring, providing, sharing, calibrating and transferring method and equipment | |
CN102063834A (en) | Intelligent interactive processing system and processing method containing geographic location information | |
CN104105178A (en) | Information service system and method based on mobile phone and low-power-consumption wireless communication technology | |
CN106210163A (en) | IP address-based localization method and device | |
JP6396686B2 (en) | Action determination device, action determination method, and program | |
CN104320848B (en) | The system and method for indoor positioning is realized based on cloud computing | |
CN102291419B (en) | The supplying method of navigation information system and navigation information | |
WO2019134469A1 (en) | Physical store query method and electronic device | |
CN103186660A (en) | Information source selection system, information source selection method, and program | |
JP5112087B2 (en) | Information distribution server, information distribution system, and information distribution method | |
CN201813534U (en) | Topic grouping system based on geographical position information | |
CN111814926A (en) | Data processing method and device | |
US20170332200A1 (en) | Radiocommunication systems, methods and devices | |
CN109344339B (en) | Method and system for publishing dynamic activity information and recommending method | |
CN111598188B (en) | Method and device for identifying position of target store, storage medium and electronic equipment | |
JP2012216087A (en) | Advertisement system and advertisement distribution method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |