CN105430742B - The localization method and user terminal of a kind of room objects - Google Patents
The localization method and user terminal of a kind of room objects Download PDFInfo
- Publication number
- CN105430742B CN105430742B CN201510791504.4A CN201510791504A CN105430742B CN 105430742 B CN105430742 B CN 105430742B CN 201510791504 A CN201510791504 A CN 201510791504A CN 105430742 B CN105430742 B CN 105430742B
- Authority
- CN
- China
- Prior art keywords
- indoor
- recommended
- target
- store
- contacts
- 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.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S5/00—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
- G01S5/02—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
- G01S5/0257—Hybrid positioning
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
Abstract
本发明实施例公开了一种室内对象的定位方法及用户终端,其中方法包括:对条形码进行扫描,得到条形码信息;将包括所述条形码信息的位置获取请求发送至室内服务器,所述位置获取请求用于指示所述室内服务器确定所述条形码信息对应的目标对象,并确定与所述目标对象的类型相同的推荐对象,并获取所述目标对象和所述推荐对象在用户当前所在建筑物中的目标位置;接收所述室内服务器响应所述位置获取请求返回的所述目标位置;在所述建筑物对应的室内地图中确定与所述目标位置对应的映射位置,并使用标记图标对所述映射位置进行标记。可见,通过实施本发明实施例,用户终端能够快速地、准确地对室内对象进行定位。
The embodiment of the present invention discloses a method for locating an indoor object and a user terminal, wherein the method includes: scanning a barcode to obtain barcode information; sending a location acquisition request including the barcode information to an indoor server, and the location acquisition request It is used to instruct the indoor server to determine the target object corresponding to the barcode information, determine the recommended object of the same type as the target object, and obtain the information of the target object and the recommended object in the building where the user is currently located. Target position; receiving the target position returned by the indoor server in response to the position acquisition request; determining a mapped position corresponding to the target position in the indoor map corresponding to the building, and using a marker icon to map the The location is marked. It can be seen that, by implementing the embodiments of the present invention, the user terminal can quickly and accurately locate indoor objects.
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种室内对象的定位方法及用户终端。The present invention relates to the field of communication technology, in particular to an indoor object positioning method and a user terminal.
背景技术Background technique
随着经济的迅猛发展,越来越多的大型建筑物(如大型的购物中心、博物馆、大型室内名胜古迹等)出现在城市当中。由于大型建筑物的室内面积较大且室内环境结构较复杂,人们在这些大型建筑物内寻找室内对象(如室内商店或室内物品等)通常需要花费很多时间。With the rapid development of the economy, more and more large buildings (such as large shopping centers, museums, large indoor places of interest, etc.) appear in cities. Since large buildings have large indoor areas and complex indoor environment structures, it usually takes a lot of time for people to search for indoor objects (such as indoor stores or indoor objects) in these large buildings.
发明内容Contents of the invention
本发明实施例公开了一种室内对象的定位方法及用户终端,能够快速地、准确地对室内对象进行定位。The embodiment of the invention discloses a method for locating an indoor object and a user terminal, which can quickly and accurately locate the indoor object.
本发明实施例第一方面公开了一种室内对象的定位方法,包括:The first aspect of the embodiment of the present invention discloses a positioning method for indoor objects, including:
对条形码进行扫描,得到条形码信息;Scan the barcode to get the barcode information;
将包括所述条形码信息的位置获取请求发送至室内服务器,所述位置获取请求用于指示所述室内服务器确定所述条形码信息对应的目标对象,并确定与所述目标对象的类型相同的推荐对象,并获取所述目标对象和所述推荐对象在用户当前所在建筑物中的目标位置;Sending a location acquisition request including the barcode information to an indoor server, where the location acquisition request is used to instruct the indoor server to determine the target object corresponding to the barcode information, and to determine a recommended object of the same type as the target object , and obtain the target location of the target object and the recommended object in the building where the user is currently located;
接收所述室内服务器响应所述位置获取请求返回的所述目标位置;receiving the target location returned by the indoor server in response to the location acquisition request;
在所述建筑物对应的室内地图中确定与所述目标位置对应的映射位置,并使用标记图标对所述映射位置进行标记。Determine the mapped position corresponding to the target position in the indoor map corresponding to the building, and mark the mapped position with a marker icon.
在本发明实施例第一方面的第一种可能的实现方式中,所述在所述建筑物对应的室内地图中确定与所述目标位置对应的映射位置,并使用标记图标对所述映射位置进行标记之后,所述方法还包括:In the first possible implementation manner of the first aspect of the embodiment of the present invention, the mapping location corresponding to the target location is determined in the indoor map corresponding to the building, and the mapping location is identified by using a marker icon After marking, the method also includes:
向所述室内服务器发送针对所述目标对象或所述推荐对象的推荐请求,所述推荐请求用于指示所述室内服务器获取所述用户对应的联系人列表,并从所述联系人列表中获取第一部分联系人的标识,并根据所述第一部分联系人的标识向所述第一部分联系人对应的终端发送针对所述目标对象或所述推荐对象的推荐消息,其中,所述第一部分联系人为当前处于所述建筑物中的联系人。Sending a recommendation request for the target object or the recommended object to the indoor server, where the recommendation request is used to instruct the indoor server to obtain a contact list corresponding to the user, and obtain from the contact list an identifier of a first partial contact, and send a recommendation message for the target object or the recommended object to a terminal corresponding to the first partial contact according to the identifier of the first partial contact, wherein the first partial contact is Contacts currently in the building.
在本发明实施例第一方面的第二种可能的实现方式中,所述在所述建筑物对应的室内地图中确定与所述目标位置对应的映射位置,并使用标记图标对所述映射位置进行标记之后,所述方法还包括:In the second possible implementation manner of the first aspect of the embodiment of the present invention, the mapping location corresponding to the target location is determined in the indoor map corresponding to the building, and the mapping location is identified by using a marker icon After marking, the method also includes:
接收所述用户针对选择对象输入的路径获取指令,所述选择对象为所述目标对象或所述推荐对象;receiving a path acquisition instruction input by the user for a selected object, where the selected object is the target object or the recommended object;
向所述室内服务器发送联系人获取请求,以响应所述路径获取指令,所述联系人获取请求用于指示所述室内服务器获取所述用户对应的联系人列表,并从所述联系人列表中获取第二部分联系人的标识,所述第二部分联系人为在所述用户的预设范围之内的联系人;Sending a contact acquisition request to the indoor server in response to the route acquisition instruction, the contact acquisition request is used to instruct the indoor server to acquire a contact list corresponding to the user, and from the contact list Acquiring identifiers of a second part of contacts, where the second part of contacts is contacts within the preset range of the user;
接收所述室内服务器响应所述联系人获取请求返回的所述第二部分联系人的标识;receiving the identifiers of the second part of contacts returned by the indoor server in response to the contact acquisition request;
根据所述第二部分联系人的标识向所述第二部分联系人对应的终端发送用于邀请所述第二部分联系人一同前往所述选择对象的位置的邀请信息;Sending invitation information for inviting the second part of contacts to go to the location of the selected object together to a terminal corresponding to the second part of contacts according to the identifier of the second part of contacts;
当接收到所述第二部分联系人对应的终端针对所述邀请信息发送的确认前往响应时,向所述室内服务器发送路径获取请求,所述路径获取请求用于指示所述室内服务器生成途经所述用户的当前位置、所述第二部分联系人对应的终端的当前位置以及所述选择对象的位置的路径;When a terminal corresponding to the second part of contacts receives a confirmation response sent by a terminal corresponding to the invitation information, a path acquisition request is sent to the indoor server, and the path acquisition request is used to instruct the indoor server to generate The current location of the user, the current location of the terminal corresponding to the second part of contacts, and the path of the location of the selected object;
接收所述室内服务器响应所述路径获取请求返回的所述路径;receiving the path returned by the indoor server in response to the path acquisition request;
在所述室内地图中映射出所述路径。The path is mapped in the indoor map.
结合本发明实施例第一方面或第一方面的第一种可能的实现方式或第一方面的第二种可能的实现方式,在本发明实施例第一方面的第三种可能的实现方式中,当所述目标对象为目标商店时,所述推荐对象为推荐商店,所述室内服务器确定与所述目标对象的类型相同的推荐对象的方式具体为:In combination with the first aspect of the embodiment of the present invention or the first possible implementation of the first aspect or the second possible implementation of the first aspect, in the third possible implementation of the first aspect of the embodiment of the present invention , when the target object is a target store, the recommended object is a recommended store, and the manner in which the indoor server determines a recommended object of the same type as the target object is as follows:
由所述室内服务器确定与所述目标商店的商店类型相同的同类商店,并获取所述同类商店的折扣商品的数量,并根据获取的所述折扣商品的数量从所述同类商店中确定推荐商店,所述推荐商店为折扣商品的数量大于预设数量的商店,或所述推荐商店为折扣商品的数量最大的商店;或,The indoor server determines similar stores with the same store type as the target store, acquires the quantity of discounted commodities in the similar stores, and determines recommended stores from the similar stores according to the obtained quantity of discounted commodities , the recommended store is a store with a quantity of discounted commodities greater than a preset quantity, or the recommended store is a store with the largest quantity of discounted commodities; or,
由所述室内服务器确定与所述目标商店的商店类型相同的同类商店,并从监控系统中获取所述同类商店的当前人流量,并根据获取的所述当前人流量从所述同类商店中确定推荐商店,所述推荐商店为当前人流量最大的商店,或所述推荐商店为当前人流量大于预设人流量的商店。The indoor server determines similar stores with the same store type as the target store, and obtains the current flow of people of the same kind of stores from the monitoring system, and determines from the same kind of stores according to the obtained current flow of people. Recommending a store, the recommended store is a store with the largest current flow of people, or the recommended store is a store with a current flow of people greater than a preset flow of people.
结合本发明实施例第一方面或第一方面的第一种可能的实现方式或第一方面的第二种可能的实现方式,在本发明实施例第一方面的第四种可能的实现方式中,当所述目标对象为目标商品时,所述推荐对象为推荐商品,所述室内服务器确定与所述目标对象的类型相同的推荐对象的方式具体为:In combination with the first aspect of the embodiment of the present invention or the first possible implementation of the first aspect or the second possible implementation of the first aspect, in the fourth possible implementation of the first aspect of the embodiment of the present invention , when the target object is a target product, the recommended object is a recommended product, and the way for the indoor server to determine the recommended object of the same type as the target object is as follows:
由所述室内服务器确定与所述目标商品的商品类型相同的同类商品,并从收银系统中获取所述同类商品的销售量,并根据获取的所述销售量从所述同类商品中确定推荐商品,所述推荐商品为销售量大于预设销售量的商品,或所述推荐商品为销售量最大的商品;或,The indoor server determines similar products of the same product type as the target product, obtains the sales volume of the similar products from the cash register system, and determines recommended products from the similar products according to the acquired sales volume , the recommended commodity is a commodity whose sales volume is greater than a preset sales volume, or the recommended commodity is a commodity with the largest sales volume; or,
由所述室内服务器确定与所述目标商品的商品类型相同的同类商品,并从收银系统中获取所述同类商品的价格,并根据获取的所述价格从所述同类商品中确定推荐商品,所述推荐商品为价格小于预设价格的商品,或所述推荐商品为价格最低的商品。The indoor server determines similar products of the same product type as the target product, obtains the prices of the similar products from the cash register system, and determines recommended products from the similar products according to the obtained prices, so that The recommended commodity is a commodity whose price is lower than a preset price, or the recommended commodity is a commodity with the lowest price.
本发明实施例第二方面公开了一种用户终端,包括:The second aspect of the embodiment of the present invention discloses a user terminal, including:
扫描模块,用于对条形码进行扫描,得到条形码信息;The scanning module is used to scan the barcode to obtain barcode information;
发送模块,用于将包括所述条形码信息的位置获取请求发送至室内服务器,所述位置获取请求用于指示所述室内服务器确定所述条形码信息对应的目标对象,并确定与所述目标对象的类型相同的推荐对象,并获取所述目标对象和所述推荐对象在用户当前所在建筑物中的目标位置;A sending module, configured to send a location acquisition request including the barcode information to an indoor server, where the location acquisition request is used to instruct the indoor server to determine the target object corresponding to the barcode information, and to determine the location of the target object. recommend objects of the same type, and obtain the target object and the target position of the recommended object in the building where the user is currently located;
接收模块,用于接收所述室内服务器响应所述位置获取请求返回的所述目标位置;a receiving module, configured to receive the target location returned by the indoor server in response to the location acquisition request;
标记模块,用于在所述建筑物对应的室内地图中确定与所述目标位置对应的映射位置,并使用标记图标对所述映射位置进行标记。A marking module, configured to determine a mapped position corresponding to the target position in the indoor map corresponding to the building, and use a marking icon to mark the mapped position.
在本发明实施例第二方面的第一种可能的实现方式中,所述发送模块,还用于在所述标记模块在所述建筑物对应的室内地图中确定与所述目标位置对应的映射位置,并使用标记图标对所述映射位置进行标记之后,向所述室内服务器发送针对所述目标对象或所述推荐对象的推荐请求,所述推荐请求用于指示所述室内服务器获取所述用户对应的联系人列表,并从所述联系人列表中获取第一部分联系人的标识,并根据所述第一部分联系人的标识向所述第一部分联系人对应的终端发送针对所述目标对象或所述推荐对象的推荐消息,其中,所述第一部分联系人为当前处于所述建筑物中的联系人。In the first possible implementation manner of the second aspect of the embodiment of the present invention, the sending module is further configured to determine a map corresponding to the target location in the indoor map corresponding to the building in the marking module location, and mark the mapped location with a marker icon, send a recommendation request for the target object or the recommended object to the indoor server, and the recommendation request is used to instruct the indoor server to obtain the user The corresponding contact list, and obtain the identification of the first part of the contacts from the contact list, and according to the identification of the first part of the contacts, send the target object or the terminal corresponding to the first part of the contacts. A recommendation message of the recommended object, wherein the first part of contacts are contacts currently in the building.
在本发明实施例第二方面的第二种可能的实现方式中,所述用户终端还包括映射模块,其中:In a second possible implementation manner of the second aspect of the embodiments of the present invention, the user terminal further includes a mapping module, where:
所述接收模块,还用于在所述标记模块在所述建筑物对应的室内地图中确定与所述目标位置对应的映射位置,并使用标记图标对所述映射位置进行标记之后,接收所述用户针对选择对象输入的路径获取指令,所述选择对象为所述目标对象或所述推荐对象;The receiving module is further configured to, after the marking module determines a mapped position corresponding to the target position in the indoor map corresponding to the building, and marks the mapped position with a marking icon, receive the The path acquisition instruction input by the user for the selected object is the target object or the recommended object;
所述发送模块,还用于向所述室内服务器发送联系人获取请求,以响应所述路径获取指令,所述联系人获取请求用于指示所述室内服务器获取所述用户对应的联系人列表,并从所述联系人列表中获取第二部分联系人的标识,所述第二部分联系人为在所述用户的预设范围之内的联系人;The sending module is further configured to send a contact acquisition request to the indoor server in response to the path acquisition instruction, the contact acquisition request is used to instruct the indoor server to acquire a contact list corresponding to the user, And obtain the identification of the second part of contacts from the contact list, and the second part of contacts are contacts within the preset range of the user;
所述接收模块,还用于接收所述室内服务器响应所述联系人获取请求返回的所述第二部分联系人的标识;The receiving module is further configured to receive the identifiers of the second part of contacts returned by the indoor server in response to the contact acquisition request;
所述发送模块,还用于根据所述第二部分联系人的标识向所述第二部分联系人对应的终端发送用于邀请所述第二部分联系人一同前往所述选择对象的位置的邀请信息;The sending module is further configured to send an invitation for inviting the second part of contacts to the location of the selected object to the terminal corresponding to the second part of contacts according to the identifier of the second part of contacts information;
所述发送模块,还用于当接收到所述第二部分联系人对应的终端针对所述邀请信息发送的确认前往响应时,向所述室内服务器发送路径获取请求,所述路径获取请求用于指示所述室内服务器生成途经所述用户的当前位置、所述第二部分联系人对应的终端的当前位置以及所述选择对象的位置的路径;The sending module is further configured to send a path acquisition request to the indoor server when receiving a confirmation response sent by the terminal corresponding to the second part of contacts for the invitation information, and the path acquisition request is used for Instructing the indoor server to generate a path passing through the current location of the user, the current location of the terminal corresponding to the second part of contacts, and the location of the selected object;
所述接收模块,还用于接收所述室内服务器响应所述路径获取请求返回的所述路径;The receiving module is further configured to receive the path returned by the indoor server in response to the path acquisition request;
所述映射模块,用于在所述室内地图中映射出所述路径。The mapping module is configured to map the path in the indoor map.
结合本发明实施例第二方面或第二方面的第一种可能的实现方式或第二方面的第二种可能的实现方式,在本发明实施例第二方面的第三种可能的实现方式中,当所述目标对象为目标商店时,所述推荐对象为推荐商店,所述室内服务器确定与所述目标对象的类型相同的推荐对象的方式具体为:In combination with the second aspect of the embodiment of the present invention or the first possible implementation of the second aspect or the second possible implementation of the second aspect, in the third possible implementation of the second aspect of the embodiment of the present invention , when the target object is a target store, the recommended object is a recommended store, and the manner in which the indoor server determines a recommended object of the same type as the target object is as follows:
由所述室内服务器确定与所述目标商店的商店类型相同的同类商店,并获取所述同类商店的折扣商品的数量,并根据获取的所述折扣商品的数量从所述同类商店中确定推荐商店,所述推荐商店为折扣商品的数量大于预设数量的商店,或所述推荐商店为折扣商品的数量最大的商店;或,The indoor server determines similar stores with the same store type as the target store, acquires the quantity of discounted commodities in the similar stores, and determines recommended stores from the similar stores according to the obtained quantity of discounted commodities , the recommended store is a store with a quantity of discounted commodities greater than a preset quantity, or the recommended store is a store with the largest quantity of discounted commodities; or,
由所述室内服务器确定与所述目标商店的商店类型相同的同类商店,并从监控系统中获取所述同类商店的当前人流量,并根据获取的所述当前人流量从所述同类商店中确定推荐商店,所述推荐商店为当前人流量最大的商店,或所述推荐商店为当前人流量大于预设人流量的商店。The indoor server determines similar stores with the same store type as the target store, and obtains the current flow of people of the same kind of stores from the monitoring system, and determines from the same kind of stores according to the obtained current flow of people. Recommending a store, the recommended store is a store with the largest current flow of people, or the recommended store is a store with a current flow of people greater than a preset flow of people.
结合本发明实施例第二方面或第二方面的第一种可能的实现方式或第二方面的第二种可能的实现方式,在本发明实施例第二方面的第四种可能的实现方式中,当所述目标对象为目标商品时,所述推荐对象为推荐商品,所述室内服务器确定与所述目标对象的类型相同的推荐对象的方式具体为:In combination with the second aspect of the embodiment of the present invention or the first possible implementation of the second aspect or the second possible implementation of the second aspect, in the fourth possible implementation of the second aspect of the embodiment of the present invention , when the target object is a target product, the recommended object is a recommended product, and the way for the indoor server to determine the recommended object of the same type as the target object is as follows:
由所述室内服务器确定与所述目标商品的商品类型相同的同类商品,并从收银系统中获取所述同类商品的销售量,并根据获取的所述销售量从所述同类商品中确定推荐商品,所述推荐商品为销售量大于预设销售量的商品,或所述推荐商品为销售量最大的商品;或,The indoor server determines similar products of the same product type as the target product, obtains the sales volume of the similar products from the cash register system, and determines recommended products from the similar products according to the acquired sales volume , the recommended commodity is a commodity whose sales volume is greater than a preset sales volume, or the recommended commodity is a commodity with the largest sales volume; or,
由所述室内服务器确定与所述目标商品的商品类型相同的同类商品,并从收银系统中获取所述同类商品的价格,并根据获取的所述价格从所述同类商品中确定推荐商品,所述推荐商品为价格小于预设价格的商品,或所述推荐商品为价格最低的商品。The indoor server determines similar products of the same product type as the target product, obtains the prices of the similar products from the cash register system, and determines recommended products from the similar products according to the obtained prices, so that The recommended commodity is a commodity whose price is lower than a preset price, or the recommended commodity is a commodity with the lowest price.
在本发明实施例中,用户终端将包括条形码信息的位置获取请求发送至室内服务器之后,将接收室内服务器响应该位置获取请求返回的目标位置;用户终端在建筑物对应的室内地图中确定与目标位置对应的映射位置,并使用标记图标对映射位置进行标记。可见,通过实施本发明实施例,用户终端能够快速地、准确地对室内对象进行定位。且用户终端在对条形码信息对应的对象进行定位时,也可将室内的其他对象推荐给用户。In the embodiment of the present invention, after the user terminal sends the location acquisition request including barcode information to the indoor server, it will receive the target location returned by the indoor server in response to the location acquisition request; the user terminal determines the target location in the indoor map corresponding to the building. The map location corresponding to the location, and mark the map location with the marker icon. It can be seen that, by implementing the embodiments of the present invention, the user terminal can quickly and accurately locate indoor objects. Moreover, when the user terminal locates the object corresponding to the barcode information, it may also recommend other indoor objects to the user.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings that need to be used in the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1是本发明实施例公开的一种室内对象的定位方法的流程示意图;FIG. 1 is a schematic flowchart of a method for locating an indoor object disclosed in an embodiment of the present invention;
图2是本发明实施例公开的另一种室内对象的定位方法的流程示意图;Fig. 2 is a schematic flowchart of another indoor object positioning method disclosed in an embodiment of the present invention;
图3是本发明实施例公开的另一种室内对象的定位方法的流程示意图;Fig. 3 is a schematic flowchart of another indoor object positioning method disclosed in an embodiment of the present invention;
图4是本发明实施例公开的一种用户终端的结构示意图;FIG. 4 is a schematic structural diagram of a user terminal disclosed in an embodiment of the present invention;
图5是本发明实施例公开的另一种用户终端的结构示意图。Fig. 5 is a schematic structural diagram of another user terminal disclosed in an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明实施例公开了一种室内对象的定位方法及用户终端,能够快速地、准确地对室内对象进行定位。以下分别进行详细说明。The embodiment of the invention discloses a method for locating an indoor object and a user terminal, which can quickly and accurately locate the indoor object. Each will be described in detail below.
请参见图1,图1为本发明实施例公开的一种室内对象的定位方法的流程示意图。如图1所示,该室内对象的定位方法可以包括以下步骤。Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of a method for locating an indoor object disclosed in an embodiment of the present invention. As shown in Fig. 1, the method for locating an indoor object may include the following steps.
S101、用户终端对条形码进行扫描,得到条形码信息。S101. The user terminal scans the barcode to obtain barcode information.
本发明实施例中,用户终端可包括但不限于智能手机、掌上电脑、笔记本电脑和台式电脑等用户终端。该用户终端的操作系统可包括但不限于Android操作系统、IOS操作系统、Symbian(塞班)操作系统、Black Berry(黑莓)操作系统、Windows Phone8操作系统等等,本发明实施例不做限定。其中,上述条形码可以为一维条形码或二维码(二维条形码)。In the embodiment of the present invention, the user terminal may include, but not limited to, user terminals such as smart phones, palmtop computers, notebook computers, and desktop computers. The operating system of the user terminal may include but not limited to Android operating system, IOS operating system, Symbian (Symbian) operating system, Black Berry (Blackberry) operating system, Windows Phone8 operating system, etc., which are not limited in the embodiment of the present invention. Wherein, the above-mentioned barcode may be a one-dimensional barcode or a two-dimensional barcode (two-dimensional barcode).
S102、用户终端将包括该条形码信息的位置获取请求发送至室内服务器。S102. The user terminal sends a location acquisition request including the barcode information to the indoor server.
本发明实施例中,位置获取请求用于指示室内服务器确定条形码信息对应的目标对象,并确定与目标对象的类型相同的推荐对象,并获取目标对象和推荐对象在用户当前所在建筑物中的目标位置。In the embodiment of the present invention, the location acquisition request is used to instruct the indoor server to determine the target object corresponding to the barcode information, determine the recommended object of the same type as the target object, and obtain the target object and the target of the recommended object in the building where the user is currently located. Location.
本发明实施例中,该目标对象为室内的对象,该对象可以为室内的商店或商品等。室内服务器预先储存有条形码信息与室内的对象的对应关系,在室内服务器接收到位置获取请求之后,室内服务器将根据预存的对应关系,从室内的对象中确定与位置获取请求包括的条形码信息对应的对象作为目标对象。In the embodiment of the present invention, the target object is an indoor object, and the object may be an indoor store or commodity. The indoor server pre-stores the correspondence between the barcode information and the indoor objects. After the indoor server receives the location acquisition request, the indoor server will determine from the indoor objects the location corresponding to the barcode information included in the location acquisition request according to the pre-stored correspondence. object as the target object.
本发明实施例中,室内服务器预先存储有对象与对象类型的对应关系。可选的,当对象为商店时,对象的类型为商店类型,例如商店类型可以为服装店类型、鞋店类型、食品店类型等;例如,商店1可对应服装店类型;商店2可对应鞋店类型。可选的,当对象为商品时,对象的类型为商品类型,例如商品类型可以为服装类型、鞋类型、食品类型、水果类型、蔬菜类型和日用品类型等;例如,苹果可对应水果类型;青菜可对应蔬菜类型。本发明实施例中,室内服务器确定目标对象之后,将根据预存的对象与对象类型的对应关系,获取与目标对象的类型相同的同类对象,并从同类对象中确定推荐对象。In the embodiment of the present invention, the indoor server pre-stores the correspondence between objects and object types. Optionally, when the object is a store, the type of the object is a store type. For example, the store type can be a clothing store type, a shoe store type, a food store type, etc.; for example, store 1 can correspond to a clothing store type; store 2 can correspond to a shoe store. store type. Optionally, when the object is a commodity, the type of the object is the commodity type, for example, the commodity type can be clothing type, shoe type, food type, fruit type, vegetable type and daily necessities type, etc.; for example, apples can correspond to fruit types; vegetables Compatible with vegetable types. In the embodiment of the present invention, after the indoor server determines the target object, it will obtain similar objects of the same type as the target object according to the pre-stored correspondence between objects and object types, and determine recommended objects from the similar objects.
作为一种可选的实施方式,当目标对象为目标商店时,推荐对象为推荐商店,室内服务器确定与目标对象的类型相同的推荐对象的方式具体为:As an optional implementation manner, when the target object is a target store, the recommended object is a recommended store, and the manner in which the indoor server determines the recommended object of the same type as the target object is as follows:
由室内服务器确定与目标商店的商店类型相同的同类商店,并获取同类商店的折扣商品的数量,并根据获取的折扣商品的数量从同类商店中确定推荐商店,其中,推荐商店为折扣商品的数量大于预设数量的商店,或推荐商店为折扣商品的数量最大的商店。The indoor server determines similar stores with the same store type as the target store, obtains the quantity of discounted products in the same kind of stores, and determines recommended stores from similar stores according to the obtained quantity of discounted products, wherein the recommended store is the quantity of discounted products Stores greater than the preset quantity, or the store recommended as the store with the largest quantity of discounted items.
在该实施方式中,室内服务器获取同类商店之后,可从用户当前所在建筑物对应的销售系统中获取同类商店的折扣商品的数量。In this embodiment, after acquiring similar stores, the indoor server may acquire the quantity of discounted commodities in similar stores from the sales system corresponding to the building where the user is currently located.
通过实施该实施方式,可为用户推荐优惠商品多的商店。By implementing this embodiment, a store with many discounted products can be recommended to the user.
作为一种可选的实施方式,当目标对象为目标商店时,推荐对象为推荐商店,室内服务器确定与目标对象的类型相同的推荐对象的方式具体为:As an optional implementation manner, when the target object is a target store, the recommended object is a recommended store, and the manner in which the indoor server determines the recommended object of the same type as the target object is as follows:
由室内服务器确定与目标商店的商店类型相同的同类商店,并从监控系统中获取同类商店的当前人流量,并根据获取的当前人流量从同类商店中确定推荐商店,其中,推荐商店为当前人流量最大的商店,或推荐商店为当前人流量大于预设人流量的商店。The indoor server determines similar stores with the same store type as the target store, and obtains the current flow of people of the same kind of stores from the monitoring system, and determines the recommended store from similar stores according to the obtained current flow of people, wherein the recommended store is the current flow of people. The store with the largest traffic flow, or the recommended store is a store whose current flow of people is greater than the preset flow of people.
在该实施方式中,室内服务器获取同类商店之后,可从用户当前所在建筑物对应的监控系统中获取同类商店的当前人流量。In this embodiment, after the indoor server acquires the same kind of stores, it can acquire the current flow of people of the same kind of stores from the monitoring system corresponding to the building where the user is currently located.
通过实施该实施方式,可向用户推荐热门的商店。By implementing this embodiment, popular stores can be recommended to users.
作为一种可选的实施方式,当目标对象为目标商品时,推荐对象为推荐商品,室内服务器确定与目标对象的类型相同的推荐对象的方式具体为:As an optional implementation manner, when the target object is the target product, the recommended object is the recommended product, and the way for the indoor server to determine the recommended object of the same type as the target object is as follows:
由室内服务器确定与目标商品的商品类型相同的同类商品,并从收银系统中获取同类商品的销售量,并根据获取的销售量从同类商品中确定推荐商品,其中,推荐商品为销售量大于预设销售量的商品,或推荐商品为销售量最大的商品。The indoor server determines similar products with the same product type as the target product, and obtains the sales volume of similar products from the cash register system, and determines recommended products from similar products according to the obtained sales volume, wherein the recommended product is that the sales volume is greater than the expected one. Let the product with the highest sales volume or the recommended product be the product with the largest sales volume.
通过实施该实施方式,可向用户推荐热门的商品。By implementing this embodiment, popular products can be recommended to users.
作为一种可选的实施方式,当目标对象为目标商品时,推荐对象为推荐商品,室内服务器确定与目标对象的类型相同的推荐对象的方式具体为:As an optional implementation manner, when the target object is the target product, the recommended object is the recommended product, and the way for the indoor server to determine the recommended object of the same type as the target object is as follows:
由室内服务器确定与目标商品的商品类型相同的同类商品,并从收银系统中获取同类商品的价格,并根据获取的价格从同类商品中确定推荐商品,其中,推荐商品为价格小于预设价格的商品,或推荐商品为价格最低的商品。The indoor server determines similar products of the same product type as the target product, obtains the prices of similar products from the cash register system, and determines recommended products from similar products based on the obtained prices, wherein the recommended products are those whose price is less than the preset price product, or recommended product as the product with the lowest price.
通过实施该实施方式,可向用户推荐优惠的商品。By implementing this embodiment, it is possible to recommend discounted products to users.
本发明实施例中,室内服务器获取目标对象和推荐对象之后,将根据预先存储的对象与对象在建筑物内的位置的对应关系,获取与目标对象对应的目标位置(可以为经纬度),以及获取与推荐对象对应的目标位置,并返回获取的目标位置至用户终端。In the embodiment of the present invention, after the indoor server obtains the target object and the recommended object, it will obtain the target location (which can be longitude and latitude) corresponding to the target object according to the correspondence between the pre-stored object and the location of the object in the building, and obtain The target location corresponding to the recommended object, and return the obtained target location to the user terminal.
S103、用户终端接收室内服务器响应位置获取请求返回的目标位置。S103. The user terminal receives the target location returned by the indoor server in response to the location acquisition request.
S104、用户终端在建筑物对应的室内地图中确定与目标位置对应的映射位置,并使用标记图标对映射位置进行标记。S104. The user terminal determines a mapped position corresponding to the target position in the indoor map corresponding to the building, and marks the mapped position with a marker icon.
本发明实施例中,用户终端预先设置了建筑物中的位置(如经纬度)与室内地图中的位置的映射关系。用户终端接收目标位置之后,将根据该映射关系在室内地图中确定目标位置对应的映射位置,并使用标记图标对映射位置进行标记。可选的,用户终端可使用不同的标记图标在室内地图中对目标对象和推荐对象对应的映射位置进行标记,以区分目标对象和推荐对象。In the embodiment of the present invention, the user terminal presets the mapping relationship between the location in the building (such as latitude and longitude) and the location in the indoor map. After receiving the target position, the user terminal will determine the mapped position corresponding to the target position in the indoor map according to the mapping relationship, and mark the mapped position with a marking icon. Optionally, the user terminal may use different marking icons to mark the mapped positions corresponding to the target object and the recommended object on the indoor map, so as to distinguish the target object from the recommended object.
在图1所描述的方法中,用户终端将包括条形码信息的位置获取请求发送至室内服务器之后,将接收室内服务器响应该位置获取请求返回的目标位置;用户终端在建筑物对应的室内地图中确定与目标位置对应的映射位置,并使用标记图标对映射位置进行标记。可见,通过实施本发明实施例,用户终端能够快速地、准确地对室内对象进行定位。且用户终端在对条形码信息对应的对象进行定位时,也可将室内的其他对象推荐给用户。In the method described in Figure 1, after the user terminal sends the location acquisition request including the barcode information to the indoor server, it will receive the target location returned by the indoor server in response to the location acquisition request; the user terminal determines the location in the indoor map corresponding to the building. Map the location corresponding to the target location and mark the mapped location with the marker icon. It can be seen that, by implementing the embodiments of the present invention, the user terminal can quickly and accurately locate indoor objects. Moreover, when the user terminal locates the object corresponding to the barcode information, it may also recommend other indoor objects to the user.
请参见图2,图2为本发明实施例公开的另一种室内对象的定位方法的流程示意图。如图2所示,该室内对象的定位方法可以包括以下步骤。Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of another indoor object positioning method disclosed by an embodiment of the present invention. As shown in Fig. 2, the method for locating an indoor object may include the following steps.
S201、用户终端对条形码进行扫描,得到条形码信息。S201. The user terminal scans the barcode to obtain barcode information.
S202、用户终端将包括该条形码信息的位置获取请求发送至室内服务器。S202. The user terminal sends a location acquisition request including the barcode information to the indoor server.
本发明实施例中,位置获取请求用于指示室内服务器确定条形码信息对应的目标对象,并确定与目标对象的类型相同的推荐对象,并获取目标对象和推荐对象在用户当前所在建筑物中的目标位置。In the embodiment of the present invention, the location acquisition request is used to instruct the indoor server to determine the target object corresponding to the barcode information, determine the recommended object of the same type as the target object, and obtain the target object and the target of the recommended object in the building where the user is currently located. Location.
S203、用户终端接收室内服务器响应位置获取请求返回的目标位置。S203. The user terminal receives the target location returned by the indoor server in response to the location acquisition request.
S204、用户终端在建筑物对应的室内地图中确定与目标位置对应的映射位置,并使用标记图标对映射位置进行标记。S204. The user terminal determines a mapped position corresponding to the target position in the indoor map corresponding to the building, and marks the mapped position with a marker icon.
S205、用户终端向室内服务器发送针对目标对象或推荐对象的推荐请求。S205. The user terminal sends a recommendation request for the target object or recommended object to the indoor server.
本发明实施例中,可选的,用户可点击标记图标以选中目标对象或推荐对象。在用户选中目标对象或推荐对象之后,用户可点击特定的功能按钮,以触发用户终端向室内服务器发送针对目标对象或推荐对象的推荐请求。In this embodiment of the present invention, optionally, the user may click a mark icon to select a target object or a recommended object. After the user selects the target object or the recommended object, the user may click a specific function button to trigger the user terminal to send a recommendation request for the target object or the recommended object to the indoor server.
本发明实施例中,推荐请求用于指示室内服务器获取用户对应的联系人列表,并从联系人列表中获取第一部分联系人的标识,并根据第一部分联系人的标识向第一部分联系人对应的终端发送针对目标对象或推荐对象的推荐消息,其中,第一部分联系人为当前处于用户所在建筑物中的联系人。In the embodiment of the present invention, the recommendation request is used to instruct the indoor server to obtain the contact list corresponding to the user, obtain the identifiers of the first part of the contacts from the contact list, and provide the The terminal sends a recommendation message for the target object or the recommended object, wherein the first part of contacts are contacts currently in the building where the user is located.
本发明实施例中,室内服务器储存有用户对应的联系人列表(即用户的好友列表)。室内服务器接收推荐请求之后,将获取该联系人列表中的联系人的标识,并根据联系人的标识获取联系人的当前位置(具体地,室内服务器可通过WIFI室内定位技术获取联系人的当前位置),并在获取联系人的当前位置之后,根据联系人的当前位置,从联系人列表中确定当前处于用户所在建筑物中的第一部分联系人。In the embodiment of the present invention, the indoor server stores a contact list corresponding to the user (that is, a friend list of the user). After the indoor server receives the recommendation request, it will obtain the identification of the contact in the contact list, and obtain the current location of the contact according to the identification of the contact (specifically, the indoor server can obtain the current location of the contact through WIFI indoor positioning technology) ), and after obtaining the current location of the contact, according to the current location of the contact, determine the first part of contacts currently in the building where the user is located from the contact list.
本发明实施例中,室内服务器确定第一部分联系人之后,将获取第一部分联系人的标识,并根据第一部分联系人的标识向第一部分联系人对应的终端发送针对目标对象或推荐对象的推荐消息,以向第一部分联系人推荐目标对象或推荐对象。In the embodiment of the present invention, after the indoor server determines the first part of the contacts, it will obtain the identification of the first part of the contacts, and send a recommendation message for the target object or recommended object to the terminal corresponding to the first part of the contacts according to the identification of the first part of the contacts , to recommend target objects or recommended objects to the first part of contacts.
通过实施图2所描述的实施例,若用户认为目标对象或推荐对象值得推荐,则用户可通过用户终端向用户当前所在建筑物内的好友进行对象推荐。且若向建筑物外的好友推荐建筑物内的对象,建筑物外的好友一般不会对推荐的对象感兴趣。通过实施本发明实施例,可只向用户当前所在建筑物内的好友进行对象推荐,减少了不必要的推荐。By implementing the embodiment described in FIG. 2 , if the user thinks that the target object or recommended object is worth recommending, the user can recommend the object to friends in the building where the user is currently located through the user terminal. Moreover, if an object in the building is recommended to friends outside the building, the friends outside the building will generally not be interested in the recommended object. By implementing the embodiment of the present invention, object recommendation can be performed only to friends in the building where the user is currently located, reducing unnecessary recommendation.
请参见图3,图3为本发明实施例公开的另一种室内对象的定位方法的流程示意图。如图3所示,该室内对象的定位方法可以包括以下步骤。Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of another indoor object positioning method disclosed by an embodiment of the present invention. As shown in Fig. 3, the method for locating an indoor object may include the following steps.
S301、用户终端对条形码进行扫描,得到条形码信息。S301. The user terminal scans the barcode to obtain barcode information.
S302、用户终端将包括该条形码信息的位置获取请求发送至室内服务器。S302. The user terminal sends a location acquisition request including the barcode information to the indoor server.
本发明实施例中,位置获取请求用于指示室内服务器确定条形码信息对应的目标对象,并确定与目标对象的类型相同的推荐对象,并获取目标对象和推荐对象在用户当前所在建筑物中的目标位置。In the embodiment of the present invention, the location acquisition request is used to instruct the indoor server to determine the target object corresponding to the barcode information, determine the recommended object of the same type as the target object, and obtain the target object and the target of the recommended object in the building where the user is currently located. Location.
S303、用户终端接收室内服务器响应位置获取请求返回的目标位置。S303. The user terminal receives the target location returned by the indoor server in response to the location acquisition request.
S304、用户终端在建筑物对应的室内地图中确定与目标位置对应的映射位置,并使用标记图标对映射位置进行标记。S304. The user terminal determines a mapped position corresponding to the target position in the indoor map corresponding to the building, and marks the mapped position with a marker icon.
S305、用户终端接收用户针对选择对象输入的路径获取指令。S305. The user terminal receives a route acquisition instruction input by the user for the selected object.
本发明实施例中,选择对象为目标对象或推荐对象。In the embodiment of the present invention, the selected object is a target object or a recommended object.
S306、用户终端向室内服务器发送联系人获取请求,以响应路径获取指令。S306. The user terminal sends a contact acquisition request to the indoor server in response to the path acquisition instruction.
本发明实施例中,联系人获取请求用于指示室内服务器获取用户对应的联系人列表,并从联系人列表中获取第二部分联系人的标识,第二部分联系人为在用户的预设范围之内的联系人。其中,该预设范围可以是以用户的位置为圆心,以预设长度为半径的圆形区域。或,该预设范围可以是以用户的位置为中心的矩形区域。具体地,室内服务器可通过WIFI室内定位技术获取用户的联系人列表中的联系人的当前位置,进而根据联系人的当前位置,从用户的联系人列表中确定处于用户的预设范围之内的第二部分联系人,并将第二部分联系人的标识返回至用户终端。In the embodiment of the present invention, the contact acquisition request is used to instruct the indoor server to obtain the corresponding contact list of the user, and obtain the identifiers of the second part of contacts from the contact list. The second part of contacts is within the preset range of the user. Contacts in . Wherein, the preset range may be a circular area with the user's position as the center and a preset length as the radius. Or, the preset range may be a rectangular area centered on the user's position. Specifically, the indoor server can obtain the current location of the contacts in the user's contact list through the WIFI indoor positioning technology, and then determine from the user's contact list within the user's preset range according to the current location of the contacts. the second part of contacts, and return the identification of the second part of contacts to the user terminal.
S307、用户终端接收室内服务器响应联系人获取请求返回的第二部分联系人的标识。S307. The user terminal receives the identifiers of the second part of contacts returned by the indoor server in response to the contact acquisition request.
本发明实施例中,可选的,用户终端接收第二部分联系人的标识之后,可输出用于提示用户是否邀请第二部分联系人前往选择对象的位置的提示信息。当用户终端接收到用户针对该提示信息输入的确认邀请指令时,执行步骤S308。In this embodiment of the present invention, optionally, after receiving the identifiers of the second part of contacts, the user terminal may output prompt information for prompting the user whether to invite the second part of contacts to the location of the selected object. When the user terminal receives the confirmation invitation instruction input by the user for the prompt information, step S308 is executed.
S308、用户终端根据第二部分联系人的标识向第二部分联系人对应的终端发送用于邀请第二部分联系人一同前往选择对象的位置的邀请信息。S308. The user terminal sends invitation information for inviting the second part of contacts to go to the location of the selected object together to the terminal corresponding to the second part of contacts according to the identifier of the second part of contacts.
本发明实施例中,用户终端接收第二部分联系人的标识之后,将根据第二部分联系人的标识,向第二部分联系人对应的终端发送用于邀请第二部分联系人一同前往选择对象的位置的邀请信息。具体地,用户终端可向室内服务器发送包括第二部分联系人的标识的邀请请求,以使室内服务器根据第二部分联系人的标识,向第二部分联系人对应的终端发送用于邀请第二部分联系人一同前往选择对象的位置的邀请信息。In the embodiment of the present invention, after receiving the identification of the second part of contacts, the user terminal will, according to the identification of the second part of contacts, send a message to the terminal corresponding to the second part of contacts for inviting the second part of contacts to go together to select an object. Invitation message for the location. Specifically, the user terminal may send an invitation request including the identification of the second part of contacts to the indoor server, so that the indoor server may send an invitation request for inviting the second part of contacts to the terminal corresponding to the second part of contacts according to the identification of the second part of contacts. An invitation message for some contacts to go to the location of the selected object together.
S309、当接收到第二部分联系人对应的终端针对邀请信息发送的确认前往响应时,用户终端向室内服务器发送路径获取请求。S309. When receiving a confirmation response sent by the terminal corresponding to the second part of contacts for the invitation information, the user terminal sends a path acquisition request to the indoor server.
本发明实施例中,路径获取请求用于指示室内服务器生成途经用户的当前位置、第二部分联系人对应的终端的当前位置以及选择对象的位置的路径。In the embodiment of the present invention, the path acquisition request is used to instruct the indoor server to generate a path passing through the current location of the user, the current location of the terminal corresponding to the second part of contacts, and the location of the selected object.
本发明实施例中,室内服务器接收路径获取请求之后,将获取用户的当前位置(即用户当前在建筑物中的位置),并获取第二部分联系人对应的终端的当前位置(即第二部分联系人对应的终端当前在建筑物中的位置)。具体地,室内服务器可通过WIFI室内定位技术获取用户的当前位置和第二部分联系人对应的终端的当前位置。获取用户的当前位置和第二部分联系人对应的终端的当前位置之后,室内服务器将生成一条途经用户的当前位置、第二部分联系人对应的终端的当前位置以及选择对象的位置的路径。In the embodiment of the present invention, after the indoor server receives the path acquisition request, it will acquire the user's current location (that is, the user's current location in the building), and obtain the current location of the terminal corresponding to the second part of the contacts (that is, the second part The current location of the terminal corresponding to the contact in the building). Specifically, the indoor server may acquire the current location of the user and the current location of terminals corresponding to the second part of contacts through the WIFI indoor positioning technology. After obtaining the user's current location and the current location of the terminal corresponding to the second part of contacts, the indoor server will generate a route passing through the user's current location, the current location of the terminal corresponding to the second part of contacts, and the location of the selected object.
S310、用户终端接收室内服务器响应路径获取请求返回的路径。S310. The user terminal receives the path returned by the indoor server in response to the path acquisition request.
S311、用户终端在室内地图中映射出路径。S311. The user terminal maps a route on the indoor map.
本发明实施例中,用户终端接收室内服务器发送的路径之后,将在室内地图中映射出接收到的路径。In the embodiment of the present invention, after receiving the route sent by the indoor server, the user terminal will map the received route on the indoor map.
通过实施图3所描述的实施例,当用户想要得到从当前位置到对象所在位置的路径时(这时用户想要去往对象所在位置),用户终端可邀请用户周围的用户的好友一同前往对象所在位置,这样有利于增加对象所在位置的人流量(例如,可使更多顾客前往商店)。By implementing the embodiment described in FIG. 3, when the user wants to get the path from the current location to the location of the object (the user wants to go to the location of the object at this time), the user terminal can invite the friends of the user around the user to go together The location of the object, which is beneficial for increasing foot traffic at the location of the object (eg, more customers may go to the store).
请参阅图4,图4是本发明实施例公开的一种用户终端的结构示意图。其中,图4所示的用户终端可以包括扫描模块401、发送模块402、接收模块403和标记模块404。其中:Please refer to FIG. 4 . FIG. 4 is a schematic structural diagram of a user terminal disclosed in an embodiment of the present invention. Wherein, the user terminal shown in FIG. 4 may include a scanning module 401 , a sending module 402 , a receiving module 403 and a marking module 404 . in:
扫描模块401,用于对条形码进行扫描,得到条形码信息。The scanning module 401 is configured to scan the barcode to obtain barcode information.
发送模块402,用于将包括该条形码信息的位置获取请求发送至室内服务器,位置获取请求用于指示室内服务器确定条形码信息对应的目标对象,并确定与目标对象的类型相同的推荐对象,并获取目标对象和推荐对象在用户当前所在建筑物中的目标位置。The sending module 402 is configured to send the location acquisition request including the barcode information to the indoor server, the location acquisition request is used to instruct the indoor server to determine the target object corresponding to the barcode information, and determine the recommended object of the same type as the target object, and obtain The target location of the target object and the recommended object in the building where the user is currently located.
作为一种可选的实施方式,当目标对象为目标商店时,推荐对象为推荐商店,室内服务器确定与目标对象的类型相同的推荐对象的方式具体为:As an optional implementation manner, when the target object is a target store, the recommended object is a recommended store, and the manner in which the indoor server determines the recommended object of the same type as the target object is as follows:
由室内服务器确定与目标商店的商店类型相同的同类商店,并获取同类商店的折扣商品的数量,并根据获取的折扣商品的数量从同类商店中确定推荐商店,其中,推荐商店为折扣商品的数量大于预设数量的商店,或推荐商店为折扣商品的数量最大的商店。或,The indoor server determines similar stores with the same store type as the target store, obtains the quantity of discounted products in the same kind of stores, and determines recommended stores from similar stores according to the obtained quantity of discounted products, wherein the recommended store is the quantity of discounted products Stores greater than the preset quantity, or the store recommended as the store with the largest quantity of discounted items. or,
由室内服务器确定与目标商店的商店类型相同的同类商店,并从监控系统中获取同类商店的当前人流量,并根据获取的当前人流量从同类商店中确定推荐商店,其中,推荐商店为当前人流量最大的商店,或推荐商店为当前人流量大于预设人流量的商店。The indoor server determines similar stores with the same store type as the target store, and obtains the current flow of people of the same kind of stores from the monitoring system, and determines the recommended store from similar stores according to the obtained current flow of people, wherein the recommended store is the current flow of people. The store with the largest traffic flow, or the recommended store is a store whose current flow of people is greater than the preset flow of people.
作为一种可选的实施方式,当目标对象为目标商品时,推荐对象为推荐商品,室内服务器确定与目标对象的类型相同的推荐对象的方式具体为:As an optional implementation manner, when the target object is the target product, the recommended object is the recommended product, and the way for the indoor server to determine the recommended object of the same type as the target object is as follows:
由室内服务器确定与目标商品的商品类型相同的同类商品,并从收银系统中获取同类商品的销售量,并根据获取的销售量从同类商品中确定推荐商品,其中,推荐商品为销售量大于预设销售量的商品,或推荐商品为销售量最大的商品。或,The indoor server determines similar products with the same product type as the target product, and obtains the sales volume of similar products from the cash register system, and determines recommended products from similar products according to the obtained sales volume, wherein the recommended product is that the sales volume is greater than the expected one. Let the product with the highest sales volume or the recommended product be the product with the largest sales volume. or,
由室内服务器确定与目标商品的商品类型相同的同类商品,并从收银系统中获取同类商品的价格,并根据获取的价格从同类商品中确定推荐商品,其中,推荐商品为价格小于预设价格的商品,或推荐商品为价格最低的商品。The indoor server determines similar products of the same product type as the target product, obtains the prices of similar products from the cash register system, and determines recommended products from similar products based on the obtained prices, wherein the recommended products are those whose price is less than the preset price product, or recommended product as the product with the lowest price.
本发明实施例中,发送模块402将包括条形码信息的位置获取请求发送至室内服务器之后,触发接收模块403接收室内服务器响应位置获取请求返回的目标位置。In the embodiment of the present invention, after the sending module 402 sends the location acquisition request including the barcode information to the indoor server, the receiving module 403 is triggered to receive the target location returned by the indoor server in response to the location acquisition request.
接收模块403,用于接收室内服务器响应位置获取请求返回的目标位置。The receiving module 403 is configured to receive the target location returned by the indoor server in response to the location acquisition request.
标记模块404,用于在建筑物对应的室内地图中确定与目标位置对应的映射位置,并使用标记图标对映射位置进行标记。The marking module 404 is configured to determine a mapped position corresponding to the target position in the indoor map corresponding to the building, and use a marking icon to mark the mapped position.
作为一种可选的实施方式,发送模块402,还用于在标记模块404在建筑物对应的室内地图中确定与目标位置对应的映射位置,并使用标记图标对映射位置进行标记之后,向室内服务器发送针对目标对象或推荐对象的推荐请求,其中,推荐请求用于指示室内服务器获取用户对应的联系人列表,并从联系人列表中获取第一部分联系人的标识,并根据第一部分联系人的标识向第一部分联系人对应的终端发送针对目标对象或推荐对象的推荐消息,其中,第一部分联系人为当前处于建筑物中的联系人。As an optional implementation manner, the sending module 402 is further configured to send the indoor map to the indoor map after the marking module 404 determines the mapping position corresponding to the target position in the indoor map corresponding to the building, and uses a marking icon to mark the mapping position. The server sends a recommendation request for the target object or recommended object, wherein the recommendation request is used to instruct the indoor server to obtain the contact list corresponding to the user, obtain the identifiers of the first part of the contacts from the contact list, and Indicates sending a recommendation message for a target object or a recommended object to a terminal corresponding to the first part of contacts, where the first part of contacts are contacts currently in the building.
请一并参阅图5,图5是本发明实施例公开的另一种用户终端的结构示意图。其中,图5所示的用户终端是由图4所示的用户终端进行优化得到的。与图4所示的用户终端相比较,图5所示的用户终端除包括图4所示的用户终端的所有模块之外,还可以包括映射模块405。其中:Please refer to FIG. 5 together. FIG. 5 is a schematic structural diagram of another user terminal disclosed in an embodiment of the present invention. Wherein, the user terminal shown in FIG. 5 is obtained by optimizing the user terminal shown in FIG. 4 . Compared with the user terminal shown in FIG. 4 , the user terminal shown in FIG. 5 may further include a mapping module 405 in addition to all modules of the user terminal shown in FIG. 4 . in:
接收模块403,还用于在标记模块404在建筑物对应的室内地图中确定与目标位置对应的映射位置,并使用标记图标对映射位置进行标记之后,接收用户针对选择对象输入的路径获取指令,选择对象为目标对象或推荐对象。The receiving module 403 is further configured to receive the path acquisition instruction input by the user for the selected object after the marking module 404 determines the mapping position corresponding to the target position in the indoor map corresponding to the building, and uses the marking icon to mark the mapping position, Select objects as target objects or recommended objects.
发送模块402,还用于向室内服务器发送联系人获取请求,以响应路径获取指令,其中,联系人获取请求用于指示室内服务器获取用户对应的联系人列表,并从联系人列表中获取第二部分联系人的标识,第二部分联系人为在用户的预设范围之内的联系人。The sending module 402 is further configured to send a contact acquisition request to the indoor server in response to the path acquisition instruction, wherein the contact acquisition request is used to instruct the indoor server to acquire the corresponding contact list of the user, and obtain the second contact list from the contact list. The identifiers of some contacts, and the second part of contacts are contacts within the preset range of the user.
本发明实施例中,发送模块402向室内服务器发送联系人获取请求之后,触发接收模块403接收室内服务器响应联系人获取请求返回的第二部分联系人的标识。In the embodiment of the present invention, after the sending module 402 sends the contact acquisition request to the indoor server, the trigger receiving module 403 receives the identifiers of the second part of contacts returned by the indoor server in response to the contact acquisition request.
接收模块403,还用于接收室内服务器响应联系人获取请求返回的第二部分联系人的标识。The receiving module 403 is further configured to receive identifiers of the second part of contacts returned by the indoor server in response to the contact acquisition request.
发送模块402,还用于根据第二部分联系人的标识向第二部分联系人对应的终端发送用于邀请第二部分联系人一同前往选择对象的位置的邀请信息。The sending module 402 is further configured to send invitation information for inviting the second part of contacts to go to the location of the selected object together to the terminal corresponding to the second part of contacts according to the identifier of the second part of contacts.
发送模块402,还用于当接收到第二部分联系人对应的终端针对邀请信息发送的确认前往响应时,向室内服务器发送路径获取请求,其中,路径获取请求用于指示室内服务器生成途经用户的当前位置、第二部分联系人对应的终端的当前位置以及选择对象的位置的路径。The sending module 402 is further configured to send a path acquisition request to the indoor server when receiving a confirmation response sent by the terminal corresponding to the second part of contacts for the invitation information, wherein the path acquisition request is used to instruct the indoor server to generate a route for the passing user. The current location, the current location of the terminal corresponding to the second part of contacts, and the path of the location of the selected object.
本发明实施例中,发送模块402向室内服务器发送路径获取请求之后,触发接收模块403接收室内服务器响应路径获取请求返回的路径。In the embodiment of the present invention, after the sending module 402 sends the route obtaining request to the indoor server, the receiving module 403 is triggered to receive the route returned by the indoor server in response to the route obtaining request.
接收模块403,还用于接收室内服务器响应路径获取请求返回的路径。The receiving module 403 is further configured to receive the path returned by the indoor server in response to the path acquisition request.
映射模块405,用于在室内地图中映射出接收模块403接收的路径。The mapping module 405 is configured to map the path received by the receiving module 403 on the indoor map.
在图4和图5所描述的用户终端中,发送模块将包括条形码信息的位置获取请求发送至室内服务器之后,接收模块将接收室内服务器响应该位置获取请求返回的目标位置;标记模块在建筑物对应的室内地图中确定与目标位置对应的映射位置,并使用标记图标对映射位置进行标记。可见,通过实施本发明实施例,用户终端能够快速地、准确地对室内对象进行定位。In the user terminal described in Figure 4 and Figure 5, after the sending module sends the location acquisition request including the barcode information to the indoor server, the receiving module will receive the target location returned by the indoor server in response to the location acquisition request; Determine the mapped location corresponding to the target location in the corresponding indoor map, and mark the mapped location with a marker icon. It can be seen that, by implementing the embodiments of the present invention, the user terminal can quickly and accurately locate indoor objects.
需要说明的是,在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, in the foregoing embodiments, descriptions of each embodiment have their own emphases, and for parts that are not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present invention can be adjusted, combined and deleted according to actual needs.
本发明实施例的用户终端中的模块可以根据实际需要进行合并、划分和删减。The modules in the user terminal in the embodiment of the present invention can be combined, divided and deleted according to actual needs.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(RandomAccess Memory,RAM)、磁盘或光盘等。Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can be Including: a flash disk, a read-only memory (Read-Only Memory, ROM), a random access device (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
以上对本发明实施例公开的一种室内对象的定位方法及用户终端进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method for locating indoor objects and the user terminal disclosed in the embodiments of the present invention are described above in detail. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only for helping understanding The method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be construed as a limitation of the invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510791504.4A CN105430742B (en) | 2015-11-17 | 2015-11-17 | The localization method and user terminal of a kind of room objects |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510791504.4A CN105430742B (en) | 2015-11-17 | 2015-11-17 | The localization method and user terminal of a kind of room objects |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105430742A CN105430742A (en) | 2016-03-23 |
CN105430742B true CN105430742B (en) | 2018-03-27 |
Family
ID=55508605
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510791504.4A Expired - Fee Related CN105430742B (en) | 2015-11-17 | 2015-11-17 | The localization method and user terminal of a kind of room objects |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105430742B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1682225A (en) * | 2002-09-10 | 2005-10-12 | 索尼株式会社 | Service providing system, information processing device, method, and program |
CN103150670A (en) * | 2013-02-05 | 2013-06-12 | 日上免税行(上海)有限公司 | Positioning method of quality goods without identification codes |
CN103679494A (en) * | 2012-09-17 | 2014-03-26 | 阿里巴巴集团控股有限公司 | Commodity information recommendation method and device |
CN103940438A (en) * | 2013-01-23 | 2014-07-23 | 清华大学 | Shopping-center positioning and crowdsourcing shopping navigation method based on bar codes |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6895255B1 (en) * | 2000-10-20 | 2005-05-17 | Symbol Technologies, Inc. | Dual mode wireless data communications |
-
2015
- 2015-11-17 CN CN201510791504.4A patent/CN105430742B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1682225A (en) * | 2002-09-10 | 2005-10-12 | 索尼株式会社 | Service providing system, information processing device, method, and program |
CN103679494A (en) * | 2012-09-17 | 2014-03-26 | 阿里巴巴集团控股有限公司 | Commodity information recommendation method and device |
CN103940438A (en) * | 2013-01-23 | 2014-07-23 | 清华大学 | Shopping-center positioning and crowdsourcing shopping navigation method based on bar codes |
CN103150670A (en) * | 2013-02-05 | 2013-06-12 | 日上免税行(上海)有限公司 | Positioning method of quality goods without identification codes |
Also Published As
Publication number | Publication date |
---|---|
CN105430742A (en) | 2016-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11317239B2 (en) | Passive dynamic geofencing for mobile devices | |
US11743680B2 (en) | Geofence based on members of a population | |
US10334396B2 (en) | Configuring mobile device applications based on location | |
CN105117475B (en) | A store recommendation method and user terminal | |
US10034261B2 (en) | Method and apparatus for providing service in wireless network | |
CN105444757A (en) | Navigation path generation method based on airport indoor environment and user terminal | |
CN105241443A (en) | Route acquiring method and user terminal | |
CN105117949B (en) | A kind of indoor article localization method and user terminal | |
CN105472554B (en) | A kind of room objects recommend method and user terminal | |
CN105222771B (en) | A kind of indoor article localization method and user terminal | |
CN105282702B (en) | A kind of indoor localization method and user terminal | |
CN106910077B (en) | Target object information query method and device | |
CN105486306B (en) | A kind of indoor orientation method and user terminal | |
CN105430742B (en) | The localization method and user terminal of a kind of room objects | |
CN105376313B (en) | Localization method and user terminal under a kind of indoor environment | |
JP2016014996A (en) | Mobile terminal, positional information related content providing server, content panel display method, and mobile terminal program | |
KR20060082219A (en) | System and method for providing advertisement and purchasing service based on location based service | |
CN105246151A (en) | A positioning method and user terminal in an indoor environment | |
KR20160112314A (en) | Method,device and server for ditermining and displaying content corresponding to shop id | |
JP2017021529A (en) | Information processor, information processing system, information processing method and information processing program |
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 | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180327 |
|
CF01 | Termination of patent right due to non-payment of annual fee |