Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND APPARATUS FOR PROCESSING LOGISTICS INFORMATION
Document Type and Number:
WIPO Patent Application WO/2017/218422
Kind Code:
A1
Abstract:
The present application provides a method for processing logistics information, so as to process original logistics information uploaded by a logistics system into logistics information of a standardized format. Firstly, according to a logistics state indicated by logistics information, an information presentation template containing multiple information items is determined and logistics presentation information corresponding to each information item is determined, and the logistics presentation information is filled into the information presentation template to obtain standardized logistics information to be presented to a user, where the standardized logistics information better meets the requirement of the degree of attention from the user on the logistics information, and is easier for the user to read, so the user experience is good. Besides, the present application also provides an apparatus for processing logistics information, to ensure the application and implementation of the method in practice.

Inventors:
XIAO LUJUAN (CN)
Application Number:
PCT/US2017/037033
Publication Date:
December 21, 2017
Filing Date:
June 12, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
CAINIAO SMART LOGISTICS HOLDING LTD (US)
International Classes:
G06F7/00; G06F17/30; G06Q30/02; H04L29/06
Foreign References:
US20030028451A12003-02-06
US8849667B22014-09-30
US20100185443A12010-07-22
US20150161254A12015-06-11
US20160005090A12016-01-07
US20120191716A12012-07-26
US20060085449A12006-04-20
US20090089254A12009-04-02
US20100100818A12010-04-22
Attorney, Agent or Firm:
CHEN, Weiguo (US)
Download PDF:
Claims:
WHAT IS CLAIMED IS:

1 . A method for processing logistics information, comprising:

acquiring logistics information;

determining a corresponding logistics information presentation template for the logistics information; and

filling the logistics information into the logistics information presentation template, to obtain standardized logistics information.

2. The method for processing logistics information according to claim 1 , wherein the determining the corresponding logistics information presentation template for the logistics information comprises:

determining a logistics state corresponding to the logistics information; and determining a logistics information presentation template corresponding to the logistics state.

3. The method for processing logistics information according to claim 2, wherein the determining the logistics state of the logistics information comprises:

extracting a word segment of a preset part-of-speech from the logistics information; obtaining multiple logistics state probabilities of the word segment, the logistics state probabilities representing possibilities that the word segment corresponds to logistics states; and

determining the logistics state corresponding to a maximum value of the logistics state probabilities as the logistics state of the logistics information.

4. The method for processing logistics information according to claim 3, wherein the logistics state probabilities of the word segment are generated in advance; and generating the logistics state probabilities of the word segment comprises:

determining multiple logistics state probabilities of state words in a preset state word library by using a pre-trained classification probability model, the state words in the preset state word library comprising the word segment.

5. The method for processing logistics information according to claim 1 , after filling the logistics information into the logistics information presentation template, to obtain standardized logistics information, further comprising: if same standardized logistics information is obtained, performing deduplication operation on the repeated standardized logistics information.

6. A method for processing logistics information, comprising:

acquiring multiple pieces of logistics information;

screening to obtain target logistics information belonging to logistics nodes from the multiple pieces of logistics information;

determining a corresponding logistics information presentation template for the target logistics information; and

filling the target logistics information into the logistics information presentation template to obtain standardized logistics information.

7. The method for processing logistics information according to claim 6, wherein the screening to obtain the target logistics information belonging to the logistics nodes from the multiple pieces of logistics information comprises:

determining a logistics state corresponding to each piece of the logistics information; determining logistics information corresponding to a same logistics service point in the multiple pieces of logistics information as one logistics information group; and

for each of the logistics information group, screening to obtain the target logistics information belonging to the logistics nodes, according to the logistics states of the logistics information in the logistics information group.

8. The method for processing logistics information according to claim 7, wherein the determining the corresponding logistics information presentation template for the target logistics information comprises:

determining the logistics information presentation template according to the logistics state of the target logistics information.

9. An apparatus for processing logistics information, comprising:

a logistics information acquiring unit configured to acquire logistics information; a presentation template determining unit configured to determine a corresponding logistics information presentation template for the logistics information; and

a standardization processing unit configured to fill the logistics information into the logistics information presentation template, to obtain standardized logistics information.

10. The apparatus for processing logistics information according to claim 9, wherein, to determine the corresponding logistics information presentation template for the logistics information, the presentation template determining unit is configured to:

determine a logistics state corresponding to the logistics information; and

determine a logistics information presentation template corresponding to the logistics state.

11 . The apparatus for processing logistics information according to claim 10, wherein, to determine the logistics state of the logistics information, the presentation template determining unit is configured to:

extract a word segment of a preset part-of-speech from the logistics information; obtain multiple logistics state probabilities of the word segment, the logistics state probabilities representing the possibilities that the word segment corresponds to logistics states; and

determine the logistics state corresponding to a maximum value of the logistics state probabilities as the logistics state of the logistics information.

12. The apparatus for processing logistics information according to claim 11 , wherein the logistics state probabilities of the word segment are generated in advance; correspondingly, the apparatus further comprising:

a logistics state probability generating unit configured to generate the logistics state probabilities of the word segment;

wherein, to generate the logistics state probabilities of the word segment, the logistics state probability generating unit is configured to:

determine multiple logistics state probabilities of state words in a preset state word library by using a pre-trained classification probability model; wherein the state words in the preset state word library comprise the word segment.

13. The apparatus for processing logistics information according to claim 9, further comprising:

a deduplication unit configured to, after the logistics information is filled into the logistics information presentation template to obtain standardized logistics information, if same standardized logistics information is obtained, perform deduplication operation on the repeated standardized logistics information.

14. An apparatus for processing logistics information, comprising:

a logistics information acquiring unit configured to acquire multiple pieces of logistics information;

a logistics information screening unit configured to screen to obtain target logistics information belonging to logistics nodes from the multiple pieces of logistics information; a presentation template determining unit configured to determine a corresponding logistics information presentation template for the target logistics information; and

a standardization processing unit configured to fill the target logistics information into the logistics information presentation template to obtain standardized logistics information.

15. The apparatus for processing logistics information according to claim 14, wherein, to screen to obtain the target logistics information belonging to the logistics nodes from the multiple pieces of logistics information, the logistics information screening unit is configured to:

determine a logistics state corresponding to each piece of the logistics information; determine logistics information corresponding to the same logistics service point in the multiple pieces of logistics information as one logistics information group; and

for each of the logistics information group, screen to obtain the target logistics information belonging to the logistics nodes, according to the logistics states of the logistics information in the logistics information group.

16. The apparatus for processing logistics information according to claim 15, wherein, to determine the corresponding logistics information presentation template for the target logistics information, the presentation template determining unit is configured to:

determine a logistics information presentation template according to the logistics state of the target logistics information.

Description:
METHOD AND APPARATUS FOR PROCESSING LOGISTICS INFORMATION Cross Reference to Related Application

[001 ] The present application is based on and claims the benefit of priority to Chinese Application No. 201610439605.X, filed on June 17, 2016, the entire contents of which are incorporated herein by reference.

Technical Field

[002] The present application relates to the technical field of logistics management, and in particular, to a method and apparatus for processing logistics information.

Background

[003] Items purchased by users on e-commerce platforms generally need to be delivered by logistics companies to the places of the buyers. The logistics companies set up logistics systems to manage the item transportation process. The logistics systems can generate and store logistics information during the whole process, available for query by the users.

[004] Currently, as shown in FIG. 1 , the presented logistics information is a statement consisting of logistics states, locations of goods and so on. The logistics information in this form is not intuitive and not concise, and is inconvenient for the users to read, so the user experience is poor.

Summary

[005] In view of the above, the present application provides a method for processing logistics information, to solve the technical problem that the generated logistics information in the prior art is inconvenient for users to read and the user experience is poor. Besides, the present application also provides an apparatus for processing logistics information, to ensure the application and implementation of the method in practice.

[006] To achieve the above objective, the present application provides the following technical solutions:

[007] In a first aspect of the present application, a method for processing logistics information is provided, which includes:

[008] acquiring logistics information;

[009] determining a corresponding logistics information presentation template for the logistics information;

[010] filling the logistics information into the logistics information presentation template, to obtain standardized logistics information.

[01 1 ] In a second aspect of the present application, a method for processing logistics information is provided, which includes:

[012] acquiring multiple pieces of logistics information;

[013] screening to obtain target logistics information belonging to logistics nodes from the multiple pieces of logistics information;

[014] determining a corresponding logistics information presentation template for the target logistics information;

[015] filling the target logistics information into the logistics information presentation template, to obtain standardized logistics information.

[016] In a third aspect of the present application, an apparatus for processing logistics information is provided, which includes:

[017] a logistics information acquiring unit, for acquiring logistics information;

[018] a presentation template determining unit, for determining a corresponding logistics information presentation template for the logistics information;

[019] a standardization processing unit, for filling the logistics information into the logistics information presentation template, to obtain standardized logistics information.

[020] In a fourth aspect of the present application, an apparatus for processing logistics information is provided, which includes:

[021 ] a logistics information acquiring unit, for acquiring multiple pieces of logistics information;

[022] a logistics information screening unit, for screening to obtain target logistics information belonging to logistics nodes from the multiple pieces of logistics information;

[023] a presentation template determining unit, for determining a corresponding logistics information presentation template for the target logistics information;

[024] a standardization processing unit, for filling the target logistics information into the logistics information presentation template, to obtain standardized logistics information. [025] It can be seen from the above technical solutions that, the present application provides a method for processing logistics information, which includes: after acquiring logistics information, determining a corresponding logistics information presentation template for the logistics information, the logistics information presentation template containing content in the logistics information, that a user is interested in, and the logistics information presentation template having a preset format; and filling the logistics information into the logistics information presentation template, to obtain standardized logistics information. The logistics information better meets the reading habit of a user on logistics information, so the user experience is good.

Brief Description of the Drawings

[026] To illustrate the technical solutions according to the embodiments of the present application or in the prior art more clearly, the accompanying drawings required for describing the embodiments or the prior art are introduced briefly in the following.

Apparently, the accompanying drawings in the following description are only the embodiments of the present application, and persons of ordinary skill in the art can derive other drawings from the accompanying drawings without creative efforts.

[027] FIG. 1 is a diagram illustrating an example of logistics information presented to a user in the prior art;

[028] FIG. 2 is a schematic diagram of an application scenario of a method for processing logistics information according to the present application;

[029] FIG. 3 is a diagram illustrating an example of standardized logistics information generated after processing of the logistics information shown in FIG. 1 ;

[030] FIG. 4 is a flow chart of a method for processing logistics information according to the present application;

[031 ] FIG. 5 is a flow chart of a method for processing logistics information according to the present application;

[032] FIG. 6 is a diagram illustrating an example of logistics information after standardization of logistics information in a cross-border logistics scenario according to the present application;

[033] FIG. 7 is a schematic structural diagram of an apparatus for processing logistics information according to the present application;

[034] FIG. 8 is a schematic structural diagram of an apparatus for processing logistics information according to the present application.

Detailed Description

[035] The technical solutions in the embodiments of the present application will be clearly and fully described in the following with reference to the accompanying drawings. It is obvious that the embodiments to be described are only a part rather than all of the embodiments of the present application. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present application without any creative efforts shall fall within the protection scope of the present application.

[036] For ease of understanding, an application scenario of the present application is introduced first.

[037] As shown in FIG. 2, after purchasing an item on an e-commerce website, a user may send a request for querying logistics information through a client. A server of the e-commerce website receives the logistics query request, and then acquires logistics information from a logistics system, where the logistics information may be referred to as non-standardized logistics information.

[038] The server performs standardization processing on the non-standardized logistics information, and returns standardized logistics information to the client. For example, the logistics information shown in FIG. 1 is converted into standardized logistics information shown in FIG. 3. The server may include one or more processors coupled to computer-readable storage medium, e.g., memory. The memory stores instructions (e.g., program codes). The one or more processors are configured to execute the instructions to cause the server to perform the methods described in this disclosure.

[039] The method for processing logistics information according to the present application may be applied on a server, to convert non-standardized logistics information into logistics information of a standardized format, which is convenient for users to read.

[040] FIG. 4 shows the flow of a method for processing logistics information, which includes Steps S401 - S405 as follows.

[041 ] Step S401 : Acquire logistics information if a logistics information query request is received.

[042] A user may log on to an e-commerce platform to query logistics information of an item.

[043] A logistics system stores logistics information of items, and the logistics information may be referred to as original logistics information in order to distinguish from standardized logistics information. A server of the e-commerce platform receives a logistics information query request for an item from a user, and then acquires the original logistics information of the item from the logistics system.

[044] The server of the e-commerce platform may also perform a standardization process of Steps S402 - S405 on the original logistics information after the logistics system uploads the original logistics information. However, in this way, the e-commerce platform needs to store both of the original logistics information and the standardized logistics information in a magnetic disk. The standardized logistics information is stored and thus can be presented to a user when the user queries the logistics information.

[045] Because the e-commerce platform needs to process logistics information of a large number of items, the above manner may consume a great amount of storage resources, and is impractical. Therefore, the standardization process can be performed after the logistics information query request from the user is received. The standardized logistics information may be directly displayed to the user, instead of being stored in a magnetic disk, thereby saving the storage resources.

[046] Step S402: Determine a logistics state corresponding to the logistics information.

[047] Before implementation, multiple logistics states are preset. The logistics states represent logistics states of items at different stages in the whole logistics process, including: shipped, picked up, arrived at a logistics service point, handled by the logistics service point, sent out from the logistics service point, in route for delivery, received with signature, etc.

[048] Other logistics states may be set according to actual presentation requirements, or, one or some logistics states are omitted, for example, the logistics state of being handled by the logistics service point is omitted.

[049] Optionally, a corresponding logistics state is determined for each piece of logistics information.

[050] Step S403: Determine a logistics information presentation template

corresponding to the logistics state.

[051 ] The logistics information presentation template (or information presentation template for short) contains information items of different types, and limits the display manner of each information item.

[052] Before implementation, a corresponding logistics information presentation template may be set for each logistics state. After a logistics state corresponding to a piece of logistics information is determined, a corresponding information presentation template may be determined for the logistics information according to the logistics state.

[053] To provide intuitive reading experience for a user, the information presentation template contains multiple information items, and different information items represent logistics information of different content types.

[054] For example, the logistics state may be any one of being picked up, arriving at a logistics service point, sent out from the logistics service point, in route for delivery, and received with signature, where:

[055] the information presentation template corresponding to the logistics state of being picked up is:

[056] {regional address} Picked up by a collector {courier} from {name of the logistics company};

[057] the information presentation template corresponding to the logistics state of arriving at a logistics service point is:

[058] {regional address} Package arrived at {address of the logistics service point};

[059] the information presentation template corresponding to the logistics state of being sent out from the logistics service point is:

[060] {regional address} Left from {address of the logistics service point};

[061 ] the information presentation template corresponding to the logistics state of being in route for delivery is:

[062] {regional address} In route for delivery by dispatcher: {courier} {phone} from {name of the logistics company}; [063] the information presentation template corresponding to the logistics state of being received with signature is:

[064] {regional address} {signed copy}, thank you for choosing {name of the logistics company}, look forward to serving you next time.

[065] The contents in brackets are information items, the specific contents of the information items need to be filled in information presentation templates according to logistics information, and the contents outside the braces are built-in texts in the templates.

[066] The present application limits the display manner of each information item, and may limit the display order and the display form of each information item. For example, according to the actual requirement, a user is interested in the regional address of an item; therefore, the information item of regional address may be arranged at the beginning, and may be set in a display form different from other information items. For example, the display form may be set in different display colors, or adding format symbols like [ ].

[067] For example, in an information presentation template of a piece of logistics information, if the content of the information item of regional address is Ningbo City, the display form may be [Ningbo City].

[068] In view of the above, Step S402 and Step S403 are performed to determine a corresponding logistics information presentation template for logistics information.

However, it should be noted that, the manner of determining a logistics information presentation template for logistics information is not limited to the manner shown in Step S402 and Step S403, and other manners may also be adopted.

[069] Step S404: Determine, according to the logistics information, logistics presentation information corresponding to each information item in the logistics information presentation template.

[070] The logistics presentation information is the content corresponding to an information item. Taking the above example for instance, the content "Ningbo City" in the information item of regional address is logistics presentation information corresponding to the regional address. [071 ] The determining manner may be, searching the logistics information for the content corresponding to each information item, and if not found, determining the logistics presentation information according to the type of each information item.

[072] For example, if the logistics information is: "being scanned before delivery at Zhejiang Hangzhou Xihu Wenjiao Company; dispatcher: Zhang San; phone:

1337683****", the information presentation template corresponding to the logistics state of being in route for delivery is: {regional address} {name of the logistics company} dispatcher: in route for delivery by {courier} {phone}.

[073] The above information presentation template includes four information items, and the logistics presentation information of the last three information items may be found in the logistics information. For example, the name of the logistics company is "Zhejiang Hangzhou Xihu Wenjiao Company", and the courier is "Zhang San" with the phone number "1337683****"; therefore, the logistics presentation information corresponding to the three information items can be directly obtained.

[074] The information item of regional address cannot be directly acquired from logistics records, and needs to be acquired in other manners, for example, by searching for the address related to the name of the logistics company using a map application, the found address being the regional address.

[075] Step S405: Fill the logistics presentation information in the logistics information presentation template, to obtain standardized logistics information.

[076] Step S404 is performed to determine the logistics presentation information corresponding to each information item in the information presentation template, and Step S405 is performed to fill each piece of the logistics presentation information in the logistics information presentation template, to realize standardization processing of the original logistics information.

[077] In view of the above, Step S404 and Step S405 are performed to fill the logistics information into the logistics information presentation template, to obtain standardized logistics information. However, the manner of filling the logistics information into the logistics information presentation template is not limited to the above manner, and other manners may also be adopted. [078] The standardized logistics information may be returned and displayed to a user, and is more convenient for the user to read.

[079] It can be seen from the above technical solution that, this embodiment provides a method for processing logistics information, so as to process original logistics information in a logistics system into logistics information of a standardized format. Firstly, according to a logistics state corresponding to logistics information, an information presentation template containing multiple information items is determined and logistics presentation information corresponding to each information item is determined, and the logistics presentation information is filled into the information presentation template to obtain standardized logistics information to be presented to a user, where the standardized logistics information better meets the requirement of the degree of attention from the user on the logistics information, so the user experience is better.

[080] In the implementation, the specific implementation manner of determining the logistics state corresponding to the logistics information in Step S402 may include Steps A1 - A3 as follows.

[081 ] Step A1 : Extract a word segment of a preset part-of-speech from the logistics information.

[082] The extracted word segment is configured to describe the logistics state of an item, and thus the extracted word segment may be referred to as a target logistics state word.

[083] The word segmentation operation is performed on the logistics information by using the word segmentation technology, to obtain multiple word segments. Each word segment has its part-of-speech, such as adjective, verb, and noun. It is found through studies that, word segments of some parts-of-speech, such as verb and adjective, may represent the logistics state of an item.

[084] For example, in the logistics information of being picked up by a collector "Key Client" in "Jiangxi Yingtan Yujiang Company", "picked up" is a verb phrase indicating that the logistics state of the item is being picked up.

[085] Therefore, word segments of some preset parts-of-speech are extracted from the logistics information after the word segmentation operation is performed. For example, after the word segmentation operation is performed on the third line of the logistics information "scanned for next stop in Zhejiang Yuyao Company, and to be sent to:

Zhejiang Hangzhou Service Point" in FIG. 1 , the verb phrases "scanned for next stop" and "to be sent to" are extracted.

[086] Step A2: Obtain multiple logistics state probabilities of the word segment, the logistics state probabilities representing the possibilities that the word segment corresponds to the logistics states.

[087] Before implementation, a large number of state words/phrases may be collected in advance to generate a state word library, which may be referred to as a preset state word library. State word samples are trained by using a classification probability algorithm such as a naive Bayes classification algorithm, to obtain a classification probability model. The classification probability model may be used to calculate the probability that the state word is in each logistics state.

[088] For example, there are five logistics states, namely, picked up, arriving at a logistics service point, sent out from the logistics service point, in route for delivery, and received with signature, and the probability that the state word "to be sent to"

corresponds to each logistics state is calculated by using the classification probability model.

[089] If the word segment is contained in the state word library, the classification probability model may be used to calculate multiple logistics state probabilities for the word segment. Therefore, the calculated logistics state probabilities are directly obtained.

[090] Step A3: Determine the logistics state corresponding to a maximum value of the logistics state probabilities as the logistics state of the logistics information.

[091 ] The logistics state probabilities of the word segment may vary, and the probability of the logistics state that the word segment actually corresponds to is the maximum value among the logistics state probabilities.

[092] Therefore, the maximum value of the logistics state probabilities is selected. The logistics state corresponding to the maximum value is determined as the logistics state of the logistics information.

[093] For example, the target logistics state word extracted from the logistics information "scanned for next stop in Zhejiang Yuyao Company, and to be sent to:

Zhejiang Hangzhou Service Point" is "to be sent to", and the probabilities that the target logistics state word "to be sent to" corresponds to the logistics states of being picked up, arriving at a logistics service point, sent out from the logistics service point, in route for delivery, and received with signature are respectively 0.1 , 0.1 , 0.6, 0.1 , and 0.1 , which are calculated by using the classification probability model, where the logistics state corresponding to the maximum value 0.6 is "being sent out from the logistics service point", so that the logistics state of the logistics information is: sent out from the logistics service point.

[094] If multiple word segments are extracted in Step A1 , two processing manners may be adopted. The first processing manner is to select one word segment from the word segments and perform Step A2. The second processing manner is to perform Step A2 and Step A3 on each word segment, determine whether the logistics states

corresponding to the maximum logistics state probabilities of the word segments are the same, and if all the logistics states are the same or a number of logistics states exceeding a preset value are the same, determine this logistics state as the logistics state of the logistics information.

[095] In the actual application, a piece of key logistics information that a user is interested in is the location address of the delivery item. However, the original logistics information usually does not contain address information, and address information of an item needs to be determined according to other contents in the logistics information.

[096] Therefore, the implementation manner of determining the logistics presentation information corresponding to an information item in the logistics information presentation template in Step S404 may include Step B1 and Step B2 as follows.

[097] Step B1 : Determine a logistics service point where an item is located from the logistics information.

[098] Generally, the logistics information uploaded by a logistics system contains the name of a logistics service point, so that a logistics service point where a target item is located may be extracted from the logistics information.

[099] For example, if the logistics information is "scanned in Zhejiang Yuyao Company for the next delivery stop, and to be sent to: Zhejiang Hangzhou Service Point", the logistics service point determined from the logistics information is "Zhejiang Yuyao Company".

[100] Step B2: Determine the regional address of the logistics service point as the address item in the logistics presentation information.

[101 ] A map application may be invoked through a query interface provided by the map application to search for the address of the logistics service point, and the found address is determined as the address item in the logistics presentation information, that is, the content corresponding to the information item of regional address in the logistics presentation template.

[102] For example, the address of the logistics service point "Zhejiang Yuyao

Company" is Ningbo City, and thus Ningbo City is the address item.

[103] In the actual application, the address may be categorized by administrative division, and determined to an administrative region, for example, a city. The address may be further determined to a smaller administrative region, for example, a county or district.

[104] Through Step B1 and Step B2, when the regional address cannot be extracted from the logistics information, the regional address of the logistics information may be determined by using the logistics service point.

[105] The third line of the logistics information "scanned for next stop in Zhejiang Yuyao Company, and to be sent to: Zhejiang Hangzhou Service Point" in FIG. 1 is used as an example below to illustrate the standardization of the logistics information.

[106] Firstly, the word segmentation operation is performed on the logistics information, a target logistics state word "to be sent to" is extracted, and logistics state probabilities corresponding to the target logistics state word are determined by using the classification probability model. The logistics state "sent out from the logistics service point"

corresponding to the maximum logistics state probability is determined as the target logistics state of the logistics information.

[107] Then, the information presentation template corresponding to the target logistics state "sent out from the logistics service point" is determined as: left from {regional address}{address of the logistics service point}. It can be seen from the above that, the information presentation template comprises two information items, namely, regional address and address of the logistics service point.

[108] The logistics presentation information corresponding to the information item "address of the logistics service point" is determined. The logistics service point extracted from the logistics information is "Zhejiang Yuyao Company", and thus

"Zhejiang Yuyao Company" may be determined as the logistics presentation information of the address of the logistics service point.

[109] The logistics presentation information corresponding to the information item "regional address" is determined. A map application is invoked to query and find that the address of the logistics service point "Zhejiang Yuyao Company" is "Ningbo City", and thus "Ningbo City" is determined as the logistics presentation information of the regional address. To make it convenient for a user to view the content of the item of regional address, character-prompting square brackets [ ] are used in the information

presentation template to mark and prompt the content of the regional address.

[1 10] Finally, the logistics presentation information "Zhejiang Yuyao Company" and "Ningbo City" are filled into the corresponding information items in the information presentation template, and standardized logistics information is obtained as follows:

[1 1 1 ] [Ningbo City] Left from Zhejiang Yuyao Company.

[1 12] Each piece of the logistics information in FIG. 1 is standardized in the above manner, and the standardized logistics information to be presented to a user as shown in FIG. 3 is obtained.

[1 13] In an actual application, it is possible that the logistics states of multiple pieces of logistics information in one logistics service point are the same; therefore, after the logistics information is filled into the logistics information presentation template, the same standardized logistics information is obtained.

[1 14] For example, in the logistics information shown in FIG. 1 , the first piece of the logistics information, the second piece of the logistics information, and the third piece of the logistics information all of which correspond to Friday are generated at Zhejiang Hangzhou Distribution Center, and the corresponding logistics states are all "arriving at the logistics service point".

[1 15] After the three pieces of the logistics information are filled into the logistics information presentation template, the same standardized logistics information is obtained, that is: [Jiaxing City] Package arrived at Zhejiang Hangzhou Transfer Center.

[1 16] Therefore, a deduplication operation needs to be performed on the repeated standardized logistics information, that is, only one copy of the same standardized logistics information is kept, and the standardized logistics information with the earliest logistics time is kept.

[1 17] To solve the technical problem of the repeated standardized logistics information, the following method for processing logistics information may be used.

[1 18] As shown in FIG. 5, Embodiment 2 of a method for processing logistics information according to the present application may include Steps S501 - S504. The differences between Embodiment 2 and Embodiment 1 of the method for processing logistics information are described below, and details about the same content are not repeatedly described herein.

[1 19] Step S501 : Acquire multiple pieces of logistics information.

[120] Step S502: Screen to obtain target logistics information belonging to logistics nodes from the multiple pieces of logistics information.

[121 ] The logistics nodes may be distinguished according to logistics states of the logistics information.

[122] As for the logistics information corresponding to one-time logistics states including being shipped, picked up, in route for delivery, and received with signature, the logistics nodes are the logistics states of the logistics information.

[123] As for the logistics information corresponding to the logistics states including arriving at a logistics service point and sent out from the logistics service point, the logistics nodes are the logistics state of the logistics information of arriving at a logistics service point and the logistics state of the logistics information of being sent out from the logistics service point.

[124] For example, in the logistics information shown in FIG. 1 , the logistics service points corresponding to the first piece to the fifth piece of the logistics information all of which correspond to Friday are Zhejiang Hangzhou Distribution Center, where the first piece of the logistics information is the logistics information of arriving at the logistics service point, and the fifth piece of the logistics information is the logistics information of being sent out from the logistics service point. Therefore, the target logistics information belonging to the logistics nodes and obtained by screening from the five pieces of the logistics information includes the first piece and the fifth piece of the logistics information.

[125] This step may be performed in the following manner:

[126] determining a logistics state corresponding to each piece of the logistics information; determining logistics information corresponding to the same logistics service point in the multiple pieces of logistics information as one logistics information group; as for each logistics information group, screening to obtain the target logistics information belonging to the logistics nodes, according to the logistics states of the logistics information in the logistics information group.

[127] The logistics information is grouped according to the logistics service point, and the logistics information in each logistics information group is processed separately. According to the logistics states of the logistics information in each logistics information group, the first logistics state indicating arriving at a logistics service point is obtained by screening, and the last logistics state indicating being sent out from the logistics service point is obtained by screening. The logistics information corresponding to the logistics states obtained from the screening is the logistics information belonging to the logistics nodes.

[128] For the one-time logistics state, the first logistics state indicating arriving at a logistics service point and the last logistics state indicating being sent out from the logistics service point are the same.

[129] Step S503: Determine a corresponding logistics information presentation template for the target logistics information.

[130] The logistics state may be determined for the target logistics information, and as for the determining manner, reference may be made to Embodiment 1 of the method for processing logistics information. Therefore, the logistics information presentation template corresponding to the logistics state is determined according to the logistics state of the target logistics information.

[131 ] Step S504: Fill the target logistics information into the logistics information presentation template, to obtain standardized logistics information.

[132] In the method for processing logistics information provided by this embodiment, the logistics information belonging to the logistics node may be first obtained by screening, and the logistics information with the same logistics state is deduplicated in the logistics information obtained by the screening; therefore, the standardized logistics information obtained after the logistics information is filled into the logistics information presentation template has no duplicate information, so that more concise logistics information is presented to a user, and the user experience is better.

[133] Besides, time disorder of multiple pieces of the same logistics information may occur in the implementation. Some logistics states may appear only once, such as being picked up, in route for delivery, and received with signature. For ease of description, such logistics states may be referred to as one-time logistics states.

[134] For example, a piece of logistics information of being in route for delivery exists in the logistics information, while another piece of logistics information of being in route for delivery is generated after a user signs for the package. In this case, the repeated logistics information needs to be processed.

[135] The logistics state is determined for each piece of the logistics information, and if the determined multiple logistics states contain multiple identical one-time logistics states, the logistics state corresponding to the earliest logistics information needs to be selected from the multiple logistics states, and the information presentation template is

determined for the selected logistics state.

[136] Besides, when the logistics presentation information of each information item in the information presentation template is determined according to the logistics information, the earliest logistics information uploaded by the logistics system may be selected from the logistics information corresponding to the multiple one-time logistics states, and the logistics presentation information corresponding to each information item is determined according to the selected logistics information. Reference may be made to the

description of Step S404 for the determining method, and the details are not repeatedly described herein.

[137] For example, the logistics system uploads the logistics information of being in route for delivery at 13: 15, uploads the logistics information of being received with signature at 14:00, and uploads the logistics information of being in route for delivery once again at 16:00. After the information presentation template is selected for the target logistics state of being in route for delivery, the logistics information uploaded earlier, that is, the logistics information uploaded at 13: 15 is selected from the two pieces of logistics information of being in route for delivery, and the logistics presentation information is extracted from the logistics information.

[138] In an actual application, cross-border logistics may occur, that is, a target item (item for short) may be transported from one country or district into another country or district. In a cross-border logistics scenario, the Customs need to inspect the target item, and thus the logistics information contains logistics information in two countries or districts as well as related clearance information.

[139] In this application scenario, the information presentation template of the target item includes a cross-border logistics information presentation template, and the cross-border logistics information presentation template contains all the cross-border logistics links, that is, cross-border link items. Each cross-border link item represents the cross-border logistics link of the target item when the logistics system uploads the logistics information. FIG. 6 shows an example of logistics information generated after standardization of logistics information in a cross-border logistics scenario. As shown in FIG. 6, the cross-border link items contained in the standardized logistics information are "China", "consolidation", and "overseas".

[140] In the process of generating the standardized logistics information, the implementation manner of determining the logistics presentation information

corresponding to each information item according to the logistics information in Step S404 may include Step C1 and Step C2 as follows.

[141 ] Step C1 : Extract cross-border terms indicating cross-border logistics states from the logistics information.

[142] An information presentation template may be determined for the logistics information in the domestic stage by using the above manner, and the logistics presentation information is filled into the information presentation template for standardization, for example, the fourth line of the standardized logistics information in FIG. 6.

[143] Cross-border link items need to be added in the case of cross-border logistics. If it is shipped from China, the logistics presentation information corresponding to the cross-border link item in the domestic logistics stage is "China".

[144] After entering the next stage of the domestic logistics stage, the logistics information uploaded by the logistics system may be "Accepted by the consolidation hub" as shown in FIG. 6, and thus cross-border terms indicating the cross-border states such as "consolidation hub" and "accepted by" may be extracted from this piece of the logistics information.

[145] Step C2: Determine a cross-border link item in the cross-border logistics information presentation template according to the cross-border terms.

[146] Because the cross-border logistics state indicated by the cross-border terms is unique, the cross-border link item corresponding to the cross-border terms may be determined according to the cross-border terms.

[147] For example, the cross-border link item corresponding to the cross-border terms "consolidation hub" and "accepted by" is the "consolidation" stage, and the logistics presentation information "consolidation" can be determined according to this group of cross-border terms.

[148] For example, the cross-border link item corresponding to the cross-border terms "consolidation hub" and "departed" is the "overseas" stage, and the logistics presentation information "overseas" can be determined according to this group of cross-border terms.

[149] The cross-border link item of each stage of domestic transportation and clearance is described above. If the clearance is successful, after entering the overseas transportation stage, the logistics link item of the logistics information uploaded by the logistics system may be "overseas" or others. If the uploaded logistics information is not in Chinese, the logistics information may be translated into Chinese and then the logistics presentation information of each information item is determined in the above manner of determining the information presentation template, so as to perform standardization processing on the logistics information in the overseas transportation stage. The logistics information after standardization processing is similar to the fourth line of the logistics information in FIG. 6, and comprises the logistics presentation information of each information item.

[150] An apparatus for processing logistics information according to the present application is described below.

[151 ] FIG. 7 shows the structure of Embodiment 1 of an apparatus for processing logistics information according to the present application. As shown in FIG. 7, the apparatus may include: a logistics information acquiring unit 701 , a presentation template determining unit 702, and a standardization processing unit 703, where

[152] the logistics information acquiring unit 701 is configured to acquire logistics information;

[153] the presentation template determining unit 702 is configured to determine a corresponding logistics information presentation template for the logistics information;

[154] the standardization processing unit 703 is configured to fill the logistics information into the logistics information presentation template, to obtain standardized logistics information.

[155] In the step of determining a corresponding logistics information presentation template for the logistics information, the presentation template determining unit 702 is configured to:

[156] determine a logistics state corresponding to the logistics information; and

[157] determine a logistics information presentation template corresponding to the logistics state.

[158] In the step of determining a logistics state of the logistics information, the presentation template determining unit 702 is configured to:

[159] extract a word segment of a preset part-of-speech from the logistics information;

[160] obtain multiple logistics state probabilities of the word segment, the logistics state probabilities representing the possibilities that the word segment corresponds to the logistics states; and [161 ] determine the logistics state corresponding to a maximum value of the logistics state probabilities as the logistics state of the logistics information.

[162] The logistics state probabilities of the word segment are generated in advance; correspondingly, the apparatus may further include a logistics state probability generating unit, for generating the logistics state probabilities of the word segment.

[163] In the aspect of generating the logistics state probabilities of the word segment, the logistics state probability generating unit is configured to:

[164] determine multiple logistics state probabilities of state words in a preset state word library by using a pre-trained classification probability model, the state words in the preset state word library including the word segment.

[165] Besides, the apparatus for processing logistics information may further include: a deduplication unit, for, after the logistics information is filled into the logistics information presentation template to obtain standardized logistics information, if same standardized logistics information is obtained, performing deduplication operation on the repeated standardized logistics information.

[166] FIG. 8 shows the structure of Embodiment 2 of an apparatus for processing logistics information according to the present application. As shown in FIG. 8, the apparatus may include: a logistics information acquiring unit 801 , a logistics information screening unit 802, a presentation template determining unit 803, and a standardization processing unit 804, where

[167] the logistics information acquiring unit 801 is configured to acquire multiple pieces of logistics information;

[168] the logistics information screening unit 802 is configured to screen to obtain target logistics information belonging to logistics nodes from the multiple pieces of logistics information;

[169] the presentation template determining unit 803 is configured to determine a corresponding logistics information presentation template for the target logistics information;

[170] the standardization processing unit 804 is configured to fill the target logistics information into the logistics information presentation template, to obtain standardized logistics information.

[171 ] In the step of screening to obtain target logistics information belonging to logistics nodes from the multiple pieces of logistics information, the logistics information screening unit 802 is configured to:

[172] determine a logistics state corresponding to each piece of the logistics information;

[173] determine logistics information corresponding to the same logistics service point in the multiple pieces of logistics information as one logistics information group;

[174] as for each logistics information group, screen to obtain the target logistics information belonging to the logistics nodes, according to the logistics states of the logistics information in the logistics information group.

[175] In the step of determining a corresponding logistics information presentation template for the target logistics information, the presentation template determining unit 803 is configured to:

[176] determine a logistics information presentation template according to the logistics state of the target logistics information.

[177] All the embodiments in this specification are described in a progressive manner, each embodiment focuses on the differences from the other embodiments, and reference may be made to each other for the same or similar parts of the embodiments.

[178] Relational terms such as first and second herein are merely used for

distinguishing an entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations have any of such real relationships or orders. Besides, the terms "include", "contain" or any other variations are intended to cover non-exclusive inclusions, so as to cause a process, method, commodity or device including a series of elements to not only include those elements, but also include other elements that are not listed specifically, or also include elements that are inherent in this process, method, commodity or device. Therefore, the element defined by a sentence "including a... " does not preclude the presence of other identical elements in the process, method, commodity or device including the elements under the condition of no more limitations. [179] A person skilled in the art can understand that, various exemplary logic blocks, units, modules, circuits, and algorithm steps described herein may be implemented as specialized electronic hardware, computer software, or a combination of electronic hardware and computer software. For examples, the steps and modules/units may be performed or implemented by one or more processors executing software instructions stored in the computer-readable storage medium to perform the specialized functions of the steps and modules/units.

[180] The flowcharts and block diagrams in the accompanying drawings show system architectures, functions, and operations of possible implementations of the system and method according to multiple embodiments of the present invention. Each block in the flowchart or block diagram may represent one module/unit, one program segment, or a part of code, where the module/unit, the program segment, or the part of code includes one or more executable instructions used for implementing specified logic functions. It should also be noted that, in some alternative implementations, functions marked in the blocks may also occur in a sequence different from the sequence marked in the drawing. For example, two consecutive blocks actually can be executed in parallel substantially, and sometimes, they can also be executed in reverse order, which depends on the functions involved. Each block in the block diagram and/or flowchart, and a combination of blocks in the block diagram and/or flowchart, may be implemented by a dedicated hardware-based system for executing corresponding functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.

[181] Embodiments of the present disclosure may take the form of a computer program product embodied in one or more tangible and/or non-transitory

computer-readable storage media containing computer-readable instructions (e.g., program codes). The computer-readable instructions, when executed by one or more processors, cause the one or more processors to implement the steps and units/modules disclosed in the disclosure. The computer-readable storage medium may include volatile or non-volatile, magnetic, semiconductor, optical, removable, non-removable, or other types of computer-readable storage medium or computer-readable storage devices. Common forms of non-transitory computer-readable storage medium include, for example, a floppy disk, a flexible disk, hard disk, solid state drive, magnetic tape, or any other magnetic data storage medium, a CD-ROM, any other optical data storage medium, any physical medium with patterns of holes, a RAM, a PROM, and EPROM, a

FLASH-EPROM or any other flash memory, NVRAM, a cache, a register, any other memory chip or cartridge, and networked versions of the same.

[182] The computer-readable instructions may also be loaded onto a computer device (for example, a personal computer (PC), a server, a mobile device (e.g., smart phone), or a tablet device) and when the computer device executes the computer-readable instructions, for example, by one or more processors of the computer device, the computer device performs a series of operational steps/functions to implement the methods, functions, and units/modules illustrated and described in the flow diagrams and/or the block diagrams in this disclosure. In a typical configuration, a computer device includes one or more processors, an input/output interface, a network interface, and a memory. The memory may include any form of storage medium as discussed above. The memory can store the computer-readable instructions that can be executed by the processor in the computer.

[183] Persons skilled in the art can implement or use the present application according to the description of the disclosed embodiments. It is apparent to persons skilled in the art that various modifications can be made to these embodiments, and general principles defined in this specification may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited by the embodiments described herein, but has the broadest scope conforming to the principles and innovative features disclosed by this specification.