CN117875845A - Data splitting method and device, electronic equipment and storage medium - Google Patents

Data splitting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117875845A
CN117875845A CN202410264616.3A CN202410264616A CN117875845A CN 117875845 A CN117875845 A CN 117875845A CN 202410264616 A CN202410264616 A CN 202410264616A CN 117875845 A CN117875845 A CN 117875845A
Authority
CN
China
Prior art keywords
package
data
target
product
product data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410264616.3A
Other languages
Chinese (zh)
Inventor
张秀洲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Contemporary Amperex Technology Co Ltd
Original Assignee
Contemporary Amperex Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Contemporary Amperex Technology Co Ltd filed Critical Contemporary Amperex Technology Co Ltd
Priority to CN202410264616.3A priority Critical patent/CN117875845A/en
Publication of CN117875845A publication Critical patent/CN117875845A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a data splitting method, a data splitting device, electronic equipment and a storage medium. The data splitting method comprises the following steps: according to each package data in the package form of the target package, carrying out data splitting on each product data of the product form to obtain each target product data matched with each package data in the package form of the target package; obtaining a package form of the target package according to the data of each target product; wherein the packaged data includes a product identification. The data splitting method provided by the embodiment of the application can improve the accuracy of the form obtained through data splitting.

Description

Data splitting method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data splitting method, a data splitting device, an electronic device, and a storage medium.
Background
Currently, when a lot of products are imported and exported, a report is required through a product form, such as a delivery notice form or a shipment notice form, in which product data of the lot of products is recorded. The number of product items in the delivery notification form or the shipping notification form may be large, so that the product form recorded with the product data of multiple categories usually needs to be split into data for convenient reporting.
In the related art, the product data in the product form is split in sequence, so that a package form of each package, such as an invoice and/or a box form of each package, is formed according to the split product data. However, in the process of packaging each product corresponding to each product data in the product form, in order to improve packaging efficiency, packaging is usually performed according to the size and the site condition of the product, so packaging cannot be performed according to the sequence of the product data in the product form during packaging, and the products in the packaged package are inconsistent with the package form obtained according to the split product data, so that the accuracy of the form obtained through data splitting is affected.
Disclosure of Invention
In view of the above problems, the present application provides a data splitting method, a device, an electronic apparatus, and a storage medium, which improve accuracy of a form obtained by data splitting.
In a first aspect, the present application provides a data splitting method, the method comprising: according to each package data in the package form of the target package, carrying out data splitting on each product data of the product form to obtain each target product data matched with each package data in the package form of the target package; obtaining a package form of the target package according to the data of each target product; wherein the packaged data includes a product identification.
According to the technical scheme, through each package data in the package form of the target package, data splitting is carried out on each product data of the product form, so that each target product data matched with each package data is obtained from each product data, and according to each target product data, the package form of the target package is generated, so that the package form obtained after data splitting is matched with the actual package condition of the target package, the situation that the package form is inconsistent with products in the target package is reduced, and the accuracy of the form obtained through data splitting is improved.
In some embodiments, the method further comprises: obtaining a packaging form of each package corresponding to the product form; and determining that the package data recorded between the package forms of the packages are inconsistent, and acquiring the package form of the target package from the package forms of the packages. Under the condition that the packed data recorded among the packed forms of all the packages are inconsistent, the packed forms of the target packages are acquired from the packed forms of all the packages to split the data, so that the situation that the package forms obtained by the subsequent use of the packed forms are unavailable due to repeated recording of products among the packed forms of all the packages is avoided, and the reliability of the subsequently generated package forms is improved.
In some embodiments, according to each package data in the package form of the target package, splitting data of each product data of the product form to obtain each target product data matched with each package data in the package form of the target package, including: and obtaining target product data recorded with the product identifier and the product number from the product data according to the product identifier and the product number recorded by the packed data. Therefore, the situation that the subsequently generated package form is unavailable due to the fact that the number of packaged products of the package form record is inconsistent with the number of products of the target product data record can be avoided, and the accuracy of the subsequently generated package form is improved.
In some embodiments, the method further comprises: and determining that target product data recorded with the product identifiers and the product quantity does not exist in the product data, and generating prompt information for prompting the abnormality of the packed data.
In some embodiments, obtaining a package form of the target package according to each target product data includes: detecting the quantity of each target product data; and determining that the number of the target product data is smaller than or equal to a preset value, and obtaining a package form of the target package according to the target product data. And under the condition that the quantity of the target product data is less than or equal to a preset value, obtaining a package form of the target package according to the target product data, thereby reducing the condition that the generated package form is invalid due to the fact that the data quantity does not meet the import and export customs clearance regulations of customs, and improving the accuracy of the generated package form.
In some embodiments, obtaining a package form of the target package according to each target product data includes: and determining that no package form generated by each target product data exists, and obtaining the package form of the target package according to each target product data. Therefore, repeated generation of the package forms can be reduced, invalid package forms are generated, and reliability of package form generation is improved.
In some embodiments, determining that there is no parcel form generated from the target product data comprises: detecting the data identification of each target product data; under the condition that the data identification does not exist in each target product data, determining that the package form generated by each target product data does not exist; wherein the data identifier is used for indicating that a package form formed by the target product data exists. And judging whether the package form generated by the target product data exists or not by detecting the data identification of each target product data, so that the package form generated by each target product data does not exist under the condition that the data identification does not exist in each target product data, and judging whether the package form generated by the target product data exists or not by detecting the data identification of the product data without carrying out multiple matching on each product data, and improving the detection efficiency of the target product data.
In some embodiments, obtaining a package form of the target package according to each target product data includes: obtaining an initial box list of the package according to the target product data; and obtaining the package form of the target package according to the initial box form and the package identifier recorded by the package form, thereby facilitating the distinction of the package form.
In a second aspect, the present application provides a data splitting apparatus, comprising: the data splitting module is used for splitting the data of each product of the product form according to each package data in the package form of the target package to obtain each target product data matched with each package data in the package form of the target package; the form generation module is used for obtaining a package form of the target package according to the target product data; wherein the packaged data includes a product identification.
According to the technical scheme, the package data in the package form of the target package are utilized to split the data of each product data of the product form, so that each target product data matched with each package data is obtained from each product data, and the package form of the target package is generated according to each target product data, so that the package form obtained after the data splitting is matched with the actual package condition of the target package, the situation that the package form is inconsistent with the products in the target package is reduced, and the accuracy of the form obtained through the data splitting is improved.
In a third aspect, the present application provides an electronic device comprising a memory storing a computer program and a processor executing the method in an implementation of the first aspect when the computer program is executed.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method in an implementation of the first aspect.
In a fifth aspect, the present application provides a computer program product which, when run on a computer, causes the computer to perform the method of any one of the alternative implementations of the first aspect.
The foregoing description is only an overview of the technical solutions of the present application, and may be implemented according to the content of the specification in order to make the technical means of the present application more clearly understood, and in order to make the above-mentioned and other objects, features and advantages of the present application more clearly understood, the following detailed description of the present application will be given.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. And like reference numerals are used to designate like components throughout the figures. In the drawings:
FIG. 1 is a first flow chart of a data splitting method according to some embodiments of the present application;
FIG. 2 is a second flowchart of a data splitting method according to some embodiments of the present application;
FIG. 3 is a schematic diagram illustrating a structure of a data splitting apparatus according to some embodiments of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to some embodiments of the present application.
Reference numerals in the specific embodiments are as follows:
301-a data splitting module; 302-a form generation module; 40-an electronic device; 401-a processor; 402-memory; 403-communication bus.
Detailed Description
Embodiments of the technical solutions of the present application will be described in detail below with reference to the accompanying drawings. The following examples are only for more clearly illustrating the technical solutions of the present application, and thus are only examples, and are not intended to limit the scope of protection of the present application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having" and any variations thereof in the description and claims of the present application and in the description of the figures above are intended to cover non-exclusive inclusions.
In the description of the embodiments of the present application, the technical terms "first," "second," etc. are used merely to distinguish between different objects and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated, a particular order or a primary or secondary relationship. In the description of the embodiments of the present application, the meaning of "plurality" is two or more unless explicitly defined otherwise.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In the description of the embodiments of the present application, the term "and/or" is merely an association relationship describing an association object, which means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
In the description of the embodiments of the present application, the term "plurality" refers to two or more (including two), and similarly, "plurality" refers to two or more (including two), and "plurality" refers to two or more (including two).
Currently, when a lot of products are imported and exported, the products are required to be checked out through a product form, such as a delivery notification form or a delivery notification form, in which product data is recorded. However, the number of items of product in the partial delivery notification form or the delivery notification form may be large, for example, there are various kinds of after-market parts related to devices such as vehicles or batteries, and the amount of the outgoing products of individual items is small, so that the number of items of product data in the product form may be up to 500 items when the spare parts for such devices are imported and exported, which does not meet the customs import and export customs declaration regulations. Therefore, the product forms recorded with the product data of multiple categories need to be subjected to data splitting to form the package forms of the packages so as to be convenient for reporting.
In the related art, the product data in the product form is split in sequence, so that a package form of each package, such as an invoice and/or a box form of each package, is formed according to the split product data. However, in the process of packaging each product corresponding to each product data in the product form, in order to improve packaging efficiency, packaging is usually performed according to the size and the site condition of the product, so that packaging cannot be performed according to the sequence of the product data in the product form or the package form during packaging, and the products in the package after packaging are inconsistent with the package form obtained according to the split product data, so that the accuracy of the form obtained through data splitting is affected.
In view of the above technical problems, the embodiments of the present application provide a data splitting method, which performs data splitting on each product data of a product form through each package data in a package form of a target package, so as to obtain each target product data matched with each package data from each product data, and generates a package form of the target package according to each target product data, so that a package form obtained after data splitting is matched with an actual package condition of the target package, and the occurrence of inconsistent conditions of the package form and products in the target package is reduced, thereby improving the accuracy of the form obtained through data splitting.
The data splitting method, the device, the electronic equipment and the storage medium disclosed by the embodiment of the application can be applied to terminal equipment and are used for splitting product data in a product form. The terminal device may be a desktop terminal, a mobile terminal or a server, and the server may be an independent server or a server cluster formed by a plurality of servers, or may be a cloud server for providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, basic cloud computing services such as big data and artificial intelligent sampling point devices, and the like.
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 may be applied to the foregoing terminal device. As shown in fig. 1, the data splitting method includes:
s101, according to each package data in a package form of a target package, splitting the data of each product data of a product form to obtain each target product data matched with each package data in the package form of the target package;
s102, obtaining a package form of the target package according to the data of each target product.
In some embodiments, the terminal device may first receive a packaged form of at least one package, such as a packaged form of at least one package uploaded by the user. The package is formed by packing products corresponding to the product data in the product form. Each package data is recorded in the package form of the package, one package data corresponds to one product in the package, if the package comprises three different products, the package form of the package comprises three package data corresponding to the three products one by one. The package data may include a product identification, such as a product number or product name, for a product in the package. If the package includes three different products, namely, product a, product B and product C, the package form of the package includes the product identifier of product a, the product identifier of product B and the product identifier of product C.
After receiving the package form of at least one package, any package can be selected as a target package, package data in the package form of the target package is obtained, and the package data is matched with each product data of the product form so as to determine the product data corresponding to the package data from the product form. Wherein, a piece of product data can record the information such as product identification, quantity, price, currency system, receiver, shipper, trade clause and material description of a certain product. The method of matching the packed data with each product data of the product form may be to match the product identifier of the packed data record with the product identifier of each product data record, so as to determine the product data corresponding to the packed data from the product data consistent with the product identifier of the packed data in each product data.
After determining the product data corresponding to the packaged data, the product data may be split from the product form to determine the product data as the target product data. Thus, each target product data matched with each package data in the package form of the target package can be obtained by splitting from each product data of the product form.
After the data splitting is carried out on each product data of the product form to obtain each target product data matched with each package data, the package form of the target package can be obtained according to each target product data. Wherein the package form may include one of a box form or an invoice. For example, after obtaining the target product data matched with the package data, the target product data may be combined, e.g., each item of target product data is inserted into a different row/column, respectively, to obtain the box of the target package. Alternatively, an invoice for the target package may be generated based on each target product data and a pre-configured invoice generation rule.
And carrying out data splitting on each product data of the product form through each package data in the package form of the target package to obtain each target product data matched with each package data from each product data, and generating the package form of the target package according to each target product data, so that the package form obtained after data splitting is matched with the actual package condition of the target package, the condition that the package form is inconsistent with the products in the target package is reduced, and the accuracy of the form obtained through data splitting is improved.
In consideration of the fact that the package form is obtained based on the package form of the package, if the package form of the package is wrong, the package form generated by splitting data of the product form by using the package form is not available. Thus, to reduce the generation of invalid parcel forms, in some embodiments, before splitting each product data of a product form according to each packaged data in the packaged form of the target parcel, the method further comprises: obtaining a packaging form of each package corresponding to the product form; and determining that the recorded package data among the package forms of the packages are inconsistent, and acquiring the package form of the target package from the package forms of the packages.
In some embodiments, each package corresponding to a product form refers to all packages obtained by splitting and packaging all products recorded in the product form. And the terminal equipment can compare the packaging forms among the packages after receiving the packaging forms of the packages corresponding to the product forms, such as receiving the packaging forms of the packages corresponding to the product forms uploaded by the user. If at least one piece of same package data exists between any two package forms, the fact that the product is repeatedly recorded is indicated, at the moment, errors of the package forms can be determined, data splitting is not carried out on the product data of the product forms, and meanwhile prompt information for prompting errors of the package forms can be generated. For example, assuming that the package data of the product a exists in both the package form 1 and the package form 2, the package data of the product a is repeatedly recorded, and at this time, it may be determined that the package form is in error, and adjustment is required.
If the package data recorded between the package forms are inconsistent, the fact that the same product is not repeatedly recorded between the package forms is indicated, at the moment, the package forms of packages can be determined to be normal, any package form of packages is selected from the package forms of packages, the package form of the packages is determined to be a package form of a target package, and according to the package data in the package forms, data splitting is carried out on the product data of the product forms to obtain the target product data matched with the package data in the package forms.
Under the condition that the packed data recorded among the packed forms of all the packages are inconsistent, the packed forms of the target packages are acquired from the packed forms of all the packages to split the data, so that the situation that the package forms obtained by the subsequent use of the packed forms are unavailable due to repeated recording of products among the packed forms of all the packages is avoided, and the reliability of the subsequently generated package forms is improved.
In order to further improve accuracy of the generated package form, in some embodiments, according to each package data in the package form of the target package, splitting data of each product data of the product form to obtain each target product data matched with each package data in the package form of the target package, including: and obtaining target product data recorded with the product identifiers and the product numbers from the product data according to the product identifiers and the product numbers recorded by the packed data.
In some embodiments, the packaged data may include, in addition to the product identification of the product, the number of products of the product, i.e., the number of pieces that the product is packaged into a corresponding package. After each package data in the package form of the target package is obtained, since one piece of product data is also recorded with the product identifier and the product number of a certain product, the product identifier and the product number recorded by the package data can be matched with the product identifier and the product number recorded by each product data for any package data, so that the recorded product identifier and the product number are obtained from each product data, and the product data which are the same as the product identifier and the product number of the package data are determined as the target product data. Therefore, the situation that the subsequently generated package form is unavailable due to the fact that the number of packaged products of the package form record is inconsistent with the number of products of the target product data record can be avoided, and the accuracy of the subsequently generated package form is improved.
In some embodiments, in the process of matching the product identifier and the product number of a certain piece of packed data record with the product identifier and the product number of each piece of product data record, if it is determined that the target product data recorded with the product number and the product number of the packed data does not exist in each piece of product data, the error of the packed data record is indicated, and at the moment, prompt information for prompting that the packed data is abnormal is generated.
For example, assuming that the product of the packed data record is identified as a pole piece and the number of products is 100, the pole piece and 100 pieces may be used as a set of data sets { pole piece, 100 pieces }, and then the set of data sets may be matched with each product data in the product form. If the group of data sets do not exist in each product data, the fact that the pole pieces do not exist in the product form or the number of the pole pieces is not 100 is indicated, so that errors in the content of the packaged data records can be determined, 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 packed data may be generated, and the prompt message may be sent to a user terminal of an operator uploading the packed data, or the prompt message may be displayed on a display screen of the terminal device, so as to prompt the user to check the packed data.
If each piece of packed data of the packed form of the target package can be matched with the corresponding target product data in the product form, all the target product data can be split from the product form, and the split target product data can be used for generating the packed form of the target package.
In consideration of the number of split data items, there is a possibility that the number of customs import and export data items is not satisfied, so in order to avoid generating an invalid package form, in some embodiments, the package form of the target package is obtained according to each target product data, including: detecting the quantity of each target product data; and determining that the number of the target product data is smaller than or equal to a preset value, and obtaining a package form of the target package according to the target product data.
In some embodiments, after each target product data is split from the product form, the number of each target product data may be counted first, and then the number of each target product data is compared with a preset value. The preset value may be set according to practical situations, for example, the preset value may be a maximum value of the number of items of the customs clearance ticket. The preset value may be, for example, 50.
If the number of the target product data is larger than the preset value, the fact that the package form generated by the target product data does not meet the customs requirements is indicated. And because each target product data is determined based on each package data in the package form, if the number of each target product data is larger than the preset value, a prompt message prompting the modification of each package data in the package form can be generated so as to prompt an operator to modify the package form and repackage the package corresponding to the package form.
If the number of the target product data is smaller than or equal to the preset value, the fact that the package form generated by the target product data can meet the customs requirements is indicated, and at the moment, the package form of the target package can be generated according to the target product data.
And under the condition that the quantity of the target product data is less than or equal to a preset value, obtaining a package form of the target package according to the target product data, thereby reducing the condition that the generated package form is invalid due to the fact that the data quantity does not meet the import and export customs clearance regulations of customs, and improving the accuracy of the generated package form.
To further reduce the generation of invalid parcel forms, in some embodiments, the method for obtaining parcel forms for target parcels from target product data includes: and determining that no package form generated by the target product data exists, and obtaining the package form of the target package according to the target product data.
In some embodiments, after each target product data is split from the product form, it may be first detected whether there has been a parcel form generated from each target product data. The method of detecting whether the package form generated by each target product data already exists may be to match each target product data with all package forms stored currently, so as to detect whether a certain package form stored currently is generated by each target product data. For example, each product data for generating a package form can be obtained according to a certain package form stored currently. After each product data of the package form is obtained, the package form is generated by splitting the product data from the product form, namely, the product data for generating different package forms does not have intersection, so that each product data for generating the package form can be matched with each target product data to judge whether the package form generated by the target product data exists. If the certain product data of the package form is the same as the certain target product data, the package form is generated by the target product data, and at the moment, the fact that the package form is generated by the target product data can be determined. If the product data of the package form is generated and is inconsistent with the target product data, the package form is indicated not to be generated by the target product data.
If all the currently stored package forms are determined not to be generated by the target product data, the fact that the package forms generated by the target product data do not exist can be determined, and then the package forms of the target packages are generated according to the target product data, so that repeated generation of the package forms can be reduced, invalid package forms are generated, and the reliability of package form generation is improved.
To further improve the reliability of the generated package form, in some embodiments, after each target product data is split from the product form, the number of each target product data may be counted first, and then the number of each target product data is compared with a preset value. If the number of the target product data is smaller than or equal to the preset value, the fact that the package form generated by the target product data can meet the customs requirements is indicated, whether the package form generated by the target product data exists or not is detected, and under the condition that the package form generated by the target product data does not exist, the package form of the target package is generated according to the target product data.
Or, it may first detect whether there is a package form generated by each target product data, and if it is determined that there is no package form generated by each target product data, 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 the target product data is smaller than or equal to the preset value, generating a package form of the target package according to the target product data.
In addition, if there are more package forms stored at the present moment, the data matching is used to determine whether there are package forms formed by the target product data, multiple matching is required, and multiple repeated matching is required for each target product data, so that the detection efficiency is low. Thus, to increase the efficiency of detection of each target product data, in some embodiments, determining that there is no parcel form generated from the target product data includes: detecting the data identification of each target product data; under the condition that the data identification does not exist in each target product data, determining that the package form generated by each target product data does not exist; wherein the data identification indicates the presence of a parcel form formed from the target product data.
In some embodiments, the data identifier may be a data identifier corresponding to the product data generated when the terminal device detects that the package form is generated according to 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 a marking operation of the product data by an operator. If the corresponding data identification exists in the product data, the package form generated by the product data is indicated to exist. Wherein the data identifier may be a color identifier or a character identifier, etc.
After each target product data is split from the product form, whether the corresponding data identification exists in each target product data can be detected. If the data identification of at least one target product data is detected, the fact that the corresponding package form is generated through the target product data is indicated, at the moment, the package form formation according to each target product data is stopped, and prompt information for prompting the existence of the package form generated by the target product data is generated. If the fact that the data identification does not exist in all the target product data is detected, the fact that the package form generated by all the target product data does not exist is indicated, and at the moment, the package form of the target package is obtained according to all the target product data.
And judging whether the package form generated by the target product data exists or not by detecting the data identification of each target product data, so that the package form generated by each target product data does not exist under the condition that the data identification does not exist in each target product data, and judging whether the package form generated by the target product data exists or not by detecting the data identification of the product data without carrying out multiple matching on each product data, and improving the detection efficiency of the target product data.
Considering that the generated package forms include an invoice and a case form, the case form generally needs to determine packages corresponding to the invoice, so if the number of packages corresponding to the product form is large, a situation that a user cannot distinguish which package the case form belongs to may occur. Thus, in some embodiments, deriving a package form for the target package from each of the target product data includes: obtaining an initial package list according to the data of each target product; and obtaining the package form of the target package according to the initial box form and the package identifier recorded by the package form.
In some embodiments, the package form of each package may be pre-recorded with the package identifier of its corresponding package, which may be the number or character of the package, etc. For example, assuming that a package is numbered 100, the package identifier of the number 100 may be recorded in the package form uploaded by the package to identify the package corresponding to the package form.
After obtaining each target product data matched with each package data recorded in the package form of the target package, each target product data may be combined, for example, each item of target product data is inserted into a different row/column, so as to obtain an initial box form of the target package. After the initial box form of the target package is obtained, the package identifier recorded in the package form of the target package can be added to the initial box form to obtain the package form of the target package. Therefore, the user can determine which package the package form belongs to through the package identification in the package form, so that the user can conveniently distinguish the package forms.
Besides the box form, the package form can also comprise information such as an invoice, an invoice number, the total quantity of products corresponding to the target product data, the total price, the total weight and the like. In addition, the target product data can be generated into a package form comprising an export invoice and a box bill with special customs seal of each customs declaration main body according to the requirement of a user, and meanwhile, the generated export customs invoice and box bill can be automatically stored in a bill library and can be exported at any time.
For the purpose of making the objects, technical solutions and advantages of the present application more clear, the technical solutions in the present application will be clearly and completely described below with reference to fig. 2. In some embodiments, as shown in fig. 2, the method includes:
s201, receiving a packaging form of the target package.
S202, carrying out data matching on each package data in the package form and the product form, and splitting each target product data matched with each package data from each product data of the product form.
The data matching method of the package data and the product form may be to match the product identifier and the product number of the package data record with the product identifier and the product number of the product data record in the product form, so as to use the product data matched with the product identifier and the product number of the package data record as the target product data.
S203, detecting whether the number of the target product data exceeds a preset value.
By way of example, it may be detected whether the number of each target product data exceeds 50 items; if yes, returning to S201, and re-receiving a packing box list of the new target package; otherwise, executing S204;
s204, detecting whether a package form generated by each target product data exists or not; if yes, ending the process; otherwise, S205 is performed;
s205, generating a package form of the target package according to the data of each target product.
Fig. 3 shows a schematic structural diagram of a data splitting apparatus provided in the present application, and it should be understood that the apparatus corresponds to the embodiment of the method performed in fig. 1, and is capable of performing the steps involved in the foregoing method, and specific functions of the apparatus may be referred to in the foregoing description, and detailed descriptions thereof are omitted herein as appropriate to avoid redundancy. The device includes at least one software functional module that can be stored in memory in the form of software or firmware (firmware) or cured in an Operating System (OS) of the device. Specifically, the device comprises: the data splitting module 301 is configured to split data of each product data of the product form according to each package data in the package form of the target package, so as to obtain each target product data matched with each package data in the package form of the target package; the form generation module 302 is configured to obtain a package form of the target package according to the data of each target product; wherein the packaged data includes a product identification.
According to the technical scheme, through each package data in the package form of the target package, data splitting is carried out on each product data of the product form, so that each target product data matched with each package data is obtained from each product data, and according to each target product data, the package form of the target package is generated, so that the package form obtained after data splitting is matched with the actual package condition of the target package, the situation that the package form is inconsistent with products in the target package is reduced, and the accuracy of the form obtained through data splitting is improved.
According to some embodiments of the present application, the data splitting module 301 is further configured to: obtaining a packaging form of each package corresponding to the product form; and determining that the package data recorded between the package forms of the packages are inconsistent, and acquiring the package form of the target package from the package forms of the packages.
According to some embodiments of the present application, the data splitting module 301 is specifically configured to: and obtaining target product data recorded with the product identifier and the product number from the product data according to the product identifier and the product number recorded by the packed data.
According to some embodiments of the present application, the data splitting module 301 is further configured to: and determining that target product data recorded with the product identifiers and the product quantity does not exist in the product data, and generating prompt information for prompting the abnormality of the packed data.
According to some embodiments of the present application, the form generation module 302 is specifically configured to: detecting the quantity of each target product data; and determining that the number of the target product data is smaller than or equal to a preset value, and obtaining a package form of the target package according to the target product data.
According to some embodiments of the present application, the form generation module 302 is specifically configured to: and determining that no package form generated by each target product data exists, and obtaining the package form of the target package according to each target product data.
According to some embodiments of the present application, the form generation module 302 is specifically configured to: detecting the data identification of each target product data; under the condition that the data identification does not exist in each target product data, determining that the package form generated by each target product data does not exist; wherein the data identifier is used for indicating that a package form formed by the target product data exists.
According to some embodiments of the present application, the form generation module 302 is specifically configured to: obtaining an initial box list of the package according to the target product data; and obtaining the package form of the target package according to the initial box form and the package identifier recorded by the package form.
According to some embodiments of the present application, as shown in fig. 4, the present application provides an electronic device 40, comprising: processor 401 and memory 402, the processor 401 and memory 402 being interconnected and in communication with each other by a communication bus 403 and/or other form of connection mechanism (not shown), the memory 402 storing a computer program executable by the processor 401, the processor 401 executing the computer program when the computing device is running to perform the method performed by the external machine in any alternative implementation, such as: according to each package data in the package form of the target package, carrying out data splitting on each product data of the product form to obtain each target product data matched with each package data in the package form of the target package; obtaining a package form of the target package according to the data of each target product; wherein the packaged data includes a product identification.
The present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs a method in any of the foregoing alternative implementations.
The storage medium may be implemented by any type of volatile or nonvolatile Memory device or combination thereof, such as static random access Memory (Static Random Access Memory, SRAM), electrically erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), programmable Read-Only Memory (PROM), read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk.
The present application provides a computer program product which, when run on a computer, causes the computer to perform the method in any of the alternative implementations.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the embodiments, and are intended to be included within the scope of the claims and description. In particular, the technical features mentioned in the respective embodiments may be combined in any manner as long as there is no structural conflict. The present application is not limited to the specific embodiments disclosed herein, but encompasses all technical solutions falling within the scope of the claims.

