An order processing method and apparatus

CN117689299BActive Publication Date: 2026-10-23BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211065226.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-01
Publication Date
2026-10-23
Estimated Expiration
2042-09-01

AI Technical Summary

Technical Problem

[0003]目前在处理订单过程中,若判断出地址嵌套的异常情况,工作人员将异常地址信息中包含的多个地址链路拆分出来,并根据拆分的结果,确定订单的实际地址信息或实际地址链路,以使订单进行正常的揽派操作;现有的人工处理处理订单的嵌套地址的方式存在效率较低、浪费人力成本和时间成本的问题

Benefits of technology

[0031]上述发明中的一个实施例具有如下优点或有益效果:能够自动判断订单地址是否存在异常,如果是则为多个所述地址信息构建多个地址链路;并从多个所述地址链路中,为所述待处理订单选取实际地址链路;以处理所述待处理订单。通过本发明的实施例提高了处理订单的自动化程度,提高了从多个地址链路中确定实际地址链路的准确性和效率,节省了处理订单的人力成本和时间成本。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117689299B_ABST
    Figure CN117689299B_ABST
Patent Text Reader

Abstract

The application discloses an order processing method and device, and relates to the technical field of intelligent logistics. A specific embodiment of the method comprises the following steps: automatically judging whether the order address is abnormal, and if so, constructing a plurality of address links for a plurality of address information; selecting an actual address link for the order to be processed from the plurality of address links; and processing the order to be processed. Through the embodiment of the application, the automation degree of processing orders is improved, the accuracy and efficiency of determining the actual address link from the plurality of address links are improved, and the labor cost and time cost of processing orders are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of smart logistics technology, and in particular to an order processing method and apparatus. Background Technology

[0002] In many types of internet applications, it is necessary to process the address information contained in the order to perform the order pickup and delivery operation; currently, the address information contained in the order often contains nested addresses, that is, the address information contains multiple address links.

[0003] Currently, when processing orders, if an anomaly of nested addresses is detected, staff will separate the multiple address links contained in the abnormal address information and determine the actual address information or actual address link of the order based on the separation results, so that the order can proceed with normal pickup and delivery operations. The existing manual method of handling nested addresses in orders is inefficient and wastes manpower and time. Summary of the Invention

[0004] In view of this, embodiments of the present invention provide an order processing method and apparatus that can automatically determine whether there is an anomaly in the order address; if so, construct multiple address links for multiple address information; and select an actual address link for the order to be processed from the multiple address links; thereby processing the order to be processed. Embodiments of the present invention improve the automation level of order processing, enhance the accuracy and efficiency of determining the actual address link from multiple address links, and save labor and time costs in order processing.

[0005] To achieve the above objectives, according to one aspect of the present invention, an order processing method is provided, characterized by comprising: determining an order to be processed; extracting multiple address information from the order address of the order to be processed; if multiple address information belonging to the same address level exists among the address information, constructing multiple address links for the multiple address information based on multiple preset first address association relationships; selecting an actual address link for the order to be processed from the multiple address links according to the position of the address information included in the multiple address links in the order address to which they belong; and processing the order to be processed based on the selected actual address link.

[0006] Optionally, selecting an actual address link for the order to be processed from the plurality of address links includes: for each address link, determining the link position value of the address link based on the address position value of the address information included in the address link in the address of the order to which it belongs; and determining the address link corresponding to the largest link position value as the actual address link of the order to be processed.

[0007] Optionally, the order processing method further includes: parsing the address level corresponding to each address information based on preset address level data; and determining that among the multiple address information, there are multiple address information belonging to the same address level when multiple identical address levels are parsed.

[0008] Optionally, the order processing method further includes:

[0009] When multiple address information corresponds to one address link, the actual address association relationship between the multiple address information is determined based on the preset multiple first address association relationships, and the geographical location information of the order address of the order to be processed is determined according to the actual address association relationship.

[0010] Optionally, constructing multiple address links for multiple address information includes: performing permutation and combination operations on multiple address information to form multiple reference address links;

[0011] For each of the reference address links, the following operations are performed: determining a second address association relationship between each address information in the reference address link; searching for a target address association relationship that matches the second address association relationship from a plurality of preset first address association relationships, and determining the target address association relationship as an address link.

[0012] Optionally, the order processing method, wherein constructing multiple address links for multiple address information includes: performing permutation and combination operations on multiple address information to form multiple reference address links; for each reference address link, performing: obtaining each address information contained in the reference address link, calculating the correlation value between each address information based on a preset first address association relationship; and determining the reference address link whose correlation value is not less than a set threshold as the address link.

[0013] Optionally, in the order processing method, the preset first address association relationship includes multiple address trees, and the address trees contain address hierarchy relationships; finding a target address association relationship that matches the second address association relationship includes: for each address information included in the second address association relationship, performing a search in the address trees for a target address that matches the address information; and determining the target address association relationship based on the multiple target addresses obtained and the address hierarchy relationships of the address trees.

[0014] Optionally, in the order processing method, determining the link location value of the address link includes: determining the address location value corresponding to multiple address information included in the address link, and setting the maximum value of the address location value of the multiple address information in the order address as the link location value of the address link.

[0015] Optionally, the order processing method further includes: for each address information in each address link, performing the following: when the address information appears multiple times in the order address, determining multiple initial address position values ​​for the address information; and selecting the maximum value of the multiple initial address position values ​​as the address position value of the address information.

[0016] To achieve the above objectives, according to a second aspect of the present invention, an order processing apparatus is provided, characterized in that it includes: an address parsing module, an address judging module, and an address processing module; wherein,

[0017] The address parsing module is used to determine the order to be processed and extract multiple address information from the order address of the order to be processed.

[0018] The address determination module is used to construct multiple address links for multiple address information belonging to the same address level in the address information, based on multiple preset first address association relationships.

[0019] The address processing module is used to select an actual address link for the order to be processed from the multiple address links according to the position of the address information included in the order address; and to process the order to be processed based on the selected actual address link.

[0020] Optionally, the address determination module is used to select an actual address link for the order to be processed, including: for each address link, determining the link position value of the address link based on the address position value of the address information included in the address link in the address of the order to which it belongs; and determining the address link corresponding to the largest link position value as the actual address link of the order to be processed.

[0021] Optionally, the order processing device is further configured to: parse the address level corresponding to each of the address information based on preset address level data; and determine that among the multiple address information, there are multiple address information belonging to the same address level when multiple identical address levels are parsed.

[0022] Optionally, the order processing device is further configured to: when multiple address information corresponds to an address link, determine the actual address association relationship between the multiple address information based on the preset multiple first address association relationships, and determine the geographical location information of the order address of the order to be processed according to the actual address association relationship.

[0023] Optionally, the address determination module is used to construct multiple address links for multiple address information, including: performing permutation and combination operations on multiple address information to form multiple reference address links;

[0024] For each of the reference address links, the following operations are performed: determining a second address association relationship between each address information in the reference address link; searching for a target address association relationship that matches the second address association relationship from a plurality of preset first address association relationships, and determining the target address association relationship as an address link.

[0025] Optionally, the address determination module is used to construct multiple address links for multiple address information, including: performing permutation and combination operations on multiple address information to form multiple reference address links; for each reference address link, performing: obtaining each address information contained in the reference address link, calculating the correlation value between each address information based on a preset first address correlation relationship; and determining the reference address link whose correlation value is not less than a set threshold as the address link.

[0026] Optionally, the order processing device includes the preset first address association relationship comprising multiple address trees, the address trees containing address hierarchy relationships; finding a target address association relationship that matches the second address association relationship includes: for each address information included in the second address association relationship, performing a search in the address trees for a target address matching the address information; and determining the target address association relationship based on the multiple target addresses obtained and the address hierarchy relationships of the address trees.

[0027] Optionally, in the order processing device, determining the link location value of the address link includes: determining the address location value corresponding to multiple address information included in the address link, and setting the maximum value of the address location value of the multiple address information in the order address as the link location value of the address link.

[0028] Optionally, the order processing device is further configured to: for each address information in each address link, perform the following: when the address information appears multiple times in the order address, determine multiple initial address position values ​​for the address information; and select the maximum value of the multiple initial address position values ​​as the address position value of the address information.

[0029] To achieve the above objectives, according to a third aspect of the present invention, an order processing electronic device is provided, characterized in that it includes: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors perform any of the methods described above in the order processing method.

[0030] To achieve the above objectives, according to a fourth aspect of the present invention, a computer-readable medium is provided having a computer program stored thereon, characterized in that, when the program is executed by a processor, it implements any of the methods described above for order processing.

[0031] One embodiment of the above invention has the following advantages or beneficial effects: it can automatically determine whether there is an anomaly in the order address; if so, it constructs multiple address links for multiple address information; and selects an actual address link for the order to be processed from the multiple address links; to process the order to be processed. The embodiments of the present invention improve the automation level of order processing, improve the accuracy and efficiency of determining the actual address link from multiple address links, and save manpower and time costs in order processing.

[0032] The further effects of the aforementioned unconventional alternative methods will be explained below in conjunction with specific implementation methods. Attached Figure Description

[0033] The accompanying drawings are provided to better understand the invention and are not intended to unduly limit the scope of the invention. Wherein:

[0034] Figure 1 This is a flowchart illustrating an order processing method according to an embodiment of the present invention;

[0035] Figure 2 This is a schematic diagram of an order processing flow provided in one embodiment of the present invention;

[0036] Figure 3 This is a schematic diagram of the structure of an order processing device according to an embodiment of the present invention;

[0037] Figure 4 This is an exemplary system architecture diagram in which embodiments of the present invention can be applied;

[0038] Figure 5 This is a schematic diagram of the structure of a computer system suitable for implementing terminal devices or servers of the present invention. Detailed Implementation

[0039] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of the present invention, including various details to aid understanding. These details should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0040] like Figure 1 As shown, an embodiment of the present invention provides a method for placing an order, which may include the following steps:

[0041] Step S101: Determine the orders to be processed and extract multiple address information from the order addresses of the orders to be processed.

[0042] Specifically, the system retrieves pending orders, which include the order address. Typically, the order address can be composed of address information at various administrative levels and a detailed address. For example, the order address might be address 1 in Province A, City B, District D, Town C, Township F. Among these, province, city, and district represent different address levels.

[0043] Furthermore, word segmentation technology can be used to extract multiple address information from the order address of the order to be processed. The word segmentation technology can be CRF (Conditional Random Fields) or DAG (Directed Acyclic Graph) segmentation technology, which are related to natural language processing models. Alternatively, word segmentation tools such as jieba can be used to extract multiple address information from the order address. For example, if the order address is "Address 1" in ...

[0044] Step S102: When there are multiple address information belonging to the same address level in the address information, multiple address links are constructed for the multiple address information based on multiple preset first address association relationships;

[0045] Specifically, for each address information obtained from the word segmentation results of the order address of the order to be processed, it is determined whether there are multiple address information belonging to the same address level among the multiple address information. If so, it is determined that the order address has an anomaly. For example, multiple address information extracted from order address 1 through word segmentation technology are A1 province, A2 province, B1 city, B2 city, D1 district, D2 district, C1 town, C2 town, F1 township, F2 township, and address 1. Based on string matching or data query, it is parsed to find that there are two address information at the same address level, such as A1 province and A2 province belonging to the same address level (provincial level), B1 city and B2 city belonging to the same address level (city level), etc. Among them, when determining whether there are two address levels, it can be determined based on the preset address level data corresponding to the geographic planning; for example, provincial level includes city level, etc. That is, based on the preset address level data, the address level corresponding to each address information is parsed; if multiple identical address levels are parsed, it is determined that there are multiple address information belonging to the same address level among the multiple address information. It is understandable that if multiple address information belongs to the same address level, then it is determined that the order address contains multiple address links (i.e., there is an abnormal situation of address nesting).

[0046] Furthermore, based on multiple preset first address associations, multiple address links are constructed for the multiple address information. These preset first address associations can be administrative address trees for a specific geographical region, such as province Q containing N cities, each city containing N counties, and so on, forming a complete address tree for a specific geographical region. It is understood that since multiple regions may contain detailed addresses with the same name, the preset first address associations may not include detailed addresses down to specific buildings or structures. By using these preset first address associations, the relationships between multiple address information can be determined, thereby automatically constructing multiple address links based on the address information. This improves the efficiency of processing address information in orders.

[0047] Furthermore, there are two methods for constructing multiple address links for multiple address information:

[0048] The first method involves performing permutation and combination operations on multiple address information to form multiple reference address links; for each reference address link, the following operations are performed: determining the second address association relationship between each address information in the reference address link; searching for a target address association relationship that matches the second address association relationship from a preset multiple first address association relationships, and determining the target address association relationship as an address link.

[0049] Specifically, for example, multiple address information extracted from the order address includes: Province A1, Province A2, City B1, City B2, District D1, Town C1, and Address 1. Multiple reference address links are obtained by performing permutation and combination operations on these address information. It can be understood that one address link represents an address with a different category or address level. For example, one reference link address obtained through permutation and combination operations is District D1 of City B2 in Province A1, and another reference link address is Town C1 of City C1 in Province A2. Multiple reference link addresses can be obtained through permutation and combination operations and by dividing the address levels. In cases where the address levels of some address information are not adjacent (i.e., across address levels), permutation and combination operations further improve the accuracy and rationality of determining address links. Furthermore, after determining multiple reference address links, for each reference address link, the second address association relationship between the various address information in the reference address link is determined; for example, if a reference address link is A1 province, B2 city, and D1 district, then according to the preset regional administrative division data, it is determined whether there is an association relationship between A1 province, B2 city, and D1 district. If an association relationship (i.e., a second address association relationship) is determined, further processing is performed; otherwise, the reference address link is determined to be an invalid address.

[0050] Further, from a plurality of preset first address associations, a target address association matching the second address association is searched, and the target address association is determined to be an address link. The preset first address associations include multiple address trees, each containing an address hierarchy; for example, based on the address hierarchy in the address trees, it can be determined that province A1 includes city B1, city B1 includes district D1, district D1 includes town C1, etc. It is understood that a region can be determined using one or more address trees to define its administrative address level. Further, a target address association matching the second address association is searched from the address trees; for example, referencing the second address association A1 province C1 town corresponding to the link address, where province A1 and town C1 are the address information included in the second address association; matching province A1 and town C1 can be found from the address trees, and based on the address hierarchy in the address trees, it is determined that the region of province A1 contains town C1, thus the association of province A1 and town C1 is determined to be a target address association; and "province A1 and town C1" is determined to be a valid address link. For example, consider the second address association corresponding to the reference link address: Province A2, City B1, District D1. From the address tree, it can be found that Province A2 does not include City B1, meaning that a target address association matching the second address association cannot be found in the address tree. Therefore, "Province A2, City B1, District D1" is determined not to be an address link. Specifically, the preset first address association includes multiple address trees, each containing an address hierarchy. Finding a target address association matching the second address association includes: for each address information included in the second address association, performing a search in the address tree for a target address matching that address information; and determining the target address association based on the obtained multiple target addresses and the address hierarchy of the address tree.

[0051] The second method involves performing permutation and combination operations on multiple address information to form multiple reference address links; for each reference address link, the following steps are performed: obtaining each address information contained in the reference address link, calculating the correlation value between each address information based on a preset first address association relationship; and determining the reference address link whose correlation value is not less than a set threshold as the address link.

[0052] Specifically, the description of arranging and combining multiple address information to form multiple reference address links is consistent with the first method and will not be repeated here. Further, for example, a reference address link is Province A1, City B2, District D1; the address information contained in the reference address link is obtained as Province A1, City B2, and District D1; based on a preset first address association relationship (e.g., an administrative address tree), the association value between each address information is calculated; for example: if the geographical area of ​​Province A1 contains City B2, then Province A1 and City B2 have an association relationship, and the association value can be set to a value greater than 0; if the geographical area of ​​Province A1 does not contain City B2, then Province A1 and City B2 do not have an association relationship, and the association value can be set to a value not greater than 0; further, iterative judgment and calculation are performed for each address level to obtain the association value between the address information in the reference address link. Further, reference address links with association values ​​not less than a set threshold are determined as the address links. The threshold is set according to the order of magnitude of the associated values. Reference address links whose associated values ​​are not less than the set threshold are determined as the address links. By calculating the associated values, the relationship between various address information is numerically marked and calculated, which further increases the accuracy of determining the address links in each reference address link.

[0053] Step S103: Based on the position of the address information included in the multiple address links in the corresponding order address, select an actual address link for the order to be processed from the multiple address links; process the order to be processed based on the selected actual address link.

[0054] Specifically, after determining the address link as described in step S102, the actual address link is further determined from multiple address links. The order to be processed is then processed based on the selected actual address link.

[0055] Further, selecting the actual address link for the order to be processed from the multiple address links includes: for each address link, determining the link position value of the address link based on the address position value of the address information included in the address link within the order address; and determining the address link corresponding to the largest link position value as the actual address link of the order to be processed. For example: address link 1 determined from the order address is: Province A1, City B1, District D1, Town C1, Township F1; address link 2 determined is: Province A2, City B2, District D2, Town C2, Township F2; wherein the address information included in the two address links is: Province A1, Province A2, City B1, City B2, District D1, District D2, Town C1, Town C2, Township F1, Township F2. For example, if the order address of the order to be processed is: Province A1, City B1, District D1, Province A2, Town C1, Township F1, City B2, District D2, Town C2, Township F2, Address 1; then the address position value of the address information "Province A1" in the order address is 1, the address position value of the address information "Province A2" in the order address is 4, and the address position value of the address information "Township F2" in the order address is 10; other address information is similar; the link position value of the address link is determined through the address position value of the address information; furthermore, when determining the address position value of the address information, for each address information in each address link, the following is performed: when the address information appears multiple times in the order address, multiple initial address position values ​​of the address information are determined respectively; the maximum value of the multiple initial address position values ​​is selected as the address position value of the address information. For example: The order address is A1 Province, B1 City, D1 District, A2 Province, D1 District, C1 Town, B2 City, D2 District, C2 Town, F2 Township, Address 1; where the address information "D1 District" appears twice, the initial address position value of "D1 District" is determined to be 3 and 5 respectively; the largest value of multiple initial address position values ​​is selected as the address position value of the address information (that is, 5 is selected as the address position value of the address information).

[0056] Further, the maximum value among the address position values ​​of the address information in the address link is determined as the link position value of the address link; that is, determining the link position value of the address link includes: determining the address position values ​​corresponding to the multiple address information included in the address link, and taking the maximum value of the address position values ​​of the multiple address information in the order address as the link position value of the address link. Alternatively, the cumulative value of the address position values ​​of the address information in the address link is taken as the link position value of the address link; after calculating the link position values ​​of each address link, the address link corresponding to the largest link position value is determined as the actual address link of the order to be processed; for example, if the link position value of address link 2 is calculated to be the largest link position value, then address link 2 is determined as the actual address link of the order to be processed.

[0057] like Figure 2 As shown, this embodiment of the invention provides an order processing flow, which may include the following steps:

[0058] Step S201: Determine the orders to be processed and extract multiple address information from the order addresses of the orders to be processed.

[0059] Specifically, the description of extracting multiple address information from the order address of the order to be processed is consistent with the description of step S101, and will not be repeated here.

[0060] Step S202: Determine that among the multiple address information, there are multiple address information belonging to the same address level.

[0061] Specifically, the system determines whether the order address is abnormal (e.g., nested with multiple addresses) by judging whether there are multiple address information belonging to the same address level among the multiple address information; if so, it executes step S204, otherwise it executes step S203.

[0062] Step S203: Based on the preset multiple first address association relationships, determine the actual address association relationships among the multiple address information, and determine the geographical location information of the order address of the order to be processed according to the actual address association relationships.

[0063] Specifically, when multiple address information pieces correspond to one address link, the actual address association relationship between the multiple address information pieces is determined based on the preset multiple first address association relationships. Based on the actual address association relationship, the geographical location information of the order address of the order to be processed is determined. For example, the multiple address information pieces are Province A1, City B1, District D1, Town C1, Township F1, and Address 1; based on the administrative region address tree included in the preset multiple first address association relationships, the determined address link is Province A1, City B1, District D1, Town C1, Township F1, and Address 1; when multiple address information pieces correspond to one address link, it means that the order address does not have nested or other abnormal information, i.e., it is a normal order address. Then, the actual address association relationship of the multiple address information pieces is further determined based on the address tree. For example, if the actual address association relationship determined by the address tree is Province A1, City B1, District D1, Town C1, Township F1, and Address 1, then geocoding is performed based on this actual address association relationship to determine the geographical information of Address 1 (e.g., latitude and longitude information) to further process the order pickup and delivery business.

