CN113706089B - Cross-border electronic commerce automatic customs declaration method, device and storage medium - Google Patents

Cross-border electronic commerce automatic customs declaration method, device and storage medium Download PDF

Info

Publication number
CN113706089B
CN113706089B CN202110614596.4A CN202110614596A CN113706089B CN 113706089 B CN113706089 B CN 113706089B CN 202110614596 A CN202110614596 A CN 202110614596A CN 113706089 B CN113706089 B CN 113706089B
Authority
CN
China
Prior art keywords
code
customs
customs clearance
acquiring
clearance
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.)
Active
Application number
CN202110614596.4A
Other languages
Chinese (zh)
Other versions
CN113706089A (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.)
Jilin Aiyangxin Retail Co ltd
Jilin Lost Biometric Technology Co ltd
Wanrong Internet Jilin Digital Operation Co ltd
Jilin Aiyangguang New Technology Co ltd
Original Assignee
Jilin Aiyangxin Retail Co ltd
Jilin Lost Biometric Technology Co ltd
Wanrong Internet Jilin Digital Operation Co ltd
Jilin Aiyangguang New 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 Jilin Aiyangxin Retail Co ltd, Jilin Lost Biometric Technology Co ltd, Wanrong Internet Jilin Digital Operation Co ltd, Jilin Aiyangguang New Technology Co ltd filed Critical Jilin Aiyangxin Retail Co ltd
Priority to CN202110614596.4A priority Critical patent/CN113706089B/en
Publication of CN113706089A publication Critical patent/CN113706089A/en
Application granted granted Critical
Publication of CN113706089B publication Critical patent/CN113706089B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/10Office automation; Time 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]

Landscapes

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

Abstract

The application relates to a cross-border electronic commerce automatic customs declaration method, a device and a storage medium, wherein the method comprises the following steps: acquiring a customs clearance code; judging whether the customs clearance code is legal or not; if yes, acquiring customs clearance information; if not, returning to the step of acquiring the customs clearance code; acquiring a customs clearance template according to the customs clearance code; filling in the customs template according to the customs information; generating a message according to the customs clearance template; and reporting the customs by using the message. The method, the device and the storage medium for automatically reporting the customs of the cross-border electronic commerce can solve the problems encountered in the process of reporting the customs of wide cross-border electronic commerce enterprises, and provide automatic customs reporting business for the cross-border electronic commerce enterprises, so that the development period and the development cost of an enterprise software system are reduced, and the development of the cross-border electronic commerce enterprises is promoted.

Description