Claims (11)

1. A method of data splitting, comprising:
according to each package data in the package form of the target package, carrying out data splitting on each product data of the product form to obtain each target product data matched with each package data in the package form of the target package;
obtaining a package form of the target package according to the data of each target product;
wherein the packaged data includes a product identification.
2. The method according to claim 1, wherein the method further comprises:
obtaining a packaging form of each package corresponding to the product form;
and determining that the package data recorded between the package forms of the packages are inconsistent, and acquiring the package form of the target package from the package forms of the packages.
3. The method according to claim 1 or 2, wherein splitting the data of each product of the product form according to each package data in the package form of the target package to obtain each target product data matched with each package data in the package form of the target package, comprises:
and obtaining target product data recorded with the product identifier and the product number from the product data according to the product identifier and the product number recorded by the packed data.
4. A method according to claim 3, characterized in that the method further comprises:
and determining that target product data recorded with the product identifiers and the product quantity does not exist in the product data, and generating prompt information for prompting the abnormality of the packed data.
5. The method of claim 1, wherein deriving a parcel form for the target parcel based on each of the target product data comprises:
detecting the quantity of each target product data;
and determining that the number of the target product data is smaller than or equal to a preset value, and obtaining a package form of the target package according to the target product data.
6. The method of claim 1 or 5, wherein deriving a package form for the target package based on each of the target product data comprises:
and determining that no package form generated by each target product data exists, and obtaining the package form of the target package according to each target product data.
7. The method of claim 6, wherein determining that there is no parcel form generated from the target product data comprises:
Detecting the data identification of each target product data;
under the condition that the data identification does not exist in each target product data, determining that the package form generated by each target product data does not exist;
wherein the data identifier is used for indicating that a package form formed by the target product data exists.
8. The method of claim 1, wherein deriving a parcel form for the target parcel based on each of the target product data comprises:
obtaining an initial box list of the package according to the target product data;
and obtaining the package form of the target package according to the initial box form and the package identifier recorded by the package form.
9. A data splitting apparatus, the apparatus comprising:
the data splitting module is used for splitting the data of each product of the product form according to each package data in the package form of the target package to obtain each target product data matched with each package data in the package form of the target package;
the form generation module is used for obtaining a package form of the target package according to the target product data;
Wherein the packaged data includes a product identification.
10. An electronic device comprising a processor and a memory storing a computer program, characterized in that the processor implements the method of any one of claims 1 to 8 when executing the computer program.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the method of any one of claims 1 to 8.
CN202410264616.3A 2024-03-08 2024-03-08 Data splitting method and device, electronic equipment and storage medium Pending CN117875845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410264616.3A CN117875845A (en) 2024-03-08 2024-03-08 Data splitting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410264616.3A CN117875845A (en) 2024-03-08 2024-03-08 Data splitting method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117875845A true CN117875845A (en) 2024-04-12

