CN112036803B - Method for generating general cross-border logistics distribution list - Google Patents

Method for generating general cross-border logistics distribution list Download PDF

Info

Publication number
CN112036803B
CN112036803B CN202011226917.5A CN202011226917A CN112036803B CN 112036803 B CN112036803 B CN 112036803B CN 202011226917 A CN202011226917 A CN 202011226917A CN 112036803 B CN112036803 B CN 112036803B
Authority
CN
China
Prior art keywords
pdf
file
template
information
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN202011226917.5A
Other languages
Chinese (zh)
Other versions
CN112036803A (en
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 Ocean Terminal Network Technology Co ltd
Shanghai Yangyi Information Technology Co ltd
Original Assignee
Shanghai Ocean Terminal Network Technology Co ltd
Shanghai Yangyi Information 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 Ocean Terminal Network Technology Co ltd, Shanghai Yangyi Information Technology Co ltd filed Critical Shanghai Ocean Terminal Network Technology Co ltd
Priority to CN202011226917.5A priority Critical patent/CN112036803B/en
Publication of CN112036803A publication Critical patent/CN112036803A/en
Application granted granted Critical
Publication of CN112036803B publication Critical patent/CN112036803B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0831Overseas transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • 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

Landscapes

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

Abstract

The invention discloses a method for generating a general cross-border logistics distribution bill, which is used for preparing a whole-course logistics distribution bill and generating a PDF file; abstracting content elements in a PDF file into PDF labels for storage, and forming record data of a configuration table; adopting PDF editing software to design a template file containing a specified configuration table, and enabling the template file to be related to data of the whole logistics distribution bill in information by adding or deleting templates and label information; generating a PDF file, matching a specified template and label information from a configuration table according to port routing information, and filling the PDF template according to a corresponding label metadata table to complete filling of each item of information of the PDF template; and setting an overseas printing domain system to realize the transmission and downloading of the PDF file. The method integrates the distribution information into the PDF file, avoids changing orders inside and outside, avoids mismatching and missing distribution, is suitable for import processes of various ports, solves the printing bottleneck of distribution lists, and improves the logistics distribution efficiency.

Description

Method for generating general cross-border logistics distribution list
Technical Field
The invention relates to the technical field of internet, in particular to a method for generating a general cross-border logistics distribution bill.
Background
With the rapid development of global trade, more and more cross-border logistics are involved, wherein a logistics distribution bill is a bill used for recording relevant information such as senders, receivers, product weight, price and the like in the process of transporting goods in the logistics industry, and most of the bills are in a bar code form, so that continuous data output is facilitated, and management is facilitated. At present, cross-border logistics distribution bill is mostly printed overseas by import merchant, when domestic delivery is made by domestic delivery company and is delivered, still need once to trade the bill, according to the information of international express bill, print into domestic express bill, because every aviation batch's parcel all has thousands, the manual operational load who trades the bill of delivery company is very big, the probability of conversion process mistake is very high, thereby cause various problems such as mismatch neglected distribution, in case make mistakes, seriously influence the normal delivery of article. Meanwhile, in various sales promotion periods, logistics distribution lists printed by imported merchants overseas are rapidly increased, and servers of a cross-border logistics platform are mostly arranged in China, so that frequent printing stagnation conditions are caused, and articles ordered by customers cannot be sent.
The cross-border e-commerce in China is still in the initial development stage, the cross-border import e-commerce test-point policy is not mature yet, and is still in the trial-and-trial stage, and the supervision modes of different test-point cities are not consistent; the content requirements of each port customs for the delivery receipt attached to the package are also inconsistent. This results in that each new port and the distribution company are docked, a new docking scheme is made for the distribution bill, so that the technical cost of each new port is high.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method for generating a general cross-border logistics distribution bill, which overcomes the defects of the generation of the traditional cross-border logistics distribution bill, integrates overseas and domestic distribution information into a general PDF file, avoids changing the bill from the overseas to the domestic, avoids mismatching and missing distribution, is suitable for import processes of various ports, adopts distributed cross-country network deployment, solves the printing bottleneck of the distribution bill and improves the logistics distribution efficiency.
In order to solve the technical problem, the method for generating the universal cross-border logistics distribution bill comprises the following steps:
step one, preparing a whole-course logistics distribution list which comprises an international distribution list number, a sender name address, a domestic distribution list number, a receiver name address, an entrance clearance list number, declared article information and settlement information, and generating a PDF file;
secondly, performing PDF file templating configuration, abstracting content elements in the PDF file into PDF tags, and storing the tags into a mysql database by using the characteristics of editable and designed PDF tags to form recorded data of a configuration table;
the configuration table includes:
PDF template table for storing the basic information data of each new template, including the size and type of the printed file and the address of the printed template file;
the PDF template and the port routing relation table are used for storing port information, supplier information and logistics line information corresponding to the template;
the PDF template and label relation mapping table is used for storing a label list required by the PDF template;
the label metadata table is used for storing various labels required by all types of PDF files, including character strings, two-dimensional codes and/or bar codes, and the metadata corresponds to the service data one by one;
the label attribute is used for representing the attribute of the label, including the printing size of the character string, the two-dimensional code and/or the bar code;
thirdly, PDF editing software is adopted to design a template file containing a specified configuration table, and the template file is associated with the data of the whole logistics distribution bill in information by adding or deleting the template and the label information;
generating PDF files, wherein each whole-course logistics distribution surface list contains port routing information, matching a designated template and label information from a configuration table according to the port routing information, and filling the PDF template according to a corresponding label metadata table to complete filling of each item of information of the PDF template;
and step five, setting an overseas printing domain system, wherein the printing domain system comprises a printing data service, a file generation service, a file downloading service, a file service component and a mysql database, the printing data service receives the whole-course logistics distribution list printing data of a business party and transmits the whole-course logistics distribution list printing data to the mysql database for storage, the file generation service provides data query support and generates a PDF file, the file service component is used for storing the generated PDF file, the file downloading service extracts the generated PDF file from the file service component according to a downloading request of a front-end user and transmits the PDF file to a request party, and the mysql database is used for storing the printing data.
Further, in the fifth step, the file generation service polls the data to be printed at regular time, checks whether the data is complete, generates a PDF file when the data is complete, and stores the generated PDF file to the file service component for the file download service to use.
Further, in the fifth step, the file service component uses Fast-DFS as a storage means of PDF files at home and uses alisma OSS as a storage means of PDF files at abroad.
The method for generating the universal cross-border logistics distribution bill adopts the technical scheme, namely, the method prepares the whole-course logistics distribution bill comprising various distribution information and generates a PDF file; abstracting content elements in a PDF file into PDF labels, and storing the labels into a mysql database to form record data of a configuration table; adopting PDF editing software to design a template file containing a specified configuration table, and enabling the template file to be related to data of the whole logistics distribution bill in information by adding or deleting templates and label information; generating a PDF file, matching a specified template and label information from a configuration table according to port routing information, and filling the PDF template according to a corresponding label metadata table to complete filling of each item of information of the PDF template; and setting an overseas printing domain system to realize the transmission and downloading of the PDF file. The method overcomes the defect of generation of the traditional cross-border logistics distribution bill, integrates overseas and domestic distribution information into a universal PDF file, avoids changing bills from the overseas to the domestic, avoids mismatching and missing distribution, is suitable for import processes of various ports, adopts distributed cross-country network deployment, solves the printing bottleneck of the distribution bill, and improves the logistics distribution efficiency.
Drawings
The invention is described in further detail below with reference to the following figures and embodiments:
FIG. 1 is a schematic view of a single template of a whole-course logistics distribution surface in the method;
FIG. 2 is a block diagram of an overseas print zone system in the present method;
FIG. 3 is a schematic diagram of the configuration of the PDF document templating in the method.
Detailed Description
Embodiments as shown in fig. 1, fig. 2 and fig. 3, the method for generating a universal cross-border logistics distribution menu of the present invention comprises the following steps:
step one, preparing a whole-course logistics distribution list which comprises an international distribution list number, a sender name address, a domestic distribution list number, a receiver name address, an entrance clearance list number, declared article information and settlement information, and generating a PDF file;
secondly, performing PDF file templating configuration, abstracting content elements in the PDF file into PDF tags, and storing the tags into a mysql database by using the characteristics of editable and designed PDF tags to form recorded data of a configuration table;
the configuration table includes:
PDF template table for storing the basic information data of each new template, including the size and type of the printed file and the address of the printed template file;
the PDF template and the port routing relation table are used for storing port information, supplier information and logistics line information corresponding to the template;
the PDF template and label relation mapping table is used for storing a label list required by the PDF template;
the label metadata table is used for storing various labels required by all types of PDF files, including character strings, two-dimensional codes and/or bar codes, and the metadata corresponds to the service data one by one;
the label attribute is used for representing the attribute of the label, including the printing size of the character string, the two-dimensional code and/or the bar code;
thirdly, PDF editing software is adopted to design a template file containing a specified configuration table, and the template file is associated with the data of the whole logistics distribution bill in information by adding or deleting the template and the label information;
generating PDF files, wherein each whole-course logistics distribution surface list contains port routing information, matching a designated template and label information from a configuration table according to the port routing information, and filling the PDF template according to a corresponding label metadata table to complete filling of each item of information of the PDF template;
and step five, setting an overseas printing domain system, wherein the printing domain system comprises a printing data service, a file generation service, a file downloading service, a file service component and a mysql database, the printing data service receives the whole-course logistics distribution list printing data of a business party and transmits the whole-course logistics distribution list printing data to the mysql database for storage, the file generation service provides data query support and generates a PDF file, the file service component is used for storing the generated PDF file, the file downloading service extracts the generated PDF file from the file service component according to a downloading request of a front-end user and transmits the PDF file to a request party, and the mysql database is used for storing the printing data.
Preferably, in the fifth step, the file generation service polls the data to be printed at regular time, checks whether the data is complete, generates a PDF file when the data is complete, and stores the generated PDF file to the file service component for the file download service to use.
Preferably, in the fifth step, the file service component uses Fast-DFS as a storage means of PDF files at home and uses arilocos as a storage means of PDF files at abroad.
In the whole-course logistics distribution bill template shown in fig. 1, each light-colored rectangle represents a label, for example, the largest three light-colored rectangles represent a clearance bill number barcode, an international distribution bill number barcode and a domestic distribution bill number barcode, and other slender labels are all of character string types, including a sender name address, a receiver name address, a port code, declared article information, settlement information and the like.
In the overseas print domain system shown in fig. 2, the file download service automatically allocates the latest file download service according to the user's request IP source; the upstream service mainly generates packages and other information, initiates message notification, pushes service data required by printing to a printing domain system through a message subscription mechanism, receives the printing data of a service party and lands in a mysql database to provide data query support for a file generation service, and because the data of the service party can not be sent to the printing domain system at one time, the file generation service polls the data to be printed regularly to check whether the data is complete or not, generates a file when the data is complete, and puts the generated file into a file service component for downloading service.
FIG. 3 is a block diagram showing a PDF document templating configuration, which firstly creates the label source data required by the template, the data is prepared in the beginning of the whole logistics distribution bill, and the subsequent modification is rarely made; creating a template according to the label data, and designating port information, distributor information, product line information and the like to which the template belongs; uploading a pre-designed template label file, establishing a required label mapping relation for the template, setting the attributes of labels and the like, and finally forming a PDF file template of the whole logistics distribution bill.
The method integrates the information of the international delivery order and the domestic delivery order on the same PDF, delivers the goods after the port clearance is made, and can be directly collected by domestic delivery companies. After the clearance link of each original parcel is finished, the distribution company needs to manually change the order, so that the workload is greatly increased, mistakes are easy to occur, and various problems such as mismatching and missing distribution are caused. Meanwhile, the method realizes distributed cross-country network deployment and solves the performance problem when a large number of tasks are printed in the cross-country network. When a certain client needs to perform a large amount of printing operations, the PDF file downloading is often failed due to network problems, and the rapid distribution of logistics is affected.
According to the method, the PDF label is operated visually through the PDF file templating configuration, the PDF template is uploaded in a supporting manner, and a large number of repeated codes are avoided. When the original delivery company manually changes the order, a large amount of hard codes and complicated test work are needed to be manually done each time a new template is made or the content of a certain area of the PDF is modified, and finally a PDF template can be completed, so that the efficiency is very low.
The method realizes the integration of distribution information in and out of the country, avoids the operation of changing the order, avoids mismatching and missing distribution, is suitable for the import flow of each port through port information matching, adopts distributed transnational network deployment, solves the printing bottleneck of the distribution order and improves the logistics distribution efficiency.

Claims (3)

1. A method for generating a general cross-border logistics distribution list is characterized by comprising the following steps:
step one, preparing a whole-course logistics distribution list which comprises an international distribution list number, a sender name address, a domestic distribution list number, a receiver name address, an entrance clearance list number, declared article information and settlement information, and generating a PDF file;
secondly, performing PDF file templating configuration, abstracting content elements in the PDF file into PDF tags, and storing the tags into a mysql database by using the characteristics of editable and designed PDF tags to form recorded data of a configuration table;
the configuration table includes:
PDF template table for storing the basic information data of each new template, including the size and type of the printed file and the address of the printed template file;
the PDF template and the port routing relation table are used for storing port information, supplier information and logistics line information corresponding to the template;
the PDF template and label relation mapping table is used for storing a label list required by the PDF template;
the label metadata table is used for storing various labels required by all types of PDF files, including character strings, two-dimensional codes and/or bar codes, and the metadata corresponds to the service data one by one;
the label attribute is used for representing the attribute of the label, including the printing size of the character string, the two-dimensional code and/or the bar code;
thirdly, PDF editing software is adopted to design a template file containing a specified configuration table, and the template file is associated with the data of the whole logistics distribution bill in information by adding or deleting the template and the label information;
generating PDF files, wherein each whole-course logistics distribution surface list contains port routing information, matching a designated template and label information from a configuration table according to the port routing information, and filling the PDF template according to a corresponding label metadata table to complete filling of each item of information of the PDF template;
and step five, setting an overseas printing domain system, wherein the printing domain system comprises a printing data service, a file generation service, a file downloading service, a file service component and a mysql database, the printing data service receives the whole-course logistics distribution list printing data of a business party and transmits the whole-course logistics distribution list printing data to the mysql database for storage, the file generation service provides data query support and generates a PDF file, the file service component is used for storing the generated PDF file, the file downloading service extracts the generated PDF file from the file service component according to a downloading request of a front-end user and transmits the PDF file to a request party, and the mysql database is used for storing the printing data.
2. The method for generating a universal cross-border logistics distribution menu as claimed in claim 1, wherein: in the fifth step, the file generation service polls the data to be printed at regular time, checks whether the data is complete, generates a PDF file when the data is complete, and stores the generated PDF file to the file service component for the file downloading service.
3. The method for generating a universal cross-border logistics distribution menu as claimed in claim 1, wherein: in the fifth step, the file service component uses Fast-DFS as a storage mode of PDF files at home and uses Ariyun OSS as a storage mode of PDF files at abroad.
CN202011226917.5A 2020-11-06 2020-11-06 Method for generating general cross-border logistics distribution list Expired - Fee Related CN112036803B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011226917.5A CN112036803B (en) 2020-11-06 2020-11-06 Method for generating general cross-border logistics distribution list

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011226917.5A CN112036803B (en) 2020-11-06 2020-11-06 Method for generating general cross-border logistics distribution list

Publications (2)

Publication Number Publication Date
CN112036803A CN112036803A (en) 2020-12-04
CN112036803B true CN112036803B (en) 2021-01-22

Family

ID=73572745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011226917.5A Expired - Fee Related CN112036803B (en) 2020-11-06 2020-11-06 Method for generating general cross-border logistics distribution list

Country Status (1)

Country Link
CN (1) CN112036803B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112801595A (en) * 2021-02-19 2021-05-14 上海中通吉网络技术有限公司 International express delivery method, device, system and equipment
CN113138759A (en) * 2021-04-23 2021-07-20 上海中通吉网络技术有限公司 Device suitable for multi-country express delivery bill is printed
CN116384359B (en) * 2022-12-30 2024-03-26 广州拓威天海国际物流有限公司 Label making method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324317A (en) * 2020-02-18 2020-06-23 上海东普信息科技有限公司 Local printing method, device, equipment and storage medium
CN111667219A (en) * 2020-06-10 2020-09-15 吕梁学院 Commodity distribution management system of cross-border e-commerce platform

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080302866A1 (en) * 2007-06-06 2008-12-11 Michael Baugh Method for creating a label, computer program product and logistics system
CN110633059A (en) * 2018-06-06 2019-12-31 珠海横琴盛达兆业科技投资有限公司 Printing method of PDF format electronic bill
KR102205637B1 (en) * 2019-01-02 2021-01-21 씨제이대한통운 (주) Address abbreviated waybill
CN111142812A (en) * 2019-12-13 2020-05-12 江苏艾佳家居用品有限公司 Method for automatically printing and exporting bill based on web technology custom-surface single template

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324317A (en) * 2020-02-18 2020-06-23 上海东普信息科技有限公司 Local printing method, device, equipment and storage medium
CN111667219A (en) * 2020-06-10 2020-09-15 吕梁学院 Commodity distribution management system of cross-border e-commerce platform

Also Published As

Publication number Publication date
CN112036803A (en) 2020-12-04

Similar Documents

Publication Publication Date Title
CN112036803B (en) Method for generating general cross-border logistics distribution list
JP5324797B2 (en) Data management system
KR20050013094A (en) Centralized management of packaging data with rule-based content validation
US20100023422A1 (en) System and Method for Processing Import/Export Transactions
US20070038673A1 (en) Method and apparatus for advanced shipping notification and EDI through web portal
TW200534139A (en) Strategic sourcing for packaging material procurement using centralized packaging data management system
CN106528701B (en) Cross-border merchandise news sending method and system
US20080114643A1 (en) Methods of Creating Electronic Customs Invoices
WO2021073477A1 (en) Method and apparatus for supporting modification of consignee information
CN107918836A (en) A kind of intelligence clearance system and method
US20210241357A1 (en) Customizable and extensible managed integration platform
US20130254131A1 (en) Global rfp/rfq/tender management
CN103295113A (en) Method for carrying out goods control by generating documents automatically through goods classification
US20050075955A1 (en) Order fulfillment architecture having an electronic customs invoice system
CN104599104A (en) Drill rig part Internet of Things integrated system including drill rig part manual terminal
KR100607845B1 (en) Print ordering system using PD file automatic conversion and its method
CN108510343A (en) A movement tradition ERP e-commerce platform order processing methods
CN104766118B (en) A kind of fixed petroleum steel pipe RFID device
US20030074241A1 (en) Online shipment information server system and method for providing shipment information to freight forwarder
CN104598957B (en) A kind of telescopic petroleum steel pipe RFID device
CN104574025A (en) Drilling rig part internet-of-things integration system based on bar code identification
CN104574026A (en) Head office system for integrated system of the Internet of things for drilling machine parts
CN104766115B (en) A kind of application method of fixed petroleum steel pipe RFID device
CN113642853A (en) Order management method, device, equipment and storage medium
CN104599106B (en) A kind of application method of telescopic petroleum steel pipe RFID electronic label 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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210122