CN110290584B - Positioning method - Google Patents

Positioning method Download PDF

Info

Publication number
CN110290584B
CN110290584B CN201910583509.6A CN201910583509A CN110290584B CN 110290584 B CN110290584 B CN 110290584B CN 201910583509 A CN201910583509 A CN 201910583509A CN 110290584 B CN110290584 B CN 110290584B
Authority
CN
China
Prior art keywords
client
wireless
information
probability
region
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910583509.6A
Other languages
Chinese (zh)
Other versions
CN110290584A (en
Inventor
冉放
杨博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Original Assignee
Advanced New Technologies Co Ltd
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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201410573459.0A priority Critical patent/CN105592547B/en
Priority to CN201910583509.6A priority patent/CN110290584B/en
Publication of CN110290584A publication Critical patent/CN110290584A/en
Application granted granted Critical
Publication of CN110290584B publication Critical patent/CN110290584B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the application discloses a positioning method. It includes: receiving a message sent by a wireless device, wherein the message is attached with an identification code of a client and basic information, the identification code identifies the client, and the basic information is used for acquiring position information of a place where the client is located; the basic information comprises signal strength which represents the strength of a wireless network detection signal sent by the client and received by the wireless device; the wireless device is applied to a predetermined place which is divided into a plurality of areas; acquiring the regional distribution probability, the cumulative distribution probability and the regional intensity probability of the client corresponding to the signal intensity in the plurality of regions, and calculating to obtain the region where the client is located; specifically, the method includes comparing probability data calculated by all the regions, and taking the region corresponding to the maximum probability as the region where the client is located. The method can accurately position the client.

Description

Positioning method
The application has application date of 2014, 10 and 23, and has application numbers of: 201410573459.0 entitled "data Generation method, Server and positioning method".
Technical Field
The present application relates to the field of data communications, and in particular, to a positioning method.
Background
Traditional entity shops mostly find which products are popular according to self observation of sellers or which areas of shops attract more consumers to stand, so that an operation strategy is made correspondingly. However, due to the limited memory capacity of the salespersons, the information observed among the salespersons is difficult to be fully shared, so that effective data records are difficult to be formed in the operation process of the entity shop, and further, the operation strategy is difficult to be established on the basis of data analysis.
With the development of technology, infrared scanning devices and camera devices, and identification technologies based on these devices have emerged. An infrared scanning device or a camera device is usually arranged at an entrance of a physical store, and when a customer enters the physical store, the customer can be identified to enter the store, so that the data of the passenger flow entering the physical store can be counted. Although the traffic data can be recorded by the above-mentioned identification techniques, it is still difficult to embody which products are popular in shops or which areas attract more consumers to stay. In addition, in the prior art, information such as commodities recommended to a user when the user is within a geographical range of a store is determined by collecting position information of the user, but the method only identifies the user, is a marketing strategy for the user, and cannot meet the requirement that an entity store analyzes relevant customer behavior data in the operation process so as to provide better service.
Disclosure of Invention
The embodiment of the application aims to provide a positioning method capable of positioning a client for quasi-positioning.
In order to solve the above technical problem, the present application provides a positioning method, including: receiving a message sent by a wireless device, wherein the message is attached with an identification code of a client and basic information, the identification code identifies the client, and the basic information is used for acquiring position information of a place where the client is located; the basic information comprises signal strength which represents the strength of a wireless network detection signal sent by the client and received by the wireless device; the wireless device is applied to a predetermined place which is divided into a plurality of areas; acquiring the region distribution probability of the client corresponding to the signal intensity in each of the plurality of regions, the cumulative distribution probability of the client falling into each of the plurality of regions, and the region intensity probability of the signal intensity in each region; obtaining the area where the client is located according to the area distribution probability, the area intensity probability and the accumulative distribution probability; specifically, the method includes comparing probability data calculated by all the regions, and taking the region corresponding to the maximum probability as the region where the client is located.
According to the technical scheme provided by the embodiment of the application, the position information of the customer is recorded by collecting the position information of the customer and identifying the customer through the customer. Therefore, the position of the client can be effectively tracked in the area where the wireless device is arranged. Based on the position information recorded by the application, the shops can analyze the moving track of the customers after entering the shops, and the arrangement of the shops attracts the customers to stand and the like, so as to provide a data analysis basis for the shops to make the operation strategy. Moreover, because the identification code can uniquely identify one client, one customer can be uniquely identified, and information sharing can be carried out among different entity shops, so that the shops can know more behaviors of the customers in the operation process, and more data bases are provided for further specifying the operation strategy.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a data generation method provided in one embodiment of the present application;
FIG. 2 is a data generation method provided in one embodiment of the present application;
FIG. 3 is a schematic diagram of a wireless device and client location relationship provided in one embodiment of the present application;
FIG. 4 is a data generation method provided in one embodiment of the present application;
FIG. 5 is a server provided in accordance with an embodiment of the present application;
FIG. 6 is a data generation method provided in one embodiment of the present application;
FIG. 7 is a server provided in accordance with an embodiment of the present application;
FIG. 8 illustrates a data generation method according to an embodiment of the present application;
FIG. 9 is a server provided in accordance with an embodiment of the present application;
FIG. 10 illustrates a data generation method according to an embodiment of the present application;
fig. 11 is a wireless device provided in one embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art without any inventive work based on the embodiments in the present application shall fall within the scope of protection of the present application.
Referring to fig. 1, a data generating method according to an embodiment of the present application includes the following steps.
Step S51: receiving a message sent by a wireless device, wherein the message is attached with an identification code of a client and basic information, the identification code can uniquely identify one client, and the basic information is used for acquiring position information of a place where the client is located.
In this embodiment, the server may be provided with a predetermined port for receiving messages.
In the embodiment, the identification code is used for identifying one client, so that the clients can be distinguished according to different identification codes in the network communication process. Specifically, the client is provided with a sending module, and the sending module has a physical address capable of uniquely identifying the sending module, and the physical address can be used as the identification code.
In this embodiment, the basic information can be used to calculate the location information of the client. The base information may include a signal strength representing a strength of a wireless network probe signal emitted by the client received by the wireless device. The wireless network probe signal may be attenuated in signal strength as the distance of transmission increases. The signal strength of the wireless network detection signal is different when the wireless network detection signal is transmitted at different distances. The wireless device receives the wireless network detection signal and measures the signal intensity of the wireless network detection signal. Specifically, examples are: when measuring the signal strength, a reference voltage, such as a zero voltage, may be set, and the voltage generated by the received wireless network probing signal is compared with the reference voltage to obtain the signal strength. Meanwhile, the position information of the wireless device and the space information near the wireless device can be obtained in advance, so that the position of the client can be determined by obtaining the distance from the client to the wireless device through the signal strength.
In this embodiment, the message may be accompanied by an identification code and a signal strength, which may be the identification code and the signal strength as the content of the message, and the identification code and the signal strength may be separated by a predetermined separator, or the identification code and the signal strength may be as the attachment of the message, or one of the identification code and the signal strength may be as the content of the message and the other as the attachment of the message. Of course, other variations are possible in light of the present application. In general, a wireless signal sent by a client, for example, a mobile terminal such as a mobile phone, carries its own identification code and signal strength, and a wireless device can acquire the information by detecting the wireless signal.
Step S61: and acquiring the position information of the place where the client is located according to the basic information.
In this embodiment, the server obtains the signal strength in the message, may calculate the distance between the client and the wireless device according to the attenuation relationship between the signal strength and the distance, and may obtain the location information of the client according to the predetermined coordinate system and by combining the location and the distance of the wireless device, that is, the location information may be the coordinates of the client in the predetermined coordinate system. For example, the distance between the client and the wireless device may be calculated according to the following formula.
Pr(d)=K-10εlg(d)
Where d represents the distance between the client and the wireless device and epsilon represents the loss factor for non-free space.
In this embodiment, the predetermined coordinate system may be with the wireless device as the origin, and the position information generated at this time is the position relative to the wireless device. Of course, the coordinates may also be converted into longitude and latitude coordinates, specifically, for example, the longitude and latitude coordinates of the wireless device may be measured in advance, and after the coordinates of the client with respect to the predetermined coordinate system are measured, the longitude and latitude coordinates are calculated according to the conversion relationship between the distance and the longitude and latitude coordinates.
In this embodiment, specifically, in a scenario where a wireless device is disposed at one end of the long and narrow space, after the server receives the message, the distance between the client and the wireless device is calculated according to the attenuation relationship between the signal strength and the distance. And then, the position of the wireless equipment is used as the origin of coordinates, a single-axis coordinate system can be formed, and the distance between the client and the wireless equipment can be the coordinates of the client in the single-axis coordinate system.
In this embodiment, specifically, wireless devices are provided at both ends of the narrow space, and an entrance is provided at the middle part, in accordance with the above. When a customer with a client enters the space, there may be three situations: firstly, one of two wireless devices receives a wireless network detection signal of a client; second, both wireless devices receive the wireless network probe signal of the client. In response to the first case, after calculating the distance between the client and the wireless device that receives the wireless network sounding signal, the server may form a single-axis coordinate system with the wireless device as the origin of coordinates, where the distance may be coordinates of the client in the single-axis coordinate system. Corresponding to the second case, the signal strength generated by any one of the two wireless devices may be arbitrarily selected as the basis for calculating the distance, and one of the two wireless devices, which receives the wireless network sounding signal and has a stronger signal strength, may be selected as the basis for calculating the distance. The position of the wireless device corresponding to the selected signal strength can be used as the origin of coordinates of a single-axis coordinate system, and the measured distance is the coordinates of the client. Of course, the origin of coordinates may also be set to be located at the entrance of the middle portion of the long and narrow space, so that after the server calculates the distance between the client and the wireless device, the coordinates of the client in the coordinate system are obtained according to the distance relationship between the wireless device and the entrance.
In this embodiment, specifically, corresponding to the aforementioned scenario where three or more wireless devices are provided, the distance between the client and the wireless device may be calculated according to the attenuation relationship between the signal strength and the distance, a known two-dimensional coordinate system may be established, the coordinate of each wireless device in the coordinate system may be obtained, and then the coordinate of the client in the coordinate system, that is, the position information, may be calculated according to a triangulation algorithm.
Of course, the present application is not limited to the examples of the above embodiments, and the location information is not limited to the coordinates in the established coordinate system, and may be the distance between the client and the wireless device; or the location information can also be longitude and latitude coordinates of the client converted according to the longitude and latitude coordinates of the wireless device and the distance between the client and the wireless device.
Step S71: and correspondingly recording the identification code and the position information to form a data record.
In the embodiment, after the server calculates the position information, the position information and the identification code are correspondingly stored to form a data record. The data records may be stored by the database software or directly stored in a data table. This facilitates subsequent analysis of the stored data as a basis for the data for policy making. For example, the store owner can express from data by analyzing the movement track of the client in the shop, which areas in the shop attract the largest number of customers to stand, which indicates that there may be some commodities in the areas that are more likely to attract the customers' interests, or can research the movement track of a general customer after entering the shop, and then can set hot-selling products or new products of the shop in the main movement track, so as to achieve the effects of attracting customers and increasing sales volume.
Step S73: and generating index data according to a preset algorithm according to the data record.
In this embodiment, the index data may provide a data basis for the entity store, so that the entity store may make an operation policy based on data analysis. The index data can comprise the moving track of the customer, so that the areas in the shop attract more customers can be obtained according to the index data, the internal commodity placement of the shop is correspondingly adjusted, and more commodities can be found by the customer.
In this embodiment, the predetermined algorithm may comprise a statistical algorithm. For example, the index data includes the passenger flow volume, and the number of the clients is counted through a predetermined algorithm. The predetermined algorithm may further include a trajectory formation algorithm for forming a movement trajectory of the client in combination with the location information of the client, and may mark the movement trajectory on a map in combination with a map tool or the like. The predetermined algorithm is used to calculate the index data, so the predetermined algorithm may be different for different index data. The predetermined algorithm is not limited to the above examples, and other modifications are possible by those skilled in the art in light of the technical spirit of the present invention, and are intended to be included within the scope of the present invention as long as the functions and effects thereof are the same or similar to those of the present invention.
According to the technical scheme provided by the embodiment of the application, the position information of the customer is recorded by collecting the position information of the customer and identifying the customer through the customer. Therefore, the position of the client can be effectively tracked in the area where the wireless equipment is arranged, and based on the position information recorded by the application, the shops can analyze the moving track of the customer after the customer enters the shops and information such as arrangement of the shops which attracts the customer to stand and the like, so that the data analysis basis provided by the shops for making the operation strategy is provided. Moreover, because the identification code can uniquely identify one client, one customer can be uniquely identified, and information sharing can be carried out among different entity shops, so that the shops can know more behaviors of the customers in the operation process, and more data bases are provided for further specifying the operation strategy.
In one embodiment of the present application, the step S71 includes: and correspondingly recording the identification code of the client and the position information within a preset range to form a data record.
In this embodiment, the preset range may include a region of a business district or a business shop. Specifically, if the preset range is a business circle, the formed data record covers the position information of the client entering the business circle, namely the position information of the customer, so that the passenger flow of the whole business circle can be analyzed globally, or the movement track of the customer in the business circle is analyzed, and the positions of shops in the business circle are analyzed to be better; if the preset range is the shop, the formed data record comprises the position information of the client entering the shop, so that the passenger flow of the shop can be counted.
In this embodiment, the content of the data record may be limited by a preset range, so that the data record is more targeted, and the further calculated index data may also be more targeted. In one embodiment, the predetermined range represents a spatial range of the store. The content of the data record can aim at the position information of the client entering the shop, and the condition of the shop can be reflected more accurately according to the index data calculated by the position information.
In one embodiment, step S73 includes: and obtaining the passenger flow of the shops according to the preset algorithm. In the present embodiment, the index data includes a passenger flow volume. The predetermined algorithm may be an accumulation function or other functions capable of realizing a statistical function, and statistics is performed on the number of the clients in the data record, so as to calculate the passenger flow of the shop.
In one embodiment, step S71 includes: and correspondingly recording the time for acquiring the position information, the identification code and the position information.
Step S73 includes: and obtaining the stay time of the client at a position according to the time, the identification code and the position information according to a preset algorithm.
In this embodiment, by recording the time for acquiring the location information, it is possible to know whether a client stays at a location, and the location where the client stays may be that a commodity exists and is more attractive to customers. The predetermined algorithm may include finding data records in the data records that are close in time and have the same location information as a client, the data records characterizing a time range by an earliest time and a latest time, and a difference between the latest time and the earliest time may be a staying time of the customer.
In one embodiment, step S73 includes: and obtaining the retention rate of the shop according to the predetermined algorithm. In this embodiment, the retention rate of the customer at the store is obtained by looking up the number of the identification codes that appear at least twice on different dates and the total number of the identification codes in the data record, and comparing the number of the identification codes that appear at least twice with the total number.
Referring to fig. 2, in an embodiment of the present application, the data record further includes commodity information provided by a store corresponding to the location information. The step S73 includes the following steps.
Step S75: and forming a moving track of the client according to the data record.
Step S76: and obtaining the personalized information of the customer according to the moving track and the commodity information according to a preset algorithm.
In this embodiment, the commodity information may include a commodity position, and may further include a commodity name, a kind, a price, a style, or a combination thereof. The predetermined algorithm may include analyzing which articles are passed on the movement trajectory, analyzing at which articles stay longer, and the like. The customer personalization information may include shopping trends, such as a tendency to purchase clothing, pants, or skirts; shopping prices, such as clothing for which more than one thousand yuan is observed by one customer, or clothing for which more than one hundred yuan is held by one customer; the shopping patterns, such as a customer staying at a korean style garment for a long time or a customer staying at a washing machine having an electric drying function for a long time, are common. Of course, the client personalized information is not limited to the above examples, and other modifications are possible by those skilled in the art in light of the technical spirit of the present invention, and the scope of the present invention is to be covered by the following claims as long as the functions and effects achieved by the client personalized information are the same or similar to the present invention.
In one embodiment, the data generation method further comprises: and sending the client personalized information to a preset client. In this embodiment, the predetermined client may be a desktop computer, a notebook computer, a tablet computer, a smart phone, a smart band, smart glasses, or other terminal devices capable of receiving information. The preset client can be arranged in the shop, so that after the client moves into the shop, the server can obtain the client personalized information of the client corresponding to the client and send the client personalized information to the preset client, business personnel of the shop can know the shopping tendency of the client entering the shop, commodities can be introduced in a targeted manner, and convenience is brought to shopping of the client.
In one embodiment of the present application, the step of receiving a message in the step S51 includes: and receiving messages sent by at least three wireless devices, wherein the identification codes attached to the messages are the same. The step of acquiring location information in S61 includes: and calculating the signal strength in the received at least three messages based on a triangulation algorithm to obtain the position information of the client.
In the embodiment, the position of the client in the entity shop is positioned by adopting a triangulation algorithm, so that the position information of the client can be relatively accurately obtained. Specifically, referring to FIG. 3, assume that under a known two-dimensional coordinate system, the first coordinate system is the first coordinate systemThe coordinates of the wireless device are (X)1,Y1) The coordinates of the second wireless device are (X)2,Y2) The coordinate of the third wireless device is (X)3,Y3) Setting the coordinates of the client as (X, Y), and calculating the relationship between the signal intensity and the distance attenuation to obtain the distances D from the client to the first wireless device, the second wireless device and the third wireless device1、D2And D3Then the following system of equations exists.
(X-X1)2+(Y-Y1)2=D1 2
(X-X2)2+(Y-Y2)2=D2 2
(X-X3)2+(Y-Y3)2=D3 2
And calculating the coordinate (X, Y) of the client through solving the equation set.
In one embodiment of the present application, the message sent by the wireless device to the server is accompanied by time. The time may be the time when the wireless device sends the message or the time when the server receives the message.
In this embodiment, corresponding to the previous embodiment, the server receives the at least three messages with time attached thereto, and the location information of the client is calculated only when the time attached to the at least three messages is within a predetermined time range.
In this embodiment, the predetermined time range is used to agree that the at least three wireless devices receive the wireless network probing signal sent by the client when the client is located at the same position, which is beneficial to improving the accuracy of calculating the location information of the client, i.e., improving the positioning accuracy for the client.
In one embodiment of the present application, the step S61 includes: and obtaining the position information of the client according to the received signal strength and the data table recorded with the position information.
Referring to fig. 4, in an embodiment of the present application, the wireless device is applied to a predetermined location, the predetermined location is divided into a plurality of areas, and the data table includes signal strength, and an area distribution probability of the client in each of the plurality of areas, corresponding to the signal strength, and a cumulative distribution probability of the client falling into each of the plurality of areas, and an area strength probability of the client appearing in each area. The signal intensity is respectively and correspondingly stored with the region probability and the distribution probability; the step of obtaining the location information of the client according to the signal strength and the data table comprises the following steps.
In this embodiment, a predetermined place, such as an entity store, may be first divided into a plurality of areas, so that a certain area where a client is located is obtained through subsequent analysis, thereby completing positioning of the client, and the area where the client is located may be location information of the client.
In the embodiment, after a predetermined place is divided into a plurality of areas, positioning simulation is performed for a predetermined number of times, that is, a client is placed in the divided areas, and the signal strength of a wireless network sounding signal in each area of the client is measured and recorded by using a wireless device. The data table can be obtained through multiple times of simulation and statistical calculation.
In this embodiment, for a wireless device that receives the same signal strength of the wireless network sounding signal, the area distribution probability of the client in each area may be obtained by counting the number of times that the client is in a certain area under the same signal strength condition, compared with the total number of times that the signal strength occurs. Thus, according to the method, the signal strength and the region distribution probability of the corresponding client terminal in each region can be obtained. For the case where a plurality of wireless devices exist, the above test may be performed for each wireless device, so that the corresponding test result of each wireless device is recorded in the data table.
In this embodiment, the cumulative distribution probability of the client falling into each of the plurality of regions may be obtained by a ratio of the number of times that the client is in a certain region to the total number of times before the statistical number of times.
In this embodiment, the probability of the strength of the region may be obtained by a ratio of the number of times the signal strength appears in a region to the total number of times the client is in the region.
S63: reading the region distribution probability and the region intensity probability and reading the accumulated distribution probability in the data table according to the received signal intensity.
In this embodiment, after a customer carrying a client enters an entity reservation site provided with a wireless device, the wireless device receives a wireless network detection signal of the client and sends the signal strength to a server. The server looks up the area distribution probability and the area strength probability corresponding to the received signal strength in the data table. Corresponding to the situation that a plurality of wireless devices are arranged, the server reads the corresponding region distribution probability and the region strength probability respectively according to the signal strength received by each wireless device.
S65: and obtaining the area where the client is located based on a predetermined algorithm by using the area distribution probability, the area intensity probability and the accumulated distribution probability.
In one embodiment, for comparing all the calculated probability data, the region corresponding to the maximum probability may be used as the region where the client is located.
In one embodiment, the predetermined algorithm may be to calculate the probability that the client is located in each region according to a bayesian probability formula, and take the region corresponding to the maximum value of the probability as the region where the client is located. Specifically, the method is obtained according to the above description and in combination with the Bayesian probability formula
P(B|A)=P(A|B)×P(B)/P(A)
In the above formula, p (a) represents the region distribution probability; p (b) represents the cumulative distribution probability; p (a | B) represents the region intensity probability; p (B | a) represents the probability that the client is in a certain area when the signal strength is known.
In this embodiment, the calculation may be performed multiple times according to the above formula, and after the current signal strength is measured, the probability that the client is located in each region may be determined, and a region corresponding to the maximum value of the probabilities may be used as the region where the client is located. Corresponding to the case that a plurality of wireless devices exist, the probability P (B | a) that the client is in a certain area can be calculated for the area distribution probability P (a) corresponding to each wireless device, and finally the maximum value of P (B | a) is obtained by comparison, and the area corresponding to the maximum value is taken as the area where the current client is located.
In one embodiment, the data table includes signal strengths and location information corresponding to the signal strengths. The step of obtaining the location information of the client according to the signal strength and the data table comprises the following steps: and searching corresponding position information in the data table according to the received signal strength.
In this embodiment, the wireless device may be installed in a predetermined location, and the signal strength of the wireless network sounding signal received by the wireless device may be recorded by placing the client at a different location, so that a data table in which the signal strength and location information are recorded is formed. The data table is stored in a server. After a customer enters an entity shop, the wireless device collects wireless network detection signals of a client carried by the customer and provides the generated signal strength for the server, and at the moment, the server searches the position information corresponding to the signal strength in the data table to finish obtaining the position information.
In this embodiment, in the process of forming the data table, the client may be placed at the same position, so that the wireless device repeatedly measures the signal strength of the received wireless network sounding signal, and an average value of the results of multiple measurements is taken as the signal strength recorded in the data table. In the actual application process, when the signal intensity of the client carried by the customer is different from the signal intensity recorded in the data table, the position information corresponding to the signal intensity closest to the signal intensity of the client in the data table is obtained and used as the current position information of the client.
Referring to fig. 5, the present application further provides a server 130. The server 130 includes a message receiving module 50, a location acquiring module 60, a recording module 70, and a first processing module 80.
The message receiving module 50 is configured to receive a message sent by a wireless device, where the message is accompanied by an identification code of a client and basic information, the identification code can uniquely identify one client, and the basic information is used to obtain location information of a location where the client is located.
In this embodiment, the message receiving module 50 includes necessary hardware for enabling data communication with the wireless device, and necessary software for driving the hardware to operate. Specifically, the server 130 may be provided with a predetermined port to receive the message.
In the embodiment, the identification code is used for identifying one client, so that the clients can be distinguished according to different identification codes in the network communication process. Specifically, the client is provided with a sending module, and the sending module has a physical address capable of uniquely identifying the sending module, and the physical address can be used as the identification code.
In this embodiment, the basic information can be used to calculate the location information where the client is located. The base information may include a signal strength representing a strength of a wireless network probe signal emitted by the client received by the wireless device. The wireless network probe signal may be attenuated in signal strength as the distance of transmission increases. The signal strength of the wireless network detection signal is different when the wireless network detection signal is transmitted at different distances. The wireless device receives the wireless network detection signal and measures the signal intensity of the wireless network detection signal. Specifically, examples are: when measuring the signal strength, a reference voltage, such as a zero voltage, may be set, and the voltage generated by the received wireless network probing signal is compared with the reference voltage to obtain the signal strength. Meanwhile, the position information of the wireless device and the space information near the wireless device can be obtained in advance, so that the position of the client can be determined by obtaining the distance from the client to the wireless device through the signal strength.
In this embodiment, the message may be accompanied by an identification code and a signal strength, which may be the identification code and the signal strength as the content of the message, and the identification code and the signal strength may be separated by a predetermined separator, or the identification code and the signal strength may be as the attachment of the message, or one of the identification code and the signal strength may be as the content of the message and the other as the attachment of the message. Of course, other variations are possible in light of the present application. In general, a wireless signal sent by a client, for example, a mobile terminal such as a mobile phone, carries its own identification code and signal strength, and a wireless device can acquire the information by detecting the wireless signal.
The location obtaining module 60 is configured to obtain location information of a location where the client is located according to the basic information.
In this embodiment, the location obtaining module 60 obtains the signal strength in the message, may calculate the distance between the client and the wireless device according to the attenuation relationship between the signal strength and the distance, and may obtain the location information of the client according to the predetermined coordinate system and by combining the location and the distance of the wireless device, that is, the location information may be the coordinates of the client in the predetermined coordinate system. For example, the distance between the client and the wireless device may be calculated according to the following formula.
Pr(d)=K-10εlg(d)
Where d represents the distance between the client and the wireless device and epsilon represents the loss factor for non-free space.
In this embodiment, the predetermined coordinate system may be with the wireless device as the origin, and the position information generated at this time is the position relative to the wireless device. Of course, the coordinates may also be converted into longitude and latitude coordinates, specifically, for example, the longitude and latitude coordinates of the wireless device may be measured in advance, and after the coordinates of the client with respect to the predetermined coordinate system are measured, the longitude and latitude coordinates are calculated according to the conversion relationship between the distance and the longitude and latitude coordinates.
In this embodiment, specifically, in a scenario where a wireless device is disposed at one end of the long and narrow space corresponding to the foregoing, after the location obtaining module 60 receives the message, the distance between the client and the wireless device is calculated according to the attenuation relationship between the signal strength and the distance. And then, the position of the wireless equipment is used as the origin of coordinates, a single-axis coordinate system can be formed, and the distance between the client and the wireless equipment can be the coordinates of the client in the single-axis coordinate system.
In this embodiment, specifically, wireless devices are provided at both ends of the narrow space, and an entrance is provided at the middle part, in accordance with the above. When a customer with a client enters the space, there may be two situations: firstly, one of two wireless devices receives a wireless network detection signal of a client; second, both wireless devices receive the wireless network probe signal of the client. In response to the first case, after calculating the distance between the client and the wireless device receiving the wireless network sounding signal, the server 130 may form a single-axis coordinate system with the wireless device as the origin of coordinates, where the distance may be coordinates of the client in the single-axis coordinate system. Corresponding to the second case, the signal strength generated by any one of the two wireless devices may be arbitrarily selected as the basis for calculating the distance, and one of the two wireless devices, which receives the wireless network sounding signal and has a stronger signal strength, may be selected as the basis for calculating the distance. The position of the wireless device corresponding to the selected signal strength can be used as the origin of coordinates of a single-axis coordinate system, and the measured distance is the coordinates of the client. Of course, the origin of coordinates may also be set to be located at the entrance of the middle portion of the long and narrow space, so that after the distance between the client and the wireless device is calculated by the position obtaining module 60, the coordinates of the client in the coordinate system are obtained according to the distance relationship between the wireless device and the entrance.
In this embodiment, specifically, corresponding to the aforementioned scenario where three or more wireless devices are provided, the distance between the client and the wireless device may be calculated according to the attenuation relationship between the signal strength and the distance, a known two-dimensional coordinate system may be established, the coordinate of each wireless device in the coordinate system may be obtained, and then the coordinate of the client in the coordinate system, that is, the position information, may be calculated according to a triangulation algorithm.
Of course, the present application is not limited to the examples of the above embodiments, and the location information is not limited to the coordinates in the established coordinate system, and may be the distance between the client and the wireless device; or the location information can also be longitude and latitude coordinates of the client converted according to the longitude and latitude coordinates of the wireless device and the distance between the client and the wireless device.
The recording module 70 is configured to record the identification code and the location information correspondingly to form a data record.
In the present embodiment, after the position obtaining module 60 calculates the position information, the recording module 70 stores the position information and the identification code in association with each other to form a data record. The data records may be stored by the database software or directly stored in a data table. The recording module 70 may be a hardware storage device, or may be software stored in a hardware storage device, such as a database. This facilitates subsequent analysis of the stored data as a basis for the data for policy making. For example, the store owner can express from data by analyzing the movement track of the client in the shop, which areas in the shop attract the largest number of customers to stand, which indicates that there may be some commodities in the areas that are more likely to attract the customers' interests, or can research the movement track of a general customer after entering the shop, and then can set hot-selling products or new products of the shop in the main movement track, so as to achieve the effects of attracting customers and increasing sales volume.
The first processing module 80 is configured to generate the index data according to a predetermined algorithm based on the data records.
In this embodiment, the index data may provide a data basis for the entity store, so that the entity store may make an operation policy based on data analysis. The index data can comprise the moving track of the customer, so that the areas in the shop attract more customers can be obtained according to the index data, the internal commodity placement of the shop is correspondingly adjusted, and more commodities can be found by the customer.
In this embodiment, the predetermined algorithm may comprise a statistical algorithm. For example, the index data includes the passenger flow volume, and the number of the clients is counted through a predetermined algorithm. The predetermined algorithm may further include a trajectory formation algorithm for forming a movement trajectory of the client in combination with the location information of the client, and may mark the movement trajectory on a map in combination with a map tool or the like. The predetermined algorithm is used to calculate the index data, so the predetermined algorithm may be different for different index data. The predetermined algorithm is not limited to the above examples, and other modifications are possible by those skilled in the art in light of the technical spirit of the present invention, and are intended to be included within the scope of the present invention as long as the functions and effects thereof are the same or similar to those of the present invention.
Referring to fig. 6, an embodiment of the present application further provides a positioning method, which includes the following steps.
Step S77: receiving a first message sent by a first wireless device, wherein the first message is accompanied by a first identification code and a first signal strength; receiving a second message sent by a second wireless device, wherein the second message is accompanied by a second identification code and a second signal strength; receiving a third message sent by a third wireless device, wherein the third message is accompanied by a third identification code and a third signal strength; the first identification code, the second identification code and the third identification code are used for identifying a client.
In this embodiment, the client may be any intelligent mobile terminal. Such as: smart phones, smart bracelets, smart watches, smart glasses, tablet computers, or the like. Of course, the client is not limited to the above example.
In this embodiment, the wireless device may be any device capable of performing data communication with a client as an access point of a network, or may be only a device capable of receiving a wireless network probe signal. Specifically, the wireless device may be a wireless router; or a device equipped with a wireless network card, such as a desktop computer or a notebook computer; or a mobile terminal configured as an access point, such as a smart phone, a smart bracelet, a smart watch, smart glasses, or a tablet computer.
In the embodiment, the identification code is used for identifying one client, so that the clients can be distinguished according to different identification codes in the network communication process. Specifically, the client is provided with a sending module, and the sending module has a physical address capable of uniquely identifying the sending module, and the physical address can be used as the identification code.
In the present embodiment, the wireless network sounding signal may be attenuated in signal strength as the transmission distance increases. The signal strength of the wireless network detection signal is different when the wireless network detection signal is transmitted at different distances. The wireless device receives the wireless network detection signal and measures the signal intensity of the wireless network detection signal. Specifically, examples are: when measuring the signal strength, a reference voltage, such as a zero voltage, may be set, and the voltage generated by the received wireless network probing signal is compared with the reference voltage to obtain the signal strength.
In this embodiment, the first wireless device, the second wireless device and the third wireless device may be distributed in different corners of a space, so as to locate the client in the space.
Step S79: when the first identification code, the second identification code and the third identification code are the same, calculating the coordinates of the client in a preset coordinate system according to a first distance between the client and the first wireless device, a second distance between the client and the second wireless device and a third distance between the client and the third wireless device; wherein the first distance is calculated from the first signal strength, the second distance is calculated from the second signal strength, and the third distance is calculated from the third signal strength.
In this embodiment, the first identification code, the second identification code, and the third identification code are the same, which indicates that the first wireless device, the second wireless device, and the third wireless device receive a wireless network detection signal sent by the same client, and thus can locate the location of the client.
In the present embodiment, the first distance, the second distance, and the third distance are calculated from the relationship between the signal intensity and the distance attenuation. The predetermined coordinate system may be a coordinate system established when the first wireless device, the second wireless device, and the third wireless device are set, and may be a coordinate system in which the position of the first wireless device, the second wireless device, or the third wireless device is used as an origin of the predetermined coordinate system, and the coordinates of the other two wireless devices are obtained according to the positions between the other two wireless devices and the wireless device used as the origin; it is also possible to select a known position as the origin of the predetermined coordinate system, and derive the coordinates of the three wireless devices according to the positional relationship between the first wireless device, the second wireless device, and the third wireless device and the origin.
In the present embodiment, for example, referring to fig. 3, it is assumed that the coordinates of the first wireless device are (X) in the known two-dimensional coordinate system1,Y1) The coordinates of the second wireless device are (X)2,Y2) The coordinate of the third wireless device is (X)3, Y3) Setting the coordinates of the client as (X, Y), and calculating the relationship between the signal intensity and the distance attenuation to obtain the distances D from the client to the first wireless device, the second wireless device and the third wireless device1、D2And D3Then the following system of equations exists.
(X-X1)2+(Y-Y1)2=D1 2
(X-X2)2+(Y-Y2)2=D2 2
(X-X3)2+(Y-Y3)2=D3 2
And calculating the coordinate (X, Y) of the client through solving the equation set.
In one embodiment of the present application, the first message, the second message, and the third message are each accompanied by a time, and the coordinates of the client in the predetermined coordinate system are calculated only when the times accompanied by the first message, the second message, and the third message are within a predetermined time range.
In this embodiment, the time may be the time when the wireless device sends out the message, or the time when the server receives the message.
In this embodiment, corresponding to the previous embodiment, the server receives the at least three messages with time attached respectively, and the location of the client is calculated when the time attached to the at least three messages is within a predetermined time range.
In this embodiment, the predetermined time range is used to agree that the at least three wireless devices receive the wireless network probing signal sent by the client when the client is located at the same position, which is beneficial to improving the accuracy of calculating the location information of the client, i.e., improving the positioning accuracy for the client.
Referring to fig. 7, the present embodiment further provides a server 150. The server 150 includes: a receiving module 151 and a first calculating module 153.
A receiving module 151, configured to receive a first message sent by a first wireless device, where the first message is accompanied by a first identification code and a first signal strength; receiving a second message sent by a second wireless device, wherein the second message is accompanied by a second identification code and a second signal strength; receiving a third message sent by a third wireless device, wherein the third message is accompanied by a third identification code and a third signal strength; the first identification code, the second identification code and the third identification code are used for identifying a client.
In this embodiment, the wireless device may be any device capable of performing data communication with a client as an access point of a network, or may be only a device capable of receiving a wireless network probe signal. Specifically, the wireless device may be a wireless router; or a device equipped with a wireless network card, such as a desktop computer or a notebook computer; or a mobile terminal configured as an access point, such as a smart phone, a smart bracelet, a smart watch, smart glasses, or a tablet computer.
In the embodiment, the identification code is used for identifying one client, so that the clients can be distinguished according to different identification codes in the network communication process. Specifically, the client is provided with a sending module, and the sending module has a physical address capable of uniquely identifying the sending module, and the physical address can be used as the identification code.
In the present embodiment, the wireless network sounding signal may be attenuated in signal strength as the transmission distance increases. The signal strength of the wireless network detection signal is different when the wireless network detection signal is transmitted at different distances. The wireless device receives the wireless network detection signal and measures the signal intensity of the wireless network detection signal. Specifically, examples are: when measuring the signal strength, a reference voltage, such as a zero voltage, may be set, and the voltage generated by the received wireless network probing signal is compared with the reference voltage to obtain the signal strength.
In this embodiment, the first wireless device, the second wireless device and the third wireless device may be distributed in different corners of a space, so as to locate the client in the space.
The first calculating module 153 is configured to calculate, when the first identification code, the second identification code and the third identification code are the same, coordinates of the client in a predetermined coordinate system according to a first distance between the client and the first wireless device, a second distance between the client and the second wireless device, and a third distance between the client and the third wireless device; wherein the first distance is calculated from the first signal strength, the second distance is calculated from the second signal strength, and the third distance is calculated from the third signal strength.
In this embodiment, the first identification code, the second identification code, and the third identification code are the same, which indicates that the first wireless device, the second wireless device, and the third wireless device receive a wireless network detection signal sent by the same client, and thus can locate the location of the client.
In the present embodiment, the first distance, the second distance, and the third distance are calculated from the relationship between the signal intensity and the distance attenuation. The predetermined coordinate system may be a coordinate system established when the first wireless device, the second wireless device, and the third wireless device are set, and may be a coordinate system in which the position of the first wireless device, the second wireless device, or the third wireless device is used as an origin of the predetermined coordinate system, and the coordinates of the other two wireless devices are obtained according to the positions between the other two wireless devices and the wireless device used as the origin; it is also possible to select a known position as the origin of the predetermined coordinate system, and derive the coordinates of the three wireless devices according to the positional relationship between the first wireless device, the second wireless device, and the third wireless device and the origin.
In the present embodiment, for example, referring to fig. 3, it is assumed that the coordinates of the first wireless device are (X) in the known two-dimensional coordinate system1,Y1) The coordinates of the second wireless device are (X)2,Y2) The coordinate of the third wireless device is (X)3, Y3) Setting the coordinates of the client as (X, Y), and calculating the relationship between the signal intensity and the distance attenuation to obtain the distances D from the client to the first wireless device, the second wireless device and the third wireless device1、D2And D3Then the following system of equations exists.
(X-X1)2+(Y-Y1)2=D1 2
(X-X2)2+(Y-Y2)2=D2 2
(X-X3)2+(Y-Y3)2=D3 2
And calculating the coordinate (X, Y) of the client through solving the equation set.
Referring to fig. 8, an embodiment of the present application further provides a positioning method, where the positioning method is used to perform positioning for an area where a client is located after a predetermined location is divided into a plurality of areas, and a first wireless device, a second wireless device, and a third wireless device are disposed in the predetermined location. The positioning method comprises the following steps.
In this embodiment, the client may be any intelligent mobile terminal. Such as: smart phones, smart bracelets, smart watches, smart glasses, tablet computers, or the like. Of course, the client is not limited to the above example.
In this embodiment, the wireless device may be any device capable of performing data communication with a client as an access point of a network, or may be only a device capable of receiving a wireless network probe signal. Specifically, the wireless device may be a wireless router; or a device equipped with a wireless network card, such as a desktop computer or a notebook computer; or a mobile terminal configured as an access point, such as a smart phone, a smart bracelet, a smart watch, smart glasses, or a tablet computer.
In this embodiment, a predetermined place, such as an entity store, may be first divided into a plurality of areas, so that a certain area where a client is located is obtained through subsequent analysis, thereby completing positioning of the client, and the area where the client is located may be location information of the client.
Step S81: when the client is known to be in one of the plurality of areas, recording the signal strength of the wireless network detection signal received by the first wireless device, the second wireless device and the third wireless device from the client and the area where the client is located.
In this embodiment, after dividing the predetermined location into regions, the client is placed into a known region, so that the first wireless device, the second wireless device and the third wireless device can receive the wireless network probing signal of the client, and accordingly generate the signal strength. The signal strength and the area information may be recorded by means of a data table and may be stored in a database or may be stored on a storage medium only in the form of a data table.
Step S82: after repeating the steps for a preset number of times, calculating and recording the area distribution probability of each area of the client corresponding to the signal intensity; calculating and recording the cumulative distribution probability of each region of the plurality of regions into which the client falls in the preset times; and calculating and recording a region intensity probability at which the signal intensity occurs in each region.
In this embodiment, after repeating step S81 for a predetermined number of times, a certain number of records may be formed, and the data of these records may represent the distribution rule of the client in a predetermined location in some cases.
In this embodiment, for a wireless device that receives the same signal strength of the wireless network sounding signal, the area distribution probability of the client in each area may be obtained by counting the number of times that the client is in a certain area under the same signal strength condition, compared with the total number of times that the signal strength occurs. Thus, according to the method, the signal strength and the region distribution probability of the corresponding client terminal in each region can be obtained. For the case where a plurality of wireless devices exist, the above test may be performed for each wireless device, so that the corresponding test result of each wireless device is recorded in the data table.
In this embodiment, the cumulative distribution probability of the client falling into each of the plurality of regions may be obtained by a ratio of the number of times that the client is in a certain region to the total number of times before the statistical number of times.
In this embodiment, the probability of the strength of the region may be obtained by a ratio of the number of times the signal strength appears in a region to the total number of times the client is in the region.
Step S83: when the area of a client in a predetermined place is unknown, the signal strength of the wireless network detection signal sent by the client, which is received by the first wireless device, the second wireless device and the third wireless device, is obtained.
Step S85: and calculating the signal intensity, the region distribution probability, the region intensity probability and the distribution probability according to a preset algorithm to obtain the region where the client is located.
In this embodiment, in order to compare all the calculated probability data, the region corresponding to the maximum probability may be used as the region where the client is located.
In one embodiment, the predetermined algorithm may be to calculate the probability that the client is located in each region according to a bayesian probability formula, and take the region corresponding to the maximum value of the probability as the region where the client is located. Specifically, the method is obtained according to the above description and in combination with the Bayesian probability formula
P(B|A)=P(A|B)×P(B)/P(A)
In the above formula, p (a) represents the region distribution probability; p (b) represents the cumulative distribution probability; p (a | B) represents the region intensity probability; p (B | a) represents the probability that the client is in a certain area when the signal strength is known.
In this embodiment, the probability that the client is located in each region after the current signal strength is measured can be obtained through multiple calculations according to the above formula, and the region corresponding to the maximum value of the probability can be used as the region where the client is located. Corresponding to the case that a plurality of wireless devices exist, the probability P (B | a) that the client is in a certain area can be calculated for the area distribution probability P (a) corresponding to each wireless device, and finally the maximum value of P (B | a) is obtained by comparison, and the area corresponding to the maximum value is taken as the area where the current client is located.
In this embodiment, the signal strength of at least three wireless devices for the same client is obtained, so that the client is accurately located. The inventor finds that due to the fact that the three wireless devices can receive wireless network detection signals sent by the client from different angles, environment interference can be effectively reduced, and accuracy of client positioning is improved.
Referring to fig. 9, the present embodiment further provides a server 160. The server 160 is configured to locate an area where a client is located after a predetermined location is divided into a plurality of areas, where a first wireless device, a second wireless device, and a third wireless device are disposed. The server 160 includes: a recording module 161, a second processing module 163, a signal strength acquisition module 165, and a second calculation module 167.
The recording module 161 is configured to record, when it is known that the client is located in one of the several areas, the signal strength of the wireless network sounding signal received by the client by the first wireless device, the second wireless device, and the third wireless device, and the area where the client is located.
In this embodiment, after dividing the predetermined location into regions, the client is placed into a known region, so that the first wireless device, the second wireless device and the third wireless device can receive the wireless network probing signal of the client, and accordingly generate the signal strength. The signal strength and the area information may be recorded by means of a data table and may be stored in a database or may be stored on a storage medium only in the form of a data table.
The second processing module 163 is configured to calculate and record the area distribution probability of each of the plurality of areas where the client corresponding to the signal strength is located when the number of times of the recording operation performed by the recording module 161 reaches a predetermined number of times; calculating and recording the cumulative distribution probability of each region of the plurality of regions into which the client falls in the preset times; and calculating and recording a region intensity probability at which the signal intensity occurs in each region.
In this embodiment, after the recording module 161 records a certain amount of data, the recorded data can represent the distribution rule of the client in a predetermined location in some cases.
In this embodiment, for a wireless device that receives the same signal strength of the wireless network sounding signal, the area distribution probability of the client in each area may be obtained by counting the number of times that the client is in a certain area under the same signal strength condition, compared with the total number of times that the signal strength occurs. Thus, according to the method, the signal strength and the region distribution probability of the corresponding client terminal in each region can be obtained. For the case where a plurality of wireless devices exist, the above test may be performed for each wireless device, so that the corresponding test result of each wireless device is recorded in the data table.
In this embodiment, the cumulative distribution probability of the client falling into each of the plurality of regions may be obtained by a ratio of the number of times that the client is in a certain region to the total number of times before the statistical number of times.
In this embodiment, the probability of the strength of the region may be obtained by a ratio of the number of times the signal strength appears in a region to the total number of times the client is in the region.
The signal strength obtaining module 165 is configured to obtain, when the area where the client is located in the predetermined place is unknown, the signal strength of the wireless network sounding signal sent by the client, which is received by the first wireless device, the second wireless device, and the third wireless device.
The second calculating module 167 is configured to calculate the signal strength, the region probability, and the distribution probability according to a predetermined algorithm to obtain a region where the client is located.
In this embodiment, in order to compare all the calculated probability data, the region corresponding to the maximum probability may be used as the region where the client is located.
In one embodiment, the predetermined algorithm may be to calculate the probability that the client is located in each region according to a bayesian probability formula, and take the region corresponding to the maximum value of the probability as the region where the client is located. Specifically, the method is obtained according to the above description and in combination with the Bayesian probability formula
P(B|A)=P(A|B)×P(B)/P(A)
In the above formula, p (a) represents the region distribution probability; p (b) represents the cumulative distribution probability; p (a | B) represents the region intensity probability; p (B | a) represents the probability that the client is in a certain area when the signal strength is known.
In this embodiment, the probability that the client is located in each region after the current signal strength is measured can be obtained through multiple calculations according to the above formula, and the region corresponding to the maximum value of the probability can be used as the region where the client is located. Corresponding to the case that a plurality of wireless devices exist, the probability P (B | a) that the client is in a certain area can be calculated for the area distribution probability P (a) corresponding to each wireless device, and finally the maximum value of P (B | a) is obtained by comparison, and the area corresponding to the maximum value is taken as the area where the current client is located.
In this embodiment, the signal strength of at least three wireless devices for the same client is obtained, so that the client is accurately located. The inventor finds that due to the fact that the three wireless devices can receive wireless network detection signals sent by the client from different angles, environment interference can be effectively reduced, and accuracy of client positioning is improved.
Referring to fig. 10, an embodiment of the present application further provides a data generating method, which includes the following steps.
Step S21: and receiving a wireless network detection signal, wherein the wireless network detection signal is attached with an identification code capable of uniquely identifying one client.
In this embodiment, the wireless device may be any device capable of performing data communication with a client as an access point of a network, or may be only a device capable of receiving a wireless network probe signal. Specifically, the wireless device may be a wireless router; or a device equipped with a wireless network card, such as a desktop computer or a notebook computer; or a mobile terminal configured as an access point, such as a smart phone, a smart bracelet, a smart watch, smart glasses, or a tablet computer.
In the embodiment, the identification code is used for identifying one client, so that the clients can be distinguished according to different identification codes in the network communication process. Specifically, the client is provided with a sending module capable of sending a wireless network detection signal, the sending module is provided with a physical address capable of uniquely identifying the sending module, and the physical address can be used as the identification code.
In this embodiment, the wireless network probing signal is accompanied by an identification code, so that the wireless device receiving the wireless network probing signal can distinguish different sources of the wireless network probing signal, i.e. from different clients, according to the identification code. Specifically, the way of attaching the identification code to the wireless network probe signal includes using the identification code as part or all of the content of the wireless network probe signal, or using the identification code as an accessory to the wireless network probe signal.
In this embodiment, the wireless device is located in a physical store. By arranging the wireless equipment in the entity shop, when a customer carrying the client enters the entity shop, the wireless equipment can receive wireless network detection signals sent by the wireless equipment, and further, the relevant position information of the client in the entity shop can be recorded.
Step S31: and obtaining the signal intensity according to the received wireless network detection signal.
In the present embodiment, the wireless network sounding signal may be attenuated in signal strength as the transmission distance increases. The signal strength of the wireless network detection signal is different when the wireless network detection signal is transmitted at different distances. The wireless device receives the wireless network detection signal and measures the signal intensity of the wireless network detection signal. Specifically, examples are: when measuring the signal strength, a reference voltage, such as a zero voltage, may be set, and the voltage generated by the received wireless network probing signal is compared with the reference voltage to obtain the signal strength.
In this embodiment, after the customer enters the physical store, as the customer moves in the physical store, the distance between the client carried by the customer and the wireless device changes, so that the signal strength of the wireless network sounding signal received by the wireless device also changes.
In this embodiment, the number of wireless devices may be at least one. In some cases, the physical store may be a narrow and long space with one end being accessed, and a wireless device may be disposed at an end of the space away from the access, so that a client entering the space from the access can be received by the wireless device when sending out the wireless network detection signal. In some cases, the physical store may be a relatively long and narrow space, and the middle part of the long side of the space is provided with an entrance, and at this time, two ends of the long side of the space may be respectively provided with a wireless device, so that the wireless network detection signal sent by the client entering the space may be received by one or both of the two wireless devices. In some cases, the physical store may be more square in space, in which case three or more wireless devices may be provided. Certainly, the specific number of the wireless devices is combined with the size of the space of the store, the larger the space is, the more the number of the wireless devices which need to be set is, and the wireless devices can be relatively dispersed, so that the wireless network detection signals sent by the client can be received. Of course, the foregoing example description is only a few examples in combination with the scenario, and the application is not limited to the foregoing examples, and the number of wireless devices may also be set to a larger number according to practical situations.
Step S41: sending a message accompanied by the identification code and the signal strength to a predetermined server.
In this embodiment, the wireless device can collect the wireless network probe signal, and when receiving the wireless network probe signal, the wireless network probe signal is sent to the predetermined server, so that the information collected by the wireless device can be recorded and stored by the predetermined server. Further, the predetermined server can position the client according to the signal strength provided by the wireless device, so that the movement track of the client can be recorded.
In this embodiment, at least one wireless device is set in an entity store, and when the number of wireless devices receiving wireless network probing signals of the same client is more than one, the wireless devices receiving the wireless network probing signals all send an identification code and signal strength to a predetermined server.
In this embodiment, the message may be accompanied by an identification code and a signal strength, which may be the identification code and the signal strength as the content of the message, and the identification code and the signal strength may be separated by a predetermined separator, or the identification code and the signal strength may be as the attachment of the message, or one of the identification code and the signal strength may be as the content of the message and the other as the attachment of the message. Of course, other variations are possible in light of the present application.
Referring to fig. 11, the present disclosure also provides a wireless device 120. The wireless device 120 includes a signal receiving module 20, a signal strength generating module 30, and a message transmitting module 40.
The signal receiving module 20 is configured to receive the wireless network probing signal, where the wireless network probing signal is accompanied by an identification code that uniquely identifies a client.
In this embodiment, the wireless device 120 may be any device capable of performing data communication with a client as an access point of a network, or may be only a device capable of receiving a wireless network probe signal. The signal receiving module can comprise necessary hardware for receiving the wireless network detection signal and necessary software for driving the hardware to work. In particular, wireless device 120 may be a wireless router; or a device equipped with a wireless network card, such as a desktop computer or a notebook computer; or a mobile terminal configured as an access point, such as a smart phone, a smart bracelet, a smart watch, smart glasses, or a tablet computer.
In the embodiment, the identification code is used for identifying one client, so that the clients can be distinguished according to different identification codes in the network communication process. Specifically, the client is provided with a sending module capable of sending a wireless network detection signal, the sending module is provided with a physical address capable of uniquely identifying the sending module, and the physical address can be used as the identification code.
In this embodiment, the wireless network probe signal is accompanied by an identification code, so that the wireless device 120 receiving the wireless network probe signal can distinguish the wireless network probe signal from different sources, i.e. from different clients, according to the identification code. Specifically, the way of attaching the identification code to the wireless network probe signal includes using the identification code as part or all of the content of the wireless network probe signal, or using the identification code as an accessory to the wireless network probe signal.
In this embodiment, the wireless device 120 is located in a physical store. By arranging the wireless device 120 in the entity shop, when a customer carrying a client enters the entity shop, the wireless device 120 can receive a wireless network detection signal sent by the client, and further record the relevant position information of the client in the entity shop.
The signal strength generating module 30 is configured to obtain a signal strength according to the received wireless network probing signal.
In the present embodiment, the wireless network sounding signal may be attenuated in signal strength as the transmission distance increases. The signal strength of the wireless network detection signal is different when the wireless network detection signal is transmitted at different distances. The wireless device 120 receives the wireless network probing signal and measures the signal strength of the wireless network probing signal. Specifically, examples are: when measuring the signal strength, a reference voltage, such as a zero voltage, may be set, and the voltage generated by the received wireless network probing signal is compared with the reference voltage to obtain the signal strength.
In this embodiment, after the customer enters the physical store, as the customer moves in the physical store, the distance between the client carried by the customer and the wireless device 120 also changes, so that the signal strength of the wireless network sounding signal received by the wireless device 120 also changes.
In this embodiment, the number of wireless devices 120 may be at least one. In some cases, the physical store may be a narrow and long space with one end being accessed, and a wireless device 120 may be disposed at an end of the space away from the access, so that a client entering the space from the access can be received by the wireless device 120 when sending out the wireless network detection signal. In some cases, the physical store may be a relatively long and narrow space, and the middle portion of the long side of the space is provided with an entrance, and at this time, two wireless devices 120 may be respectively disposed at two ends of the long side of the space, so that the wireless network detection signal sent by the client entering the space may be received by one or both of the two wireless devices 120. In some cases, the physical store may be more square in space, in which case three or more wireless devices 120 may be provided. Of course, the specific number of the wireless devices 120 is also combined with the size of the space of the store, and the larger the space is, the larger the number of the wireless devices 120 that need to be set is, and the wireless devices 120 may be set to be relatively dispersed, which is beneficial to receiving the wireless network detection signal sent by the client. Of course, the foregoing example description is only a few examples in combination with the scenario, and the application is not limited to the foregoing examples, and the number of the wireless devices 120 may also be set to be larger according to the actual situation.
The message sending module 40 is used for sending the message attached with the identification code and the signal strength to the server.
In this embodiment, the message sending module 40 may include necessary hardware for implementing data communication with the server, and necessary software for driving the hardware to operate. The wireless device can collect the wireless network probing signals, and when receiving the wireless network probing signals, the wireless device sends the signal strength and the identification code of the wireless network probing signals to the server through the message sending module 40, so as to record and store the information collected by the wireless device 120 through the server. Further, the server can locate the client according to the signal strength provided by the wireless device 120, so that the movement track of the client can be recorded.
In this embodiment, at least one wireless device 120 is set in an entity store, and when the number of wireless devices 120 receiving the wireless network probing signal of the same client is more than one, the wireless devices 120 receiving the wireless network probing signal all send the identification code and the signal strength to the server.
In this embodiment, the message may be accompanied by an identification code and a signal strength, which may be the identification code and the signal strength as the content of the message, and the identification code and the signal strength may be separated by a predetermined separator, or the identification code and the signal strength may be as the attachment of the message, or one of the identification code and the signal strength may be as the content of the message and the other as the attachment of the message. Of course, other variations are possible in light of the present application.
According to the technical scheme provided by the embodiment of the application, the position information of the customer is recorded by collecting the position information of the customer and identifying the customer through the customer. Therefore, the position of the client can be effectively tracked in the area where the wireless equipment is arranged, and the moving track of the client can be formed according to the recorded position information. Based on the position information recorded by the application, the shops can analyze the moving track of the customers after entering the shops, and the arrangement of the shops attracts the customers to stand and the like, so as to provide a data analysis basis for the shops to make the operation strategy. Moreover, because the identification code can uniquely identify one client, one customer can be uniquely identified, and information sharing can be carried out among different entity shops, so that the shops can know more behaviors of the customers in the operation process, and more data bases are provided for further specifying the operation strategy.
It should be noted that the apparatus provided in the embodiments of the present application may implement the functions in the steps in the corresponding method, and specific implementations of each functional module in the apparatus may refer to the descriptions in the corresponding method embodiments.
Although the present application has been described in terms of embodiments, those of ordinary skill in the art will recognize that there are numerous variations and permutations of the present application without departing from the spirit of the application, and it is intended that the appended claims encompass such variations and permutations without departing from the spirit of the application.