Cross-border electronic commerce automatic customs declaration method, device and storage medium
Technical Field
The application relates to the field of cross-border electronic commerce, in particular to a method, a device and a storage medium for automatically reporting off cross-border electronic commerce.
Background
With the continuous development of electronic commerce, especially in the background of postepidemic situation, the demand of customers for diversified and high-quality commodities is higher and higher, the sea panning is rapidly rising, and huge business opportunities are reserved behind the sea panning, so that cross-border trade electronic commerce has become a new growth point for external trade in China.
Along with the continuous enhancement of the supporting strength of related policies, cross-border electronic commerce like tiger wings and small cross-border electronic commerce develop rapidly like spring bamboo shoots after raining. However, an important working link of the cross-border electronic commerce is to report the import and export goods, and four-in-one of the order, the list, the logistics list and the payment list of the corresponding goods is required to be carried out during reporting the goods for data reporting. The customs clearance is usually divided into two types, namely manual customs clearance and automatic customs clearance by a computer, and the manual customs clearance needs to be manually input with customs clearance data, so that the efficiency is low, the error rate is high, and the customs clearance is basically not used at the present stage.
However, there are problems in automatic customs clearance through information systems, for example, there is a certain difference in messages reported by customs in various places, and the messages are not in uniform data format. The same problem also exists in the logistics customs service, and the message formats of all logistics companies are different, so that the use of electronic commerce software of small and medium-sized cross-border enterprises for customs service of multiple customs or logistics enterprises can bring about a plurality of problems of lengthening development period, increasing cost and the like, and become the bottleneck of development of the cross-border electronic commerce enterprises.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, the application provides a cross-border electronic commerce automatic customs clearance method, a device and a storage medium.
In a first aspect, the present application provides a method for automatically reporting customs of a cross-border e-commerce, where the method includes the steps of:
acquiring a customs clearance code;
judging whether the customs clearance code is legal or not;
if yes, acquiring customs clearance information;
if not, returning to the step of acquiring the customs clearance code;
acquiring a customs clearance template according to the customs clearance code;
filling in the customs template according to the customs information;
generating a message according to the customs clearance template;
and reporting the customs by using the message.
Preferably, before the acquiring the customs clearance code, the method further comprises the steps of:
setting a first database;
storing a first region code in the first database;
acquiring a first logistics enterprise code associated with the first related area code;
storing the first logistics enterprise code in the first database;
a first mapping between the first region of interest code and the first logistics enterprise code is constructed.
Preferably, after said constructing a first mapping between said first region of interest code and said first logistics enterprise code, the steps of:
setting a second database;
acquiring the first closing region code and the corresponding first logistics enterprise code;
storing the first region code and the corresponding first logistics enterprise code in the second database;
acquiring a customs clearance template associated with the first customs clearance code and the corresponding first logistics enterprise code;
storing the customs clearance template into the second database;
and constructing a second mapping between the first gateway code and the corresponding first logistics enterprise code and the customs clearance template.
Preferably, the step of judging whether the customs clearance code is legal includes the steps of:
acquiring a first database;
acquiring a first related area code preset in the first database and a corresponding first logistics enterprise code;
acquiring a closing area code and a logistics enterprise code in the customs declaration code;
judging whether the first gateway code and the first logistics enterprise code correspond to the gateway code and the logistics enterprise code respectively;
if yes, judging that the customs clearance code is legal;
if not, judging that the customs clearance code is illegal.
Preferably, the step of obtaining the customs template according to the customs code includes the steps of:
acquiring a second database;
acquiring all first related area codes preset in the second database and all corresponding first logistics enterprise codes;
acquiring a closing area code and a corresponding logistics enterprise code in the customs declaration code;
comparing the region-of-interest code with the corresponding logistics enterprise code with the first region-of-interest code and the corresponding first logistics enterprise code respectively;
and obtaining the customs clearance templates respectively corresponding to the customs clearance templates.
Preferably, after the reporting the customs by using the message, the method further comprises the steps of:
judging whether the message is legal or not;
if yes, continuing to report the customs by using the message;
if not, returning to the step of acquiring the customs clearance information.
Preferably, after the reporting the customs by using the message, the method further comprises the steps of:
acquiring customs clearance state query information;
judging whether the customs state inquiry information is legal or not;
if yes, acquiring cargo information;
if not, returning to the step of acquiring the customs clearance state inquiry information;
acquiring a customs clearance state query template according to the cargo information;
filling in a customs state query template according to the customs state query information;
and acquiring the customs clearance state according to the customs clearance state inquiry template.
In a second aspect, the present application provides a cross-border e-commerce automatic customs clearance device, the device comprising:
the customs code acquisition module is used for acquiring customs codes;
the judging module is used for judging whether the customs clearance code is legal or not;
the execution module is used for executing preset operation according to the judging result of the judging module;
the customs clearance template acquisition module is used for acquiring a customs clearance template according to the customs clearance code;
the customs template filling module is used for filling the customs template according to the customs information;
the message generation module is used for generating a message according to the customs clearance template;
the customs clearance module is used for customs clearance by using the message;
when the judging module judges that the judging result is yes, the executing module acquires the customs clearance information; and when the judging module judges that the result is negative, the executing module returns to the step of acquiring the customs clearance code.
In a third aspect, an electronic device is provided, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the steps of the cross-border e-commerce automatic customs declaration method when executing the program stored in the memory.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the cross-border e-commerce automatic customs clearance method according to any one of the embodiments of the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
the method, the device and the storage medium for automatically reporting the customs of the cross-border electronic commerce can solve the problems encountered in the process of reporting the customs of wide cross-border electronic commerce enterprises, and provide automatic customs reporting business for the cross-border electronic commerce enterprises, so that the development period and the development cost of an enterprise software system are reduced, and the development of the cross-border electronic commerce enterprises is promoted.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic flow chart of a cross-border e-commerce automatic customs declaration method provided by an embodiment of the invention;
fig. 2 is a schematic structural diagram of an automatic customs declaration device for cross-border electronic commerce according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a non-transitory computer readable storage medium according to an embodiment of the present invention.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of 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, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present application based on the embodiments herein.
Fig. 1 is a schematic flow chart of a cross-border e-commerce automatic customs declaration method provided in an embodiment of the present application.
In an embodiment of the present application, the present application provides a cross-border e-commerce automatic customs declaration method, where the method includes the steps of:
s1: acquiring a customs clearance code;
in the embodiment of the application, the customs clearance code can be obtained by actively sending by the enterprise of the electronic commerce to be reported, and the customs clearance code can comprise a customs clearance code and a logistics enterprise code.
In this embodiment of the present application, before acquiring the customs clearance code in step S1, the method further includes the steps of:
setting a first database;
storing a first region code in the first database;
acquiring a first logistics enterprise code associated with the first related area code;
storing the first logistics enterprise code in the first database;
a first mapping between the first region of interest code and the first logistics enterprise code is constructed.
In the embodiment of the application, a first database is pre-constructed, a plurality of region-closing codes supported by the database are pre-stored in the first database, a plurality of first logistics enterprise codes corresponding to the region-closing codes are obtained according to the region-closing codes, a plurality of first region-closing codes and all first logistics enterprise codes corresponding to the region-closing codes are stored in the first database, and each region-closing code and all first logistics enterprise codes corresponding to the region-closing codes form a first mapping, so that the subsequent use is facilitated.
In an embodiment of the present application, after said constructing a first mapping between said first region of interest code and said first logistics enterprise code, the method further includes the steps of:
setting a second database;
acquiring the first closing region code and the corresponding first logistics enterprise code;
storing the first region code and the corresponding first logistics enterprise code in the second database;
acquiring a customs clearance template associated with the first customs clearance code and the corresponding first logistics enterprise code;
storing the customs clearance template into the second database;
and constructing a second mapping between the first gateway code and the corresponding first logistics enterprise code and the customs clearance template.
In this embodiment of the present application, a second database is pre-configured, where the second database is configured to store a customs clearance template corresponding to the first customs clearance code stored in the first database and the corresponding first logistics enterprise code, and when the first customs clearance code and the first logistics enterprise code are obtained, the corresponding customs clearance template may be queried in the second database, where the customs clearance template is used for customs clearance.
S2: judging whether the customs clearance code is legal or not;
in this embodiment, the step S2 of determining whether the customs clearance code is legal includes the steps of:
acquiring a first database;
acquiring a first related area code preset in the first database and a corresponding first logistics enterprise code;
acquiring a closing area code and a logistics enterprise code in the customs declaration code;
judging whether the first gateway code and the first logistics enterprise code correspond to the gateway code and the logistics enterprise code respectively;
if yes, judging that the customs clearance code is legal;
if not, judging that the customs clearance code is illegal.
In the embodiment of the application, when judging whether the customs clearance code is legal, specifically, a first pre-stored database is obtained, the first supported customs clearance code and a first logistics enterprise code are pre-stored in the database, then the customs clearance code which is sent by an electronic commerce enterprise is obtained, the customs clearance code at least comprises a customs clearance code and a logistics enterprise code, then the customs clearance code and the logistics enterprise code are respectively compared with the first customs clearance code and the first logistics enterprise code in the first database, when the customs clearance code and the logistics enterprise code are uniformly and correspondingly, the customs clearance code which is sent by the electronic commerce enterprise is known to be legal by the first database; when any one of the two codes is not corresponding, the first database can be known to not support the related area code and the logistics enterprise code sent by the electronic commerce enterprise, and the related code is considered legal.
S3: if yes, acquiring customs clearance information;
in the embodiment of the application, when the result of judging whether the customs clearance code is legal is yes, customs clearance information is acquired. Specifically, the customs clearance information can be obtained through sending by an electronic commerce enterprise to be customs clearance, and can comprise customs clearance commodity information and customs clearance enterprise information.
S4: if not, returning to the step of acquiring the customs clearance code;
in this embodiment of the present application, when the result of determining whether the customs clearance code is legal is no, the step of obtaining the customs clearance code is returned.
S5: acquiring a customs clearance template according to the customs clearance code;
in the embodiment of the present application, the obtaining the customs template according to the customs code in step S5 includes the steps of:
acquiring a second database;
acquiring all first related area codes preset in the second database and all corresponding first logistics enterprise codes;
acquiring a closing area code and a corresponding logistics enterprise code in the customs declaration code;
comparing the region-of-interest code with the corresponding logistics enterprise code with the first region-of-interest code and the corresponding first logistics enterprise code respectively;
and obtaining the customs clearance templates respectively corresponding to the customs clearance templates.
In this embodiment of the present application, after the customs code is obtained, a query may be requested from the second database according to the customs code, so as to call out a customs template corresponding to the customs code.
S6: filling in the customs template according to the customs information;
in the embodiment of the present application, after the customs template and customs information are acquired, the customs information may be filled into the customs template, for example, customs commodity information and customs enterprise information may be filled into corresponding positions in the customs template.
S7: generating a message according to the customs clearance template;
in this embodiment of the present application, after the customs information is filled in the customs template, a message may be generated by using the customs template, for example, the format of the customs template is automatically adjusted to a message format.
S8: and reporting the customs by using the message.
In the embodiment of the application, after the message is acquired, the message can be used for reporting the customs.
In this embodiment of the present application, after the reporting by using the message in step S8, the method further includes the steps of:
judging whether the message is legal or not;
if yes, continuing to report the customs by using the message;
if not, returning to the step of acquiring the customs clearance information.
In the embodiment of the present application, after the message is obtained, validity judgment may be further performed on the message, for example, whether the format and/or content of the message are legal/compliant/reasonable, etc., and if the message is judged to be legal, the message is continuously used for reporting; and if the message is illegal, returning to the step of acquiring the customs clearance information.
In this embodiment of the present application, after the reporting by using the message in step S8, the method further includes the steps of:
acquiring customs clearance state query information;
judging whether the customs state inquiry information is legal or not;
if yes, acquiring cargo information;
if not, returning to the step of acquiring the customs clearance state inquiry information;
acquiring a customs clearance state query template according to the cargo information;
filling in a customs state query template according to the customs state query information;
and acquiring the customs clearance state according to the customs clearance state inquiry template.
In the embodiment of the present application, after the message is acquired, the customs clearance state query information may also be input so as to query the customs clearance state of the message. Specifically, the customs clearance state inquiry information can include an order number, a payment number and a material flow number, the customs clearance state inquiry information can be filled in by an electronic commerce industry, after the customs clearance state inquiry information filled in by the enterprise is obtained, the system judges whether the information is legal or not, namely whether the information is stored in the system or not, if so, the goods information is considered legal, a customs clearance state inquiry template is obtained according to the goods information, the system fills in the template according to the customs clearance state inquiry information filled in by the enterprise, and then the customs clearance state of customs clearance goods is obtained according to the template; and if the customs clearance state inquiry information is judged to be illegal, returning to the step of acquiring the customs clearance state inquiry information.
Fig. 2 is a schematic structural diagram of a cross-border e-commerce automatic customs declaration device according to an embodiment of the present invention
In a second aspect of the embodiments of the present application, the present application provides a cross-border e-commerce automatic customs declaration device, where the device includes:
the customs code acquisition module 10 is used for acquiring customs codes;
a judging module 20, configured to judge whether the customs clearance code is legal;
an execution module 30, configured to execute a preset operation according to a determination result of the determination module;
the customs clearance template acquisition module 40 is used for acquiring a customs clearance template according to the customs clearance code;
a customs template filling module 50 for filling the customs template according to the customs information;
a message generating module 60, configured to generate a message according to the customs clearance template;
a customs clearance module 70, configured to use the message to report a customs clearance;
wherein, when the judging module 20 judges that the result is yes, the executing module 30 obtains the customs clearance information; when the judging module 20 judges that the result is negative, the executing module 30 returns to the step of acquiring the customs clearance code.
In the embodiment of the application, the cross-border e-commerce automatic customs declaration device provided by the application can execute the cross-border e-commerce automatic customs declaration method.
Referring to fig. 3, the embodiment of the present disclosure further provides an electronic device 100, including:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the cross-border e-commerce automatic customs clearance method of the foregoing method embodiments.
The disclosed embodiments also provide a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the foregoing method embodiments.
The disclosed embodiments also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the cross-border e-commerce automatic customs clearance method of the foregoing method embodiments.
The method, the device and the storage medium for automatically reporting the customs of the cross-border electronic commerce can solve the problems encountered in the process of reporting the customs of wide cross-border electronic commerce enterprises, and provide automatic customs reporting business for the cross-border electronic commerce enterprises, so that the development period and the development cost of an enterprise software system are reduced, and the development of the cross-border electronic commerce enterprises is promoted.
Referring now to fig. 3, a schematic diagram of an electronic device 100 suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 3 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 3, the electronic device 100 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 101 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 102 or a program loaded from a storage means 108 into a Random Access Memory (RAM) 103. In the RAM 103, various programs and data necessary for the operation of the electronic apparatus 100 are also stored. The processing device 101, ROM 102, and RAM 103 are connected to each other by a bus 104. An input/output (I/O) interface 105 is also connected to bus 104.
In general, the following devices may be connected to the I/O interface 105: input devices 106 including, for example, a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; an output device 107 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 108 including, for example, magnetic tape, hard disk, etc.; and a communication device 109. The communication means 109 may allow the electronic device 100 to communicate wirelessly or by wire with other devices to exchange data. While an electronic device 100 having various means is shown in the figures, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 109, or from the storage means 108, or from the ROM 102. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 101.
Referring now to fig. 4, there is illustrated a schematic diagram of a computer readable storage medium suitable for use in implementing embodiments of the present disclosure, the computer readable storage medium storing a computer program that, when executed by a processor, is capable of implementing a cross-border e-commerce automatic customs clearance method as defined in any one of the above.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring at least two internet protocol addresses; sending a node evaluation request comprising the at least two internet protocol addresses to node evaluation equipment, wherein the node evaluation equipment selects an internet protocol address from the at least two internet protocol addresses and returns the internet protocol address; receiving an Internet protocol address returned by the node evaluation equipment; wherein the acquired internet protocol address indicates an edge node in the content distribution network.
Alternatively, the computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: receiving a node evaluation request comprising at least two internet protocol addresses; selecting an internet protocol address from the at least two internet protocol addresses; returning the selected internet protocol address; wherein the received internet protocol address indicates an edge node in the content distribution network.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The name of the unit does not in any way constitute a limitation of the unit itself, for example the first acquisition unit may also be described as "unit acquiring at least two internet protocol addresses".
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. The foregoing is merely a specific embodiment of the application to enable one skilled in the art to understand or practice the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
In summary, the foregoing description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. The automatic customs declaration method for the cross-border electronic commerce is characterized by comprising the following steps:
acquiring a customs clearance code;
judging whether the customs clearance code is legal or not;
if yes, acquiring customs clearance information;
if not, returning to the step of acquiring the customs clearance code;
acquiring a customs clearance template according to the customs clearance code;
filling in the customs template according to the customs information;
generating a message according to the customs clearance template;
reporting the customs by using the message;
the method further comprises the following steps before the customs clearance code is acquired:
setting a first database;
storing a first region code in the first database;
acquiring a first logistics enterprise code associated with the first related area code;
storing the first logistics enterprise code in the first database;
constructing a first mapping between the first region of interest code and the first logistics enterprise code;
the step of judging whether the customs clearance code is legal or not comprises the following steps:
acquiring a first database;
acquiring a first related area code preset in the first database and a corresponding first logistics enterprise code;
acquiring a closing area code and a logistics enterprise code in the customs declaration code;
judging whether the first gateway code and the first logistics enterprise code correspond to the gateway code and the logistics enterprise code respectively;
if yes, judging that the customs clearance code is legal;
if not, judging that the customs clearance code is illegal.
2. The method of cross-border e-commerce automated customs clearance of claim 1, further comprising, after said constructing a first mapping between said first clearance code and said first logistics enterprise code, the steps of:
setting a second database;
acquiring the first closing region code and the corresponding first logistics enterprise code;
storing the first region code and the corresponding first logistics enterprise code in the second database;
acquiring a customs clearance template associated with the first customs clearance code and the corresponding first logistics enterprise code;
storing the customs clearance template into the second database;
and constructing a second mapping between the first gateway code and the corresponding first logistics enterprise code and the customs clearance template.
3. The method for automatically reporting a customs clearance for a cross-border e-commerce according to claim 2, wherein the step of obtaining a customs clearance template according to the customs clearance code comprises the steps of:
acquiring a second database;
acquiring all first related area codes preset in the second database and all corresponding first logistics enterprise codes;
acquiring a closing area code and a corresponding logistics enterprise code in the customs declaration code;
comparing the region-of-interest code with the corresponding logistics enterprise code with the first region-of-interest code and the corresponding first logistics enterprise code respectively;
and obtaining the customs clearance templates respectively corresponding to the customs clearance templates.
4. The method for automatically reporting the customs clearance between electronic commerce according to claim 1, further comprising the steps of, after the reporting the clearance by using the message:
judging whether the message is legal or not;
if yes, continuing to report the customs by using the message;
if not, returning to the step of acquiring the customs clearance information.
5. The method for automatically reporting the customs clearance between electronic commerce according to claim 1, further comprising the steps of, after the reporting the clearance by using the message:
acquiring customs clearance state query information;
judging whether the customs state inquiry information is legal or not;
if yes, acquiring cargo information;
if not, returning to the step of acquiring the customs clearance state inquiry information;
acquiring a customs clearance state query template according to the cargo information;
filling in a customs state query template according to the customs state query information;
and acquiring the customs clearance state according to the customs clearance state inquiry template.
6. An automatic customs declaration device for a cross-border e-commerce, the device comprising:
the customs code acquisition module is used for acquiring customs codes;
the judging module is used for judging whether the customs clearance code is legal or not;
the execution module is used for executing preset operation according to the judging result of the judging module;
the customs clearance template acquisition module is used for acquiring a customs clearance template according to the customs clearance code;
the customs template filling module is used for filling the customs template according to the customs information;
the message generation module is used for generating a message according to the customs clearance template;
the customs clearance module is used for customs clearance by using the message;
when the judging module judges that the judging result is yes, the executing module acquires the customs clearance information; when the judging module judges that the result is negative, the executing module returns to the step of acquiring the customs clearance code;
wherein, before the acquiring the customs clearance code, the method further comprises the steps of:
setting a first database;
storing a first region code in the first database;
acquiring a first logistics enterprise code associated with the first related area code;
storing the first logistics enterprise code in the first database;
constructing a first mapping between the first region of interest code and the first logistics enterprise code;
the step of judging whether the customs clearance code is legal or not comprises the following steps:
acquiring a first database;
acquiring a first related area code preset in the first database and a corresponding first logistics enterprise code;
acquiring a closing area code and a logistics enterprise code in the customs declaration code;
judging whether the first gateway code and the first logistics enterprise code correspond to the gateway code and the logistics enterprise code respectively;
if yes, judging that the customs clearance code is legal;
if not, judging that the customs clearance code is illegal.
7. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
the processor is configured to implement the steps of the cross-border e-commerce automatic customs clearance method according to any one of claims 1 to 5 when executing the program stored in the memory.
8. A computer readable storage medium having stored thereon a computer program, which when executed by a processor performs the steps of the cross-border e-commerce automatic customs clearance method of any of claims 1-5.
CN202110614596.4A 2021-06-02 2021-06-02 Cross-border electronic commerce automatic customs declaration method, device and storage medium Active CN113706089B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110614596.4A CN113706089B (en) 2021-06-02 2021-06-02 Cross-border electronic commerce automatic customs declaration method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110614596.4A CN113706089B (en) 2021-06-02 2021-06-02 Cross-border electronic commerce automatic customs declaration method, device and storage medium

