Customer allocation method and apparatus, electronic device, and storage medium
By calculating the distance and weight between the standard address and the public address of the grid cell, customers are automatically matched to the target responsibility area, solving the problem of inaccurate distribution of Internet customer information and achieving efficient and accurate customer allocation.
Patent Information
- Application Number
- CN202410663575.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2044-05-27
AI Technical Summary
In the telecommunications industry, existing technologies present challenges in accurately and efficiently allocating potential customers to corresponding responsibility areas based on customer information obtained from the internet.
By obtaining the standard address of the grid cell and its corresponding responsibility area, the distance between the public address and the standard address is calculated. Based on the weight of the candidate standard address and the population density, the pending customers are automatically matched and assigned to the target responsibility area.
It improves the accuracy and efficiency of customer allocation, reduces manual operations, and ensures effective application in both densely populated and sparsely populated areas.
Smart Images

Figure CN118631784B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a client allocation method, apparatus, electronic device, and storage medium. Background Technology
[0002] In the competitive environment of the telecommunications industry, operators need to effectively identify and cultivate potential high-value customers in order to expand their market share. To achieve this goal, in addition to utilizing internal customer data resources, external data assistance is also needed, especially information on potential customers obtained from the Internet. Then, based on this information, potential customers are assigned to corresponding responsibility areas, thereby integrating their information into the customer service system.
[0003] However, the current problem is that customer information obtained from the Internet is diverse. Therefore, how to accurately and efficiently assign customers to corresponding responsibility areas based on customer information obtained from the Internet is a technical problem that urgently needs to be solved. Summary of the Invention
[0004] In view of the above problems, embodiments of this application propose a customer allocation method, apparatus, electronic device and storage medium for accurate and efficient customer allocation.
[0005] According to one aspect of an embodiment of this application, a customer allocation method is provided, the method comprising:
[0006] Obtain the standard address corresponding to each grid cell, and the responsibility area corresponding to the standard address;
[0007] Obtain the public address corresponding to the customer to be processed;
[0008] The public address is compared with the standard address to obtain the standard address that matches the public address, and the standard address that matches the public address is used as the candidate standard address;
[0009] Based on the candidate standard addresses, target responsibility areas are determined, and the customers to be processed are assigned to the target responsibility areas.
[0010] Optionally, comparing the public address with the standard address to obtain a standard address that matches the public address includes: calculating the distance between the standard address and the public address for each standard address; and determining the multiple standard addresses that are closest to the public address as the standard address that matches the public address.
[0011] Optionally, calculating the distance between the standard address and the public address includes: calling a set application programming interface to obtain the location coordinates of the standard address and the location coordinates of the public address; and calculating the distance between the standard address and the public address based on the location coordinates of the standard address and the location coordinates of the public address.
[0012] Optionally, determining the target responsibility area based on the candidate standard address includes: taking the responsibility area corresponding to the candidate standard address as a candidate responsibility area, obtaining the allocation weight of the candidate responsibility area for each candidate responsibility area, and determining the candidate responsibility area with the highest allocation weight as the target responsibility area.
[0013] Optionally, for each candidate responsibility region, the allocation weight of the candidate responsibility region is obtained, including: for each candidate standard address, calculating the weight of the candidate standard address; for each candidate responsibility region, the sum of the weights of all candidate standard addresses corresponding to the candidate responsibility region is determined as the allocation weight of the candidate responsibility region.
[0014] Optionally, calculating the weight of the candidate standard address includes: obtaining the address understanding level of the candidate standard address, the population density of the grid cell corresponding to the candidate standard address, the maximum address understanding level among all candidate standard addresses, and the maximum population density among all candidate standard addresses; and performing a weighted calculation based on the address understanding level of the candidate standard address, the population density of the grid cell corresponding to the candidate standard address, the maximum address understanding level, and the maximum population density to obtain the weight of the candidate standard address.
[0015] Optionally, before determining the target responsibility area based on the candidate standard address, the method further includes: for each candidate standard address, determining whether the administrative region where the candidate standard address is located is the same as the administrative region where the public address is located; if they are different, filtering out the candidate standard address; and / or, for each candidate standard address, determining whether the degree of understanding of the description address of the candidate standard address is less than a preset degree of understanding threshold; if it is less than a preset degree of understanding threshold, filtering out the candidate standard address.
[0016] Optionally, obtaining the standard address corresponding to each grid cell includes: for each grid cell, obtaining the population density of the grid cell; and obtaining the standard address corresponding to the grid cell according to the address level corresponding to the population density of the grid cell.
[0017] Optionally, after obtaining the public address corresponding to the customer to be processed, the method further includes: performing data cleaning and / or data formatting on the public address corresponding to the customer to be processed.
[0018] According to another aspect of the embodiments of this application, a customer allocation device is provided, the device comprising:
[0019] The first acquisition module is used to acquire the standard address corresponding to each grid cell, and the responsibility area corresponding to the standard address;
[0020] The second acquisition module is used to acquire the public address corresponding to the customer to be processed.
[0021] The comparison module is used to compare the public address with the standard address to obtain the standard address that matches the public address, and to use the standard address that matches the public address as a candidate standard address;
[0022] The allocation module is used to determine the target responsibility area based on the candidate standard address and allocate the customer to be processed to the target responsibility area.
[0023] Optionally, the comparison module includes: a distance calculation unit, used to calculate the distance between the standard address and the public address for each standard address; and an address determination unit, used to determine the multiple standard addresses that are closest to the public address as the standard address that matches the public address.
[0024] Optionally, the distance calculation unit includes: a location acquisition subunit, used to call a set application programming interface to acquire the location coordinates of the standard address and the location coordinates of the public address; and a distance calculation subunit, used to calculate the distance between the standard address and the public address based on the location coordinates of the standard address and the location coordinates of the public address.
[0025] Optionally, the allocation module includes: a weight acquisition unit, used to take the responsibility region corresponding to the candidate standard address as a candidate responsibility region, and acquire the allocation weight of the candidate responsibility region for each candidate responsibility region; and a region determination unit, used to determine the candidate responsibility region with the highest allocation weight as the target responsibility region.
[0026] Optionally, the weight acquisition unit includes: an address weight calculation subunit, used to calculate the weight of each candidate standard address; and a region weight determination subunit, used to determine the allocation weight of each candidate responsibility region by summing the weights of all candidate standard addresses corresponding to the candidate responsibility region.
[0027] Optionally, the address weight calculation subunit is specifically used to obtain the descriptive address understanding level of the candidate standard address, the population density of the grid cell corresponding to the candidate standard address, the maximum descriptive address understanding level among all candidate standard addresses, and the maximum population density among all candidate standard addresses; and to perform a weighted calculation based on the descriptive address understanding level of the candidate standard address, the population density of the grid cell corresponding to the candidate standard address, the maximum descriptive address understanding level, and the maximum population density to obtain the weight of the candidate standard address.
[0028] Optionally, the device further includes: a first filtering module, configured to determine, for each candidate standard address, whether the administrative region where the candidate standard address is located is the same as the administrative region where the public address is located, and filter out the candidate standard address if they are different; and / or, a second filtering module, configured to determine, for each candidate standard address, whether the degree of understanding of the description address of the candidate standard address is less than a preset degree of understanding threshold, and filter out the candidate standard address if it is less than the preset degree of understanding threshold.
[0029] Optionally, the first acquisition module includes: a degree acquisition unit, used to acquire the population density of each grid cell; and an address acquisition unit, used to acquire the standard address corresponding to the grid cell according to the address level corresponding to the population density of the grid cell.
[0030] Optionally, the apparatus further includes a processing module for performing data cleaning and / or data formatting processing on the public address corresponding to the customer to be processed.
[0031] According to another aspect of the embodiments of this application, an electronic device is provided, comprising: one or more processors; and one or more computer-readable storage media having instructions stored thereon; wherein, when the instructions are executed by the one or more processors, the processors perform the client allocation method as described in any of the preceding claims.
[0032] According to another aspect of the embodiments of this application, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, causes the processor to perform the client allocation method as described in any of the preceding claims.
[0033] In this embodiment, the standard address corresponding to each grid cell and the responsibility area corresponding to the standard address are obtained; the public address corresponding to the customer to be processed is obtained; the public address is compared with the standard address to obtain a standard address that matches the public address, and the standard address that matches the public address is used as a candidate standard address; the target responsibility area is determined based on the candidate standard address, and the customer to be processed is assigned to the target responsibility area. Therefore, in this embodiment, by analyzing the public address of the customer to be processed and comparing it with the standard address, the target responsibility area to which the customer to be processed should be assigned can be determined more accurately. The address analysis method can be executed automatically and efficiently, thereby improving the efficiency of customer assignment.
[0034] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description
[0035] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some drawings of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0036] Figure 1 This is a flowchart illustrating the steps of a customer allocation method according to an embodiment of this application.
[0037] Figure 2 This is a flowchart of a customer allocation method according to an embodiment of this application.
[0038] Figure 3 This is a structural block diagram of a customer allocation device according to an embodiment of this application.
[0039] Figure 4 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0040] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0041] To address the issue of inaccurate customer allocation caused by the diverse nature of customer information obtained from the internet, this application proposes an address-based customer allocation method. This method resolves the discrepancy between publicly available addresses and standard addresses, enabling precise matching between externally obtained publicly available addresses and internally obtained standard addresses, thereby improving the accuracy and efficiency of customer allocation. Through this application, operators can effectively transform internet customers into actionable resources, thereby enhancing service efficiency and market competitiveness.
[0042] Reference Figure 1 The diagram illustrates a flowchart of a customer allocation method according to an embodiment of this application.
[0043] like Figure 1 As shown, the customer allocation method may include the following steps:
[0044] Step 101: Obtain the standard address corresponding to each grid cell, and the responsibility area corresponding to the standard address.
[0045] In telecommunications operator systems, grid units and responsibility areas (also known as responsibility fields) can be pre-divided.
[0046] A grid cell refers to a basic area unit used by telecommunications operators; it can be a small square on a map used to represent data for a specific area. The division of grid cells can be handled according to actual needs, and this embodiment does not impose any restrictions on this.
[0047] A responsibility area refers to a management method that divides a large area into several smaller responsibility areas, each with a clearly defined person in charge and responsibilities. Each responsibility area may correspond to one or more grid units. The specific division of responsibility areas can be handled according to actual needs; this embodiment does not impose any restrictions.
[0048] In telecommunications operator systems, to facilitate the management of grid cells, the standard address corresponding to each grid cell can be pre-obtained. Each grid cell can correspond to one or more standard addresses.
[0049] In one alternative implementation, the standard addresses of grid cells in a telecommunications operator's system can be hierarchically classified. The specific form of this hierarchical classification can be set according to actual needs; this embodiment does not impose any limitations on it.
[0050] For example, standard addresses can be divided into the following levels, from highest to lowest: Level 1 - City, Level 2 - District, Level 3 - Subdistrict Office, Level 4 - Road / Village, Level 5 - Alley, Level 6 - Community, Level 7 - Building, Level 8 - Unit, Level 9 - Floor, Level 10 - House Number, etc.
[0051] In one alternative implementation, considering the density of grid cells and the area they cover, the division of grid cells and responsibility areas is typically more detailed in densely populated areas and may be coarser in sparsely populated areas. Therefore, the address level required for a grid cell can be selected based on its population density.
[0052] For example, the process of obtaining the standard address corresponding to each grid cell may include the following steps A1 to A2:
[0053] Step A1: For each grid cell, obtain the population density of the grid cell.
[0054] For example, the population density of any given grid cell can be calculated by the traffic volume (such as access traffic) of that grid cell.
[0055] For example, a correspondence between traffic volume and population density can be pre-set. For any given grid cell, the traffic volume of that grid cell can be obtained, and the population density of that grid cell can be obtained based on the correspondence between traffic volume and population density.
[0056] The specific relationship between business volume and population density can be set according to actual needs, and this embodiment does not impose any restrictions on it. For example, the relationship between business volume and population density can be a relationship between a numerical range of business volume and a numerical value of population density, or it can be a functional expression of the relationship between population density and business volume, and so on.
[0057] Step A2: Obtain the standard address corresponding to the grid unit according to the address level corresponding to the population density of the grid unit.
[0058] For example, a correspondence between population density and address level can be pre-set. After obtaining the population density of the grid cell, the address level corresponding to the population density of the grid cell can be obtained according to the correspondence between population density and address level. Then, the standard address corresponding to the grid cell can be obtained according to the address level corresponding to the population density of the grid cell.
[0059] The correspondence between population density and address level can be set according to actual needs, and this embodiment does not impose any restrictions on it. For example, it can be set that for grid cells with high population density, a standard address with a lower address level is used; and for grid cells with low population density, a standard address with a higher address level is used. That is, population density and address level are inversely correlated. For example, a level 7 standard address is used for grid cells with low population density, and a level 8 standard address is used for grid cells with high population density, and so on.
[0060] In practical applications, the standard address corresponding to the grid cell can be obtained through the internal system, database, or other data storage location of the communication operator. The specific handling can be based on the actual situation, and will not be discussed in detail in this embodiment.
[0061] After obtaining the standard address corresponding to each grid cell, the responsibility region corresponding to that standard address can be obtained. The responsibility region corresponding to the standard address is the responsibility region where the grid cell corresponding to that standard address is located. One responsibility region corresponds to at least one grid cell, and one grid cell corresponds to at least one standard address; therefore, one responsibility region corresponds to at least one standard address.
[0062] Step 102: Obtain the public address corresponding to the customer to be processed.
[0063] Customers awaiting processing refer to customers who need to be assigned to corresponding responsibility areas. There can be one or more customers awaiting processing. When there are multiple customers awaiting processing, the customer assignment method in this embodiment can be executed separately for each customer. Customers awaiting processing can be various applicable types of customers, such as enterprise customers, and this embodiment does not impose any restrictions on this.
[0064] In this embodiment, customer information of the customer to be processed can be obtained from the Internet. For example, customer information may include, but is not limited to: customer name, public address, administrative region, industry, registration information (such as business registration information of corporate customers), etc.
[0065] For example, a web crawler can be used to access the website of a client industry (such as the government sector), parse the HTML (HyperText Markup Language) code of the website, extract the client information listed in the website directory, and save this client information in a database.
[0066] In one optional implementation, considering that customer information obtained from the internet often contains duplicate records, errors, and incomplete information, further data cleaning and / or formatting can be performed on the customer information data obtained from the internet to ensure the consistency and accuracy of the customer information. Data cleaning removes invalid data, corrects errors, and fills in missing values to ensure the quality of the obtained data. Data formatting converts the data into a standardized or uniform format for easy storage, retrieval, and analysis.
[0067] Accordingly, after obtaining the public address corresponding to the customer to be processed, the process may further include: performing data cleaning and / or data formatting on the public address corresponding to the customer to be processed. Here, "and / or" means at least one of these.
[0068] For example, data cleaning and data formatting processes may include, but are not limited to, the following processes:
[0069] Text cleaning: Text data often contains spaces, newlines, special characters, and other elements that need to be cleaned. It may also be necessary to convert the text data to uppercase or lowercase to reduce inconsistencies caused by case sensitivity.
[0070] Type conversion: Data from different sources may use different data types to represent the same content. For example, some websites use "1" and "0" to represent the boolean values true and false, while other websites may use strings like "True" and "False". Type conversion is the process of unifying this data into a standard format.
[0071] Numerical formatting: The representation of values such as currency, dates, and percentages should be consistent. For example, dates may need to be converted to the format "YYYY-MM-DD", and currency values may need to have a consistent number of decimal places.
[0072] Unified encoding: Different systems may use different encoding methods, such as UTF-8 (Unicode Transformation Format) and ASCII (American Standard Code for Information Interchange). When formatting data, it is necessary to ensure that the data uses a unified encoding to prevent garbled characters.
[0073] Standardization: This involves standardizing data operations, such as using the same units for measurement conversion, or normalizing data to make its scale consistent, which facilitates comparison and analysis.
[0074] Step 103: Compare the public address with the standard address to obtain the standard address that matches the public address, and use the standard address that matches the public address as a candidate standard address.
[0075] In this embodiment of the application, considering that the standard address corresponding to the grid unit and the public address corresponding to the client to be processed may have inconsistencies in format, it is not appropriate to directly compare the text of the standard address corresponding to the grid unit and the public address corresponding to the client to be processed. Therefore, in this embodiment of the application, the standard address corresponding to the grid unit and the public address corresponding to the client to be processed are compared based on the distance between them.
[0076] In one optional implementation, the process of comparing the public address with the standard address to obtain a standard address that matches the public address may include the following steps B1 to B2:
[0077] Step B1: For each standard address, calculate the distance between the standard address and the public address.
[0078] For example, the process of calculating the distance between the standard address and the public address may include: calling a set application programming interface to obtain the location coordinates of the standard address and the location coordinates of the public address; and calculating the distance between the standard address and the public address based on the location coordinates of the standard address and the location coordinates of the public address.
[0079] In this embodiment of the application, the location coordinates corresponding to the relevant address (standard address, public address) can be obtained by calling the set API (Application Programming Interface).
[0080] APIs are used as middleware to exchange data between applications or developers. The API sends relevant addresses (standard addresses and public addresses) to the corresponding service provider, which maintains a database that converts these addresses into corresponding location coordinates. Code can be written to call the API to send a location retrieval request to the service provider. This request can carry information such as the relevant addresses (standard addresses and public addresses), and the service provider will return response data. The response data may include, but is not limited to, the location coordinates of the relevant addresses (standard addresses and public addresses), the absolute precision of the description of the relevant addresses (standard addresses and public addresses), and the level of understanding of the description of the relevant addresses (standard addresses and public addresses), etc. A location retrieval request can carry one or more relevant addresses, which can be either standard addresses or public addresses. The retrieved response data can be further processed to form structured data and stored in the database.
[0081] Based on the location coordinates of the standard address and the location coordinates of the public address, the distance between the standard address and the public address can be calculated.
[0082] For example, the location coordinates mentioned above can specifically be latitude and longitude coordinates, and the distance between the standard address and the public address can be calculated using a geographic distance calculation method.
[0083] For example, the Havesing formula can be used to calculate distances:
[0084]
[0085] Where d represents the distance between two location coordinates, r represents the average radius of the Earth, a represents the angle difference in the intermediate calculation steps, Δlat represents the latitude difference between two location coordinates, Δlon represents the longitude difference between two location coordinates, and lat1 and lat2 represent the latitude of two location coordinates.
[0086] Of course, other applicable formulas for calculating distance may also be used in this embodiment, and this embodiment does not limit this.
[0087] Step B2: Determine the multiple standard addresses that are closest to the public address as the standard addresses that match the public address.
[0088] After calculating the distance between each standard address and the public address, the standard addresses can be sorted according to their distance to the public address. Then, the multiple standard addresses closest to the public address are selected and determined as the standard addresses matching the public address. The specific number of selected standard addresses can be set according to actual needs; this embodiment does not impose a limit on this. For example, the specific number of selected standard addresses can be set to 5 to 8, etc.
[0089] In this embodiment of the application, the standard address that matches the public address is used as the candidate standard address, and the grid cell and responsibility area corresponding to each candidate standard address are recorded.
[0090] Step 104: Determine the target responsibility area based on the candidate standard address, and assign the customer to be processed to the target responsibility area.
[0091] In this embodiment of the application, by further analyzing the candidate standard addresses, the target responsibility area to which the customers to be processed need to be assigned can be determined.
[0092] In one alternative implementation, the process of determining the target responsibility area based on the candidate standard address may include the following steps C1 to C2:
[0093] Step C1: The responsibility region corresponding to the candidate standard address is taken as the candidate responsibility region, and the allocation weight of the candidate responsibility region is obtained for each candidate responsibility region.
[0094] As can be seen from the above, a responsibility region can correspond to one or more standard addresses. Therefore, the responsibility regions corresponding to the candidate standard addresses can be determined, and all the responsibility regions corresponding to the candidate standard addresses can be used as candidate responsibility regions.
[0095] Each candidate responsibility region is analyzed to obtain its assigned weight. The assigned weight of a candidate responsibility region represents the matching degree between the customer to be processed and that candidate responsibility region; the higher the assigned weight of a candidate responsibility region, the higher the matching degree between the customer to be processed and that candidate responsibility region.
[0096] For example, the process of obtaining the allocation weight of each candidate responsibility region may include the following steps C11 to C12:
[0097] Step C11: For each candidate standard address, calculate the weight of the candidate standard address.
[0098] For example, the process of calculating the weight of the candidate standard address may include: obtaining the address understanding level of the candidate standard address, the population density of the grid cell corresponding to the candidate standard address, the maximum address understanding level among all candidate standard addresses, and the maximum population density among all candidate standard addresses; and performing a weighted calculation based on the address understanding level of the candidate standard address, the population density of the grid cell corresponding to the candidate standard address, the maximum address understanding level, and the maximum population density to obtain the weight of the candidate standard address.
[0099] When obtaining the location coordinates of a standard address by calling the API interface as described above, the response data returned by the service provider also includes a description of the standard address and the level of address comprehension.
[0100] For example, the score range for describing the degree of address understanding can be 0-100. The higher the score, the higher the degree of address understanding of the service.
[0101] For example, when the value describing the level of understanding of an address is as follows, the corresponding accuracy can be as follows:
[0102] "Description of address understanding" = 100, the probability of resolution error within 100m is 91%, and the probability of resolution error within 500m is 96%;
[0103] With a "Description Address Understanding" score of ≥90, the probability of a resolution error within 100m is 89%, and the probability of a resolution error within 500m is 96%.
[0104] If the "Description Address Understanding" is ≥80, the probability of a resolution error within 100m is 88%, and the probability of a resolution error within 500m is 95%.
[0105] With a "Description Address Understanding" score of ≥70, the probability of a resolution error within 100m is 84%, and the probability of a resolution error within 500m is 93%.
[0106] With a "Description Address Understanding Level" ≥ 60, the probability of a resolution error within 100m is 81%, and the probability of a resolution error within 500m is 91%.
[0107] If the "Description Address Understanding Level" is ≥50, the probability of a resolution error within 100m is 79%, and the probability of a resolution error within 500m is 90%.
[0108] Here, the parsing error refers to the distance between the location coordinates of the relevant address (standard address, public address) obtained by the service parsing and the actual location corresponding to the relevant address (standard address, public address).
[0109] The process of obtaining the population density of the grid cell corresponding to the candidate standard address can be referred to the relevant description of obtaining the corresponding standard address of each grid cell above, and will not be discussed in detail here.
[0110] For example, the weight of a candidate standard address can be calculated using the following formula:
[0111]
[0112] Among them, V a U represents the weight of the candidate standard address. a D represents the degree of understanding of the candidate standard address description. a U represents the population density of the grid cell corresponding to the candidate standard address. max D represents the maximum address understanding among all candidate standard addresses. max w represents the maximum population density among all grid cells corresponding to the candidate standard addresses. U w represents the weight of the predefined description address's level of understanding. D This represents the weight of the preset population density. Where w U +w D =1, for w U and w D The specific value can be set according to actual needs, and this embodiment does not impose any restrictions on it.
[0113] Step C12: For each candidate responsibility region, the sum of the weights of all candidate standard addresses corresponding to the candidate responsibility region is determined as the allocation weight of the candidate responsibility region.
[0114] In this embodiment of the application, a weighted voting mechanism is adopted. For each candidate responsibility region, the sum of the weights of all candidate standard addresses corresponding to the candidate responsibility region is determined as the allocation weight of the candidate responsibility region.
[0115] Step C2: The candidate responsibility region with the highest assigned weight is determined as the target responsibility region.
[0116] After calculating the assigned weight of each candidate responsibility region, the candidate responsibility region with the highest assigned weight can be selected and determined as the target responsibility region.
[0117] After the target responsibility area is determined, the customers to be processed are assigned to the target responsibility area so that the target responsibility area can carry out subsequent marketing and other operations on the customers to be processed.
[0118] In one alternative implementation, to further improve the accuracy of customer allocation, after comparing the public address with the standard address to obtain a standard address that matches the public address and using the standard address that matches the public address as a candidate standard address, the obtained candidate standard addresses can be filtered before determining the target responsibility area based on the candidate standard addresses, thereby retaining more accurate candidate standard addresses.
[0119] For example, after obtaining the candidate standard address, the following operations can be performed: for each candidate standard address, determine whether the administrative region where the candidate standard address is located is the same as the administrative region where the public address is located; if they are different, filter out the candidate standard address; and / or, for each candidate standard address, determine whether the degree of understanding of the description address of the candidate standard address is less than a preset degree of understanding threshold; if it is less than a preset degree of understanding threshold, filter out the candidate standard address.
[0120] For each candidate standard address, its administrative region can be obtained. This administrative region can be set after obtaining the candidate standard address corresponding to the grid unit. For the public address of the customer to be processed, its administrative region can be obtained. This administrative region can be obtained when retrieving customer information from the internet. For each candidate standard address, it is determined whether the administrative region of the candidate standard address is the same as the administrative region of the public address. If they are different, the candidate standard address is filtered out; if they are the same, it is retained. By determining the administrative region, candidate standard addresses located in the same administrative region as the public address of the customer to be processed are retained, thereby improving the accuracy of the candidate standard addresses.
[0121] For each candidate standard address, the level of understanding of its description address can be obtained. This level of understanding can be obtained from the response data received when calling the API interface. For each candidate standard address, it is determined whether the level of understanding is less than a preset understanding threshold. If it is less than, the candidate standard address is filtered out; if it is greater than or equal to, it is retained. The specific value of the understanding threshold can be set according to actual needs; this embodiment does not impose any restrictions on it. For example, the understanding threshold can be set to 60, 70, etc. By judging the level of understanding of the description address, candidate standard addresses with an understanding level greater than or equal to the understanding threshold are retained, thereby improving the precision of the candidate standard addresses and the accuracy of matching.
[0122] In this embodiment of the application, the analysis is based on the public address of the customer to be processed. By comparing it with the standard address, the target responsibility area to be assigned to the customer to be processed can be determined more accurately. The address analysis method can be executed automatically and efficiently, thereby improving the efficiency of customer allocation.
[0123] Reference Figure 2 The diagram shows a flowchart of a customer allocation method according to an embodiment of this application.
[0124] like Figure 2 As shown, the customer allocation method may include: obtaining the access traffic volume of a grid unit; obtaining the population density of the grid unit based on the access traffic volume; obtaining the standard address corresponding to the grid unit according to the address level corresponding to the population density of the grid unit; obtaining the grid unit and responsibility area corresponding to the standard address; obtaining customer information of the customers to be processed from the Internet; performing data cleaning and data formatting; obtaining the public address of the customers to be processed; calling the API to obtain the response data corresponding to the standard address and the response data corresponding to the public address respectively; calculating the distance between the standard address and the public address; selecting multiple standard addresses closest to the public address as candidate standard addresses; determining whether the candidate standard address and the public address belong to the same administrative region; if not, discarding the candidate standard address; if so, determining whether the descriptive address comprehension level of the candidate standard address is greater than or equal to a preset threshold; if not, discarding the candidate standard address; if so, determining the target responsibility area corresponding to the public address based on a voting mechanism; and the system dispatching orders to allocate the customers to be processed to the target responsibility area.
[0125] The customer allocation method provided in this application can be applied not only to communication customers, but also to any other applicable customers.
[0126] The customer allocation method in this application has the following advantages and effects:
[0127] (1) By using automated information collection and processing and API interfaces, the location coordinates of standard addresses and public addresses can be quickly obtained and converted, which improves the efficiency of data processing.
[0128] (2) Automatically match the standard address, grid cell and responsibility area corresponding to the public address to realize the automatic allocation of external data, reduce the need for manual operation, and improve the speed and accuracy of task allocation.
[0129] (3) The standard address level used is automatically adjusted according to the population density of the grid cell to ensure effective application in both densely populated and sparsely populated areas.
[0130] Reference Figure 3 The diagram shows a structural block diagram of a customer allocation device according to an embodiment of this application.
[0131] like Figure 3 As shown, the customer allocation device may include the following modules:
[0132] The first acquisition module 301 is used to acquire the standard address corresponding to each grid cell and the responsibility area corresponding to the standard address;
[0133] The second acquisition module 302 is used to acquire the public address corresponding to the customer to be processed;
[0134] The comparison module 303 is used to compare the public address with the standard address to obtain the standard address that matches the public address, and to use the standard address that matches the public address as a candidate standard address;
[0135] The allocation module 304 is used to determine the target responsibility area based on the candidate standard address and allocate the customer to be processed to the target responsibility area.
[0136] Optionally, the comparison module 303 includes: a distance calculation unit, used to calculate the distance between the standard address and the public address for each standard address; and an address determination unit, used to determine the multiple standard addresses that are closest to the public address as the standard address that matches the public address.
[0137] Optionally, the distance calculation unit includes: a location acquisition subunit, used to call a set application programming interface to acquire the location coordinates of the standard address and the location coordinates of the public address; and a distance calculation subunit, used to calculate the distance between the standard address and the public address based on the location coordinates of the standard address and the location coordinates of the public address.
[0138] Optionally, the allocation module 304 includes: a weight acquisition unit, used to take the responsibility region corresponding to the candidate standard address as a candidate responsibility region, and acquire the allocation weight of the candidate responsibility region for each candidate responsibility region; and a region determination unit, used to determine the candidate responsibility region with the highest allocation weight as the target responsibility region.
[0139] Optionally, the weight acquisition unit includes: an address weight calculation subunit, used to calculate the weight of each candidate standard address; and a region weight determination subunit, used to determine the allocation weight of each candidate responsibility region by summing the weights of all candidate standard addresses corresponding to the candidate responsibility region.
[0140] Optionally, the address weight calculation subunit is specifically used to obtain the descriptive address understanding level of the candidate standard address, the population density of the grid cell corresponding to the candidate standard address, the maximum descriptive address understanding level among all candidate standard addresses, and the maximum population density among all candidate standard addresses; and to perform a weighted calculation based on the descriptive address understanding level of the candidate standard address, the population density of the grid cell corresponding to the candidate standard address, the maximum descriptive address understanding level, and the maximum population density to obtain the weight of the candidate standard address.
[0141] Optionally, the device further includes: a first filtering module, configured to determine, for each candidate standard address, whether the administrative region where the candidate standard address is located is the same as the administrative region where the public address is located, and filter out the candidate standard address if they are different; and / or, a second filtering module, configured to determine, for each candidate standard address, whether the degree of understanding of the description address of the candidate standard address is less than a preset degree of understanding threshold, and filter out the candidate standard address if it is less than the preset degree of understanding threshold.
[0142] Optionally, the first acquisition module 301 includes: a degree acquisition unit, used to acquire the population density of each grid cell; and an address acquisition unit, used to acquire the standard address corresponding to the grid cell according to the address level corresponding to the population density of the grid cell.
[0143] Optionally, the apparatus further includes a processing module for performing data cleaning and / or data formatting processing on the public address corresponding to the customer to be processed.
[0144] In this embodiment of the application, the analysis is based on the public address of the customer to be processed. By comparing it with the standard address, the target responsibility area to be assigned to the customer to be processed can be determined more accurately. The address analysis method can be executed automatically and efficiently, thereby improving the efficiency of customer allocation.
[0145] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.
[0146] In embodiments of this application, an electronic device is also provided. This electronic device may include one or more processors and one or more computer-readable storage media storing instructions thereon, such as an application program. When the instructions are executed by the one or more processors, the processors cause the processors to perform the client allocation method of any of the above embodiments.
[0147] Reference Figure 4The diagram illustrates a schematic representation of an electronic device structure according to an embodiment of this application. Figure 4 As shown, the electronic device includes a processor 401, a communication interface 402, a memory 403, and a communication bus 404. The processor 401, communication interface 402, and memory 403 communicate with each other via the communication bus 404.
[0148] Memory 403 is used to store computer programs.
[0149] When the processor 401 executes the program stored in the memory 403, it implements the client allocation method of any of the above embodiments.
[0150] Communication interface 402 is used for communication between the above-mentioned electronic device and other devices.
[0151] The aforementioned communication bus 404 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, it is represented by only one thick line in the diagram, but this does not indicate that there is only one bus or one type of bus.
[0152] The processor 401 mentioned above may include, but is not limited to: a central processing unit (CPU), a network processor (NP), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0153] The aforementioned memory 403 may include, but is not limited to: Read Only Memory (ROM), Random Access Memory (RAM), Compact Disc Read Only Memory (CD-ROM), Electronic Erasable Programmable Read Only Memory (EEPROM), Hard Disk, Floppy Disk, Flash Memory, etc.
[0154] In embodiments of this application, a computer-readable storage medium is also provided, on which a computer program is stored, which can be executed by a processor of an electronic device, and when the computer program is executed by the processor, causes the processor to perform the client allocation method as described in any of the above embodiments.
[0155] The various embodiments in this specification are related to each other and are described in a progressive manner. Each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
[0156] It should be noted that all actions involving the acquisition of signals, information, or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where the application is located, and with the authorization granted by the owner of the relevant device.
[0157] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.
[0158] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM, RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0159] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
[0160] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0161] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0162] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0163] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0164] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0165] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0166] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. In summary, the content of this specification should not be construed as a limitation of this application.
Claims
1. A customer allocation method, characterized in that, The method includes: Obtain the standard address corresponding to each grid cell, and the responsibility area corresponding to the standard address; Obtain the public address corresponding to the customer to be processed; Based on the distance between the standard address corresponding to the grid cell and the public address corresponding to the customer to be processed, the public address is compared with the standard address to obtain the standard address that matches the public address, and the standard address that matches the public address is used as the candidate standard address. Based on the candidate standard addresses, target responsibility areas are determined, and the customers to be processed are assigned to the target responsibility areas. The step of determining the target responsibility area based on the candidate standard address includes: The obtained candidate standard addresses are filtered; The responsibility regions corresponding to the candidate standard addresses are used as candidate responsibility regions. A weighted voting mechanism is adopted to obtain the allocation weight of each candidate responsibility region. The candidate responsibility region with the highest assigned weight is determined as the target responsibility region.
2. The method according to claim 1, characterized in that, Comparing the public address with the standard address to obtain the standard address that matches the public address includes: For each standard address, calculate the distance between the standard address and the public address; The multiple standard addresses that are closest to the public address are identified as the standard addresses that match the public address.
3. The method according to claim 2, characterized in that, Calculating the distance between the standard address and the public address includes: Call the designated application programming interface to obtain the location coordinates of the standard address and the location coordinates of the public address; The distance between the standard address and the public address is calculated based on the location coordinates of the standard address and the location coordinates of the public address.
4. The method according to claim 1, characterized in that, For each candidate responsibility region, obtain the allocation weight of the candidate responsibility region, including: For each candidate standard address, calculate the weight of the candidate standard address; For each candidate responsibility region, the sum of the weights of all candidate standard addresses corresponding to the candidate responsibility region is determined as the allocation weight of the candidate responsibility region.
5. The method according to claim 4, characterized in that, Calculating the weights of the candidate standard addresses includes: The following parameters are obtained: the degree of understanding of the description address of the candidate standard address, the population density of the grid cell corresponding to the candidate standard address, the maximum degree of understanding of the description address among all candidate standard addresses, and the maximum population density of the grid cell corresponding to all candidate standard addresses. The weight of the candidate standard address is obtained by weighting the degree of understanding of the description address, the population density of the grid cell corresponding to the candidate standard address, the maximum degree of understanding of the description address, and the maximum population density.
6. The method according to claim 1, characterized in that, Before determining the target responsibility area based on the candidate standard addresses, the process also includes: For each candidate standard address, determine whether the administrative region where the candidate standard address is located is the same as the administrative region where the public address is located. If they are different, filter out the candidate standard address. And / or, For each candidate standard address, determine whether the degree of understanding of the description address of the candidate standard address is less than a preset degree of understanding threshold. If it is less than the threshold, filter out the candidate standard address.
7. The method according to claim 1, characterized in that, Obtain the standard address corresponding to each grid cell, including: For each grid cell, the population density of that grid cell is obtained; Obtain the standard address corresponding to the grid cell according to the address level corresponding to the population density of the grid cell.
8. The method according to claim 1, characterized in that, After obtaining the public address corresponding to the customer to be processed, the process also includes: Perform data cleaning and / or data formatting on the public addresses corresponding to the customers to be processed.
9. A customer allocation device, characterized in that, The device includes: The first acquisition module is used to acquire the standard address corresponding to each grid cell, and the responsibility area corresponding to the standard address; The second acquisition module is used to acquire the public address corresponding to the customer to be processed. The comparison module is used to compare the public address with the standard address based on the distance between the standard address corresponding to the grid cell and the public address corresponding to the client to be processed, to obtain the standard address that matches the public address, and to use the standard address that matches the public address as a candidate standard address; and to filter the obtained candidate standard addresses. The allocation module is used to determine the target responsibility area based on the candidate standard address and allocate the customer to be processed to the target responsibility area. The allocation module includes: The weight acquisition unit is used to take the responsibility region corresponding to the candidate standard address as the candidate responsibility region, and for each candidate responsibility region, acquire the allocation weight of the candidate responsibility region; The region determination unit is used to determine the candidate responsibility region with the highest assigned weight as the target responsibility region.
10. An electronic device, characterized in that, include: One or more processors; and One or more computer-readable storage media on which instructions are stored; When the instructions are executed by the one or more processors, the processors perform the client allocation method as described in any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed by a processor, causes the processor to perform the client allocation method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Business allocation method and apparatus
CN107798450A