Data splitting method, device, electronic device and storage medium

By splitting the data of the product form, matching package forms are generated based on the packaging form of the target package, which solves the order problem during packaging and improves the accuracy and reliability of the form.

CN117875845BActive Publication Date: 2025-04-01CONTEMPORARY AMPEREX TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410264616.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-08
Publication Date
2025-04-01
Estimated Expiration
2044-03-08

AI Technical Summary

Technical Problem

During the product declaration process, after the product data in the product form is split, it cannot be packed in order, resulting in inconsistent with the package form obtained by splitting data, affecting the accuracy of the form.

Method used

Through each packaging data in the packaging form of the target package, the product data of the product form is split to obtain the target product data that matches the packaging data, and a package form is generated based on these data to match it with the actual packaging situation.

Benefits of technology

It improves the accuracy of forms obtained through data splitting, reduces the inconsistency between the package form and the actual product, and enhances the reliability of forms after data splitting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117875845B_ABST
    Figure CN117875845B_ABST
Patent Text Reader

Abstract

The present application discloses a data splitting method, device, electronic device and storage medium. The data splitting method comprises: performing data splitting on each product data of a product form according to each packaging data in a packaging form of a target package, and obtaining each target product data matching each packaging data in the packaging form of the target package; obtaining a package form of the target package according to each target product data; wherein the packaging data includes a product identifier. The data splitting method provided in the embodiment of the present application can improve the accuracy of the form obtained by data splitting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and specifically to a data splitting method, device, electronic device and storage medium. Background Art

[0002] At present, when a batch of products is imported or exported, it is necessary to declare the goods through a product form that records the product data of the batch of products, such as a delivery notice form or a shipping notice form. However, the number of product items in the delivery notice form or the shipping notice form may be large, so the product form that records the product data of multiple categories usually needs to split the data to facilitate customs declaration.

[0003] In the related art, the method for splitting the product data in the product form is to split the product data in the product form in order, so as to form the package form of each package according to the split product data, such as the invoice and / or packing list of each package. However, in the process of packing each product corresponding to each product data in the product form, in order to improve the packing efficiency, the product is usually packed according to the size and on-site conditions. Therefore, it is usually impossible to pack according to the order of the product data in the product form during packing, resulting in the inconsistency between the products in the package after packing and the package form obtained according to the split product data, which affects the accuracy of the form obtained by data splitting. Summary of the invention

[0004] In view of the above problems, the present application provides a data splitting method, device, electronic device and storage medium to improve the accuracy of the form obtained by data splitting.

[0005] In a first aspect, the present application provides a data splitting method, the method comprising: performing data splitting on each product data in a product form according to each packaging data in a packaging form of a target package, to obtain each target product data that matches each packaging data in the packaging form of the target package; obtaining a package form of the target package according to each target product data; wherein the packaging data includes a product identification.

[0006] In the technical solution of the embodiment of the present application, data splitting is performed on each product data in the product form through each packaging data in the packaging form of the target package, so as to obtain each target product data matching each packaging data from each product data, and generate a package form of the target package according to each target product data, so that the package form obtained after data splitting matches the actual packaging situation of the target package, reducing the inconsistency between the package form and the product in the target package, thereby improving the accuracy of the form obtained by data splitting.

[0007] In some embodiments, the method further includes: obtaining the packing forms of each package corresponding to the product form; determining that the packing data recorded in the packing forms of each package are inconsistent, and obtaining the packing form of the target package from the packing forms of each package. By obtaining the packing form of the target package from the packing forms of each package to split the data when it is determined that the packing data recorded in the packing forms of each package are inconsistent, the situation that the package form obtained by using the packing form is unusable due to the repeated records of products between the packing forms of each package is avoided, and the reliability of the package form generated subsequently is improved.

