TW202119854A - Location positioning method and device, medium, and apparatus - Google Patents

Location positioning method and device, medium, and apparatus Download PDF

Info

Publication number
TW202119854A
TW202119854A TW109115041A TW109115041A TW202119854A TW 202119854 A TW202119854 A TW 202119854A TW 109115041 A TW109115041 A TW 109115041A TW 109115041 A TW109115041 A TW 109115041A TW 202119854 A TW202119854 A TW 202119854A
Authority
TW
Taiwan
Prior art keywords
user
group
location
shop
identifier
Prior art date
Application number
TW109115041A
Other languages
Chinese (zh)
Other versions
TWI749544B (en
Inventor
李佳佳
Original Assignee
大陸商支付寶(杭州)信息技術有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 大陸商支付寶(杭州)信息技術有限公司 filed Critical 大陸商支付寶(杭州)信息技術有限公司
Publication of TW202119854A publication Critical patent/TW202119854A/en
Application granted granted Critical
Publication of TWI749544B publication Critical patent/TWI749544B/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0282Rating or review of business operators or products
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Abstract

Provided are a location positioning method and device, a medium, and an apparatus. The method comprises: receiving a location acquisition request sent by a first client device; according to a group identifier of a user group that is involved in the location acquisition request, determining the location of a store that has created the user group; according to a user identifier of a first user that is involved in the location acquisition request, determining consumption data generated by the first user in the store within a set time period; acquiring the current location of the first user; according to a consumption time involved in the consumption data and the current location of the first user, calculating the probability of the first user being currently located at the location of the store; if the probability is greater than a set value, determining that the first user is in the store; and if the probability is not greater than the set value, positioning the location of the first user according to the current location of the first user. The location of a user is not determined only by relying on LBS positioning, but is positioned by means of consumption data, store locations and other multi-dimensional data, and therefore, the positioning accuracy for the location of the user can be effectively improved.

Description

位置定位方法、設備、媒體以及裝置Position positioning method, equipment, media and device

本說明書係有關電腦技術領域,尤其有關一種位置定位方法、設備、媒體及裝置。This manual is related to the field of computer technology, especially a position positioning method, equipment, media and device.

LBS(Location Based Service;基於位置的服務)透過定位方式獲取用戶的位置,並基於該位置為用戶提供各種不同的加值服務。例如:向用戶推送該位置附近的商鋪資訊、交通訊資訊等。 隨著行動網際網路技術的發展,即時通訊軟體中增加了基於LBS的社交功能,即針對用戶目前所在位置,利用LBS功能確定出現在該位置附近的其他用戶。這樣增加了即時通訊軟體的社交功能的靈活性。 基於此,本說明書實施例提供了一種位置定位方法,用於提升位置定位的準確度。LBS (Location Based Service) obtains the user's location through positioning, and provides users with various value-added services based on the location. For example: push the user information about the shops near the location, communication information, etc. With the development of mobile Internet technology, LBS-based social functions have been added to instant messaging software, that is, based on the user's current location, the LBS function is used to determine other users who appear near the location. This increases the flexibility of the social functions of the instant messaging software. Based on this, the embodiment of this specification provides a position positioning method for improving the accuracy of position positioning.

有鑑於此,本說明書實施例提供了一種位置定位方法、設備、媒體以及裝置,用於提升位置定位的準確度。 本說明書實施例採用下述技術方案: 本說明書實施例提供一種位置定位方法,包括: 接收第一客戶端設備發送的位置獲取請求,所述位置獲取請求中包含用戶群的群標識和第一用戶的用戶標識,所述用戶群中包含所述第一用戶; 根據所述用戶群的群標識,確定創建所述用戶群的商鋪的位置; 根據所述第一用戶的用戶標識,確定在設定時間段內所述第一用戶在所述商鋪中產生的消費資料; 獲取所述第一用戶的目前位置; 根據所述消費資料中包含的消費時間和所述第一用戶的目前位置,計算所述第一用戶目前位於所述商鋪的位置的機率; 若所述機率大於設定數值,則確定所述第一用戶在所述商鋪內; 若所述機率不大於設定數值,則根據所述第一用戶的目前位置,定位所述第一用戶的位置。 本說明書實施例還提供了一種位置定位方法,包括: 向伺服器設備發送位置獲取請求,所述位置獲取請求中包含用戶群的群標識和第一用戶的用戶標識,所述用戶群中包含所述第一用戶; 接收所述伺服器設備發送的回應訊息,所述回應訊息中包含所述第一用戶的位置,所述第一用戶的位置係由所述伺服器設備按照上述所述的位置定位方法而得到的; 載入顯示所述第一用戶的位置。 本說明書實施例還提供了一種位置定位設備,包括: 接收單元,接收客戶端設備發送的位置獲取請求,所述位置獲取請求中包含用戶群的群標識和第一用戶的用戶標識,所述用戶群中包含所述第一用戶; 確定單元,根據所述用戶群的群標識,確定創建所述用戶群的商鋪的位置;根據所述第一用戶的用戶標識,確定在設定時間段內所述第一用戶在所述商鋪中產生的消費資料; 獲取單元,獲取所述第一用戶的目前位置; 計算單元,根據所述消費資料中包含的消費時間和所述第一用戶的目前位置,計算所述第一用戶目前位於所述商鋪的位置的機率; 定位單元,若所述機率大於設定數值,則確定所述第一用戶在所述商鋪內; 若所述機率不大於設定數值,則根據所述第一用戶的目前位置,定位所述第一用戶的位置。 本說明書實施例還提供了一種客戶端設備,包括: 發送單元,向伺服器設備發送位置獲取請求,所述位置獲取請求中包含用戶群的群標識和第一用戶的用戶標識,所述用戶群中包含所述第一用戶; 接收單元,接收所述伺服器設備發送的回應訊息,所述回應訊息中包含所述第一用戶的位置,所述第一用戶的位置係由所述伺服器設備按照上述所述的位置定位方法而得到的; 處理單元,載入顯示所述第一用戶的位置。 本說明書實施例還提供一種電腦可讀儲存媒體,其上儲存有電腦程式指令,當所述電腦程式指令被處理器執行時實現上述的位置定位方法。 本說明書實施例還提供一種資料處理裝置,包括:至少一個處理器、至少一個記憶體以及儲存在所述記憶體中的電腦程式指令,當所述電腦程式指令被所述處理器執行時實現上述的位置定位方法。 本說明書實施例採用的上述至少一個技術方案能夠達到以下有益效果: 本說明書實施例提供的技術方案,接收第一客戶端設備發送的位置獲取請求,所述位置獲取請求中包含用戶群的群標識和第一用戶的用戶標識,所述用戶群中包含所述第一用戶;根據所述用戶群的群標識,確定創建所述用戶群的商鋪的位置;根據所述第一用戶的用戶標識,確定在設定時間段內所述第一用戶在所述商鋪中產生的消費資料;獲取第一用戶的目前位置;根據消費資料中包含的消費時間和第一用戶的目前位置,計算第一用戶目前位於商鋪的位置的機率;若機率大於設定數值,則確定第一用戶在商鋪內;若機率不大於設定數值,則根據第一用戶的目前位置,定位第一用戶的位置。不再單一依靠LBS定位的位置確定用戶的具體位置,而是透過消費資料、商鋪具體位置等多維度資料定位用戶的位置,這樣能夠有效提升用戶位置的定位準確度。In view of this, the embodiments of this specification provide a position positioning method, equipment, media, and device for improving the accuracy of position positioning. The embodiments of this specification adopt the following technical solutions: The embodiment of this specification provides a position positioning method, including: Receiving a location acquisition request sent by a first client device, where the location acquisition request includes a group identifier of a user group and a user identifier of a first user, and the user group includes the first user; Determining the location of the shop where the user group is created according to the group identifier of the user group; Determine, according to the user identifier of the first user, the consumption data generated by the first user in the shop within a set time period; Acquiring the current location of the first user; Calculating the probability that the first user is currently located at the location of the shop according to the consumption time included in the consumption data and the current location of the first user; If the probability is greater than the set value, it is determined that the first user is in the shop; If the probability is not greater than the set value, locate the location of the first user according to the current location of the first user. The embodiment of this specification also provides a position positioning method, including: Sending a location acquisition request to the server device, where the location acquisition request includes the group identifier of the user group and the user identifier of the first user, and the user group includes the first user; Receive a response message sent by the server device, the response message includes the location of the first user, the location of the first user is obtained by the server device according to the above-mentioned location positioning method ; Load and display the location of the first user. The embodiment of this specification also provides a position positioning device, including: A receiving unit that receives a location acquisition request sent by a client device, where the location acquisition request includes a group identifier of a user group and a user identifier of a first user, and the user group includes the first user; The determining unit determines the location of the store where the user group is created according to the group identifier of the user group; according to the user identifier of the first user, determines that the first user is in the store within a set time period Consumption data generated in An acquiring unit to acquire the current location of the first user; A calculating unit, based on the consumption time contained in the consumption data and the current location of the first user, calculating the probability that the first user is currently located at the location of the shop; The positioning unit, if the probability is greater than a set value, determine that the first user is in the shop; If the probability is not greater than the set value, locate the location of the first user according to the current location of the first user. The embodiment of this specification also provides a client device, including: A sending unit, sending a location acquisition request to the server device, where the location acquisition request includes a group identifier of a user group and a user identifier of a first user, and the user group includes the first user; The receiving unit receives a response message sent by the server device, the response message includes the location of the first user, and the location of the first user is determined by the server device in accordance with the location positioning method described above And got The processing unit loads and displays the location of the first user. The embodiment of the present specification also provides a computer-readable storage medium on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the above-mentioned position positioning method is realized. The embodiment of the present specification also provides a data processing device, including: at least one processor, at least one memory, and computer program instructions stored in the memory. When the computer program instructions are executed by the processor, the foregoing The location positioning method. The above-mentioned at least one technical solution adopted in the embodiment of this specification can achieve the following beneficial effects: The technical solution provided by the embodiment of this specification receives a location acquisition request sent by a first client device. The location acquisition request includes the group identification of the user group and the user identification of the first user, and the user group includes the first user group. A user; according to the group identifier of the user group, determine the location of the store where the user group is created; according to the user identifier of the first user, determine that the first user is in the store within a set time period Obtain the current location of the first user; calculate the probability of the first user’s current location in the shop based on the consumption time contained in the consumption data and the current location of the first user; if the probability is greater than the set value, then It is determined that the first user is in the shop; if the probability is not greater than the set value, the location of the first user is located according to the current location of the first user. Instead of relying solely on the location of the LBS to determine the user's specific location, but to locate the user's location through multi-dimensional data such as consumption data and the specific location of the store, which can effectively improve the positioning accuracy of the user's location.

在實際應用中,隨著行動網際網路技術的發展,提供基於位置的各種服務成為一種趨勢。例如:透過定位行動終端設備的位置資訊,確定該行動終端設備附近的圖書館、電影院、加油站等資訊,以便於給使用該行動終端設備提供與這些資訊相關的服務。再例如:透過定位行動終端設備的位置資訊,確定該行動終端設備附近出現的其他行動終端設備,以便於使用不同行動終端設備的用戶之間建立新的社交關係。等等。一旦定位的位置資訊有誤或者存在較大偏差,將降低用戶對所提供服務的用戶體驗。 為了解決本說明書中記載的問題,實現本說明書的目的,本說明書實施例提供了一種位置定位方法、設備、媒體及裝置,接收第一客戶端設備發送的位置獲取請求,所述位置獲取請求中包含用戶群的群標識和第一用戶的用戶標識,所述用戶群中包含所述第一用戶;根據所述用戶群的群標識,確定創建所述用戶群的商鋪的位置;根據所述第一用戶的用戶標識,確定在設定時間段內所述第一用戶在所述商鋪中產生的消費資料;獲取第一用戶的目前位置;根據消費資料中包含的消費時間和第一用戶的目前位置,計算第一用戶目前位於商鋪的位置的機率;若機率大於設定數值,則確定第一用戶在商鋪內;若機率不大於設定數值,則根據第一用戶的目前位置,定位第一用戶的位置。不再單一依靠LBS定位的位置確定用戶的具體位置,而是透過消費資料、商鋪具體位置等多維度資料定位用戶的位置,這樣能夠有效提升用戶位置的定位準確度。 本說明書實施例中記載的“第一用戶”中的“第一”不是特指某一個用戶,而是泛指任何一個用戶,“第一”沒有限定第一個的意思。 本說明書實施例中記載的“第一客戶端設備”、“第二客戶端設備”中的“第一”和“第二”不是指兩個不同的客戶端設備,而是對於一款應用軟體,被安裝在不同的行動設備上,由於用戶身份不同,針對不同用戶身份,應用軟體設定不同的使用權限,用戶在安裝應用軟體之後透過選擇用戶身份而使用該應用軟體的相應功能。這裡的“第一”和“第二”用於區分不同的用戶身份,進而客戶端設備所具備的功能也有所區別。 下面結合本說明書具體實施例及相應的圖式對本說明書技術方案進行清楚、完整地描述。顯然,所描述的實施例僅是本說明書的一部分實施例,而不是全部的實施例。基於本說明書中的實施例,本領域普通技術人員在沒有做出創造性勞動前提下所獲得的所有其他實施例,都屬於本說明書保護的範圍。 以下結合圖式,詳細說明本說明書各實施例提供的技術方案。 圖1為本說明書實施例提供的一種位置定位方法的流程示意圖。所述方法可以如下所示。本說明書實施例的執行主體為伺服器設備。 步驟101:接收第一客戶端設備發送的位置獲取請求,所述位置獲取請求中包含用戶群的群標識和第一用戶的用戶標識,所述用戶群中包含所述第一用戶。 在本說明書提供的實施例中,提供一種能夠與本說明書實施例中記載的伺服器設備進行資料交互的客戶端設備,營運商鋪的商家用戶可以透過客戶端設備向伺服器設備發送用戶群創建請求,在該用戶群創建請求中包含創建該用戶群的商鋪的商鋪標識。 需要說明的是,在本說明書實施例中,營運商鋪的商家用戶所使用的客戶端設備可以稱之為第二客戶端設備,消費者用戶所使用的客戶端設備可以稱之為第一客戶端設備,這裡第一客戶端設備與第二客戶端設備的區別在於:不同的用戶身份,所能夠使用的功能有所區別。 這樣伺服器設備在接收到該用戶群創建請求的情況下,基於所述商鋪標識創建一個用戶群,並為該用戶群產生一個用戶群的群標識。 伺服器設備將產生的用戶群的群標識發送給第二客戶端設備。 伺服器設備在本地儲存所述用戶群的群標識與所述商鋪的商鋪標識之間的映射關係。 需要說明的是,伺服器設備可以基於商鋪標識確定用戶群的群標識,也可以為該用戶群隨機分配一個群標識,這裡對於用戶群的群標識的產生方式不做具體限定。 第二客戶端設備接收伺服器設備發送的用戶群的群標識。商家用戶可以基於該群標識產生一個二維碼,將該二維碼提供給進入商家用戶所在店鋪的消費者用戶。 消費者用戶在進入商家用戶所在店鋪後,可以利用所持行動設備中安裝的本說明書實施例中記載的第一客戶端設備掃描商家用戶提供的二維碼,向伺服器設備發送入群請求,所述入群請求中包含掃描的用戶群的群標識和消費者用戶的用戶標識(這裡可以稱之為第二用戶的用戶標識,也可以稱之為第一用戶的用戶標識)。不同消費者用戶透過所使用的客戶端設備發送入群請求,入群請求中攜帶的消費者用戶的用戶標識不同。 伺服器設備在接收到第一客戶端設備發送的入群請求,回應該入群請求,建立消費者用戶的用戶標識與用戶群的群標識之間的映射關係,使該消費者用戶成為所述用戶群中的群成員。 第一客戶端設備接收伺服器設備發送的回應訊息,並在該用戶群的顯示頁面中顯示消費者用戶的用戶標識。 消費者用戶在該商鋪中可以產生消費行為,透過所使用的第一客戶端設備可以將該消費行為對應的消費資料發送給伺服器設備。 在本說明書提供的另一個實施例中,伺服器設備檢測消費者用戶所使用的第一客戶端設備是否在創建該用戶群的商鋪中產生消費資料。 伺服器設備在檢測到消費者用戶產生消費資料的情況下,向所述第一客戶端設備發送所述用戶群的群社交權限開通訊息,所述群社交權限包含與所述用戶群中的其他用戶建立即時通訊通道、存取所述用戶群中其他用戶的消費資料中的至少一種或者多種。 第一客戶端設備接收伺服器設備發送的所述用戶群的群社交權限開通訊息,並在所述用戶群的顯示頁面中顯示群社交權限。 基於顯示的群社交權限,消費者用戶透過第一客戶端設備向伺服器設備發送位置獲取請求,該位置獲取請求中包含用戶群的群標識和第一用戶的用戶標識,其目的在於確定第一用戶的位置。 在本說明書提供的另一個實施例中,從保護用戶群中其他用戶的資料安全角度考慮,伺服器設備在檢測到所述第一用戶產生消費資料的情況下,向所述客戶端設備發送所述用戶群的群成員資料,所述群成員資料中包含群成員標識、群成員狀態中的至少一種; 在檢測到所述第一用戶未產生消費資料的情況下,向所述客戶端設備發送所述用戶群的用戶資料,所述用戶資料中包含群成員數量。 需要說明的是,這裡的“群成員資料”與“用戶資料”的區別在於:“群成員資料”所包含的資訊量比“用戶資料”所包含的資訊量要大,或者說“群成員資料”中包含的資訊相對比較具體,而“用戶資料”中包含的資訊相對比較籠統。 步驟103:根據所述用戶群的群標識,確定創建所述用戶群的商鋪的位置。 在本說明書實施例中,伺服器設備根據預先儲存的用戶群的群標識與創建所述用戶群的商鋪的商鋪標識之間的映射關係,確定所述用戶群的群標識對應的商鋪標識;進而根據所述商鋪標識,查找所述商鋪標識對應的商鋪的位置。 在本說明書實施例中,查找商鋪的位置可以從其他伺服器設備中獲取,也可以基於商鋪的註冊資訊確定;這裡對於如何查找到商鋪的位置的方法不做具體限定。 步驟105:根據所述第一用戶的用戶標識,確定在設定時間段內所述第一用戶在所述商鋪中產生的消費資料。 在本說明書實施例中,伺服器設備根據所述第一用戶的用戶標識,查找所述第一用戶在設定時間段內產生的消費資料; 從查找到的所述消費資料中,篩選出在所述用戶群的群標識對應的商鋪中產生的消費資料。 需要說明的是,本說明書實施例中記載的設定時間段可以是距離查找行為對應的時間點滿足某個條件(例如:兩天內,一天內,10個小時等等)的一段時間內,也可以是查找行為對應的時間點的一天時間內,設定時間段可以根據實際需要自行設定,這裡對於設定時間段不做具體限定。 步驟107:根據所述消費資料,定位相對於所述商鋪的位置的所述第一用戶的位置。 在本說明書實施例中,伺服器獲取所述第一用戶的目前位置;根據所述消費資料中包含的消費時間和所述第一用戶的目前位置,計算所述第一用戶目前位於所述商鋪的位置的機率; 若所述機率大於設定數值,則確定所述第一用戶在所述商鋪內; 若所述機率不大於設定數值,則根據所述第一用戶的目前位置,定位所述第一用戶的位置。 需要說明的是,本說明書實施例中獲取第一用戶的目前位置可以採用LBS中的位置定位方式來得到,也可以採用其他方式,這裡不做具體限定。 在本說明書提供的實施例中,在確定所述第一用戶的消費資料滿足設定條件的情況下,還可以根據與所述第一用戶之間產生的即時通訊資料,定位所述第一用戶目前所在位置。 例如:透過與第一用戶所使用客戶端之間建立的即時通訊通道,詢問第一用戶目前所在位置,這樣基於即時溝通的內容也就能夠精確定位所述第一用戶目前所在位置。 較佳地,在本說明書提供的實施例中,還可以將消費資料中包含消費時間與設定條件進行比較;根據比較結果,確定所述第一用戶所在位置。 例如:消費資料產生的時間是上午10點,而目前時間是10點05分,設定條件是消費時間距離目前時間10分鐘,透過比較消費資料產生的時間距離目前時間5分鐘,說明第一用戶有可能還在商鋪中,或者距離商鋪步行5分鐘的距離;等等。這樣也能夠很精準定位所述第一用戶所在位置。 下面以用戶A進入商家用戶的商鋪為例對本說明書提供的技術方案進行場景說明。 營運位於第一位置的商鋪的營運商可以透過下載使用本說明書實施例中所記載方法的應用程式(也可以稱之為應用客戶端),透過該應用程式產生一個用戶群的二維碼,這樣進入該商鋪的用戶可以透過掃描該二維碼申請加入該用戶群。在進入該用戶群之後,不僅可以與用戶群中的其他用戶建立新的社交關係,還可以獲取用戶群中其他用戶的消費資料,以便於基於獲取的該消費資料確定所期望用戶的位置。 具體地,某一用戶(例如:用戶A)在進入位於第一位置的商鋪的情況下或者在該商鋪購買商品準備支付費用的情況下,營運該商鋪的營運商可以向該用戶A推薦用戶群的二維碼。此時,用戶A可以透過行動終端設備上的“掃一掃”功能掃描該二維碼,透過解析該二維碼並向後台伺服器設備發送申請加入訊息,後台伺服器設備根據該申請加入訊息向用戶A所使用的行動終端設備推送包含該用戶群的群標識的入群邀請頁面,並載入顯示在用戶A所使用的行動終端設備上。用戶A基於該入群邀請頁面向後台伺服器設備發送確認加入訊息,這樣該用戶A確定加入該用戶群。 當確定該用戶加入該用戶群的情況下,該用戶透過所使用的行動終端設備選擇該用戶群中的一個用戶(例如:第一用戶),向後台伺服器設備發送包含第一用戶的用戶標識的消費資料查詢請求;接收該後台伺服器設備發送的查詢結果,根據該查詢結果,確定用戶群中第一用戶的消費資料。 後台伺服器設備確定該用戶A加入該用戶群,成為該用戶群的群成員。後台伺服器設備向用戶A所使用的行動終端設備推送用戶資料頁面,並載入顯示在用戶A所使用的行動終端設備上。該用戶資料頁面中顯示用戶A所加入用戶群的用戶資料,例如:用戶群中所包含的群成員的數量、男性群成員的數量、女性群成員的數量等等。 這裡仍以用戶A為例進行說明。需要說明的是,用戶A可以透過上述方式加入不同的用戶群,那麼用戶A每次在登錄或者運行該應用程式的時候,該應用程式的後台伺服器可以向用戶A所使用的客戶端設備推送其加入的不同的用戶群的用戶資料,用戶A則可以查看所加入用戶群的用戶資料(這裡的用戶資料較佳可以是目前處於線上狀態的用戶的用戶資料),這樣,用戶A可以根據用戶群中用戶資料的情況選擇去哪一家商鋪。 較佳地,為了保證用戶群中群用戶的資訊安全,本說明書提供的實施例還包括設定不同用戶的權限,例如:如果加入用戶群的用戶A沒有產生消費資料,那麼該用戶A的用戶權限可以分配為查看用戶群的用戶資料,這裡的用戶資料屬於相對比較模糊的資料(比如:用戶的數量、男女比例等等);再例如:如果加入用戶群的用戶A產生了消費資料,那麼該用戶A的用戶權限可以分配為擁有在該用戶群中與其他用戶進行社交的社交權限,即用戶A可以與用戶群中的其他用戶建立社交通道。 應用程式檢測到用戶A利用所使用的行動終端設備向該商鋪的收款設備發送支付資料,應用程式可以根據檢測到的支付資料,確定用戶A在所述商鋪產生消費資料;當確定在所述商鋪產生消費資料的情況下,應用程式向後台伺服器設備發送群社交權限開通請求訊息,該群社交權限開通請求訊息用於請求後台伺服器設備為該用戶A開通群社交權限;接收後台伺服器設備發送群社交權限開通訊息,基於該群社交權限開通訊息,確定開通所述用戶群的群社交權限。 或者用戶A利用所使用的行動終端設備向該商鋪的收款設備發送支付資料,該商鋪的收款設備向本說明書實施例提供的應用程式對應的後台伺服器設備發送支付資訊,後台伺服器設備可以根據支付資訊,確定用戶A在所述商鋪產生消費資料;當確定在所述商鋪產生消費資料的情況下,接收後台伺服器設備發送群社交權限開通訊息,基於該群社交權限開通訊息,確定開通所述用戶群的群社交權限。 基於所述群社交權限中包含的存取所述用戶群中其他用戶的消費資料,用戶A利用所使用的行動設備選擇所述用戶群中的一個用戶(例如:第一用戶),向後台伺服器設備發送消費資料存取請求,該消費資料存取請求中包含該第一用戶的用戶標識,後台伺服器設備根據該消費資料存取請求中包含的第一用戶的用戶標識,查找與該第一用戶的用戶標識的對應的消費資料,並將查找到的消費資料推送顯示在該用戶A所使用的行動設備中。 本說明書實施例提供的技術方案,接收第一客戶端設備發送的位置獲取請求,所述位置獲取請求中包含用戶群的群標識和第一用戶的用戶標識,所述用戶群中包含所述第一用戶;根據所述用戶群的群標識,確定創建所述用戶群的商鋪的位置;根據所述第一用戶的用戶標識,確定在設定時間段內所述第一用戶在所述商鋪中產生的消費資料;獲取第一用戶的目前位置;根據消費資料中包含的消費時間和第一用戶的目前位置,計算第一用戶目前位於商鋪的位置的機率;若機率大於設定數值,則確定第一用戶在商鋪內;若機率不大於設定數值,則根據第一用戶的目前位置,定位第一用戶的位置。不再單一依靠LBS定位的位置確定用戶的具體位置,而是透過消費資料、商鋪具體位置等多維度資料定位用戶的位置,這樣能夠有效提升用戶位置的定位準確度。 基於同一個發明構思,圖2為本說明書實施例提供的一種位置定位方法的流程示意圖。所述方法可以如下所示。本說明書實施例的執行主體為第一客戶端設備。 步驟201:第一客戶端設備透過掃描商鋪提供的包含用戶群的群標識的二維碼,向伺服器設備發送入群請求,所述入群請求中包含用戶群的群標識和第二用戶的用戶標識。 需要說明的是,商家用戶透過所持行動設備上安裝的客戶端設備向伺服器設備發送用戶群創建請求,所述用戶群創建請求中包含創建所述用戶群的商鋪的商鋪標識;並接收所述伺服器設備發送的用戶群的群標識。進而基於該群標識產生二維碼,以便於進入商鋪的消費者用戶可以透過二維碼申請加入該用戶群。 步驟203:接收所述伺服器設備發送的回應訊息,並在所述用戶群的顯示頁面中顯示所述第二用戶的用戶標識。 步驟205:接收所述伺服器設備發送的所述用戶群的用戶資料,所述用戶資料中包含群成員數量。 步驟207:在所述用戶群的顯示頁面中載入顯示所述用戶群中所包含的群成員的群成員數量。 在本說明書提供的實施例中,圖2(1)為本說明書實施例提供的顯示用戶群的用戶資料的頁面示意圖。從圖2(1)中可以看出,用戶在加入用戶群之後,可以瞭解目前用戶群中的用戶數。 步驟209:接收所述伺服器設備發送的所述用戶群的群社交權限開通訊息。 其中,所述群社交權限包含與所述用戶群中的其他用戶建立即時通訊通道、存取所述用戶群中其他用戶的消費資料中的至少一種或者多種。 步驟211:在所述用戶群的顯示頁面中顯示群社交權限。 較佳地,客戶端設備接收所述伺服器設備發送的所述用戶群的群成員資料,所述群成員資料中包含群成員標識、群成員狀態中的至少一種; 在所述用戶群的顯示頁面中載入顯示所述用戶群中所包含的群成員的群成員資料。 步驟213:基於顯示的群社交權限,向伺服器設備發送位置獲取請求。 其中,所述位置獲取請求中包含用戶群的群標識和第一用戶的用戶標識,所述用戶群中包含所述第一用戶。 步驟215:接收所述伺服器設備發送的回應訊息,所述回應訊息中包含所述第一用戶的位置。 其中,所述第一用戶的位置係由所述伺服器設備按照圖1中所述的位置定位方法而得到的。 步驟217:載入顯示所述第一用戶的位置。 基於同一個發明構思,圖3為本說明書實施例提供的一種位置定位方法的流程示意圖。所述方法如下所示。 步驟301:第二客戶端設備向所述伺服器設備發送用戶群創建請求。 其中,所述用戶群創建請求中包含創建所述用戶群的商鋪的商鋪標識。 步驟302:伺服器設備接收第二客戶端設備發送的用戶群創建請求;基於所述商鋪標識創建所述用戶群,並產生所述用戶群的群標識。 較佳地,伺服器設備儲存所述用戶群的群標識與所述商鋪的商鋪標識之間的映射關係。 步驟303:第二客戶端設備接收所述伺服器設備發送的用戶群的群標識,並根據所述用戶群標識產生二維碼。 步驟304:第一客戶端設備透過掃描第二客戶端設備產生的包含用戶群的群標識的二維碼,向伺服器設備發送入群請求。 其中,所述入群請求中包含用戶群的群標識和第二用戶的用戶標識。 步驟305:伺服器設備接收第一客戶端設備發送的入群請求;回應所述入群請求,建立所述第一用戶的用戶標識與所述用戶群的群標識之間的映射關係,使所述第一用戶成為所述用戶群中的群成員。 步驟306:第一客戶端設備接收所述伺服器設備發送的回應訊息,並在所述用戶群的顯示頁面中顯示所述第二用戶的用戶標識。 步驟307:伺服器設備檢測所述第一用戶是否在創建所述用戶群的商鋪中產生消費資料,若是,則執行步驟310;若否,則執行步驟308。 步驟308:伺服器設備向第一客戶端設備發送所述用戶群的用戶資料,所述用戶資料中包含群成員數量。 步驟309:第一客戶端設備接收所述伺服器設備發送的所述用戶群的用戶資料,在所述用戶群的顯示頁面中載入顯示所述用戶群中所包含的群成員的群成員數量。 步驟310:伺服器設備向第一客戶端設備發送所述用戶群的群成員資料,並向第一客戶端設備發送所述用戶群的群社交權限開通訊息。 其中,所述群社交權限包含與所述用戶群中的其他用戶建立即時通訊通道、存取所述用戶群中其他用戶的消費資料中的至少一種或者多種; 所述群成員資料中包含群成員標識、群成員狀態中的至少一種。 步驟311:第一客戶端設備接收所述伺服器設備發送的所述用戶群的群社交權限開通訊息,在所述用戶群的顯示頁面中顯示群社交權限;以及接收所述伺服器設備發送的所述用戶群的群成員資料,在所述用戶群的顯示頁面中載入顯示所述用戶群中所包含的群成員的群成員資料。 較佳地,第一客戶端設備根據所述群社交權限核所述群成員資料,向所述伺服器設備發送即時通訊請求,所述即時通訊請求中包含所述第一用戶的用戶標識;接收所述伺服器設備發送回應訊息,所述回應訊息由所述伺服器設備在確定所述第一用戶在創建所述用戶群的商鋪中產生消費資料滿足設定條件的情況下,將所述即時通訊請求發送給所述第一用戶所在的客戶端設備,並建立與所述第一用戶所在的客戶端設備之間的即時通訊通道後產生的。 步驟312:第一客戶端設備向伺服器設備發送位置獲取請求,所述位置獲取請求中包含用戶群的群標識和第一用戶的用戶標識,所述用戶群中包含所述第一用戶。 步驟313:伺服器設備接收第一客戶端設備發送的位置獲取請求,根據所述用戶群的群標識,確定創建所述用戶群的商鋪的位置;以及根據所述第一用戶的用戶標識,確定在設定時間段內所述第一用戶在所述商鋪中產生的消費資料。 步驟314:伺服器設備根據所述消費資料,定位相對於所述商鋪的位置的所述第一用戶的位置。 步驟315:第一客戶端設備接收所述伺服器設備發送的回應訊息,所述回應訊息中包含所述第一用戶的位置。 步驟316:第一客戶端設備載入顯示所述第一用戶的位置。 基於同一個發明構思,圖4為本說明書實施例提供的一種位置定位設備的結構示意圖。所述位置定位設備包括:接收單元401、確定單元402、獲取單元403、計算單元404和定位單元405,其中: 接收單元401,接收第一客戶端設備發送的位置獲取請求,所述位置獲取請求中包含用戶群的群標識和第一用戶的用戶標識,所述用戶群中包含所述第一用戶; 確定單元402,根據所述用戶群的群標識,確定創建所述用戶群的商鋪的位置;根據所述第一用戶的用戶標識,確定在設定時間段內所述第一用戶在所述商鋪中產生的消費資料; 獲取單元403,獲取所述第一用戶的目前位置; 計算單元404,根據所述消費資料中包含的消費時間和所述第一用戶的目前位置,計算所述第一用戶目前位於所述商鋪的位置的機率; 定位單元405,若所述機率大於設定數值,則確定所述第一用戶在所述商鋪內; 若所述機率不大於設定數值,則根據所述第一用戶的目前位置,定位所述第一用戶的位置。 在本說明書提供的另一個實施例中,所述確定單元402根據所述用戶群的群標識,確定創建所述用戶群的商鋪的位置,包括: 根據預先儲存的用戶群的群標識與創建所述用戶群的商鋪的商鋪標識之間的映射關係,確定所述用戶群的群標識對應的商鋪標識; 根據所述商鋪標識,查找所述商鋪標識對應的商鋪的位置。 在本說明書提供的另一個實施例中,所述位置定位設備還包括:處理單元406,其中:所述處理單元406創建所述用戶群,包括: 接收第二客戶端設備發送的用戶群創建請求,所述用戶群創建請求中包含創建所述用戶群的商鋪的商鋪標識; 基於所述商鋪標識創建所述用戶群,並產生所述用戶群的群標識。 在本說明書提供的另一個實施例中,所述位置定位設備還包括:儲存單元407,其中:所述儲存單元407儲存所述用戶群的群標識與所述商鋪的商鋪標識之間的映射關係。 在本說明書提供的另一個實施例中,所述確定單元402根據所述第一用戶的用戶標識,確定在設定時間段內所述第一用戶在所述商鋪中產生的消費資料,包括: 根據所述第一用戶的用戶標識,查找所述第一用戶在設定時間段內產生的消費資料; 從查找到的所述消費資料中,篩選出在所述用戶群的群標識對應的商鋪中產生的消費資料。 在本說明書提供的另一個實施例中,所述處理單元406,用於將所述第一用戶加入所述用戶群中,成為群用戶,包括: 接收第一客戶端設備發送的入群請求,所述入群請求中包含用戶群的群標識和第一用戶的用戶標識; 回應所述入群請求,建立所述第一用戶的用戶標識與所述用戶群的群標識之間的映射關係,使所述第一用戶成為所述用戶群中的群成員。 在本說明書提供的另一個實施例中,所述處理單元406,檢測所述第一用戶是否在創建所述用戶群的商鋪中產生消費資料; 在檢測到所述第一用戶產生消費資料的情況下,向所述第一客戶端設備發送所述用戶群的群社交權限開通訊息,所述群社交權限包含與所述用戶群中的其他用戶建立即時通訊通道、存取所述用戶群中其他用戶的消費資料中的至少一種或者多種。 在本說明書提供的另一個實施例中,所述處理單元406,在檢測到所述第一用戶未產生消費資料的情況下,向所述第一客戶端設備發送所述用戶群的用戶資料,所述用戶資料中包含群成員數量; 在檢測到所述第一用戶產生消費資料的情況下,向所述第一客戶端設備發送所述用戶群的群成員資料,所述群成員資料中包含群成員標識、群成員狀態中的至少一種。 需要說明的是,本說明書實施例提供的位置定位設備可以透過軟體方式來實現,也可以透過硬體方式來實現,這裡不做具體限定。該位置定位設備接收第一客戶端設備發送的位置獲取請求,所述位置獲取請求中包含用戶群的群標識和第一用戶的用戶標識,所述用戶群中包含所述第一用戶;根據所述用戶群的群標識,確定創建所述用戶群的商鋪的位置;根據所述第一用戶的用戶標識,確定在設定時間段內所述第一用戶在所述商鋪中產生的消費資料;獲取第一用戶的目前位置;根據消費資料中包含的消費時間和第一用戶的目前位置,計算第一用戶目前位於商鋪的位置的機率;若機率大於設定數值,則確定第一用戶在商鋪內;若機率不大於設定數值,則根據第一用戶的目前位置,定位第一用戶的位置。不再單一依靠LBS定位的位置確定用戶的具體位置,而是透過消費資料、商鋪具體位置等多維度資料定位用戶的位置,這樣能夠有效提升用戶位置的定位準確度。 基於同一個發明構思,圖5為本說明書實施例提供的一種客戶端設備的結構示意圖。所述客戶端設備包括:發送單元501、接收單元502和處理單元503,其中: 發送單元501,向伺服器設備發送位置獲取請求,所述位置獲取請求中包含用戶群的群標識和第一用戶的用戶標識,所述用戶群中包含所述第一用戶; 接收單元502,接收所述伺服器設備發送的回應訊息,所述回應訊息中包含所述第一用戶的位置,所述第一用戶的位置係由所述伺服器設備按照上述所述的位置定位方法而得到的; 處理單元503,載入顯示所述第一用戶的位置。 在本說明書提供的另一個實施例中,所述發送單元501,向所述伺服器設備發送用戶群創建請求,所述用戶群創建請求中包含創建所述用戶群的商鋪的商鋪標識; 所述接收單元502,接收所述伺服器設備發送的用戶群的群標識。 在本說明書提供的另一個實施例中,所述發送單元501,在向伺服器設備發送位置獲取請求之前,透過掃描商鋪提供的包含用戶群的群標識的二維碼,向伺服器設備發送入群請求,所述入群請求中包含用戶群的群標識和第二用戶的用戶標識; 所述接收單元502,接收所述伺服器設備發送的回應訊息,並在所述用戶群的顯示頁面中顯示所述第二用戶的用戶標識。 在本說明書提供的另一個實施例中,所述客戶端設備還包括:顯示單元504,其中: 所述接收單元502,接收所述伺服器設備發送的所述用戶群的群社交權限開通訊息,所述群社交權限包含與所述用戶群中的其他用戶建立即時通訊通道、存取所述用戶群中其他用戶的消費資料中的至少一種或者多種; 所述顯示單元504,在所述用戶群的顯示頁面中顯示群社交權限。 在本說明書提供的另一個實施例中,所述接收單元502,接收所述伺服器設備發送的所述用戶群的群成員資料,所述群成員資料中包含群成員標識、群成員狀態中的至少一種; 所述顯示單元504,在所述用戶群的顯示頁面中載入顯示所述用戶群中所包含的群成員的群成員資料。 在本說明書提供的另一個實施例中,所述發送單元501,根據所述群社交權限獲取的所述群成員資料,向所述伺服器設備發送即時通訊請求,所述即時通訊請求中包含所述第一用戶的用戶標識; 所述接收單元502,接收所述伺服器設備發送回應訊息,所述回應訊息由所述伺服器設備在確定所述第一用戶在創建所述用戶群的商鋪中產生消費資料滿足設定條件的情況下,將所述即時通訊請求發送給所述第一用戶所在的客戶端設備,並建立與所述第一用戶所在的客戶端設備之間的即時通訊通道後產生的。 在本說明書提供的另一個實施例中,所述接收單元502,接收所述伺服器設備發送的所述用戶群的用戶資料,所述用戶資料中包含群成員數量; 所述顯示單元504,在所述用戶群的顯示頁面中載入顯示所述用戶群中所包含的群成員的群成員數量。 需要說明的是,本說明書實施例提供的客戶端設備可以透過軟體方式來實現,也可以透過硬體方式來實現,這裡不做具體限定。 另外,結合上述實施例中的位置定位方法,本說明書實施例可提供一種電腦可讀儲存媒體來實現。該電腦可讀儲存媒體上儲存有電腦程式指令;該電腦程式指令被處理器執行時實現上述實施例中的任意一種位置定位方法。 圖6示出了本說明書實施例提供的位置定位設備的硬體結構示意圖。 位置定位設備可以包括處理器601以及儲存有電腦程式指令的記憶體602。 具體地,上述處理器601可以包括中央處理器(CPU),或者特定積體電路(Application Specific Integrated Circuit,ASIC),或者可以被配置成實施本說明書實施例的一個或多個積體電路。 記憶體602可以包括用於資料或指令的大容量記憶體。舉例來說而非限制地,記憶體602可包括硬碟驅動器(Hard Disk Drive,HDD)、軟碟驅動器、快閃記憶體、光碟、磁光碟、磁帶或通用串列匯流排(Universal Serial Bus,USB)驅動器或者兩個或更多個以上這些的組合。在合適的情況下,記憶體602可包括可移除或不可移除(或固定)的媒體。在合適的情況下,記憶體602可在資料處理裝置的內部或外部。在特定實施例中,記憶體602是非易失性固態記憶體。在特定實施例中,記憶體602包括唯讀記憶體(ROM)。在合適的情況下,該ROM可以是掩模編程的ROM、可編程ROM(PROM)、可擦除PROM(EPROM)、電可擦除PROM(EEPROM)、電可改寫ROM(EAROM)或快閃記憶體或者兩個或更多個以上這些的組合。 處理器601透過讀取並執行記憶體602中儲存的電腦程式指令,以實現上述實施例中的任意一種位置定位方法。 在一個示例中,資料處理設備還可包括通訊介面603和匯流排610。其中,如圖6所示,處理器601、記憶體602、通訊介面603透過匯流排610連接並完成相互間的通訊。 通訊介面603,主要用於實現本說明書實施例中各模組、裝置、單元和/或設備之間的通訊。 匯流排610包括硬體、軟體或兩者,將信令資料處理設備的部件彼此耦接在一起。舉例來說而非限制地,匯流排可包括加速圖形連接埠(AGP)或其他圖形匯流排、延伸工業標準架構(EISA)匯流排、前端匯流排(FSB)、超傳輸(HT)互連、工業標準架構(ISA)匯流排、無限頻寬互連、低接腳數(LPC)匯流排、記憶體匯流排、微通道架構(MCA)匯流排、周邊組件互連(PCI)匯流排、PCI-Express(PCI-X)匯流排、串列先進技術附接(SATA)匯流排、視頻電子標準協會本地(VLB)匯流排或其他合適的匯流排或者兩個或更多個以上這些的組合。在合適的情況下,匯流排610可包括一個或多個匯流排。儘管本說明書實施例描述和示出了特定的匯流排,但本發明考慮任何合適的匯流排或互連。 圖7為本說明書實施例提供的位置定位設備的硬體結構示意圖。 加入用戶群的設備可以包括處理器701以及儲存有電腦程式指令的記憶體702。 處理器701透過讀取並執行記憶體702中儲存的電腦程式指令,以實現上述實施例中的任意一種位置定位方法。 在一個示例中,資料處理設備還可包括通訊介面703和匯流排710。其中,如圖7所示,處理器701、記憶體702、通訊介面703透過匯流排710連接並完成相互間的通訊。 通訊介面703,主要用於實現本說明書實施例中各模組、裝置、單元和/或設備之間的通訊。 透過本說明書實施例提供的位置定位方法及裝置,接收第一客戶端設備發送的位置獲取請求,所述位置獲取請求中包含用戶群的群標識和第一用戶的用戶標識,所述用戶群中包含所述第一用戶;根據所述用戶群的群標識,確定創建所述用戶群的商鋪的位置;根據所述第一用戶的用戶標識,確定在設定時間段內所述第一用戶在所述商鋪中產生的消費資料;獲取第一用戶的目前位置;根據消費資料中包含的消費時間和第一用戶的目前位置,計算第一用戶目前位於商鋪的位置的機率;若機率大於設定數值,則確定第一用戶在商鋪內;若機率不大於設定數值,則根據第一用戶的目前位置,定位第一用戶的位置。不再單一依靠LBS定位的位置確定用戶的具體位置,而是透過消費資料、商鋪具體位置等多維度資料定位用戶的位置,這樣能夠有效提升用戶位置的定位準確度。 在20世紀90年代,對於一個技術的改進可以很明顯地區分是硬體上的改進(例如,對二極體、電晶體、開關等電路結構的改進)還是軟體上的改進(對於方法流程的改進)。然而,隨著技術的發展,當今的很多方法流程的改進已經可以視為硬體電路結構的直接改進。設計人員幾乎都透過將改進的方法流程編程到硬體電路中來得到相應的硬體電路結構。因此,不能說一個方法流程的改進就不能用硬體實體模組來實現。例如,可編程邏輯裝置(Programmable Logic Device, PLD)(例如,現場可編程閘陣列(Field Programmable Gate Array,FPGA))就是這樣一種積體電路,其邏輯功能由用戶對裝置編程來確定。由設計人員自行編程來把一個數位系統“整合”在一片PLD上,而不需要請晶片製造廠商來設計和製作專用的積體電路晶片。而且,如今,取代手工地製作積體電路晶片,這種編程也多半改用“邏輯編譯器(logic compiler)”軟體來實現,它與程式開發撰寫時所用的軟體編譯器相類似,而要編譯之前的原始代碼也得用特定的編程語言來撰寫,此稱之為硬體描述語言(Hardware Description Language,HDL),而HDL也並非僅有一種,而是有許多種,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)與Verilog。本領域技術人員也應該清楚,只需要將方法流程用上述幾種硬體描述語言稍作邏輯編程並編程到積體電路中,就可以很容易得到實現該邏輯方法流程的硬體電路。 控制器可以按任何適當的方式來實現,例如,控制器可以採取例如微處理器或處理器以及儲存可由該(微)處理器執行的電腦可讀程式碼(例如,軟體或韌體)的電腦可讀媒體、邏輯閘、開關、特殊應用積體電路(Application Specific Integrated Circuit,ASIC)、可編程邏輯控制器和嵌入式微控制器的形式,控制器的例子包括但不限於以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20 以及Silicone Labs C8051F320,記憶體控制器還可以被實現為記憶體的控制邏輯的一部分。本領域技術人員也知道,除了以純電腦可讀程式碼方式來實現控制器以外,完全可以透過將方法步驟進行邏輯編程來使得控制器以邏輯閘、開關、特殊應用積體電路、可編程邏輯控制器和嵌入式微控制器等的形式來實現相同功能。因此這種控制器可以被認為是一種硬體部件,而對其內包括的用於實現各種功能的裝置也可以視為硬體部件內的結構。或者甚至,可以將用於實現各種功能的裝置視為既可以是實現方法的軟體模組又可以是硬體部件內的結構。 上述實施例闡明的系統、裝置、模組或單元,具體可以由電腦晶片或實體來實現,或者由具有某種功能的產品來實現。一種典型的實現設備為電腦。具體地,電腦例如可以為個人電腦、膝上型電腦、蜂巢式電話、相機電話、智慧型電話、個人數位助理、媒體播放機、導航設備、電子郵件設備、遊戲控制台、平板電腦、可穿戴式設備或者這些設備中的任何設備的組合。 為了描述的方便,描述以上裝置時以功能分為各種單元分別描述。當然,在實施本說明書時可以把各單元的功能在同一個或多個軟體和/或硬體中實現。 本領域內的技術人員應明白,本發明的實施例可提供為方法、系統、或電腦程式產品。因此,本發明可採用完全硬體實施例、完全軟體實施例、或結合軟體和硬體態樣的實施例的形式。而且,本發明可採用在一個或多個其中包含有電腦可用程式碼的電腦可用儲存媒體(包括但不限於磁碟記憶體、CD-ROM、光學記憶體等)上實施的電腦程式產品的形式。 本發明是參照根據本說明書實施例的方法、設備(系統)、和電腦程式產品的流程圖和/或方塊圖來描述的。應理解可由電腦程式指令實現流程圖和/或方塊圖中的每一個流程和/或方塊、以及流程圖和/或方塊圖中的流程和/或方塊的結合。可提供這些電腦程式指令到通用電腦、專用電腦、嵌入式處理機或其他可編程資料處理設備的處理器以產生一個機器,使得透過電腦或其他可編程資料處理設備的處理器執行的指令產生用於實現在流程圖中的一個流程或多個流程和/或方塊圖中的一個方塊或多個方塊中指定的功能的裝置。 這些電腦程式指令也可被儲存在能引導電腦或其他可編程資料處理設備以特定方式操作的電腦可讀記憶體中,使得儲存在該電腦可讀記憶體中的指令產生包括指令裝置的製造品,該指令裝置實現在流程圖中的一個流程或多個流程和/或方塊圖中的一個方塊或多個方塊中指定的功能。 這些電腦程式指令也可被裝載到電腦或其他可編程資料處理設備上,使得在電腦或其他可編程設備上執行一系列操作步驟以產生電腦實現的處理,從而在電腦或其他可編程設備上執行的指令提供用於實現在流程圖中的一個流程或多個流程和/或方塊圖中的一個方塊或多個方塊中指定的功能的步驟。 在一個典型的配置中,計算設備包括一個或多個處理器(CPU)、輸入/輸出介面、網路介面和內部記憶體。 內部記憶體可能包括電腦可讀媒體中的非永久性記憶體,隨機存取記憶體(RAM)和/或非易失性內部記憶體等形式,如唯讀記憶體(ROM)或快閃記憶體(flash RAM)。內部記憶體是電腦可讀媒體的示例。 電腦可讀媒體包括永久性和非永久性、可行動和非可行動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是電腦可讀指令、資料結構、程式的模組或其他資料。電腦的儲存媒體的例子包括,但不限於相變內部記憶體(PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體(RAM)、唯讀記憶體(ROM)、電可擦除可編程唯讀記憶體(EEPROM)、快閃記憶體或其他內部記憶體技術、唯讀光碟唯讀記憶體(CD-ROM)、數位多功能光碟(DVD)或其他光學儲存器、磁盒式磁帶,磁帶磁磁片儲存器或其他磁性儲存設備或任何其他非傳輸媒體,可用於儲存可以被計算設備存取的資訊。按照本文中的界定,電腦可讀媒體不包括暫態性電腦可讀媒體(transitory media),如調變的資料信號和載波。 還需要說明的是,術語“包括”、“包含”或者其任何其他變型意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、商品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、商品或者設備所固有的要素。在沒有更多限制的情況下,由語句“包括一個……”限定的要素,並不排除在包括所述要素的過程、方法、商品或者設備中還存在另外的相同要素。 本說明書可以在由電腦執行的電腦可執行指令的一般上下文中描述,例如程式模組。一般地,程式模組包括執行特定任務或實現特定抽象資料類型的常式、程式、物件、組件、資料結構等等。也可以在分散式計算環境中實踐本說明書,在這些分散式計算環境中,由透過通訊網路而被連接的遠端處理設備來執行任務。在分散式計算環境中,程式模組可以位於包括儲存設備在內的本地和遠端電腦儲存媒體中。 本說明書中的各個實施例均採用漸進的方式描述,各個實施例之間相同相似的部分互相參見即可,每個實施例重點說明的都是與其他實施例的不同之處。尤其,對於系統實施例而言,由於其基本相似於方法實施例,所以描述的比較簡單,相關之處參見方法實施例的部分說明即可。 以上所述僅為本說明書的實施例而已,並不用來限制本說明書。對於本領域技術人員來說,本說明書可以有各種更改和變化。凡在本說明書的精神和原理之內所作的任何修改、等同替換、改進等,均應包含在本說明書的申請專利範圍的範疇之內。In practical applications, with the development of mobile Internet technology, it has become a trend to provide various location-based services. For example: by locating the location information of the mobile terminal device, determine the library, movie theater, gas station and other information near the mobile terminal device, so as to provide services related to this information for the use of the mobile terminal device. For another example, by locating the location information of the mobile terminal device, other mobile terminal devices appearing near the mobile terminal device are determined, so as to facilitate the establishment of new social relationships between users of different mobile terminal devices. and many more. Once the location information of the positioning is wrong or there is a large deviation, it will reduce the user experience of the service provided by the user. In order to solve the problems described in this specification and achieve the purpose of this specification, the embodiments of this specification provide a location positioning method, equipment, media, and device, and receive a location acquisition request sent by a first client device. In the location acquisition request Including the group identifier of the user group and the user identifier of the first user, the user group includes the first user; according to the group identifier of the user group, determine the location of the shop where the user group is created; according to the The user ID of the first user determines the consumption data generated by the first user in the shop within a set time period; obtains the current location of the first user; according to the consumption time contained in the consumption data and the first user’s Current location, calculate the probability of the first user’s current location in the shop; if the probability is greater than the set value, determine that the first user is in the shop; if the probability is not greater than the set value, then locate the first user based on the current location of the first user The location of a user. Instead of relying solely on the location of the LBS to determine the user's specific location, but to locate the user's location through multi-dimensional data such as consumption data and the specific location of the store, which can effectively improve the positioning accuracy of the user's location. The "first" in the "first user" described in the embodiments of this specification does not specifically refer to a certain user, but generally refers to any user, and the "first" does not mean the first one. The "first" and "second" in the "first client device" and "second client device" described in the embodiments of this specification do not refer to two different client devices, but to one piece of application software , Is installed on different mobile devices, due to different user identities, different user identities, the application software sets different usage rights, the user installs the application software by selecting the user identity to use the corresponding functions of the application software. Here, "first" and "second" are used to distinguish different user identities, and the functions provided by the client device are also different. The technical solutions of this specification are described clearly and completely below in conjunction with specific embodiments of this specification and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments in this specification, rather than all the embodiments. Based on the embodiments in this specification, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this specification. The following describes in detail the technical solutions provided by the embodiments of this specification in conjunction with the drawings. FIG. 1 is a schematic flowchart of a position positioning method provided by an embodiment of this specification. The method can be as follows. The execution subject of the embodiments of this specification is the server device. Step 101: Receive a location acquisition request sent by a first client device, where the location acquisition request includes a group identifier of a user group and a user identifier of a first user, and the user group includes the first user. In the embodiment provided in this specification, a client device that can interact with the server device described in the embodiment of this specification is provided. The merchant user of the operator shop can send the user group creation to the server device through the client device. Request, the user group creation request includes the shop identifier of the shop where the user group is created. It should be noted that, in the embodiment of this specification, the client device used by the merchant user of the operator shop can be called the second client device, and the client device used by the consumer user can be called the first client. The difference between the first client device and the second client device is that the functions that can be used are different for different user identities. In this way, upon receiving the user group creation request, the server device creates a user group based on the store identifier, and generates a user group group identifier for the user group. The server device sends the generated group identification of the user group to the second client device. The server device locally stores the mapping relationship between the group ID of the user group and the shop ID of the shop. It should be noted that the server device may determine the group identifier of the user group based on the store identifier, or may randomly assign a group identifier to the user group. Here, the method for generating the group identifier of the user group is not specifically limited. The second client device receives the group identifier of the user group sent by the server device. The merchant user can generate a two-dimensional code based on the group identification, and provide the two-dimensional code to the consumer user who enters the store where the merchant user is located. After entering the store where the merchant user is located, the consumer user can scan the QR code provided by the merchant user with the first client device described in the embodiment of this specification installed on the mobile device and send a group joining request to the server device. The group entry request includes the group identification of the scanned user group and the user identification of the consumer user (here, it may be referred to as the user identification of the second user, or may be referred to as the user identification of the first user). Different consumer users send group joining requests through the client devices they use, and the user IDs of the consumer users carried in the group joining requests are different. The server device, upon receiving the group joining request sent by the first client device, responds to the group joining request, and establishes the mapping relationship between the user ID of the consumer user and the group ID of the user group, so that the consumer user becomes the Group members in the user group. The first client device receives the response message sent by the server device, and displays the user identification of the consumer user on the display page of the user group. A consumer user can generate a consumption behavior in the store, and the consumption data corresponding to the consumption behavior can be sent to the server device through the first client device used. In another embodiment provided in this specification, the server device detects whether the first client device used by the consumer user generates consumption data in the store where the user group is created. When the server device detects that the consumer user generates consumption data, it sends the group social authority opening communication information of the user group to the first client device, and the group social authority includes communication with other users in the user group. The user establishes an instant communication channel and accesses at least one or more of the consumption data of other users in the user group. The first client device receives the group social rights opening communication information of the user group sent by the server device, and displays the group social rights on the display page of the user group. Based on the displayed group social rights, the consumer user sends a location acquisition request to the server device through the first client device. The location acquisition request contains the group ID of the user group and the user ID of the first user, and the purpose is to determine the first The location of the user. In another embodiment provided in this specification, from the perspective of protecting the data security of other users in the user group, the server device sends all data to the client device when it detects that the first user generates consumption data. Group member information of the user group, the group member information includes at least one of group member identification and group member status; In a case where it is detected that the first user does not generate consumption data, the user data of the user group is sent to the client device, and the user data includes the number of group members. It should be noted that the difference between "group member information" and "user information" here is that the amount of information contained in "group member information" is greater than the amount of information contained in "user information", or "group member information" The information contained in "" is relatively specific, while the information contained in "User Profile" is relatively general. Step 103: Determine the location of the shop where the user group is created according to the group identifier of the user group. In the embodiment of this specification, the server device determines the shop corresponding to the group ID of the user group according to the mapping relationship between the group ID of the user group stored in advance and the shop ID of the shop where the user group is created. Identification; and then according to the shop identification, find the location of the shop corresponding to the shop identification. In the embodiment of this specification, the location of the store can be obtained from other server devices, or it can be determined based on the registration information of the store; the method for finding the location of the store is not specifically limited here. Step 105: According to the user identification of the first user, determine the consumption data generated by the first user in the store within a set time period. In the embodiment of this specification, the server device searches for consumption data generated by the first user within a set time period according to the user identification of the first user; From the found consumption data, the consumption data generated in the shops corresponding to the group identification of the user group are filtered out. It should be noted that the set time period recorded in the embodiment of this specification can be within a period of time from the time point corresponding to the search behavior that satisfies a certain condition (for example, within two days, within one day, 10 hours, etc.). It can be within one day of the time point corresponding to the search behavior, and the set time period can be set according to actual needs. There is no specific limitation on the set time period here. Step 107: According to the consumption data, locate the position of the first user relative to the position of the store. In the embodiment of this specification, the server obtains the current location of the first user; according to the consumption time contained in the consumption data and the current location of the first user, calculate that the first user is currently located in the business Probability of shop location; If the probability is greater than the set value, it is determined that the first user is in the shop; If the probability is not greater than the set value, locate the location of the first user according to the current location of the first user. It should be noted that acquiring the current location of the first user in the embodiment of this specification can be obtained by using the location positioning method in the LBS, or other methods can also be used, which is not specifically limited here. In the embodiment provided in this specification, when it is determined that the consumption data of the first user meets the set conditions, the current information of the first user may also be located based on the instant communication data generated between the first user and the first user. location. For example, the current location of the first user is asked through the instant communication channel established with the client used by the first user, so that the current location of the first user can be accurately located based on the content of the instant communication. Preferably, in the embodiment provided in this specification, the consumption time contained in the consumption data can also be compared with the set conditions; the location of the first user is determined according to the comparison result. For example: the time when the consumption data is generated is 10 am, and the current time is 10:05, the setting condition is that the consumption time is 10 minutes away from the current time. By comparing the time when the consumption data is generated, it is 5 minutes away from the current time, indicating that the first user has It may be in a shop, or a 5-minute walk from the shop; etc. In this way, the location of the first user can be accurately located. In the following, a scenario description of the technical solution provided in this specification will be given by taking the user A entering the merchant's shop as an example. The operator operating the store in the first location can download an application program (also called an application client) that uses the method described in the embodiment of this manual, and generate a QR code for a user group through the application program. In this way, users who enter the store can apply to join the user group by scanning the QR code. After entering the user group, not only can a new social relationship be established with other users in the user group, but also consumption information of other users in the user group can be obtained, so as to determine the desired user's location based on the obtained consumption information. Specifically, when a certain user (for example, user A) enters the store located in the first location or when the store is ready to pay for the purchase of goods, the operator operating the store can send the user A to the store. Recommend the QR code of the user group. At this point, user A can scan the QR code through the “scan” function on the mobile terminal device, and then parse the QR code and send an application to join message to the back-end server device. The back-end server device sends an application to join the message according to the request The mobile terminal device used by user A pushes the group invitation page containing the group identifier of the user group, and loads and displays it on the mobile terminal device used by user A. The user A sends a joining confirmation message to the background server device based on the joining invitation page, so that the user A is sure to join the user group. When it is determined that the user joins the user group, the user selects a user (for example, the first user) in the user group through the mobile terminal device used, and sends the user ID containing the first user to the background server device The consumption data query request; receives the query result sent by the background server device, and determines the consumption data of the first user in the user group according to the query result. The background server device determines that the user A joins the user group and becomes a group member of the user group. The background server device pushes the user profile page to the mobile terminal device used by user A, and loads and displays it on the mobile terminal device used by user A. The user information page displays the user information of the user group that user A has joined, for example: the number of group members included in the user group, the number of male group members, the number of female group members, and so on. Here, user A is still taken as an example for description. It should be noted that user A can join different user groups through the above methods, so every time user A logs in or runs the application, the background server of the application can push to the client device used by user A User A can view the user information of the added user group (the user information here is preferably the user information of the user who is currently online). In this way, user A can view the user information according to the user Choose which store to go to based on the user profile in the group. Preferably, in order to ensure the information security of the group users in the user group, the embodiment provided in this specification also includes setting the permissions of different users. For example, if the user A who joins the user group does not generate consumption data, then the user permissions of the user A It can be assigned to view the user information of the user group. The user information here is relatively vague information (such as the number of users, the ratio of men to women, etc.); another example: if user A who joins the user group generates consumption data, then The user rights of user A can be assigned to have the social rights to socialize with other users in the user group, that is, user A can establish social channels with other users in the user group. The application detects that user A uses the mobile terminal device used to send payment information to the payment device of the store. The application can determine that user A generates consumption data at the store based on the detected payment information; When the shop generates consumption data, the application sends a group social permission activation request message to the background server device, and the group social permission activation request message is used to request the background server device to open the group social permission for the user A; receive; The background server device sends the group social permission opening communication information, and based on the group social permission opening communication information, determines to open the group social permission of the user group. Or user A uses the mobile terminal device used to send payment information to the payment collection device of the shop, and the payment collection device of the shop sends payment information to the backend server device corresponding to the application provided in the embodiment of this specification, and the backend server The server device can determine that user A generates consumption data in the store according to the payment information; when it is determined that the consumption data is generated in the store, the receiving background server device sends the group social authority opening communication information, based on the group social authority Open the communication information, and determine to open the group social rights of the user group. Based on the consumption data of other users in the user group included in the social permissions of the group, user A uses the mobile device used to select a user in the user group (for example, the first user), and send it to the background server The server device sends a consumer data access request, and the consumer data access request includes the user ID of the first user. The background server device searches for the first user ID according to the user ID of the first user included in the consumer data access request. The consumption data corresponding to the user ID of a user is pushed and displayed on the mobile device used by the user A. The technical solution provided by the embodiment of this specification receives a location acquisition request sent by a first client device. The location acquisition request includes the group identification of the user group and the user identification of the first user, and the user group includes the first user group. A user; according to the group identifier of the user group, determine the location of the store where the user group is created; according to the user identifier of the first user, determine that the first user is in the store within a set time period Obtain the current location of the first user; calculate the probability of the first user’s current location in the shop based on the consumption time contained in the consumption data and the current location of the first user; if the probability is greater than the set value, then It is determined that the first user is in the shop; if the probability is not greater than the set value, the location of the first user is located according to the current location of the first user. Instead of relying solely on the location of the LBS to determine the user's specific location, but to locate the user's location through multi-dimensional data such as consumption data and the specific location of the store, which can effectively improve the positioning accuracy of the user's location. Based on the same inventive concept, FIG. 2 is a schematic flowchart of a position positioning method provided by an embodiment of this specification. The method can be as follows. The execution subject of the embodiment of this specification is the first client device. Step 201: The first client device sends a group entry request to the server device by scanning the QR code that contains the group ID of the user group provided by the store, and the group entry request includes the group ID of the user group and the second user. The user ID. It should be noted that the merchant user sends a user group creation request to the server device through the client device installed on the mobile device he holds, and the user group creation request includes the shop identifier of the shop where the user group is created; and receives; The group identifier of the user group sent by the server device. Furthermore, a two-dimensional code is generated based on the group identification, so that consumer users entering the store can apply to join the user group through the two-dimensional code. Step 203: Receive the response message sent by the server device, and display the user ID of the second user on the display page of the user group. Step 205: Receive user data of the user group sent by the server device, where the user data includes the number of group members. Step 207: Load the number of group members displaying the group members included in the user group into the display page of the user group. In the embodiments provided in this specification, FIG. 2(1) is a schematic diagram of a page displaying user information of a user group provided in an embodiment of this specification. It can be seen from Figure 2(1) that after joining the user group, the user can know the current number of users in the user group. Step 209: Receive the group social authority opening communication information of the user group sent by the server device. Wherein, the social group authority includes at least one or more of establishing instant communication channels with other users in the user group, and accessing consumption data of other users in the user group. Step 211: Display the group social authority on the display page of the user group. Preferably, the client device receives the group member data of the user group sent by the server device, and the group member data includes at least one of a group member identifier and a group member status; Loading the group member data showing the group members included in the user group on the display page of the user group. Step 213: Send a location acquisition request to the server device based on the displayed group social permissions. Wherein, the location acquisition request includes a group identifier of a user group and a user identifier of a first user, and the user group includes the first user. Step 215: Receive a response message sent by the server device, where the response message includes the location of the first user. Wherein, the position of the first user is obtained by the server device according to the position positioning method described in FIG. 1. Step 217: Load and display the location of the first user. Based on the same inventive concept, FIG. 3 is a schematic flowchart of a position positioning method provided by an embodiment of this specification. The method is as follows. Step 301: The second client device sends a user group creation request to the server device. Wherein, the user group creation request includes the shop identifier of the shop where the user group is created. Step 302: The server device receives the user group creation request sent by the second client device; creates the user group based on the store identifier, and generates a group identifier of the user group. Preferably, the server device stores the mapping relationship between the group ID of the user group and the shop ID of the shop. Step 303: The second client device receives the group identification of the user group sent by the server device, and generates a QR code according to the user group identification. Step 304: The first client device sends a group joining request to the server device by scanning the QR code containing the group identification of the user group generated by the second client device. Wherein, the group entry request includes the group identification of the user group and the user identification of the second user. Step 305: The server device receives the group joining request sent by the first client device; responding to the group joining request, establishes a mapping relationship between the user ID of the first user and the group ID of the user group, so that all The first user becomes a group member in the user group. Step 306: The first client device receives the response message sent by the server device, and displays the user ID of the second user on the display page of the user group. Step 307: The server device detects whether the first user generates consumption data in the store where the user group is created, if yes, execute step 310; if not, execute step 308. Step 308: The server device sends user data of the user group to the first client device, where the user data includes the number of group members. Step 309: The first client device receives the user data of the user group sent by the server device, and loads the number of group members showing the group members included in the user group on the display page of the user group . Step 310: The server device sends the group member information of the user group to the first client device, and sends the group social authority opening communication information of the user group to the first client device. Wherein, the group social authority includes at least one or more of establishing instant communication channels with other users in the user group, and accessing consumption data of other users in the user group; The group member information includes at least one of group member identification and group member status. Step 311: The first client device receives the group social rights opening message of the user group sent by the server device, displays the group social rights on the display page of the user group; and receives the group social rights opening message sent by the server device. The group member data of the user group is loaded and displayed on the display page of the user group to display the group member data of the group members included in the user group. Preferably, the first client device cores the group member data according to the group social authority, and sends an instant messaging request to the server device, the instant messaging request includes the user identification of the first user; and receiving; The server device sends a response message, and the server device sends the response message to the real-time The communication request is sent to the client device where the first user is located, and an instant communication channel is established with the client device where the first user is located. Step 312: The first client device sends a location acquisition request to the server device, where the location acquisition request includes the group identifier of the user group and the user identifier of the first user, and the user group includes the first user. Step 313: The server device receives the location acquisition request sent by the first client device, and determines the location of the shop where the user group is created according to the group identifier of the user group; and according to the user identifier of the first user, Determine the consumption data generated by the first user in the store within a set time period. Step 314: The server device locates the location of the first user relative to the location of the store according to the consumption data. Step 315: The first client device receives a response message sent by the server device, and the response message includes the location of the first user. Step 316: The first client device loads and displays the location of the first user. Based on the same inventive concept, FIG. 4 is a schematic structural diagram of a position positioning device provided by an embodiment of this specification. The position positioning device includes: a receiving unit 401, a determining unit 402, an acquiring unit 403, a calculating unit 404, and a positioning unit 405, wherein: The receiving unit 401 receives a location acquisition request sent by a first client device, where the location acquisition request includes a group identifier of a user group and a user identifier of a first user, and the user group includes the first user; The determining unit 402, according to the group identifier of the user group, determines the location of the store where the user group is created; according to the user identifier of the first user, determines that the first user is in the business within a set time period. Consumption data generated in the shop; The obtaining unit 403 obtains the current location of the first user; The calculating unit 404 calculates the probability that the first user is currently located at the location of the shop according to the consumption time contained in the consumption data and the current location of the first user; The positioning unit 405, if the probability is greater than a set value, determine that the first user is in the shop; If the probability is not greater than the set value, locate the location of the first user according to the current location of the first user. In another embodiment provided in this specification, the determining unit 402 determines the location of the shop where the user group is created according to the group identifier of the user group, including: Determine the shop ID corresponding to the group ID of the user group according to the mapping relationship between the group ID of the user group stored in advance and the shop ID of the shop where the user group is created; According to the store identifier, the location of the store corresponding to the store identifier is searched. In another embodiment provided in this specification, the position location device further includes: a processing unit 406, wherein: the processing unit 406 creates the user group, including: Receiving a user group creation request sent by the second client device, where the user group creation request includes the shop identifier of the shop where the user group is created; The user group is created based on the store identifier, and a group identifier of the user group is generated. In another embodiment provided in this specification, the location positioning device further includes: a storage unit 407, wherein: the storage unit 407 stores the difference between the group identification of the user group and the shop identification of the shop Mapping relations. In another embodiment provided in this specification, the determining unit 402 determines the consumption data generated by the first user in the store within a set time period according to the user ID of the first user, including: According to the user identifier of the first user, search for consumption data generated by the first user within a set time period; From the found consumption data, the consumption data generated in the shops corresponding to the group identification of the user group are filtered out. In another embodiment provided in this specification, the processing unit 406 is configured to add the first user to the user group to become a group user, including: Receiving a group joining request sent by the first client device, where the group joining request includes the group identifier of the user group and the user identifier of the first user; In response to the group entry request, a mapping relationship between the user ID of the first user and the group ID of the user group is established, so that the first user becomes a group member in the user group. In another embodiment provided in this specification, the processing unit 406 detects whether the first user generates consumption data in the shop where the user group is created; In the case of detecting that the first user generates consumption data, send the group social rights opening communication information of the user group to the first client device, and the group social rights include communication with other users in the user group At least one or more of establishing an instant communication channel and accessing consumption data of other users in the user group. In another embodiment provided in this specification, the processing unit 406 sends the user data of the user group to the first client device when it is detected that the first user has not generated consumption data, The user profile includes the number of group members; When it is detected that the first user generates consumption data, the group member data of the user group is sent to the first client device, and the group member data includes at least one of the group member identification and the group member status. One kind. It should be noted that the position positioning device provided in the embodiment of this specification can be implemented through software or hardware, which is not specifically limited here. The location location device receives a location acquisition request sent by a first client device, where the location acquisition request includes the group identification of the user group and the user identification of the first user, and the user group includes the first user; The group identification of the user group determines the location of the shop where the user group is created; and according to the user identification of the first user, the consumption data generated by the first user in the shop within a set time period is determined ; Acquire the current location of the first user; calculate the probability that the first user is currently located in the shop based on the consumption time contained in the consumption data and the current location of the first user; if the probability is greater than the set value, determine that the first user is in In the shop; if the probability is not greater than the set value, locate the location of the first user according to the current location of the first user. Instead of relying solely on the location of the LBS to determine the user's specific location, but to locate the user's location through multi-dimensional data such as consumption data and the specific location of the store, which can effectively improve the positioning accuracy of the user's location. Based on the same inventive concept, FIG. 5 is a schematic structural diagram of a client device provided by an embodiment of this specification. The client device includes: a sending unit 501, a receiving unit 502, and a processing unit 503, where: The sending unit 501 sends a location acquisition request to the server device, where the location acquisition request includes the group identification of the user group and the user identification of the first user, and the user group includes the first user; The receiving unit 502 receives a response message sent by the server device, the response message includes the location of the first user, and the location of the first user is located by the server device according to the above-mentioned location Method The processing unit 503 loads and displays the location of the first user. In another embodiment provided in this specification, the sending unit 501 sends a user group creation request to the server device, and the user group creation request includes the shop identifier of the shop where the user group is created; The receiving unit 502 receives the group identification of the user group sent by the server device. In another embodiment provided in this specification, the sending unit 501, before sending the location acquisition request to the server device, scans the QR code that contains the group identification of the user group provided by the store, and sends it to the server device. A group joining request, where the group joining request includes the group ID of the user group and the user ID of the second user; The receiving unit 502 receives the response message sent by the server device, and displays the user ID of the second user on the display page of the user group. In another embodiment provided in this specification, the client device further includes: a display unit 504, wherein: The receiving unit 502 receives the group social rights opening communication information of the user group sent by the server device, and the group social rights includes establishing an instant communication channel with other users in the user group and accessing the user. At least one or more of the consumption data of other users in the group; The display unit 504 displays the group social authority on the display page of the user group. In another embodiment provided in this specification, the receiving unit 502 receives the group member data of the user group sent by the server device, and the group member data includes the group member identification and the group member status. At least one The display unit 504 loads and displays group member data of the group members included in the user group on the display page of the user group. In another embodiment provided in this specification, the sending unit 501 sends an instant communication request to the server device according to the group member information obtained by the group social authority, and the instant communication request includes all The user ID of the first user; The receiving unit 502 receives a response message sent by the server device, where the server device determines that the first user generates consumption data in the shop where the user group is created and meets the set conditions. In this case, it is generated after sending the instant messaging request to the client device where the first user is located, and establishing an instant communication channel with the client device where the first user is located. In another embodiment provided in this specification, the receiving unit 502 receives user data of the user group sent by the server device, and the user data includes the number of group members; The display unit 504 loads and displays the number of group members included in the user group on the display page of the user group. It should be noted that the client device provided in the embodiments of the present specification can be implemented through software or hardware, which is not specifically limited here. In addition, in combination with the position positioning method in the foregoing embodiment, the embodiment of this specification can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the position positioning methods in the above-mentioned embodiments is implemented. FIG. 6 shows a schematic diagram of the hardware structure of the position positioning device provided by the embodiment of this specification. The position locating device may include a processor 601 and a memory 602 storing computer program instructions. Specifically, the above-mentioned processor 601 may include a central processing unit (CPU), or a specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement one or more integrated circuits of the embodiments of this specification. The memory 602 may include a large-capacity memory for data or commands. For example and not limitation, the memory 602 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (Universal Serial Bus, USB) drive or a combination of two or more of these. Where appropriate, the memory 602 may include removable or non-removable (or fixed) media. Where appropriate, the memory 602 can be internal or external to the data processing device. In a particular embodiment, the memory 602 is a non-volatile solid-state memory. In a particular embodiment, the memory 602 includes read-only memory (ROM). Where appropriate, the ROM can be mask-programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), electrically rewritable ROM (EAROM) or flash Memory or a combination of two or more of these. The processor 601 reads and executes the computer program instructions stored in the memory 602 to implement any one of the position positioning methods in the foregoing embodiments. In an example, the data processing device may further include a communication interface 603 and a bus 610. Wherein, as shown in FIG. 6, the processor 601, the memory 602, and the communication interface 603 are connected through the bus 610 to complete the communication between each other. The communication interface 603 is mainly used to realize the communication between the various modules, devices, units and/or devices in the embodiments of this specification. The bus 610 includes hardware, software, or both, and couples the components of the signaling data processing device to each other. For example and not limitation, the bus may include accelerated graphics port (AGP) or other graphics bus, extended industry standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, Industry standard architecture (ISA) bus, unlimited bandwidth interconnect, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnect (PCI) bus, PCI -Express (PCI-X) bus, Serial Advanced Technology Attach (SATA) bus, Video Electronics Standards Association Local (VLB) bus or other suitable bus or a combination of two or more of these. Where appropriate, the bus bar 610 may include one or more bus bars. Although the embodiments of this specification describe and show specific busbars, the present invention contemplates any suitable busbars or interconnections. FIG. 7 is a schematic diagram of the hardware structure of the position positioning device provided by the embodiment of the specification. The device to join the user group may include a processor 701 and a memory 702 storing computer program instructions. The processor 701 reads and executes the computer program instructions stored in the memory 702 to implement any one of the position positioning methods in the foregoing embodiments. In an example, the data processing device may further include a communication interface 703 and a bus 710. Among them, as shown in FIG. 7, the processor 701, the memory 702, and the communication interface 703 are connected through the bus 710 and complete the communication with each other. The communication interface 703 is mainly used to realize the communication between the various modules, devices, units and/or devices in the embodiments of this specification. According to the position positioning method and device provided in the embodiments of this specification, a position acquisition request sent by a first client device is received, and the position acquisition request includes the group identification of the user group and the user identification of the first user. Including the first user; according to the group identifier of the user group, determine the location of the store where the user group is created; according to the user identifier of the first user, determine that the first user is at The consumption data generated in the shop; obtain the current location of the first user; calculate the probability that the first user is currently located at the location of the shop based on the consumption time contained in the consumption data and the current location of the first user; if the probability is greater than If the value is set, it is determined that the first user is in the shop; if the probability is not greater than the set value, the location of the first user is located according to the current location of the first user. Instead of relying solely on the location of the LBS to determine the user's specific location, but to locate the user's location through multi-dimensional data such as consumption data and the specific location of the store, which can effectively improve the positioning accuracy of the user's location. In the 1990s, the improvement of a technology can be clearly distinguished from the improvement of the hardware (for example, the improvement of the circuit structure of diodes, transistors, switches, etc.) or the improvement of the software (for the process of the method). Improve). However, with the development of technology, the improvement of many methods and processes of today can be regarded as a direct improvement of the hardware circuit structure. Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by the hardware entity module. For example, a Programmable Logic Device (PLD) (for example, a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user's programming of the device. It is programmed by the designer to "integrate" a digital system on a PLD, without requiring the chip manufacturer to design and manufacture a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly realized by using "logic compiler" software, which is similar to the software compiler used in program development and writing, but requires compilation. The original code before has to be written in a specific programming language, which is called Hardware Description Language (HDL), and HDL is not only one, but there are many, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., currently the most Commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. It should also be clear to those skilled in the art that only a little logic programming of the method flow in the above hardware description languages and programming into the integrated circuit can easily obtain the hardware circuit that implements the logic method flow. The controller can be implemented in any suitable manner. For example, the controller can be a microprocessor or a processor and a computer storing computer-readable program codes (for example, software or firmware) that can be executed by the (micro) processor. In the form of readable media, logic gates, switches, Application Specific Integrated Circuits (ASIC), programmable logic controllers and embedded microcontrollers, examples of controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, the memory controller can also be implemented as part of the memory control logic. Those skilled in the art also know that, in addition to implementing the controller in a purely computer-readable program code, it is entirely possible to program the method steps to make the controller use logic gates, switches, integrated circuits for special applications, and programmable logic control. The same function can be realized in the form of a processor and an embedded microcontroller. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as a structure within the hardware component. Or even, the device for realizing various functions can be regarded as both a software module for realizing the method and a structure within a hardware component. The systems, devices, modules, or units explained in the above embodiments may be implemented by computer chips or entities, or implemented by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable Type equipment or a combination of any of these equipment. For the convenience of description, when describing the above device, the functions are divided into various units and described separately. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and/or hardware. Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention may adopt the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer-usable program codes. . The present invention is described with reference to flowcharts and/or block diagrams of methods, equipment (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, dedicated computers, embedded processors, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are used to generate It is a device that implements one or more processes in the flowchart and/or one or more blocks in the block diagram. These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to operate in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured product including the instruction device , The instruction device realizes the function specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram. These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to generate computer-implemented processing, which can be executed on the computer or other programmable equipment. The instructions provide steps for implementing functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram. In a typical configuration, the computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and internal memory. Internal memory may include non-permanent memory in computer-readable media, random access memory (RAM) and/or non-volatile internal memory, such as read-only memory (ROM) or flash memory Body (flash RAM). Internal memory is an example of computer-readable media. Computer-readable media include permanent and non-permanent, movable and non-movable media, and information storage can be realized by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change internal memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), and other types of random access memory (RAM). ), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other internal memory technology, read only CD-ROM (CD-ROM), digital multi Functional discs (DVD) or other optical storage, magnetic cassettes, magnetic tape storage or other magnetic storage devices, or any other non-transmission media, can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transient computer-readable media (transitory media), such as modulated data signals and carrier waves. It should also be noted that the terms "include", "include" or any other variation thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or equipment including a series of elements not only includes those elements, but also includes no Other elements clearly listed, or also include elements inherent to such processes, methods, commodities, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity, or equipment that includes the element. This manual can be described in the general context of computer-executable instructions executed by a computer, such as a program module. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification can also be practiced in a distributed computing environment. In these distributed computing environments, remote processing devices connected through a communication network perform tasks. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices. The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the part of the description of the method embodiment. The above descriptions are only examples of this specification, and are not used to limit this specification. For those skilled in the art, this specification can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this specification shall be included in the scope of the patent application of this specification.

401:接收單元 402:確定單元 403:獲取單元 404:計算單元 405:定位單元 406:處理單元 407:儲存單元 501:發送單元 502:接收單元 503:處理單元 504:顯示單元 601:處理器 602:記憶體 603:通訊介面 610:匯流排 701:處理器 702:記憶體 703:通訊介面 710:匯流排401: receiving unit 402: Determine Unit 403: get unit 404: Computing unit 405: positioning unit 406: Processing Unit 407: storage unit 501: Sending unit 502: receiving unit 503: Processing Unit 504: display unit 601: processor 602: Memory 603: Communication Interface 610: Bus 701: processor 702: Memory 703: Communication interface 710: Bus

此處所說明的圖式用來提供對本說明書的進一步理解,構成本說明書的一部分,本說明書的示意性實施例及其說明用來解釋本說明書,並不構成對本說明書的不當限定。在圖式中: [圖1]為本說明書實施例提供的一種位置定位方法的流程示意圖; [圖2]為本說明書實施例提供的一種位置定位方法的流程示意圖; [圖2(1)]為本說明書實施例提供的顯示用戶群的用戶資料的頁面示意圖; [圖3]為本說明書實施例提供的一種位置定位方法的流程示意圖; [圖4]為本說明書實施例提供的一種位置定位設備的結構示意圖; [圖5]為本說明書實施例提供的一種客戶端設備的結構示意圖; [圖6]為本說明書實施例提供的一種位置定位設備的結構示意圖; [圖7]為本說明書實施例提供的一種位置定位設備的結構示意圖。The drawings described here are used to provide a further understanding of the specification and constitute a part of the specification. The exemplary embodiments and descriptions of the specification are used to explain the specification, and do not constitute an improper limitation of the specification. In the schema: [Fig. 1] A schematic flowchart of a position positioning method provided by an embodiment of this specification; [Fig. 2] A schematic flow chart of a position positioning method provided by an embodiment of this specification; [Figure 2(1)] A schematic diagram of a page displaying user information of a user group provided by an embodiment of this specification; [Fig. 3] A schematic flowchart of a position positioning method provided by an embodiment of this specification; [Fig. 4] A schematic structural diagram of a position positioning device provided by an embodiment of this specification; [Figure 5] A schematic structural diagram of a client device provided by an embodiment of this specification; [Figure 6] A schematic structural diagram of a position positioning device provided by an embodiment of this specification; [Fig. 7] A schematic structural diagram of a position positioning device provided by an embodiment of this specification.

Claims (19)

一種位置定位方法,包括: 接收第一客戶端設備發送的位置獲取請求,該位置獲取請求中包含用戶群的群標識和第一用戶的用戶標識,該用戶群中包含該第一用戶; 根據該用戶群的群標識,確定創建該用戶群的商鋪的位置; 根據該第一用戶的用戶標識,確定在設定時間段內該第一用戶在該商鋪中產生的消費資料; 獲取該第一用戶的目前位置; 根據該消費資料中包含的消費時間和該第一用戶的目前位置,計算該第一用戶目前位於該商鋪的位置的機率; 若該機率大於設定數值,則確定該第一用戶在該商鋪內;以及 若該機率不大於設定數值,則根據該第一用戶的目前位置,定位該第一用戶的位置。A location positioning method, including: Receiving a location obtaining request sent by the first client device, where the location obtaining request includes the group identifier of the user group and the user identifier of the first user, and the user group includes the first user; According to the group identifier of the user group, determine the location of the shop where the user group is created; According to the user identification of the first user, determine the consumption data generated by the first user in the store within a set time period; Obtain the current location of the first user; According to the consumption time contained in the consumption data and the current location of the first user, calculate the probability that the first user is currently located at the location of the shop; If the probability is greater than the set value, it is determined that the first user is in the shop; and If the probability is not greater than the set value, the location of the first user is located according to the current location of the first user. 如請求項1所述的位置定位方法,根據該用戶群的群標識,確定創建該用戶群的商鋪的位置,包括: 根據預先儲存的用戶群的群標識與創建該用戶群的商鋪的商鋪標識之間的映射關係,確定該用戶群的群標識對應的商鋪標識;以及 根據該商鋪標識,查找該商鋪標識對應的商鋪的位置。According to the location positioning method of claim 1, determining the location of the shop where the user group is created according to the group identifier of the user group includes: Determine the shop ID corresponding to the group ID of the user group according to the mapping relationship between the group ID of the user group stored in advance and the shop ID of the shop where the user group is created; and According to the store identifier, find the location of the store corresponding to the store identifier. 如請求項2所述的位置定位方法,創建該用戶群,包括: 接收第二客戶端設備發送的用戶群創建請求,該用戶群創建請求中包含創建該用戶群的商鋪的商鋪標識;以及 基於該商鋪標識創建該用戶群,並產生該用戶群的群標識。According to the position positioning method described in claim 2, creating the user group includes: Receiving a user group creation request sent by the second client device, where the user group creation request includes the shop identifier of the shop where the user group is created; and The user group is created based on the store identifier, and a group identifier of the user group is generated. 如請求項3所述的位置定位方法,該方法還包括: 儲存該用戶群的群標識與該商鋪的商鋪標識之間的映射關係。According to the position positioning method described in claim 3, the method further includes: The mapping relationship between the group ID of the user group and the shop ID of the shop is stored. 如請求項1所述的位置定位方法,根據該第一用戶的用戶標識,確定在設定時間段內該第一用戶在該商鋪中產生的消費資料,包括: 根據該第一用戶的用戶標識,查找該第一用戶在設定時間段內產生的消費資料;以及 從查找到的該消費資料中,篩選出在該用戶群的群標識對應的商鋪中產生的消費資料。According to the position positioning method of claim 1, determining the consumption data generated by the first user in the store within a set time period according to the user ID of the first user, including: According to the user ID of the first user, search for consumption data generated by the first user within a set time period; and From the found consumption data, the consumption data generated in the shop corresponding to the group identifier of the user group is filtered out. 如請求項1或5所述的位置定位方法,該第一用戶為該用戶群中的群用戶,包括: 接收該第一客戶端設備發送的入群請求,該入群請求中包含用戶群的群標識和第一用戶的用戶標識;以及 回應該入群請求,建立該第一用戶的用戶標識與該用戶群的群標識之間的映射關係,使該第一用戶成為該用戶群中的群成員。For the location positioning method according to claim 1 or 5, the first user is a group user in the user group, including: Receiving a group joining request sent by the first client device, where the group joining request includes the group identifier of the user group and the user identifier of the first user; and In response to the group joining request, a mapping relationship between the user ID of the first user and the group ID of the user group is established, so that the first user becomes a group member in the user group. 如請求項6所述的位置定位方法,該方法還包括: 檢測該第一用戶是否在創建該用戶群的商鋪中產生消費資料;以及 在檢測到該第一用戶產生消費資料的情況下,向該第一客戶端設備發送該用戶群的群社交權限開通訊息,該群社交權限包含與該用戶群中的其他用戶建立即時通訊通道、存取該用戶群中其他用戶的消費資料中的至少一種或者多種。According to the position positioning method described in claim 6, the method further includes: Detecting whether the first user generates consumption data in the shop where the user group is created; and In the case of detecting that the first user generates consumption data, send the group social permission communication information of the user group to the first client device, and the group social permission includes establishing instant communication channels with other users in the user group, Access at least one or more of the consumption data of other users in the user group. 如請求項7所述的位置定位方法,該方法還包括: 在檢測到該第一用戶未產生消費資料的情況下,向該第一客戶端設備發送該用戶群的用戶資料,該用戶資料中包含群成員數量;以及 在檢測到該第一用戶產生消費資料的情況下,向該第一客戶端設備發送該用戶群的群成員資料,該群成員資料中包含群成員標識、群成員狀態中的至少一種。According to the position positioning method described in claim 7, the method further includes: In the case of detecting that the first user has not generated consumption data, sending the user data of the user group to the first client device, the user data including the number of group members; and When it is detected that the first user generates consumption data, the group member data of the user group is sent to the first client device, and the group member data includes at least one of a group member identification and a group member status. 一種位置定位方法,包括: 向伺服器設備發送位置獲取請求,該位置獲取請求中包含用戶群的群標識和第一用戶的用戶標識,該用戶群中包含該第一用戶; 接收該伺服器設備發送的回應訊息,該回應訊息中包含該第一用戶的位置,該第一用戶的位置係由該伺服器設備按照如請求項1至8所述的位置定位方法而得到的;以及 載入顯示該第一用戶的位置。A location positioning method, including: Sending a location acquisition request to the server device, where the location acquisition request includes the group identifier of the user group and the user identifier of the first user, and the user group includes the first user; Receive a response message sent by the server device, the response message contains the location of the first user, and the location of the first user is obtained by the server device according to the location positioning method described in request items 1 to 8 ;as well as Loading shows the location of the first user. 如請求項9所述的位置定位方法,該方法還包括: 在向伺服器設備發送位置獲取請求之前,透過掃描商鋪提供的包含用戶群的群標識的二維碼,向伺服器設備發送入群請求,該入群請求中包含用戶群的群標識和第二用戶的用戶標識;以及 接收該伺服器設備發送的回應訊息,並在該用戶群的顯示頁面中顯示該第二用戶的用戶標識。According to the position positioning method described in claim 9, the method further includes: Before sending the location acquisition request to the server device, scan the QR code that contains the group ID of the user group provided by the store to send a group entry request to the server device. The group entry request contains the group ID and the number of the user group. 2. The user ID of the user; and The response message sent by the server device is received, and the user ID of the second user is displayed on the display page of the user group. 如請求項10所述的位置定位方法,該方法還包括: 接收該伺服器設備發送的該用戶群的群社交權限開通訊息,該群社交權限包含與該用戶群中的其他用戶建立即時通訊通道、存取該用戶群中其他用戶的消費資料中的至少一種或者多種;以及 在該用戶群的顯示頁面中顯示群社交權限。According to the position positioning method described in claim 10, the method further includes: Receiving the group social permission opening message of the user group sent by the server device, the group social permission including at least one of establishing an instant communication channel with other users in the user group, and accessing consumption data of other users in the user group Or multiple; and The social permissions of the group are displayed on the display page of the user group. 如請求項10或11所述的位置定位方法,該方法還包括: 接收該伺服器設備發送的該用戶群的群成員資料,該群成員資料中包含群成員標識、群成員狀態中的至少一種;以及 在該用戶群的顯示頁面中載入顯示該用戶群中所包含的群成員的群成員資料。According to the position positioning method according to claim 10 or 11, the method further includes: Receiving group member data of the user group sent by the server device, where the group member data includes at least one of a group member identifier and a group member status; and Load the group member data showing the group members included in the user group on the display page of the user group. 如請求項11所述的位置定位方法,該方法包括: 根據該群社交權限獲取的該群成員的用戶標識,向該伺服器設備發送即時通訊請求,該即時通訊請求中包含該第一用戶的用戶標識;以及 接收該伺服器設備發送回應訊息,該回應訊息由該伺服器設備在確定該第一用戶在創建該用戶群的商鋪中產生消費資料滿足設定條件的情況下,將該即時通訊請求發送給該第一用戶所在的客戶端設備,並建立與該第一用戶所在的客戶端設備之間的即時通訊通道後產生。The position positioning method according to claim 11, the method includes: Sending an instant messaging request to the server device according to the user identification of the group member obtained according to the social authority of the group, and the instant messaging request includes the user identification of the first user; and Receiving a response message sent by the server device, the server device sends the instant messaging request to the server device when it is determined that the consumption data generated by the first user in the shop that created the user group meets the set conditions It is generated after the client device where the first user is located and the instant communication channel is established with the client device where the first user is located. 如請求項10所述的位置定位方法,該方法還包括: 接收該伺服器設備發送的該用戶群的用戶資料,該用戶資料中包含群成員數量;以及 在該用戶群的顯示頁面中載入顯示該用戶群中所包含的群成員的群成員數量。According to the position positioning method described in claim 10, the method further includes: Receiving user information of the user group sent by the server device, where the user information includes the number of group members; and Load the number of group members showing the group members contained in the user group on the display page of the user group. 如請求項9所述的位置定位方法,該方法還包括: 向該伺服器設備發送用戶群創建請求,該用戶群創建請求中包含創建該用戶群的商鋪的商鋪標識;以及 接收該伺服器設備發送的用戶群的群標識。According to the position positioning method described in claim 9, the method further includes: Send a user group creation request to the server device, where the user group creation request includes the shop identifier of the shop that created the user group; and Receive the group ID of the user group sent by the server device. 一種位置定位設備,該位置定位設備包括: 接收單元,接收第一客戶端設備發送的位置獲取請求,該位置獲取請求中包含用戶群的群標識和第一用戶的用戶標識,該用戶群中包含該第一用戶; 確定單元,根據該用戶群的群標識,確定創建該用戶群的商鋪的位置;根據該第一用戶的用戶標識,確定在設定時間段內該第一用戶在該商鋪中產生的消費資料; 獲取單元,獲取該第一用戶的目前位置; 計算單元,根據該消費資料中包含的消費時間和該第一用戶的目前位置,計算該第一用戶目前位於該商鋪的位置的機率; 定位單元,若該機率大於設定數值,則確定該第一用戶在該商鋪內;以及 若該機率不大於設定數值,則根據該第一用戶的目前位置,定位該第一用戶的位置。A position locating device, the position locating device includes: The receiving unit receives a location acquisition request sent by the first client device, where the location acquisition request includes the group identification of the user group and the user identification of the first user, and the user group includes the first user; The determining unit determines the location of the shop where the user group is created according to the group ID of the user group; according to the user ID of the first user, determines the consumption data generated by the first user in the shop within a set time period ; An acquiring unit to acquire the current location of the first user; The calculation unit calculates the probability that the first user is currently located at the location of the shop based on the consumption time contained in the consumption data and the current location of the first user; The positioning unit determines that the first user is in the shop if the probability is greater than the set value; and If the probability is not greater than the set value, the location of the first user is located according to the current location of the first user. 一種客戶端設備,該客戶端設備包括: 發送單元,向伺服器設備發送位置獲取請求,該位置獲取請求中包含用戶群的群標識和第一用戶的用戶標識,該用戶群中包含該第一用戶; 接收單元,接收該伺服器設備發送的回應訊息,該回應訊息中包含該第一用戶的位置,該第一用戶的位置係由該伺服器設備按照如請求項1至9所述的位置定位方法而得到的;以及 處理單元,載入顯示該第一用戶的位置。A client device, the client device includes: The sending unit sends a location acquisition request to the server device, where the location acquisition request includes the group identifier of the user group and the user identifier of the first user, and the user group includes the first user; The receiving unit receives a response message sent by the server device, the response message includes the location of the first user, and the location of the first user is determined by the server device according to the location positioning method described in request items 1 to 9 Obtained; and The processing unit loads and displays the location of the first user. 一種電腦可讀儲存媒體,其上儲存有電腦程式指令,其特徵在於,當該電腦程式指令被處理器執行時實現如請求項1至8中任一項所述的位置定位方法;和/或請求項9至15中任一項所述的位置定位方法。A computer-readable storage medium on which computer program instructions are stored, characterized in that, when the computer program instructions are executed by a processor, the position positioning method as described in any one of claim items 1 to 8 is realized; and/or The position positioning method according to any one of Claims 9 to 15. 一種資料處理裝置,其特徵在於,包括:至少一個處理器、至少一個記憶體以及儲存在該記憶體中的電腦程式指令,當該電腦程式指令被該處理器執行時實現如請求項1至8中任一項所述的位置定位方法;和/或請求項9至15中任一項所述的位置定位方法。A data processing device, characterized by comprising: at least one processor, at least one memory, and computer program instructions stored in the memory. When the computer program instructions are executed by the processor, the computer program instructions are implemented as requested items 1 to 8 The position positioning method according to any one of; and/or the position positioning method according to any one of Claims 9 to 15.
TW109115041A 2019-10-31 2020-05-06 Position positioning method, equipment, media and device TWI749544B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911051162.7A CN110852796B (en) 2019-10-31 2019-10-31 Position positioning method, device, medium and apparatus
CN201911051162.7 2019-10-31

Publications (2)

Publication Number Publication Date
TW202119854A true TW202119854A (en) 2021-05-16
TWI749544B TWI749544B (en) 2021-12-11

Family

ID=69598802

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109115041A TWI749544B (en) 2019-10-31 2020-05-06 Position positioning method, equipment, media and device

Country Status (3)

Country Link
CN (2) CN110852796B (en)
TW (1) TWI749544B (en)
WO (1) WO2021082546A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110852796B (en) * 2019-10-31 2021-03-16 支付宝(杭州)信息技术有限公司 Position positioning method, device, medium and apparatus
CN113865604B (en) * 2021-08-31 2023-04-14 北京三快在线科技有限公司 Position data generation method and device

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4307702B2 (en) * 2000-09-07 2009-08-05 インターナショナル・ビジネス・マシーンズ・コーポレーション Server used for content gifting system, server process, content gifting method, and recording medium on which computer-readable program for executing content gifting method is recorded
US20060064346A1 (en) * 2004-08-31 2006-03-23 Qualcomm Incorporated Location based service (LBS) system and method for targeted advertising
US8571580B2 (en) * 2006-06-01 2013-10-29 Loopt Llc. Displaying the location of individuals on an interactive map display on a mobile communication device
US8229458B2 (en) * 2007-04-08 2012-07-24 Enhanced Geographic Llc Systems and methods to determine the name of a location visited by a user of a wireless device
DE102009020216A1 (en) * 2009-05-07 2010-12-09 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Concept for determining an estimate of a location of a receiver
CN103593349B (en) * 2012-08-14 2016-12-21 中国科学院沈阳自动化研究所 Mobile position analysis method under sensing network environment
CN103888493B (en) * 2012-12-20 2018-03-23 腾讯科技(深圳)有限公司 Information-pushing method and device
CN105338480B (en) * 2014-06-24 2020-01-24 创新先进技术有限公司 LBS-based user matching method, message client, server and system
US9699594B2 (en) * 2015-02-27 2017-07-04 Plantronics, Inc. Mobile user device and method of communication over a wireless medium
CN106657202B (en) * 2015-11-04 2020-06-30 K11集团有限公司 Method and system for intelligently pushing information
CN107483537A (en) * 2017-07-03 2017-12-15 阿里巴巴集团控股有限公司 A kind of event-prompting method and device
CN108279002B (en) * 2017-12-29 2021-07-13 广州博进信息技术有限公司 Position sharing method
CN110324228A (en) * 2018-03-30 2019-10-11 比亚迪股份有限公司 Data processing method, device and equipment based on chat group
CN109299198A (en) * 2018-10-12 2019-02-01 元力云网络有限公司 A kind of social networks analysis method based on multidimensional data
CN110363439A (en) * 2019-07-19 2019-10-22 山东浪潮人工智能研究院有限公司 A kind of credit-graded approach based on consumer demographics' portrait
CN110852796B (en) * 2019-10-31 2021-03-16 支付宝(杭州)信息技术有限公司 Position positioning method, device, medium and apparatus

Also Published As

Publication number Publication date
CN113222660A (en) 2021-08-06
WO2021082546A1 (en) 2021-05-06
TWI749544B (en) 2021-12-11
CN113222660B (en) 2022-04-22
CN110852796A (en) 2020-02-28
CN110852796B (en) 2021-03-16

Similar Documents

Publication Publication Date Title
KR102258437B1 (en) Blockchain-based data storage and query method and device
EP3780541B1 (en) Identity information identification method and device
TWI748175B (en) Data processing method, device and equipment
WO2021103694A1 (en) Payment system and method, server device, medium and apparatus
US11200558B2 (en) Automatic vending
US20160306823A1 (en) Computerized system and method for performing a location-based search
CN111738737B (en) Method, device and equipment for generating digital property right certificate
WO2021082546A1 (en) Location positioning method and device, medium, and apparatus
CN110191154B (en) User tag determination method and device
WO2018095307A1 (en) Method and device for releasing evaluation information
CN110309034B (en) Service flow link view generation method and device
US20210192503A1 (en) Payment method, apparatus and device
CN108536569B (en) Business behavior tracking method, device and equipment
US10803091B2 (en) Method and device for determining a category directory, and an automatic classification method and device
EP3848878A1 (en) Service processing method and apparatus
CN109542775B (en) Test script generation and execution method and device
CN112182507B (en) Data quality measurement method, device and equipment
CN111324778B (en) Data and service processing method and device and electronic equipment
CN112800188B (en) Dialogue processing method and device
CN108170821B (en) Method and device for determining one-code multiple access and electronic equipment
CN110968580B (en) Method and device for creating data storage structure
WO2019134550A1 (en) Positioning method, device and apparatus
CN111967769A (en) Risk identification method, device, equipment and medium
CN112463785A (en) Data quality monitoring method and device, electronic equipment and storage medium
CN116017395A (en) Resource transfer processing method and device