CN112579660A - Method, device, equipment and computer readable medium for calculating aging - Google Patents

Method, device, equipment and computer readable medium for calculating aging Download PDF

Info

Publication number
CN112579660A
CN112579660A CN201910935691.7A CN201910935691A CN112579660A CN 112579660 A CN112579660 A CN 112579660A CN 201910935691 A CN201910935691 A CN 201910935691A CN 112579660 A CN112579660 A CN 112579660A
Authority
CN
China
Prior art keywords
address
level
article
library
sending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910935691.7A
Other languages
Chinese (zh)
Inventor
马龙杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Zhenshi Information Technology Co Ltd
Original Assignee
Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Zhenshi Information Technology Co Ltd filed Critical Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority to CN201910935691.7A priority Critical patent/CN112579660A/en
Publication of CN112579660A publication Critical patent/CN112579660A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2477Temporal data queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Business, Economics & Management (AREA)
  • Mathematical Physics (AREA)
  • Strategic Management (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Fuzzy Systems (AREA)
  • Tourism & Hospitality (AREA)
  • Probability & Statistics with Applications (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Remote Sensing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method, a device and equipment for calculating aging and a computer readable medium, and relates to the technical field of computers. One embodiment of the method comprises: in a sending address library, determining the deadline of an article sending address based on the matching of four-level addresses of the article sending address from high to low; in an addressee library, according to the sequence from high to low, starting to match addresses based on four levels of addresses of an article addressee, and determining the delivery timing of the article addressee; in a city address library, acquiring the basic distribution time length of the article according to the secondary address of the article sending address and the secondary address of the article receiving address; and determining the arrival time of the goods according to the deadline, the delivery timing and the basic delivery duration of the goods. The embodiment can reduce the data volume related to configuration, and further improve the query speed.

Description

Method, device, equipment and computer readable medium for calculating aging
Technical Field
The invention relates to the technical field of computers, in particular to a method, a device, equipment and a computer readable medium for calculating aging.
Background
Sending an express requires filling a mailing address and a receiving address. Specifically, a four-level address of the mail address and a four-level address of the recipient address need to be filled out. The four-level addresses respectively comprise from low to high: first-level address: saving; second-level address: a market; third-level address: a district; fourth-level address: streets and villages. The four-level address of the mail address and the four-level address of the receiving address must be configured one by one, and the four-level address is not available.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art: since configuration needs to be performed based on the fourth-level address of the mail address and the fourth-level address of the recipient address to determine the delivery time, the amount of data involved in the configuration is large, resulting in a slow query speed.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, a device, and a computer-readable medium for calculating an aging, which can reduce the amount of data related to configuration, thereby increasing query speed.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a method of calculating an aging, including:
in a sending address library, determining the deadline of an article sending address based on the matching of four levels of addresses of the article sending address from high to low, wherein the sending address library comprises the corresponding relation between the deadline and the sending address, and the sending address library comprises one or more of the following addresses: the system comprises a secondary address, a tertiary address and a quaternary address, wherein the secondary address comprises a first-level address, a second-level address, a third-level address and a quaternary address which are default values, and the tertiary address comprises a first-level address, a second-level address, a third-level address and a quaternary address which are default values;
in an addressee library, according to the sequence from high to low, starting to match addresses based on four levels of addresses of an addressee of an article, and determining the distribution time adding of the addressee of the article, wherein the addressee library comprises the corresponding relation between the distribution time adding and the addressee, and the addressee library comprises one or more of the following addresses: a secondary address, a tertiary address, and a quaternary address;
in a city address library, acquiring the basic distribution time length of the article according to the secondary address of the article sending address and the secondary address of the article receiving address, wherein the city address library comprises the corresponding relation between the basic distribution time length and the secondary address;
and determining the arrival time of the goods according to the deadline, the delivery timing and the basic delivery duration of the goods.
In the sending address library, according to the sequence from high to low, determining the deadline of the sending address of the article based on the matching address of the four-level address of the sending address of the article, including:
in the mail sending address library, if the address matching according to the four-level address of the article mail sending address fails;
and determining the deadline of the article sending address according to the success of address matching of the third-level address of the article sending address.
In the sending address library, according to the sequence from high to low, determining the deadline of the sending address of the article based on the matching address of the four-level address of the sending address of the article, including:
in the mail sending address library, if the address matching according to the four-level address of the article mail sending address fails;
if the address matching according to the third-level address of the mail address fails;
and determining the deadline of the article sending address according to the success of address matching of the second-level address of the article sending address.
In the addressee library, determining the delivery timing of the item addressee based on the matching address of the four-level addresses of the item addressee according to the sequence from high to low, comprises:
in the addressee library, if address matching fails according to a four-level address of the article addressee;
and determining the delivery overtime of the item receiving address according to the success of address matching of the three levels of the item receiving address.
In the addressee library, determining the delivery timing of the item addressee based on the matching address of the four-level addresses of the item addressee according to the sequence from high to low, comprises:
in the addressee library, if address matching fails according to a four-level address of the article addressee;
if the address matching according to the third-level address of the article receiving address fails;
and determining the delivery overtime of the article receiving address according to the successful address matching of the secondary address of the article receiving address.
The deadline time of the same second-level address in the mail address library is the same, and the deadline time of the same third-level address in the mail address library is the same.
The distribution of the same second-level address in the addressee library is carried out at the same time, and the distribution of the same third-level address in the addressee library is carried out at the same time.
According to a second aspect of the embodiments of the present invention, there is provided an apparatus for calculating an aging, including:
a sending module, configured to determine, in a sending address library, an expiration time of an item sending address based on a fourth-level address matching address of the item sending address in a descending order, where the sending address library includes a correspondence between the expiration time and the sending address, and the sending address library includes one or more of the following addresses: the system comprises a secondary address, a tertiary address and a quaternary address, wherein the secondary address comprises a first-level address, a second-level address, a third-level address and a quaternary address which are default values, and the tertiary address comprises a first-level address, a second-level address, a third-level address and a quaternary address which are default values;
the receiving module is used for determining the distribution time adding of the article receiving address based on the four-level address matching address of the article receiving address according to the sequence from high to low in the receiving address library, the receiving address library comprises the corresponding relation between the distribution time adding and the receiving address, and the receiving address library comprises one or more of the following addresses: a secondary address, a tertiary address, and a quaternary address;
the city module is used for acquiring the basic distribution time length of the article according to the secondary address of the article sending address and the secondary address of the article receiving address in a city address library, and the city address library comprises the corresponding relation between the basic distribution time length and the secondary address;
and the delivery module is used for determining the arrival time of the goods according to the deadline, the delivery timing and the basic delivery duration of the goods.
According to a third aspect of the embodiments of the present invention, there is provided an electronic apparatus that calculates an aging, including:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method as described above.
According to a fourth aspect of embodiments of the present invention, there is provided a computer readable medium, on which a computer program is stored, which when executed by a processor, implements the method as described above.
One embodiment of the above invention has the following advantages or benefits: in the sending address library, the addresses are matched based on the four-level addresses of the article sending addresses in the order from high to low, and the deadline of the sending addresses is determined; in a mail address library, according to the sequence from high to low, starting to match addresses based on the four-level addresses of the article mail addresses, and determining the delivery timing of the mail addresses; in the city address base, the basic distribution time length of the goods is known. And determining the arrival time of the article according to the deadline, the delivery timing and the basic delivery duration of the article.
The address matching can be carried out according to the article sending addresses of different levels, and the address matching can be carried out according to the article receiving addresses of different levels, so that the arrival time of the articles is determined. The reduction of the matching address level can reduce the data volume related to calculation aging, and further improve the query speed.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic illustration of a flow of a method for calculating an age of an existing object according to an embodiment of the invention;
FIG. 2 is a schematic diagram of a main flow of a method of calculating an age according to an embodiment of the invention;
FIG. 3 is a schematic illustration of a flow of calculating an age according to an embodiment of the invention;
FIG. 4 is a schematic diagram of the main structure of an apparatus for calculating aging according to an embodiment of the present invention;
FIG. 5 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 6 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
At present, the four-level address of a mailing address and the four-level address of a receiving address are required to be filled in for sending the express. And respectively carrying out address matching through the four-level address of the mail address and the four-level address of the receiving address to determine whether to support receiving and delivery.
Referring to fig. 1, fig. 1 is a schematic diagram of a flow of an existing method for calculating aging according to an embodiment of the present invention, which specifically includes the following steps:
s101, judging that four-level address matching of the mail address is successful.
And under the condition of sending the express, judging whether the matching is successful or not based on the four-level address of the mailing address. As one example, a database may be preset in which addresses are stored, each address including four levels of addresses. If the four-level address matching the mail address in the database is successful, executing S102; and if the four-level address matching the mail address in the database fails, determining that the four-level address matching the mail address in the database fails.
S102, judging that the four-level address matching of the addressee is successful.
And judging whether the matching is successful according to the four-level address of the addressee. Similarly, if the four-level address matching the addressee in the database is successful, executing S103; and if the four-level address matched with the addressee in the database fails, determining that the four-level address fails.
S103, matching the four-level address of the sending address and the four-level address of the receiving address is successful in aging.
And presetting a four-level address of the mail address in a database, and distributing to the matching time efficiency of the four-level address of the mail address. Matching can be carried out according to the fourth-level address of the mail address and the fourth-level address of the receiving address, and if matching is successful, the time efficiency of the fourth-level address of the mail address being distributed to the fourth-level address of the receiving address can be known; if the matching fails, the time efficiency of the four-level address of the mail address being distributed to the four-level address of the receiving address cannot be known.
The arrival time of the article can be obtained under the condition of obtaining the four-level address of the mailing address and the time efficiency of delivering the article to the four-level address of the receiving address.
From the above technical solution, it can be known that the three matching processes from S101 to S103 all involve four-level address matching, and if the address is less than the four-level address, the matching cannot be successful. The four levels of address matching involve a large amount of data, resulting in a slow query speed.
In order to solve the technical problem that the query speed is slow due to large data size involved in matching, the following technical scheme in the embodiment of the present invention may be adopted.
Referring to fig. 2, fig. 2 is a schematic diagram of a main flow of a method for calculating aging according to an embodiment of the present invention, addresses can be matched in order from high to low in a mail address library and a mail address library to determine an arrival time of an item. As shown in fig. 2, the method specifically includes the following steps:
s201, in a sending address library, according to a sequence from high to low, starting to match addresses based on the fourth-level addresses of the sending addresses of the articles, determining the deadline of the sending addresses of the articles, wherein the sending address library comprises the corresponding relation between the deadline and the sending addresses, and the sending address library comprises one or more of the following addresses: the address allocation method comprises a secondary address, a tertiary address and a quaternary address, wherein the secondary address comprises a first-level address, a second-level address, a third-level address and a quaternary address which are default values, and the tertiary address comprises a first-level address, a second-level address, a third-level address and a quaternary address which are default values.
In an embodiment of the present invention, the address bank is used for storing addresses, wherein the level of the stored addresses may include one or more of a level two address, a level three address and a level four address. The second-level address comprises a first-level address and a second-level address. The tertiary addresses include a first level address, a second level address, and a third level address. The four-level addresses include a first-level address, a second-level address, a third-level address, and a fourth-level address.
In the embodiment of the present invention, the address library may be a mail address library, and a city address library. For the mail address library, the four-level addresses with the same deadline, and in the case of the same three-level address, different fourth-level addresses can be set as default values. For example, the third-level addresses with the same expiration time may be set to a default value and the fourth-level addresses may be set to a default value. That is, the same second level addresses have the same deadlines, and the same third level addresses have the same deadlines. Of course, for a four-level address with different deadlines, the four-level address of the address is stored.
The deadline is a time for stopping receiving the express delivery. As an example, the deadline is 13 points, meaning that a courier received 13 points ago was sent the same day; after 13 o' clock, the received courier is sent the next day.
As an example, the same third level address, i.e., the first level address is the same, the second level address is the same, and the third level address is the same for both addresses, but the fourth level address is different, then the fourth level address may be set to a default value.
As an example, address 1: the cut-off time of Dongshan Qianshen town of Jiangning district of Nanjing city, Jiangsu province: 20: 00; address 2: the copper mountain town of Jiangning district of Nanjing city of Jiangsu province, the cut-off time is as follows: 20:00. Since the deadlines of the address 1 and the address 2 are the same, and the first level address, the second level address, and the third quarter address of the address 1 and the address 2 are the same, and the fourth level address is different, the fourth level address of the address 1 and the address 2 may be set to a default value. As one example, the default value may be 0.
Therefore, the fourth-level address of the address 1 and the fourth-level address of the address 2 are not required to be stored, and the storage capacity of the mail address library is reduced under the condition of not influencing address query.
As another example, address 1: sichuan province, Metropolis golden cow district apple town, end time: 17: 00; address 2: the watermelon town in double-flow area of city in Sichuan province, the cut-off time is as follows: 17:00. Address 3: banana town in the downtown Wenjiang area of Sichuan province, end time: 17:00. Since the deadlines of the address 1, the address 2, and the address 3 are the same, and the first-level address and the second-level address of the address 1, the address 2, and the address 3 are the same, and the third-level address and the fourth-level address are different, the third-level address of the address 1, the address 2, and the address 3, and the fourth-level address may be set to default values. As one example, the default value may be 0.
Therefore, the third-level address and the fourth-level address of the storage address 1, the third-level address and the fourth-level address of the storage address 2 and the third-level address and the fourth-level address of the storage address 3 are not needed, and therefore the storage capacity of the mail address library is reduced under the condition that address query is not influenced.
Of course, if the expiration time of one address is different from the expiration time of the other addresses, the four-level address of the address is stored. As an example, address 1: the cucumber town of the Wuchang district in Wuhan city, Hubei province has the cut-off time: 18: 00; address 2: strawberry town in Wuchang district, Wuhan city, Hubei province, cut-off time: 21:00. If the deadlines of address 1 and address 2 are different, the four-level address of address 1 is stored, and the four-level address of address 2 is stored.
In the embodiment of the invention, the addresses are matched based on the four-level addresses of the article sending addresses in the sending address library from high to low. The method comprises the steps that addresses of various levels are stored in a mail address base, the addresses are matched from a four-level address in a sequence from high to low, and if matching fails, the addresses are matched from the three-level address; if the matching fails, the address is matched from the secondary address, and the deadline of the article sending address is further determined.
Compared with the prior art of four-level address matching, if the four-level address matching fails, the confirmation fails, and then the article which cannot receive and send the mail address is determined.
In the embodiment of the invention, even if the four-level address matching fails, the address can be matched according to the three-level address or the two-level address.
In the embodiment of the invention, the stored four-level addresses comprise default values for addresses with the same deadline. The four-level address matching fails, and it cannot be said that the mail address is not stored in the mail address library. Addresses may be matched again in order from high to low. That is, if the four-level address matching fails, the three-level address is matched; and if the third-level address matching fails, matching the second-level address.
In an embodiment of the present invention, in the sending address library, if the address matching fails according to the fourth-level address of the sending address of the article, it indicates that the fourth-level address of the sending address is not stored in the sending address library, and thus the third-level address can be matched. Namely: and determining the deadline of the article sending address according to the success of the address matching of the third-level address of the sending address.
In an embodiment of the present invention, in the sending address library, if the address matching fails according to the fourth-level address of the sending address of the article, it indicates that the fourth-level address of the sending address is not stored in the sending address library, and thus the third-level address can be matched. Namely; if the address matching according to the third-level address of the sending address fails, the third-level address of the sending address which is not stored in the sending address base is indicated, and the second-level address can be matched. Namely: and determining the deadline of the five mail addresses according to the success of address matching of the second-level address of the mail addresses.
In the above embodiment, when the fourth-level address matching fails, the third-level address may be continuously matched, and if the third-level address matching succeeds, the deadline of the article mailing address may be determined; and if the third-level address matching fails, continuing to match the second-level address, and further determining the deadline of the article mailing address.
TABLE 1
Figure BDA0002221517450000091
Referring to table 1, table 1 is a schematic table of four levels of addresses stored in a database in the prior art. Table 1 includes address 1, address 2, address 3, and address 4. Each address stores a four-level address, which can be matched according to the four-level address.
TABLE 2
Figure BDA0002221517450000092
Referring to table 2, table 2 is a schematic table of addresses stored in the mail address library of the present invention. Table 1 includes address 1, address 2, address 3, and address 4. Each address stores a different level of addresses that can be matched in order from high to low.
Illustratively, address 1 includes a first level address and a second level address, and the third level address and the fourth level address are both default values. It is understood that, in south kyo city, Jiangsu province, no third level address is additionally configured, and the deadlines of 20:00 can be adopted for all the addresses. The address 2 comprises a first-level address, a second-level address and a third-level address, and the fourth-level address is a default value. It is understood that the deadline time of 21:00 can be adopted when the address of the fourth-level address is not additionally configured in Jiangning district of Nanjing city of Jiangsu province. Address 3 and address 4 comprise all four levels of addresses, the deadline for address 3 is 22: 00; the deadline for address 4 is 23: 00.
It can be understood that, first, matching is started according to a four-level address, and if the four-level address is successfully matched, it indicates that the four-level address has a corresponding deadline; and if the four-level address matching fails, indicating that the four-level address has no corresponding deadline, and matching according to the three-level address. If the third-level address is successfully matched, the third-level address is indicated to have corresponding deadline; and if the matching of the third-level address fails, indicating that the third-level address has no corresponding deadline, and matching according to the second-level address. If the second-level address is successfully matched, the corresponding deadline of the second-level address is indicated; if the second-level address matching fails, the address is not stored in the mail address library, and the matching fails.
S202, in an addressee library, according to the sequence from high to low, starting to match addresses based on four levels of addresses of the addressee of the article, determining the distribution time adding of the addressee of the article, wherein the addressee library comprises the corresponding relation between the distribution time adding and the addressee, and comprises one or more of the following addresses: the address allocation method comprises a secondary address, a tertiary address and a quaternary address, wherein the secondary address comprises a first-level address, a second-level address, a third-level address and a quaternary address which are default values, and the tertiary address comprises a first-level address, a second-level address, a third-level address and a quaternary address which are default values.
The recipient address is the recipient address of the item. In the embodiment of the invention, the receiving address library is used for storing the receiving address. Similar to the mailing address library, the mailing address library may include one or more of secondary, tertiary, and quaternary addresses.
Generally, the arrival time of the article at the remote addressee is later than that of the article at the general addressee, and the delivery timing needs to be increased on the basis of the arrival time of the article at the general addressee. As an example, address 1: apple town of Yuenu district of Changsha city, Hunan province; address 2: banana town of Yuenu area of Changsha city, Hunan province. Since address 2 is far more remote than address 1, the preset delivery time is 12 hours.
In one embodiment of the invention, the same fourth level address is delivered, and in the case of the same third level address, a different fourth level address may be set to a default value. The same tertiary address is delivered, and in the case of the same secondary address, different tertiary addresses may be set to default values, and different quaternary addresses may be set to default values. That is, the same second-level addresses are delivered at the same time, and the same third-level addresses are delivered at the same time.
As an example, if the first level address is the same, the second level address is the same, and the third level address is the same for both addresses, but the fourth level address is different, then the fourth level address may be set to a default value.
As an example, address 1: zusanju district of Suzhou city, Jiangsu province, Zusanju town, and the distribution is timed: 12 hours; address 2: four towns of plum in the Gusu district of Suzhou city, Jiangsu province, the distribution is timed: for 12 hours. Since the delivery time of the address 1 and the address 2 is 12 hours, the first level address, the second level address and the third level address of the address 1 and the address 2 are the same, and the fourth level address is different, the fourth level address of the address 1 and the address 2 can be set as a default value. As one example, the default value may be 0.
Therefore, the fourth-level address of the address 1 and the fourth-level address of the address 2 do not need to be stored, and the storage capacity of the addressee library is reduced under the condition that address query is not influenced.
As another example, address 1: when the apple town in Shijiazhuang city bridge west area of Hebei province is delivered: 0. address 2: when the watermelon town in the bridge east area of Shijiazhuang city, Hebei province is delivered: 0. address 3: in the banana town in the north bridge area of Shijiazhuang city in Hebei province, the distribution is time-adding: 0. since the delivery timing of the address 1, the address 2 and the address 3 is 0, the first-level address and the second-level address of the address 1, the address 2 and the address 3 are the same, and the third-level address and the fourth-level address are different, the third-level address and the fourth-level address of the address 1, the address 2 and the address 3 can be set as default values. As one example, the default value may be 0.
Therefore, the third-level address and the fourth-level address of the address 1, the third-level address and the fourth-level address of the address 2 and the third-level address and the fourth-level address of the address 3 are not required to be stored, and therefore the storage capacity of the addressee library is reduced under the condition that address query is not influenced.
Of course, if the delivery timing of one address is different from the delivery timing of the other address, the four-level address of the address is stored. As an example, address 1: in the cucumber town of Jinshui district of Zhengzhou city, Henan province, distribution is timed: 12 hours; address 2: pumpkin town of Jinshui district of Zhengzhou city, Henan province, distribution and timing: for 24 hours. When the addresses 1 and 2 are delivered differently, the four-level address of the address 1 and the four-level address of the address 2 are stored.
In the embodiment of the invention, addresses are matched based on four levels of addresses of the article addressees in the addressee library from high to low. The method comprises the steps that addresses of various levels are stored in an addressee library, the addresses are matched from a four-level address in a high-to-low sequence, and if matching fails, the addresses are matched from the three-level address; and if the matching fails, matching the address from the secondary address, and further determining the delivery overtime of the article receiving address.
Compared with the prior art of four-level address matching, if the four-level address matching fails, the confirmation fails, and then the article which cannot send the addressee is determined.
In the embodiment of the invention, even if the four-level address matching fails, the address can be matched according to the three-level address or the two-level address.
In the embodiment of the invention, for the same address when dispatching, the stored four-level address comprises a default value. The four-level address matching fails, and the condition that the addressee is not stored in the addressee library cannot be explained. Addresses may be re-matched in order from high to low. That is, if the four-level address matching fails, the three-level address is matched; and if the third-level address matching fails, matching the second-level address.
In an embodiment of the invention, in the receiving address library, if address matching fails according to the four-level address of the article receiving address, it is indicated that the four-level address of the receiving address is not stored in the receiving address library, and further, the three-level address can be matched. Namely: and determining the delivery overtime of the article addressee according to the success of address matching of the three-level address of the addressee.
In an embodiment of the invention, in the receiving address library, if address matching fails according to the four-level address of the article receiving address, it is indicated that the four-level address of the receiving address is not stored in the receiving address library, and further, the three-level address can be matched. Namely; and if the address matching according to the third-level address of the receiving address fails, indicating that the third-level address of the receiving address is not stored in the receiving address library, and further matching the second-level address. Namely: and determining the delivery overtime of the article receiving address according to the success of address matching of the secondary address of the receiving address.
In the above embodiment, when the four-level address matching fails, the three-level address may be continuously matched, and if the three-level address matching succeeds, it may be determined that the delivery of the item recipient address is timed; and if the third-level address matching fails, continuing to match the second-level address, and further determining the delivery overtime of the article receiving address.
TABLE 3
Figure BDA0002221517450000131
Referring to table 3, table 3 is a schematic table of four levels of addresses stored in the database in the prior art. Table 1 includes address 1, address 2, address 3, and address 4. Each address stores a four-level address, which can be matched according to the four-level address.
TABLE 4
Figure BDA0002221517450000132
Referring to table 4, table 4 is an exemplary table of addresses stored in the recipient address repository of the present invention. Table 1 includes address 1, address 2, address 3, and address 4. Each address stores a different level of addresses that can be matched in order from high to low.
Illustratively, address 1 includes a first level address, a second level address, and a third level address, the fourth level address being a default value. It is understood that the fourth level address is not additionally configured in the south and the south areas of Guangzhou, Guangdong province, and the delivery time is 0. The address 3 includes a first level address and a second level address, and the third level address and the fourth level address are default values. It is understood that the address of the fourth-level address is not additionally configured in the Jianning district of Nanjing city of Jiangsu province, and the distribution time can be 12 hours.
It can be understood that, first, matching is started according to the four-level address, if the four-level address is successfully matched, it indicates that the four-level address has corresponding delivery overtime; and if the four-level address matching fails, when the four-level address does not have corresponding distribution, matching according to the three-level address. If the matching of the third-level address is successful, the third-level address is indicated to have corresponding delivery timing; if the matching of the third-level address fails, when the third-level address does not have corresponding distribution, matching according to the second-level address; if the second-level address is successfully matched, the second-level address is indicated to have corresponding delivery overtime; if the second-level address matching fails, the address is not stored in the addressee library, and the matching fails.
S203, in the city address library, the basic distribution time length of the article is obtained according to the secondary address of the article sending address and the secondary address of the article receiving address, and the city address library comprises the corresponding relation between the basic distribution time length and the secondary address.
The city address base stores the corresponding relation between the basic delivery time length from the delivery address to the receiving address and the secondary address. The basic delivery duration is the time taken to deliver from the address to the address. It should be noted that the address of the mail may be a secondary address, and the address of the mail may also be a secondary address.
That is, the basic delivery duration can be known by querying the city address bank according to the secondary address of the mail address and the secondary address of the mail address.
In consideration of the fact that for the distribution time length of some remote areas, the distribution time length needs to be obtained by increasing the distribution time based on the basic distribution time length. And integrating the cutoff time and the distribution time, and calculating to obtain the arrival time of the articles.
Referring to table 5, table 5 stores the basic delivery duration from the delivery address to the receiving address in the civic address bank. The sending address comprises a first-level address and a second-level address; the recipient addresses include a first level address and a second level address.
TABLE 5
Figure BDA0002221517450000141
And S204, determining the arrival time of the goods according to the deadline, the delivery time and the basic delivery duration of the goods.
As an example, the secondary addresses of the mail addresses include: qingdao city, Shandong province; the secondary address of the recipient address comprises: south Beijing city of Jiangsu province. The basic delivery duration is 3 days, which can be known by querying table 5 in the civic address base. Sending address 1: in the Laoshan area of Qingdao city, Shandong province, the receiving address is 1: in south beijing city, jiangsu province, the deadline is 20:00 through S201, and the delivery duration is 3 days +1 day, which is 4 days, through S202 when the delivery overtime is 1 day. The delivery of goods before the 20:00 day point arrives at the consignment address 24 o' clock on day 5.
As another example, the secondary addresses of the mail addresses include: qingdao city, Shandong province; the secondary address of the recipient address comprises: south Beijing city of Jiangsu province. The basic delivery duration of 3 days can be known by querying table 5 in the recipient address repository or the mailing address repository. Sending address 2: laoshan mountain area north residential streets in Qingdao city in Shandong province, and the addressee 2: in south kyo, jiangsu province, the deadline is 21:00 through S201, and the delivery duration is 5 days + 3 days +2 days when the delivery overtime is 2 days through S202. The shipment was sent 21:00 ago today, and the consignment address was reached 24 o' clock on day 6.
TABLE 6
Figure BDA0002221517450000151
Referring to table 6, table 6 is a table for storing the delivery time length from the delivery address to the receiving address in the address library in the prior art. Wherein, the mail address comprises a four-level address; the recipient address comprises a four-level address.
The arrival time of the article is inquired, and the distribution time length can be inquired and obtained only based on the four-level address of the mailing address and the four-level address of the receiving address. The four-level addresses of the two addresses are missing one.
The country has 34 provinces and 334 prefectural cities, 2851 counties and 39888 towns (Macao, except harbor). If configured according to the previous scheme, data of the order of 39888 x 39888 needs to be configured, which involves too much work. Wherein, it relates to about 16 hundred million data, and because the data changes the actual data volume often and is far more than 16 hundred million, the single table pressure is too big, usually adopt the branch table, look up the branch key can be the four-level address Identification (ID) of the address of the mail.
In the embodiment of the invention, the deadline is obtained based on the mail address base, the delivery timing is obtained based on the receiving address base, the basic matching duration is obtained based on the city address base, and the three address bases are respectively set. In the three address banks, the four-level addresses are not required to be stored, and the three-level addresses or the two-level addresses may be stored. The third level address or the second level address may not occupy storage space due to the inclusion of default values as compared to the fourth level address. The data involved is approximately 200 million or so. Therefore, the amount of data relating to the arrangement can be reduced, and the query speed can be increased.
Referring to fig. 3, fig. 3 is a schematic diagram of a process of calculating an aging according to an embodiment of the present invention, which specifically includes the following steps:
S301-S303 are the matching process of the mail address; S303-S306 are the matching process of the addressee; S307-S308 are the matching process of the city address, and finally the step of determining the arrival time of the article.
It can be understood that, in the matching process of the address of the mail and the matching process of the address of the mail, the addresses are matched from the four-level addresses in the order from high to low. The consignment address is successfully matched, and the deadline of the consignment address can be determined; the matching of the receiving address is successful, and the distribution time of the receiving address can be determined; the matching of the city address base is successful, and the basic distribution time length can be determined.
S301, judging whether the four-level address matching of the mail address is successful.
The second-level address, the third-level address and the fourth-level address are stored in the mail database, so that whether the mail addresses are successfully matched or not can be judged from the fourth-level addresses.
If the fourth-level address of the sending address is successfully matched, determining the deadline of the sending address, and executing S304; if the four-level address matching of the mail address fails, S302 is performed.
S302, whether the three-level address matching of the mail address is successful is judged.
If the third-level address matching of the mail address is successful, determining the deadline of the mail address, and executing S304; if the third-level address matching of the mail address fails, S303 is performed.
S303, judging whether the second-level address matching of the mail sending address is successful.
If the second-level address of the sending address is successfully matched, the deadline of the sending address can be determined, and S304 is executed; and if the second-level address matching of the sending address fails, the matching fails.
S304, judging whether the four-level address matching of the addressee is successful.
If the four-level address matching of the addressee is successful, the step of distributing the addressee can be determined, and S307 is executed; if the four-level address matching of the recipient address fails, S305 is performed.
S305, judging whether the three-level address matching of the receiving address is successful.
If the matching of the three-level addresses of the receiving addresses is successful, the step S307 is executed when the distribution of the receiving addresses is determined; if the third-level address matching of the recipient address fails, S306 is executed.
S306, judging whether the secondary address matching of the receiving address is successful.
If the second-level address matching of the receiving address is successful, the step S307 is executed when the delivery of the receiving address is determined; and if the secondary address matching of the receiving address fails, the matching fails.
And S307, judging whether the second-level address matching of the mail sending address is successful.
Under the condition of determining the basic distribution time length, the city address library can be inquired according to the secondary address of the mail address and the secondary address of the receiving address. Then, first, it can be determined whether the secondary address of the mail address matches successfully in the civic address base.
If the second-level address of the mail address is successfully matched, executing S308; and if the second-level address matching of the sending address fails, the matching fails. It should be noted that, if the second-level address of the mail address is successfully matched, the second-level address of the mail address is already stored in the civic address base.
And S308, judging whether the secondary address matching of the receiving address is successful.
And if the second-level address of the receiving address is successfully matched, inquiring the urban address library according to the second-level address of the sending address and the second-level address of the receiving address, and acquiring the basic delivery duration of the article. And calculating the arrival time of the goods according to the deadline, the basic distribution time of the goods and the distribution overtime.
And if the secondary address matching of the recipient address fails, the matching fails. It should be noted that, if the matching of the secondary address of the receiving address is successful, the secondary address of the receiving address is already stored in the city address base.
Fig. 4 is a schematic diagram of a main structure of an apparatus for calculating an aging factor according to an embodiment of the present invention, where the apparatus for calculating an aging factor can implement a method for calculating an aging factor, and as shown in fig. 4, the apparatus for calculating an aging factor specifically includes:
a sending module 401, configured to determine, in a sending address library, an expiration time of an item sending address based on a fourth-level address matching address of the item sending address in a descending order, where the sending address library includes a correspondence between the expiration time and the sending address, and the sending address library includes one or more of the following addresses: the address allocation method comprises a secondary address, a tertiary address and a quaternary address, wherein the secondary address comprises a first-level address, a second-level address, a third-level address and a quaternary address which are default values, and the tertiary address comprises a first-level address, a second-level address, a third-level address and a quaternary address which are default values.
An addressee module 402, configured to, in an addressee library, start to match addresses based on four levels of addresses of an item addressee in an order from high to low, and determine that the item addressee is delivered and added, where the addressee library includes a correspondence between the delivery and addition and the addressee, and the addressee library includes one or more of the following addresses: a secondary address, a tertiary address, and a quaternary address.
The city module 403 is configured to obtain a basic delivery duration of the article according to the secondary address of the article mailing address and the secondary address of the article receiving address in the city address library, where the city address library includes a corresponding relationship between the basic delivery duration and the secondary address.
The delivery module 404 is configured to determine an arrival time of the item according to the deadline, the delivery time, and the basic delivery duration of the item.
In an embodiment of the present invention, the sending module 401 is specifically configured to, in the sending address library, if the address matching according to the fourth-level address of the article sending address fails;
and determining the deadline of the article sending address according to the success of the address matching of the third-level address of the article sending address.
In an embodiment of the present invention, the sending module 401 is specifically configured to, in the sending address library, if the address matching according to the fourth-level address of the article sending address fails;
if the address matching according to the third-level address of the mail address fails;
and determining the deadline of the article sending address according to the success of address matching of the second-level address of the article sending address.
In an embodiment of the present invention, the receiving module 402 is specifically configured to, in the receiving address library, if address matching fails according to a fourth-level address of the article receiving address;
and determining the delivery overtime of the article receiving address according to the success of address matching of the three levels of the article receiving address.
In an embodiment of the present invention, the receiving module 402 is specifically configured to, in the receiving address library, if address matching fails according to a fourth-level address of the article receiving address;
if the address matching according to the third-level address of the article receiving address fails;
and determining the delivery overtime of the article receiving address according to the success of address matching of the secondary address of the article receiving address.
In one embodiment of the present invention, the deadline of the same second level address in the mail address library is the same, and the deadline of the same third level address in the mail address library is the same.
In an embodiment of the present invention, the distribution of the same secondary address in the recipient address library is added in the same time, and the distribution of the same tertiary address in the recipient address library is added in the same time.
Fig. 5 illustrates an exemplary system architecture 500 to which the method of calculating an age or the apparatus for calculating an age of embodiments of the present invention may be applied.
As shown in fig. 5, the system architecture 500 may include terminal devices 501, 502, 503, a network 504, and a server 505. The network 504 serves to provide a medium for communication links between the terminal devices 501, 502, 503 and the server 505. Network 504 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 501, 502, 503 to interact with a server 505 over a network 504 to receive or send messages or the like. The terminal devices 501, 502, 503 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 501, 502, 503 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 505 may be a server providing various services, such as a background management server (for example only) providing support for shopping websites browsed by users using the terminal devices 501, 502, 503. The backend management server may analyze and perform other processing on the received data such as the product information query request, and feed back a processing result (for example, target push information, product information — just an example) to the terminal device.
It should be noted that the method for calculating the aging period provided by the embodiment of the present invention is generally executed by the server 505, and accordingly, the apparatus for calculating the aging period is generally disposed in the server 505.
It should be understood that the number of terminal devices, networks, and servers in fig. 5 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 6, a block diagram of a computer system 600 suitable for use with a terminal device implementing an embodiment of the invention is shown. The terminal device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 601.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures 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 the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a transmitting unit, an obtaining unit, a determining unit, and a first processing unit. The names of these units do not in some cases constitute a limitation to the unit itself, and for example, the sending unit may also be described as a "unit sending a picture acquisition request to a connected server".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise:
in a sending address library, determining the deadline of an article sending address based on the matching of four levels of addresses of the article sending address from high to low, wherein the sending address library comprises the corresponding relation between the deadline and the sending address, and the sending address library comprises one or more of the following addresses: the system comprises a secondary address, a tertiary address and a quaternary address, wherein the secondary address comprises a first-level address, a second-level address, a third-level address and a quaternary address which are default values, and the tertiary address comprises a first-level address, a second-level address, a third-level address and a quaternary address which are default values;
in an addressee library, according to the sequence from high to low, starting to match addresses based on four levels of addresses of an addressee of an article, and determining the distribution time adding of the addressee of the article, wherein the addressee library comprises the corresponding relation between the distribution time adding and the addressee, and the addressee library comprises one or more of the following addresses: a secondary address, a tertiary address, and a quaternary address;
in a city address library, acquiring the basic distribution time length of the article according to the secondary address of the article sending address and the secondary address of the article receiving address, wherein the city address library comprises the corresponding relation between the basic distribution time length and the secondary address;
and determining the arrival time of the goods according to the deadline, the delivery timing and the basic delivery duration of the goods.
According to the technical scheme of the embodiment of the invention, in the sending address library, the addresses are matched based on the four-level addresses of the article sending addresses in the sequence from high to low, and the deadline of the sending addresses is determined; in a mail address library, according to the sequence from high to low, starting to match addresses based on the four-level addresses of the article mail addresses, and determining the delivery timing of the mail addresses; in the city address base, the basic distribution time length of the goods is known. And determining the arrival time of the article according to the deadline, the delivery timing and the basic delivery duration of the article.
The address matching can be carried out according to the article sending addresses of different levels, and the address matching can be carried out according to the article receiving addresses of different levels, so that the arrival time of the articles is determined. The reduction of the matching address level can reduce the data volume related to calculation aging, and further improve the query speed.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of calculating an age, comprising:
in a sending address library, determining the deadline of an article sending address based on the matching of four levels of addresses of the article sending address from high to low, wherein the sending address library comprises the corresponding relation between the deadline and the sending address, and the sending address library comprises one or more of the following addresses: the system comprises a secondary address, a tertiary address and a quaternary address, wherein the secondary address comprises a first-level address, a second-level address, a third-level address and a quaternary address which are default values, and the tertiary address comprises a first-level address, a second-level address, a third-level address and a quaternary address which are default values;
in an addressee library, according to the sequence from high to low, starting to match addresses based on four levels of addresses of an addressee of an article, and determining the distribution time adding of the addressee of the article, wherein the addressee library comprises the corresponding relation between the distribution time adding and the addressee, and the addressee library comprises one or more of the following addresses: a secondary address, a tertiary address, and a quaternary address;
in a city address library, acquiring the basic distribution time length of the article according to the secondary address of the article sending address and the secondary address of the article receiving address, wherein the city address library comprises the corresponding relation between the basic distribution time length and the secondary address;
and determining the arrival time of the goods according to the deadline, the delivery timing and the basic delivery duration of the goods.
2. The method for calculating the aging according to claim 1, wherein the determining the deadline of the article address in the article address library based on the matching address of the four-level address of the article address in the order from high to low comprises:
in the mail sending address library, if the address matching according to the four-level address of the article mail sending address fails;
and determining the deadline of the article sending address according to the success of address matching of the third-level address of the article sending address.
3. The method for calculating the aging according to claim 1, wherein the determining the deadline of the article address in the article address library based on the matching address of the four-level address of the article address in the order from high to low comprises:
in the mail sending address library, if the address matching according to the four-level address of the article mail sending address fails;
if the address matching according to the third-level address of the mail address fails;
and determining the deadline of the article sending address according to the success of address matching of the second-level address of the article sending address.
4. The method for calculating the time efficiency according to claim 1, wherein the step of determining the delivery time of the item recipient address based on the matching address of the four levels of the item recipient address in the recipient address library from high to low comprises the following steps:
in the addressee library, if address matching fails according to a four-level address of the article addressee;
and determining the delivery overtime of the item receiving address according to the success of address matching of the three levels of the item receiving address.
5. The method for calculating the time efficiency according to claim 1, wherein the step of determining the delivery time of the item recipient address based on the matching address of the four levels of the item recipient address in the recipient address library from high to low comprises the following steps:
in the addressee library, if address matching fails according to a four-level address of the article addressee;
if the address matching according to the third-level address of the article receiving address fails;
and determining the delivery overtime of the article receiving address according to the successful address matching of the secondary address of the article receiving address.
6. The method of claim 1, wherein deadlines for the same secondary address in the mail address base are the same, and deadlines for the same tertiary address in the mail address base are the same.
7. The method of calculating age of claim 1 wherein deliveries of the same secondary address in the recipient address repository are timed to be the same and deliveries of the same tertiary address in the recipient address repository are timed to be the same.
8. An apparatus for calculating an age, comprising:
a sending module, configured to determine, in a sending address library, an expiration time of an item sending address based on a fourth-level address matching address of the item sending address in a descending order, where the sending address library includes a correspondence between the expiration time and the sending address, and the sending address library includes one or more of the following addresses: the system comprises a secondary address, a tertiary address and a quaternary address, wherein the secondary address comprises a first-level address, a second-level address, a third-level address and a quaternary address which are default values, and the tertiary address comprises a first-level address, a second-level address, a third-level address and a quaternary address which are default values;
the receiving module is used for determining the distribution time adding of the article receiving address based on the four-level address matching address of the article receiving address according to the sequence from high to low in the receiving address library, the receiving address library comprises the corresponding relation between the distribution time adding and the receiving address, and the receiving address library comprises one or more of the following addresses: a secondary address, a tertiary address, and a quaternary address;
the city module is used for acquiring the basic distribution time length of the article according to the secondary address of the article sending address and the secondary address of the article receiving address in a city address library, and the city address library comprises the corresponding relation between the basic distribution time length and the secondary address;
and the delivery module is used for determining the arrival time of the goods according to the deadline, the delivery timing and the basic delivery duration of the goods.
9. An electronic device for calculating an age, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN201910935691.7A 2019-09-29 2019-09-29 Method, device, equipment and computer readable medium for calculating aging Pending CN112579660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910935691.7A CN112579660A (en) 2019-09-29 2019-09-29 Method, device, equipment and computer readable medium for calculating aging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910935691.7A CN112579660A (en) 2019-09-29 2019-09-29 Method, device, equipment and computer readable medium for calculating aging

Publications (1)

Publication Number Publication Date
CN112579660A true CN112579660A (en) 2021-03-30

Family

ID=75110797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910935691.7A Pending CN112579660A (en) 2019-09-29 2019-09-29 Method, device, equipment and computer readable medium for calculating aging

Country Status (1)

Country Link
CN (1) CN112579660A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050149765A1 (en) * 2000-12-21 2005-07-07 Aldstadt Harry W. Default address matching system
CN105678493A (en) * 2016-01-04 2016-06-15 北京京东尚科信息技术有限公司 Method for establishing multi-level distributing path and multi-level distributing system
CN106447248A (en) * 2015-08-11 2017-02-22 阿里巴巴集团控股有限公司 Method and device for providing distribution time efficiency information of business object
CN107194630A (en) * 2017-03-31 2017-09-22 无锡漫途科技有限公司 With city Logistic Scheduling method, apparatus and system
CN108428187A (en) * 2017-12-21 2018-08-21 中国平安人寿保险股份有限公司 Address matching method, apparatus and storage medium
CN109615290A (en) * 2018-11-28 2019-04-12 北京京东尚科信息技术有限公司 For obtaining the method, apparatus, system and medium of address for service
CN109685589A (en) * 2017-10-18 2019-04-26 北京京东尚科信息技术有限公司 Method and apparatus for pushed information
CN109784820A (en) * 2019-03-28 2019-05-21 上海中通吉网络技术有限公司 A kind of express delivery routing intelligence solution, device, terminal device and storage medium
CN109801011A (en) * 2018-12-12 2019-05-24 顺丰科技有限公司 Price result methods of exhibiting, device, equipment, server and its storage medium
CN109816132A (en) * 2017-11-20 2019-05-28 北京京东尚科信息技术有限公司 Information generating method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050149765A1 (en) * 2000-12-21 2005-07-07 Aldstadt Harry W. Default address matching system
CN106447248A (en) * 2015-08-11 2017-02-22 阿里巴巴集团控股有限公司 Method and device for providing distribution time efficiency information of business object
CN105678493A (en) * 2016-01-04 2016-06-15 北京京东尚科信息技术有限公司 Method for establishing multi-level distributing path and multi-level distributing system
CN107194630A (en) * 2017-03-31 2017-09-22 无锡漫途科技有限公司 With city Logistic Scheduling method, apparatus and system
CN109685589A (en) * 2017-10-18 2019-04-26 北京京东尚科信息技术有限公司 Method and apparatus for pushed information
CN109816132A (en) * 2017-11-20 2019-05-28 北京京东尚科信息技术有限公司 Information generating method and device
CN108428187A (en) * 2017-12-21 2018-08-21 中国平安人寿保险股份有限公司 Address matching method, apparatus and storage medium
CN109615290A (en) * 2018-11-28 2019-04-12 北京京东尚科信息技术有限公司 For obtaining the method, apparatus, system and medium of address for service
CN109801011A (en) * 2018-12-12 2019-05-24 顺丰科技有限公司 Price result methods of exhibiting, device, equipment, server and its storage medium
CN109784820A (en) * 2019-03-28 2019-05-21 上海中通吉网络技术有限公司 A kind of express delivery routing intelligence solution, device, terminal device and storage medium

Similar Documents

Publication Publication Date Title
CN110471848B (en) Method and device for dynamically returning message
CN111038906B (en) Order sorting method and device
CN110648089A (en) Method and device for determining delivery timeliness of articles
CN113342686B (en) Test data generation method and device
CN110572422A (en) Data downloading method and device
CN110704564A (en) Address error correction method and device
CN110858332A (en) Order production method and device
CN110895591B (en) Method and device for positioning self-lifting point
CN103942282A (en) Sample data obtaining method, device and system
CN111798207A (en) Mail processing method, device, equipment and medium
CN113762674B (en) Order distribution method and device
CN112579660A (en) Method, device, equipment and computer readable medium for calculating aging
CN110750602A (en) Method and device for determining site to which order address belongs
CN110705935B (en) Logistics document processing method and device
CN113761565A (en) Data desensitization method and apparatus
CN112990991A (en) Method and device for merging invoices
CN113283830B (en) Method, device, equipment and computer readable medium for generating waybill information sequence
CN113537680B (en) Method and device for determining completion time of transportation task
CN113077199B (en) Method and device for determining distribution route
CN111784239B (en) Method and device for determining dispatch network point, electronic equipment and storage medium
US20160234299A1 (en) Management server and operation method thereof and server system
CN115794876A (en) Fragment processing method, device, equipment and storage medium for service data packet
CN112015565B (en) Method and device for determining task downloading queue
CN113760861A (en) Data migration method and device
CN113065829A (en) Logistics product determination method and device, electronic equipment and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination