Business data processing method and device, electronic equipment and storage medium
By identifying the owner's identification from the waybill information, determining the return processing strategy and implementing the corresponding processing process, the resource waste caused by long-term unclaimed packages in reverse storage is solved, and the return processing efficiency is improved.
Patent Information
- Application Number
- CN202510699456.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-28
- Publication Date
- 2025-07-11
AI Technical Summary
The long-term unclaimed packages that are in reverse storage have led to waste of warehouse resources.
By identifying the owner's logo from the waybill information, determining the return processing strategy, and collecting parcel or item information according to the policy type, generating the logo, and performing the corresponding processing process to avoid waiting for the owner to claim for a long time.
It reduces the complexity of parcel processing, improves the efficiency of return processing, and avoids waste of resources.
Smart Images

Figure CN120297868A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular, to a method, apparatus, electronic device, and storage medium for business data processing. Background Art
[0002] In the field of logistics business, parcels of some waybills need to be returned to the warehouse due to factors such as unsuccessful delivery. For the parcels returned to the warehouse, after confirming the relevant documents and the consignor of the parcels, re-shelving and other processing can be performed. In the related art, usually, after splitting the parcels that have been warehoused, the information of the items therein is displayed on the platform waiting for the consignor to claim. After the consignor claims, the relevant documents are confirmed to perform re-shelving and other processing. However, in some scenarios, the problem that items are not claimed for a long time often occurs, resulting in the need for the items to be placed in the warehouse for a long time, and thus causing waste of resources due to long-term occupation of storage space. Summary of the Invention
[0003] In view of this, embodiments of the present invention provide a method, apparatus, electronic device, and storage medium for business data processing, which can solve the problem that items returned to the warehouse are not claimed for a long time, resulting in the need for long-term placement in the warehouse, and thus causing waste of resources.
[0004] To achieve the above object, according to one aspect of the embodiments of the present invention, a method for business data processing is provided.
[0005] A method for business data processing according to an embodiment of the present invention includes: receiving a processing instruction for a target parcel, obtaining waybill information corresponding to the target parcel, and identifying a consignor identifier in the waybill information; determining a corresponding return processing strategy based on the consignor identifier and return information associated with the waybill information; in response to the return processing strategy belonging to a first strategy type, collecting parcel information of the target parcel, generating a parcel identifier of the target parcel, and performing a parcel processing process associated with the return processing strategy; in response to the return processing strategy belonging to a second strategy type, splitting the target parcel, collecting item information of each item in the target parcel, and generating a corresponding item identifier to perform an item processing process associated with the return processing strategy.
[0006] In one embodiment, determining a corresponding return processing strategy based on the consignor identifier and return information associated with the waybill information includes: matching the consignor identifier with a pre-stored set of consignor information; in response to the matching result being a successful match, querying the return information associated with the waybill information to determine the return processing strategy of the target parcel.
[0007] In yet another embodiment, obtaining the waybill information corresponding to the target parcel and identifying the shipper identifier in the waybill information includes: receiving the waybill information of the target parcel, extracting the return address in the waybill information; slicing the return address based on preset characters, and identifying the shipper identifier corresponding to the target parcel from the slicing result.
[0008] In yet another embodiment, collecting the parcel information of the target parcel and generating a parcel identifier of the target parcel to execute the parcel processing flow associated with the return processing policy includes: calling a preset generation model to generate a parcel code of the target parcel, generating a parcel identifier based on the shipper identifier and the parcel code, collecting the parcel information of the target parcel, and determining parcel data in combination with the parcel identifier; creating a return order for the target parcel based on the parcel data and the return processing policy; and in response to successful creation of the return order, executing a corresponding processing flow for the target parcel.
[0009] In yet another embodiment, collecting the item information of each item in the target parcel and generating a corresponding item identifier to execute the item processing flow associated with the return processing policy includes: collecting the item information of each item in the target parcel and querying the corresponding item identifier; for each item, in response to a successful query result, obtaining the corresponding item identifier, and creating a return order for each item based on the item identifiers of each item and the return processing policy; in response to a failed query result, generating an item code for each item, generating a corresponding item identifier based on the shipper identifier and the item codes of each item, and creating a return order for each item in combination with the item information and the return processing policy; and in response to successful creation of the return order, executing a corresponding processing flow for each item.
[0010] In yet another embodiment, after identifying the shipper identifier in the waybill information, it further includes: establishing an association relationship between the shipper identifier and the target parcel; monitoring the processing status of the target parcel, and in response to an update of the processing status, sending the updated processing status to the shipper corresponding to the shipper identifier based on the association relationship.
[0011] To achieve the above object, according to another aspect of the embodiments of the present invention, there is provided an apparatus for business data processing.
[0012] An apparatus for processing service data according to an embodiment of the present invention includes: a receiving unit, configured to receive a processing instruction of a target parcel, obtain waybill information corresponding to the target parcel, and identify a shipper identifier in the waybill information; a determining unit, configured to determine a corresponding return processing policy based on the shipper identifier and return information associated with the waybill information; a processing unit, configured to, in response to the return processing policy belonging to a first policy type, collect parcel information of the target parcel, generate a parcel identifier of the target parcel, so as to execute a parcel processing procedure associated with the return processing policy; and in response to the return processing policy belonging to a second policy type, split the target parcel, collect item information of each item in the target parcel, generate corresponding item identifiers, so as to execute an item processing procedure associated with the return processing policy.
[0013] In one embodiment, the determining unit is specifically configured to: match the shipper identifier with a pre-stored set of shipper information; and in response to the matching result being successful, query return information associated with the waybill information to determine a return processing policy for the target parcel.
[0014] In another embodiment, the receiving unit is specifically configured to: obtain waybill information corresponding to the target parcel and identify a shipper identifier in the waybill information, including: receiving the waybill information of the target parcel, extracting a return address from the waybill information; and performing character cutting on the return address based on a preset character, and identifying the shipper identifier corresponding to the target parcel from the cutting result.
[0015] In another embodiment, the processing unit is specifically configured to: call a preset generation model to generate a parcel code of the target parcel, generate a parcel identifier based on the shipper identifier and the parcel code, collect parcel information of the target parcel, and determine parcel data in combination with the parcel identifier; create a return note for the target parcel based on the parcel data and the return processing policy; and in response to the successful creation of the return note, execute a corresponding processing procedure for the target parcel.
[0016] In another embodiment, the processing unit is specifically configured to: collect item information of each item in the target parcel and query corresponding item identifiers; for each item, in response to the query result being successful, obtain the corresponding item identifier, and create a return note for each item based on the item identifiers of each item and the return processing policy; in response to the query result being failed, generate an item code for each item, generate corresponding item identifiers based on the shipper identifier and the item codes of each item, so as to create a return note for each item in combination with the item information and the return processing policy; and in response to the successful creation of the return note, execute a corresponding processing procedure for each item.
[0017] In yet another embodiment, the apparatus further includes: a establishing unit, configured to establish an association relationship between the shipper identifier and the target parcel; a sending unit, configured to monitor a processing status of the target parcel, and in response to an update of the processing status, send the updated processing status to the shipper corresponding to the shipper identifier based on the association relationship.
[0018] To achieve the above object, according to yet another aspect of the embodiments of the present invention, there is provided an electronic device.
[0019] An electronic device according to an embodiment of the present invention includes: one or more processors; a storage device, configured to store one or more programs, and when the one or more programs are executed by the one or more processors, enable the one or more processors to implement the method for processing service data provided by the embodiments of the present invention.
[0020] To achieve the above object, according to yet another aspect of the embodiments of the present invention, there is provided a computer-readable medium.
[0021] A computer-readable medium according to an embodiment of the present invention has a computer program stored thereon, and when the program is executed by a processor, it implements the method for processing service data provided by the embodiments of the present invention.
[0022] To achieve the above object, according to yet another aspect of the embodiments of the present invention, there is provided a computer program product.
[0023] A computer program product according to an embodiment of the present invention includes a computer program, and when the program is executed by a processor, it implements the method for processing service data provided by the embodiments of the present invention.
[0024] One embodiment of the above invention has the following advantages or beneficial effects:
[0025] In the embodiments of the present invention, for a target parcel, a shipper identifier can be identified from the waybill information to determine a corresponding return processing strategy in combination with the waybill information; according to different return processing strategies, different processing flows are executed for the target parcel to implement the warehousing process of the target parcel. Thus, in the embodiments of the present invention, the waybill information may include shipper information. For a parcel for reverse warehousing, the shipper information can be directly identified from the waybill information to determine different return processing strategies and execute them, so that there is no need to wait for the shipper to claim, avoiding the problem that the parcel is left in the warehouse for a long time due to no one claiming it for a long time, and further avoiding the waste of resources caused by long-term occupation of storage space; moreover, in the embodiments of the present invention, multiple return processing strategies can be determined for the target parcel. When it belongs to the first strategy type, it can be processed as a whole without being split, reducing the complexity of parcel processing and improving the efficiency of parcel return processing.
[0026] The further effects of the above non-conventional optional methods will be described below in conjunction with specific embodiments. Brief Description of the Drawings
[0027] The drawings are used to better understand the present invention and do not constitute an improper limitation to the present invention. Among them: Figure 1 is a schematic diagram of a main process of a method for processing service data according to an embodiment of the present invention; Figure 2 is a schematic diagram of another main process of a method for processing service data according to an embodiment of the present invention; Figure 3 is a schematic diagram of the main units of a device for processing service data according to an embodiment of the present invention; Figure 4 is an exemplary system architecture diagram to which an embodiment of the present invention can be applied; Figure 5 is a schematic diagram of the structure of a computer system suitable for implementing an embodiment of the present invention. Detailed Embodiments
[0028] The following describes exemplary embodiments of the present invention in conjunction with the drawings, including various details of the embodiments of the present invention to facilitate understanding. It should be considered that they are merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description below omits the description of well-known functions and structures.
[0029] It should be noted that, without conflict, the embodiments in the present invention and the features in the embodiments can be combined with each other. The acquisition, transmission, storage, use, processing, etc. of data in the technical solution of the present application all comply with the relevant regulations of national laws and regulations. In the embodiments of the present application, some industry-existing solutions such as certain software, components, models, etc. may be mentioned. They should be considered exemplary, and their purpose is only to illustrate the feasibility in the implementation of the technical solution of the present application, but it does not mean that the applicant has already or necessarily used this solution.
[0030] An embodiment of the present invention provides a service data processing system, which can be used in the processing scenario of inbound packages, specifically in the scenario of processing reverse inbound packages.
[0031] In an embodiment of the present invention, the business data processing system may include a WMS (digital management system) and a scheduling platform; the WMS can be used for the business management of warehouses and logistics. By optimizing inventory turnover, improving operation efficiency, and reducing operation costs, it realizes refined control of the entire warehousing process. It may include a display interface for data display or receiving data input by relevant personnel; the scheduling platform can be used for order receiving and fulfillment scheduling in logistics. The scheduling platform can be divided into modules according to functions. For example, it can include a shipper workbench, master data application, service order processing, inbound order processing, outbound order processing, and inventory processing; the shipper workbench can be used for data interaction with the shipper's client, the master data application can be used for creating or determining item data, the service order processing can be used for processing the creation, storage, status update, etc. of service orders (such as return orders, etc.) in logistics, the inbound order processing can be used for processing the creation, storage, etc. of inbound orders, the outbound order processing can be used for processing the creation, storage, etc. of outbound orders, and the inventory processing can be used for updating, storing, etc. of inventory data. In an embodiment of the present invention, data interaction can occur between the WMS and the scheduling platform. The WMS can implement related functions through the scheduling platform by means of interface calls, such as creating item data, generating return orders, and so on.
[0032] An embodiment of the present invention provides a method for processing business data. This method can be executed by a business data processing system, such as Figure 1 shown, and this method includes the following steps.
[0033] S101: Receive a processing instruction for a target package, obtain the waybill information corresponding to the target package, and identify the shipper identifier in the waybill information.
[0034] Among them, the target package can be a package received by the warehouse, which needs to undergo subsequent inbound processing, etc. after being received, so a processing instruction for the target package can be triggered. The processing instruction can be sent by an external system, can be triggered by relevant users on the display interface of the WMS in the business data processing system, or can also be automatically triggered by the business data processing system.
[0035] In this step, the processing instruction may include information about the target package. For example, it may include waybill information, so the waybill information can be directly obtained from the acquired processing instruction. Or in this step, after receiving the processing instruction, a collection device can also be called to directly collect the waybill information from the target package through the collection device. For example, the waybill of the package can be set on the outer layer of the target package, and the collector obtains the waybill information by scanning the package waybill, and then can send the waybill information to the business data processing, or the business personnel can input the collected waybill information into the display interface of the WMS.
[0036] The waybill information may include various types of information, specifically including the shipper identifier. Therefore, in this step, the shipper identifier can be directly identified from the waybill information, and the identification method is not limited. For example, it can be automatically identified through machine algorithms and the like.
[0037] It should be noted that to ensure the security of the shipper information, in the embodiments of the present invention, a shipper coding rule can be set to generate a shipper identifier according to the shipper coding rule for the shipper information, and then store it in the waybill information. Therefore, the shipper identifier identified in this step can be the shipper identifier generated according to the shipper coding rule.
[0038] Specifically, in the embodiments of the present invention, the shipper identifier can be stored in the return address of the target package. Therefore, the identification of the shipper identifier in this step can be executed as follows: receive the waybill information of the target package, and extract the return address in the waybill information; based on a preset character, cut the return address, and identify the shipper identifier corresponding to the target package from the cutting result.
[0039] The preset character can be a preset delimiter. The return address may include multiple parts of information, and the preset delimiter is used to separate each part. For example: recipient name, detailed address, #shipper identifier, city, state / province, postal code, country, etc. Therefore, the shipper identifier therein can be identified after cutting the return address with the preset character.
[0040] For example, the return address can be specifically "Online Seller RMA, Test Warehouse 111, #11700005P, Tianjin City, Tianjin City, CN", where #11700005P represents the shipper identifier, and the preset character is ",". After splitting the return address, "#11700005P" can be identified as the shipper identifier.
[0041] S102: Determine the corresponding return processing strategy based on the return information associated with the shipper identifier and the waybill information.
[0042] Among them, the return processing strategy represents the strategy for processing return packages. The shipper identification represents the shipper information corresponding to the target package. The waybill information may include pre-configured return information and / or return information associated with the target package that can be queried based on the waybill information. Therefore, in this step, the corresponding return processing strategy can be determined based on the shipper identification and the return information associated with the waybill information. The return processing strategy may include re-stocking and destruction. Re-stocking means that the items corresponding to the target package can be re-stocked, and destruction means that the target package can be destroyed. To further refine the processing strategy, re-stocking can be refined into: unpacking and re-stocking and whole-package re-stocking. Whole-package re-stocking means that the target package can be directly re-stocked as a whole, and unpacking and re-stocking means that the target package can be disassembled and the disassembled items can be re-stocked. Since there is no need to disassemble the package during destruction, the destruction process can be specifically whole-package destruction, which means that the target package can be destroyed as a whole.
[0043] Specifically, in this step, the following operations can be performed: match the shipper identification with the set of pre-stored shipper information; in response to a successful match, query the return information associated with the waybill record corresponding to the waybill information to determine the return processing strategy for the target package.
[0044] The set of pre-stored shipper information may include shipper information configured in advance and processed in normal business. Therefore, by matching the shipper identification with the set of pre-stored shipper information, it can be determined whether the shipper exists and whether the shipper's business is processed normally. When the match result is successful, it indicates that the packages of the shipper can be directly processed without waiting for the shipper to claim them, etc. Therefore, the return information associated with the waybill information can be queried to determine the return processing strategy for the target package. The waybill information may include pre-set return processing strategies, such as re-stocking after return, destruction after return, etc. Therefore, at this time, it can be determined whether the processing after the target package is returned is destruction or re-stocking.
[0045] To further determine the specific return processing strategy, after determining that the target package needs to be re-stocked, the specific re-stocking method can also be determined. Specifically, the re-stocking method can be pre-set in the waybill information, so the re-stocking method can be directly determined through the return information in the waybill information; or, since the buyer usually submits a return application and generates a return waybill when returning items, the return waybill can indicate the specific items in the package. Therefore, in this step, the corresponding return waybill can be queried based on the waybill information. If there is a return waybill, the target package can be disassembled and then re-stocked, that is, the return processing strategy is determined as unpacking and re-stocking. If there is no return waybill, the target package can be re-stocked as a whole, that is, the return processing strategy is determined as whole-package re-stocking.
[0046] It should be noted that when the matching result is a matching failure and the return processing strategy cannot be determined, other preset methods can be used to process the target package, such as waiting for the owner to claim it. In the embodiments of the present invention, in order to simplify the return address, the owner identifier included therein can be a part of the owner identifier generated according to the owner coding rule. For example, it can be the last 9 digits of the generated owner identifier. Therefore, when matching the owner identifier identified in the return address with the pre-stored set of owner information in this step, the corresponding complete owner identifier can be determined by means of fuzzy matching.
[0047] S103: In response to the return processing strategy belonging to the first strategy type, collect the package information of the target package, generate the package identifier of the target package, and execute the package processing process associated with the return processing strategy; in response to the return processing strategy belonging to the second strategy type, split the target package, collect the item information of each item in the target package, generate the corresponding item identifier, and execute the item processing process associated with the return processing strategy.
[0048] Among them, in the embodiments of the present invention, the return processing strategy can be divided into a whole-package processing strategy and a unpacking processing strategy according to the processing method. That is, the first strategy type represents the whole-package processing strategy, and the second strategy type represents the unpacking processing strategy. When the return processing strategy belongs to the first strategy type, it means that the target package needs to be processed as a whole. Therefore, after collecting the package information of the target package, the package identifier of the target package can be generated, and the package processing process associated with the return processing strategy can be executed; when the return processing strategy belongs to the second strategy type, it means that the target package needs to be unpacked before processing. Therefore, the target package can be split into one or more items, and then the item information of each item in the target package can be collected, the corresponding item identifier can be generated, and the item processing process associated with the return processing strategy can be executed.
[0049] Since the packages to be destroyed will be stored in a designated area waiting for destruction, for the packages or items to be restocked, the corresponding restocking area needs to be determined and restocking needs to be executed. Therefore, in the embodiments of the present invention, the item processing processes associated with each return processing strategy can be set to facilitate the corresponding processing.
[0050] Specifically, in the case where the return processing strategy belongs to the first strategy type, a preset generation model can be called to generate the package code of the target package, generate the package identifier based on the owner identifier and the package code, collect the package information of the target package, and determine the package data in combination with the package identifier; create a return order for the target package based on the package data and the return processing strategy; in response to the successful creation of the return order, execute the corresponding processing process for the target package.
[0051] The generation model can be preset, and the implementation method can be not limited. Specifically, it can be a generation model of unique numbers. Combining the shipper identification and the package code can generate a package identification, which can be used to uniquely identify the target package. The package information can include various types, such as the number of packages, package pictures, package labels, the length, width, height and weight of the package, etc. In the embodiments of the present invention, the package information can be collected by business personnel and input into the business processing system through the display interface of the WMS. Combining the package information and the package identification can obtain package data, and then a return order for the target package can be created, so as to execute the corresponding processing process based on the return order. The processing process corresponding to the case where the target package needs to be put on the shelf as a whole can include processes such as determining the shelving area and the defective grade, and putting the target package on the shelf. The processing process corresponding to the case where the target package needs to be destroyed as a whole can include determining the placement area and waiting for destruction.
[0052] In the case where the return processing strategy belongs to the second strategy type, the target package can be disassembled, the item information of each item in the target package can be collected, and the corresponding item identification can be queried; for each item, in response to the query result being successful, the corresponding item identification can be obtained, and return orders for each item can be created based on the item identifications of each item and the return processing strategy; in response to the query result being failed, item codes of each item can be generated, and item identifications can be generated by combining the shipper identification and the item codes of each item, so as to create return orders for each item by combining the item information and the return processing strategy; in response to the successful creation of the return order, the corresponding processing process can be executed for each item.
[0053] Since it is possible that there are already item identifications for the items disassembled from the target package, the item identifications corresponding to the disassembled items can be queried first, specifically, the query can be performed according to the item information of the disassembled items. The item information can include the number of items, item pictures, item labels, the length, width, height and weight of the item, etc. If the item identification is queried, that is, the query result is successful, the corresponding item identification can be directly obtained, and then return orders for each item can be created based on the item identifications of each item and the return processing strategy; if the item identification is not queried, that is, the query result is failed, the item code of the item can be generated according to the generation model, and the item identification can be generated by combining the shipper identification and the item code, and then return orders for the item can be created by combining the item information and the return processing strategy. After the return order is created, the corresponding processing process can be executed, which can specifically include processes such as determining the shelving area and the defective grade, and putting the item on the shelf.
[0054] It should be noted that in the embodiments of the present invention, after determining the shipper identification corresponding to the target package, it can be associated with the shipper identification. During the processing of the target package, the processing status of the target package can be set, such as determining the return processing strategy for the target package, generating the package identification of the target package, determining the package data of the target package, creating the corresponding return order, the target package being split, the target package being shelved or destroyed, the items included in the target package being shelved, and so on. To facilitate the shipper's understanding of the processing status of the target package, the processing status of the target package can be monitored in real time. When the monitored processing status is updated, the updated processing status is sent to the shipper corresponding to the shipper identification based on the association relationship.
[0055] In the embodiments of the present invention, the waybill information may include shipper information. For the packages with reverse warehousing, the shipper information can be directly identified from the waybill information to determine different return processing strategies and execute them, so as to avoid waiting for the shipper to claim, and avoid the problem of long-term placement in the warehouse due to no one claiming for a long time, and further avoid the waste of resources caused by long-term occupation of storage space. Moreover, in the embodiments of the present invention, multiple return processing strategies can be determined for the target package. When it belongs to the first strategy type, it can be processed as a whole without being split, reducing the complexity of package processing and improving the efficiency of package return processing.
[0056] The following Figure 1 illustrates the embodiments shown, and specifically describes the method for processing business data in the embodiments of the present invention. As Figure 2 shown, the method includes the following steps.
[0057] S201: Receive the processing instruction of the target package and obtain the waybill information corresponding to the target package.
[0058] S202: Extract the return address in the waybill information, cut the return address based on a preset character, and identify the shipper identification corresponding to the target package from the cutting result.
[0059] S203: Match the shipper identification with the pre-stored set of shipper information. In response to the matching result being successful, query the return information associated with the waybill record corresponding to the waybill information to determine the return processing strategy of the target package.
[0060] S204: In response to the return processing strategy belonging to the first strategy type, generate the package code of the target package, generate the package identification based on the shipper identification and the package code, collect the package information of the target package, and determine the package data in combination with the package identification.
[0061] S205: Create a return order for the target package based on the package data and the return processing strategy; in response to the successful creation of the return order, execute the corresponding processing process for the target package.
[0062] S206: In response to the return processing policy belonging to the second policy type, split the target package, collect the item information of each item in the target package, and query the corresponding item identifier.
[0063] S207: For each item, in response to a successful query result, obtain the corresponding item identifier, and create a return order for the item based on the item identifiers of each item and the return processing policy; in response to a failed query result, generate an item code for the item, generate an item identifier based on the shipper identifier and the item code, so as to create a return order for the item in combination with the item information and the return processing policy.
[0064] S208: In response to the successful creation of the return order, execute the corresponding processing flow for the item.
[0065] It should be noted that in the embodiment of the present invention, the data processing principle is the same as Figure 1 the corresponding data processing principle in the illustrated embodiment, and will not be elaborated here.
[0066] To solve the problems existing in the prior art, an embodiment of the present invention provides a device 300 for processing business data, as Figure 3 shown. The device 300 includes: a receiving unit 301, configured to receive a processing instruction of a target package, obtain the waybill information corresponding to the target package, and identify the shipper identifier in the waybill information; a determining unit 302, configured to determine a corresponding return processing policy based on the shipper identifier and the return information associated with the waybill information; a processing unit 303, configured to, in response to the return processing policy belonging to the first policy type, collect the package information of the target package, generate a package identifier of the target package, so as to execute the package processing flow associated with the return processing policy; in response to the return processing policy belonging to the second policy type, split the target package, collect the item information of each item in the target package, generate corresponding item identifiers, so as to execute the item processing flow associated with the return processing policy.
[0067] It should be understood that the implementation manner of the embodiment of the present invention is the same as Figure 1 the implementation manner of the illustrated embodiment, and will not be elaborated here.
[0068] In one embodiment, the determining unit 302 is specifically configured to: match the shipper identifier with a pre-stored shipper information set; in response to a successful matching result, query the return information associated with the waybill information to determine the return processing policy of the target package.
[0069] In another embodiment, the receiving unit 301 is specifically configured to: receive the waybill information of the target package, extract the return address in the waybill information; cut the return address based on a preset character, and identify the shipper identifier corresponding to the target package from the cutting result.
[0070] In yet another embodiment, the processing unit 303 is specifically configured to: call a preset generation model to generate a package code for the target package, generate a package identifier based on the shipper identifier and the package code, collect package information of the target package, and determine package data in combination with the package identifier; create a return order for the target package based on the package data and the return processing policy; and in response to successful creation of the return order, execute a corresponding processing flow for the target package.
[0071] In yet another embodiment, the processing unit 303 is specifically configured to: collect item information of each item in the target package and query corresponding item identifiers; for each item, in response to a successful query result, obtain the corresponding item identifier, and create a return order for each item based on the item identifiers of each item and the return processing policy; in response to a failed query result, generate item codes for each item, generate corresponding item identifiers based on the shipper identifier and the item codes of each item, and create a return order for each item in combination with the item information and the return processing policy; and in response to successful creation of the return order, execute a corresponding processing flow for each item.
[0072] In yet another embodiment, the apparatus 300 further includes: an establishing unit, configured to establish an association relationship between the shipper identifier and the target package; and a sending unit, configured to monitor a processing status of the target package, and in response to an update of the processing status, send the updated processing status to the shipper corresponding to the shipper identifier based on the association relationship.
[0073] It should be understood that the implementation manner of the embodiments of the present invention is the same as that of the embodiments shown Figure 1 、 2 and will not be described herein again.
[0074] In the embodiments of the present invention, the waybill information may include shipper information. For packages with reverse warehousing, the shipper information can be directly identified from the waybill information to determine different return processing policies and execute them, so as to avoid waiting for the shipper to claim, prevent long-term unclaimed packages from being placed in the warehouse for a long time, and further avoid waste of resources caused by long-term occupation of storage space; moreover, in the embodiments of the present invention, multiple return processing policies can be determined for the target package. When it belongs to the first policy type, it can be processed as a whole without being split, reducing the complexity of package processing and improving the efficiency of package return processing.
[0075] According to an embodiment of the present invention, embodiments of the present invention further provide an electronic device and a readable storage medium.
[0076] The electronic device according to an embodiment of the present invention includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method for processing service data provided by the embodiment of the present invention.
[0077] Figure 4 Fig. 400 shows an exemplary system architecture to which the method for processing service data or the apparatus for processing service data according to an embodiment of the present invention can be applied.
[0078] As Figure 4 shown, the system architecture 400 may include terminal devices 401, 402, 403, a network 404, and a server 405. The network 404 is used to provide a medium for communication links between the terminal devices 401, 402, 403 and the server 405. The network 404 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.
[0079] Users can use the terminal devices 401, 402, 403 to interact with the server 405 through the network 404 to receive or send messages, etc. Various client applications may be installed on the terminal devices 401, 402, 403.
[0080] The terminal devices 401, 402, 403 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, and desktop computers, etc.
[0081] The server 405 may be a server providing various services. The server may analyze and process data such as a product information query request received, and feedback the processing result (such as product information - only an example) to the terminal device.
[0082] It should be noted that the method for processing service data provided by the embodiment of the present invention is generally executed by the server 405. Correspondingly, the apparatus for processing service data is generally disposed in the server 405.
[0083] It should be understood that Figure 4 the numbers of the terminal devices, the network, and the server in
[0084] are merely illustrative. According to actual needs, there may be any number of terminal devices, networks, and servers. Figure 5 Next, referring to Figure 5 Fig. 500, which shows a schematic structural diagram of a computer system 500 suitable for implementing an embodiment of the present invention.
[0085] As Figure 5 shown, computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage section 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0086] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including, for example, a cathode ray tube (CRT), a liquid crystal display (LCD), etc. and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as required. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as required so that a computer program read from it can be installed into the storage section 508 as required.
[0087] Specifically, according to the embodiments disclosed in the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program codes for performing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 509, and / or installed from the removable medium 511. When the computer program is executed by a central processing unit (CPU) 501, the above functions defined in the system of the present invention are executed.
[0088] It should be noted that the computer-readable medium shown in the present invention can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, apparatus, or device. In the present invention, the computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, and the computer-readable program code is carried therein. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, and this computer-readable medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted by any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0089] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations 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 diagram can represent a unit, a program segment, or a part of code, and the above unit, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, and the combination of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0090] The units involved in the embodiments of the present invention can be implemented in software or in hardware. The described units can also be provided in a processor. For example, it can be described as: a processor includes a receiving unit, a determining unit, and a processing unit. Among them, the names of these units do not constitute a limitation to the unit itself in some cases. For example, the receiving unit can also be described as "a unit with a receiving function".
[0091] On the other hand, the present invention also provides a computer-readable medium, which can be included in the device described in the above embodiments; or can exist alone without being assembled into the device. The above computer-readable medium carries one or more programs. When the above one or more programs are executed by the device, the device is caused to execute the method for processing service data provided by the present invention.
[0092] On the other hand, the present invention also provides a computer program product, including a computer program, where the program, when executed by a processor, implements the method for processing service data provided by the embodiments of the present invention.
[0093] The above specific embodiments do not limit the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims
1. A method for processing service data, characterized in that, Including: Receiving a processing instruction for a target package, obtaining the waybill information corresponding to the target package, and identifying the shipper identifier in the waybill information; Determining a corresponding return processing strategy based on the shipper identifier and the return information associated with the waybill information; In response to the return processing strategy belonging to the first strategy type, collecting the package information of the target package, generating a package identifier for the target package, so as to execute the package processing process associated with the return processing strategy; in response to the return processing strategy belonging to the second strategy type, splitting the target package, collecting the item information of each item in the target package, and generating corresponding item identifiers, so as to execute the item processing process associated with the return processing strategy.
2. The method according to claim 1, wherein Determining a corresponding return processing strategy based on the shipper identifier and the return information associated with the waybill information includes: Matching the shipper identifier with a pre-stored set of shipper information; In response to the matching result being successful, querying the return information associated with the waybill information to determine the return processing strategy for the target package.
3. The method according to claim 1, wherein Obtaining the waybill information corresponding to the target package and identifying the shipper identifier in the waybill information includes: Receiving the waybill information of the target package and extracting the return address in the waybill information; Cutting the return address based on a preset character, and identifying the shipper identifier corresponding to the target package from the cutting result.
4. The method according to claim 1, wherein Collecting the package information of the target package, generating a package identifier for the target package, so as to execute the package processing process associated with the return processing strategy includes: Invoking a preset generation model to generate a package code for the target package, generating a package identifier based on the shipper identifier and the package code, collecting the package information of the target package, and determining package data in combination with the package identifier; Creating a return order for the target package based on the package data and the return processing strategy; In response to the successful creation of the return order, executing a corresponding processing process on the target package.
5. The method according to claim 1, characterized in that Collecting the item information of each item in the target package, generating corresponding item identifiers, so as to execute the item processing process associated with the return processing strategy includes: Collecting the item information of each item in the target package and querying the corresponding item identifier; For each item, in response to the query result being successful, obtaining the corresponding item identifier, and creating a return order for each item based on the item identifiers of each item and the return processing strategy; in response to the query result being failed, generating an item code for each item, generating a corresponding item identifier based on the shipper identifier and the item codes of each item, so as to create a return order for each item in combination with the item information and the return processing strategy; In response to the successful creation of the return order, executing a corresponding processing process on each item.
6. The method according to claim 1, wherein After identifying the shipper identifier in the waybill information, it further includes: Establishing an association relationship between the shipper identifier and the target package; Monitoring the processing status of the target package, and in response to the update of the processing status, sending the updated processing status to the shipper corresponding to the shipper identifier based on the association relationship.
7. An apparatus for processing service data, characterized in that, Including: A receiving unit, configured to receive a processing instruction for a target package, obtain the waybill information corresponding to the target package, and identify the shipper identifier in the waybill information; A determining unit, configured to determine a corresponding return processing strategy based on the shipper identifier and the return information associated with the waybill information; A processing unit, configured to, in response to the return processing strategy belonging to a first strategy type, collect the package information of the target package, generate a package identifier for the target package, so as to execute the package processing process associated with the return processing strategy; in response to the return processing strategy belonging to a second strategy type, split the target package, collect the item information of each item in the target package, and generate corresponding item identifiers, so as to execute the item processing process associated with the return processing strategy.
8. The device according to claim 7, characterized in that, The determining unit is specifically configured to: Match the shipper identifier with a pre-stored set of shipper information; In response to the matching result being successful, query the return information associated with the waybill information to determine the return processing strategy for the target package.
9. An electronic device, characterized in that, Including: One or more processors; A storage device, configured to store one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1-6.
10. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, the method according to any one of claims 1-6 is implemented.