Parcel order processing method and device, equipment and storage medium

By using the historical zoning database to analyze the distribution address and the database matching processing method of package interception conditions, the problems of low parcel order identification accuracy and low processing efficiency are solved, and more efficient and accurate parcel order processing is achieved.

CN119599539APending Publication Date: 2025-03-11SHANGHAI DONGPU INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411358132.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

In the prior art, there are problems of low accuracy in identification of parcel orders and low processing efficiency.

Method used

By obtaining the target delivery address of the target package, the address is parsed using the historical zoning database to determine the effective zoning information, and automatically identify and process the parcel order through the parcel interception condition database matching processing method.

Benefits of technology

It improves the efficiency and accuracy of parcel order processing, reduces delivery errors caused by inaccurate address, and enhances the system's fault tolerance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119599539A_ABST
    Figure CN119599539A_ABST
Patent Text Reader

Abstract

The invention discloses a parcel order processing method, apparatus and device, and a storage medium. The method comprises the steps of obtaining a target delivery address of a target parcel; identifying target zoning information of the target parcel based on the target delivery address; obtaining a historical zoning database; the target delivery address is analyzed based on a historical zoning database to determine effective zoning information of the target package, and the effective zoning information comprises an effective zoning name and an effective area code corresponding to the effective zoning name; obtaining a parcel interception condition database; obtaining a target processing mode of the target package based on a matching result of the effective zoning information of the target package in a database including interception conditions; and processing the target package based on the target processing mode. According to the method, the delivery address identification accuracy can be improved, so that the parcel processing mode can be determined more accurately, and the processing efficiency and the processing effect are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of logistics and transportation, and specifically relates to a package order processing method, device, equipment and storage medium. Background Art

[0002] With the rapid development of my country's economy, the logistics industry is becoming increasingly prosperous. As an important part of the logistics system, logistics distribution is gradually penetrating into people's daily lives. In recent years, the rise of e-commerce has brought unprecedented development opportunities to the logistics distribution industry. In this context, the logistics distribution industry has become a new engine for my country's economic growth, which is of great significance to improving the efficiency of the national economy and reducing social costs.

[0003] However, with the acceleration of urbanization, address descriptions have become increasingly complex, and users often lack standards when filling in addresses, resulting in incomplete or ambiguous information. Delivery requirements are also becoming more and more complex, and this complexity makes it difficult for traditional package handling methods to effectively cope with it. Therefore, technological innovation is urgently needed to improve logistics efficiency and meet the diverse needs of package handling. Summary of the invention

[0004] In view of the deficiencies in the prior art, an object of the present invention is to provide a package order processing method, device, equipment and storage medium to solve the problems of low package order recognition accuracy and low processing efficiency in the prior art.

[0005] According to one aspect of the present application, a package order processing method is disclosed, the method comprising: Get the target delivery address of the target package; Acquire a historical zoning database, wherein the historical zoning database includes a correspondence between historical zoning information, historical address information, and address change information; Parsing the target delivery address based on the historical division database to determine valid division information of the target package, the valid division information including a valid division name and a valid area code corresponding to the valid division name; Obtain the package interception condition database; Based on the matching result of the effective zoning information of the target package in the interception condition database, obtaining the target processing method of the target package; Based on the target processing method, the target package is processed.

[0006] In some embodiments, determining the valid zoning information of the target package based on the historical zoning database and the target delivery address includes: Performing text preprocessing on the target delivery address to obtain a target preprocessed delivery address; Based on a target word segmentation algorithm, segmenting the target delivery address into a plurality of target phrases; Matching the plurality of target phrases in the historical zoning database can obtain the valid zoning information of the target package.

[0007] In some embodiments, after determining the valid zoning information of the target package based on the historical zoning database and the target delivery address, the method further includes: Obtaining geocoding information of a target package, wherein the geocoding information includes the latitude and longitude coordinates of the target package; Acquire regional fence data, wherein the regional fence data includes latitude and longitude coordinate boundaries of regions corresponding to multiple regional levels; Determine a target partition fence of the target package based on the target longitude and latitude coordinates and the partition fence data; Based on the latitude and longitude coordinate boundaries of the target area of ​​the target zoning fence, the valid zoning information of the target package is updated to obtain updated target zoning information.

[0008] In some embodiments, the method further comprises: Acquire a standard zoning database, wherein the standard zoning database includes a correspondence between standard zoning names and standard area codes; When there is a standard district name matching the valid district name in the standard district database, the standard area code corresponding to the standard district name is used as the valid area code corresponding to the valid district name. In some embodiments, the method further includes: When the valid district name does not match the standard district name, fuzzy matching is performed on the valid district name to obtain a fuzzy matching result; According to the fuzzy matching result, the valid district name is modified to obtain a modified district name. The effective zone information is updated based on the revised zone name to obtain updated target zone information.

[0009] In some embodiments, based on a matching result of the target zone information of the target package in the interception condition database, a target processing method of the target package is obtained.

[0010] In some embodiments, determining the target partition fence of the target package based on the target latitude and longitude coordinates and the partition fence data includes: Determine whether there are matching longitude and latitude coordinates that match the target longitude and latitude coordinates in the plurality of longitude and latitude coordinate boundaries of the region, When there are matching longitude and latitude coordinates matching the target longitude and latitude coordinates in the plurality of longitude and latitude coordinate boundaries of the regions, the partition fence corresponding to the matching longitude and latitude coordinates is used as the target partition fence.

[0011] According to another aspect of the present application, a package order processing device is also disclosed, the device comprising: A target delivery address acquisition module is used to obtain the target delivery address of a target package; A historical zoning database acquisition module is used to acquire a historical zoning database, wherein the historical zoning database includes a correspondence between historical zoning information, historical address information, and address change information; A parsing module, configured to parse the target delivery address based on the historical zoning database to determine valid zoning information of the target package, wherein the valid zoning information includes a valid zoning name and a valid area code corresponding to the valid zoning name; An interception condition database acquisition module is used to obtain a package interception condition database; A target processing method acquisition module, used for acquiring a target processing method of the target package based on a matching result of the effective zoning information of the target package in the interception condition database; A processing module is used to process the target package based on the target processing method.

[0012] According to another aspect of the present application, an electronic device is also disclosed, which includes a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the electronic device executes the various steps of the package order processing method as described above.

[0013] According to another aspect of the present application, a computer-readable storage medium is also disclosed, on which instructions are stored, characterized in that when the instructions are executed by a processor, each step of the package order processing method described above is implemented.

[0014] The present invention includes but is not limited to the following beneficial effects: (1) The present invention can automatically identify and parse the zoning information of the target delivery address, thereby improving the efficiency of package order processing; (2) The present invention parses the target delivery address through the historical zoning database, thereby determining the effective zoning information of the target package, thereby improving the address recognition accuracy of the target package, and further matches the processing method through the package interception condition database, thereby more accurately determining the processing method of the package, thereby improving the processing efficiency and processing accuracy; (3) The present invention can more accurately identify and parse the key information in the address by performing text preprocessing and word segmentation on the target delivery address, thereby more accurately determining the package The effective division information of the package; (4) The present invention can obtain the latitude and longitude coordinates of the target delivery address by using a geocoding request, thereby more accurately determining the effective division information of the package and improving the delivery accuracy: further, by using the target longitude and latitude coordinates and the division fence data, the accuracy of determining the target delivery area of ​​the package can be improved, reducing delivery errors caused by inaccurate addresses, and more effectively planning delivery routes to improve delivery efficiency; (5) When the effective division name does not match the standard division name, the present invention can perform fuzzy matching and correction processing on the effective division name, thereby enhancing the fault tolerance of the system and improving the accuracy of determining the target delivery address. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.

[0016] Figure 1 is a flow chart of a package order processing method according to an embodiment of the present application; Figure 2 is another flow chart of the package order processing method of the embodiment of the present application; Figure 3 is another flow chart of the package order processing method of the embodiment of the present application; Figure 4 is another flow chart of the package order processing method of the embodiment of the present application; Figure 5 is another flow chart of the package order processing method of the embodiment of the present application; Figure 6 is a structural block diagram of a package order processing device according to an embodiment of the present application; Figure 7 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0017] The embodiment of the present invention provides a method for processing a package order, including obtaining a target delivery address of a target package; based on the target delivery address, identifying target zoning information of the target package, the target zoning information including the target area level of the target delivery address; obtaining a historical zoning database, the historical zoning database including the correspondence between historical zoning information, historical address information and address change information; parsing the target delivery address based on the historical zoning database to determine the effective zoning information of the target package, the effective zoning information including the effective zoning name and the effective area code corresponding to the effective zoning name; obtaining a package interception condition database; based on the matching result of the effective zoning information of the target package in the interception condition database, obtaining the target processing method of the target package; processing the target package based on the target processing method. The present invention can automatically identify and parse the zoning information of the target delivery address, and can improve the efficiency of package order processing; further, the target delivery address is parsed through the historical zoning database, so as to determine the effective zoning information of the target package, improve the address recognition accuracy of the target package, and further match the processing method through the package interception condition database, so as to more accurately determine the processing method of the package, and improve the processing efficiency and processing accuracy.

[0018] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0019] For ease of understanding, the specific process of the embodiment of the present invention is described below. Specifically, Figure 1 A flowchart of the package order processing method of the present application, the steps include: S100: Obtain the target delivery address of the target package.

[0020] Specifically, when the customer completes the purchase process, he / she will provide a delivery address, which is the target delivery address. For example, the target delivery address entered by the customer may be: "No. 1000, Lujiazui Ring Road, Pudong New Area, Shanghai".

[0021] S102, obtaining a historical regional division database.

[0022] It can be understood that the historical district database includes the correspondence between historical district information, historical address information and address change information.

[0023] S104: Parse the target delivery address based on the historical zoning database to determine valid zoning information of the target package.

[0024] In one example, Figure 2 A flowchart of the package order processing method of the present application, the flowchart of step S104 Parsing the target delivery address based on the historical zoning database to determine the valid zoning information of the target package is described in detail. Figure 2 , which may include the following steps: S200: Perform text preprocessing on the target delivery address to obtain the target preprocessed delivery address.

[0025] In one example, text preprocessing may include, but is not limited to, operations such as removing special characters and converting uppercase and lowercase characters to improve the accuracy of subsequent processing. For example, in an actual address, some special characters may be included, such as punctuation marks, spaces, tabs, etc. These special characters may interfere with the subsequent address parsing process. For example, the comma in the address "No. 1000, Lujiazui Ring Road, Pudong New District, Shanghai" needs to be removed. Further, in order to prevent matching problems caused by different expressions of the same address, the characters in the address need to be unified into the same format. For example, all characters are converted to lowercase, and full-width characters are converted to half-width characters. For example, "No. 1,000, Lujiazui Ring Road, Pudong New District, Shanghai" and "No. 1000, Lujiazui Ring Road, Pudong New District, Shanghai" look different, but they are actually the same address. Further, in some other examples, some addresses may contain some irrelevant words, such as "please send to", "address is", etc. These words are not helpful for address parsing, but may interfere with the parsing process, so they need to be removed. Furthermore, in some other examples, some addresses may use non-standard expressions and need to be converted to standard expressions, for example, replacing the "Lu" in "No. 1000, Lujiazui Huanlu, Pudong New Area, Shanghai" with the standard "Lu".

[0026] S202: Based on a target word segmentation algorithm, the target delivery address is segmented into a plurality of target phrases.

[0027] In one example, the HANLP word segmentation algorithm can be used to segment the address text into words or phrases. HANLP word segmentation algorithm HANLP (Han Language Processing) is an efficient Chinese natural language processing toolkit that uses a deep learning model to perform word segmentation, part-of-speech tagging, named entity recognition, and other processing on the text. In this step, HANLP is first applied to perform word segmentation on the express delivery address to decompose the address string into meaningful word units, such as "No. 1000, Lujiazui Ring Road, Pudong New Area, Shanghai" is segmented into "Shanghai", "Pudong New Area", "Lujiazui Ring Road", "No. 1000", etc.

[0028] It should be noted that due to the complexity and diversity of addresses, the word segmentation process may encounter some problems, such as different expressions of the same place name (such as "Pudong New Area" and "Pudong"), ambiguous words in the address (such as "Chang'an Avenue" may be a street name or a community name), etc. More complex word segmentation algorithms can be used to deal with these problems, such as statistical-based word segmentation algorithms, deep learning-based word segmentation algorithms, etc. For example, when encountering different expressions of the same place name, such as "Pudong New Area" and "Pudong", in this case, a rule-based method can be used to handle it. For example, a place name comparison table can be established to map different expressions to the same place name. It can be recorded in the comparison table that "Pudong" and "Pudong New Area" both represent the same place. In the word segmentation process, if these words are encountered, they can be directly replaced with standard place names. Furthermore, it can also be processed based on machine learning methods, for example, a deep learning model, such as a sequence annotation model (for example, a BiLSTM-CRF model), can be used for word segmentation and entity recognition. This model can learn different expressions of place names from a large amount of annotated data and can correctly identify them during the word segmentation process. Furthermore, when there are ambiguous words in the address, for example, "Chang'an Street" may be a street name or a community name. In this case, contextual information can be used to resolve the ambiguity problem. For example, if the address contains the word "community", then "Chang'an Street" may be the name of the community; if the address contains the word "intersection", then "Chang'an Street" may be the name of the street. Furthermore, context-sensitive word embedding (for example, BERT model) can be used to handle the ambiguity problem. This model can generate word embeddings based on the contextual information of the vocabulary in the sentence, thereby resolving the ambiguity problem.

[0029] S204, matching multiple target phrases in a historical zoning database to obtain valid zoning information of the target package.

[0030] In one example, on the basis of word segmentation, the valid district name and code corresponding to the target matching address can be identified by matching with a pre-built historical district database. For example, "Zhabei District, Shanghai" may be divided into two target phrases, "Shanghai" and "Zhabei District". It is necessary to search the historical district database to see if there is a historical district that matches the target address. For example, the correspondence between "Zhabei District" and "Jing'an District" may be found in the historical district database. If a matching historical district is found, we need to replace it with the current valid district name. For example, "Zhabei District" will be replaced with "Jing'an District". Finally, the processed address and the corresponding district code are output. For example, for "Zhabei District, Shanghai", the processed result may be "Jing'an District, Shanghai", and the corresponding district code may be "310106". Then, after matching multiple target phrases in the historical district database, the valid district information included in the target can be obtained, wherein the valid district information includes the valid district name and the valid area code.

[0031] It is understandable that, based on word segmentation, since administrative divisions change over time, the system needs to maintain a historical division mapping database to record the relationship before and after the division change. For example, "Zhabei District, Shanghai" has been merged into "Jing'an District". Through this database, the system can identify the historical division name provided by the user and automatically convert it into the current valid division name and code; by matching with the pre-built historical division relationship database, through complex pattern matching and similarity calculations, the corresponding valid division name and code in the address can be identified. The key information in the address can be more accurately identified and parsed, thereby more accurately determining the valid division information of the package.

[0032] S106: Obtain a package interception condition database.

[0033] Specifically, the package interception condition database includes the correspondence between the zone name, the zone code and the interception condition, and the correspondence can be preset and stored in the controller.

[0034] S108. Based on the matching result of the effective zoning information of the target package in the interception condition database, a target processing method of the target package is obtained.

[0035] It is understandable that the package interception condition database includes a series of interception conditions. For example, some specific areas may have special delivery regulations or restrictions, or some products may require special handling methods. The system will match the package interception condition database based on the effective division information of the target package. For example, if the effective division information of the target package is the Pudong New Area of ​​Beijing as mentioned above, the system will search the database for all interception conditions related to this division. Based on the matching results, the system will determine the target handling method of the target package. For example, if there is a provision in the package interception condition database that all packages in the Pudong New Area of ​​Beijing need to undergo security inspections, then the target handling method may be "conduct security inspections". If there is a provision in the package interception condition database that all packages in the Pudong New Area of ​​Beijing need to be intercepted and not allowed to pass, then the target handling method may be "package interception".

[0036] It can be understood that the above-mentioned example of target processing method is only an illustrative description. In other feasible schemes, there may be other target processing methods, such as "direct passage". The specific method can be determined according to the actual situation and is not exhaustively listed here.

[0037] Furthermore, flexible zoning interception rules can be formulated based on real-time logistics dynamic data, including congestion of transportation routes, processing capacity of express delivery outlets, and policy restrictions, such as special regulations and environmental protection requirements in certain areas. Use rule engines, such as Drools (JBoss Rules) open source business rule engine, to convert these rules into executable logical expressions. When processing express interception requests, the relevant address information and logistics status data are input into the rule engine. The rule engine will perform logical judgment and reasoning based on pre-set rules. If the interception conditions are met, the interception operation will be triggered and the corresponding notification and processing instructions will be generated. Interception execution logic When a new express delivery task is received, the system will automatically compare the interception rule database based on the obtained regional code. If the district where the target delivery address is located is marked as an area that needs to be intercepted, the interception operation will be triggered, such as notifying the sender to adjust the delivery address or suspend the delivery service, to ensure that the logistics activities are compliant and efficient.

[0038] S110: Process the target package based on the target processing method.

[0039] Specifically, the system will process the target package according to the determined target processing method. For example, if the target processing method is "conduct security inspection", the system will send the package for security inspection. If the target processing method is "package interception", the system will intercept the package and not allow it to pass.

[0040] It can be understood that in the embodiment of the application, the zoning information of the target delivery address can be automatically identified and parsed, which can improve the efficiency of package order processing; and the target delivery address is parsed through the historical zoning database to determine the effective zoning information of the target package, thereby improving the address recognition accuracy of the target package, and further matching the processing method through the package interception condition database, thereby more accurately determining the processing method of the package, improving processing efficiency and processing accuracy.

[0041] Furthermore, Figure 3 is another flow chart of the package order processing method of the embodiment of the present application. Specifically, the process is applied to the historical division database and the target delivery address in step S104. After determining the valid division information of the target package, refer to Figure 3 , which may include the following steps: S300: Obtain geocoding information of a target package, where the geocoding information includes the latitude and longitude coordinates of the target package.

[0042] In one example, the controller may send a geocoding information acquisition request to the geocoding server so that the geocoding server can feedback the geocoding information of the target package amount based on the acquisition request. In another example, the controller may directly call a mature geocoding service interface, such as the API provided by Baidu Maps, Amap, etc. These services will return the corresponding longitude and latitude coordinates based on the input address text. It can be understood that geocoding is the process of converting an address description into geographic coordinates (longitude and latitude). When the address lacks detailed zoning information such as towns and villages, the system uses a third-party geocoding service (such as Google Maps API, Amap API) or a self-built geocoding database to input partial address information (such as street name and house number) to obtain its precise longitude and latitude coordinates.

[0043] S302: Acquire the partition fence data.

[0044] Specifically, after obtaining the longitude and latitude coordinates of the target package, the zoning fence data is obtained. Specifically, the algorithm in the spatial database or geographic information system (GIS) can be used to load high-precision zoning fence data. These zoning fence data are usually stored in the form of polygons, and the zoning fence data includes multiple regional levels, each corresponding to the longitude and latitude coordinate boundaries of the region.

[0045] S304: Determine the target partition fence of the target package based on the target longitude and latitude coordinates and the partition fence data.

[0046] In one example, after obtaining the longitude and latitude, GIS (Geographic Information System) technology can be used to spatially match the longitude and latitude coordinates with the pre-established zoning fence data. Zoning fences are polygons composed of multiple longitude and latitude coordinate points, representing the actual geographical boundaries of each administrative region. By determining whether the coordinate point falls within a zoning fence, the most accurate zoning to which the address belongs is determined, and the corresponding code is obtained.

[0047] Furthermore, it is possible to first determine whether there are matching longitude and latitude coordinates that match the target longitude and latitude coordinates in the boundaries of multiple regional longitude and latitude coordinates. When there are matching longitude and latitude coordinates that match the target longitude and latitude coordinates in the boundaries of multiple regional longitude and latitude coordinates, the dividing fence corresponding to the matching longitude and latitude coordinates is used as the target dividing fence.

[0048] S306. Update the valid zoning information of the target package based on the latitude and longitude coordinate boundaries of the target area of ​​the target zoning fence to obtain updated target zoning information.

[0049] Specifically, based on the latitude and longitude coordinate boundaries of the target area of ​​the target zoning fence, the valid zoning information of the target package is updated to obtain the updated target zoning information, which can specifically be to use the zoning information of the target zoning fence determined in step S304 as the target zoning information.

[0050] It is understandable that in the embodiment of the application, by using the geocoding request, the latitude and longitude coordinates of the target delivery address can be obtained, so as to more accurately determine the effective zoning information of the package and improve the delivery accuracy: further, by using the target longitude and latitude coordinates and the zoning fence data, the accuracy of determining the target delivery area of ​​the package can be improved, and delivery errors caused by inaccurate addresses can be reduced, and the delivery route can be planned more effectively to improve delivery efficiency. Furthermore, in the embodiment of the present application, the effective zoning information can be updated by the longitude and latitude coordinates, thereby improving the accuracy of determining the target delivery address of the target package.

[0051] Furthermore, Figure 4 This is another flow chart of the package order processing method of this application, see Figure 4 , the method comprising: S400: Obtain a standard zoning database.

[0052] Specifically, the standard zoning database includes the correspondence between the standard zoning names and the standard area codes. It can be understood that the standard zoning database is pre-selected and set.

[0053] S402: When there is a standard district name matching the valid district name in the standard district database, the standard area code corresponding to the standard district name is used as the valid area code corresponding to the valid district name.

[0054] It is understandable that before executing step S402, the valid district name obtained after parsing can be first matched with the standard district database. The standard district database contains the standard district names (address data) that have been normalized and standardized and the corresponding standard area codes. Use the national or local standard address database (such as the national postal code database, city GIS database) to query the address information processed in the first two steps. These databases store a large number of normalized and standardized address entries, each of which is associated with a specific district code. If the match is successful, the standard area code corresponding to the corresponding standard district name is directly obtained. Then the standard area code corresponding to the standard district name is used as the valid area code corresponding to the valid district name.

[0055] Furthermore, Figure 5 This is another flow chart of the package order processing method of this application, see Figure 5 , the method comprising: S500: When the valid district name does not match the standard district name, fuzzy matching is performed on the valid district name to obtain a fuzzy matching result.

[0056] Specifically, when the valid district name does not match the standard district name, a fuzzy matching algorithm, such as the edit distance algorithm or the similarity measurement algorithm, can be used to find the closest standard address within a certain similarity threshold, and make corresponding corrections and standardization processing. For example, unify the writing format of street names, complete missing district levels, etc., to ensure that the final address is unique and meets national or industry standards. S502. According to the fuzzy matching result, the valid district name is modified to obtain a modified district name.

[0057] Specifically, an address error correction mechanism can be established to automatically detect and correct common types of address errors, such as typos and missing information, to ensure that each address can be accurately matched to its unique, standardized representation and corresponding district code.

[0058] S504: Update the valid zone information based on the revised zone name to obtain updated target zone information.

[0059] It can be understood that the embodiment of the present application can perform fuzzy matching and correction processing on the valid district name when the valid district name does not match the standard district name, thereby enhancing the fault tolerance of the system and improving the accuracy of determining the target delivery address.

