Site selection method and device, electronic equipment and readable medium

The gravitational algorithm is used to calculate the gravitational value between the addresses to be screened and determine the target address, which solves the problem of high data quality requirements of existing site selection methods, improves the flexibility and accuracy of the site selection plan, and is suitable for a variety of site selections. scene.

CN118779389APending Publication Date: 2024-10-15BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310377756.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-10
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing site selection methods have high requirements on data quality, and suffer from insufficient flexibility, reliability and accuracy in practical applications.

Method used

The universal gravity algorithm is used to determine the business information and geographical information of the addresses to be screened as input parameters, and then calculate the sum of the gravity values ​​between the addresses to be screened, and then determine the target address. This method reduces the requirements for data volume and improves the flexibility, reliability and accuracy of site selection plans.

Benefits of technology

It effectively overcomes the problem of high data quality requirements, improves the flexibility, reliability and accuracy of the location selection plan, and is suitable for a variety of location selection scenarios, including the location selection of warehousing and logistics addresses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779389A_ABST
    Figure CN118779389A_ABST
Patent Text Reader

Abstract

The invention provides a site selection method and device, electronic equipment and a readable medium, and the method comprises the steps: determining the business information and geographic information of a plurality of to-be-screened addresses; the service information and the geographic information serve as input parameters of a universal gravitation algorithm, and the sum of gravitation values between any one to-be-screened address and other to-be-screened addresses in the multiple to-be-screened addresses is calculated and determined; and determining one address in the plurality of to-be-screened addresses as a target address according to the sum of the gravitation values. According to the embodiment of the invention, the reliability, flexibility and accuracy of the site selection scheme can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] At present, in recent years, with the rapid development of site selection theory, various site selection methods have become more and more numerous. In particular, the rapid development of computers, big data and artificial intelligence technology in recent years has provided strong support for the feasibility of different plans.

[0003] In the relevant technology, the current mainstream site selection methods include: centroid method, linear programming, dynamic programming, expert experience, etc., but are not limited to these.

[0004] However, the existing site selection scheme has many technical defects:

[0005] (1) The centroid method mainly solves the logistics network planning problem composed of the transportation flow from the starting point to the end point, taking into account the distance between existing facilities and the amount of goods to be transported. The decision-making basis is to minimize the transportation cost of the product. Then, the partial derivative of the logistics center coordinates is calculated to obtain the optimal geographical location of the distribution center. Due to the limitations of the centroid method itself, it can only solve the problem of site selection for a single distribution center, and it is a continuous model, which is powerless for discrete data.

[0006] (2) Linear programming mainly establishes mathematical models based on the internal connections between the characteristics of the problem, known conditions, and various constraints. This method has high requirements on data quality and it is difficult to establish appropriate models for some complex problems. Therefore, it is greatly restricted in practical applications.

[0007] (3) The dynamic site selection model solves the problem of how to select a location for facilities within a planning period that spans a time period when demand and cost change so as to minimize the total long-term cost. This method also has high requirements on data quality and is therefore greatly limited in practical applications.

[0008] (4) Disadvantages of the expert experience method: Over-reliance on the subjective opinions of experts and lack of data support.

[0009] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0010] The purpose of the present disclosure is to provide a site selection method, device, electronic device and readable medium, which are used to overcome, at least to a certain extent, the problem of high data volume requirements of site selection schemes due to limitations and defects of related technologies.

[0011] According to a first aspect of an embodiment of the present disclosure, a site selection method is provided, comprising: determining business information and geographic information of a plurality of addresses to be screened; using the business information and the geographic information as input parameters of a universal gravitation algorithm, calculating and determining the sum of gravitational values ​​between any of the addresses to be screened and other addresses to be screened in the plurality of addresses to be screened; and determining one of the plurality of addresses to be screened as a target address based on the sum of the gravitational values.

[0012] In an exemplary embodiment of the present disclosure, the target address is a warehousing logistics address, and determining the business information and geographic information of the multiple addresses to be screened includes:

[0013] Determine order information of a plurality of addresses to be screened within a specified time period and determine the order information as the business information;

[0014] The longitude and latitude information of the plurality of addresses to be screened are determined and determined as the geographic information.

[0015] In an exemplary embodiment of the present disclosure, the business information and the geographic information are used as input parameters of the universal gravitation algorithm, and the sum of the gravitational values ​​between any of the addresses to be screened and other addresses to be screened in the plurality of addresses to be screened is calculated and determined, including:

[0016] Using the business information of any of the addresses to be screened and the business information of multiple addresses to be screened as weight parameters input into the gravitational algorithm;

[0017] Determining a distance parameter input into the gravitation algorithm according to the geographic information of any one of the addresses to be screened and the geographic information of a plurality of the addresses to be screened;

[0018] The gravity value is determined based on the weight parameter, the distance parameter and a limiting function for determining a gravity coefficient.

[0019] In an exemplary embodiment of the present disclosure, determining the gravity value according to the weight parameter, the distance parameter and a limit function for determining a gravity coefficient comprises:

[0020] Determine a reference gravity value according to the weight parameter and the distance parameter;

[0021] Determine the preset maximum gravity value and minimum gravity value;

[0022] Determining a first magnitude relationship between the reference gravity value and the maximum gravity value, and determining a second magnitude relationship between the reference gravity value and the minimum gravity value;

[0023] The gravity value is determined according to the first size relationship and the second size relationship.

[0024] In an exemplary embodiment of the present disclosure, determining the gravity value according to the first magnitude relationship and the second magnitude relationship includes:

[0025] If it is determined according to the first magnitude relationship that the reference gravity value is less than or equal to the minimum gravity value, then the minimum gravity value is determined to be the gravity value;

[0026] If it is determined according to the second magnitude relationship that the reference gravity value is greater than or equal to the maximum gravity value, then the maximum gravity value is determined as the gravity value;

[0027] If the reference gravity value is determined to be greater than the minimum gravity value according to the first size relationship, and if the reference gravity value is determined to be less than the maximum gravity value according to the second size relationship, then the reference gravity value is determined to be the gravity value.

[0028] In an exemplary embodiment of the present disclosure, determining one of the multiple addresses to be screened as a target address according to the sum of the gravity values ​​includes:

[0029] Determine a cluster to which the plurality of addresses to be screened belong;

[0030] If it is determined that the cluster center address of the cluster is no longer updated, the address to be screened with the largest sum of gravity values ​​in the cluster is determined as the target address.

[0031] In an exemplary embodiment of the present disclosure, determining one of the multiple addresses to be screened as a target address according to the sum of the gravity values ​​includes:

[0032] Determine a cluster to which the plurality of addresses to be screened belong;

[0033] Determine the number of times the gravity value is calculated within the cluster;

[0034] If it is determined that the number of times reaches the preset number of iterations, the address to be screened with the largest sum of gravity values ​​in the cluster is determined as the target address.

[0035] According to a second aspect of an embodiment of the present disclosure, there is provided a site selection device, including:

[0036] A determination module, configured to determine business information and geographic information of multiple addresses to be screened;

[0037] A calculation module, configured to use the business information and the geographic information as input parameters of a universal gravitation algorithm, and to calculate and determine the sum of the gravitational values ​​between any of the addresses to be screened and other addresses to be screened among the multiple addresses to be screened;

[0038] The determination module is configured to determine one of the multiple addresses to be screened as a target address according to the sum of the gravity values.

[0039] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute any one of the methods described above based on instructions stored in the memory.

[0040] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a program is stored, and when the program is executed by a processor, the site selection method as described in any one of the above items is implemented.

[0041] The disclosed embodiment determines the business information and geographic information of multiple addresses to be screened, uses the business information and the geographic information as input parameters of the universal gravitation algorithm, calculates and determines the sum of the gravitational values ​​between any of the addresses to be screened and other addresses to be screened in the multiple addresses to be screened, and determines one of the multiple addresses to be screened as the target address based on the sum of the gravitational values, thereby overcoming the problem of high requirements on data quality, reducing the requirements of the site selection plan on the amount of data, and improving the flexibility, reliability and accuracy of the site selection plan.

[0042] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0044] Figure 1 A schematic diagram showing an exemplary system architecture to which a site selection scheme according to an embodiment of the present disclosure can be applied;

[0045] Figure 2 is a flow chart of a site selection method in an exemplary embodiment of the present disclosure;

[0046] Figure 3 is a flow chart of another site selection method in an exemplary embodiment of the present disclosure;

[0047] Figure 4 is a flow chart of another site selection method in an exemplary embodiment of the present disclosure;

[0048] Figure 5 is a flow chart of another site selection method in an exemplary embodiment of the present disclosure;

[0049] Figure 6 is a flow chart of another site selection method in an exemplary embodiment of the present disclosure;

[0050] Figure 7 is a flow chart of another site selection method in an exemplary embodiment of the present disclosure;

[0051] Figure 8 is a flow chart of another site selection method in an exemplary embodiment of the present disclosure;

[0052] Fig. 9 is a schematic diagram of an architecture of a site selection scheme in an exemplary embodiment of the present disclosure;

[0053] Fig.10 is a schematic diagram of a logistics site selection platform of a site selection scheme in an exemplary embodiment of the present disclosure;

[0054] Fig.11 is a schematic diagram of an interface of a site selection scheme in an exemplary embodiment of the present disclosure;

[0055] Fig.12 is a block diagram of a site selection device in an exemplary embodiment of the present disclosure;

[0056] Fig.13 is a block diagram of an electronic device in an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0057] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0058] In addition, the accompanying drawings are only schematic diagrams of the present disclosure, and the same reference numerals in the drawings represent the same or similar parts, so their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities, which do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0059] Figure 1 A schematic diagram showing an exemplary system architecture to which the site selection scheme of the embodiments of the present disclosure can be applied is shown.

[0060] like Figure 1 As shown, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0061] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. According to the implementation requirements, there may be any number of terminal devices, networks and servers. For example, the server 105 may be a server cluster composed of multiple servers.

[0062] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Terminal devices 101, 102, 103 can be various electronic devices with display screens, including but not limited to smart phones, tablet computers, portable computers, desktop computers, etc.

[0063] In some embodiments, the site selection method provided by the embodiments of the present disclosure is generally executed by the server 105, and accordingly, the site selection device is generally set in the terminal device 103 (or the terminal device 101 or 102). In other embodiments, some terminals may have functions similar to those of the server device to execute the method.

[0064] The exemplary embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0065] Figure 2 is a flow chart of a site selection method in an exemplary embodiment of the present disclosure.

[0066] refer to Figure 2 , site selection methods may include:

[0067] Step S202, determining the business information and geographic information of multiple addresses to be screened.

[0068] Step S204, using the business information and the geographic information as input parameters of the gravitational algorithm, calculate and determine the sum of the gravitational values ​​between any of the addresses to be screened and other addresses to be screened in the plurality of addresses to be screened.

[0069] Step S206: determining one of the multiple addresses to be screened as a target address according to the sum of the gravity values.

[0070] The disclosed embodiment determines the business information and geographic information of multiple addresses to be screened, uses the business information and the geographic information as input parameters of the universal gravitation algorithm, calculates and determines the sum of the gravitational values ​​between any of the addresses to be screened and other addresses to be screened in the multiple addresses to be screened, and determines one of the multiple addresses to be screened as the target address based on the sum of the gravitational values, thereby overcoming the problem of high requirements on data quality, reducing the requirements of the site selection plan on the amount of data, and improving the flexibility, reliability and accuracy of the site selection plan.

[0071] Below, each step of the site selection method is described in detail.

[0072] In an exemplary embodiment of the present disclosure, Figure 3 As shown, the target address is a warehousing and logistics address, and the business information and geographic information of the multiple addresses to be screened are determined including:

[0073] Step 302: determine order information of multiple addresses to be screened within a specified time period and determine it as the business information.

[0074] Step 304, determining the longitude and latitude information of the plurality of addresses to be screened, and determining them as the geographic information.

[0075] In the above embodiment, the business information is determined by the order information, and the business information can be used as the quality in the gravitational algorithm. The geographic information is determined in combination with the longitude and latitude information, and the geographic information can be used as the distance in the gravitational algorithm. Based on this, gravitational calculation is performed on any two addresses among the multiple addresses to be screened, and the target address that can meet the business needs is determined based on this.

[0076] In an exemplary embodiment of the present disclosure, Figure 4 As shown, using the business information and the geographic information as input parameters of the universal gravitation algorithm, calculating and determining the sum of the gravitational values ​​between any of the addresses to be screened and other addresses to be screened in the plurality of addresses to be screened includes:

[0077] Step 402: Use the business information of any of the addresses to be screened and the business information of multiple addresses to be screened as weight parameters input into the gravitational algorithm.

[0078] Step 404: Determine a distance parameter input into the gravitational algorithm based on the geographic information of any one of the addresses to be screened and the geographic information of multiple addresses to be screened.

[0079] Step 406: Determine the gravity value according to the weight parameter, the distance parameter and a limit function for determining a gravity coefficient.

[0080] In the above embodiment, after determining the weight parameter and the distance parameter, the gravity value is limited to a reasonable numerical range through a limit function, which is not only conducive to improving the efficiency of gravity value calculation, but also conducive to improving the reliability of the gravity value of each address to be screened.

[0081] In an exemplary embodiment of the present disclosure, Figure 5 As shown, determining the gravity value according to the weight parameter, the distance parameter and a limit function for determining the gravity coefficient includes:

[0082] Step 502: Determine a reference gravity value according to the weight parameter and the distance parameter.

[0083] Step 504, determining a preset maximum gravity value and a preset minimum gravity value.

[0084] Step 506, determining a first magnitude relationship between the reference gravity value and the maximum gravity value, and determining a second magnitude relationship between the reference gravity value and the minimum gravity value.

[0085] Step 508: Determine the gravity value according to the first size relationship and the second size relationship.

[0086] In the above embodiment, the gravity value is determined by the first size relationship and the second size relationship, thereby achieving a limit on the gravity value, so that the gravity value is always within the range of the maximum gravity value and the minimum gravity value, thereby improving the calculation efficiency and rationality of the gravity value, and further improving the rationality of the target address.

[0087] In an exemplary embodiment of the present disclosure, Figure 6 As shown, determining the gravity value according to the first size relationship and the second size relationship includes:

[0088] Step 602: If it is determined according to the first magnitude relationship that the reference gravity value is less than or equal to the minimum gravity value, then the minimum gravity value is determined to be the gravity value.

[0089] Step 604: If it is determined according to the second magnitude relationship that the reference gravity value is greater than or equal to the maximum gravity value, then the maximum gravity value is determined as the gravity value.

[0090] Step 606: If the reference gravity value determined according to the first size relationship is greater than the minimum gravity value, and the reference gravity value determined according to the second size relationship is less than the maximum gravity value, then determine the reference gravity value to be the gravity value.

[0091] In an exemplary embodiment of the present disclosure, Figure 7 As shown, determining one of the multiple addresses to be screened as a target address according to the sum of the gravity values ​​includes:

[0092] Step 702: determine a cluster to which the plurality of addresses to be screened belong.

[0093] Step 704: If it is determined that the cluster center address of the cluster is no longer updated, the address to be screened with the largest sum of gravity values ​​in the cluster is determined as the target address.

[0094] In the above embodiment, after the addresses to be screened are divided into multiple clusters, the cluster center address of each cluster is taken as the target and its gravity value is calculated. If the cluster center address is no longer updated, based on the sum of the gravity values ​​in the existing clusters, the address to be screened with the largest sum of gravity values ​​is determined as the target address.

[0095] In an exemplary embodiment of the present disclosure, Figure 8 As shown, determining one of the multiple addresses to be screened as a target address according to the sum of the gravity values ​​includes:

[0096] Step 802: determine a cluster to which the plurality of addresses to be screened belong.

[0097] Step 804, determining the number of times the gravity value is calculated within the cluster.

[0098] Step 806: If it is determined that the number of times reaches the preset number of iterations, the address to be screened with the largest sum of gravity values ​​in the cluster is determined as the target address.

[0099] In the above embodiment, by determining a cluster and a number to which the multiple addresses to be screened belong, if it is determined that the number reaches a preset number of iterations, the address to be screened with the largest sum of gravity values ​​in the cluster is determined as the target address, thereby improving the timeliness of screening the target address.

[0100] On the basis of the implementation of the above site selection plan, Fig. 9As shown, the present disclosure is a new algorithm for calculating logistics site selection. The business requirement 902 of the algorithm is for the scenes such as warehouse site selection in the initial stage of logistics construction, regular inspection of the rationality of manufacturers and logistics warehousing that lack data support, etc. The algorithm implementation 904 is based on the kmeans clustering idea, and replaces the Euclidean distance formula with the universal gravitation formula to implement a new clustering method. The final cluster center is the selected warehouse address. The algorithm implementation 904 specifically includes the following core processing processes:

[0101] 1. The quality data and the distance data calculated by longitude and latitude are normalized.

[0102] 2. Randomly select k cities as the initial cities, and divide the other cities into k clusters according to their distance. The k clusters are recorded as u1, u2, u3...u k . k can be selected manually according to needs.

[0103] 3. In the clusters u1, u2, u3...u k The cluster center is selected internally according to the gravity formula. The reasons for using the gravity formula instead of the Euclidean distance to select the cluster center include: in the field of logistics, it is believed that the greater the mass of two cities and the smaller the distance between the cities, the greater the gravity between the two cities, and the sum of the gravity values ​​of the distribution center city to the surrounding cities should be the largest.

[0104] The gravitational algorithm in the embodiment of the present disclosure calculates the gravitational value F 引 The expression is as follows:

[0105] F 引 =G×M× m / r 2 ,

[0106] Where M represents the mass of city 1, i.e., the total amount of goods or orders delivered to city 1 within a certain period of time (3 months, half a year, or a year). M represents the mass of city 2, i.e., the total amount of goods or orders delivered to city 2 within a certain period of time (3 months, half a year, or a year). r represents the distance between city 1 and city 2, which is calculated from the city longitude and latitude data table. G represents the limit function, which is used to prevent the calculation result of the gravity value from reaching a maximum or minimum value.

[0107] The mathematical expression of the limit function introduced in the embodiment of the present disclosure is as follows:

[0108] y=upLimit,y≥upLimit;

[0109] y=x,lowLimit<y<upLimit;

[0110] y=lowLimit, y≤lowLimit.

[0111] Among them, upLimit and lowLimit are the upper and lower limits of the calculated gravity value respectively.

[0112] In the embodiment of the present disclosure, upLimit and lowLimit are calculated using the 95% quantile and the 5% quantile of the gravity value.

[0113] 4. Within each cluster, calculate the sum of the gravitational forces from each city to other cities, and select the city with the largest sum of gravitational forces as the new cluster center of the cluster. The cluster centers are denoted as c1, c2, c3...c k .

[0114] 5. Find the cluster center through continuous iteration. When the fixed number of iterations n is met, or the cluster centers c1, c2, c3...c k When there is no more change, the iteration ends, and the final cluster centers are c1, c2, c3...c k , which is the selected storage address.

[0115] In the embodiment of the present disclosure, model deployment 906 includes multiple application scenarios such as regularly updated dynamic monitoring, optimized site selection, and auxiliary decision making, but is not limited thereto.

[0116] In the embodiments of the present disclosure, a logistics site selection tool or interactive platform can be designed, the required data is input to the front end, and the output results after model calculation are returned to the front end page, such as Fig.10 As shown, the front-end page design content of the logistics site selection platform 100 includes: basic data management (file management and mode description), model description, logistics grid planning, new retail network model, etc., but is not limited to these. Fig.11 As shown, the interface diagram 1100 of the logistics site selection platform 100 displays the site selection result of the target address.

[0117] Corresponding to the above method embodiments, the present disclosure also provides a site selection device, which can be used to execute the above method embodiments.

[0118] Fig.12 It is a block diagram of a site selection device in an exemplary embodiment of the present disclosure.

[0119] refer to Fig.12 , the site selection device 1200 may include:

[0120] The determination module 1202 is configured to determine the business information and geographic information of multiple addresses to be screened.

[0121] The calculation module 1204 is configured to use the business information and the geographic information as input parameters of the gravitational algorithm, and calculate and determine the sum of the gravitational values ​​between any of the addresses to be screened and other addresses to be screened in the plurality of addresses to be screened.

[0122] The determination module 1202 is further configured to determine, according to the sum of the gravity values, one of the multiple addresses to be screened as a target address.

[0123] In an exemplary embodiment of the present disclosure, the determination module 1202 is further configured to:

[0124] Determine order information of a plurality of addresses to be screened within a specified time period and determine the order information as the business information;

[0125] The longitude and latitude information of the plurality of addresses to be screened are determined and determined as the geographic information.

[0126] In an exemplary embodiment of the present disclosure, the calculation module 1204 is further configured to:

[0127] Using the business information of any of the addresses to be screened and the business information of multiple addresses to be screened as weight parameters input into the gravitational algorithm;