[0064] Step S204: Based on the preset multiple first address association relationships, construct multiple address links for the multiple address information.

[0065] Step S205: Based on the position of the address information included in the multiple address links in the corresponding order address, select an actual address link for the order to be processed from the multiple address links; process the order to be processed based on the selected actual address link.

[0066] like Figure 3 As shown, this embodiment of the invention provides an order processing device 300, including: an address parsing module 301, an address judging module 302, and an address processing module 303; wherein,

[0067] The address parsing module 301 is used to determine the order to be processed and extract multiple address information from the order address of the order to be processed.

[0068] The address determination module 302 is used to construct multiple address links for multiple address information belonging to the same address level in the address information based on multiple preset first address association relationships when there are multiple address information in the address information.

[0069] The address processing module 303 is used to select an actual address link for the order to be processed from the multiple address links according to the position of the address information included in the order address; and to process the order to be processed based on the selected actual address link.

[0070] This invention also provides an order processing electronic device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the method provided in any of the above embodiments.

[0071] This invention also provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the method provided in any of the above embodiments.

[0072] Figure 4 An exemplary system architecture 400 is shown for which the order processing method or order processing apparatus of embodiments of the present invention can be applied.

[0073] like Figure 4 As shown, system architecture 400 may include terminal devices 401, 402, and 403, a network 404, and a server 405. Network 404 serves as the medium for providing communication links between terminal devices 401, 402, and 403 and server 405. Network 404 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.

[0074] Users can use terminal devices 401, 402, and 403 to interact with server 405 via network 404 to receive or send messages, etc. Various client applications, such as e-commerce client applications and instant messaging tools, can be installed on terminal devices 401, 402, and 403.

[0075] Terminal devices 401, 402, and 403 can be various electronic devices with displays and supporting various client applications, including but not limited to smartphones, tablets, laptops, and desktop computers.

[0076] Server 405 can be a server that provides various services, such as a backend management server that supports client applications used by users through terminal devices 401, 402, and 403. The backend management server can process received requests for order addresses and return the determined order address information to the terminal devices.

[0077] It should be noted that the order processing method provided in this embodiment of the invention is generally executed by server 405, and correspondingly, the order processing device is generally set in server 405.

[0078] It should be understood that Figure 4 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0079] The following is for reference. Figure 5 It shows a schematic diagram of the structure of a computer system 500 suitable for implementing a terminal device of the present invention. Figure 5 The terminal device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.

[0080] like Figure 5 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 502 or programs loaded from storage section 508 into random access memory (RAM) 503. The RAM 503 also stores various programs and data required for the operation of the system 500. The CPU 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0081] The following components are connected to I / O interface 505: an input section 506 including a keyboard, mouse, etc.; an output section 507 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to I / O interface 505 as needed. A removable medium 511, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 510 as needed so that computer programs read from it can be installed into storage section 508 as needed.

[0082] In particular, according to embodiments disclosed in this invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 509, and / or installed from removable medium 511. When the computer program is executed by central processing unit (CPU) 501, it performs the functions defined above in the system of this invention.

[0083] It should be noted that the computer-readable medium shown in this invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0084] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0085] The modules and / or units described in the embodiments of the present invention can be implemented in software or hardware. The described modules and / or units can also be housed in a processor. For example, a processor can be described as including an address parsing module, an address determining module, and an address processing module. The names of these modules do not necessarily limit the module itself; for example, the address parsing module can also be described as "a module that extracts multiple address information from the order address of the order to be processed."

[0086] In another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiments; or it may exist independently and not assembled into the device. The computer-readable medium carries one or more programs, which, when executed by the device, cause the device to include: determining an order to be processed; extracting multiple address information from the order address of the order to be processed; if multiple address information belonging to the same address level exists among the address information, constructing multiple address links for the multiple address information based on multiple preset first address associations; selecting an actual address link for the order to be processed from the multiple address links according to the position of the address information included in the multiple address links in their respective order addresses; and processing the order to be processed based on the selected actual address link.

[0087] The embodiments of the present invention can automatically determine whether there is an anomaly in the order address. If so, multiple address links are constructed for the multiple address information; and an actual address link is selected from the multiple address links for the order to be processed; thereby processing the order to be processed. The embodiments of the present invention improve the automation level of order processing, improve the accuracy and efficiency of determining the actual address link from multiple address links, and save manpower and time costs in order processing.

[0088] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. An order processing method, characterized in that, include: Identify orders to be processed and extract multiple address information from the order addresses of the orders to be processed; When multiple address information belonging to the same address level exists in the address information, multiple address links are constructed for the multiple address information based on multiple preset first address association relationships; wherein, constructing multiple address links for the multiple address information includes: performing permutation and combination operations on the multiple address information to form multiple reference address links; for each reference address link, performing: obtaining each address information contained in the reference address link, calculating the association value between each address information based on the preset first address association relationships; and determining the reference address link whose association value is not less than a set threshold as the address link; Based on the position of the address information included in the multiple address links within the corresponding order address, an actual address link is selected for the order to be processed from the multiple address links. The step of selecting an actual address link for the order to be processed from multiple address links includes: for each address link, determining the link position value of the address link based on the address position value of the address information included in the address link in the address of the order to which it belongs; and determining the address link corresponding to the largest link position value as the actual address link of the order to be processed. Determining the link position value of the address link includes: determining the address position value corresponding to multiple address information included in the address link, and taking the maximum value of the address position value of the multiple address information in the order address as the link position value of the address link; The pending orders are processed based on the selected actual address link.

2. The method according to claim 1, characterized in that, Also includes: Based on preset address level data, the address level corresponding to each of the address information is parsed; When multiple identical address levels are parsed out, it is determined that multiple address information belonging to the same address level exist among the multiple address information.

3. The method according to claim 2, characterized in that, Further includes: When multiple address information corresponds to one address link, the actual address association relationship between the multiple address information is determined based on the preset multiple first address association relationships, and the geographical location information of the order address of the order to be processed is determined according to the actual address association relationship.

4. The method according to claim 1, characterized in that, The construction of multiple address links for multiple address information includes: Multiple address information are permuted and combined to form multiple reference address links; For each of the aforementioned reference address links, perform the following operations: Determine the second address association relationship between each address information in the reference address link; From a plurality of preset first address associations, a target address association that matches the second address association is found, and the target address association is determined to be an address link.

5. The method according to claim 4, characterized in that, The preset first address association relationship includes multiple address trees, and the address trees contain address hierarchy relationships; Finding target address associations that match the second address association includes: For each address information included in the second address association, perform the search for a target address matching the address information in the address tree; Based on the multiple target addresses obtained and the address hierarchy of the address tree, the association relationship of the target addresses is determined.

6. The method according to claim 1, characterized in that, Also includes: For each address information in each of the address links, perform the following: In cases where the address information appears multiple times in the order address, multiple initial address position values ​​for the address information are determined respectively; The maximum value among multiple initial address location values ​​is the address location value of the address information.

7. An order processing device, characterized in that, include: The module consists of an address parsing module, an address judging module, and an address processing module; among them, The address parsing module is used to determine the order to be processed and extract multiple address information from the order address of the order to be processed. The address determination module is used to construct multiple address links for multiple address information belonging to the same address level in the address information, based on multiple preset first address association relationships; wherein, constructing multiple address links for multiple address information includes: performing permutation and combination operations on the multiple address information to form multiple reference address links; for each reference address link, performing: obtaining each address information contained in the reference address link, calculating the association value between each address information based on the preset first address association relationships; and determining the reference address link whose association value is not less than a set threshold as the address link; The address processing module is configured to select an actual address link for the order to be processed from the multiple address links based on the position of the address information included in the order address; and process the order to be processed based on the selected actual address link. Selecting an actual address link for the order to be processed from the multiple address links includes: for each address link, determining the link position value of the address link based on the address position value of the address information included in the order address; and determining the address link corresponding to the largest link position value as the actual address link for the order to be processed. Determining the link position value of the address link includes: determining the address position values ​​corresponding to the multiple address information included in the address link, and setting the largest value of the address position values ​​of the multiple address information in the order address as the link position value of the address link.

8. An electronic device, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-6.

9. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Address data acquisition method and device

    CN110765773A

  • Communications systems, apparatus and methods

    US20030110344A1