Claims (9)

1. A method of positioning, comprising:
receiving a message sent by a wireless device, wherein the message is attached with an identification code of a client and basic information, the identification code identifies the client, and the basic information is used for acquiring position information of a place where the client is located; the basic information comprises signal strength which represents the strength of a wireless network detection signal sent by the client and received by the wireless device; the wireless device is applied to a predetermined place which is divided into a plurality of areas;
acquiring the region distribution probability of the client corresponding to the signal intensity in each of the plurality of regions, the cumulative distribution probability of the client falling into each of the plurality of regions, and the region intensity probability of the signal intensity in each region; wherein, include: searching a data table for the region distribution probability, the region intensity probability and the cumulative distribution probability corresponding to the signal intensity; the data table comprises signal strength, the area distribution probability of the client in each of the plurality of areas, the cumulative distribution probability of the client falling into each of the plurality of areas and the area strength probability of the signal strength of each area, wherein the area distribution probability corresponds to the signal strength; the region strength probability comprises the ratio of the number of times the signal strength appears in a region to the total number of times the client is in the region;
obtaining the area where the client is located according to the area distribution probability, the area intensity probability and the accumulative distribution probability; specifically, the method includes comparing probability data calculated by all the regions, and taking the region corresponding to the maximum probability as the region where the client is located.
2. The method of claim 1, further comprising:
correspondingly recording the identification code and the position information to form a data record;
and generating index data according to a preset algorithm according to the data record.
3. The method of claim 2, wherein the step of forming the data record comprises: and correspondingly recording the identification code of the client and the position information within a preset range to form a data record.
4. The method of claim 3, the preset range representing a spatial range of a store.
5. The method of claim 2, wherein the step of forming the data record comprises: and correspondingly recording the time for acquiring the position information, the identification code and the position information.
6. The method of claim 2, wherein the step of generating metric data comprises: and obtaining the staying time of the client at a position according to the time for acquiring the position information, the identification code and the position information according to a preset algorithm.
7. The method of claim 3, the metric data comprising retention or passenger flow.
8. The method of claim 2, further comprising shop-provided merchandise information corresponding to the location information; the step of generating the index data includes:
forming a moving track of the client according to the data record;
and obtaining the personalized information of the customer according to the moving track and the commodity information according to a preset algorithm.
9. The method of claim 8, further comprising: and sending the client personalized information to a preset client.
CN201910583509.6A 2014-10-23 2014-10-23 Positioning method Active CN110290584B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410573459.0A CN105592547B (en) 2014-10-23 2014-10-23 Data creation method, server and localization method
CN201910583509.6A CN110290584B (en) 2014-10-23 2014-10-23 Positioning method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910583509.6A CN110290584B (en) 2014-10-23 2014-10-23 Positioning method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201410573459.0A Division CN105592547B (en) 2014-10-23 2014-10-23 Data creation method, server and localization method

Publications (2)

Publication Number Publication Date
CN110290584A CN110290584A (en) 2019-09-27
CN110290584B true CN110290584B (en) 2021-03-02

Family

ID=55931647

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910583509.6A Active CN110290584B (en) 2014-10-23 2014-10-23 Positioning method
CN201410573459.0A Active CN105592547B (en) 2014-10-23 2014-10-23 Data creation method, server and localization method

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201410573459.0A Active CN105592547B (en) 2014-10-23 2014-10-23 Data creation method, server and localization method

Country Status (2)

Country Link
CN (2) CN110290584B (en)
HK (1) HK1224125A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109214897B (en) * 2018-10-08 2019-11-29 百度在线网络技术(北京)有限公司 Determine the method, apparatus, equipment and computer-readable medium of laying for goods position

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103237347A (en) * 2013-04-26 2013-08-07 北京迈普华兴信息技术有限公司 Terminal positioning method and device
CN103582119A (en) * 2013-10-12 2014-02-12 上海交通大学 Fingerprint database construction method of WiFi indoor positioning system
CN103592622A (en) * 2012-08-13 2014-02-19 贝思文 A signal positioning system and a positioning method thereof
CN103618997A (en) * 2013-11-22 2014-03-05 北京邮电大学 Indoor positioning method and device based on signal intensity probability
CN103687004A (en) * 2013-12-25 2014-03-26 厦门雅迅网络股份有限公司 Terminal signal strength self-correcting WIFI (wireless fidelity) positioning method based on cumulative probability distribution
CN103699999A (en) * 2013-12-11 2014-04-02 周良文 Electronic commerce information system and method based on WIFI (Wireless Fidelity) intelligent routing equipment
CN103796165A (en) * 2014-02-27 2014-05-14 中国矿业大学(北京) Probabilistic method for determining location of underground personnel
CN104066172A (en) * 2014-06-16 2014-09-24 南京航空航天大学 Method for positioning AP in wireless local area network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103592622A (en) * 2012-08-13 2014-02-19 贝思文 A signal positioning system and a positioning method thereof
CN103237347A (en) * 2013-04-26 2013-08-07 北京迈普华兴信息技术有限公司 Terminal positioning method and device
CN103582119A (en) * 2013-10-12 2014-02-12 上海交通大学 Fingerprint database construction method of WiFi indoor positioning system
CN103618997A (en) * 2013-11-22 2014-03-05 北京邮电大学 Indoor positioning method and device based on signal intensity probability
CN103699999A (en) * 2013-12-11 2014-04-02 周良文 Electronic commerce information system and method based on WIFI (Wireless Fidelity) intelligent routing equipment
CN103687004A (en) * 2013-12-25 2014-03-26 厦门雅迅网络股份有限公司 Terminal signal strength self-correcting WIFI (wireless fidelity) positioning method based on cumulative probability distribution
CN103796165A (en) * 2014-02-27 2014-05-14 中国矿业大学(北京) Probabilistic method for determining location of underground personnel
CN104066172A (en) * 2014-06-16 2014-09-24 南京航空航天大学 Method for positioning AP in wireless local area network

Also Published As

Publication number Publication date
CN105592547A (en) 2016-05-18
CN105592547B (en) 2019-07-19
HK1224125A1 (en) 2017-08-11
CN110290584A (en) 2019-09-27

Similar Documents

Publication Publication Date Title
US9984394B2 (en) Sensor data gathering
Oosterlinck et al. Bluetooth tracking of humans in an indoor environment: An application to shopping mall visits
US10262331B1 (en) Cross-channel in-store shopper behavior analysis
Azizyan et al. Surroundsense: mobile phone localization via ambience fingerprinting
Yaeli et al. Understanding customer behavior using indoor location analysis and visualization
Weppner et al. Monitoring crowd condition in public spaces by tracking mobile consumer devices with wifi interface
CN105701123B (en) The recognition methods of man-vehicle interface and device
Lee et al. Understanding customer malling behavior in an urban shopping mall using smartphones
CN105917246A (en) Range-free proximity determination
Zhou et al. Design and implementation of an RFID-based customer shopping behavior mining system
CN103957505A (en) Behavior trace detection analysis and service providing system and method based APs
US20140348384A1 (en) System for Managing Locations of Items
US9788166B2 (en) Method, apparatus, and system for screening augmented reality content
Guo et al. Shopprofiler: Profiling shops with crowdsourcing data
TWI590174B (en) A popular product analysis system
Liu et al. Tagbooth: Deep shopping data acquisition powered by rfid tags
US20150189240A1 (en) System and method for detecting an object of interest
Wang et al. QTime: a queuing-time notification system based on participatory sensing data
CN105510908B (en) Positioning method, device and system based on wireless communication
Zheng et al. Location-aware POI recommendation for indoor space by exploiting WiFi logs
CN110290584B (en) Positioning method
Wang et al. Adaptive room-level localization system with crowd-sourced WiFi data
Hasler et al. Estimating relative tag locations based on time-differences in read events
Lam et al. A pervasive promotion model for personalized promotion systems on using wlan localization and nfc techniques
Huang et al. Spatial-Temporal behavior analysis using big data acquired by wi-fi indoor positioning system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201010

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co., Ltd

Address before: Greater Cayman, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

Effective date of registration: 20201010

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co., Ltd

GR01 Patent grant
GR01 Patent grant