Family

ID=90577635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410264616.3A Pending CN117875845A (en) 2024-03-08 2024-03-08 Data splitting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117875845A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080063078A1 (en) * 2006-07-19 2008-03-13 Satoshi Futenma Apparatus and Method of Information Processing, Program, and Recording Medium
CN109102223A (en) * 2018-07-27 2018-12-28 东莞嘉泰钟表有限公司 A kind of method of the quick outbound of services package
CN110738447A (en) * 2019-10-11 2020-01-31 江苏电力装备有限公司 Workshop part packaging mistake proofing system
CN114022065A (en) * 2021-10-26 2022-02-08 广州新丝路信息科技有限公司 Picking and delivery list printing parallel processing method and device
CN114356291A (en) * 2022-01-13 2022-04-15 中国电信股份有限公司 Method, device, equipment and medium for generating form based on configuration file
CN116862372A (en) * 2023-07-04 2023-10-10 康键信息技术(深圳)有限公司 Order splitting method and device, storage medium and computer equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080063078A1 (en) * 2006-07-19 2008-03-13 Satoshi Futenma Apparatus and Method of Information Processing, Program, and Recording Medium
CN109102223A (en) * 2018-07-27 2018-12-28 东莞嘉泰钟表有限公司 A kind of method of the quick outbound of services package
CN110738447A (en) * 2019-10-11 2020-01-31 江苏电力装备有限公司 Workshop part packaging mistake proofing system
CN114022065A (en) * 2021-10-26 2022-02-08 广州新丝路信息科技有限公司 Picking and delivery list printing parallel processing method and device
CN114356291A (en) * 2022-01-13 2022-04-15 中国电信股份有限公司 Method, device, equipment and medium for generating form based on configuration file
CN116862372A (en) * 2023-07-04 2023-10-10 康键信息技术(深圳)有限公司 Order splitting method and device, storage medium and computer equipment

Similar Documents

Publication Publication Date Title
CN112801579B (en) Distribution task abnormity monitoring method, distribution task abnormity monitoring device, computer equipment and storage medium
CN108681856A (en) A kind of Warehouse Management System and storage management method
CN112000730B (en) Tracing information writing and tracing information verification method and system based on block chain
WO2020233066A1 (en) Abnormity processing method based on data computation link, and related device
WO2013181497A4 (en) Systems and methods for inventory management
US20210383371A1 (en) Method of recording transactions based on blockchain and electronic device using the same
CN112465601A (en) Electronic order generation method and device and storage medium
CN114022151A (en) Block chain data visualization method and system, electronic device and storage medium
CN117875845A (en) Data splitting method and device, electronic equipment and storage medium
CN113837572A (en) Logistics monitoring method and related equipment
CN116611754A (en) Cross-border commodity outlet line reporting method, system and equipment
CN111582795A (en) Method, device and readable storage medium for automatically detecting logistics merchants
US20070273516A1 (en) Self-referential integrity checking system and method
CN116362650A (en) Material processing method and device, electronic equipment and computer readable medium
CN114493551B (en) Contract generation method and device, electronic equipment and storage medium
CN113282541B (en) File calling method and device and electronic equipment
CN103677668A (en) Method and device for detecting mobile storage equipment
CN114281427A (en) Method and equipment for batch parameter configuration and verification
CN109903058B (en) Block chain-based card maintenance identification method and device
CN112434287A (en) Method, device and equipment for detecting Hook and storage medium
CN115358683B (en) Method and related device for restocking returned commodities
US11989572B2 (en) Computer system enabled with runtime software module tracking
CN109118147B (en) Multi-platform inventory sharing method and related products
CN109118106A (en) The cargo concocting method and Related product of inventory
CN117828449B (en) Cross-border electric business portrait data processing method and system based on cloud computing

Legal Events

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