CN111737600B - Information providing method, device and equipment and system for displaying customer information - Google Patents

Information providing method, device and equipment and system for displaying customer information Download PDF

Info

Publication number
CN111737600B
CN111737600B CN202010421436.3A CN202010421436A CN111737600B CN 111737600 B CN111737600 B CN 111737600B CN 202010421436 A CN202010421436 A CN 202010421436A CN 111737600 B CN111737600 B CN 111737600B
Authority
CN
China
Prior art keywords
information
block
customer
target store
store
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
CN202010421436.3A
Other languages
Chinese (zh)
Other versions
CN111737600A (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.)
Zhejiang Koubei Network Technology Co Ltd
Original Assignee
Zhejiang Koubei Network Technology 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 Zhejiang Koubei Network Technology Co Ltd filed Critical Zhejiang Koubei Network Technology Co Ltd
Priority to CN202010421436.3A priority Critical patent/CN111737600B/en
Publication of CN111737600A publication Critical patent/CN111737600A/en
Application granted granted Critical
Publication of CN111737600B publication Critical patent/CN111737600B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Databases & Information Systems (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses an information providing method, which comprises the following steps: obtaining street information corresponding to a target store and customer information corresponding to the target store; mapping the customer information to the block information to obtain customer block distribution information on each block corresponding to a target store; obtaining a query request for a specified store; according to the query request, searching from the customer block distribution information on each block corresponding to the target store to obtain the customer block distribution information on the specified block corresponding to the specified store; and providing the customer block distribution information on the specified block to a client. By adopting the method, the problem that in the prior art, when the server side provides the client side with the customer information, time consumption is caused due to large data size of query and calculation is solved.

Description

Information providing method, device and equipment and system for displaying customer information
Technical Field
The present application relates to the field of computer technologies, and in particular, to an information providing method, an information providing apparatus, an electronic device, and a computer-readable storage medium; the application also relates to a system for displaying customer information.
Background
In the crowd thermal page, a coordinate of a store is taken as a central point, a certain distance is taken as a radius to draw a circle, based on a map, the distribution of customers in a preset distance range near the store is displayed, customers with similar coordinate distances are combined into a point, and the total number of customers at the point is displayed after a mouse is hovered (as shown in fig. 1 a).
In the prior art, in order to obtain the customer distribution, a central point coordinate is usually set for the store, and 12 resident coordinates are set for each customer. The server side inquires all the customer coordinate information from the database according to conditions, uses an algorithm to aggregate the information with similar coordinates, aggregates the customers with similar coordinates together, and returns the obtained information to the front-end display. This solution has the following drawbacks: if the number of customers in a certain store is too large, tens of thousands or even hundreds of thousands, in this case, the amount of data queried by the server from the database is too large, and the time for calculation and summarization by using the memory is too long. Since the larger the magnitude of the data, the longer the time consumption, which may eventually lead to customer complaints or system crashes.
In summary, the prior art has a problem that it takes a long time for the server to provide the client with the customer information because the amount of the queried and calculated data is large.
Disclosure of Invention
The embodiment of the invention provides an information providing method, an information providing device, electronic equipment and a computer readable storage medium, and aims to solve the problem that in the prior art, when a server provides customer information to a client, time consumption is caused due to large query and calculation data volume.
In a first aspect, an embodiment of the present invention provides an information providing method, including:
obtaining street information corresponding to a target store and customer information corresponding to the target store;
mapping the customer information to the block information to obtain customer block distribution information on each block corresponding to a target store;
obtaining a query request for a target store;
according to the query request, searching from the customer block distribution information on each block corresponding to the target store to obtain the customer block distribution information on the specified block corresponding to the specified store;
and providing the customer block distribution information on the specified block to a client.
In one embodiment, the obtaining of the neighborhood information corresponding to the target store and the customer information corresponding to the target store includes:
obtaining target store information;
obtaining street information corresponding to the target store according to the target store information;
and obtaining the coordinate information of the customers of the target store according to the target store information.
In one embodiment, the mapping the customer information to the neighborhood information to obtain customer neighborhood distribution information on each neighborhood corresponding to a target store includes:
and matching the coordinate information of the customer with the block information corresponding to the target store to obtain the block distribution information of the customer on each block corresponding to the target store.
In one embodiment, the obtaining of the coordinate information of the customer at the target store based on the target store information includes: obtaining coordinate information of a customer within a preset distance from a target store according to the target store information;
the obtaining of the block information corresponding to the target store according to the target store information includes: and obtaining the block information within the preset distance from the target store according to the target store information.
In one embodiment, the distribution information of the customer blocks in each block corresponding to the target store is information of the number of customers corresponding to the target store.
As an embodiment, the neighborhood information includes center point coordinate information of a neighborhood and boundary coordinate information of the neighborhood;
the matching of the coordinate information of the customer with the block information to obtain the customer distribution information on each block corresponding to the target store comprises:
and if the coordinate information of the customers is within the boundary coordinate information of the first block, counting the number information of the customers corresponding to the first block information.
As an implementation manner, the embodiment of the present invention further includes:
if the coordinate information of the customer does not fall into the boundary coordinate information of any one block, obtaining the distance between the coordinate of the customer and the coordinate of the center point of each block according to the coordinate information of the customer and the coordinate information of the center point of each block;
and counting the number of customers corresponding to the block information corresponding to the shortest distance in the distances.
In one embodiment, the customers include a first category of customers, the first category of customers being registered members of the target store;
the obtaining of the block information corresponding to the target store and the customer information corresponding to the target store includes:
obtaining target store information;
obtaining street information corresponding to the target store according to the target store information;
obtaining coordinate information of a first class of customers of the target store according to the target store information;
the mapping the customer information to the block information to obtain customer block distribution information on each block corresponding to a target store includes: and matching the coordinate information of the first-class customer with the block information corresponding to the target store to obtain the first-class customer information on each block corresponding to the target store.
In one embodiment, the customers include a second category of customers, the second category of customers being customers who generate consumption behavior with the target store;
the obtaining of the street information corresponding to the target store and the customer information corresponding to the target store further includes:
obtaining coordinate information of a second category of customers of the target store according to the target store information;
and matching the coordinate information of the second category of customers with the corresponding block information of the target store to obtain the second category of customer information corresponding to the block information.
As an embodiment, the target store information includes at least one of: name information of the target store, and coordinate information of the target store.
In a second aspect, an embodiment of the present invention provides an information providing apparatus, including:
the system comprises an offline information obtaining unit, a processing unit and a display unit, wherein the offline information obtaining unit is used for obtaining street information corresponding to a target store and customer information corresponding to the target store;
the information mapping unit is used for mapping the customer information to the block information to obtain customer block distribution information on each block corresponding to the target store;
an information query request obtaining unit for obtaining a query request for a specified store;
the customer information searching unit is used for searching customer distribution information on each block corresponding to the target store according to the query request to obtain the customer block distribution information on the specified block corresponding to the specified store;
and the customer information providing unit is used for providing the customer block distribution information on the specified block to the client.
As an embodiment, the offline information obtaining unit is specifically configured to:
obtaining target store information;
obtaining street information corresponding to the target store according to the target store information;
and obtaining the coordinate information of the customers of the target store according to the target store information.
As an embodiment, the information mapping unit is specifically configured to:
and matching the coordinate information of the customer with the block information corresponding to the target store to obtain the block distribution information of the customer on each block corresponding to the target store.
As an embodiment, the offline information obtaining unit is specifically configured to:
obtaining coordinate information of a customer within a preset distance from a target store according to the target store information;
and obtaining the block information within the preset distance from the target store according to the target store information.
In one embodiment, the distribution information of the customers in each block corresponding to the target store is information of the number of customers in each block corresponding to the target store.
As an embodiment, the neighborhood information includes center point coordinate information of a neighborhood and boundary coordinate information of the neighborhood;
the offline information obtaining unit is specifically configured to:
and if the coordinate information of the customers is within the boundary coordinate information of the first block, counting the number information of the customers corresponding to the first block information.
As an embodiment, the offline information obtaining unit is further configured to:
if the coordinate information of the customer does not fall into the boundary coordinate information of any one block, obtaining the distance between the coordinate of the customer and the coordinate of the center point of each block according to the coordinate information of the customer and the coordinate information of the center point of each block;
and counting the number of customers corresponding to the block information corresponding to the shortest distance in the distances.
In one embodiment, the customers include a first category of customers, the first category of customers being registered members of the target store;
the offline information obtaining unit is specifically configured to:
obtaining target store information;
obtaining street information corresponding to the target store according to the target store information;
and obtaining the coordinate information of the first class of customers of the target store according to the target store information.
The information mapping unit is specifically configured to:
and matching the coordinate information of the first-class customer with the block information corresponding to the target store to obtain the first-class customer information on each block corresponding to the target store.
In one embodiment, the customers include a second category of customers, the second category of customers being customers who generate consumption behavior with the target store;
the offline information obtaining unit is further configured to:
obtaining coordinate information of a second category of customers of the target store according to the target store information;
and matching the coordinate information of the second category of customers with the corresponding block information of the target store to obtain the second category of customer information corresponding to the block information.
As an embodiment, the target store information includes at least one of: name information of the target store, and coordinate information of the target store.
In a third aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes:
a processor;
a memory for storing a program which, when read and executed by the processor, performs the method of any one of the embodiments of the invention of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the method according to any one of the embodiments of the present invention in the first aspect.
In a fifth aspect, an embodiment of the present invention provides a system for displaying customer information, including: a client and a server;
the server is used for obtaining the street information corresponding to the target store and the customer information corresponding to the target store; mapping the customer information to the block information to obtain customer block distribution information on each block corresponding to a target store; obtaining a query request for a specified store; according to the query request, searching from the customer block distribution information on each block corresponding to the target store to obtain the customer block distribution information on the specified block corresponding to the specified store; providing the customer block distribution information on the specified block to a client;
the client is used for sending a query request aiming at a specified store to the server; and obtaining the customer block distribution information on the specified block corresponding to the specified store returned by the server, and displaying the customer block distribution information on the specified block.
Compared with the prior art, the invention has the following advantages:
the embodiment of the invention provides an information providing method, which comprises the steps of obtaining street information corresponding to a target store and customer information corresponding to the target store; mapping the customer information to the block information to obtain customer block distribution information on each block corresponding to a target store; obtaining a query request for a specified store; according to the query request, searching from the customer block distribution information on each block corresponding to the target store to obtain the customer block distribution information on the specified block corresponding to the specified store; and providing the customer block distribution information on the specified block to a client. According to the information providing method provided by the embodiment of the invention, the block information corresponding to the target store and the customer block distribution information on each block are obtained in an off-line manner, when the client inquires the customer block distribution information of the specified store, the server can quickly obtain the customer block distribution information on the specified block corresponding to the specified store and return the customer block distribution information to the client, and the problem that in the prior art, when the server provides the customer block distribution information on the specified block to the client, time consumption is caused by large query and calculation data quantity is solved.
Drawings
Fig. 1a is a schematic diagram of a crowd thermal page provided by the present invention.
Fig. 1 is a flowchart of an information providing method according to a first embodiment of the present invention.
Fig. 2 is a schematic diagram of an information providing apparatus according to a second embodiment of the present invention.
Fig. 3 is a schematic diagram of a system for displaying customer information according to a fifth embodiment of the present invention.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, but rather construed as limited to the embodiments set forth herein.
A first embodiment of the present invention provides an information providing method, in which an execution subject is a server. The following description is made with reference to fig. 1.
As shown in fig. 1, in step S101, neighborhood information corresponding to a target store and customer information corresponding to the target store are obtained.
In this step, the neighborhood information corresponding to the target store and the customer information corresponding to the target store are obtained, so as to improve the query speed when the client queries the customer information corresponding to the neighborhood information.
The neighborhood information comprises at least one of the following: name information of the block, coordinate information of the block and identification information of the block. The block includes: schools, communities, various places of activities, and the like. And the coordinate information of the block comprises the coordinate information of the central point of the block and the coordinate information of the boundary of the block.
The neighborhood information corresponding to the target store may refer to information of a neighborhood with the target store as a center and a certain radius. For example, the neighborhood information corresponding to the target store may be: coordinate information or name information of a block having a radius of 5 km with a target store as a center.
The customer block distribution information on each block corresponding to the target store may be customer quantity information on each block corresponding to the target store. As shown in fig. 1a, 9 persons in fig. 1a are the number information of customers corresponding to the block. For example, if there are 100 customers in the target store at school a, the number information of customers corresponding to school a is 100.
The obtaining of the block information corresponding to the target store and the customer information corresponding to the target store includes:
obtaining target store information;
obtaining street information corresponding to the target store according to the target store information;
and obtaining the coordinate information of the customers of the target store according to the target store information.
It should be noted that the coordinate information of the customer in the embodiment of the present application is obtained after obtaining the authorization of the customer.
As shown in fig. 1, in step S102, the customer information is mapped to the neighborhood information, and customer neighborhood distribution information on each neighborhood corresponding to the target store is obtained.
The mapping the customer information to the block information to obtain customer block distribution information on each block corresponding to a target store includes:
and matching the coordinate information of the customer with the block information corresponding to the target store to obtain the block distribution information of the customer on each block corresponding to the target store.
The target store information may refer to coordinate information of the target store. Or name information or other identifying information of the target store.
The obtaining of the coordinate information of the customer of the target store according to the target store information includes: obtaining coordinate information of a customer within a preset distance from a target store according to the target store information;
the obtaining of the block information corresponding to the target store according to the target store information includes: and obtaining the block information within the preset distance from the target store according to the target store information.
For example, the preset distance is 3 km, and the street block information within the preset distance from the target store may refer to coordinate information and name information of a street block having a radius of 3 km with the target store as a center.
The obtaining of the coordinate information of the customer of the target store according to the target store information includes: and obtaining the coordinate information of the customers within the preset distance from the target store according to the target store information.
For example, the preset distance is 3 km, and the coordinate information of the customer within the preset distance from the target store may be the coordinate information of the customer having a radius of 3 km with the target store as the center.
In one scenario embodiment, the process of matching the coordinate information of the customer with the neighborhood information corresponding to the target store to obtain the customer neighborhood distribution information on each neighborhood corresponding to the target store is as follows: firstly, obtaining street information within 5 kilometers of a target store offline, for example, obtaining name information and coordinate information of 5 street regions, and then obtaining coordinate information of customers within 5 kilometers of the target store, for example, obtaining coordinate information of 100 customers; next, the neighborhood and the customers are matched based on the coordinate information, and customer neighborhood distribution information corresponding to the neighborhood information is obtained, for example, the number of customers corresponding to neighborhood 1 is 20, the number of customers corresponding to neighborhood 2 is 30, the number of customers corresponding to neighborhood 3 is 20, the number of customers corresponding to neighborhood 4 is 10, and the number of customers corresponding to neighborhood 5 is 20.
The matching of the coordinate information of the customer with the block information to obtain the customer distribution information on each block corresponding to the target store comprises:
and if the coordinate information of the customers is within the boundary coordinate information of the first block, counting the number information of the customers corresponding to the first block information.
In a specific implementation, if the coordinate information of the customer is within the boundary coordinate information of the first block, 1 may be added to the number information of the customer corresponding to the first block information.
The first embodiment of the present invention may further include: if the coordinate information of the customer does not fall into the boundary coordinate information of any one block, obtaining the distance between the coordinate of the customer and the coordinate of the center point of each block according to the coordinate information of the customer and the coordinate information of the center point of each block;
and counting the number of customers corresponding to the block information corresponding to the shortest distance in the distances.
In practical implementation, if the coordinate information of the customer does not fall within the boundary coordinate information of any one block, the number of customers corresponding to the block information corresponding to the shortest distance may be increased by 1.
For example, within 5 km of a target store, 500 blocks 1-500 exist, the coordinate of the customer 1 does not fall within the boundary coordinate information of any block in the 500 blocks, and the distance between the coordinate of the customer and the coordinate of the center point of each block is obtained according to the coordinate information of the customer and the coordinate information of the center point of each block; if the shortest distance is the block 100, the number of customers corresponding to the block 100 is increased by 1.
The first embodiment of the present invention corrects the customer coordinates to fall in the nearest neighborhood. The positioning of the final result point on a river or road is avoided.
In one embodiment, the customers include a first category of customers, the first category of customers being registered members of the target store;
the obtaining of the block information corresponding to the target store and the customer information corresponding to the target store includes:
obtaining target store information;
obtaining street information corresponding to the target store according to the target store information;
obtaining coordinate information of a first class of customers of the target store according to the target store information;
the mapping the customer information to the block information to obtain customer block distribution information on each block corresponding to a target store includes:
and matching the coordinate information of the first-class customer with the block information corresponding to the target store to obtain the first-class customer information on each block corresponding to the target store.
In one embodiment, the customers include a second category of customers, the second category of customers being customers who generate consumption behavior with the target store;
the obtaining of the street information corresponding to the target store and the customer information corresponding to the target store further includes:
obtaining coordinate information of a second category of customers of the target store according to the target store information;
and matching the coordinate information of the second category of customers with the corresponding block information of the target store to obtain the second category of customer information corresponding to the block information.
By classifying customers into a first category customer and a second category customer, the client can query the first category customer information corresponding to the block information or the second category customer information corresponding to the block information according to requirements.
As shown in fig. 1, in step S103, a query request for a specified store is obtained.
The query request comprises information of a specified store and information of a specified block. Customer category information may also be included in the query request.
The designated block information may be block information for designating all blocks corresponding to the store, or may be block information for designating a specific block corresponding to the store.
The client can obtain the customer information corresponding to the block information of all blocks corresponding to the target store in one query request, and when a mouse is hovered at a certain block position, the client obtains the customer block distribution information corresponding to the block information from the client; or the client side can go to the server side to inquire the customer block distribution information corresponding to the specific block information when the customer block distribution information corresponding to the specific block information needs to be displayed each time.
As shown in fig. 1, in step S104, according to the query request, the customer block distribution information on each block corresponding to the target store is searched, and the customer block distribution information on the specified block corresponding to the specified store is obtained.
As shown in fig. 1, in step S105, the customer block distribution information on the specified block is provided to the client.
The customer block distribution information on the specified block may be customer quantity information on the specified block.
The first embodiment of the present invention is introduced so far, and the information providing method provided by the first embodiment of the present invention obtains the neighborhood information corresponding to the target store and the customer neighborhood distribution information corresponding to the neighborhood information offline, and when the client queries the customer neighborhood distribution information corresponding to the specified neighborhood, the server can quickly obtain the customer neighborhood distribution information corresponding to the specified neighborhood and return the same to the client, thereby solving the problem of time consumption caused by large query and calculation data size when the server provides the customer neighborhood distribution information to the client in the prior art; in addition, the first embodiment of the present invention avoids locating the final result point on a river or road by correcting the customer coordinates to fall in the nearest block.
Corresponding to the information providing method provided above, a second embodiment of the present invention also provides an information providing apparatus.
As shown in fig. 2, the information providing apparatus includes:
an offline information obtaining unit 201, configured to obtain street information corresponding to a target store and customer information corresponding to the target store;
an information mapping unit 202, configured to map the customer information to the block information, and obtain customer block distribution information on each block corresponding to a target store;
an information inquiry request obtaining unit 203 for obtaining an inquiry request for a specified store;
the customer information searching unit 204 is configured to search for customer distribution information on each block corresponding to the target store according to the query request, and obtain customer block distribution information on a specified block corresponding to the specified store;
a customer information providing unit 205 for providing customer block distribution information on the specified block to the client.
As an embodiment, the offline information obtaining unit is specifically configured to:
obtaining target store information;
obtaining street information corresponding to the target store according to the target store information;
and obtaining the coordinate information of the customers of the target store according to the target store information.
As an embodiment, the information mapping unit is specifically configured to:
and matching the coordinate information of the customer with the block information corresponding to the target store to obtain the block distribution information of the customer on each block corresponding to the target store.
As an embodiment, the offline information obtaining unit is specifically configured to:
obtaining coordinate information of a customer within a preset distance from a target store according to the target store information;
and obtaining the block information within the preset distance from the target store according to the target store information.
In one embodiment, the distribution information of the customers in each block corresponding to the target store is information of the number of customers in each block corresponding to the target store.
As an embodiment, the neighborhood information includes center point coordinate information of a neighborhood and boundary coordinate information of the neighborhood;
the offline information obtaining unit is specifically configured to:
and if the coordinate information of the customers is within the boundary coordinate information of the first block, counting the number information of the customers corresponding to the first block information.
As an embodiment, the offline information obtaining unit is further configured to:
if the coordinate information of the customer does not fall into the boundary coordinate information of any one block, obtaining the distance between the coordinate of the customer and the coordinate of the center point of each block according to the coordinate information of the customer and the coordinate information of the center point of each block;
and counting the number of customers corresponding to the block information corresponding to the shortest distance in the distances.
In one embodiment, the customers include a first category of customers, the first category of customers being registered members of the target store;
the offline information obtaining unit is specifically configured to:
obtaining target store information;
obtaining street information corresponding to the target store according to the target store information;
and obtaining the coordinate information of the first class of customers of the target store according to the target store information.
The information mapping unit is specifically configured to:
and matching the coordinate information of the first-class customer with the block information corresponding to the target store to obtain the first-class customer information on each block corresponding to the target store.
In one embodiment, the customers include a second category of customers, the second category of customers being customers who generate consumption behavior with the target store;
the offline information obtaining unit is further configured to:
obtaining coordinate information of a second category of customers of the target store according to the target store information;
and matching the coordinate information of the second category of customers with the corresponding block information of the target store to obtain the second category of customer information corresponding to the block information.
As an embodiment, the target store information includes at least one of: name information of the target store, and coordinate information of the target store.
It should be noted that, for the detailed description of the apparatus provided in the second embodiment of the present invention, reference may be made to the related description of the first embodiment of the present application, and details are not repeated here.
Corresponding to the above-mentioned information providing method, a third embodiment of the present invention further provides an electronic device, including:
a processor;
a memory for storing a program which, when read and executed by said processor, performs the method according to the first embodiment of the invention.
It should be noted that, for the detailed description of the electronic device provided in the third embodiment of the present invention, reference may be made to the related description of the first embodiment of the present application, and details are not repeated here.
In correspondence with the information providing method provided above, the fourth embodiment of the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the method according to the first embodiment of the present invention.
It should be noted that, for the detailed description of the computer-readable storage medium provided in the fourth embodiment of the present invention, reference may be made to the related description of the first embodiment of the present application, and details are not repeated here.
A fifth embodiment of the present invention provides a system for displaying customer information, including: a client and a server;
the server is used for obtaining the street information corresponding to the target store and the customer information corresponding to the target store; mapping the customer information to the block information to obtain customer block distribution information on each block corresponding to a target store; obtaining a query request for a specified store; according to the query request, searching from the customer block distribution information on each block corresponding to the target store to obtain the customer block distribution information on the specified block corresponding to the specified store; providing the customer block distribution information on the specified block to a client;
the client is used for sending a query request aiming at a specified store to the server; and obtaining the customer block distribution information on the specified block corresponding to the specified store returned by the server, and displaying the customer block distribution information on the specified block.
Fig. 3 is an interaction diagram of a system for displaying customer information according to a fifth embodiment of the present invention. The method comprises the steps that a server side carries out off-line calculation according to a block list in a certain range (namely block information corresponding to a target store) and a customer list in the certain range (customer information corresponding to the target store), the block list after aggregation (block information corresponding to the target store and customer block distribution information corresponding to the block information) is obtained, the block list after aggregation is stored in an on-line database, when a front end (client side) inquires the block list, the server side inquires the block list from the database according to an inquiry request, the result is returned to the client side, and the client side displays the result.
It should be noted that, for the detailed description of the system provided in the fifth embodiment of the present invention, reference may be made to the related description of the first embodiment of the present application, and details are not described here again.
Although the present application has been described with reference to the preferred embodiments, it is not intended to limit the present application, and those skilled in the art can make variations and modifications without departing from the spirit and scope of the present application, therefore, the scope of the present application should be determined by the claims that follow.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

Claims (13)

1. An information providing method, comprising:
mapping the coordinate information of the customer to the block information in an off-line manner according to the block information corresponding to the target store and the coordinate information of the customer corresponding to the target store, and obtaining the distribution information of the customer blocks on each block corresponding to the target store; the customer block distribution information on each block corresponding to the target store is customer quantity information on each block corresponding to the target store;
obtaining a query request for a specified store;
according to the query request, searching from the customer block distribution information on each block corresponding to the target store to obtain the customer block distribution information on the specified block corresponding to the specified store;
and providing the customer block distribution information on the specified block to a client.
2. The method of claim 1, further comprising:
obtaining target store information;
obtaining street information corresponding to the target store according to the target store information;
and obtaining the coordinate information of the customers of the target store according to the target store information.
3. The method of claim 2, wherein the mapping the coordinate information of the customer into the block information to obtain the distribution information of the customer blocks on each block corresponding to the target store comprises:
and matching the coordinate information of the customer with the block information corresponding to the target store to obtain the block distribution information of the customer on each block corresponding to the target store.
4. The method of claim 2, wherein obtaining coordinate information of a customer of a target store from the target store information comprises: obtaining coordinate information of a customer within a preset distance from a target store according to the target store information;
the obtaining of the block information corresponding to the target store according to the target store information includes: and obtaining the block information within the preset distance from the target store according to the target store information.
5. The method of claim 3, wherein the neighborhood information comprises center point coordinate information of a neighborhood and boundary coordinate information of the neighborhood;
the matching of the coordinate information of the customer with the block information corresponding to the target store to obtain the distribution information of the customer blocks on each block corresponding to the target store comprises the following steps:
and if the coordinate information of the customers is within the boundary coordinate information of the first block, counting the number information of the customers corresponding to the first block information.
6. The method of claim 5, further comprising:
if the coordinate information of the customer does not fall into the boundary coordinate information of any one block, obtaining the distance between the coordinate of the customer and the coordinate of the center point of each block according to the coordinate information of the customer and the coordinate information of the center point of each block;
and counting the number of customers corresponding to the block information corresponding to the shortest distance in the distances.
7. The method of claim 2 or 3, wherein the customers comprise a first category of customers, the first category of customers being registered members of the target store;
the obtaining of the coordinate information of the customer of the target store according to the target store information includes:
obtaining coordinate information of a first class of customers of the target store according to the target store information;
the mapping the customer information to the block information to obtain customer block distribution information on each block corresponding to a target store includes:
and matching the coordinate information of the first-class customer with the block information corresponding to the target store to obtain the first-class customer information on each block corresponding to the target store.
8. The method of claim 7, wherein the customers comprise a second category of customers, the second category of customers being customers that generate consumption behavior with the target store;
the obtaining of the street information corresponding to the target store and the customer information corresponding to the target store further includes:
obtaining coordinate information of a second category of customers of the target store according to the target store information;
and matching the coordinate information of the second category customer with the block information corresponding to the target store to obtain the second category customer information corresponding to the target store.
9. The method of claim 2, wherein the target store information comprises at least one of: name information of the target store, and coordinate information of the target store.
10. An information providing apparatus, comprising:
the information mapping unit is used for mapping the coordinate information of the customer to the block information in an off-line manner according to the block information corresponding to the target store and the coordinate information of the customer corresponding to the target store, so as to obtain the distribution information of the customer blocks on each block corresponding to the target store; the customer block distribution information on each block corresponding to the target store is customer quantity information on each block corresponding to the target store;
an information query request obtaining unit for obtaining a query request for a specified store;
the customer information searching unit is used for searching customer distribution information on each block corresponding to the target store according to the query request to obtain the customer block distribution information on the specified block corresponding to the specified store;
and the customer information providing unit is used for providing the customer block distribution information on the specified block to the client.
11. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing a program that, when read and executed by the processor, performs the method of any one of claims 1-9.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-9.
13. A system for presenting customer information, comprising: a client and a server;
the server is used for mapping the coordinate information of the customer to the block information in an off-line manner according to the block information corresponding to the target store and the coordinate information of the customer corresponding to the target store, so as to obtain the distribution information of the customer blocks on each block corresponding to the target store; obtaining a query request for a specified store; according to the query request, searching from the customer block distribution information on each block corresponding to the target store to obtain the customer block distribution information on the specified block corresponding to the specified store; the customer block distribution information on each block corresponding to the target store is customer quantity information on each block corresponding to the target store; providing the customer block distribution information on the specified block to a client;
the client is used for sending a query request aiming at a specified store to the server; and obtaining the customer block distribution information on the specified block corresponding to the specified store returned by the server, and displaying the customer block distribution information on the specified block.
CN202010421436.3A 2020-05-18 2020-05-18 Information providing method, device and equipment and system for displaying customer information Active CN111737600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010421436.3A CN111737600B (en) 2020-05-18 2020-05-18 Information providing method, device and equipment and system for displaying customer information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010421436.3A CN111737600B (en) 2020-05-18 2020-05-18 Information providing method, device and equipment and system for displaying customer information

Publications (2)

Publication Number Publication Date
CN111737600A CN111737600A (en) 2020-10-02
CN111737600B true CN111737600B (en) 2021-07-09

Family

ID=72647426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010421436.3A Active CN111737600B (en) 2020-05-18 2020-05-18 Information providing method, device and equipment and system for displaying customer information

Country Status (1)

Country Link
CN (1) CN111737600B (en)

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867603A (en) * 2010-05-21 2010-10-20 深圳积享通信息技术有限公司 Method for automatic identification of mobile terminal in specific area
US9224118B2 (en) * 2012-03-12 2015-12-29 Google Inc. Dynamic display of content consumption by geographic location
US10217120B1 (en) * 2015-04-21 2019-02-26 Videomining Corporation Method and system for in-store shopper behavior analysis with multi-modal sensor fusion
CN105183921B (en) * 2015-10-23 2019-03-26 大连大学 The shop addressing system based on double-color reverse NN Query under mobile cloud computing environment
CN106874381B (en) * 2017-01-09 2020-12-22 重庆邮电大学 Radio environment map data processing system based on Hadoop
CN108427679B (en) * 2017-02-13 2022-09-13 腾讯科技(深圳)有限公司 People stream distribution processing method and equipment thereof
CN107330735A (en) * 2017-07-04 2017-11-07 百度在线网络技术(北京)有限公司 Method and apparatus for determining association shops
CN107506376B (en) * 2017-07-18 2021-02-09 口碑控股有限公司 Client for acquiring data of information point in area
CN110020221B (en) * 2017-12-11 2022-02-18 腾讯科技(深圳)有限公司 Job distribution confirmation method, apparatus, server and computer readable storage medium
CN107977820B (en) * 2017-12-15 2020-02-18 吴小军 Intelligent logistics express delivery method
CN109242606A (en) * 2018-08-16 2019-01-18 浙江口碑网络技术有限公司 Shops's recommended method and device based on geographical location
CN110619089B (en) * 2019-05-31 2022-09-23 北京无限光场科技有限公司 Information retrieval method and device
CN110399445A (en) * 2019-07-25 2019-11-01 腾讯科技(深圳)有限公司 A kind of processing method of point of interest, device and equipment
CN110442715B (en) * 2019-07-31 2022-01-28 北京大学 Comprehensive urban geography semantic mining method based on multivariate big data

Also Published As

Publication number Publication date
CN111737600A (en) 2020-10-02

Similar Documents

Publication Publication Date Title
US11573942B2 (en) System and method for determining exact location results using hash encoding of multi-dimensioned data
US9880012B2 (en) Hybrid road network and grid based spatial-temporal indexing under missing road links
US20200311565A1 (en) Analyzing geotemporal proximity of entities through a knowledge graph
US8862566B2 (en) Systems and methods for intelligent parallel searching
CN107026881B (en) Method, device and system for processing service data
CN106326309A (en) Data query method and device
CN110837520A (en) Data processing method, platform and system
CN105608087B (en) resource scheduling method and device
CN104834719B (en) Applied to the Database Systems under real-time big data scene
CN109120453B (en) Method for globally showing IT basic architecture data in CMDB
CN102831169B (en) Plane figure relation determining method and system in geographical information system
CN111737600B (en) Information providing method, device and equipment and system for displaying customer information
CN111460057B (en) POI (Point of interest) coordinate determining method, device and equipment
JP2023534086A (en) ROAD DATA PROCESSING METHOD, APPARATUS, DEVICE, STORAGE MEDIUM, AND PROGRAM
CN104156364A (en) Display method and device of map search result
US20170147393A1 (en) Cache-efficient system for two-phase processing
CN111127065B (en) User job site acquisition method and device
CN113157890A (en) Intelligent question and answer method and device, electronic equipment and readable storage medium
CN112291713B (en) Method for acquiring target potential user data
CN111881082A (en) Snapshot generation method and device, electronic equipment and storage medium
CN111506613A (en) Method, system, device and equipment for querying incidence relation of data record
CN113761102B (en) Data processing method, device, server, system and storage medium
CN112859874B (en) Dynamic environment area operation and maintenance method and equipment for mobile robot
CN113724009A (en) Transportation capacity pricing method and device, electronic equipment and machine-readable storage medium
US20080249985A1 (en) Facilitating Identification of Star Schemas in Database Environments

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant