CN112395271A - One-key conversion method, system and storage medium for breaking through multi-form barrier - Google Patents

One-key conversion method, system and storage medium for breaking through multi-form barrier Download PDF

Info

Publication number
CN112395271A
CN112395271A CN202011399722.0A CN202011399722A CN112395271A CN 112395271 A CN112395271 A CN 112395271A CN 202011399722 A CN202011399722 A CN 202011399722A CN 112395271 A CN112395271 A CN 112395271A
Authority
CN
China
Prior art keywords
analysis
information database
data
type template
header information
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.)
Withdrawn
Application number
CN202011399722.0A
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.)
Shanghai Sandao Intelligent Technology Co ltd
Original Assignee
Shanghai Sandao Intelligent 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 Shanghai Sandao Intelligent Technology Co ltd filed Critical Shanghai Sandao Intelligent Technology Co ltd
Priority to CN202011399722.0A priority Critical patent/CN112395271A/en
Publication of CN112395271A publication Critical patent/CN112395271A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/211Schema design and management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Databases & Information Systems (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Data Mining & Analysis (AREA)
  • General Business, Economics & Management (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Development Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to the technical field of customs clearance and discloses a one-key conversion method, a system and a storage medium for breaking through a multi-form barrier. The method comprises the following steps: establishing a header information database and a body information database; acquiring a form to be converted; based on a preset first type template corresponding to the form to be converted, capturing header information and body information matched with the first type template in the form to be converted, and respectively storing the header information and the body information into a header information database and a body information database; and extracting matched target data from the header information database and the body information database based on a preset second type template corresponding to the target form to generate the target form. The method and the device have the advantages that the direct conversion from one form to other forms with the same data information is realized, the form making time is saved, the form making efficiency is improved, and meanwhile, the error rate of the form making is also reduced.

Description

One-key conversion method, system and storage medium for breaking through multi-form barrier
Technical Field
The application relates to the technical field of customs clearance, in particular to a one-key conversion method, a system and a storage medium for breaking through the barrier of a multi-element form.
Background
Before shipping and shipping of goods at import and export, a declaration procedure needs to be handled to customs, and declaration materials comprise: import and export goods customs declaration form, goods invoice, land freight bill, air freight bill, shipping import bill, shipping export bill, goods packing bill, export receipt and reimbursement bill and the like. The existing relevant documents of the outbound customs are generally obtained by manually arranging various data information of goods one by enterprise personnel according to a sales order, different documents are required to be respectively arranged, the workload is large, a large amount of data needs to be checked in the process, and the error rate is high.
Disclosure of Invention
In order to improve the efficiency of customs declaration and reduce the error rate, the application provides a one-key conversion method, a system and a storage medium for breaking through the barrier of a multi-form.
In a first aspect, the present application provides a one-key conversion method for breaking through a multi-form barrier, including:
establishing a header information database and a body information database;
acquiring a form to be converted;
capturing target data matched with the first type template in the form to be converted based on a preset first type template corresponding to the form to be converted, wherein the target data comprises header information data and body data information;
respectively storing the header information data and the body data information into a header information database and a body information database;
and extracting matched target data from the header information database and the body information database based on a preset second type template corresponding to the target form to generate the target form.
By adopting the technical scheme, the header information and the body information are acquired from the form to be converted through the first type template, the header information and the body information are respectively stored in the header information database and the body information database, then the target data matched with the second type template are captured from the header information database and the body information database through the second type template, and the target form is generated, so that the direct conversion from one form to other forms with the same data information is realized, the form making time is saved, the form making efficiency is improved, and the error rate of the form making is also reduced.
In some embodiments, the attribute keys of the header information database and the body information database are labeled, and different header information databases and body information databases are set based on the attribute keys.
By adopting the technical scheme, the keywords are used for distinguishing the attributions of the forms, and for example, different companies are provided with different keywords, so that the forms of different companies can be conveniently converted.
In some embodiments, the method further comprises labeling attribute keywords of the first type template and the second type template to distinguish and confirm the attribution of the templates.
By adopting the technical scheme, the keywords are used for distinguishing the attributions of the templates, and for example, different companies are provided with different keywords, so that the forms of different companies can be conveniently converted.
In some embodiments, based on a preset first type template corresponding to the form to be converted, grabbing target data in the form to be converted, which matches the first type template, includes:
the method comprises the steps of service labeling, wherein the service labeling is carried out on a first type template, and comprises keyword labeling, cycle body labeling, and labels of corresponding unit cells, combined unit cells, a line table body and list body elements, wherein the cycle body labeling comprises transverse cycle body labeling and vertical cycle body labeling;
a first type of template parsing, comprising: the method comprises the steps of service type analysis, service field analysis and service table body analysis, wherein the service field analysis comprises keyword analysis, the service table body analysis comprises transverse cycle body analysis and vertical cycle body analysis, and the service table body analysis is stored in a first type template database after being analyzed.
By adopting the technical scheme, the interested positions in the template are positioned in the same row and column mode, the data attributes of the interested positions are determined in the same keyword labeling mode, and the template can be automatically matched with the files of the same type for data identification only by labeling the template once. Designated recognition templates are reduced, and recognition efficiency is greatly improved.
In some embodiments, based on a preset first type template corresponding to the form to be converted, grabbing target data in the form to be converted, which matches the first type template, includes:
selecting a first type template consistent with the attribution of the form to be converted based on the attribute keywords;
the method for matching and analyzing the form to be converted comprises the following steps: the method comprises the steps of service type analysis, service field analysis and service table body analysis, wherein the service field analysis comprises keyword analysis, and the service table body analysis comprises transverse cycle body analysis and vertical cycle body analysis;
and capturing data matched with the first type template in the form to be converted, wherein the target data comprises form head information data and form body data information.
In some embodiments, storing the header information data and the body information data in the header information database and the body information database, respectively, includes: and storing the target data including the header information data and the body data information to a header information database and a body information database corresponding to the attributes based on the attribute keywords.
In some embodiments, extracting the matched target data from the header information database and the body information database based on a preset second type template corresponding to the target form, and generating the target form includes:
the service marking is carried out on the second type template, and comprises keyword marking, cycle body marking and corresponding labels of the unit cells, the combined unit cells, the line table body and the list body elements, wherein the cycle body marking comprises transverse cycle body marking and vertical cycle body marking;
a second type of template parsing comprising: the method comprises the steps of service type analysis, service field analysis and service table body analysis, wherein the service field analysis comprises keyword analysis, and the service table body analysis comprises transverse cycle body analysis and vertical cycle body analysis;
and extracting the matched target data from the header information database and the body information database to the corresponding position of the second type template.
In some embodiments, extracting the matched target data from the header information database and the body information database based on a preset second type template corresponding to the target form, and generating the target form includes: and based on the attribute keywords, extracting matched target data from the header information database and the body information database corresponding to the attributes, and generating a target form.
In a second aspect, the present application provides a key transformation system for breaking through the barrier of a multi-form, comprising:
the header information database is used for storing header data; the table body information database is used for storing table body data and setting different table head information databases and table body information databases based on the attribute keywords;
the form acquiring unit is used for acquiring a form to be converted;
the first type template database is used for storing the analysis data of the first type template;
the second type template database is used for storing the analysis data of the second type template;
the data grabbing unit is used for grabbing header information data and body data information in the form to be converted based on the first type template;
the form generating unit is used for generating a target form based on the second type template;
a memory and a processor, the memory having stored thereon a computer program capable of being loaded by the processor and executing the above-described one-key transformation method for breaching a barrier of a multi-part form.
In a third aspect, the present application provides a computer readable storage medium storing a computer program that can be loaded by a processor (9) and that can be used for the above-mentioned one-key transformation method for breaching the barrier of a multivariate form.
To sum up, the one-key conversion method, system and storage medium for breaking through the multi-form barrier provided by the application have at least one of the following beneficial technical effects:
1. the form header information and the form body information are obtained from the form to be converted through the first type template, the target data matched with the second type template are captured from the form header information database and the form body information database through the second type template, and the target form is generated, so that the direct conversion from one form to other forms with the same data information is realized, the form making time is saved, the form making efficiency is improved, and meanwhile, the error rate of form making is also reduced.
Drawings
Fig. 1 is a block diagram of a one-key conversion system for breaking through the barrier of a multi-form provided in the present application.
1. A header information database; 2. a table body information database; 3. a form acquisition unit; 4. a first type template database; 5. a second type template database; 6. a data capture unit; 7. a form generation unit; 8. a memory; 9. a processor.
Detailed Description
The present application is described in further detail below with reference to the attached drawings.
The embodiment of the application provides a one-key conversion method, a system and a storage medium for breaking through the barrier of a multi-form.
The application discloses a one-key conversion method for breaking through a multi-form barrier, which comprises the following steps:
in the embodiment of the application, a plurality of header information databases and table body information databases can be established according to requirements, and keyword labeling is performed on different header information databases and table body information databases, wherein the keyword can be enterprise information so as to distinguish and confirm the attribution of the template, and information of different companies can be stored respectively.
And obtaining a form to be converted, such as a customs declaration.
Marking a first type template, in this embodiment of the present application, the first type template is a customs declaration, and the marking method includes:
template labeling, comprising: appointing and marking the service type corresponding to the first type template, wherein the service type can be invoice, box list and the like, and marking the keywords of the first type template to distinguish and determine the template;
the method comprises the steps of service labeling, wherein the service labeling is carried out on a first type template, and comprises keyword labeling, cycle body labeling, and labels of corresponding unit cells, combined unit cells, line table bodies and list body elements, the cycle body labeling comprises transverse cycle body labeling and vertical cycle body labeling, the keyword labeling is used for determining a field reference object, and elements such as a table body (starting and ending) reference object are determined through the labels of the corresponding unit cells, combined unit cells, line table bodies and list body elements;
parsing the first type template, comprising: the method comprises the steps of service type analysis, service field analysis and service table body analysis, wherein the service field analysis comprises keyword analysis, the service table body analysis comprises transverse cycle body analysis and vertical cycle body analysis, and the service table body analysis is stored in a first type template database after being analyzed.
Marking a second type template, wherein in this embodiment of the application, the second type template is a comment list template, and the marking method includes:
template labeling, comprising: appointing and marking the service type corresponding to the second type template, wherein the service type can be invoice, box order and the like, and marking the keywords of the second type template to distinguish and determine the template;
the service labeling is carried out on the second type template, and comprises keyword labeling, cycle body labeling, labels of corresponding unit cells, combined unit cells, line table bodies and list body elements, the cycle body labeling comprises transverse cycle body labeling and vertical cycle body labeling, the keyword labeling is used for determining field reference objects, and elements such as table body (starting and ending) reference objects are determined through the labels of the corresponding unit cells, combined unit cells, line table bodies and list body elements;
parsing the second type template, including: the method comprises the steps of service type analysis, service field analysis and service table body analysis, wherein the service field analysis comprises keyword analysis, the service table body analysis comprises transverse cycle body analysis and vertical cycle body analysis, and the service table body analysis is stored in a second type template database after being analyzed.
Capturing target data matched with the first type template in the form to be converted based on a preset first type template corresponding to the form to be converted, wherein the capturing target data specifically comprises the following steps:
selecting a first type template consistent with the attribution of the form to be converted based on the attribute keywords;
the method for matching and analyzing the form to be converted comprises the following steps: the method comprises the steps of service type analysis, service field analysis and service table body analysis, wherein the service field analysis comprises keyword analysis, and the service table body analysis comprises transverse cycle body analysis and vertical cycle body analysis;
capturing data matched with the first type template in the form to be converted, wherein the target data comprises form head information data and form body number information;
and storing the target data including the header information data and the body data information to a header information database and a body information database corresponding to the attributes based on the attribute keywords.
And finally, extracting matched target data from the header information database and the body information database corresponding to the attributes based on the attribute keywords, and generating a target form.
As shown in fig. 1, the present application further discloses a one-key conversion system for breaking the barrier of a multi-form, comprising:
a header information database 1 for storing header data; the table body information database 2 is used for storing table body data and setting different table head information databases and table body information databases based on the attribute keywords;
the form acquiring unit 3 is used for acquiring a form to be converted;
the first type template database 4 is used for storing the analysis data of the first type template;
a second type template database 5 for storing the analysis data of the second type template;
the data grabbing unit 6 is used for grabbing header information data and body data information in the form to be converted based on the first type template;
a form generating unit 7, configured to generate a target form based on the second type template;
a memory 8 and a processor 9, said memory 8 having stored thereon a computer program capable of being loaded by the processor 9 and executing the above-described one-key transformation method for breaching the multi-form barrier.
The present embodiment provides a storage medium, which stores an instruction set, and the instruction set is suitable for a processor 9 to load and execute the above-mentioned step of the one-key transformation method for breaking the barrier of the multi-form.
The computer storage medium includes, for example: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above embodiments are only used to describe the technical solutions of the present application in detail, but the above embodiments are only used to help understanding the method and the core idea of the present application, and should not be construed as limiting the present application. Those skilled in the art should also appreciate that various modifications and substitutions can be made without departing from the scope of the present disclosure.

Claims (10)

1. The one-key conversion method for breaking through the barrier of the multi-form is characterized by comprising the following steps:
establishing a header information database and a body information database;
acquiring a form to be converted;
capturing target data matched with the first type template in the form to be converted based on a preset first type template corresponding to the form to be converted, wherein the target data comprises header information data and body data information;
respectively storing the header information data and the body data information into a header information database and a body information database;
and extracting matched target data from the header information database and the body information database based on a preset second type template corresponding to the target form to generate the target form.
2. The method of claim 1, wherein the attribute keys of the header information database and the body information database are labeled, and different header information database and body information database are configured based on the attribute keys.
3. The method of claim 2, further comprising labeling attribute keys of the first type template and the second type template to distinguish and confirm the attribution of the templates.
4. The method of claim 2, wherein capturing the target data of the form to be converted that matches the first type template based on the preset first type template corresponding to the form to be converted comprises:
the method comprises the steps of service labeling, wherein the service labeling is carried out on a first type template, and comprises keyword labeling, cycle body labeling, and labels of corresponding unit cells, combined unit cells, a line table body and list body elements, wherein the cycle body labeling comprises transverse cycle body labeling and vertical cycle body labeling;
a first type of template parsing, comprising: the method comprises the steps of service type analysis, service field analysis and service table body analysis, wherein the service field analysis comprises keyword analysis, the service table body analysis comprises transverse cycle body analysis and vertical cycle body analysis, and the service table body analysis is stored in a first type template database after being analyzed.
5. The method of claim 4, wherein capturing target data in the form to be converted that matches the first type template based on a preset first type template corresponding to the form to be converted comprises:
selecting a first type template consistent with the attribution of the form to be converted based on the attribute keywords;
the method for matching and analyzing the form to be converted comprises the following steps: the method comprises the steps of service type analysis, service field analysis and service table body analysis, wherein the service field analysis comprises keyword analysis, and the service table body analysis comprises transverse cycle body analysis and vertical cycle body analysis;
and capturing data matched with the first type template in the form to be converted, wherein the target data comprises form head information data and form body data information.
6. The method of claim 5, wherein storing the header information data and the body information data in the header information database and the body information database, respectively, comprises: and storing the target data including the header information data and the body data information to a header information database and a body information database corresponding to the attributes based on the attribute keywords.
7. The method of claim 6, wherein the extracting the matched target data from the header information database and the body information database based on a preset second type template corresponding to the target form, and generating the target form comprises:
the service marking is carried out on the second type template, and comprises keyword marking, cycle body marking and corresponding labels of the unit cells, the combined unit cells, the line table body and the list body elements, wherein the cycle body marking comprises transverse cycle body marking and vertical cycle body marking;
a second type of template parsing comprising: the method comprises the steps of service type analysis, service field analysis and service table body analysis, wherein the service field analysis comprises keyword analysis, and the service table body analysis comprises transverse cycle body analysis and vertical cycle body analysis;
and extracting the matched target data from the header information database and the body information database to the corresponding position of the second type template.
8. The method of claim 6, wherein the extracting the matched target data from the header information database and the body information database based on a preset second type template corresponding to the target form, and generating the target form comprises: and based on the attribute keywords, extracting matched target data from the header information database and the body information database corresponding to the attributes, and generating a target form.
9. A one-key conversion system for breaching the barriers of multiple forms, comprising:
a header information database (1) for storing header data; the table body information database (2) is used for storing table body data and setting different table head information databases and table body information databases based on the attribute keywords;
the form acquiring unit (3) is used for acquiring a form to be converted;
the first type template database (4) is used for storing the analysis data of the first type template;
a second type template database (5) for storing the analysis data of the second type template;
the data grabbing unit (6) is used for grabbing header information data and body data information in the form to be converted based on the first type template;
a form generation unit (7) for generating a target form based on the second type template;
a memory (8) and a processor (9), the memory (8) having stored thereon a computer program that can be loaded by the processor (9) and that executes a method of one-key translation that breaches a multivariate form barrier as defined in any of claims 1 to 8.
10. A computer-readable storage medium, characterized in that a computer program is stored which can be loaded by a processor (9) and which executes a method of one-key transformation which breaks a multi-form barrier as claimed in any one of claims 1 to 8.
CN202011399722.0A 2020-12-02 2020-12-02 One-key conversion method, system and storage medium for breaking through multi-form barrier Withdrawn CN112395271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011399722.0A CN112395271A (en) 2020-12-02 2020-12-02 One-key conversion method, system and storage medium for breaking through multi-form barrier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011399722.0A CN112395271A (en) 2020-12-02 2020-12-02 One-key conversion method, system and storage medium for breaking through multi-form barrier

Publications (1)

Publication Number Publication Date
CN112395271A true CN112395271A (en) 2021-02-23

Family

ID=74605157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011399722.0A Withdrawn CN112395271A (en) 2020-12-02 2020-12-02 One-key conversion method, system and storage medium for breaking through multi-form barrier

Country Status (1)

Country Link
CN (1) CN112395271A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113076722A (en) * 2021-03-10 2021-07-06 北京明略软件***有限公司 Report generation method and device, computer equipment and storage medium
CN113689207A (en) * 2021-08-04 2021-11-23 广联达科技股份有限公司 Method and device for switching unit price forms and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113076722A (en) * 2021-03-10 2021-07-06 北京明略软件***有限公司 Report generation method and device, computer equipment and storage medium
CN113689207A (en) * 2021-08-04 2021-11-23 广联达科技股份有限公司 Method and device for switching unit price forms and electronic equipment
CN113689207B (en) * 2021-08-04 2024-04-26 广联达科技股份有限公司 Monovalent form switching method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US7561742B2 (en) Apparatus and methods for converting raster illustrated parts images into intelligent vector-layered files
CN112395271A (en) One-key conversion method, system and storage medium for breaking through multi-form barrier
CN112528602B (en) Method, system and storage medium for analyzing structured content of medical document
CN102012857B (en) Device and method for automatically testing web page
CN103678109A (en) Dump document analysis method, device and system
CN110569330A (en) text labeling system, device, equipment and medium based on intelligent word selection
CN110543475A (en) financial statement data automatic identification and analysis method based on machine learning
CN110909123A (en) Data extraction method and device, terminal equipment and storage medium
CN111143370B (en) Method, apparatus and computer-readable storage medium for analyzing relationships between a plurality of data tables
CN110515844B (en) Method for extracting bug information from JIRA to generate multidimensional analysis report
CN111815162A (en) Digital auditing tool and method
CN113159246B (en) Steel mill cargo identification method and device based on two-dimensional code label and computer equipment
CN116127105B (en) Data collection method and device for big data platform
CN111625689B (en) SVG graph and monitoring information correlation verification method for transformer substation
CN112668292A (en) Method for automatically extracting tracking matrix from system configuration rule and application thereof
Stein Dani et al. Supporting event log extraction based on matching
Vardigan et al. Creating Rich, Structured metadata: lessons learned in the metadata portal project
US11256760B1 (en) Region adjacent subgraph isomorphism for layout clustering in document images
CN112417837A (en) Method, system and storage medium for automatic cross judgment retrieval matching template based on mole identification
CN110956022A (en) Document processing method and system
KR20200061317A (en) System And Method For Insurance Audit
CN111177301A (en) Key information identification and extraction method and system
EP4009194A1 (en) Automated classification and interpretation of life science documents
KR101192273B1 (en) Plant and ship commissioning support method and computer readable recording medium storing program performing the method
CN114564472B (en) Metadata expansion method, storage medium and electronic device

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20210223