[0060] According to another aspect of the present application, a package order processing device is also disclosed. Specifically, Figure 6 As shown, the package order processing device includes: A target delivery address acquisition module is used to obtain the target delivery address of a target package; A historical zoning database acquisition module is used to acquire a historical zoning database, which includes the correspondence between historical zoning information, historical address information, and address change information; A parsing module, used to parse the target delivery address based on the historical zoning database to determine the valid zoning information of the target package, the valid zoning information including the valid zoning name and the valid area code corresponding to the valid zoning name; An interception condition database acquisition module is used to obtain a package interception condition database; A target processing method acquisition module, used for acquiring a target processing method for a target package based on a matching result of effective zoning information of the target package in a database including interception conditions; The processing module is used to process the target package based on the target processing method.

[0061] Furthermore, in one example, the parsing module includes: A preprocessing unit, used for performing text preprocessing on the target delivery address to obtain the target preprocessed delivery address; A word segmentation unit, used for segmenting a target delivery address into a plurality of target phrases based on a target word segmentation algorithm; The matching unit is used to match multiple target phrases in the historical division database to obtain valid division information of the target package.

[0062] Furthermore, the device also includes: A geocoding information acquisition module is used to acquire the geocoding information of the target package, where the geocoding information includes the latitude and longitude coordinates of the target package; A zoning fence data acquisition module is used to acquire zoning fence data, the zoning fence data includes the longitude and latitude coordinate boundaries of the corresponding regions of multiple regional levels; A target partition fence determination module is used to determine the target partition fence of the target package based on the target latitude and longitude coordinates and the partition fence data; The first updating module is used to update the valid zoning information of the target package based on the latitude and longitude coordinate boundaries of the target area of ​​the target zoning fence to obtain updated target zoning information.

[0063] Furthermore, the device also includes: A standard zoning database acquisition module is used to acquire a standard zoning database, wherein the standard zoning database includes a correspondence between standard zoning names and standard area codes; The effective area code determination module is used to use the standard area code corresponding to the standard area name as the effective area code corresponding to the effective area name when there is a standard area name matching the effective area name in the standard area database.

[0064] Furthermore, the device also includes: A fuzzy matching module is used to perform fuzzy matching on the valid district name when the valid district name does not match the standard district name to obtain a fuzzy matching result; The correction module is used to correct the valid district name according to the fuzzy matching result to obtain the corrected district name. The second updating module is used to update the effective zone information based on the revised zone name to obtain updated target zone information.

[0065] Furthermore, the target processing mode acquisition module is also used to: Based on the matching result of the target zone information of the target package in the interception condition database, the target processing method of the target package is obtained.

[0066] Furthermore, the target area fence determination module includes: The latitude and longitude coordinate matching unit is used to determine whether there are matching longitude and latitude coordinates that match the target longitude and latitude coordinates in the longitude and latitude coordinate boundaries of multiple regions. The target partition fence determination unit is used to use the partition fence corresponding to the matching longitude and latitude coordinates as the target partition fence when there are matching longitude and latitude coordinates matching the target longitude and latitude coordinates in the boundaries of multiple regional longitude and latitude coordinates.

[0067] The application introduction of the relevant modules of the device in this example can refer to the relevant introduction of the principle of the above method, which will not be repeated here.

[0068] According to another aspect of the present application, the present application also discloses an electronic device, which includes a memory and at least one processor, wherein instructions are stored in the memory; at least one processor calls the instructions in the memory so that the electronic device executes each step of the above package order processing method.

[0069] above Figure 6 The grid warehouse billing device based on operating status in the embodiment of the present invention is described in detail from the perspective of modular functional entities, and the electronic device in the embodiment of the present invention is described in detail from the perspective of hardware processing.

[0070] Figure 77 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. The electronic device 700 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 710 (for example, one or more processors) and a memory 720, and one or more storage media 730 (for example, one or more mass storage devices) storing application programs 733 or data 732. Among them, the memory 720 and the storage medium 730 can be temporary storage or permanent storage. The program stored in the storage medium 730 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the electronic device 700. Furthermore, the processor 710 may be configured to communicate with the storage medium 730 to execute a series of instruction operations in the storage medium 730 on the electronic device 700.

[0071] The electronic device 700 may also include one or more power supplies 740, one or more wired or wireless network interfaces 750, one or more input and output interfaces 750, and / or one or more operating systems 731, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 7 The structure of the electronic device shown does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine some components, or arrange the components differently.