Publications (2)

Publication Number Publication Date
CN113706089A CN113706089A (en) 2021-11-26
CN113706089B true CN113706089B (en) 2024-03-26

Family

ID=78648041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110614596.4A Active CN113706089B (en) 2021-06-02 2021-06-02 Cross-border electronic commerce automatic customs declaration method, device and storage medium

Country Status (1)

Country Link
CN (1) CN113706089B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002073760A (en) * 2000-08-28 2002-03-12 Tadakatsu Yoshida Trade integrating system
CN104657843A (en) * 2015-03-06 2015-05-27 上海玖纳信息科技有限公司 Cross-border on-line automatic customs clearance and reconciliation method and system
CN107301514A (en) * 2017-07-03 2017-10-27 安徽易商数码科技有限公司 Rapid inspection system for inspection and quarantine
CN108537673A (en) * 2018-04-16 2018-09-14 新疆润物网络有限公司 One kind is based on import documents availability of data chain financing assessment system and method
CN108734231A (en) * 2017-04-14 2018-11-02 同方威视科技江苏有限公司 Processing method, apparatus and system for declaring at customs information and supervision of the cargo information
CN111371846A (en) * 2020-02-21 2020-07-03 北京澎湃信用管理有限公司 Visual intelligent monitoring system for customs transfer logistics
CN111882265A (en) * 2020-06-29 2020-11-03 深圳市法本信息技术股份有限公司 Cross-border e-commerce automatic customs declaration method and automatic customs declaration robot
CN112001795A (en) * 2020-09-11 2020-11-27 支付宝(杭州)信息技术有限公司 Cross-border service declaration file verification method, device and equipment
CN112365165A (en) * 2020-11-13 2021-02-12 广东卓志跨境电商供应链服务有限公司 Cross-border e-commerce wind control management method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002073760A (en) * 2000-08-28 2002-03-12 Tadakatsu Yoshida Trade integrating system
CN104657843A (en) * 2015-03-06 2015-05-27 上海玖纳信息科技有限公司 Cross-border on-line automatic customs clearance and reconciliation method and system
CN108734231A (en) * 2017-04-14 2018-11-02 同方威视科技江苏有限公司 Processing method, apparatus and system for declaring at customs information and supervision of the cargo information
CN107301514A (en) * 2017-07-03 2017-10-27 安徽易商数码科技有限公司 Rapid inspection system for inspection and quarantine
CN108537673A (en) * 2018-04-16 2018-09-14 新疆润物网络有限公司 One kind is based on import documents availability of data chain financing assessment system and method
CN111371846A (en) * 2020-02-21 2020-07-03 北京澎湃信用管理有限公司 Visual intelligent monitoring system for customs transfer logistics
CN111882265A (en) * 2020-06-29 2020-11-03 深圳市法本信息技术股份有限公司 Cross-border e-commerce automatic customs declaration method and automatic customs declaration robot
CN112001795A (en) * 2020-09-11 2020-11-27 支付宝(杭州)信息技术有限公司 Cross-border service declaration file verification method, device and equipment
CN112365165A (en) * 2020-11-13 2021-02-12 广东卓志跨境电商供应链服务有限公司 Cross-border e-commerce wind control management method and system

Also Published As

Publication number Publication date
CN113706089A (en) 2021-11-26

Similar Documents

Publication Publication Date Title
CN107665225B (en) Information pushing method and device
CN112036824A (en) Business approval method, system, storage medium and electronic equipment
CN107302597B (en) Message file pushing method and device
WO2021073477A1 (en) Method and apparatus for supporting modification of consignee information
CN110648089A (en) Method and device for determining delivery timeliness of articles
CN111258998A (en) Data verification method, device, medium and electronic equipment
CN111666098B (en) Method and system for creating ToB project based on service component
CN113706089B (en) Cross-border electronic commerce automatic customs declaration method, device and storage medium
US10467585B2 (en) Beverage product acquisition and inventory management system
CN110489326B (en) IDS-based HTTPAPI debugging method device, medium and equipment
CN110673908A (en) Interface generation method, device, medium and electronic equipment
CN112437002B (en) Food ordering method, system, equipment and storage medium based on RCS message
CN109741069B (en) Transaction data processing method and device, electronic equipment and readable storage medium
CN111241368B (en) Data processing method, device, medium and equipment
CN109685508B (en) Transaction data processing method and device, electronic equipment and readable storage medium
CN112835962A (en) Information display method and device, electronic equipment and storage medium
CN111260422B (en) Method and device for outputting information
CN113660699A (en) Intelligent cluster networking method and device and electronic equipment
CN109684015B (en) Interface data loading method and device, electronic equipment and storage medium
CN109840073B (en) Method and device for realizing business process
CN113448578A (en) Page data processing method, processing system, electronic device and readable storage medium
CN111324835A (en) Method and device for rendering user interface component, electronic equipment and storage medium
CN111445181B (en) Logistics order generation method and device
CN114253520B (en) Interface code generation method and device
CN109828781A (en) Source code version localization method, device, medium and equipment for problem investigation

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