[0008] In some embodiments, data splitting is performed on each product data of the product form according to each packaging data in the packaging form of the target package to obtain each target product data matching each packaging data in the packaging form of the target package, including: according to the product identifier and product quantity recorded in the packaging data, the target product data with the product identifier and the product quantity recorded in each product data is obtained. In this way, it is possible to avoid the situation where the subsequently generated package form is unusable due to the inconsistency between the number of products packaged in the package recorded in the packaging form and the number of products recorded in the target product data, thereby improving the accuracy of the subsequently generated package form.

[0009] In some embodiments, the method further includes: determining that there is no target product data recording the product identifier and the product quantity in each of the product data, and generating prompt information indicating that the packaging data is abnormal.

[0010] In some embodiments, obtaining the package form of the target package according to each of the target product data includes: performing a quantity detection on each of the target product data; determining that the quantity of each of the target product data is less than or equal to a preset value, and obtaining the package form of the target package according to each of the target product data. By performing a quantity detection on each of the target product data, and obtaining the package form of the target package according to each of the target product data when determining that the quantity of each of the target product data is less than or equal to a preset value, the situation where the generated package form is invalid due to the data quantity not meeting the import and export declaration regulations of the customs is reduced, thereby improving the accuracy of the generated package form.

[0011] In some embodiments, obtaining the package form of the target package according to each of the target product data includes: determining that there is no package form generated by each of the target product data, and obtaining the package form of the target package according to each of the target product data. This can reduce the repeated generation of package forms, thereby reducing the situation of generating invalid package forms, and improving the reliability of package form generation.

[0012] In some embodiments, determining that there is no package form generated by the target product data includes: detecting the data identifier of each target product data; and determining that there is no package form generated by each target product data when the data identifier does not exist for each target product data; wherein the data identifier is used to indicate that there is a package form formed by the target product data. By detecting the data identifier of each target product data, it is determined whether there is a package form generated by the target product data, and when the data identifier does not exist for each target product data, it is determined that there is no package form generated by each target product data. Thus, it is only necessary to detect the data identifier of the product data, without having to match each product data multiple times, to determine whether there is a package form generated by the target product data, thereby improving the detection efficiency of the target product data.

[0013] In some embodiments, a package form of the target package is obtained according to each of the target product data, including: obtaining an initial packing list of the package according to each of the target product data; obtaining a package form of the target package according to the initial packing list and the package identification recorded in the packing form, thereby facilitating the distinction of package forms.

[0014] In a second aspect, the present application provides a data splitting device, comprising: a data splitting module, used to split the product data of a product form according to the packaging data in the packaging form of the target package, and obtain the target product data that matches the packaging data in the packaging form of the target package; a form generation module, used to obtain the package form of the target package according to the target product data; wherein the packaging data includes a product identification.

[0015] In the technical solution of the embodiment of the present application, the solution performs data splitting on each product data of the product form through each packaging data in the packaging form of the target package, so as to obtain each target product data matching each packaging data from each product data, and generate a package form of the target package according to each target product data, so that the package form obtained after data splitting matches the actual packaging situation of the target package, reduces the inconsistency between the package form and the product in the target package, and thus improves the accuracy of the form obtained by data splitting.

[0016] In a third aspect, the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor executes the method in the implementation of the first aspect when executing the computer program.

[0017] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the method in the implementation of the first aspect.

[0018] In a fifth aspect, the present application provides a computer program product, which, when running on a computer, enables the computer to execute the method in the first aspect or any optional implementation manner of the first aspect.

[0019] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Moreover, the same reference numerals are used throughout the drawings to represent the same components. In the drawings:

[0021] Figure 1 This is a first flow chart of a data splitting method according to some embodiments of the present application;

[0022] Figure 2 A second flow chart of the data splitting method according to some embodiments of the present application;

[0023] Figure 3 This is a schematic diagram of the structure of a data splitting device in some embodiments of the present application;

[0024] Figure 4 This is a schematic diagram of the structure of an electronic device according to some embodiments of the present application.

[0025] The reference numerals in the specific implementation manner are as follows:

[0026] 301 - data splitting module; 302 - form generating module; 40 - electronic device; 401 - processor; 402 - memory; 403 - communication bus. DETAILED DESCRIPTION

[0027] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.

[0028] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.

[0029] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.

[0030] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0031] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0032] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple strips" refers to more than two (including two), and "multiple sheets" refers to more than two (including two).

[0033] At present, when a batch of products is imported or exported, it is necessary to declare through a product form that records product data, such as a delivery notice form or a shipping notice form. However, some delivery notice forms or shipping notice forms may contain a large number of product items. For example, after-sales spare parts related to equipment such as vehicles or batteries are of various types, and the shipment volume of a single category is small. Therefore, when spare parts for such equipment are imported or exported, the number of product data items in the product form may be as many as more than 500, which does not comply with the customs import and export declaration regulations. Therefore, it is necessary to split the product form that records product data of multiple categories to form a package form for each package to facilitate customs declaration.

[0034] In the related art, the method of splitting the product data in the product form is to split the product data in the product form in order, so as to form the package form of each package according to the split product data, such as the invoice and / or packing list of each package. However, in the process of packing each product corresponding to each product data in the product form, in order to improve the packing efficiency, the product is usually packed according to the size and on-site conditions. Therefore, it is usually impossible to pack according to the order of the product data in the product form or the package form, resulting in the inconsistency between the products in the package after packing and the package form obtained according to the split product data, which affects the accuracy of the form obtained by data splitting.

[0035] In response to the above technical problems, an embodiment of the present application provides a data splitting method, which splits the product data of a product form through the packaging data in the packaging form of the target package, so as to obtain the target product data matching the packaging data from the product data, and generate a package form of the target package according to the target product data, so that the package form obtained after data splitting matches the actual packaging situation of the target package, reduces the inconsistency between the package form and the product in the target package, and thereby improves the accuracy of the form obtained through data splitting.

[0036] The data splitting method, device, electronic device and storage medium disclosed in the embodiments of the present application can be applied to a terminal device to realize the splitting of product data in a product form. The terminal device can be a desktop terminal, a mobile terminal or a server, and the server can be an independent server or a server cluster composed of multiple servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence sampling point devices.

[0037] According to some embodiments of the present application, taking a data splitting method provided in an embodiment of the present application as an example, the data splitting method can be applied to the aforementioned terminal device. Figure 1 As shown, the data splitting method includes:

[0038] S101, splitting each product data in the product form according to each packaging data in the packaging form of the target package to obtain each target product data matching each packaging data in the packaging form of the target package;

[0039] S102, obtaining a package form of a target package according to each target product data.

[0040] In some embodiments, the terminal device may first receive a packaging form of at least one package, such as receiving a packaging form of at least one package uploaded by a user. The package is formed by packaging the products corresponding to the product data in the product form. The packaging form of the package records various packaging data, and one packaging data corresponds to a certain product in the package. If the package includes three different products, the packaging form of the package includes three packaging data corresponding to the three products. The packaging data may include a product identifier of a certain product in the package, such as a product number or a product name. If the package includes three different products, namely product A, product B and product C, the packaging form of the package includes a product identifier of product A, a product identifier of product B and a product identifier of product C.

[0041] After receiving the packaging form of at least one package, any package can be selected as the target package, and then the packaging data in the packaging form of the target package is obtained, and the packaging data is matched with each product data in the product form to determine the product data corresponding to the packaging data from the product form. Among them, a product data can record information such as the product identification, quantity, price, currency, consignee, consignor, trade terms, and material description of a certain product. The way to match the packaging data with each product data in the product form can be to match the product identification recorded in the packaging data with the product identification recorded in each product data, so as to determine the product data corresponding to the packaging data from the product data whose product identification is consistent with the product identification of the packaging data.

[0042] After determining the product data corresponding to the packaging data, the product data can be separated from the product form to determine the product data as the target product data. In this way, each target product data matching each packaging data in the packaging form of the target package can be separated from each product data in the product form.

[0043] After data splitting of each product data in the product form is performed to obtain each target product data matching each packaging data, the package form of the target package can be obtained according to each target product data. The package form may include one of a packing list or an invoice. Exemplarily, after obtaining each target product data matching each packaging data, each target product data may be combined, such as inserting each target product data into different rows / columns, so as to obtain a packing list of the target package. Alternatively, an invoice for the target package may be generated according to each target product data and a pre-configured invoice generation rule.

[0044] By using each packaging data in the packaging form of the target package, each product data in the product form is split to obtain each target product data matching each packaging data from each product data, and a package form of the target package is generated according to each target product data, so that the package form obtained after data splitting matches the actual packaging situation of the target package, reducing the inconsistency between the package form and the product in the target package, thereby improving the accuracy of the form obtained by data splitting.

[0045] Considering that the package form is obtained based on the packaging form of the package, if the packaging form of the package is wrong, the package form generated by splitting the product form using the packaging form will be unusable. Therefore, in order to reduce the generation of invalid package forms, in some embodiments, before splitting the product data of the product form according to the packaging data in the packaging form of the target package, the method further includes: obtaining the packaging forms of each package corresponding to the product form; determining that the packaging data recorded in the packaging forms of each package are inconsistent, and obtaining the packaging form of the target package from the packaging forms of each package.

[0046] In some embodiments, each package corresponding to a product form refers to all packages obtained after splitting and packaging all products whose product data is recorded in the product form. After receiving the packaging forms of each package corresponding to the product form, such as receiving the packaging forms of each package corresponding to the product form uploaded by the user, the terminal device can compare the packaging forms between the packages. If there is at least one identical packaging data between any two packaging forms, it means that the product is recorded repeatedly. At this time, it can be determined that the packaging form is wrong, and the product data of the product form is not split. At the same time, a prompt message indicating that the packaging form is wrong can also be generated. Exemplarily, assuming that the packaging data of product A exists in both packaging form 1 and packaging form 2, it means that the packaging data of product A is recorded repeatedly. At this time, it can be determined that the packaging form is wrong and needs to be adjusted.

[0047] If the packing data recorded in each packing form are inconsistent, it means that the same product is not recorded repeatedly in each packing form. At this time, it can be determined that the packing forms of each package are normal, and the packing form of any package is selected from the packing forms of each package to be determined as the packing form of the target package, so as to split the product data of the product form according to the packing data in the packing form to obtain the target product data matching the packing data in the packing form.

[0048] By determining that the packing data recorded in the packing forms of each package are inconsistent, the packing form of the target package is obtained from the packing forms of each package to split the data, thereby avoiding the situation where the package form obtained subsequently using the packing form is unusable due to repeated records of products between the packing forms of each package, and improving the reliability of the package form generated subsequently.

[0049] In order to further improve the accuracy of the generated package form, in some embodiments, data splitting is performed on each product data in the product form according to each packaging data in the packaging form of the target package to obtain each target product data matching each packaging data in the packaging form of the target package, including: according to the product identification and product quantity recorded in the packaging data, obtaining the target product data recording the product identification and product quantity from each product data.

[0050] In some embodiments, in addition to the product identification of the product, the packaging data may also include the product quantity of the product, that is, the number of pieces of the product packaged into the corresponding package. After obtaining each packaging data in the packaging form of the target package, since a product data also records the product identification and product quantity of a certain product, for any packaging data, the product identification and product quantity recorded in the packaging data can be matched with the product identification and product quantity recorded in each product data, so as to obtain product data from each product data whose recorded product identification and product quantity are the same as the product identification and product quantity of the packaging data, thereby determining the product data as the target product data. In this way, it is possible to avoid the situation where the subsequently generated package form is unusable due to the inconsistency between the number of products packaged in the package recorded in the packaging form and the number of products recorded in the target product data, thereby improving the accuracy of the subsequently generated package form.

[0051] In some embodiments, in the process of matching the product identification and product quantity of a certain packaged data record with the product identification and product quantity of each product data record, if it is determined that the target product data that records the product number and product quantity of the packaged data does not exist in each product data, it means that the packaged data record is wrong, and a prompt message indicating that the packaged data is abnormal is generated.

[0052] For example, assuming that the product identification of the packaged data record is a pole piece, and the number of products is 100 pieces, the pole piece and 100 pieces can be used as a set of data {pole piece, 100 pieces}, and then this set of data is matched with each product data in the product form. If the set of data does not exist in each product data, it means that the pole piece does not exist in the product form, or the number of pole pieces is not 100 pieces. Therefore, it can be determined that the content of the packaged data record is wrong, and the corresponding target product data cannot be matched from the product form. At this time, a prompt message for prompting the abnormality of the packaged data can be generated, and the prompt message can be sent to the user terminal of the operator who uploaded the packaged data, or the prompt message can be displayed on the display screen of the terminal device to prompt the user to proofread the packaged data.

[0053] If each piece of packaging data in the packaging form of the target package can be matched with corresponding target product data in the product form, all target product data can be separated from the product form to generate the package form of the target package using the separated target product data.

[0054] Considering the number of data items after the splitting, there is also the possibility that the number of import and export data items required by the customs may not be met. Therefore, in order to avoid generating an invalid package form, in some embodiments, a package form of the target package is obtained according to each target product data, including: performing a quantity detection on each target product data; determining that the quantity of each target product data is less than or equal to a preset value, and obtaining a package form of the target package according to each target product data.

[0055] In some embodiments, after separating each target product data from the product form, the number of each target product data can be counted first, and then the number of each target product data can be compared with a preset value. The preset value can be set according to actual conditions, such as the preset value can be the maximum number of items in a single bill that the customs allows for declaration. Exemplarily, the preset value can be 50.

[0056] If the quantity of each target product data is greater than the preset value, it means that the subsequent package form generated by each target product data does not meet the customs requirements. Since each target product data is determined based on each packaging data in the packaging form, if the quantity of each target product data is greater than the preset value, a prompt message prompting the operator to modify the packaging form and repack the package corresponding to the packaging form can be generated.

[0057] If the quantity of each target product data is less than or equal to the preset value, it means that the package form subsequently generated by each target product data can meet the customs requirements. At this time, the package form of the target package can be generated according to each target product data.

[0058] By performing quantity detection on each target product data and determining that the quantity of each target product data is less than or equal to a preset value, a package form of the target package is obtained based on each target product data, thereby reducing the situation where the generated package form is invalid due to the data quantity not meeting the customs import and export declaration regulations, and improving the accuracy of the generated package form.

[0059] In order to further reduce the situation of generating invalid package forms, in some embodiments, obtaining a package form of a target package according to each target product data includes: determining that there is no package form generated by each target product data, and obtaining a package form of the target package according to each target product data.

[0060] In some embodiments, after each target product data is separated from the product form, it can be first detected whether a package form generated by each target product data already exists. Among them, the way to detect whether a package form generated by each target product data already exists can be to match each target product data with all currently stored package forms to detect whether a currently stored package form is generated by each target product data. For example, the product data that generates the package form can be obtained according to a currently stored package form. After the product data of the package form is obtained, since the package form is generated by the product data separated from the product form, that is, the product data that generate different package forms will not have an intersection, the product data that generates the package form can be matched with each target product data to determine whether there is a package form generated by the target product data. If a product data of the package form is the same as a target product data, it means that the package form is generated by each target product data, and it can be determined that the target product data has generated a package form. If the product data that generates the package form is inconsistent with each target product data, it means that the package form is not generated by each target product data.

[0061] If it is determined that all currently stored package forms are not generated by the target product data, then it can be determined that there is no package form generated by the target product data. At this time, the package form of the target package is generated according to the target product data, thereby reducing the repeated generation of package forms, and further reducing the situation of generating invalid package forms, thereby improving the reliability of package form generation.

[0062] In order to further improve the reliability of the generated parcel form, in some embodiments, after separating each target product data from the product form, the number of each target product data can be counted first, and then the number of each target product data can be compared with a preset value. If the number of each target product data is less than or equal to the preset value, it means that the subsequent parcel form generated by each target product data can meet the customs requirements. At this time, it is detected whether there is already a parcel form generated by each target product data. If it is determined that there is no parcel form generated by each target product data, a parcel form of the target parcel is generated according to each target product data.

[0063] Alternatively, it is also possible to first detect whether a package form generated by each target product data already exists, and if it is determined that a package form generated by each target product data does not exist, then count the number of each target product data, and then compare the number of each target product data with a preset value. If the number of each target product data is less than or equal to the preset value, a package form of the target package is generated according to each target product data.

[0064] However, if there are many package forms stored at the current moment, the method of determining whether there is a package form formed by the target product data through data matching requires multiple matches, and each target product data needs to be matched repeatedly, resulting in low detection efficiency. Therefore, in order to improve the detection efficiency of each target product data, in some embodiments, determining whether there is a package form generated by the target product data includes: detecting the data identifier of each target product data; if there is no data identifier for each target product data, determining that there is no package form generated by each target product data; wherein the data identifier is used to indicate the existence of a package form formed by the target product data.

[0065] In some embodiments, the data identifier may be generated when the terminal device detects that a package form is generated based on the product data, and the product data is marked by the data identifier. Alternatively, the data identifier corresponding to the product data may be generated in response to an operator's marking operation on the product data. If the product data has a corresponding data identifier, it means that a package form generated by the product data already exists. The data identifier may be a color identifier or a character identifier, etc.

[0066] After separating each target product data from the product form, it can be detected whether each target product data has a corresponding data identifier. If it is detected that at least one target product data has a data identifier, it means that the corresponding package form has been generated through the target product data. At this time, the package form is stopped from being formed according to each target product data, and a prompt message is generated to indicate that there is a package form generated by the target product data. If it is detected that none of the target product data has a data identifier, it means that there is no package form generated by the target product data. At this time, the package form of the target package is obtained according to each target product data.

[0067] By detecting the data identifier of each target product data, it is determined whether there is a package form generated by the target product data. When there is no data identifier for each target product data, it is determined that there is no package form generated by each target product data. Therefore, it is only necessary to detect the data identifier of the product data, without multiple matching of each product data, to determine whether there is a package form generated by the target product data, thereby improving the detection efficiency of the target product data.

[0068] Considering that the generated package form includes an invoice and a packing list, and the packing list usually needs to determine the package corresponding to it, if the number of packages corresponding to the product form is large, the user may not be able to distinguish which package the packing list belongs to. Therefore, in some embodiments, according to each of the target product data, the package form of the target package is obtained, including: according to each of the target product data, obtaining the initial packing list of the package; according to the initial packing list and the package identifier recorded in the packing form, obtaining the package form of the target package.

[0069] In some embodiments, the packing form of each package may record in advance the package identification of the corresponding package, and the package identification may be the package number or characters, etc. For example, assuming that the number of a certain package is 100, the package identification numbered 100 may be recorded in the uploaded packing form to identify the package corresponding to the packing form.

[0070] After obtaining the target product data that matches the packaging data recorded in the packaging form of the target package, the target product data can be combined, such as inserting each target product data into different rows / columns, so as to obtain the initial packing list of the target package. After obtaining the initial packing list of the target package, the package identifier recorded in the packaging form of the target package can be added to the initial packing list to obtain the package form of the target package. In this way, the user can determine which package the package form belongs to by the package identifier in the package form, so as to facilitate the user to distinguish the package forms.

[0071] In addition to the packing list, the parcel form can also include the invoice and invoice number, the total quantity of each product corresponding to each target product data, the total price and total weight, etc. In addition, according to user needs, each target product data can be generated into a parcel form including an export invoice and a packing list with the customs declaration stamp of each customs declaration entity. At the same time, the generated export customs declaration invoice and packing list are automatically retained in the document library and can be exported at any time.

[0072] In order to make the purpose, technical solution and advantages of this application clearer, the following Figure 2 , clearly and completely describe the technical solutions in this application. In some embodiments, Figure 2 As shown, the method includes:

[0073] S201, receiving a packaging form of a target package.

[0074] S202, matching each packaged data in the packaged form with the product form, and separating each target product data matching each packaged data from each product data in the product form.

[0075] Among them, the data matching method between the packaged data and the product form can be to match the product identification and product quantity recorded in the packaged data with the product identification and product quantity recorded in the product data in the product form, so as to use the product data that matches the product identification and product quantity recorded in the packaged data as the target product data.

[0076] S203, detecting whether the quantity of each target product data exceeds a preset value.

[0077] Exemplarily, it may be detected whether the number of each target product data exceeds 50 items; if so, return to S201 to receive a new packing list of the target package; otherwise, execute S204;

[0078] S204, checking whether a package form generated by each target product data already exists; if so, ending this process; otherwise, executing S205;

[0079] S205: Generate a package form of the target package according to the target product data.

[0080] Figure 3 The present application provides a schematic diagram of the structure of a data splitting device. It should be understood that the device and Figure 1Corresponding to the method embodiment executed in, the steps involved in the aforementioned method can be executed. The specific functions of the device can be found in the description above. To avoid repetition, the detailed description is appropriately omitted here. The device includes at least one software function module that can be stored in a memory in the form of software or firmware or solidified in the operating system (OS) of the device. Specifically, the device includes: a data splitting module 301, which is used to split the product data of the product form according to the packaging data in the packaging form of the target package, and obtain the target product data that matches the packaging data in the packaging form of the target package; a form generation module 302, which is used to obtain the package form of the target package according to the target product data; wherein the packaging data includes a product identifier.

[0081] In the technical solution of the embodiment of the present application, data splitting is performed on each product data in the product form through each packaging data in the packaging form of the target package, so as to obtain each target product data matching each packaging data from each product data, and generate a package form of the target package according to each target product data, so that the package form obtained after data splitting matches the actual packaging situation of the target package, reducing the inconsistency between the package form and the product in the target package, thereby improving the accuracy of the form obtained by data splitting.

[0082] According to some embodiments of the present application, the data splitting module 301 is also used to: obtain the packing form of each package corresponding to the product form; determine that the packing data recorded in the packing forms of each package are inconsistent, and obtain the packing form of the target package from the packing forms of each package.

[0083] According to some embodiments of the present application, the data splitting module 301 is specifically used to obtain target product data recording the product identification and the product quantity from each of the product data according to the product identification and the product quantity recorded in the packaged data.

[0084] According to some embodiments of the present application, the data splitting module 301 is also used to: determine that there is no target product data recording the product identifier and the product quantity in each of the product data, and generate prompt information indicating that the packaging data is abnormal.

[0085] According to some embodiments of the present application, the form generation module 302 is specifically used to: perform quantity detection on each of the target product data; determine that the quantity of each of the target product data is less than or equal to a preset value, and obtain a package form of the target package based on each of the target product data.

[0086] According to some embodiments of the present application, the form generation module 302 is specifically used to: determine that there is no package form generated by each of the target product data, and obtain a package form of the target package according to each of the target product data.

[0087] According to some embodiments of the present application, the form generation module 302 is specifically used to: detect the data identifier of each of the target product data; if no data identifier exists for each of the target product data, determine that there is no package form generated by each of the target product data; wherein the data identifier is used to indicate the existence of a package form formed by the target product data.

[0088] According to some embodiments of the present application, the form generation module 302 is specifically used to: obtain the initial packing list of the package based on the target product data; obtain the package form of the target package based on the initial packing list and the package identifier recorded in the packing form.

[0089] According to some embodiments of the present application, Figure 4 As shown, the present application provides an electronic device 40, including: a processor 401 and a memory 402, the processor 401 and the memory 402 are interconnected and communicate with each other through a communication bus 403 and / or other forms of connection mechanisms (not shown), the memory 402 stores a computer program executable by the processor 401, and when the computing device is running, the processor 401 executes the computer program to execute a method executed by an external terminal in any optional implementation manner, for example: according to each packaging data in the packaging form of the target package, data is split for each product data in the product form to obtain each target product data matching each packaging data in the packaging form of the target package; according to each of the target product data, a package form of the target package is obtained; wherein the packaging data includes a product identifier.

[0090] The present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method in any of the aforementioned optional implementations is executed.

[0091] Among them, the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable red-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0092] The present application provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the method in any optional implementation manner.

[0093] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application, and they should all be included in the scope of the claims and specification of the present application. In particular, as long as there is no structural conflict, the various technical features mentioned in the various embodiments can be combined in any way. The present application is not limited to the specific embodiments disclosed herein, but includes all technical solutions that fall within the scope of the claims.

Claims

1. A data splitting method, characterized in that: include: Get the packaging form of each package corresponding to the product form; Determining that the packing data recorded in the packing forms of the packages are inconsistent, and obtaining the packing form of the target package from the packing forms of the packages; According to each packing data in the packing form of the target package, data splitting is performed on each product data in the product form to obtain each target product data matching each packing data in the packing form of the target package; Determining that there is no package form generated by any of the target product data, and obtaining a package form of the target package according to each of the target product data; The packages corresponding to the product form refer to all packages obtained after all products recorded in the product form are split and packaged; The packaging data includes a product identification; According to each packaging data in the packaging form of the target package, each product data in the product form is split to obtain each target product data matching each packaging data in the packaging form of the target package, including: According to the product identification and product quantity recorded in the packaging data, target product data whose recorded product identification and product quantity are the same as those of the packaging data are obtained from each product data.

2. The method according to claim 1, characterized in that The method further comprises: It is determined that there is no target product data recording the product identifier and the product quantity in each of the product data, and a prompt message indicating that the packaging data is abnormal is generated.

3. The method according to claim 1, characterized in that: According to each of the target product data, a package form of the target package is obtained, including: Performing quantity detection on each of the target product data; It is determined that the quantity of each target product data is less than or equal to a preset value, and a package form of the target package is obtained according to each target product data.

4. The method according to claim 1, characterized in that: Determining that there is no package form generated by the target product data includes: Detecting the data identification of each of the target product data; In the case that the data identifier does not exist for each of the target product data, determining that there is no package form generated by each of the target product data; The data identifier is used to indicate the existence of a package form formed by the target product data.

5. The method according to claim 1, characterized in that According to each of the target product data, a package form of the target package is obtained, including: Obtaining an initial packing list of the package according to the target product data; The package form of the target package is obtained according to the initial packing list and the package identification recorded in the packing form.

6. A data splitting device, characterized in that: The device comprises: A data splitting module, used for splitting the product data in the product form according to the packaging data in the packaging form of the target package, to obtain the target product data matching the packaging data in the packaging form of the target package; A form generating module, used for determining that there is no package form generated by any of the target product data, and obtaining a package form of the target package according to each of the target product data; Wherein, the packaging data includes a product identification; The data splitting module is also used for: Get the packaging form of each package corresponding to the product form; Determining that the packing data recorded in the packing forms of the packages are inconsistent, and obtaining the packing form of the target package from the packing forms of the packages; The packages corresponding to the product form refer to all packages obtained after all products recorded in the product form are split and packaged; The data splitting module is specifically used for: According to the product identification and product quantity recorded in the packaging data, target product data whose recorded product identification and product quantity are the same as those of the packaging data are obtained from each product data.

7. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Factory part packaging mistake-proofing system

    CN110738447A

  • Order splitting method and device, storage medium and computer equipment

    CN116862372A