[0072] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the package order processing method.

[0073] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device, or unit can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.

[0074] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

[0075] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A package order processing method, characterized in that: The method comprises: Get the target delivery address of the target package; Acquire a historical zoning database, wherein the historical zoning database includes a correspondence between historical zoning information, historical address information, and address change information; Parsing the target delivery address based on the historical division database to determine valid division information of the target package, the valid division information including a valid division name and a valid area code corresponding to the valid division name; Obtain the package interception condition database; Based on the matching result of the effective zoning information of the target package in the interception condition database, obtaining the target processing method of the target package; Based on the target processing method, the target package is processed.

2. The package order processing method according to claim 1, characterized in that: The parsing of the target delivery address based on the historical zoning database to determine the valid zoning information of the target package includes: Performing text preprocessing on the target delivery address to obtain a target preprocessed delivery address; Based on a target word segmentation algorithm, segmenting the target delivery address into a plurality of target phrases; Matching the plurality of target phrases in the historical zoning database can obtain the valid zoning information of the target package.

3. The package order processing method according to claim 1, characterized in that: After determining the valid zoning information of the target package based on the historical zoning database and the target delivery address, the method further includes: Obtaining geocoding information of a target package, wherein the geocoding information includes the latitude and longitude coordinates of the target package; Acquire regional fence data, wherein the regional fence data includes latitude and longitude coordinate boundaries of regions corresponding to multiple regional levels; Determine a target partition fence of the target package based on the target longitude and latitude coordinates and the partition fence data; Based on the latitude and longitude coordinate boundaries of the target area of ​​the target zoning fence, the valid zoning information of the target package is updated to obtain updated target zoning information.

4. The package order processing method according to claim 1, characterized in that: The method further comprises: Acquire a standard zoning database, wherein the standard zoning database includes a correspondence between standard zoning names and standard area codes; When there is a standard district name matching the valid district name in the standard district database, the standard area code corresponding to the standard district name is used as the valid area code corresponding to the valid district name.

5. The package order processing method according to claim 1, characterized in that: The method further comprises: When the valid district name does not match the standard district name, fuzzy matching is performed on the valid district name to obtain a fuzzy matching result; According to the fuzzy matching result, the valid district name is modified to obtain a modified district name. The effective zone information is updated based on the revised zone name to obtain updated target zone information.

6. The package order processing method according to claim 3 or 5, characterized in that: The method further includes: acquiring a target processing method for the target package based on a matching result of the target zone information of the target package in the interception condition database.

7. The package order processing method according to claim 3, characterized in that: The determining the target partition fence of the target package based on the target latitude and longitude coordinates and the partition fence data includes: Determine whether there are matching longitude and latitude coordinates that match the target longitude and latitude coordinates in the plurality of longitude and latitude coordinate boundaries of the region, When there are matching longitude and latitude coordinates matching the target longitude and latitude coordinates in the plurality of longitude and latitude coordinate boundaries of the regions, the partition fence corresponding to the matching longitude and latitude coordinates is used as the target partition fence.

8. A package order processing device, characterized in that: The device comprises: A target delivery address acquisition module is used to obtain the target delivery address of a target package; A historical zoning database acquisition module is used to acquire a historical zoning database, wherein the historical zoning database includes a correspondence between historical zoning information, historical address information, and address change information; A parsing module, configured to parse the target delivery address based on the historical zoning database to determine valid zoning information of the target package, wherein the valid zoning information includes a valid zoning name and a valid area code corresponding to the valid zoning name; An interception condition database acquisition module is used to obtain a package interception condition database; A target processing method acquisition module, used for acquiring a target processing method of the target package based on a matching result of the effective zoning information of the target package in the interception condition database; A processing module is used to process the target package based on the target processing method.

9. An electronic device, characterized in that: The electronic device includes a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the electronic device executes each step of the package order processing method as claimed in claims 1-7.

10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the steps of the package order processing method according to any one of claims 1 to 7 are implemented.