[0128] Determining a distance parameter input into the gravitation algorithm according to the geographic information of any one of the addresses to be screened and the geographic information of a plurality of the addresses to be screened;

[0129] The gravity value is determined based on the weight parameter, the distance parameter and a limiting function for determining a gravity coefficient.

[0130] In an exemplary embodiment of the present disclosure, the calculation module 1204 is further configured to:

[0131] Determine a reference gravity value according to the weight parameter and the distance parameter;

[0132] Determine the preset maximum gravity value and minimum gravity value;

[0133] Determining a first magnitude relationship between the reference gravity value and the maximum gravity value, and determining a second magnitude relationship between the reference gravity value and the minimum gravity value;

[0134] The gravity value is determined according to the first size relationship and the second size relationship.

[0135] In an exemplary embodiment of the present disclosure, the calculation module 1204 is further configured to:

[0136] If it is determined according to the first magnitude relationship that the reference gravity value is less than or equal to the minimum gravity value, then the minimum gravity value is determined to be the gravity value;

[0137] If it is determined according to the second magnitude relationship that the reference gravity value is greater than or equal to the maximum gravity value, then the maximum gravity value is determined as the gravity value;

[0138] If the reference gravity value is determined to be greater than the minimum gravity value according to the first size relationship, and if the reference gravity value is determined to be less than the maximum gravity value according to the second size relationship, then the reference gravity value is determined to be the gravity value.

[0139] In an exemplary embodiment of the present disclosure, the determination module 1202 is further configured to:

[0140] Determine a cluster to which the plurality of addresses to be screened belong;

[0141] If it is determined that the cluster center address of the cluster is no longer updated, the address to be screened with the largest sum of gravity values ​​in the cluster is determined as the target address.

[0142] In an exemplary embodiment of the present disclosure, the determination module 1202 is further configured to:

[0143] Determine a cluster to which the plurality of addresses to be screened belong;

[0144] Determine the number of times the gravity value is calculated within the cluster;

[0145] If it is determined that the number of times reaches the preset number of iterations, the address to be screened with the largest sum of gravity values ​​in the cluster is determined as the target address.

[0146] Since the functions of the site selection device 1200 have been described in detail in the corresponding method embodiments, the present disclosure will not elaborate on them here.

[0147] Based on the above embodiments, compared with the prior art, the advantages of the embodiments of this solution include:

[0148] 1. Only the quality data of the city and the longitude and latitude data between cities are needed to obtain the logistics site selection model. This is a lightweight model with high calculation efficiency and can quickly give calculation results.

[0149] 2. The algorithm is flexible to use and is not only applicable to the location selection of distribution centers, but also to the location selection of distribution points within the city.

[0150] 3. The algorithm output effect is relatively good and can assist decision makers in making decisions on logistics site selection.

[0151] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0152] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0153] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".

[0154] Refer to the following Fig.13 1300 according to this embodiment of the present disclosure is described. Fig.13 The electronic device 1300 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0155] like Fig.13 As shown, the electronic device 1300 is in the form of a general computing device. The components of the electronic device 1300 may include but are not limited to: at least one processing unit 1310, at least one storage unit 1320, and a bus 1330 connecting different system components (including the storage unit 1320 and the processing unit 1310).

[0156] The storage unit stores a program code, which can be executed by the processing unit 1310, so that the processing unit 1310 performs the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 1310 can perform the method shown in the embodiment of the present disclosure.

[0157] The storage unit 1320 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 13201 and / or a cache storage unit 13202 , and may further include a read-only storage unit (ROM) 13203 .

[0158] The storage unit 1320 may also include a program / utility 13204 having a set (at least one) of program modules 13205, such program modules 13205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0159] Bus 1330 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0160] The electronic device 1300 may also communicate with one or more external devices 1340 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1300, and / or communicate with any device that enables the electronic device 1300 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1350. Furthermore, the electronic device 1300 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1360. As shown, the network adapter 1360 communicates with other modules of the electronic device 1300 via a bus 1330. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0161] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0162] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present disclosure described in the above "Exemplary Method" section of the present specification.

[0163] The program product for implementing the above method according to the embodiment of the present disclosure can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0164] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0165] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0166] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0167] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0168] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0169] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are to be considered exemplary only, and the true scope and concept of the present disclosure are indicated by the claims.

Claims

1. A site selection method, characterized in that: include: Determine business information and geographic information of multiple addresses to be screened; Using the business information and the geographic information as input parameters of the universal gravitation algorithm, the sum of the gravitational values ​​between any of the addresses to be screened and other addresses to be screened among the multiple addresses to be screened is calculated and determined; According to the sum of the gravity values, one of the multiple addresses to be screened is determined as the target address.

2. The site selection method according to claim 1, characterized in that: The target address is a warehousing and logistics address, and the business information and geographic information of the multiple addresses to be screened are determined to include: Determine order information of a plurality of addresses to be screened within a specified time period and determine the order information as the business information; The longitude and latitude information of the plurality of addresses to be screened is determined and determined as the geographic information.

3. The site selection method according to claim 1, characterized in that: Using the business information and the geographic information as input parameters of the universal gravitation algorithm, calculating and determining the sum of the gravitational values ​​between any of the addresses to be screened and other addresses to be screened in the plurality of addresses to be screened includes: Using the business information of any of the addresses to be screened and the business information of multiple addresses to be screened as weight parameters input into the gravitational algorithm; Determining a distance parameter input into the gravitation algorithm according to the geographic information of any one of the addresses to be screened and the geographic information of a plurality of the addresses to be screened; The gravity value is determined based on the weight parameter, the distance parameter and a limiting function for determining a gravity coefficient.

4. The site selection method according to claim 3, characterized in that: Determining the gravity value according to the weight parameter, the distance parameter and a limit function for determining a gravity coefficient comprises: Determine a reference gravity value according to the weight parameter and the distance parameter; Determine the preset maximum gravity value and minimum gravity value; Determining a first magnitude relationship between the reference gravity value and the maximum gravity value, and determining a second magnitude relationship between the reference gravity value and the minimum gravity value; The gravity value is determined according to the first size relationship and the second size relationship.

5. The site selection method according to claim 4, characterized in that: Determining the gravity value according to the first magnitude relationship and the second magnitude relationship includes: If it is determined according to the first magnitude relationship that the reference gravity value is less than or equal to the minimum gravity value, then the minimum gravity value is determined to be the gravity value; If it is determined according to the second magnitude relationship that the reference gravity value is greater than or equal to the maximum gravity value, then the maximum gravity value is determined as the gravity value; If the reference gravity value is determined to be greater than the minimum gravity value according to the first size relationship, and if the reference gravity value is determined to be less than the maximum gravity value according to the second size relationship, then the reference gravity value is determined to be the gravity value.

6. The site selection method according to any one of claims 1 to 5, characterized in that: Determining one of the plurality of addresses to be screened as a target address according to the sum of the gravity values ​​includes: Determine a cluster to which the plurality of addresses to be screened belong; If it is determined that the cluster center address of the cluster is no longer updated, the address to be screened with the largest sum of gravity values ​​in the cluster is determined as the target address.

7. The site selection method according to any one of claims 1 to 5, characterized in that: Determining one of the plurality of addresses to be screened as a target address according to the sum of the gravity values ​​includes: Determine a cluster to which the plurality of addresses to be screened belong; Determine the number of times the gravity value is calculated within the cluster; If it is determined that the number of times reaches the preset number of iterations, the address to be screened with the largest sum of gravity values ​​in the cluster is determined as the target address.

8. A site selection device, characterized in that: include: A determination module, configured to determine business information and geographic information of multiple addresses to be screened; A calculation module, configured to use the business information and the geographic information as input parameters of a universal gravitation algorithm, and to calculate and determine the sum of the gravitational values ​​between any of the addresses to be screened and other addresses to be screened among the multiple addresses to be screened; The determination module is further configured to determine, according to the sum of the gravity values, one of the multiple addresses to be screened as a target address.

9. An electronic device, characterized in that: include: Memory; as well as A processor coupled to the memory, wherein the processor is configured to execute the address selection method according to any one of claims 1 to 7 based on instructions stored in the memory.

10. A computer-readable storage medium having a program stored thereon, wherein when the program is executed by a processor, the site selection method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Universal gravitation search-based unmanned plane air route planning method

    CN102506863A

  • Data clustering solution obtaining method based on gravitation search algorithm and related equipment

    CN110110791A

  • Store site selection method and device

    CN111125273A

  • Entity object site selection method and device, computing equipment and computer storage medium

    CN111383051A