Customs declaration information processing method and device and electronic equipment
By performing named entity recognition and automatic matching on customs declaration documents, the problem of low efficiency in generating customs declarations in cross-border supply chain systems has been solved, enabling efficient and accurate customs declaration completion.
Patent Information
- Application Number
- CN202110278511.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-12
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2041-03-12
AI Technical Summary
Existing cross-border supply chain systems are inefficient in generating customs declarations, and manual input is prone to errors, affecting the delivery time of cross-border orders.
By performing named entity recognition on customs declaration documents, the system can automatically match or provide recommended information to fill in the relevant fields of the customs declaration form, reducing manual input.
It improves the efficiency of customs declaration generation, reduces the probability of input errors, and ensures the consistency and accuracy of information.
Smart Images

Figure CN113296613B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of cross-border supply chain system, and particularly relates to a customs declaration information processing method and device and electronic equipment. BACKGROUND
[0002] The cross-border commodity object information system can provide a "global buying and global selling" service for users, that is, both buyers and sellers can come from different countries. In this scenario, after the buyer and seller reach an agreement online, the goods need to go through a series of complex procedures such as customs, tax, cross-border logistics, and finally reach the designated delivery address of the buyer.
[0003] Among them, the customs procedure is that before the goods are exported, the seller needs to entrust a professional or proxy customs declaration enterprise (which can be commonly referred to as a "customs declaration company" or a customs declaration company) to handle the declaration procedures for the export customs. In the traditional way, the customs declaration company with customs declaration qualification needs to be pre-registered in the customs system, which can provide relevant account information and the like. In this way, after receiving the customs declaration entrustment of its customers, the customs declaration company can log in to the customs system by using the above-mentioned account information, fill in the customs declaration form, and perform data input or submission of materials such as attachments and the like. Then, the customs system performs internal inspection and processing, and completes the customs declaration work if no error is found.
[0004] In order to facilitate the completion of the above-mentioned cross-border trade fulfillment process, some systems can also provide cross-border supply chain services for users, which include the services of the customs procedure and the cross-border logistics procedure. After the emergence of such a cross-border supply chain system, the customs declaration company can be admitted to the specific supply chain system, so that the customs declaration company becomes a user of the cross-border supply chain system. In this way, after the customs declaration company receives the entrustment of the specific customer, it can fill in the customs declaration form through the supply chain system, and then the supply chain system can submit the specific customs declaration form information to the customs system. In this process, the customs declaration company can use the related services provided by the supply chain system to improve efficiency and simplify data management.
[0005] However, the existing supply chain system still has room for further improvement in helping users improve efficiency. For example, the fields involved in the customs declaration form are often very numerous, and the filling of the customs declaration form is a serious process, so it usually involves a large amount of manual input by the input personnel, resulting in the occupation of human resources of the customs declaration company. In addition, the manual input process may also be prone to errors, leading to customs declaration failure and even delaying the delivery time of the cross-border order, affecting the experience of the buyer and seller users.
[0006] Therefore, how to further improve the work efficiency in the process of generating a customs declaration form becomes a technical problem to be solved by those skilled in the art. SUMMARY
[0007] The present application provides a customs information processing method and device and electronic equipment, which can improve the efficiency of generating a customs declaration form and reduce the probability of input errors caused by manual input.
[0008] The present application provides the following solutions:
[0009] A customs information processing method comprises the following steps:
[0010] Determining a customs material file associated with a to-be-generated customs declaration form;
[0011] Identifying text information content of the customs material file to determine at least one named entity included therein, wherein the named entity comprises a continuous character segment in the text information content.
[0012] During an information input operation for a target field in the customs declaration form, recommended information about to-be-input information in the target field is provided according to the named entity identified from the customs material file.
[0013] A customs information processing method comprises the following steps:
[0014] Determining a customs material file associated with a to-be-generated customs declaration form;
[0015] Identifying text information content of the customs material file to determine at least one named entity pair included therein, wherein two named entities in the named entity pair correspond to name and content information of a same field, and the named entity comprises a continuous character segment in the text information content.
[0016] According to a corresponding relationship between the name and content information of the same field, a named entity representing field content is automatically matched to a corresponding field in the customs declaration form.
[0017] During an information input operation for a target field in the customs declaration form that is not automatically matched, recommended information about to-be-input information in the target field is provided according to the named entity identified from the customs material file.
[0018] A method for generating a customs declaration form comprises the following steps:
[0019] Determining a customs material file associated with a to-be-generated customs declaration form;
[0020] The text information content of the declaration material file is recognized to determine at least one named entity included therein, the named entity including a continuous character segment in the text information content;
[0021] During information entry operation for a target field in the declaration form, recommended information about information to be input in the target field is provided according to the named entity recognized from the declaration material file;
[0022] The declaration form is generated according to the input information in the target field.
[0023] A method for processing to-be-declared information, comprising:
[0024] A declaration material file associated with the to-be-declared information to be generated is determined;
[0025] The text information content of the declaration material file is recognized to determine at least one named entity included therein, the named entity including a continuous character segment in the text information content;
[0026] During information entry operation for a target field in the to-be-declared information, recommended information about information to be input in the target field is provided according to the named entity recognized from the declaration material file.
[0027] A device for processing declaration information, comprising:
[0028] A declaration material file determination unit is configured to determine a declaration material file associated with a declaration form to be generated;
[0029] A named entity recognition unit is configured to recognize the text information content of the declaration material file to determine at least one named entity included therein, the named entity including a continuous character segment in the text information content;
[0030] A recommended information providing unit is configured to, during information entry operation for a target field in the declaration form, provide recommended information about information to be input in the target field according to the named entity recognized from the declaration material file.
[0031] A device for processing declaration information, comprising:
[0032] A declaration material file determination unit is configured to determine a declaration material file associated with a declaration form to be generated;
[0033] A named entity pair identification unit is configured to identify text information content of the customs declaration document and determine at least one named entity pair included in the text information content, wherein two named entities in the named entity pair correspond to name and content information of a same field, and the named entity includes a continuous character segment in the text information content.
[0034] A matching unit is configured to automatically match the named entity representing field content to a corresponding field in the customs declaration form according to correspondence information between the name and content information of the same field.
[0035] A recommendation information providing unit is configured to provide recommendation information about to-be-input information in a target field in the customs declaration form during an information input operation for the target field, according to the named entity identified from the customs declaration document.
[0036] An apparatus for generating a customs declaration form, comprising:
[0037] A customs declaration document determination unit is configured to determine a customs declaration document associated with a customs declaration form to be generated.
[0038] A named entity identification unit is configured to identify text information content of the customs declaration document and determine at least one named entity included in the text information content, wherein the named entity includes a continuous character segment in the text information content.
[0039] A recommendation information providing unit is configured to provide recommendation information about to-be-input information in a target field in the customs declaration form during an information input operation for the target field, according to the named entity identified from the customs declaration document.
[0040] A customs declaration form generation unit is configured to generate the customs declaration form according to input information in the target field.
[0041] An apparatus for processing to-be-declared information, comprising:
[0042] A declaration document determination unit is configured to determine a declaration document associated with to-be-declared information to be generated.
[0043] A named entity identification unit is configured to identify text information content of the declaration document and determine at least one named entity included in the text information content, wherein the named entity includes a continuous character segment in the text information content.
[0044] A recommendation information providing unit is configured to provide recommendation information about to-be-input information in a target field in the to-be-declared information during an information input operation for the target field, according to the named entity identified from the declaration document.
[0045] According to the specific embodiments provided in the present application, the following technical effects are disclosed:
[0046] Through the embodiments of the present application, the customs declaration material file associated with the to-be-generated customs declaration form can be determined, and the text information content of the customs declaration material file is identified to determine a plurality of named entities included therein. In this way, in the process of receiving the information input operation for the target field in the customs declaration form, recommended information about the to-be-input information in the target field can be provided according to the named entities identified from the customs declaration material file. In this way, since the customs declaration material file is the basis for filling out the customs declaration form, the information contained therein is closely related to the current customs declaration form. Therefore, according to the named entity recognition result of the customs declaration material file, the to-be-input content of the specific field in the customs declaration form filling process is recommended, which can obtain a high recommendation accuracy, so that the input personnel can directly select the specific content to be input from the recommended information. Therefore, the customs declaration form generation efficiency can be improved, and the probability of input errors and other situations caused by manual input process can be reduced.
[0047] Of course, implementing any product of the present application does not necessarily require all the advantages described above. BRIEF DESCRIPTION OF DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed in the embodiments will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0049] Figure 1 is a schematic diagram of the system architecture provided by the embodiments of the present application;
[0050] Figure 2 is a flowchart of the first method provided by the embodiments of the present application;
[0051] Figure 3 is a schematic diagram of the interface provided by the embodiments of the present application;
[0052] Figure 4 is a flowchart of the second method provided by the embodiments of the present application;
[0053] Figure 5 is a flowchart of the third method provided by the embodiments of the present application;
[0054] Figure 6 is a flowchart of the fourth method provided by the embodiments of the present application;
[0055] Figure 7 is a schematic diagram of a first device provided by an embodiment of the present application;
[0056] Figure 8 is a schematic diagram of a second device provided by an embodiment of the present application;
[0057] Figure 9 is a schematic diagram of a third device provided by an embodiment of the present application;
[0058] Figure 10 is a schematic diagram of a fourth device provided by an embodiment of the present application;
[0059] Figure 11 is a schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0060] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art belong to the scope of protection of the present application.
[0061] First of all, it needs to be pointed out that the cross-border supply chain system provided by the embodiments of the present application faces users in the customs link, which can mainly be entities with customs declaration qualifications such as customs declaration agencies. In actual application, a specific export enterprise (or through a freight company, etc.) entrusts a customs declaration agency to generate a customs declaration form, and the entrustment information usually can include customs declaration material files. The information content in the customs declaration material file can mainly include the information of the associated transaction order (including the name, quantity, weight, consignee information, etc. of the commodity object), or can also include the information of the associated waybill (mainly refers to the cargo manifest information declared to the customs by the transportation service provider, for example, can include export port, transportation tool name, container information, arrival country information, etc. items), etc. After receiving the specific customs declaration entrustment information, the customs declaration agency can obtain such customs declaration material files, and can subsequently generate specific customs declaration forms according to the customs declaration material files. Among them, the customs declaration material file can be provided by the initiator of the customs declaration entrustment, or regarding the waybill information, the entrustor can also only provide the waybill number and the information of the outbound customs, etc. Then, the specific supply chain system can obtain the detailed information associated with the specific waybill number by interfacing with the corresponding local electronic port system, etc.
[0062] In a traditional implementation, a specific information content can be manually input into a corresponding field of a customs declaration form by a customs declaration clerk based on a specific customs declaration material file. The customs declaration form is a legal document in which a customs declaration agency makes a written declaration of the actual situation of import and export goods according to a format specified by the customs, and requests the customs to handle the customs formalities of the goods according to the applicable customs regulations. Therefore, the fields of an export customs declaration form are usually very many, for example, the main fields can include the name of the export goods, the number of pieces, the weight, the unit, the total price, the export port, the name of the transport tool, the container information, the business unit, the consignee, the contract agreement, the trade nature, the consuming country, and the like. The customs declaration form and the shipping order form are one-to-one corresponding, and the principle of filling the customs declaration form is that the form is consistent, and the content on the completed customs declaration form needs to correspond to each item of data of the shipping order form.
[0063] In the embodiments of the present application, in order to further improve the work efficiency in the process of generating a customs declaration form, and to improve the consistency of the specific fields in the customs declaration form and other forms such as the shipping order form, a corresponding solution is provided. In this solution, the text information content in a specific customs declaration material file can be recognized to determine a plurality of named entities (which can be continuous character fragments in the text information content) included therein, and then, in the process of a user specifically inputting information into a field of the customs declaration form, recommended information about the information to be input into the target field can be provided according to the recognition result. For example, a field in the customs declaration form is "commodity number", and the named entities recognized in the customs declaration material file include "6404199000" and the like, then when the user inputs information into this field, "6404199000" and the like can be recommended to the user, and the user can select a specific number from them, without the need for inputting each character one by one, so that the efficiency can be improved, and the probability of input errors and the like can be reduced, which is beneficial to maintaining the consistency with the specific information in the customs declaration material file.
[0064] In addition, in an optional implementation, when the text information content in the customs declaration material file is recognized, the positional relationship information between the specific named entities can also be recognized to determine the correspondence between the field names and the specific field contents included in the customs declaration material file, so that the specific named entities can be matched to the corresponding fields in the customs declaration form, and the user no longer needs to perform a manual input operation for these fields. Of course, for the contents that do not exist in the customs declaration material file, or the contents that cannot be accurately recognized from the customs declaration material file, the user of the customs declaration agency can still manually input. In the process of manual input, the recommended information can still be provided by using the named entity recognition result.
[0065] Further, in a specific implementation, in addition to providing specific recommended information by using the named entity identified from the customs declaration material file, historical data can also be combined to provide comprehensive information recommendation.
[0066] Specifically from the perspective of system architecture, refer to Figure 1 Embodiments of the present application mainly relate to a cross-border supply chain system, which can provide a customs-related service module, and the users of the service module are mainly entities with customs declaration qualifications such as customs declaration agencies. Export enterprises and other users can send customs declaration orders to customs declaration agencies through some ways. For example, in one way, the cross-border supply chain system can also provide corresponding service modules for export enterprise users, and the export enterprise users can send customs declaration orders to the customs service module through the service module, and the like. After receiving the customs declaration order, the customs declaration agency can obtain the customs declaration material file, and then generate the customs declaration form through the cross-border supply chain system. In the process of generating the customs declaration form, the named entity recognition of the customs declaration material file can be performed by using the scheme provided by the embodiments of the present application, and the related recommended information can be provided for the users such as the declaration clerk, so as to improve the generation efficiency of the customs declaration form and reduce the probability of errors, inconsistent information, and the like.
[0067] Among them, the above cross-border supply chain system can provide services for users through the SaaS (Software-as-a-Service, Software-as-a-Service) mode. SaaS is an application mode for providing software services based on the Internet. The SaaS platform vendor deploys application software on its own server. Customers can purchase the required application software services from the vendor through the Internet according to actual work needs, and obtain the services provided by the SaaS platform vendor through the Internet. That is, the customs declaration agency and other users can access the related web pages provided by the specific cross-border supply chain system through the browser and obtain the related services. Of course, in actual application, considering that some scenarios may need to involve operations on local files, for example, batch uploading of single certificate materials, a client in the form of a standalone application program can also be provided for users. The user can install such an application program in the terminal device, interact with the server through the application program, and obtain the related services. Through the client in the form of such a standalone application program, the operation of the local file can be more convenient.
[0068] First, the embodiments of the present application provide a customs declaration form information processing method from the perspective of the above cross-border supply chain system, refer to Figure 2 The method can specifically include:
[0069] S201: Determine the customs declaration material file associated with the to-be-generated customs declaration form.
[0070] As described above, the specific customs declaration material file can be provided by the consignor user such as the export enterprise, or, after the specific consignment information is received by the customs brokerage, the more detailed information about the consignment note can be obtained from the relevant local electronic port system according to the consignment note number, the outbound customs, and the like.
[0071] For the convenience of understanding, the consignment note and its relationship with the customs declaration form are first introduced. As for the consignment note, the specific export enterprise user can first apply for the transportation resources (including the ship number, voyage, etc.) to the relevant website system of the shipping company before the order is shipped, and can declare the manifest to the electronic port system corresponding to the departure port (or can also entrust the freight forwarding company to complete the manifest declaration process). Among them, the manifest declaration mainly submits the ship name, voyage, departure port, outbound customs, cabinet specification, container information, and cargo information to the electronic port system corresponding to the specific departure port. Correspondingly, the electronic port system generates the corresponding consignment note number, and saves the corresponding relationship between the details of the manifest declaration and the consignment note number in the electronic port system.
[0072] After completing the manifest declaration, the customs declaration processing can be entrusted to the customs brokerage. Among them, the specific consignment information at least includes the consignment note number information, the outbound customs information, etc. In addition, more detailed related information can be provided to the customs brokerage, including the ship name, voyage, departure port, outbound customs, cabinet specification, container information, and cargo information associated with the specific consignment note number. Of course, in addition to the information related to the consignment note, the specific consignment information can also include the information of the associated transaction order, which can include the number, name, quantity, and consignee information of the commodity object in the system, etc.
[0073] After receiving the specific customs declaration, the customs brokerage can obtain the customs declaration material file according to the specific consignment request, and then generate the customs declaration form based on the customs declaration material file.
[0074] Among them, in the embodiment of the present application, after obtaining the specific customs declaration material file, when performing the customs declaration form input operation, a new customs declaration form can be first created, and the customs declaration material file can be input into the cross-border supply chain system. In this way, the cross-border supply chain system can determine the corresponding relationship between the customs declaration form and the customs declaration material file.
[0075] S202: identifying the text information content of the customs declaration material file and determining at least one named entity included in the text information content, the named entity including a continuous character segment in the text information content;
[0076] After the customs declaration material file is determined, the text information content therein can be recognized to determine a plurality of named entities included therein. The named entities can be continuous character fragments in the text information content, for example, can specifically include names of persons, names of organizations, names of places, and other all entities identified by names, and in addition, more extensive entities can also include numbers, dates, currencies, addresses, and the like. In one implementation, the specific recognition process can be implemented by using a named entity recognition (NER) technology in natural language processing (NLP).
[0077] It should be noted that in actual application, the file format of the specific customs declaration material file can be various, for example, can be an electronic table (for example, Excel, etc.), a document in editable format (for example, Word, etc.), a document in non-editable format (for example, pdf, jpg, etc.), and the like. For the document in non-editable format, the specific characters can be recognized from the document by using an optical character recognition (OCR) technology, and then the NER technology is used for named entity recognition. For the electronic table or other document in editable format, the NER recognition can be directly performed on the text information content therein.
[0078] It should be noted that in the specific implementation, the customs declaration form has many fields, which can be all input by the input person one by one, or the embodiments of the present application can also provide an implementation scheme for automatically matching the contents of some fields by the supply chain system. That is, since the specific information in the specific customs declaration material file is usually in the form of a pair of <field name, field content>, and the fields in the customs declaration material file usually have a corresponding relationship with the fields in the customs declaration form, or the corresponding relationship is converted through specific field conversion processing, etc. For example, the customs declaration material file can include the commodity object category, quantity, type, etc. fields, and the customs declaration form can also include the above fields. Among them, for the quantity and type of the commodity object, the value of the quantity and type of the specific commodity object in the customs declaration material file can be directly filled into the quantity and type field of the commodity object in the customs declaration form. Or, for the commodity object category information, the commodity object category in the customs declaration material file can also be mapped into the category description information conforming to the customs classification rules through a pre-established category mapping engine, etc. Therefore, if the named entity in the customs declaration material file can be recognized, and the corresponding relationship between the two named entities in the same field name and the field is recognized, the specific field content can be automatically matched into the corresponding field in the customs declaration form. Of course, in the process of automatic matching, due to the fact that the customs declaration material file may not be standardized, etc., it may cause that some named entities represent the field name and the field content, but the specific corresponding relationship cannot be accurately recognized, so that not all fields in the customs declaration form can be automatically matched. For the fields that cannot be automatically matched, manual input can still be used for supplementary input. And in the process of manual supplementary input, the recommendation information about the to-be-input content in the specific field in the embodiments of the present application can be used, and details will be introduced later.
[0079] In order to achieve the above automatic matching purpose, in the identification of the customs declaration materials, in addition to identifying specific named entities, the positional relationship information between the named entities can also be identified to determine a plurality of named entity pairs, and the two named entities in the named entity pair correspond to the name and content information of the same field. For example, the name of a field is "arrival country", and the content of the field is "the United States", wherein "arrival country" and "the United States" are identified as two different named entities. However, only through named entity identification, it is not possible to determine whether there is a certain relationship between the two named entities. However, under normal circumstances, the field name and content with a corresponding relationship usually have obvious characteristics in position, for example, the name of the field is on the left and the content is on the right, etc. Therefore, the corresponding relationship between the named entities can be determined in combination with the identification of the positional information. Further, according to the corresponding relationship information, automatic matching of the corresponding fields in the customs declaration form can be realized. That is, in the foregoing example, assuming that the customs declaration material file includes the "arrival country" field, and the identified content of the field includes "the United States", then when generating the customs declaration form, the cross-border supply chain system can automatically fill "the United States" into the corresponding input box for the "arrival country" field in the customs declaration form, and no longer needs manual input operation by the declaration clerk, thereby further improving efficiency and reducing error probability.
[0080] In order to realize the identification of the positional information of the named entities, different processing methods can also be used for various different formats of customs declaration material files. For example, if the customs declaration material file is an electronic table type file, since the electronic table file naturally includes coordinate and other positional information, such as row number, column number, etc. Therefore, the named entity identification can be directly performed on the text information content in the electronic table type file, and then the positional information of the identified named entities in the electronic table file is determined to determine the positional relationship information between the named entities.
[0081] If the customs declaration material file is in a non-editable format, in the identification of the text information content of the customs declaration material file, first, the OCR identification of the customs declaration material file can be performed to determine the characters and corresponding positional information contained therein; then, the named entity identification of the character information contained in the OCR identification result is performed to determine the named entities contained in the customs declaration material file; and then, the positional relationship information between the named entities is determined according to the positional information contained in the OCR identification result. That is, the OCR technology can not only identify specific characters, but also identify the positional information of the specific characters, and therefore, the identification of the positional information of the named entities can be performed first by using this feature.
[0082] In addition, if the customs declaration material file is in an editable format, such as Word, etc., the text information content in such a document is readable and editable, and if only named entity recognition is required, the NER algorithm can be directly used for recognition. However, since the NER algorithm cannot generally recognize location information, in the implementation, for a customs declaration material file in an editable format such as Word, etc., the customs declaration material file can be first converted into a non-editable format, such as a pdf format, etc., and then the named entity and its location information are recognized according to the foregoing manner corresponding to the customs declaration material file in a non-editable format.
[0083] S203: In the process of information entry operation for the target field in the customs declaration form, recommended information about the information to be input in the target field is provided according to the named entities recognized from the customs declaration material file.
[0084] After the named entity recognition of the customs declaration material file, in the process of information entry for a specific field in the customs declaration form, recommended information about the information to be input in the target field can be provided according to the named entities recognized from the customs declaration material file.
[0085] Since the number of named entities recognized from the customs declaration material file is generally large, a certain strategy can be used to provide recommendations when providing recommended information. For example, for some fields in the customs declaration form, the corresponding to-be-input content may conform to a certain text rule. For example, for the "commodity number" field, the corresponding content is usually a certain number of digits, etc. Therefore, in the implementation, the information of the text rule corresponding to the specific field can be saved in advance, so that when the content of the field is input, it can be determined according to the pre-saved information whether the current field is associated with a certain text rule, and if so, the specific recommended information can be determined according to the named entity conforming to the text rule. For example, for the "commodity number" field, the text rule is 11 digits of pure numbers, and the named entity conforming to the rule can be selected from the named entities recognized to provide the corresponding recommended information to the user.
[0086] Alternatively, for more fields in the customs declaration form, there can be no specific text rule, and in this case, the specific recommended information can be provided according to the interaction feedback between the inputter and the user. That is, in this case, after the inputter inputs part of the information for a specific field, the named entity having a relevant line based on the part of the information input is determined and then provided as recommended information to the user for selection, etc.
[0087] Wherein, for Chinese users, the part of information inputted by the specific user can include Chinese, or include the simple-pinyin letter (the initial of the Chinese Pinyin) of Chinese, etc. In addition, the whole or part of the characters contained in the specific matched named entity can be determined as the recommended information. For example, assuming that the named entity identified from the customs declaration file includes: gasket, for machine, 10kg, 5 yuan / kg, 100 yuan, tax according to the law, USA, Heilongjiang, etc. At this time, the matching can be performed according to the part of information inputted by the user for a certain field, wherein, the matching can be started from the left, or the matching can be started from the middle, etc. For example, if the user inputs "shi", the "for machine" can be prompted; if the user inputs "shij", the "for machine" can also be prompted; if the user inputs "jiq", the "for machine" can be prompted, etc.
[0088] For the case of inputting the simple-pinyin letter of the specific to-be-inputted content, for example, the to-be-inputted content in a certain field is "for machine", the input clerk can input "sjqy" in the input box, at this time, the corresponding recommended information can also be provided according to the matching result of the initial of the Pinyin of each Chinese character in the named entity and the input information. Or, if the user inputs "s" or "sj", the "for machine" can also be prompted. If the user inputs "jq", the "for machine" can be prompted, etc.
[0089] In addition, as described above, the position relationship information between the named entities can also be determined in the specific implementation, and the corresponding relationship between the field name and the field content contained in the customs declaration file can be determined according to the position relationship information; then, the field content can be automatically matched to the corresponding field in the customs declaration according to the corresponding relationship information.
[0090] Of course, since the specific customs declaration material file can be provided by the consignor such as the export enterprise, and different consignors usually provide the specific customs declaration material file according to their own work habits, etc., not only the format of the file can be inconsistent, but also the text layout in the file usually has strong randomness, that is, the received customs declaration material file is not highly standardized. Further, in the embodiment of the present application, due to the above situation, when the named entity in the customs declaration material file and the relationship therebetween are identified, the following situation can exist: there is a named entity relationship pair in the customs declaration material file, but due to the layout being too chaotic, etc., the specific algorithm can identify the named entities included therein, but cannot accurately identify the corresponding relationship between the different named entities in the field name and the content, so it cannot automatically match the corresponding field in the customs declaration. For this situation, some fields in the customs declaration cannot complete the automatic matching of the content, so manual input by the input clerk is usually still needed. For the fields that need to be manually input, the scheme provided by the present embodiment can also be used to provide corresponding recommended information for the user to improve efficiency and reduce the probability of error.
[0091] In specific implementation, the identified named entities and the corresponding relationship between the field name and the field content can be used to preferentially perform automatic matching of the content in the corresponding field in the customs declaration. Then, according to the named entities that cannot be matched in the corresponding field in the customs declaration, recommended information about the information to be input in the target field can be provided. That is, assuming that 20 named entities are identified from the customs declaration material file, and 12 of them have been automatically matched in the corresponding field in the customs declaration, during manual input of the other fields by the input clerk, corresponding recommended information can be provided according to the remaining 8 named entities that have not been matched in the customs declaration.
[0092] In addition, in specific implementation, in addition to the specific recommended information that can be provided by the named entities identified from the customs declaration material file, historical data can also be combined for comprehensive information recommendation. For example, for the specific content of the commodity number, commodity name, etc., since the specific commodity number, commodity name, etc. are usually defined in the system, and for the same export enterprise, the object category of the goods operated is usually relatively fixed, so the related data can have been filled in when generating the customs declaration for the historical transaction order, for example, the user has inputted a certain commodity number, name, etc., which can be saved in the system. In this way, the historical data can be used to provide specific recommended information for the user.
[0093] Of course, since the named entity recognition result in the customs declaration material file has higher reference value for the current customs declaration form filling, therefore, in specific implementation, the named entity recognized from the customs declaration material file can be used to give priority to recommendation, if there is no matching recommendation result in the named entity recognition result, the historical data is used for recommendation.
[0094] For example, assuming that the user inputs "steel" in the "commodity name" field of a certain customs declaration form, at this time, if there is a named entity related to "steel" in the named entity recognized from the customs declaration material, the named entity can be used to provide recommendation information for the user. For example, the named entity "steel wire rope" is included in the named entity recognized in the customs declaration material file, the named entity can be recommended to the user. Otherwise, if the named entity recognized in the customs declaration material file is all irrelevant to "steel", more recommendation information related to "steel" can be provided according to the historical data. For example, as shown in Figure 3 , it can include "steel wire rope", "steel wire seal", "stainless steel cooking table", "stainless steel shelf", etc., and the user can select from them.
[0095] In summary, through the embodiments of the present application, the customs declaration material file associated with the to-be-generated customs declaration form can be determined, and the text information content of the customs declaration material file can be recognized to determine a plurality of named entities included therein. In this way, in the process of receiving the information input operation for the target field in the customs declaration form, recommendation information about the to-be-input information in the target field can be provided according to the named entities recognized from the customs declaration material file. In this way, since the customs declaration material file is the basis for filling out the customs declaration form, the information contained therein is closely related to the current customs declaration form. Therefore, according to the named entity recognition result of the customs declaration material file, the to-be-input content of the specific field in the customs declaration form filling process is recommended, which can obtain higher recommendation accuracy, so that the input operator can directly select the specific content to be input from the recommendation information, thereby improving the efficiency and reducing the probability of input operation and other situations caused by manual input.
[0096] Embodiment Two
[0097] In this embodiment two, another customs declaration information processing method is provided, see Figure 4 , which can include:
[0098] S401: determining a customs declaration material file associated with a to-be-generated customs declaration form;
[0099] S402: Identify the text information content of the customs declaration material file, and determine at least one named entity pair included therein, wherein the two named entities in the named entity pair correspond to the name and content information of the same field, and the named entity is a continuous character fragment in the text information content;
[0100] S403: According to the correspondence information between the name and content information of the same field, automatically match the named entity representing the field content to the corresponding field in the customs declaration form;
[0101] S404: In the process of information input operation for the target field in the customs declaration form which is not automatically matched, according to the named entity identified from the customs declaration material file, provide recommended information about the information to be input in the target field.
[0102] Embodiment three
[0103] In this embodiment three, a method for generating a customs declaration form is also provided, see Figure 5 , which can specifically include:
[0104] S501: Determine the customs declaration material file associated with the customs declaration form to be generated;
[0105] S502: Identify the text information content of the customs declaration material file, and determine at least one named entity included therein, wherein the named entity includes a continuous character fragment in the text information content;
[0106] S503: In the process of information input operation for the target field in the customs declaration form, according to the named entity identified from the customs declaration material file, provide recommended information about the information to be input in the target field;
[0107] S504: Generate the customs declaration form according to the input information in the target field.
[0108] Embodiment four
[0109] In the foregoing embodiments, the relevant recommended information is mainly provided for the generation process of the customs declaration form. However, in actual application, in the performance link related to cross-border transaction, in addition to the customs declaration form, the order data may also be declared, or the tax-related data may also be declared, etc. These data, as a kind of to-be-declared information, can also be generated according to the specific declaration material file. In the process of generating such to-be-declared information according to the declaration material file, the named entity recognition can also be performed on the declaration material file, and the corresponding recommended information can also be provided for the information input of the specific field in the specific to-be-declared information.
[0110] Specifically, seeFigure 6 The embodiment four provides a to-be-declared information processing method, which can specifically include the following steps.
[0111] S601: Determine the declaration material file associated with the to-be-declared information to be generated;
[0112] S602: Identify the text information content of the declaration material file, and determine at least one named entity included therein, the named entity including a continuous character fragment in the text information content.
[0113] S603: In the process of information input operation on the target field in the to-be-declared information, provide recommended information about the to-be-input information in the target field according to the named entity identified from the declaration material file.
[0114] For the parts not described in detail in the embodiments two to four, please refer to the description in the embodiment one, which will not be repeated here.
[0115] It should be noted that the present application may involve the use of user data in the embodiments. In actual application, user-specific personal data can be used in the schemes described herein within the scope allowed by applicable laws and regulations, for example, with the explicit consent of the user, the user is actually notified, etc.
[0116] Corresponding to the embodiment one, the present application also provides a customs declaration information processing device, which is described in detail as follows. Figure 7 The device can include:
[0117] A customs declaration material file determination unit 701 is configured to determine the customs declaration material file associated with the to-be-generated customs declaration.
[0118] A named entity identification unit 702 is configured to identify the text information content of the customs declaration material file, and determine at least one named entity included therein, the named entity including a continuous character fragment in the text information content.
[0119] A recommended information providing unit 703 is configured to, in the process of information input operation on the target field in the customs declaration, provide recommended information about the to-be-input information in the target field according to the named entity identified from the customs declaration material file.
[0120] The recommended information providing unit can be specifically configured to:
[0121] Determine the text rule associated with the to-be-input information of the target field;
[0122] Determine the recommended information according to the named entity conforming to the text rule.
[0123] Alternatively, the recommendation information providing unit can be specifically configured to:
[0124] determine the recommendation information according to the relevance between the named entity and the part of information that has been input in the target field.
[0125] wherein the to-be-input information of the target field includes Chinese information, and the part of information that has been input includes part of Chinese characters in the Chinese information or information of simplified spelling letters corresponding to the Chinese information.
[0126] wherein the specific recommendation information providing unit can be specifically configured to:
[0127] determine all characters or part of characters contained in the named entity as the recommendation information according to the relevance between the named entity and the part of information that has been input in the target field.
[0128] In addition, the apparatus can further include:
[0129] a position relationship information determining unit configured to determine position relationship information between the named entities when identifying the text information content of the customs declaration material file;
[0130] a named entity pair determining unit configured to determine a plurality of named entity pairs according to the position relationship information, wherein two named entities in the named entity pair correspond to name and content information of a same field;
[0131] a matching unit configured to automatically match the named entity representing the content of the field to the corresponding field in the customs declaration form according to the corresponding relationship information between the name and content information of the same field.
[0132] At this time, the recommendation information providing unit can be specifically configured to:
[0133] provide recommendation information about to-be-input information in the target field according to the named entity that fails to be matched to the corresponding field in the customs declaration form.
[0134] wherein if the customs declaration material file is an electronic table type file, the position relationship information determining unit can be specifically configured to:
[0135] perform named entity recognition on the text information content in the electronic table type file;
[0136] determine the position relationship information between the named entities according to position information of the recognized named entities in the electronic table file.
[0137] If the customs declaration material file is in a non-editable format, the position relationship information determination unit can specifically include:
[0138] An OCR recognition subunit is configured to perform optical character recognition (OCR) on the customs declaration material file to determine characters contained therein and corresponding position information.
[0139] A named entity recognition subunit is configured to perform named entity recognition on the character information contained in the OCR recognition result to determine named entities contained in the customs declaration material file.
[0140] A position relationship determination subunit is configured to determine position relationship information between the named entities according to the position information contained in the OCR recognition result.
[0141] In addition, the apparatus can further include:
[0142] A file format conversion unit is configured to, if the customs declaration material file is in an editable format, convert the customs declaration material file into a non-editable format and perform recognition in a manner corresponding to the non-editable format of the customs declaration material file.
[0143] Further, the apparatus can further include:
[0144] A historical record data determination unit is configured to determine historical record data associated with the customs declaration material file.
[0145] A historical record recommendation unit is configured to, if there is no named entity matching the target field, provide recommendation information about information to be input in the target field according to the historical record data.
[0146] Corresponding to Embodiment Two, an embodiment of the present application further provides a customs information processing apparatus, which is described below with reference to Figure 8 The apparatus can include:
[0147] A customs declaration material file determination unit 801 is configured to determine a customs declaration material file associated with a to-be-generated customs declaration form;
[0148] A named entity pair identification unit 802 is configured to identify text information content of the customs declaration material file to determine at least one named entity pair contained therein, wherein the two named entities in the named entity pair correspond to name and content information of a same field, and the named entity includes a continuous character segment in the text information content.
[0149] A matching unit 803 is configured to automatically match a named entity representing field content to a corresponding field in the customs declaration form according to corresponding relationship information between the name and content information of the same field.
[0150] The recommendation information providing unit 804 is configured to provide, in a process of inputting information in a target field of the customs declaration form, recommendation information about to-be-input information in the target field according to the named entity identified from the customs declaration material file.
[0151] Corresponding to the third embodiment, the present embodiment also provides a device for generating a customs declaration form, which is shown in Figure 9 The device can include:
[0152] The customs declaration material file determining unit 901 is configured to determine a customs declaration material file associated with the to-be-generated customs declaration form.
[0153] The named entity identifying unit 902 is configured to identify text information content of the customs declaration material file, and determine at least one named entity included in the text information content, wherein the named entity includes a continuous character fragment in the text information content.
[0154] The recommendation information providing unit 903 is configured to provide, in a process of inputting information in a target field of the customs declaration form, recommendation information about to-be-input information in the target field according to the named entity identified from the customs declaration material file.
[0155] The customs declaration form generating unit 904 is configured to generate the customs declaration form according to the to-be-input information in the target field.
[0156] Corresponding to the fourth embodiment, the present embodiment also provides a device for processing to-be-declared information, which is shown in Figure 10 The device can include:
[0157] The declaration material file determining unit 1001 is configured to determine a declaration material file associated with the to-be-declared information.
[0158] The named entity identifying unit 1002 is configured to identify text information content of the declaration material file, and determine at least one named entity included in the text information content, wherein the named entity includes a continuous character fragment in the text information content.
[0159] The recommendation information providing unit 1003 is configured to provide, in a process of inputting information in a target field of the to-be-declared information, recommendation information about to-be-input information in the target field according to the named entity identified from the declaration material file.
[0160] In addition, the present embodiment also provides a computer readable storage medium, which stores a computer program, and the program is executed by a processor to implement the steps of the method in any one of the preceding method embodiments.
[0161] and an electronic device comprising:
[0162] one or more processors; and
[0163] a memory associated with the one or more processors, the memory for storing program instructions that, when read and executed by the one or more processors, perform the steps of the method of any of the preceding method embodiments.
[0164] wherein, Figure 11 An exemplary architecture of the electronic device is shown, which can specifically include a processor 1110, a video display adapter 1111, a disk drive 1112, an input / output interface 1113, a network interface 1114, and a memory 1120. The processor 1110, the video display adapter 1111, the disk drive 1112, the input / output interface 1113, the network interface 1114, and the memory 1120 can be communicatively connected through a communication bus 1130.
[0165] The processor 1110 can be implemented in a general-purpose CPU (Central Processing Unit), a microprocessor, an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits, etc., for executing relevant programs to implement the technical solutions provided in the present application.
[0166] The memory 1120 can be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, etc. The memory 1120 can store an operating system 1121 for controlling the operation of the electronic device 1100, and a BIOS (Basic Input Output System) for controlling the low-level operation of the electronic device 1100. In addition, a web browser 1123, a data storage management system 1124, and a customs information processing system 1125, etc. can also be stored. The customs information processing system 1125 can be an application program for implementing the above steps in the embodiments of the present application. In general, when the technical solutions provided in the present application are implemented by software or firmware, the relevant program codes are stored in the memory 1120 and executed by the processor 1110.
[0167] The input / output interface 1113 is configured to connect an input / output module to realize information input and output. The input / output module can be configured in the device (not shown in the figure) or externally connected to the device to provide corresponding functions. The input device can include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device can include a display, a speaker, a vibrator, an indicator light, etc.
[0168] The network interface 1114 is configured to connect a communication module (not shown in the figure) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired manner (such as a USB, a network cable, etc.) or a wireless manner (such as a mobile network, WIFI, Bluetooth, etc.).
[0169] The bus 1130 includes a channel to transmit information between various components (such as the processor 1110, the video display adapter 1111, the disk drive 1112, the input / output interface 1113, the network interface 1114, and the memory 1120) of the device.
[0170] It should be noted that although the above device only shows the processor 1110, the video display adapter 1111, the disk drive 1112, the input / output interface 1113, the network interface 1114, the memory 1120, and the bus 1130, etc., in the specific implementation process, the device can also include other components necessary for normal operation. In addition, those skilled in the art can understand that the above device can also only include the components necessary to implement the scheme of the present application, and does not have to include all the components shown in the figure.
[0171] From the above description of the embodiments, those skilled in the art can clearly understand that the present application can be realized by means of software and a general hardware platform. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which can be stored in a storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.
[0172] The various embodiments described in this specification are described with reference to a methodology consisting of steps or actions for performing the processes described herein. The steps and actions can be performed by one or more programmable processors executing one or more computer programs to perform functions described in this specification. The steps and actions can also be performed by, and apparatus of each embodiment can be implemented as, special purpose logic of the hardware circuitry, e.g., an FPGA or an ASIC, or by a combination of computer hardware and software, e.g., a processor executing software programs. Each of the stages of processes performed by the apparatus of each embodiment can be performed by computer software executing on one or more programmable processors, to the extent that specific data from the executing is described. Each of the stages of processes performed by the apparatus of each embodiment can also be performed by, and apparatus of each embodiment can also be implemented as, special purpose logic of the hardware circuitry, e.g., an FPGA or an ASIC, or by a combination of computer hardware and software, e.g., a processor executing software programs. The particular sequence of operations described in this specification is not the only sequence of operations that can be performed to implement the claimed application. Alternate sequences of operations can be performed to implement the claimed application.
[0173] The customs declaration information processing method and device and the electronic device provided by the present application are described in detail above, and the principles and implementation modes of the present application are described by applying specific examples. The above description of the embodiments is only used to help understand the method of the present application and its core idea; at the same time, for those skilled in the art, according to the idea of the present application, the specific implementation mode and application range will be changed. In summary, the content of the specification should not be understood as a limitation of the present application.
Claims
1. A customs declaration information processing method characterized by comprising: The application is applied to a cross-border supply chain system, comprising: After a customs declaration is received by a customs-related service module provided in the cross-border supply chain system, a customs declaration material file associated with a to-be-generated customs declaration is obtained, fields in the customs declaration material file have a corresponding relationship with fields in the customs declaration; Text information content of the customs declaration material file is identified to determine at least one named entity and position relationship information between the named entities, a plurality of named entity pairs are determined according to the position relationship information, two named entities in the named entity pair correspond to a field name and field content of a same field respectively, a corresponding relationship between field names and field contents of a plurality of fields included in the customs declaration material file is obtained according to the plurality of named entity pairs, and a field in the to-be-generated customs declaration to which the field content corresponds is determined; the named entity includes a continuous character segment in the text information content; During an information input operation for a target field in the to-be-generated customs declaration, a named entity representing field content of the target field is automatically matched into the corresponding target field in the to-be-generated customs declaration according to the determined field in the to-be-generated customs declaration to which the field content corresponds, to serve as recommended information about to-be-input information in the target field, if the target field in the to-be-generated customs declaration fails to match a related named entity, supplementary input is performed in a manual input manner, historical record data associated with the customs declaration material file is determined during the supplementary input, and recommended information about to-be-input information in the target field is provided according to the historical record data.
2. The method of claim 1, wherein the recommended information about the to-be-input information in the target field comprises: determining a text rule associated with the to-be-input information in the target field; and determining the recommended information of the to-be-input information according to a named entity that meets the text rule.
3. The method of claim 1, wherein the recommended information about the to-be-input information in the target field comprises: determining the recommended information of the to-be-input information according to a correlation between the named entity and part of the information that has been input in the target field.
4. The method of claim 3, wherein the to-be-input information in the target field comprises Chinese information, and the part of the information that has been input in the target field comprises part of Chinese characters in the Chinese information or simple-spelling alphabet information corresponding to the Chinese information.
5. The method of claim 3, wherein the determining the recommended information of the to-be-input information according to the correlation between the named entity and the part of the information that has been input in the target field comprises: determining all characters or part of the characters included in the named entity as the recommended information of the to-be-input information according to the correlation between the named entity and the part of the information that has been input in the target field.
6. The method of claim 1, wherein The recommendation information about the information to be input in the target field includes: According to the failure to match the named entity in the corresponding target field in the to-be-generated customs declaration form, recommendation information about the information to be input in the target field is provided.
7. The method of claim 1, wherein, If the customs declaration material file is an electronic table type file, the identification of the text information content of the customs declaration material file includes: Performing named entity recognition on the text information content in the electronic table type file; According to the position information of the identified named entity recognition in the electronic table type file, determine the positional relationship information between the named entities.
8. The method of claim 1, wherein, If the customs declaration material file is in a non-editable format, the identification of the text information content of the customs declaration material file includes: Performing optical character recognition (OCR) on the customs declaration material file to determine the characters and corresponding position information contained therein; Performing named entity recognition on the character information contained in the OCR recognition result to determine the named entities contained in the customs declaration material file; According to the position information contained in the OCR recognition result, determine the positional relationship information between the named entities.
9. The method of claim 8, wherein, Further comprising: If the customs declaration material file is in an editable format, convert the customs declaration material file to a non-editable format and identify it according to the corresponding mode of the non-editable format customs declaration material file.
10. A customs declaration information processing method characterized by comprising: Applied to a cross-border supply chain system, comprising: After receiving a customs declaration request through a service module related to customs provided in the cross-border supply chain system, obtain the customs declaration material file associated with the to-be-generated customs declaration form, the fields in the customs declaration material file have a corresponding relationship with the fields in the customs declaration form; Identify the text information content of the customs declaration material file to determine at least one named entity and the positional relationship information between the named entities, determine a plurality of named entity pairs according to the positional relationship information, wherein the two named entities in the named entity pair correspond to the field name and field content of the same field respectively, obtain the corresponding relationship between the field name and field content of a plurality of fields included in the customs declaration material file according to the plurality of named entity pairs, and determine the field in the to-be-generated customs declaration form to which the field content corresponds; the named entity includes a continuous character segment in the text information content; According to the determined field in the to-be-generated customs declaration form to which the field content corresponds, automatically match the named entity representing the field content of the target field to the corresponding field in the to-be-generated customs declaration form; During the information input operation for the target field in the to-be-generated customs declaration form that has not been automatically matched successfully, supplement the input by manual input, and during the supplement input, determine the historical record data associated with the customs declaration material file, and provide recommendation information about the information to be input in the target field according to the historical record data.
11. A method of generating a customs declaration, characterized by, Applied to a cross-border supply chain system, comprising: After receiving a customs declaration entrustment through a customs-related service module provided in the cross-border supply chain system, a customs declaration material file associated with a to-be-generated customs declaration form is obtained, fields in the customs declaration material file have a corresponding relationship with fields in the customs declaration form; Text information content of the customs declaration material file is recognized to determine at least one named entity and position relationship information between the named entities, a plurality of named entity pairs are determined according to the position relationship information, two named entities in the named entity pair correspond to a field name and field content of a same field respectively, a corresponding relationship between field names and field contents of a plurality of fields included in the customs declaration material file is obtained according to the plurality of named entity pairs, and a field in the to-be-generated customs declaration form to which the field content corresponds is determined; the named entity includes a continuous character segment in the text information content; During an information input operation for a target field in the to-be-generated customs declaration form, a named entity representing field content of the target field is automatically matched into the corresponding target field in the to-be-generated customs declaration form according to the determined field to which the field content corresponds in the to-be-generated customs declaration form, to serve as recommended information about to-be-input information in the target field, if the target field in the to-be-generated customs declaration form fails to match a related named entity, supplementary input is performed through manual input, historical record data associated with the customs declaration material file is determined during the supplementary input, and recommended information about to-be-input information in the target field is provided according to the historical record data; The customs declaration form is generated according to the input information in the target field.
12. A method of processing information to be declared, characterized by, The application is applied to a cross-border supply chain system, and includes: After receiving a customs declaration entrustment through a customs-related service module provided in the cross-border supply chain system, a customs declaration material file associated with a to-be-generated customs declaration form is obtained, fields in the customs declaration material file have a corresponding relationship with fields in the customs declaration form; Text information content of the customs declaration material file is recognized to determine at least one named entity and position relationship information between the named entities, a plurality of named entity pairs are determined according to the position relationship information, two named entities in the named entity pair correspond to a field name and field content of a same field respectively, a corresponding relationship between field names and field contents of a plurality of fields included in the customs declaration material file is obtained according to the plurality of named entity pairs, and a field in the to-be-generated customs declaration form to which the field content corresponds is determined; the named entity includes a continuous character segment in the text information content; In the process of information input operation for the target field in the to-be-generated to-be-declared information, according to the field corresponding to the field content of the determined target field in the to-be-generated to-be-declared information, a named entity representing the field content of the target field is automatically matched into the corresponding target field in the to-be-generated to-be-declared information as recommended information about to-be-input information in the target field, if the target field in the to-be-generated to-be-declared information fails to match the related named entity, supplementary input is performed in a manual input manner, in the process of supplementary input, historical record data associated with the declaration material file is determined, and recommended information about to-be-input information in the target field is provided according to the historical record data.
13. A customs information processing apparatus characterized by comprising: The application is applied to a cross-border supply chain system, and comprises: A declaration material file determination unit is configured to, after receiving a declaration entrustment through a service module related to customs provided in the cross-border supply chain system, acquire a declaration material file associated with a to-be-generated declaration form, wherein the fields in the declaration material file have a corresponding relationship with the fields in the declaration form. A named entity identification unit is configured to identify the text information content of the declaration material file, determine at least one named entity and position relationship information between the named entities included in the text information content, determine a plurality of named entity pairs according to the position relationship information, wherein the two named entities included in the named entity pair correspond to a field name and a field content of a same field respectively, obtain the corresponding relationship between the field names and the field contents of a plurality of fields included in the declaration material file according to the plurality of named entity pairs, and determine the field corresponding to the field content in the to-be-generated declaration form, wherein the named entity comprises a continuous character segment in the text information content. A recommended information providing unit is configured to, in the process of information input operation for a target field in the to-be-generated declaration form, according to the field corresponding to the determined field content in the to-be-generated declaration form, automatically match a named entity representing the field content of the target field into the corresponding target field in the to-be-generated declaration form as recommended information about to-be-input information in the target field, if the target field in the to-be-generated declaration form fails to match the related named entity, supplementary input is performed in a manual input manner, in the process of supplementary input, historical record data associated with the declaration material file is determined, and recommended information about to-be-input information in the target field is provided according to the historical record data.
14. A customs information processing apparatus characterized by comprising: The application is applied to a cross-border supply chain system, and comprises: A declaration material file determination unit is configured to, after receiving a declaration entrustment through a service module related to customs provided in the cross-border supply chain system, acquire a declaration material file associated with a to-be-generated declaration form, wherein the fields in the declaration material file have a corresponding relationship with the fields in the declaration form. The named entity pair identification unit is configured to identify the text information content of the customs declaration material file, determine at least one named entity included in the text information content and position relationship information between the named entities, determine a plurality of named entity pairs according to the position relationship information, wherein two named entities included in the named entity pair correspond to a field name and field content of a same field respectively, obtain a corresponding relationship between the field name and the field content of a plurality of fields included in the customs declaration material file according to the plurality of named entity pairs, and determine a field in the to-be-generated customs declaration form to which the field content corresponds; and the named entity includes a continuous character segment in the text information content. The matching unit is configured to automatically match a named entity representing field content of a target field to a corresponding field in the to-be-generated customs declaration form as recommended information about to-be-input information in the target field according to the field in the to-be-generated customs declaration form to which the field content corresponds. The recommended information providing unit is configured to supplement the input by manual input during an information input operation on a target field in the to-be-generated customs declaration form that is not automatically matched, determine historical record data associated with the customs declaration material file during the supplement input, and provide recommended information about to-be-input information in the target field according to the historical record data.
15. An apparatus for generating a customs declaration, the apparatus comprising: The application is applied to a cross-border supply chain system, and includes: A customs declaration material file determination unit is configured to obtain a customs declaration material file associated with a to-be-generated customs declaration form after receiving a customs declaration commission through a service module related to customs provided in the cross-border supply chain system, wherein fields in the customs declaration material file have a corresponding relationship with fields in the customs declaration form. A named entity identification unit is configured to identify text information content of the customs declaration material file, determine at least one named entity included in the text information content and position relationship information between the named entities, determine a plurality of named entity pairs according to the position relationship information, wherein two named entities included in the named entity pair correspond to a field name and field content of a same field respectively, obtain a corresponding relationship between the field name and the field content of a same field included in the customs declaration material file according to the plurality of named entity pairs, and determine a field in the to-be-generated customs declaration form to which the field content corresponds; and the named entity includes a continuous character segment in the text information content. The recommendation information providing unit is configured to, during the information input operation for a target field in the to-be-generated customs declaration form, automatically match a named entity representing the field content of the target field to a corresponding target field in the to-be-generated customs declaration form according to the determined field corresponding to the field content in the to-be-generated customs declaration form, as recommendation information about to-be-input information in the target field, and if the target field in the to-be-generated customs declaration form fails to be matched to a related named entity, the to-be-input information is manually input, during the manual input, historical record data associated with the customs declaration material file is determined, and recommendation information about the to-be-input information in the target field is provided according to the historical record data. The customs declaration form generating unit is configured to generate the customs declaration form according to the input information in the target field.
16. A declaration information processing apparatus, characterized by comprising: The application is applied to a cross-border supply chain system, and includes: The declaration material file determining unit is configured to, after receiving a customs declaration commission through a service module related to customs affairs provided in the cross-border supply chain system, obtain a declaration material file associated with to-be-declared information to be generated, and fields in the declaration material file have a corresponding relationship with fields in the to-be-declared information. The named entity identifying unit is configured to identify text information content of the declaration material file, determine at least one named entity and position relationship information between the named entities included in the text information content, determine a plurality of named entity pairs according to the position relationship information, two named entities in the named entity pair correspond to a field name and field content of a same field respectively, obtain a corresponding relationship between the field name and the field content of a plurality of fields included in the declaration material file according to the plurality of named entity pairs, and determine a field in the to-be-generated to-be-declared information corresponding to the field content; the named entity includes a continuous character fragment in the text information content. The recommendation information providing unit is configured to, during an information input operation for a target field in the to-be-generated to-be-declared information, automatically match a named entity representing the field content of the target field to a corresponding target field in the to-be-generated to-be-declared information according to the determined field corresponding to the field content in the to-be-generated to-be-declared information, as recommendation information about to-be-input information in the target field, and if the target field in the to-be-generated to-be-declared information fails to be matched to a related named entity, the to-be-input information is manually input, during the manual input, historical record data associated with the declaration material file is determined, and recommendation information about the to-be-input information in the target field is provided according to the historical record data.
17. A computer readable storage medium having stored thereon a computer program, characterized in that The program is executed by a processor to implement the steps of the method of any one of claims 1 to 12.
18. An electronic device, comprising: The application includes: One or more processors; And A memory associated with the one or more processors, the memory is configured to store program instructions, the program instructions are executed by the one or more processors to implement the steps of the method of any one of claims 1 to 12.
Citation Information
Patent Citations
Invoice recognition method and device, storage medium and computer device
CN110263239A
Intelligent customs declaration form filling method based on historical data mining
CN110471917A
Electronic receipt generating method and device, computer equipment and storage medium
CN111079709A
Character input method and device and electronic equipment
CN112416142A