CN116822772A - Warehouse location determination method, device, computer equipment and storage medium - Google Patents
Warehouse location determination method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN116822772A CN116822772A CN202311100466.4A CN202311100466A CN116822772A CN 116822772 A CN116822772 A CN 116822772A CN 202311100466 A CN202311100466 A CN 202311100466A CN 116822772 A CN116822772 A CN 116822772A
- Authority
- CN
- China
- Prior art keywords
- grid
- score
- road
- target object
- determining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000001788 irregular Effects 0.000 claims abstract description 13
- 230000000875 corresponding effect Effects 0.000 claims description 124
- 238000004590 computer program Methods 0.000 claims description 21
- 230000002596 correlated effect Effects 0.000 claims description 19
- 239000000523 sample Substances 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 7
- 238000010606 normalization Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 230000003796 beauty Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
- G06Q10/047—Optimisation of routes or paths, e.g. travelling salesman problem
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/087—Inventory or stock management, e.g. order filling, procurement or balancing against orders
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/26—Government or public services
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A30/00—Adapting or protecting infrastructure or their operation
- Y02A30/60—Planning or developing urban green infrastructure
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- Development Economics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Educational Administration (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本申请涉及一种仓库位置确定方法、装置、计算机设备和存储介质。所述方法包括:基于城市路网将开放共享单车服务的区域划分为多个网格,每个网格由不规则多边形构成,所述多边形的边为城市路网中的城市道路;针对每个网格,根据所述网格对应的目标对象、所述网格对应的城市道路以及所述网格的价值量,确定所述网格的得分,所述目标对象表示位置固定的对象,所述价值量用于表示在所述网格设置仓库时需要转移的资源;根据得分大于预设阈值的网格的位置,确定仓库位置。采用本方法能够准确地确定出仓库位置。
The present application relates to a warehouse location determination method, device, computer equipment and storage medium. The method includes: dividing the area of open shared bicycle service into multiple grids based on the urban road network, each grid is composed of irregular polygons, and the sides of the polygons are urban roads in the urban road network; for each Grid, determine the score of the grid based on the target object corresponding to the grid, the urban road corresponding to the grid, and the value amount of the grid. The target object represents an object with a fixed position, and the value amount Used to represent the resources that need to be transferred when setting up a warehouse in the grid; determine the location of the warehouse based on the location of the grid with a score greater than the preset threshold. This method can accurately determine the location of the warehouse.
Description
技术领域Technical field
本申请涉及信息处理技术领域,特别是涉及一种仓库位置确定方法、装置、计算机设备和存储介质。The present application relates to the field of information processing technology, and in particular to a warehouse location determination method, device, computer equipment and storage medium.
背景技术Background technique
随着共享服务开放城市的发展和扩张,新开放服务的城市面临着选择合适仓库的挑战。仓库的位置对于提供高效的物流和服务至关重要。然而,在新开放服务的城市中,由于缺乏完善的基础设施和详尽的数据,尝尝导致确定的仓库位置准确性较差。As shared service open cities develop and expand, newly open service cities face the challenge of selecting suitable warehouses. The location of a warehouse is critical to providing efficient logistics and services. However, in newly opened cities, the lack of complete infrastructure and detailed data often results in poor accuracy of determined warehouse locations.
发明内容Contents of the invention
基于此,有必要针对上述技术问题,提供一种仓库位置确定方法、装置、计算机设备和存储介质,能够准确地确定出仓库位置。Based on this, it is necessary to provide a warehouse location determination method, device, computer equipment and storage medium to accurately determine the warehouse location in view of the above technical problems.
第一方面,本申请提供了一种仓库位置确定方法,所述方法包括:In a first aspect, this application provides a method for determining a warehouse location, which method includes:
基于城市路网将开放共享单车服务的区域划分为多个网格,每个网格由不规则多边形构成,所述多边形的边为城市路网中的城市道路;Divide the area open to shared bicycle services into multiple grids based on the urban road network, each grid is composed of irregular polygons, and the sides of the polygons are urban roads in the urban road network;
针对每个网格,根据所述网格对应的目标对象、所述网格对应的城市道路以及所述网格的价值量,确定所述网格的得分,所述目标对象表示位置固定的对象,所述价值量用于表示在所述网格设置仓库时需要转移的资源;For each grid, the score of the grid is determined based on the target object corresponding to the grid, the urban road corresponding to the grid, and the value of the grid. The target object represents an object with a fixed position, The value amount is used to represent the resources that need to be transferred when setting up a warehouse in the grid;
根据得分大于预设阈值的网格的位置,确定仓库位置。Determine the warehouse location based on the location of the grid with a score greater than a preset threshold.
在一种可能的实现方式中,所述根据所述目标对象、所述网格对应的城市道路以及所述网格在所述区域中的位置,确定所述网格的得分,包括:In a possible implementation, determining the score of the grid based on the target object, the urban road corresponding to the grid, and the location of the grid in the area includes:
根据所述网格对应的目标对象的类型信息,确定对象得分;Determine the object score according to the type information of the target object corresponding to the grid;
根据所述网格对应的城市道路的道路信息,确定道路得分;Determine the road score according to the road information of the urban road corresponding to the grid;
根据所述网格的价值量,确定位置得分;Determine a position score based on the value of said grid;
对所述对象得分、所述道路得分、所述位置得分进行归一化处理;Normalize the object score, the road score, and the location score;
对归一化处理后的对象得分、对归一化处理后的道路得分和对归一化处理后的位置得分进行加权求和,得到所述网格的得分。The score of the grid is obtained by performing a weighted sum of the normalized object score, the normalized road score, and the normalized location score.
在一种可能的实现方式中,所述根据所述网格对应的目标对象的类型信息,确定对象得分,包括:In a possible implementation, determining the object score based on the type information of the target object corresponding to the grid includes:
基于地理信息系统和所述网格的坐标信息,确定所述网格对应的目标对象,所述网格的坐标信息包括所述网格对应多边形的各个顶点的坐标;Determine the target object corresponding to the grid based on the geographic information system and the coordinate information of the grid, where the coordinate information of the grid includes the coordinates of each vertex of the polygon corresponding to the grid;
确定所述网格对应的目标对象的类型信息;Determine the type information of the target object corresponding to the grid;
根据第一对应关系,查找每个目标对象的类型信息对应的得分,所述第一对应关系用于指示类型信息与得分的对应关系;Find the score corresponding to the type information of each target object according to the first correspondence relationship, where the first correspondence relationship is used to indicate the correspondence relationship between the type information and the score;
将各个目标对象的类型信息对应的得分相加,得到所述对象得分。The object score is obtained by adding the scores corresponding to the type information of each target object.
在一种可能的实现方式中,所述确定所述网格对应的目标对象的类型信息,包括:In a possible implementation, determining the type information of the target object corresponding to the grid includes:
若所述目标对象为仓储设施、交通枢纽、物流运输通道或者供应链节点,则将第一类型作为所述目标对象的类型信息;If the target object is a warehousing facility, a transportation hub, a logistics channel or a supply chain node, then use the first type as the type information of the target object;
若所述目标对象不是所述仓储设施、所述交通枢纽、所述物流运输通道或者所述供应链节点,则将第二类型作为所述目标对象的类型信息;If the target object is not the warehousing facility, the transportation hub, the logistics transportation channel, or the supply chain node, then use the second type as the type information of the target object;
其中,在所述第一对应关系中,所述第一类型对应的得分大于所述第二类型对应的得分。Wherein, in the first correspondence relationship, the score corresponding to the first type is greater than the score corresponding to the second type.
在一种可能的实现方式中,所述根据所述网格对应的城市道路的道路信息,确定道路得分,包括:In a possible implementation, determining a road score based on road information of urban roads corresponding to the grid includes:
从所述城市路网中获取所述道路信息,所述道路信息包括道路宽度、交通流量和连通网格数量;Obtain the road information from the urban road network, the road information including road width, traffic flow and number of connected grids;
根据所述道路宽度、所述交通流量和所述连通网格数量,确定所述网格对应的每个城市道路的得分;According to the road width, the traffic volume and the number of connected grids, determine the score of each urban road corresponding to the grid;
将所述网格对应的每个城市道路的得分相加,得到所述道路得分。The road score is obtained by adding the scores of each urban road corresponding to the grid.
在一种可能的实现方式中,In one possible implementation,
所述道路宽度与所述每个城市道路的得分正相关;The road width is positively correlated with the score of each city road;
所述交通流量与所述每个城市道路的得分正相关;The traffic volume is positively correlated with the score of each city road;
所述连通网格数量与所述每个城市道路的得分正相关。The number of connected grids is positively correlated with the score of each urban road.
在一种可能的实现方式中,所述价值量是根据所述网格在所述区域中的位置确定的,所述价值量与所述位置得分负相关。In a possible implementation, the value amount is determined based on the position of the grid in the area, and the value amount is negatively correlated with the position score.
第二方面,本申请还提供了一种仓库位置确定装置,所述装置包括:In a second aspect, this application also provides a warehouse location determination device, which includes:
划分模块,用于基于城市路网将开放共享单车服务的区域划分为多个网格,每个网格由不规则多边形构成,所述多边形的边为城市路网中的城市道路;A division module, used to divide the open shared bicycle service area into multiple grids based on the urban road network. Each grid is composed of irregular polygons, and the sides of the polygons are urban roads in the urban road network;
第一确定模块,用于针对每个网格,根据所述网格对应的目标对象、所述网格对应的城市道路以及所述网格的价值量,确定所述网格的得分,所述目标对象表示位置固定的对象,所述价值量用于表示在所述网格设置仓库时需要转移的资源;The first determination module is used to determine, for each grid, the score of the grid based on the target object corresponding to the grid, the urban road corresponding to the grid, and the value of the grid, and the target The object represents an object with a fixed position, and the value is used to represent the resources that need to be transferred when setting up a warehouse on the grid;
第二确定模块,用于根据得分大于预设阈值的网格的位置,确定仓库位置。The second determination module is used to determine the location of the warehouse based on the location of the grid with a score greater than the preset threshold.
在一种可能的实现方式中,所述第一确定模块还用于:In a possible implementation, the first determination module is also used to:
根据所述网格对应的目标对象的类型信息,确定对象得分;Determine the object score according to the type information of the target object corresponding to the grid;
根据所述网格对应的城市道路的道路信息,确定道路得分;Determine the road score according to the road information of the urban road corresponding to the grid;
根据所述网格的价值量,确定位置得分;Determine a position score based on the value of said grid;
对所述对象得分、所述道路得分、所述位置得分进行归一化处理;Normalize the object score, the road score, and the location score;
对归一化处理后的对象得分、对归一化处理后的道路得分和对归一化处理后的位置得分进行加权求和,得到所述网格的得分。The score of the grid is obtained by performing a weighted sum of the normalized object score, the normalized road score, and the normalized location score.
在一种可能的实现方式中,所述根据所述网格对应的目标对象的类型信息,确定对象得分,包括:In a possible implementation, determining the object score based on the type information of the target object corresponding to the grid includes:
基于地理信息系统和所述网格的坐标信息,确定所述网格对应的目标对象,所述网格的坐标信息包括所述网格对应多边形的各个顶点的坐标;Determine the target object corresponding to the grid based on the geographic information system and the coordinate information of the grid, where the coordinate information of the grid includes the coordinates of each vertex of the polygon corresponding to the grid;
确定所述网格对应的目标对象的类型信息;Determine the type information of the target object corresponding to the grid;
根据第一对应关系,查找每个目标对象的类型信息对应的得分,所述第一对应关系用于指示类型信息与得分的对应关系;Find the score corresponding to the type information of each target object according to the first correspondence relationship, where the first correspondence relationship is used to indicate the correspondence relationship between the type information and the score;
将各个目标对象的类型信息对应的得分相加,得到所述对象得分。The object score is obtained by adding the scores corresponding to the type information of each target object.
在一种可能的实现方式中,所述确定所述网格对应的目标对象的类型信息,包括:In a possible implementation, determining the type information of the target object corresponding to the grid includes:
若所述目标对象为仓储设施、交通枢纽、物流运输通道或者供应链节点,则将第一类型作为所述目标对象的类型信息;If the target object is a warehousing facility, a transportation hub, a logistics channel or a supply chain node, then use the first type as the type information of the target object;
若所述目标对象不是所述仓储设施、所述交通枢纽、所述物流运输通道或者所述供应链节点,则将第二类型作为所述目标对象的类型信息;If the target object is not the warehousing facility, the transportation hub, the logistics transportation channel, or the supply chain node, then use the second type as the type information of the target object;
其中,在所述第一对应关系中,所述第一类型对应的得分大于所述第二类型对应的得分。Wherein, in the first correspondence relationship, the score corresponding to the first type is greater than the score corresponding to the second type.
在一种可能的实现方式中,所述根据所述网格对应的城市道路的道路信息,确定道路得分,包括:In a possible implementation, determining a road score based on road information of urban roads corresponding to the grid includes:
从所述城市路网中获取所述道路信息,所述道路信息包括道路宽度、交通流量和连通网格数量;Obtain the road information from the urban road network, the road information including road width, traffic flow and number of connected grids;
根据所述道路宽度、所述交通流量和所述连通网格数量,确定所述网格对应的每个城市道路的得分;According to the road width, the traffic volume and the number of connected grids, determine the score of each urban road corresponding to the grid;
将所述网格对应的每个城市道路的得分相加,得到所述道路得分。The road score is obtained by adding the scores of each urban road corresponding to the grid.
在一种可能的实现方式中,In one possible implementation,
所述道路宽度与所述每个城市道路的得分正相关;The road width is positively correlated with the score of each city road;
所述交通流量与所述每个城市道路的得分正相关;The traffic volume is positively correlated with the score of each city road;
所述连通网格数量与所述每个城市道路的得分正相关。The number of connected grids is positively correlated with the score of each urban road.
在一种可能的实现方式中,所述价值量是根据所述网格在所述区域中的位置确定的,所述价值量与所述位置得分负相关。In a possible implementation, the value amount is determined based on the position of the grid in the area, and the value amount is negatively correlated with the position score.
第三方面,本申请还提供了一种计算机设备。所述计算机设备包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现以下步骤:In a third aspect, this application also provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
基于城市路网将开放共享单车服务的区域划分为多个网格,每个网格由不规则多边形构成,所述多边形的边为城市路网中的城市道路;Divide the area open to shared bicycle services into multiple grids based on the urban road network, each grid is composed of irregular polygons, and the sides of the polygons are urban roads in the urban road network;
针对每个网格,根据所述网格对应的目标对象、所述网格对应的城市道路以及所述网格的价值量,确定所述网格的得分,所述目标对象表示位置固定的对象,所述价值量用于表示在所述网格设置仓库时需要转移的资源;For each grid, the score of the grid is determined based on the target object corresponding to the grid, the urban road corresponding to the grid, and the value of the grid. The target object represents an object with a fixed position, The value amount is used to represent the resources that need to be transferred when setting up a warehouse in the grid;
根据得分大于预设阈值的网格的位置,确定仓库位置。Determine the warehouse location based on the location of the grid with a score greater than a preset threshold.
第四方面,本申请还提供了一种计算机可读存储介质。所述计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:In a fourth aspect, this application also provides a computer-readable storage medium. The computer-readable storage medium has a computer program stored thereon, and when the computer program is executed by the processor, the following steps are implemented:
基于城市路网将开放共享单车服务的区域划分为多个网格,每个网格由不规则多边形构成,所述多边形的边为城市路网中的城市道路;Divide the area open to shared bicycle services into multiple grids based on the urban road network, each grid is composed of irregular polygons, and the sides of the polygons are urban roads in the urban road network;
针对每个网格,根据所述网格对应的目标对象、所述网格对应的城市道路以及所述网格的价值量,确定所述网格的得分,所述目标对象表示位置固定的对象,所述价值量用于表示在所述网格设置仓库时需要转移的资源;For each grid, the score of the grid is determined based on the target object corresponding to the grid, the urban road corresponding to the grid, and the value of the grid. The target object represents an object with a fixed position, The value amount is used to represent the resources that need to be transferred when setting up a warehouse in the grid;
根据得分大于预设阈值的网格的位置,确定仓库位置。Determine the warehouse location based on the location of the grid with a score greater than a preset threshold.
第五方面,本申请还提供了一种计算机程序产品。所述计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现以下步骤:In a fifth aspect, this application also provides a computer program product. The computer program product includes a computer program that implements the following steps when executed by a processor:
基于城市路网将开放共享单车服务的区域划分为多个网格,每个网格由不规则多边形构成,所述多边形的边为城市路网中的城市道路;Divide the area open to shared bicycle services into multiple grids based on the urban road network, each grid is composed of irregular polygons, and the sides of the polygons are urban roads in the urban road network;
针对每个网格,根据所述网格对应的目标对象、所述网格对应的城市道路以及所述网格的价值量,确定所述网格的得分,所述目标对象表示位置固定的对象,所述价值量用于表示在所述网格设置仓库时需要转移的资源;For each grid, the score of the grid is determined based on the target object corresponding to the grid, the urban road corresponding to the grid, and the value of the grid. The target object represents an object with a fixed position, The value amount is used to represent the resources that need to be transferred when setting up a warehouse in the grid;
根据得分大于预设阈值的网格的位置,确定仓库位置。Determine the warehouse location based on the location of the grid with a score greater than a preset threshold.
上述仓库位置确定方法、装置、计算机设备和存储介质,首先基于城市路网划分网格,然后根据网格对应的目标对象、网格对应的城市道路以及网格的价值量确定网格的得分,最后根据得分大于预设阈值的网格的位置确定仓库位置,通过在确定网格得分时综合网格中分布的固定位置的对象、网格的交通便利性和在所述网格设置仓库时需要转移的资源这些因素,提高了网格得分的全面性和可靠性,从而能够准确确定仓库位置。The above warehouse location determination method, device, computer equipment and storage medium first divide the grid based on the urban road network, then determine the score of the grid based on the target object corresponding to the grid, the urban road corresponding to the grid and the value of the grid, and finally The warehouse location is determined based on the location of the grid with a score greater than a preset threshold, by integrating the fixed-position objects distributed in the grid, the transportation convenience of the grid and the need to transfer when setting up the warehouse in the grid when determining the grid score. These factors improve the comprehensiveness and reliability of the grid score, allowing the warehouse location to be accurately determined.
附图说明Description of the drawings
图1为本申请实施例提供的仓库位置确定方法的流程示意图;Figure 1 is a schematic flow chart of a warehouse location determination method provided by an embodiment of the present application;
图2为本申请实施例提供的网格的示例性示意图;Figure 2 is an exemplary schematic diagram of a grid provided by an embodiment of the present application;
图3为本申请实施例提供的仓库位置确定模块的结构框图;Figure 3 is a structural block diagram of the warehouse location determination module provided by the embodiment of the present application;
图4为一个实施例中计算机设备的内部结构图。Figure 4 is an internal structure diagram of a computer device in one embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clear, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application and are not used to limit the present application.
在一个实施例中,图1为本申请实施例提供的仓库位置确定方法的流程示意图。本申请实施例中以该方法应用于服务器进行举例说明,可以理解的是,该方法也可以应用于终端,还可以应用于包括终端和服务器的系统,并通过终端和服务器交互实现。其中,服务器可以用独立的服务器或者是多个服务器组成的服务器集群来实现。终端包括但不限于是个人计算机、笔记本电脑、智能手机、平板电脑等。如图1所示,所述方法可以包括以下步骤:In one embodiment, FIG. 1 is a schematic flowchart of a warehouse location determination method provided by an embodiment of the present application. In the embodiment of the present application, the method is applied to the server as an example. It can be understood that the method can also be applied to the terminal, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. Among them, the server can be implemented as an independent server or a server cluster composed of multiple servers. Terminals include but are not limited to personal computers, laptops, smartphones, tablets, etc. As shown in Figure 1, the method may include the following steps:
步骤S101,基于城市路网将开放共享单车服务的区域划分为多个网格。Step S101: Divide the area where shared bicycle services are open into multiple grids based on the urban road network.
其中,每个网格由不规则多边形构成,所述多边形的边为城市路网中的城市道路。Each grid is composed of irregular polygons, and the sides of the polygons are urban roads in the urban road network.
开放共享单车服务的区域可以包括一个或多个城市,也可以包括一个城市的部分区域,例如一个城市的一个或多个行政区或者一个多个街道或者一个或多个商圈等。本申请实施例对开放共享挡车服务的区域不作限制。The area where shared bicycle services are open may include one or more cities, or may include part of a city, such as one or more administrative districts or one or more streets or one or more business districts of a city. The embodiment of this application does not limit the area where the shared taxi service is opened.
城市路网表示由城市道路组成的路网。城市路网中包括多条城市道路,这些城市道路可以直接或者间接连通。基于城市路网可以将开放共享单车服务的区域分成多个网格。每个网格可以由不规则多边形构成,且多边形的边可以为城市路网中的城市道路。Urban road network refers to a road network composed of urban roads. The urban road network includes multiple urban roads, which can be connected directly or indirectly. Based on the urban road network, the area open to shared bicycle services can be divided into multiple grids. Each grid can be composed of irregular polygons, and the sides of the polygons can be urban roads in the urban road network.
图2为本申请实施例提供的网格的示例性示意图。如图2所示,开放共享单车的区域被城市道路分成了多个不规则多边形区域,如公园、居民区和办公楼等。此时,公园、居民区和办公楼均可以作为网格。当然,图2所示的,开放共享单车的区域还包括了其他网格。Figure 2 is an exemplary schematic diagram of a grid provided by an embodiment of the present application. As shown in Figure 2, the area where shared bicycles are open is divided into multiple irregular polygonal areas by urban roads, such as parks, residential areas, and office buildings. At this time, parks, residential areas, and office buildings can all serve as grids. Of course, as shown in Figure 2, the area open to shared bicycles also includes other grids.
步骤S102,针对每个网格,根据所述网格对应的目标对象、所述网格对应的城市道路以及所述网格的价值量,确定所述网格的得分。Step S102: For each grid, determine the score of the grid based on the target object corresponding to the grid, the urban road corresponding to the grid, and the value of the grid.
其中,所述目标对象表示可以位置固定的对象。目标对象也可以称为兴趣点(Point of Interest,POI)。在地理信息系统中,一个POI可以是一栋房子、一个商铺、一个邮筒、一个公交站等。在本申请实施例中,目标对象包括但不限于物流中心、工厂、购物中心、饭店、公司企业、房地产、生活服务中心、交通设施、美容美发服务中心、出入口、汽车服务中心、政府机构、教育培训机构、休闲娱乐中心、酒店、金融机构、文化传媒中心、地标、旅游景点、运动健身场地、自然地物等。每个网格中有多个目标对象。网格对应的目标对象的数量和类型等可以影响网格的人流量,进而影响共享单车的骑行路线。因此,网格对应的目标对象会影响网格的得分。Wherein, the target object represents an object whose position can be fixed. The target object can also be called a Point of Interest (POI). In a geographic information system, a POI can be a house, a shop, a mailbox, a bus stop, etc. In the embodiment of this application, target objects include but are not limited to logistics centers, factories, shopping malls, restaurants, companies, real estate, life service centers, transportation facilities, beauty and hairdressing service centers, entrances and exits, automobile service centers, government agencies, education Training institutions, leisure and entertainment centers, hotels, financial institutions, cultural media centers, landmarks, tourist attractions, sports and fitness venues, natural features, etc. There are multiple target objects in each grid. The number and type of target objects corresponding to the grid can affect the flow of people in the grid, which in turn affects the riding routes of shared bicycles. Therefore, the target object corresponding to the grid will affect the score of the grid.
网格由不规则多边形构成,且多边形的边为城市路网中的城市道路,因此网格对应的城市道路是指多边形的边代表的城市道路。也就是说,网格实际上是由城市道路包围形成的。城市道路的宽度和交通便利性可以影响网格的人流量,进而影响共享单车的骑行路线。因此,网格对应的城市道路会影响网格的得分。The grid is composed of irregular polygons, and the edges of the polygons are urban roads in the urban road network. Therefore, the urban roads corresponding to the grid refer to the urban roads represented by the edges of the polygons. That is, the grid is actually formed by being surrounded by urban roads. The width and traffic convenience of urban roads can affect the flow of people in the grid, which in turn affects the riding routes of shared bicycles. Therefore, the urban roads corresponding to the grid will affect the score of the grid.
网格的价值量可以用于表示在所述网格设置仓库时需要转移的资源。举例来说,网格的价值量可以为网格对应的租金或者房价等。网格的价值量越高,服务提供商在网格中设置仓库的成本也就越高。因此,网格的价值量会影响网格的得分。A grid's value amount can be used to represent the resources that need to be transferred when the grid is set up to warehouse. For example, the value of the grid can be the rent or house price corresponding to the grid. The higher the value of the grid, the higher the cost for the service provider to set up warehouses in the grid. Therefore, the amount of value of a grid affects the grid's score.
由于网格对应的目标对象、网格对应的城市道路以及网格的价值量会影响网格的得分。因此,在本申请实施例中,可以根据所述网格对应的目标对象、所述网格对应的城市道路以及所述网格的价值量确定所述网格的得分。The target object corresponding to the grid, the urban road corresponding to the grid, and the value of the grid will affect the score of the grid. Therefore, in this embodiment of the present application, the score of the grid can be determined based on the target object corresponding to the grid, the urban road corresponding to the grid, and the value of the grid.
在一种可能的实现方式中,步骤S102可以包括:根据所述网格对应的目标对象的类型信息,确定对象得分;根据所述网格对应的城市道路的道路信息,确定道路得分;根据所述网格的价值量,确定位置得分;对所述对象得分、所述道路得分、所述位置得分进行归一化处理;对归一化处理后的对象得分、对归一化处理后的道路得分和对归一化处理后的位置得分进行加权求和,得到所述网格的得分。In a possible implementation, step S102 may include: determining an object score based on the type information of the target object corresponding to the grid; determining a road score based on the road information of the urban road corresponding to the grid; The value of the grid is determined to determine the position score; the object score, the road score, and the position score are normalized; the normalized object score and the normalized road score are and perform a weighted summation of the normalized position scores to obtain the score of the grid.
由于网格对应的目标对象、网格对应的城市道路和网格的价值量是不同维度的影响因素。因此,在本申请实施例中,可以首先基于网格对应的目标对象的类型信息、网格对应的城市道路的道路信息和网格的价值量分别确定对象得分、道路得分和位置得分,然后再对三者求和,从而得到网格的得分。Because the target object corresponding to the grid, the urban road corresponding to the grid, and the value of the grid are influencing factors in different dimensions. Therefore, in the embodiment of the present application, the object score, road score and location score can be determined respectively based on the type information of the target object corresponding to the grid, the road information of the urban road corresponding to the grid and the value of the grid, and then the The three are summed to obtain the score of the grid.
下面首先对获取对象得分、道路得分和位置得分的过程分别进行说明。The process of obtaining the object score, road score and location score is first explained below.
在一种可能的实现方式中,所述根据所述网格对应的目标对象的类型信息,确定对象得分可以包括:基于地理信息系统和所述网格的坐标信息,确定所述网格对应的目标对象;确定所述网格对应的目标对象的类型信息;根据第一对应关系,查找每个目标对象的类型信息对应的得分,其中,所述第一对应关系用于指示类型信息与得分的对应关系;将各个目标对象的类型信息对应的得分相加,得到所述对象得分。In a possible implementation, determining the object score based on the type information of the target object corresponding to the grid may include: determining the object score corresponding to the grid based on the geographical information system and the coordinate information of the grid. Target object; determine the type information of the target object corresponding to the grid; find the score corresponding to the type information of each target object according to the first correspondence relationship, wherein the first correspondence relationship is used to indicate the relationship between the type information and the score. Correspondence: Add the scores corresponding to the type information of each target object to obtain the object score.
地理信息系统中存储有开放共享单车服务的区域中所有目标对象的坐标信息,例如目标对象的各个顶点的坐标(具体可以为经纬度)。所述网格的坐标信息包括所述网格对应多边形的各个顶点的坐标(具体可以为经纬度)。因此,基于地理信息系统和网格的坐标信息可以确定网格对应的目标对象。在一个示例中,可以将坐标在网格中的目标对象确定为网格对应的目标对象。在又一示例中,可以将与网格之间的距离小于一定范围(例如100米或者50米等)的目标对象确定为网格对应的目标对象。The geographical information system stores the coordinate information of all target objects in the area where shared bicycle services are open, such as the coordinates of each vertex of the target object (specifically, it can be longitude and latitude). The coordinate information of the grid includes the coordinates (specifically, the latitude and longitude) of each vertex of the polygon corresponding to the grid. Therefore, the target object corresponding to the grid can be determined based on the coordinate information of the geographic information system and the grid. In one example, the target object whose coordinates are in the grid can be determined as the target object corresponding to the grid. In another example, a target object whose distance from the grid is less than a certain range (such as 100 meters or 50 meters, etc.) can be determined as the target object corresponding to the grid.
由于不同类型的目标对象附近的人流量或者交通便利性不同,在确定网格对应的目标对象之后,可以确定这些目标对象的类型信息,进而获得每个目标对象的得分。具体的,可以预先设置类型信息与得分的对应关系,即第一对象关系。然后,基于第一对应关系,查找目标对象的类型信息对应的得分,查找到的得分即为目标对象的得分。Since the flow of people or transportation convenience near different types of target objects is different, after determining the target objects corresponding to the grid, the type information of these target objects can be determined, and then the score of each target object can be obtained. Specifically, the corresponding relationship between the type information and the score, that is, the first object relationship, can be set in advance. Then, based on the first correspondence relationship, the score corresponding to the type information of the target object is searched, and the found score is the score of the target object.
可选的,在本申请实施例中,将目标对象分为两种类型:第一类型和第二类型。其中,第一类型目的标对象可以表示人流量较大或者交通便利性较大的目标对象,第二类型的目标对象可以表示除第一类型的目标对象以外的目标对象。此时,在所述第一对应关系中,所述第一类型对应的得分大于所述第二类型对应的得分。Optionally, in this embodiment of the present application, the target objects are divided into two types: a first type and a second type. Among them, the first type of target object can represent a target object with a large flow of people or a large traffic convenience, and the second type of target object can represent a target object other than the first type of target object. At this time, in the first correspondence relationship, the score corresponding to the first type is greater than the score corresponding to the second type.
在一个示例中,所述确定所述网格对应的目标对象的类型信息可以包括:若所述目标对象为仓储设施、交通枢纽、物流运输通道或者供应链节点,则将第一类型作为所述目标对象的类型信息;若所述目标对象不是所述仓储设施、所述交通枢纽、所述物流运输通道或者所述供应链节点,则将第二类型作为所述目标对象的类型信息。In one example, determining the type information of the target object corresponding to the grid may include: if the target object is a warehousing facility, a transportation hub, a logistics transportation channel, or a supply chain node, then using the first type as the Type information of the target object; if the target object is not the warehousing facility, the transportation hub, the logistics transportation channel, or the supply chain node, use the second type as the type information of the target object.
仓储设施(例如物流中心和现有仓库)是与仓库选址直接相关的目标对象,可以为共享单车提供物流支持和配送服务。交通枢纽(如货运港口、货运机场、火车站和货运集散中心等)可以提供便利的物流和货运通道,有助于仓库的供应链运作。交通枢纽(例如主要道路、高速公路和公路出口),可以提供快读边界的物流运输通道,方便货物进出仓库和快速配送。供应链节点(例如位于商业区或工业区附近的仓库)可以更好地服务商业和工业客户,应与供应链的其他缓解更紧密地连接起来。因此,这些目标对象对开放共享单车服务的区域的仓库选址具有十分重要的影响,其得分可以大于其他的目标对象。举例来说,第一类型的目标对象的得分可以为10,第二类型的目标对象的得分可以为1。Warehousing facilities (such as logistics centers and existing warehouses) are targets directly related to warehouse location selection and can provide logistics support and distribution services for shared bicycles. Transportation hubs (such as freight ports, freight airports, railway stations, and freight distribution centers) can provide convenient logistics and freight channels and help warehouse supply chain operations. Transportation hubs (such as major roads, highways and highway exits) can provide fast-reading logistics and transportation channels to facilitate the entry and exit of goods into warehouses and rapid distribution. Supply chain nodes, such as warehouses located near commercial or industrial areas, can better serve commercial and industrial customers and should be more closely connected to other relief in the supply chain. Therefore, these target objects have a very important impact on the location of warehouses in areas where shared bicycle services are opened, and their scores can be greater than other target objects. For example, the score of a first type of target object may be 10, and the score of a second type of target object may be 1.
需要说明的是,以上仅为类型信息的示例性说明,目标对象的类型信息还可以有其他划分方式,例如,若所述目标对象为仓储设施则将第一类型作为所述目标对象的类型信息;若所述目标对象为交通枢纽,则将第二类型作为所述目标对象的类型信息;若所述目标对象为物流运输通道,则将第三类型作为所述目标对象的类型信息;若所述目标对象为供应链节点,则将第四类型作为所述目标对象的类型信息;若所述目标对象不是所述仓储设施、所述交通枢纽、所述物流运输通道或者所述供应链节点,则将第五类型作为所述目标对象的类型信息。其中,在第一对应关系中,第一类型对应的得分、第二类型对应的得分、第三类型对应的得分、第四类型对应的得分和第五类型对应的得分依次减小。It should be noted that the above is only an exemplary description of type information. The type information of the target object can also be divided in other ways. For example, if the target object is a warehousing facility, the first type will be used as the type information of the target object. ; If the target object is a transportation hub, use the second type as the type information of the target object; if the target object is a logistics transportation channel, use the third type as the type information of the target object; if If the target object is a supply chain node, the fourth type is used as the type information of the target object; if the target object is not the warehousing facility, the transportation hub, the logistics transportation channel or the supply chain node, Then the fifth type is used as the type information of the target object. Wherein, in the first correspondence relationship, the score corresponding to the first type, the score corresponding to the second type, the score corresponding to the third type, the score corresponding to the fourth type and the score corresponding to the fifth type decrease in sequence.
在一种可能的实现方式中,所述根据所述网格对应的城市道路的道路信息,确定道路得分可以包括:从所述城市路网中获取所述道路信息,所述道路信息包括道路宽度、交通流量和连通网格数量;根据所述道路宽度、所述交通流量和所述连通网格数量,确定所述网格对应的每个城市道路的得分;将所述网格对应的每个城市道路的得分相加,得到所述道路得分。In a possible implementation, determining the road score based on the road information of the urban roads corresponding to the grid may include: obtaining the road information from the urban road network, where the road information includes road width. , traffic flow and the number of connected grids; determine the score of each urban road corresponding to the grid according to the road width, the traffic flow and the number of connected grids; assign each urban road corresponding to the grid The scores for urban roads are added together to obtain the road score.
道路宽度对车辆通信的顺畅性和安全性有着重要影响。较宽的道路可以容纳更多的车辆流量,并提供更好的通行条件。因此,可以根据道路宽度确定城市道路的得分。所述道路宽度与所述每个城市道路的得分正相关。道路越宽,城市道路的得分越高,道路越窄,城市道路的得分越低。距离来说,假设城市道路宽度为[10,50],50米道路宽度对应最高分值50,其余道路宽度对应得分则线性同比缩小,那么40米道路宽度对应分值为1/(50/40)=0.8。Road width has an important impact on the smoothness and safety of vehicle communication. Wider roads can accommodate more vehicle traffic and provide better access conditions. Therefore, the score of urban roads can be determined based on the road width. The road width is positively correlated with the score of each urban road. The wider the road, the higher the urban road score, and the narrower the road, the lower the urban road score. In terms of distance, assuming that the width of urban roads is [10, 50], a road width of 50 meters corresponds to the highest score of 50, and the scores corresponding to other road widths decrease linearly year-on-year. Then the corresponding score of a road width of 40 meters is 1/(50/40 )=0.8.
交通流量可以反应道路重要性。因此,可以根据交通流量确定城市道路的得分。所述交通流量与所述每个城市道路的得分正相关。具体的,可以根据道路上的平均交通流量为道路分配得分。举例来说,根据道路流量可以将城市道路分为高、中、低三级,分别设置得分可以为1、0.66和0.33。Traffic flow reflects road importance. Therefore, the score of urban roads can be determined based on traffic flow. The traffic volume is positively correlated with the score of each city road. Specifically, roads can be assigned a score based on the average traffic flow on the road. For example, urban roads can be divided into high, medium and low levels according to road traffic, and the scores can be set to 1, 0.66 and 0.33 respectively.
连通网格数可以表示城市道路的连通性,即道路连接城市各个部分的程度。所述连通网格数量与所述每个城市道路的得分正相关。连通网格数越多,表示连通性更好,意味着更方便的通行和更高的交通网络完整性。具体的,可以根据连通网格数据为道路分配得分。举例来说,根据连通网格数将城市道路分为主干道、次干道和支路,分别对应得分1、0.66和0.33。The number of connected grids can represent the connectivity of urban roads, that is, the degree to which roads connect various parts of the city. The number of connected grids is positively correlated with the score of each urban road. The greater the number of connected grids, the better the connectivity, which means more convenient traffic and higher integrity of the transportation network. Specifically, roads can be assigned scores based on connected grid data. For example, urban roads are divided into main roads, secondary roads and branch roads according to the number of connected grids, with corresponding scores of 1, 0.66 and 0.33 respectively.
在一种可能的实现方式中,所述价值量是根据所述网格在所述区域中的位置确定的,所述价值量与所述位置得分负相关。以网格的租金作为网格的价值量为例,网格租金=网格内商业厂房的平均租金(单位:元/天/平米)。假设网格租金的范围在1至20之间,租金越高得分越低,最高分值1分对应1元/天/平米,等比例缩小可得,租金20元/天/平米的得分为1/20=0.05。若网格中无厂房,则此项得分的取值可以设置为0。In a possible implementation, the value amount is determined based on the position of the grid in the area, and the value amount is negatively correlated with the position score. Taking the rent of the grid as the value of the grid as an example, the grid rent = the average rent of commercial factories in the grid (unit: yuan/day/square meter). Assume that the grid rent ranges from 1 to 20. The higher the rent, the lower the score. The highest score of 1 point corresponds to 1 yuan/day/square meter. It can be obtained by scaling down the ratio. The score for a rent of 20 yuan/day/square meter is 1. /20=0.05. If there is no factory building in the grid, the value of this score can be set to 0.
至此,获取对象得分、道路得分和位置得分。之后,可以根据对象得分、道路得分和位置得分对网格进行多维度的综合评价,从而得到网格的得分。考虑到,上述对象得分、道路得分和位置得分的量纲未同意,直接相加作为网格的得分会放大对象得分的权重,因此,需要对三者的量纲进行统一化。具体的,可以对所述对象得分、所述道路得分、所述位置得分进行归一化处理;对归一化处理后的对象得分、对归一化处理后的道路得分和对归一化处理后的位置得分进行加权求和,得到所述网格的得分。At this point, the object score, road score and location score are obtained. Afterwards, a multi-dimensional comprehensive evaluation of the grid can be performed based on the object score, road score and location score to obtain the score of the grid. Considering that the dimensions of the above object score, road score and location score are not agreed, directly adding them as the score of the grid will amplify the weight of the object score. Therefore, the dimensions of the three need to be unified. Specifically, the object score, the road score, and the location score can be normalized; the normalized object score, the normalized road score, and the normalized The final position scores are weighted and summed to obtain the score of the grid.
可选的,可以采用最大最小归一化进行归一化处理。以道路得分的归一化处理过程为例进行说明,对象得分和位置得分的归一化处理过程可以参照道路得分的归一化处理过程,这里不再赘述。首先获取各网格的道路得分中的最大值和最小值,然后将归一化处理之前的道路得分作为原始值代入以下即可:归一化处理后的道路得分=(原始值-最小值)/(最大值-最小值)。Optionally, max-min normalization can be used for normalization. Taking the normalization process of road scores as an example, the normalization process of object scores and location scores can refer to the normalization process of road scores, which will not be described again here. First, obtain the maximum and minimum values of the road scores of each grid, and then substitute the road score before normalization as the original value into the following: Road score after normalization = (original value - minimum value) /(maximum value minimum value).
之后,可以通过以下公式即可得到网格的得分:网格的得分=第一权值*对象得分+第二权值*道路得分+第三权值*道路得分。其中,第一权值、第二取值和第三权值可以根据需要进行设置。第一权值、第二权值和第三权值可以设置为相同的数值,也可以设置为不同的数据。举例来说,第一权值、第二权值和第三权值可以根据城市管理决策和预算等因素确定。例如,若城市有物流园或者港口,则可以将第一权值设置的较大;若城市交通状况较差,则可以将第二权值设置的较大若预算较少,则可以将第三权值设置的较大。After that, the score of the grid can be obtained through the following formula: Score of the grid = first weight * object score + second weight * road score + third weight * road score. Among them, the first weight value, the second value and the third weight value can be set as needed. The first weight value, the second weight value and the third weight value may be set to the same numerical value, or may be set to different data. For example, the first weight, the second weight and the third weight can be determined based on factors such as city management decisions and budget. For example, if the city has a logistics park or port, the first weight can be set larger; if the city's traffic conditions are poor, the second weight can be set larger; if the budget is smaller, the third weight can be set larger. The weight value is set larger.
步骤S103,根据得分大于预设阈值的网格的位置,确定仓库位置。Step S103: Determine the location of the warehouse based on the location of the grid whose score is greater than the preset threshold.
其中,预设阈值表示预先设置的阈值,预设阈值可以根据需要进行设置。在一个示例中,预设阈值可以根据需要设置的仓库的数量确定。若需要设置的仓库数量较大,则预设阈值可以较小,若需要设置的仓库数量较小,则预设阈值较大。The preset threshold represents a preset threshold, and the preset threshold can be set as needed. In one example, the preset threshold can be determined based on the number of warehouses that need to be set. If the number of warehouses that need to be set is large, the preset threshold can be smaller. If the number of warehouses that need to be set is small, the preset threshold can be larger.
在一种可能的实现方式中,可以先筛选出得分大于预设阈值的网格,然后在筛选出的一个或多个网格中,确定仓库位置。或者,可以先筛选出得分大于预设阈值的网格,然后对这些筛选出的网格按照得分由高到低的顺序进行排序,依次在各个网格中确定仓库位置,直至得到需要数量的仓库位置。In one possible implementation, grids whose scores are greater than a preset threshold can be filtered out first, and then the warehouse location is determined in one or more of the filtered grids. Alternatively, you can first filter out the grids whose scores are greater than the preset threshold, then sort these filtered grids in order from high to low scores, and determine the warehouse locations in each grid in turn until you get the required number of warehouses. Location.
上述仓库位置确定方法,首先基于城市路网划分网格,然后根据网格对应的目标对象、网格对应的城市道路以及网格的价值量确定网格的得分,最后根据得分大于预设阈值的网格的位置确定仓库位置,通过在确定网格得分时综合网格中分布的固定位置的对象、网格的交通便利性和在所述网格设置仓库时需要转移的资源这些因素,提高了网格得分的全面性和可靠性,从而能够准确确定仓库位置。The above warehouse location determination method first divides the grid based on the urban road network, then determines the score of the grid based on the target object corresponding to the grid, the urban road corresponding to the grid, and the value of the grid, and finally based on the network whose score is greater than the preset threshold. The location of the warehouse is determined based on the location of the grid. By considering the fixed-position objects distributed in the grid, the transportation convenience of the grid, and the resources that need to be transferred when setting up the warehouse on the grid when determining the grid score, the network is improved. The comprehensiveness and reliability of the scoring allows accurate determination of warehouse locations.
应该理解的是,虽然如上所述的各实施例所涉及的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,如上所述的各实施例所涉及的流程图中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts involved in the above-mentioned embodiments are shown in sequence as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated in this article, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in the flowcharts involved in the above embodiments may include multiple steps or stages. These steps or stages are not necessarily executed at the same time, but may be completed at different times. The execution order of these steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
基于同样的发明构思,本申请实施例还提供了一种用于实现上述所涉及的仓库位置确定方法的仓库位置确定装置。该装置所提供的解决问题的实现方案与上述方法中所记载的实现方案相似,故下面所提供的一个或多个仓库位置确定装置实施例中的具体限定可以参见上文中对于仓库位置确定方法的限定,在此不再赘述。Based on the same inventive concept, embodiments of the present application also provide a warehouse location determination device for implementing the above-mentioned warehouse location determination method. The solution to the problem provided by this device is similar to the solution recorded in the above method. Therefore, the specific limitations in the embodiments of one or more warehouse location determination devices provided below can be found in the above description of the warehouse location determination method. Limitations will not be repeated here.
在一个实施例中,图3为本申请实施例提供的仓库位置确定模块的结构框图。如图3所示,装置300可以包括:划分模块301、第一确定模块302和第二确定模块303,其中:In one embodiment, FIG. 3 is a structural block diagram of a warehouse location determination module provided by an embodiment of the present application. As shown in Figure 3, the device 300 may include: a dividing module 301, a first determining module 302 and a second determining module 303, wherein:
划分模块,用于基于城市路网将开放共享单车服务的区域划分为多个网格,每个网格由不规则多边形构成,所述多边形的边为城市路网中的城市道路;A division module, used to divide the open shared bicycle service area into multiple grids based on the urban road network. Each grid is composed of irregular polygons, and the sides of the polygons are urban roads in the urban road network;
第一确定模块,用于针对每个网格,根据所述网格对应的目标对象、所述网格对应的城市道路以及所述网格的价值量,确定所述网格的得分,所述目标对象表示位置固定的对象,所述价值量用于表示在所述网格设置仓库时需要转移的资源;The first determination module is used to determine, for each grid, the score of the grid based on the target object corresponding to the grid, the urban road corresponding to the grid, and the value of the grid, and the target The object represents an object with a fixed position, and the value is used to represent the resources that need to be transferred when setting up a warehouse on the grid;
第二确定模块,用于根据得分大于预设阈值的网格的位置,确定仓库位置。The second determination module is used to determine the location of the warehouse based on the location of the grid with a score greater than the preset threshold.
在一种可能的实现方式中,所述第一确定模块还用于:In a possible implementation, the first determination module is also used to:
根据所述网格对应的目标对象的类型信息,确定对象得分;Determine the object score according to the type information of the target object corresponding to the grid;
根据所述网格对应的城市道路的道路信息,确定道路得分;Determine the road score according to the road information of the urban road corresponding to the grid;
根据所述网格的价值量,确定位置得分;Determine a position score based on the value of said grid;
对所述对象得分、所述道路得分、所述位置得分进行归一化处理;Normalize the object score, the road score, and the location score;
对归一化处理后的对象得分、对归一化处理后的道路得分和对归一化处理后的位置得分进行加权求和,得到所述网格的得分。The score of the grid is obtained by performing a weighted sum of the normalized object score, the normalized road score, and the normalized location score.
在一种可能的实现方式中,所述根据所述网格对应的目标对象的类型信息,确定对象得分,包括:In a possible implementation, determining the object score based on the type information of the target object corresponding to the grid includes:
基于地理信息系统和所述网格的坐标信息,确定所述网格对应的目标对象,所述网格的坐标信息包括所述网格对应多边形的各个顶点的坐标;Determine the target object corresponding to the grid based on the geographic information system and the coordinate information of the grid, where the coordinate information of the grid includes the coordinates of each vertex of the polygon corresponding to the grid;
确定所述网格对应的目标对象的类型信息;Determine the type information of the target object corresponding to the grid;
根据第一对应关系,查找每个目标对象的类型信息对应的得分,所述第一对应关系用于指示类型信息与得分的对应关系;Find the score corresponding to the type information of each target object according to the first correspondence relationship, where the first correspondence relationship is used to indicate the correspondence relationship between the type information and the score;
将各个目标对象的类型信息对应的得分相加,得到所述对象得分。The object score is obtained by adding the scores corresponding to the type information of each target object.
在一种可能的实现方式中,所述确定所述网格对应的目标对象的类型信息,包括:In a possible implementation, determining the type information of the target object corresponding to the grid includes:
若所述目标对象为仓储设施、交通枢纽、物流运输通道或者供应链节点,则将第一类型作为所述目标对象的类型信息;If the target object is a warehousing facility, a transportation hub, a logistics channel or a supply chain node, then use the first type as the type information of the target object;
若所述目标对象不是所述仓储设施、所述交通枢纽、所述物流运输通道或者所述供应链节点,则将第二类型作为所述目标对象的类型信息;If the target object is not the warehousing facility, the transportation hub, the logistics transportation channel, or the supply chain node, then use the second type as the type information of the target object;
其中,在所述第一对应关系中,所述第一类型对应的得分大于所述第二类型对应的得分。Wherein, in the first correspondence relationship, the score corresponding to the first type is greater than the score corresponding to the second type.
在一种可能的实现方式中,所述根据所述网格对应的城市道路的道路信息,确定道路得分,包括:In a possible implementation, determining a road score based on road information of urban roads corresponding to the grid includes:
从所述城市路网中获取所述道路信息,所述道路信息包括道路宽度、交通流量和连通网格数量;Obtain the road information from the urban road network, the road information including road width, traffic flow and number of connected grids;
根据所述道路宽度、所述交通流量和所述连通网格数量,确定所述网格对应的每个城市道路的得分;According to the road width, the traffic volume and the number of connected grids, determine the score of each urban road corresponding to the grid;
将所述网格对应的每个城市道路的得分相加,得到所述道路得分。The road score is obtained by adding the scores of each urban road corresponding to the grid.
在一种可能的实现方式中,In one possible implementation,
所述道路宽度与所述每个城市道路的得分正相关;The road width is positively correlated with the score of each city road;
所述交通流量与所述每个城市道路的得分正相关;The traffic volume is positively correlated with the score of each city road;
所述连通网格数量与所述每个城市道路的得分正相关。The number of connected grids is positively correlated with the score of each urban road.
在一种可能的实现方式中,所述价值量是根据所述网格在所述区域中的位置确定的,所述价值量与所述位置得分负相关。In a possible implementation, the value amount is determined based on the position of the grid in the area, and the value amount is negatively correlated with the position score.
上述仓库位置确定装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。Each module in the above-mentioned warehouse location determination device can be realized in whole or in part by software, hardware and combinations thereof. Each of the above modules may be embedded in or independent of the processor of the computer device in the form of hardware, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图4所示。该计算机设备包括处理器、存储器、输入/输出接口(Input/Output,简称I/O)和通信接口。其中,处理器、存储器和输入/输出接口通过系统总线连接,通信接口通过输入/输出接口连接到系统总线。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质和内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储得分数据。该计算机设备的输入/输出接口用于处理器与外部设备之间交换信息。该计算机设备的通信接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种仓库位置确定方法。In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in Figure 4 . The computer device includes a processor, a memory, an input/output interface (Input/Output, referred to as I/O), and a communication interface. Among them, the processor, memory and input/output interface are connected through the system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes non-volatile storage media and internal memory. The non-volatile storage medium stores operating systems, computer programs and databases. This internal memory provides an environment for the execution of operating systems and computer programs in non-volatile storage media. The computer device's database is used to store scoring data. The input/output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with an external terminal through a network connection. The computer program, when executed by the processor, implements a warehouse location determination method.
本领域技术人员可以理解,图4中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 4 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Specific computer equipment can May include more or fewer parts than shown, or combine certain parts, or have a different arrangement of parts.
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现上述各方法实施例中的步骤。In one embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, it implements the steps in the above method embodiments.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述各方法实施例中的步骤。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-OnlyMemory,ROM)、磁带、软盘、闪存、光存储器、高密度嵌入式非易失性存储器、阻变存储器(ReRAM)、磁变存储器(Magnetoresistive Random Access Memory,MRAM)、铁电存储器(Ferroelectric RandomAccess Memory,FRAM)、相变存储器(Phase Change Memory,PCM)、石墨烯存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器等。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic RandomAccessMemory,DRAM)等。本申请所提供的各实施例中所涉及的数据库可包括关系型数据库和非关系型数据库中至少一种。非关系型数据库可包括基于区块链的分布式数据库等,不限于此。本申请所提供的各实施例中所涉及的处理器可为通用处理器、中央处理器、图形处理器、数字信号处理器、可编程逻辑器、基于量子计算的数据处理逻辑器等,不限于此。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage. In the media, when executed, the computer program may include the processes of the above method embodiments. Any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetic variable memory (Magnetoresistive Random) Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene memory, etc. Volatile memory may include random access memory (Random Access Memory, RAM) or external cache memory, etc. As an illustration and not a limitation, RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM). The databases involved in the various embodiments provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include blockchain-based distributed databases, etc., but are not limited thereto. The processors involved in the various embodiments provided in this application may be general-purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to this.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined in any way. To simplify the description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, all possible combinations should be used. It is considered to be within the scope of this manual.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请的保护范围应以所附权利要求为准。The above-described embodiments only express several implementation modes of the present application, and their descriptions are relatively specific and detailed, but should not be construed as limiting the patent scope of the present application. It should be noted that, for those of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all fall within the protection scope of the present application. Therefore, the scope of protection of this application should be determined by the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311100466.4A CN116822772A (en) | 2023-08-30 | 2023-08-30 | Warehouse location determination method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311100466.4A CN116822772A (en) | 2023-08-30 | 2023-08-30 | Warehouse location determination method, device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116822772A true CN116822772A (en) | 2023-09-29 |
Family
ID=88120703
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311100466.4A Pending CN116822772A (en) | 2023-08-30 | 2023-08-30 | Warehouse location determination method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116822772A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109242234A (en) * | 2018-07-02 | 2019-01-18 | 长江勘测规划设计研究有限责任公司 | Underground nuclear plant factory site based on discrete region method preliminary Selection Method automatically |
CN111539673A (en) * | 2020-04-29 | 2020-08-14 | 众能联合数字技术有限公司 | Rental equipment storage management system and method |
CN111598603A (en) * | 2020-03-03 | 2020-08-28 | 深圳前海微众银行股份有限公司 | Warehouse site selection method, device, equipment and storage medium |
CN113935620A (en) * | 2021-10-14 | 2022-01-14 | 城云科技(中国)有限公司 | Parking lot evaluation method and device based on grid basic data and application |
-
2023
- 2023-08-30 CN CN202311100466.4A patent/CN116822772A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109242234A (en) * | 2018-07-02 | 2019-01-18 | 长江勘测规划设计研究有限责任公司 | Underground nuclear plant factory site based on discrete region method preliminary Selection Method automatically |
CN111598603A (en) * | 2020-03-03 | 2020-08-28 | 深圳前海微众银行股份有限公司 | Warehouse site selection method, device, equipment and storage medium |
CN111539673A (en) * | 2020-04-29 | 2020-08-14 | 众能联合数字技术有限公司 | Rental equipment storage management system and method |
CN113935620A (en) * | 2021-10-14 | 2022-01-14 | 城云科技(中国)有限公司 | Parking lot evaluation method and device based on grid basic data and application |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12203765B2 (en) | Identifying, processing and displaying data point clusters | |
WO2018113787A1 (en) | Region division method and device, and storage medium | |
Echenique et al. | A spatial model of urban stock and activity | |
Woudsma et al. | Logistics land use and the city: A spatial–temporal modeling approach | |
US11966424B2 (en) | Method and apparatus for dividing region, storage medium, and electronic device | |
US20170206621A1 (en) | Systems and Methods for Determining the Effectiveness of Warehousing | |
US11346681B2 (en) | Method and an apparatus for searching or comparing sites using routes or route lengths between sites and places within a transportation system | |
Deng et al. | A density-based approach for detecting network-constrained clusters in spatial point events | |
Peredo et al. | Urban dynamic estimation using mobile phone logs and locally varying anisotropy | |
CN115292507A (en) | Traffic travel analysis method, device, equipment and medium based on knowledge graph | |
CN114548811A (en) | Airport accessibility detection method and device, electronic equipment and storage medium | |
Pankiv et al. | Project of an intelligent recommender system for parking vehicles in smart cities | |
Soe et al. | Haversine formula and RPA algorithm for navigation system | |
Mehmood et al. | The spatial coupling effect between urban street network’s centrality and collection & delivery points: A spatial design network analysis-based study | |
Chen et al. | Rebalancing bike-sharing system with deep sequential learning | |
CN116822772A (en) | Warehouse location determination method, device, computer equipment and storage medium | |
D'Andrea et al. | Smart profiling of city areas based on web data | |
Hao et al. | Identification and characterization of urban polycentric structure based on points of interest in Shenyang, China | |
Chen et al. | Detecting urban commercial patterns using a latent semantic information model: A case study of spatial-temporal evolution in Guangzhou, China | |
CN116703132A (en) | Management method, device and computer equipment for dynamic dispatch of shared vehicles | |
CN113254809B (en) | Geographic information obtaining method and device and electronic equipment | |
Kong et al. | Charging pile siting recommendations via the fusion of points of interest and vehicle trajectories | |
Narvaez et al. | Configurational economies: The value of accessibility in urban development | |
Mao et al. | Bike-sharing dynamic scheduling model based on spatio-temporal graph | |
Sabri et al. | Multi-criteria decision making for urban sprawl, using Analytic Network Process and GIS, case of Iskandar Malaysia Region |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Country or region after: China Address after: Room 901, 9th Floor, Building 1, Zone 4, Wangjing Dongyuan, Chaoyang District, Beijing 100020 Applicant after: Beijing Apacolan Technology Group Co.,Ltd. Address before: Room 901, 9th Floor, Building 1, Zone 4, Wangjing Dongyuan, Chaoyang District, Beijing 100020 Applicant before: Beijing apoco Blue Technology Co.,Ltd. Country or region before: China |
|
CB02 | Change of applicant information |