Information processing method, device and computer equipment
By analyzing merchant-side wireless signal data and optimizing algorithms, the problem of indoor merchant positioning was solved, achieving low-cost and efficient indoor path planning.
Patent Information
- Application Number
- CN202211289843.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-20
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2042-10-20
AI Technical Summary
In indoor environments, navigation methods such as GPS fail, making it difficult for riders to locate indoor merchants. Existing technologies are unable to effectively determine the location of indoor merchants.
By analyzing the wireless signal data collected by merchants, the relative distance and location information between stores are determined using optimization algorithms, and the location calculation is optimized using wireless signal strength and historical order data.
It accurately locates merchants in indoor environments, provides a basis for route planning, reduces costs, requires no additional hardware, and supports high-frequency data updates.
Smart Images

Figure CN115564352B_ABST
Abstract
Description
Technical Field
[0001] The embodiments in this specification relate to the field of Internet technology, and in particular to information processing methods, apparatus and computer equipment. Background Technology
[0002] For the food delivery industry, rider pickup at the store is a crucial link in the fulfillment chain. Due to the limitations of the indoor environment, methods like GPS used for outdoor navigation become ineffective, preventing platforms from modeling the indoor environment. This often makes it very difficult for riders to find the store to pick up their orders in a large area. Therefore, determining the location of various merchants within an indoor commercial area is a pressing technical problem that needs to be solved. Summary of the Invention
[0003] To overcome the problems existing in the related technologies, this specification provides information processing methods, apparatus and computer equipment in its embodiments.
[0004] According to a first aspect of the embodiments of this specification, an information processing method is provided, the method comprising:
[0005] Based on the wireless signal data collected from the merchant terminal of each of the multiple stores within the target geographical area, the first relative distance between multiple pairs of stores is determined.
[0006] Centered on the target store among the plurality of stores, the relative position information of each other store other than the target store is determined in a predetermined order relative to the target store; wherein, each time the relative position information of the current store is determined, the determination is based on the first relative distance from the current store to each store whose relative position information has been determined.
[0007] In some examples, determining the relative position information of each other store besides the target store relative to the target store in a predetermined order includes:
[0008] The other stores are sequentially input into the optimization algorithm according to a set order. The optimization algorithm is used to solve the relative position information of the current store relative to the target store with a preset optimization objective. The preset optimization objective is determined based on the constraints.
[0009] In some examples, the preset optimization objective includes minimizing the difference between M and N, where M is the sum of the first relative distances from the currently input candidate store to each store whose location information has been determined, and N is the sum of the distances from the location information of the currently input candidate store to each store whose location information has been determined, as solved by the optimization algorithm.
[0010] In some examples, the target store is determined in the following way:
[0011] Determine the proprietary wireless signal corresponding to each of the aforementioned stores;
[0012] Based on the wireless signal data collected by the merchant terminal of each store, a first quantity k is determined for each store, where k represents that the store's own wireless signal is collected by the merchant terminals of k other stores.
[0013] The target store is determined based on the first quantity k corresponding to each store.
[0014] In some examples, determining the proprietary Wi-Fi signal corresponding to each of the stores includes:
[0015] For each store, the historical order-receiving time period of the store is determined based on at least one historical order of the store, and the store's own wireless signal is determined based on the wireless signal connected to the merchant terminal of the store during the historical order-receiving time period.
[0016] In some examples, determining the target store based on a first quantity k corresponding to each store includes:
[0017] The store with the largest quantity k is selected as the target store.
[0018] In some examples, the wireless signal data collected by the merchant terminal of the target store includes: wireless signal data of multiple first stores in the first store cluster;
[0019] In the defined order, the priority of the first store among the plurality of first stores whose first relative distance from the target store is within a defined threshold range is greater than the priority of the first store that is not within the defined range; wherein, the defined threshold range represents a range in which the distance from the target store conforms to a uniform distance distribution; and / or,
[0020] In the set order, the priority of the plurality of first stores is greater than the priority of the other stores among the plurality of stores excluding the plurality of first stores.
[0021] In some examples, the range of uniformly distributed distances includes a range of 5 meters to 15 meters.
[0022] In some examples, determining the relative position information of each other store besides the target store relative to the target store in a predetermined order includes:
[0023] Using the target store as the origin of the coordinate system, the relative position information of each other store other than the target store relative to the target store is determined in a predetermined order. The relative position information is the coordinate information of the store in the coordinate system.
[0024] In some examples, the wireless signal data includes one or more wireless signal names and the wireless signal strength corresponding to each wireless signal name;
[0025] Each pair of stores includes a first store and a second store. The first relative distance between the first store and the second store is determined by a first wireless signal strength and / or a second wireless signal strength. The first wireless signal strength is determined by identifying the name of the wireless signal emitted by the second store from the wireless signal data collected from the merchant terminal of the first store. The second wireless signal strength is determined by identifying the name of the wireless signal emitted by the first store from the wireless signal data collected from the merchant terminal of the second store.
[0026] In some examples, the method further includes:
[0027] Based on the relative position information of any other store among the plurality of stores relative to the target store, determine the relative position information between any two stores among the plurality of stores.
[0028] In some examples, the target geographic area includes multiple stores, including multiple stores located on the same floor of a shopping mall.
[0029] According to a second aspect of the embodiments of this specification, an information processing apparatus is provided, the apparatus comprising:
[0030] The distance determination module is used to: determine the first relative distance between multiple pairs of stores based on the wireless signal data collected by the merchant terminal of each store in multiple stores within the target geographical range;
[0031] The location information determination module is used to: take the target store among the plurality of stores as the center, and sequentially determine the relative location information of each other store (excluding the target store) relative to the target store in a set order; wherein, each time the relative location information of the current store is determined, it is determined by the first relative distance from the current store to each store whose relative location information has been determined.
[0032] According to a third aspect of the embodiments of this specification, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method embodiments described in the first aspect above.
[0033] The technical solutions provided in the embodiments of this specification may include the following beneficial effects:
[0034] In this embodiment, the distance between merchants is calculated by determining the first relative distance between multiple pairs of stores based on the wireless signal data collected by the merchants' terminals. Then, taking the target store as the center, the relative position information of each other store relative to the target store is determined in a predetermined order. Each time the relative position information of the current store is determined, it is constrained by the first relative distance from the current store to each store whose relative position information has been determined. Based on this, the solution of this embodiment can determine the positional relationship between stores in an indoor environment, providing a foundation for route planning of delivery capacity indoors. Compared with other indoor mapping algorithms, this embodiment does not require additional dedicated hardware, has low cost, and can rely on the wireless signal data of the stores to achieve high-frequency data updates.
[0035] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this specification. Attached Figure Description
[0036] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this specification and, together with the description, serve to explain the principles of this specification.
[0037] Figure 1 This is a schematic diagram illustrating a delivery scenario according to an exemplary embodiment of this specification.
[0038] Figure 2 This is a flowchart illustrating an information processing method according to an exemplary embodiment of this specification.
[0039] Figure 3 This is a structural block diagram of a computer device containing an information processing apparatus, as illustrated in this specification according to an exemplary embodiment.
[0040] Figure 4 This is a block diagram illustrating an information processing apparatus according to an exemplary embodiment. Detailed Implementation
[0041] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this specification. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this specification as detailed in the appended claims.
[0042] The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to be limiting of this specification. The singular forms “a,” “the,” and “the” as used in this specification and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
[0043] It should be understood that although the terms first, second, third, etc., may be used in this specification to describe various information, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this specification, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."
[0044] like Figure 1 The diagram shown is a schematic representation of a delivery scenario according to an exemplary embodiment of this specification. The service provider establishes a server 111 and provides a client 122 to the user 121, through which the user 121 can use the services provided by the service provider. The service provider also provides a client 132 to the merchant 131, through which the merchant 131 can use the services provided by the service provider. Each user can transact with the merchant through the client. The service provider can generate transaction orders and delivery slips based on these transactions and allocate delivery capacity to the delivery slips. In this embodiment, delivery capacity refers to the party with delivery capabilities, including but not limited to delivery personnel, such as riders. Figure 1 The delivery capacity 141 and its client 142 are shown in the figure; in other examples, the delivery capacity may also include unmanned delivery electronic devices, such as drones, unmanned vehicles, etc., which may run a client that communicates with the server.
[0045] For example, after a user places an order, a delivery company needs to pick up the item from the physical merchant's location and then deliver it to the user's designated location. Therefore, the server (such as an e-commerce platform or other cooperating delivery platform) needs to generate a corresponding delivery order for the item and assign it to the delivery company. After accepting the delivery order, the delivery company goes to the item's pickup location (such as the aforementioned physical store or warehouse) to collect the item and then delivers it to the user's designated location.
[0046] For example, in the food delivery scenario, a user places an order with a physical store on the food delivery platform through the client. The food delivery platform generates the corresponding food delivery order and assigns it to the delivery capacity (such as the client device used by the rider). The rider then goes to the physical store (i.e., the pick-up location of the delivered item) to pick up the food and delivers it to the location specified by the user.
[0047] As can be seen, the execution process of a delivery order includes the stage of going to the pick-up location of the delivery item, the stage of picking up the delivery item after arriving at the pick-up location (i.e., the item pick-up stage), and the stage of delivering the delivery item after leaving the pick-up location.
[0048] In practical business operations, it is often necessary to pinpoint the location of delivery vehicles. For example, to determine whether a delivery vehicle has actually arrived at a merchant's location, or to accurately determine the arrival time. However, many merchants are located indoors, where satellite signals experience significant drift, making accurate indoor positioning difficult. Therefore, indoor positioning solutions utilizing wireless signals can be considered.
[0049] There is a corresponding wireless signal at the pickup location. For example, if the pickup location is equipped with an AP (Wireless Access Point), and the delivery personnel's mobile terminal is equipped with a Wi-Fi module, then the client running on the mobile terminal can detect the Wi-Fi signal emitted from the pickup location within a certain range. Therefore, by detecting the signal characteristics of the wireless signal during the delivery process, combined with the limitation of the wireless signal range (it cannot be detected outside a certain range), the delivery personnel can determine their location. For example, during the stage when the delivery personnel are heading to the pickup location and after leaving the pickup location, they are not within the signal coverage area of that pickup location, and their mobile terminal cannot detect the wireless signal or can detect wireless signals from other locations. However, during the item pickup stage, the delivery personnel are at the pickup location and can detect the wireless signal corresponding to that location. Therefore, the characteristics of the wireless signal detected by the delivery personnel during the item pickup stage can be used as a basis for determining the signal characteristics of the wireless signal corresponding to the pickup location.
[0050] Of course, besides the Wi-Fi signal example mentioned above, any other short-range communication technology can be used, as long as it has the characteristic of "range limitation". For example, communication technologies such as IrDA (Infrared Data Association) infrared data transmission, ZigBee, NFC (Near Field Communication), UWB (Ultra-Wide Band), and DECT (Digital Enhanced Cordless Telecommunications) can also be used.
[0051] Therefore, in delivery scenarios, determining the location information of each merchant in an indoor environment is of great significance to the business. Based on this, this specification provides an information processing method that can determine the first relative distance between multiple pairs of stores based on wireless signal data collected from the store's merchant terminal, calculate the distance between merchants, and use an optimization algorithm and the determined distance constraints to calculate the relative location information of the stores. This embodiment can determine the locational relationship between stores in an indoor environment, providing a foundation for route planning of delivery capacity indoors. Compared to other indoor mapping algorithms, this embodiment does not require additional dedicated hardware, has low cost, and can rely on the store's wireless signal data to achieve high-frequency data updates.
[0052] The embodiments described in this specification will now be described in detail.
[0053] like Figure 2 As shown, Figure 2 This is a flowchart illustrating an information processing method according to an exemplary embodiment, comprising the following steps:
[0054] In step 202, based on the wireless signal data collected by the merchant terminal of each of the multiple stores in the target geographical area, the first relative distance between multiple pairs of stores in the multiple stores is determined;
[0055] In step 204, taking the target store among the plurality of stores as the center, the relative position information of each other store other than the target store relative to the target store is determined in a set order; wherein, each time the relative position information of the current store is determined, the first relative distance from the current store to each store whose relative position information has been determined is used as a constraint condition.
[0056] In this embodiment, the merchant uses the merchant client to communicate with the server. Any information collected in this embodiment is collected with the merchant's authorization and consent. The client can perform information desensitization and information protection locally through privacy computing and other methods.
[0057] The target geographical area includes multiple shops, which can be multiple indoor shops within a commercial area. The size of the target geographical area can be flexibly set as needed. These multiple shops can also be located on the same floor. Each shop's merchant terminal can collect wireless signal data and send it to the server.
[0058] The wireless signal data includes the wireless signal name and the wireless signal strength. For example, the wireless signal could be a Wi-Fi signal.
[0059] In practical applications, the wireless signals that a merchant's client-side electronic device can scan can include wireless signals emitted by network devices configured by the merchant within the store, as well as wireless signals emitted by network devices configured by other merchants in the vicinity. In this embodiment, the wireless signals emitted by network devices configured by the merchant within the store are referred to as the merchant's own wireless signals. For example, if a merchant has routers or other devices capable of emitting wireless signals in their store, the merchant's client-side device will connect to this own wireless signal. In this embodiment, the merchant-side device can collect the wireless signals it connects to and can store the names of the connected wireless signals.
[0060] In practical applications, some merchants' terminals may connect to multiple wireless signals. For example, when a merchant is open for business, they may connect to the wireless signal of the communication equipment in the store, and when the merchant goes home after closing, they may connect to the wireless signal of their own communication equipment at home. Alternatively, the merchant's terminal may also connect to the public wireless signal in the business district when the store is open for business.
[0061] In some examples, determining the relative position information of each other store besides the target store relative to the target store in a predetermined order includes:
[0062] The other stores are sequentially input into the optimization algorithm according to a set order. The optimization algorithm is used to solve the relative position information of the current store relative to the target store with a preset optimization objective. The preset optimization objective is determined based on the constraints.
[0063] In some examples, determining the proprietary wireless signal corresponding to each store may include: for each store, determining the store's historical order-taking time period based on at least one historical order from the store, and determining the store's proprietary wireless signal based on the wireless signal connected to the store's merchant terminal during the historical order-taking time period. Based on this, in this embodiment, the wireless signal connected to the store's communication devices when the merchant is in order-taking mode can be determined based on the merchant's location and the wireless signal connected to the merchant's terminal while the merchant is in order-taking mode. For example, when a merchant's terminal starts taking orders, it indicates that the merchant has started operating, and the merchant is likely located inside the store. Based on this, in this embodiment, for each store, the historical order-taking time period can be determined based on at least one historical order from the store, and the proprietary wireless signal connected to the store's merchant terminal during the historical order-taking time period can be determined to establish the store's proprietary wireless signal.
[0064] Based on this, after determining the merchant's own wireless signal, the first relative distance between multiple pairs of stores can be determined. Each pair of stores includes a first store and a second store. The first relative distance between the first store and the second store is determined by a first wireless signal strength and / or a second wireless signal strength. The first wireless signal strength is determined by identifying the name of the wireless signal emitted by the second store from the wireless signal data collected from the merchant's terminal of the first store, and the second wireless signal strength is determined by identifying the name of the wireless signal emitted by the first store from the wireless signal data collected from the merchant's terminal of the second store.
[0065] For example, for merchant A, merchant A's client can obtain a list of wireless signals collected by the device through an electronic device. This list includes one or more wireless signal information. For instance, the list may include merchant B's own wireless signal and merchant C's own wireless signal, etc. Similarly, for other merchants such as merchant B, their clients can also obtain the list of wireless signals. That is, the client devices of various stores within the target geographical area can collect wireless signal data through the above embodiments.
[0066] Furthermore, the first relative distance between multiple pairs of merchants can be determined, where the client of any merchant in each pair can collect the wireless signal of the other. For example, taking merchants A, B, and D as an example, merchants A and B can collect the wireless signal of the other, and the two can be considered as a pair of merchants, but merchant A cannot collect the wireless signal of merchant D, and the relative distance between the two cannot be determined.
[0067] For example, the first relative distance between merchant A and merchant B can be determined by using the wireless signal strength of merchant B scanned by merchant A, or by using the wireless signal strength of merchant A scanned by merchant B, or by a combination of both, such as averaging the two. Therefore, as long as one merchant can collect the wireless signal of another merchant, the first relative distance between the two merchants can be determined. The first relative distance can be calculated using a wireless signal propagation model. This model models the strength of the wireless signal received by the receiving device and the distance between the receiving and transmitting devices, mainly considering factors such as path loss during signal propagation. Specific calculation methods can be found in related technologies, and will not be elaborated upon in this embodiment.
[0068] The above method can be used to obtain the first relative distance between multiple pairs of stores. Since the store distances are relative, this embodiment can select one store from multiple stores to begin the relative position calculation when further calculating the relative position. In this embodiment, the selected store is referred to as the target store. There are several ways to select the target store.
[0069] As an example, a store could be randomly selected. In other examples, to improve computational efficiency, a first quantity k is determined for each store based on the wireless signal data collected by the merchant terminal of each store, where k represents that the store's own wireless signal is collected by the merchant terminals of k other stores; the target store is then determined based on the first quantity k for each store.
[0070] For example, the system counts how many shops can scan each merchant's private Wi-Fi signal, and then sorts them in descending order by the number of shops that can scan it. The shop at the top of the list is the one whose private Wi-Fi can be scanned by the most shops. For example, merchant A scans merchants B, C, D..., merchant B scans merchants A, C, E..., merchant C scans merchants A, B, E... and so on. The data is analyzed to find the merchant that is scanned by the most merchants as the target shop. For example, if merchant A is scanned by the most other merchants, then merchant A is selected as the target shop.
[0071] Next, the relative positions of other stores to the target store are calculated, centered on the target store. For example, with the target store as the origin of the coordinate system and other stores as candidate stores, each candidate store is sequentially input into the optimization algorithm. The optimization algorithm is used to solve for the position information of the currently input candidate store relative to the target store according to a preset optimization objective. The preset optimization objective includes minimizing the difference between M and N, where M is the sum of the first relative distances from the currently input candidate store to each store whose position information has been determined, and N is the sum of the distances from the currently input candidate store's position information to each store whose position information has been determined, as solved by the optimization algorithm.
[0072] The optimization algorithm can be a least squares optimization algorithm, which finds the best function match for the data by minimizing the sum of squared errors. Of course, other optimization algorithms can be used as needed in practical applications, and this embodiment does not limit this.
[0073] In a business district, some shops' Wi-Fi signals can be detected by the target shop, while others cannot. In this embodiment, the other shops whose Wi-Fi signals can be detected by the target shop are referred to as the first shop set. In some examples, in the set order, the input priority of shops whose relative distance from the target shop is within a set threshold range is greater than the priority of first shops not within the set range; wherein, the set threshold range represents a range where the distance from the target shop conforms to a uniform distance distribution; and / or, the priority of the multiple first shops is greater than the input priority of other shops among the multiple shops excluding the multiple first shops.
[0074] In this embodiment, considering that the distance between each of the multiple first stores in the first set of stores from which the target store has collected wireless signals is different, it is assumed that if the distance between the next input store and the target store is very close, it will be difficult to calculate the accurate location information when other stores are input into the algorithm again.
[0075] To improve calculation accuracy, this embodiment can set a threshold range, which represents the range where the distance to the target store conforms to a uniform distance distribution, such as a range of 5 meters to 15 meters. In practical applications, this threshold range can be determined as needed, and this embodiment does not limit it. Stores whose first relative distance to the target store is within the set threshold range are given priority input. After all stores within these ranges are input, other first stores not within the set threshold range are then input. Other stores within the business district whose wireless signals were not collected by the target store also have their first relative distances calculated with the stores in the first store set, therefore they have the lowest input priority. That is, the wireless signals of multiple first stores in the first store set can be input into the optimization algorithm first, and then the wireless signals of other stores not collected by the target store are input.
[0076] In some examples, determining the relative position information of each other store besides the target store relative to the target store in a predetermined order includes: taking the target store as the origin of the coordinate system, determining the relative position information of each other store besides the target store relative to the target store in a predetermined order, wherein the relative position information is the coordinate information of the store in the coordinate system.
[0077] For example, taking target store A as the origin of the coordinate system, the first relative distance between store B and store A is then input into the optimization algorithm. Based on this first relative distance, the optimization algorithm can calculate the coordinates of store B. Since there are only two stores, the coordinates of store B can be infinitely varied.
[0078] As an example, taking the least squares method, the optimization algorithm in this embodiment can be expressed by the following formula:
[0079]
[0080] Where L represents the preset optimization objective, i.e., minimizing the error of the least squares method; T represents the number of stores that have participated in the optimization and whose relative location information has been calculated; x i y i X and Y represent the x and y coordinates of the i-th store that have already been calculated; X and Y represent the x and y coordinates of the store that needs to be optimized.
[0081] For example, given that the coordinates of A are (0,0) and the first relative distance between B and A is known, find the coordinates (x, y) of B. B ,y B ), (x B ,y B There are countless possible solutions.
[0082] Next, we input store C. Store C has a first relative distance from both store A and store B. The optimization algorithm calculates the coordinates of store C based on the coordinates of store A, the coordinates of store B, and the pairwise relative distances between A, B, and C. At this point, there are two solutions for calculating the coordinates of store C.
[0083] For example, if the coordinates of A are (0,0), and the first relative distance L between C and B is known... CB and the first relative distance L between C and A CA The coordinates (x, y) of B are solved using an optimization algorithm. B ,y B The coordinates (x) of C and C C ,y C At this point, the preset optimization objective of the optimization algorithm is to minimize the difference between M and N, where M = L. CB +L CA N is the coordinate of C (x, y). C ,y C The coordinates (x) from B to B B ,y B Distance, plus the coordinates of C (x) C ,y C The distance from A to the coordinate (0,0).
[0084] Next, input store D. Similarly, if D has a first relative distance to A, B, and C, the optimization algorithm can be used to calculate the coordinates of stores B, C, and D. Then, input store E and continue using the optimization algorithm. Finally, using store A as the origin, the location information of all stores within the target geographic area relative to store A can be obtained.
[0085] In some examples, the method may further include: determining the relative position information between any two stores among the plurality of stores based on the relative position information of any other store among the plurality of stores relative to the target store. For example, in the aforementioned embodiment, store A is used as the origin to determine the position information of each of the other stores, and the relative position information between any two stores can be calculated based on this.
[0086] The above embodiments can determine the relative positions of multiple stores within a business district, thereby optimizing delivery operations. For example, after determining that a rider has arrived at a certain store, the system can determine the rider's route to other stores, or the time it takes for the rider to arrive at the next store, and so on.
[0087] In related technologies, indoor map collection requires manual input, which is costly and difficult to maintain, especially regarding updates. Visual SLAM-based indoor map construction schemes rely on the fusion of numerous sensors, including multiple sensors such as cameras, IMUs (Inertial Measurement Units), radars, and lidar. This results in high hardware costs and complex algorithms, leading to significant development costs. In contrast, this embodiment eliminates the need for manual data collection and annotation. Algorithm development can directly utilize the Wi-Fi data of food delivery merchants, offering higher update efficiency and extremely low maintenance costs. This embodiment requires no additional hardware costs; it can be completed directly on existing food delivery platforms by mining the Wi-Fi data connected and scanned by the merchants' order-taking software.
[0088] Corresponding to the embodiments of the aforementioned information processing method, this specification also provides embodiments of an information processing apparatus and the computer equipment on which it is applied.
[0089] The embodiments of the information processing device described in this specification can be applied to computer devices, such as servers or terminal devices. The device embodiments can be implemented through software, hardware, or a combination of both. Taking software implementation as an example, as a logical device, it is formed by a processor that processes files to read the corresponding computer program instructions from non-volatile memory into memory for execution. From a hardware perspective, such as... Figure 3 The diagram shown is a hardware structure diagram of a computer device containing the information processing apparatus described in this specification. (Except for...) Figure 3 In addition to the processor 310, memory 330, network interface 320, and non-volatile memory 340 shown, the computer device in which the information processing device 331 is located in the embodiment may also include other hardware depending on the actual function of the computer device, which will not be described in detail here.
[0090] like Figure 4 As shown, Figure 4 This is a block diagram illustrating an information processing apparatus according to an exemplary embodiment of this specification, the apparatus comprising:
[0091] The distance determination module 41 is used to: determine the first relative distance between multiple pairs of stores in the multiple stores based on the wireless signal data collected by the merchant terminal of each store in the multiple stores within the target geographical range;
[0092] The location information determination module 42 is used to: take the target store among the plurality of stores as the center, and sequentially determine the relative location information of each other store other than the target store relative to the target store in a set order; wherein, each time the relative location information of the current store is determined, it is determined by the first relative distance from the current store to each store whose relative location information has been determined as a constraint condition.
[0093] In some examples, the location information determination module is further configured to: input each of the other stores sequentially into an optimization algorithm in a set order, wherein the optimization algorithm is configured to solve for the relative location information of the current store relative to the target store with a preset optimization objective, wherein the preset optimization objective is determined based on the constraints.
[0094] In some examples, the preset optimization objective includes minimizing the difference between M and N, where M is the sum of the first relative distances from the currently input candidate store to each store whose location information has been determined, and N is the sum of the distances from the location information of the currently input candidate store to each store whose location information has been determined, as solved by the optimization algorithm.
[0095] In some examples, the location information determination module is also used for:
[0096] Determine the proprietary wireless signal corresponding to each of the aforementioned stores;
[0097] Based on the wireless signal data collected by the merchant terminal of each store, a first quantity k is determined for each store, where k represents that the store's own wireless signal is collected by the merchant terminals of k other stores.
[0098] The target store is determined based on the first quantity k corresponding to each store.
[0099] In some examples, the location information determination module is also used for:
[0100] For each store, the historical order-receiving time period of the store is determined based on at least one historical order of the store, and the store's own wireless signal is determined based on the wireless signal connected to the merchant terminal of the store during the historical order-receiving time period.
[0101] In some examples, the location information determination module is also used for:
[0102] The store with the largest quantity k is selected as the target store.
[0103] In some examples, the wireless signal data collected by the merchant terminal of the target store includes: wireless signal data of multiple first stores in the first store cluster;
[0104] In the defined order, the priority of the first store among the plurality of first stores whose first relative distance from the target store is within a defined threshold range is greater than the priority of the first store that is not within the defined range; wherein, the defined threshold range represents a range in which the distance from the target store conforms to a uniform distance distribution; and / or,
[0105] In the set order, the priority of the plurality of first stores is greater than the priority of the other stores among the plurality of stores excluding the plurality of first stores.
[0106] In some examples, the range of uniformly distributed distances includes a range of 5 meters to 15 meters.
[0107] In some examples, the location information determination module is further used to: take the target store as the origin of the coordinate system, and sequentially determine the relative position information of each other store other than the target store relative to the target store in a set order, wherein the relative position information is the coordinate information of the store in the coordinate system.
[0108] In some examples, the wireless signal data includes one or more wireless signal names and the wireless signal strength corresponding to each wireless signal name;
[0109] Each pair of stores includes a first store and a second store. The first relative distance between the first store and the second store is determined by a first wireless signal strength and / or a second wireless signal strength. The first wireless signal strength is determined by identifying the name of the wireless signal emitted by the second store from the wireless signal data collected from the merchant terminal of the first store. The second wireless signal strength is determined by identifying the name of the wireless signal emitted by the first store from the wireless signal data collected from the merchant terminal of the second store.
[0110] In some examples, the location information determination module is also used for:
[0111] Based on the relative position information of any other store among the plurality of stores relative to the target store, determine the relative position information between any two stores among the plurality of stores.
[0112] In some examples, the target geographic area includes multiple stores, including multiple stores located on the same floor of a shopping mall.
[0113] The specific implementation process of the functions and roles of each module in the above information processing device can be found in the implementation process of the corresponding steps in the above information processing method, and will not be repeated here.
[0114] Accordingly, embodiments of this specification also provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the information processing method embodiments.
[0115] Accordingly, embodiments of this specification also provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the information processing method embodiments.
[0116] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of the solution in this specification according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0117] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
[0118] The steps of the various methods described above are only for clarity. In practice, they can be combined into one step or some steps can be split into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent. Adding insignificant modifications or introducing insignificant designs to the algorithm or process, but without changing the core design of the algorithm and process, are also within the scope of protection of this application.
[0119] The terms "specific example" or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with the embodiments or examples, which are included in at least one embodiment or example of this specification. In this specification, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0120] Other embodiments of this specification will readily occur to those skilled in the art upon consideration of the specification and practice of the invention claimed herein. This specification is intended to cover any variations, uses, or adaptations that follow the general principles of this specification and include common knowledge or customary techniques in the art not claimed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this specification are indicated by the following claims.
[0121] It should be understood that this specification is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this specification is limited only by the appended claims.
[0122] The above description is merely a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of protection of this specification.
Claims
1. An information processing method, the method comprising: For each store among multiple stores within the target geographical area, determine the store's historical order-receiving time period based on the store's historical orders, and determine the store's corresponding proprietary wireless signal by analyzing the wireless signals of the communication devices connected to the store's merchant terminal during that historical order-receiving time period. For each store, obtain the list of wireless signals collected by the device where the merchant terminal is located. Using the wireless signal list of each store, two stores that can collect each other's own wireless signals are regarded as a pair of stores. Based on the strength of the wireless signals collected by each store in the pair, the first relative distance between the pair of stores is determined. The number of times each store's own wireless signal was collected by other stores was counted, and the store with the most counts was identified as the target store. The store whose own wireless signal could be collected by the target store was identified as the first store. Centered on the target store, each of the other stores is sequentially input into the optimization algorithm in a set order. The optimization algorithm is used to solve the relative position information of the currently input candidate stores relative to the target store with a preset optimization objective. The set order includes: the priority of the first store whose first relative distance from the target store is within a set threshold range is greater than the priority of the first store whose first relative distance is not within the set range, wherein the set threshold range represents the range in which the distance from the target store conforms to a uniform distance distribution; and the priority of the first store is greater than the priority of the other stores among the plurality of stores excluding the plurality of first stores. The preset optimization objective includes minimizing the difference between M and N, where M is the sum of the first relative distances from the currently input candidate store to each store whose location information has been determined, and N is the sum of the distances from the currently input candidate store's location information to each store whose location information has been determined, as solved by the optimization algorithm.
2. The method according to claim 1, wherein the range of the uniformly distributed distance includes: The range is 5 to 15 meters.
3. The method according to claim 1, wherein taking the target store among the plurality of stores as the center includes: The target store is taken as the origin of the coordinate system; The relative position information includes the coordinates of the store in the coordinate system.
4. The method according to claim 1, wherein the wireless signal data includes one or more wireless signal names and a wireless signal strength corresponding to each wireless signal name; Each pair of stores includes a first store and a second store. The first relative distance between the first store and the second store is determined by a first wireless signal strength and / or a second wireless signal strength. The first wireless signal strength is determined by identifying the name of the wireless signal emitted by the second store from the wireless signal data collected from the merchant terminal of the first store. The second wireless signal strength is determined by identifying the name of the wireless signal emitted by the first store from the wireless signal data collected from the merchant terminal of the second store.
5. The method according to claim 1, further comprising: Based on the relative position information of any other store among the plurality of stores relative to the target store, determine the relative position information between any two stores among the plurality of stores.
6. The method according to claim 1, wherein the multiple stores within the target geographical area include: Multiple shops located on the same floor of the shopping mall.
7. An information processing apparatus, the apparatus comprising: The distance determination module is used for: for each store among multiple stores within a target geographical area, determining the store's historical order-receiving time period based on the store's historical orders, determining the store's own wireless signal based on the wireless signal of the communication device connected to the store's merchant terminal during the historical order-receiving time period; for each store, obtaining a list of wireless signals collected by the device where the store's merchant terminal is located, using the wireless signal lists of each store, identifying two stores that can collect each other's own wireless signals as a pair of stores, and determining a first relative distance between the pair of stores based on the strength of the wireless signals collected by each store; counting the number of times each store's own wireless signal is collected by other stores, identifying the store with the most collected signals as the target store, and identifying the store among the multiple stores whose own wireless signal can be collected by the target store as the first store; The location information determination module is used to: take the target store as the center, and input each of the other stores into the optimization algorithm in a set order, wherein the optimization algorithm is used to solve the relative position information of the currently input candidate stores relative to the target store with a preset optimization target; The set order includes: the priority of the first store whose first relative distance from the target store is within a set threshold range is greater than the priority of the first store whose first relative distance is not within the set range, wherein the set threshold range represents the range in which the distance from the target store conforms to a uniform distance distribution; and the priority of the first store is greater than the priority of the other stores among the plurality of stores excluding the plurality of first stores. The preset optimization objective includes minimizing the difference between M and N, where M is the sum of the first relative distances from the currently input candidate store to each store whose location information has been determined, and N is the sum of the distances from the currently input candidate store's location information to each store whose location information has been determined, as solved by the optimization algorithm.
8. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Positioning method for multiple electronic devices, electronic device, and server
CN109557528A
