CN114372756A - Rule checking method and system for global parcel orders - Google Patents

Rule checking method and system for global parcel orders Download PDF

Info

Publication number
CN114372756A
CN114372756A CN202210031591.3A CN202210031591A CN114372756A CN 114372756 A CN114372756 A CN 114372756A CN 202210031591 A CN202210031591 A CN 202210031591A CN 114372756 A CN114372756 A CN 114372756A
Authority
CN
China
Prior art keywords
rule
information
parcel
verification
checking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210031591.3A
Other languages
Chinese (zh)
Inventor
朱小杰
黄清健
陶章好
简雁峰
刘民
黄绍仙
王毓琼
裴小丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen 4px Information Technology Co ltd
Original Assignee
Shenzhen 4px 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 Shenzhen 4px Information Technology Co ltd filed Critical Shenzhen 4px Information Technology Co ltd
Priority to CN202210031591.3A priority Critical patent/CN114372756A/en
Publication of CN114372756A publication Critical patent/CN114372756A/en
Pending legal-status Critical Current

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
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Landscapes

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

Abstract

The invention provides a rule checking method and a system facing to a global parcel order, which comprises the following steps: the client side is used for sending an order placing request to the server side, wherein the order placing request comprises product information and country information; the method comprises the following steps: when receiving an order placing request of a target package sent by the client, the server determines current tariff information according to the product information and the country information; the server side generates a check rule according to the current tariff information; and the server side carries out rule verification on the target package according to the verification rule. This application carries out automatic check-up through the automatic check-up rule that generates of current customs information to the parcel of customer end, can realize the informationization of commodity circulation parcel, intelligent, lets parcel information more in compliance, reduces the parcel by customs and deducts goods probability, promotes the clearance efficiency of parcel, improves the parcel and puts in good order rate.

Description

Rule checking method and system for global parcel orders
Technical Field
The invention relates to the technical field of aviation logistics, in particular to a rule checking method and system for global parcel orders.
Background
Since China joins the world trade organization, trades of countries in the world are more and more frequent, and how to solve the difference of customs of different countries on logistics package declaration information, recipient address information and tariff policies is undoubtedly an industry-level requirement.
In the prior art, different verification rules are developed aiming at different countries, and when customs policies change, the customs policies need to be modified and then released again, so that maintenance is not facilitated, and human resources are wasted.
The invention aims to solve the main problem of how to dynamically match the verification rules of different package order information of different countries to verify logistics packages.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a global package order oriented rule checking method and system that overcome or at least partially solve the above problems.
The method is applied to the server side to carry out rule verification on the global packages, and the client side is used for sending an ordering request to the server side, wherein the ordering request comprises product information and country information;
the method comprises the following steps:
when receiving an order placing request of a target package sent by the client, the server determines current tariff information according to the product information and the country information;
the server side generates a check rule according to the current tariff information;
and the server side carries out rule verification on the target package according to the verification rule.
Further, the step of generating the verification rule by the server side according to the current tariff information includes:
when the tariff information is not updated, acquiring an old verification rule;
and when the tariff information is updated, generating a new verification rule.
Further, the step of the server side performing rule verification on the target package according to the verification rule includes:
generating a corresponding rule checker for the target package according to the checking rule;
and putting the target package into the rule checker for rule checking.
Further, the step of generating a corresponding rule checker for the target package according to the checking rule includes:
acquiring field attributes of the entity class through a java reflection technology according to the product information;
and matching corresponding rule attributes in the check rules according to the field attributes, and generating corresponding rule verifiers according to the rule attributes.
Further, the step of matching a corresponding rule attribute in the check rule according to the field attribute and generating a corresponding rule checker according to the rule attribute includes:
and when the field attribute is matched with the rule attribute in the check rule, generating a corresponding rule checker according to the rule attribute.
Further, the step of placing the target package into the rule checker for rule checking includes:
and when the rule checker is verified to be qualified, the verification is successful.
Further, the step of placing the target package into the rule checker for rule checking further includes:
when the rule checker is unqualified in check, the check fails;
and generating failure prompt information and returning the failure prompt information to the client.
The system is characterized in that the system relates to a client and a server, the system is applied to the server to carry out rule verification on the global packages, the client is used for sending an ordering request to the server, and the ordering request comprises product information and national information; the method comprises the following steps:
the tariff information determining module is used for determining current tariff information by the server side according to the product information and the country information when receiving an order placing request of a target package sent by the client side;
the verification rule generating module is used for generating a verification rule by the server side according to the current tariff information;
and the verification module is used for the server side to carry out rule verification on the target package according to the verification rule.
An apparatus comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program when executed by the processor implementing a global package order oriented rule checking method as described above.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a global package order oriented rule checking method as described above.
The application has the following advantages:
in the embodiment of the application, the client is used for sending an ordering request to the server, wherein the ordering request comprises product information and country information; the method comprises the following steps: when receiving an order placing request of a target package sent by the client, the server determines current tariff information according to the product information and the country information; the server side generates a check rule according to the current tariff information; and the server side carries out rule verification on the target package according to the verification rule. This application is through the automatic check-up rule that generates of current customs information, carries out the automatic check-up to the parcel of customer end, still need formulate the check-up rule again after avoiding national customs policy to change, and causes the waste of resource, can realize the informationization, the intellectuality of commodity circulation parcel, lets parcel information more in compliance, reduces the parcel and is detained goods probability by customs, promotes the clearance efficiency of parcel, improves the parcel and puts in place the rate.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings needed to be used in the description of the present application will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a flowchart of the steps of a global parcel order oriented rule checking method provided in an embodiment of the present application;
FIG. 2 is a block diagram of a global package order oriented rule checking system according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a computer device according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a verification rule model according to an embodiment of the present application;
FIG. 5 is a block diagram of a rule management and rule checking architecture according to an embodiment of the present application;
fig. 6 is a flowchart illustrating steps of a global package order oriented rule checking method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1-3, referring to fig. 1, a global package order-oriented rule checking method of the present invention is shown, the method involves a client and a server, and the method is applied to the server to check the rule of a global package, the client is used to send an order placing request to the server, wherein the order placing request includes product information and country information;
the method comprises the following steps:
s110, when receiving an order placing request of a target package sent by the client, the server determines current tariff information according to the product information and the country information;
s120, the server side generates a verification rule according to the current tariff information;
s130, the server side conducts rule verification on the target package according to the verification rule.
In the embodiment of the application, the client is used for sending an ordering request to the server, wherein the ordering request comprises product information and country information; the method comprises the following steps: when receiving an order placing request of a target package sent by the client, the server determines current tariff information according to the product information and the country information; the server side generates a check rule according to the current tariff information; and the server side carries out rule verification on the target package according to the verification rule. This application is through the automatic check-up rule that generates of current customs information, carries out the automatic check-up to the parcel of customer end, still need formulate the check-up rule again after avoiding national customs policy to change, and causes the waste of resource, can realize the informationization, the intellectuality of commodity circulation parcel, lets parcel information more in compliance, reduces the parcel and is detained goods probability by customs, promotes the clearance efficiency of parcel, improves the parcel and puts in place the rate.
A global package order oriented rule checking method in the exemplary embodiment will be further described below.
In an embodiment of the present application, before the step S110, "when the order placing request of the target package sent by the client is received, the server determines the current tariff information according to the product information and the country information", the method further includes: when the order placing request comes from a website platform, the front-end page acquires a corresponding state verification rule according to the product information and the country information, performs state verification on the target package according to the state verification rule, and sends the order placing request to a server side after the verification is successful; and when the order placing request comes from the API, directly sending the order placing request to a server side.
It should be noted that the status check rule and the check rule are different rules generated according to differences of customs logistics package declaration information, sender and receiver information, customs policies and the like of different countries, the rules are put into a rule pool for unified dynamic management, and the rules are updated in real time by an external port, that is, after the customs policy of the country is changed, the corresponding rules are updated according to the customs policy.
As described in the above step, when the order placing request is from a website platform, obtaining a corresponding status verification rule according to the product information and the country information, that is, obtaining a corresponding status verification rule from a rule pool, and performing status verification on the target package according to the status verification rule specifically includes: and acquiring a rule value according to the state checking rule, presetting an input prompt in a corresponding input box by the front-end page according to the rule value, inputting corresponding information by the client according to the input prompt, and performing input limitation by the front-end page according to the rule value.
In a specific embodiment, when receiving a request for placing an order from a website platform, according to a product and a country input by a user, a front-end page first obtains corresponding rule information from a rule management platform (rule pool), an input prompt is preset in a corresponding input box, and the front-end page performs input restriction according to the rule information. For example: there will be a corresponding prompt in the phone input box: in 20 characters, the front page carries out a preliminary input verification; and after the verification of the front-end page is passed, the order request is issued to the server.
As described in step S110, when receiving an order placing request of a target package sent by the client, the server determines current tariff information according to the product information and the country information; it should be noted that the tariff information is updated according to the national policy, and thus the current tariff information needs to be acquired.
As described in step S120, the server generates a verification rule according to the current tariff information.
In an embodiment of the present invention, a specific process of the step "the server side generates the verification rule according to the current tariff information" may be further described with reference to the following description.
It should be noted that the verification rules specifically include differences of customs logistics package declaration information, sender and receiver information, customs policies, and the like of different countries, different verification rules are generated for different differences, the verification rules are put into a rule pool for unified dynamic management, and the verification rules are updated in real time by an external port, that is, after the customs policies of the countries change, corresponding verification rules are updated according to the customs policies.
When the tariff information is not updated, acquiring an old verification rule; specifically, when the tariff information, i.e., the customs policy, is not changed, the verification rules in the rule pool remain unchanged, and the corresponding verification rules are directly obtained from the rule pool.
When the tariff information is updated, generating a new verification rule; specifically, when the tariff information, i.e., the customs policy, changes, the verification rule in the rule pool is the updated verification rule, and at this time, the verification rule obtained from the rule pool is the new verification rule.
As described in step S130 above, the server performs rule verification on the target package according to the verification rule.
And generating a corresponding rule checker for the target package according to the checking rule, as described in the following steps.
As an example, the field attribute of the entity class is obtained through java reflection technology according to the product information;
as an example, matching a corresponding rule attribute in the check rule according to the field attribute, and generating a corresponding rule checker according to the rule attribute; specifically, when the field attribute is matched with a rule attribute in the check rule, a corresponding rule checker is generated according to the rule attribute. Wherein the rule attributes comprise length rules, regular rules, rule must be filled, rule is declared sensitive goods, and the like.
In a specific embodiment, the length attribute of the product is obtained through a java reflection technology and is matched with the length rule in the verification rule, and if the length rule attribute is matched, a corresponding length rule verifier is generated.
And putting the target package into the rule checker for rule checking as described in the following steps.
As an example, when the rule checker checks pass, the check is successful.
As an example, when the rule checker fails to check, the check fails; and generating failure prompt information and returning the failure prompt information to the client.
In a specific embodiment, when the length value of the target package is the same as the length value of the length rule attribute in the rule checker, the checking is successful; when the length value of the target package is different from the length value of the length rule attribute in the rule checker, the check fails, prompt information of the length check failure is generated, the prompt information is returned to the front-end page, and the front-end page carries out message prompt in a corresponding input box according to the returned field name and the prompt information.
Referring to FIG. 4, a verification rule model diagram of the present invention is shown. In the embodiment of the application, the differences of customhouse logistics package declaration information, sender and receiver information and customs policy of different countries are solved, and the differences are managed in a unified way; when a sender places an order, a check rule is dynamically obtained according to a product and a country, a rule checker is automatically generated, and the logistics package information is subjected to rule check; the invention relates to a technical scheme for checking logistics packages in a multidimensional way based on parameters such as products, countries, senders and receivers, declaration information and the like, and whether the packages meet clearance requirements of customs of different countries or not is processed in a centralized manner.
It should be noted that the terms involved are defined as follows:
the product is as follows: and the method is divided into different logistics product types according to different aging, prices and package weights.
Rule: a rule may correspond to a plurality of rule attributes, each rule attribute having a corresponding rule value.
And (3) package information: including receiving and sending person information, package weight, length, width, height, declaration unit price, etc.
Rule attributes: length rules, regular rules, whether rules must be filled, and the like.
Rule values: the values corresponding to the rule attributes, such as the length attribute, are: 0-20.
Post code accessibility: country and whether the product supports delivery of this zip code.
Reporting sensitive goods: the customs of the country of interest regulates goods that are not allowed for shipment.
Referring to fig. 5, a block diagram of a structure of rule management and rule verification in an embodiment of the present invention is shown; in an embodiment of the application, the rule management service and the rule verification service are divided according to a micro service architecture, wherein the rule management service mainly provides visual dynamic management of rules. The rule checking service checks the package order information and returns the field name and the prompt message which fail to pass the check to the front-end page, and the front-end page prompts the message in the corresponding input box according to the returned field name and the prompt message. The rule management service performs unified dynamic management on customs logistics package information rules of different countries, and configures verification rules for specified products and countries. And the rule checking service generates a rule checker according to the checking rules obtained by the product and the country, checks the logistics package information, and returns a field and a prompt message of the check failure. And the client prompts the fields and the prompt messages which fail to be checked in the corresponding input boxes.
Referring to FIG. 6, a flowchart illustrating steps of a global parcel order oriented rule checking method in one embodiment is shown; the method specifically comprises the following steps:
adding a product and associating a country in the product;
adding rule attributes and rule values to the rule attributes;
binding different rule attributes to different countries and products;
the sender transmits package information and acquires corresponding customized rules according to the package product and the target country;
according to the transmitted entity class, field attributes of the entity class are obtained through a java reflection technology, the field attribute name is matched with a customized rule, and if the field attribute name is matched with the customized rule, a corresponding rule checker is generated for the rule in the rule pool;
and (4) putting the package information into a rule checker for checking, and responding to a corresponding prompt message if the package information is not checked successfully.
The beneficial effects of the embodiment of the application are as follows:
1. the differences of customs logistics parcel declaration information, sender receiving information and customs duty policies of different countries are solved.
2. The logistics package clearance policy is managed in a centralized and dynamic mode, the later maintenance cost is reduced, and the system management efficiency is improved.
3. The automatic check-up of parcel information to the customer end realizes the informationization, the intellectuality of commodity circulation parcel, makes parcel information more in compliance, reduces the parcel and is detained goods probability by customs, promotes the clearance efficiency of parcel, improves the parcel and puts to rate.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Referring to fig. 2, a rule checking system for global package orders provided in an embodiment of the present application is shown, where the system relates to a client and a server, and is applied to the server to check rules of global packages, where the client is configured to send an order placing request to the server, where the order placing request includes product information and country information; the method comprises the following steps:
a tariff information determining module 110, configured to, when receiving an order placing request of a target package sent by the client, determine, by the server, current tariff information according to the product information and the country information;
a verification rule generating module 120, configured to generate a verification rule by the server according to the current tariff information;
the verification module 130 is configured to perform rule verification on the target package by the server according to the verification rule.
Referring to fig. 3, a computer device of a global parcel order-oriented rule checking method according to the present invention is shown, which may specifically include the following:
the computer device 12 described above is embodied in the form of a general purpose computing device, and the components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, a memory 28, and a bus 18 that couples various system components including the memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus 18 structures, including a memory bus 18 or memory controller, a peripheral bus 18, an accelerated graphics port, and a processor or local bus 18 using any of a variety of bus 18 architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus 18, micro-channel architecture (MAC) bus 18, enhanced ISA bus 18, audio Video Electronics Standards Association (VESA) local bus 18, and Peripheral Component Interconnect (PCI) bus 18.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The memory 28 may include computer system readable media in the form of volatile memory, such as random access memory 30 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (commonly referred to as "hard drives"). Although not shown in FIG. 3, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. The memory may include at least one program product having a set (e.g., at least one) of program modules 42, with the program modules 42 configured to carry out the functions of embodiments of the application.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules 42, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally perform the functions and/or methodologies of the embodiments described herein.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, camera, etc.), with one or more devices that enable an operator to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through the I/O interface 22. Also, computer device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN)), a Wide Area Network (WAN), and/or a public network (e.g., the Internet) via network adapter 20. As shown in FIG. 3, the network adapter 20 communicates with the other modules of the computer device 12 via the bus 18. It should be appreciated that although not shown in FIG. 3, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units 16, external disk drive arrays, RAID systems, tape drives, and data backup storage systems 34, etc.
The processing unit 16 executes various functional applications and data processing by running programs stored in the memory 28, for example, implementing a rule checking method for global package orders provided in the embodiment of the present application.
That is, the processing unit 16 implements, when executing the program,: when receiving an order placing request of a target package sent by the client, the server determines current tariff information according to the product information and the country information; the server side generates a check rule according to the current tariff information; and the server side carries out rule verification on the target package according to the verification rule.
In an embodiment of the present application, there is also provided a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements a global package order oriented rule checking method as provided in all embodiments of the present application.
That is, the program when executed by the processor implements: when receiving an order placing request of a target package sent by the client, the server determines current tariff information according to the product information and the country information; the server side generates a check rule according to the current tariff information; and the server side carries out rule verification on the target package according to the verification rule.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: 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 document, 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.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. 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 thereof. 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.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the operator's computer, partly on the operator's computer, as a stand-alone software package, partly on the operator'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 operator's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be 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. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal 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 terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method and the system for checking the rules facing the global parcel orders are introduced in detail, specific examples are applied in the method for explaining the principle and the implementation mode of the method, and the description of the embodiments is only used for helping to understand the method and the core idea of the method; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A rule checking method facing to a global parcel order relates to a client and a server, and is applied to the server for checking the rule of the global parcel, and is characterized in that the client is used for sending an ordering request to the server, wherein the ordering request comprises product information and country information;
the method comprises the following steps:
when receiving an order placing request of a target package sent by the client, the server determines current tariff information according to the product information and the country information;
the server side generates a check rule according to the current tariff information;
and the server side carries out rule verification on the target package according to the verification rule.
2. The global parcel order oriented rule checking method as claimed in claim 1, wherein said step of generating a check rule by said server side according to said current tariff information comprises:
when the tariff information is not updated, acquiring an old verification rule;
and when the tariff information is updated, generating a new verification rule.
3. The global parcel order oriented rule checking method according to claim 1, wherein the step of the server side performing rule checking on the target parcel according to the checking rule comprises:
generating a corresponding rule checker for the target package according to the checking rule;
and putting the target package into the rule checker for rule checking.
4. The global parcel order oriented rule checking method according to claim 3, wherein said step of generating a corresponding rule checker for said target parcel in accordance with said checking rule comprises:
acquiring field attributes of the entity class through a java reflection technology according to the product information;
and matching corresponding rule attributes in the check rules according to the field attributes, and generating corresponding rule verifiers according to the rule attributes.
5. The global parcel order oriented rule checking method according to claim 4, wherein said step of matching corresponding rule attributes in said check rules according to said field attributes and generating corresponding rule checker according to said rule attributes comprises:
and when the field attribute is matched with the rule attribute in the check rule, generating a corresponding rule checker according to the rule attribute.
6. The global parcel order oriented rule checking method as claimed in claim 3, wherein said step of placing said target parcel in said rule checker for rule checking comprises:
and when the rule checker is verified to be qualified, the verification is successful.
7. The global parcel order oriented rule checking method as claimed in claim 3, wherein said step of placing said target parcel in said rule checker for rule checking further comprises:
when the rule checker is unqualified in check, the check fails;
and generating failure prompt information and returning the failure prompt information to the client.
8. A rule checking system facing to a global parcel order relates to a client and a server, and is applied to the server to check the rule of the global parcel, and is characterized in that the client is used for sending an ordering request to the server, wherein the ordering request comprises product information and national information; the method comprises the following steps:
the tariff information determining module is used for determining current tariff information by the server side according to the product information and the country information when receiving an order placing request of a target package sent by the client side;
the verification rule generating module is used for generating a verification rule by the server side according to the current tariff information;
and the verification module is used for the server side to carry out rule verification on the target package according to the verification rule.
9. An apparatus comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program when executed by the processor implementing the method of any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
CN202210031591.3A 2022-01-12 2022-01-12 Rule checking method and system for global parcel orders Pending CN114372756A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210031591.3A CN114372756A (en) 2022-01-12 2022-01-12 Rule checking method and system for global parcel orders

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210031591.3A CN114372756A (en) 2022-01-12 2022-01-12 Rule checking method and system for global parcel orders

Publications (1)

Publication Number Publication Date
CN114372756A true CN114372756A (en) 2022-04-19

Family

ID=81143310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210031591.3A Pending CN114372756A (en) 2022-01-12 2022-01-12 Rule checking method and system for global parcel orders

Country Status (1)

Country Link
CN (1) CN114372756A (en)

Similar Documents

Publication Publication Date Title
US8745690B2 (en) Deriving service provider constraints from service consumer context
CN112634047B (en) Foreign exchange transaction simulation test method and device, computer equipment and storage medium
WO2023207146A1 (en) Service simulation method and apparatus for esop system, and device and storage medium
CN111242462B (en) Data processing method and device, computer storage medium and electronic equipment
CN114170010A (en) Matching transaction method and device, electronic equipment and storage medium
CN113132400B (en) Business processing method, device, computer system and storage medium
US10013712B2 (en) Access to guest accounts in electronic commerce
CN110728481B (en) Sending request processing method, sending request processing device, electronic equipment and storage medium
US8538826B1 (en) Applying restrictions to items
CN114372756A (en) Rule checking method and system for global parcel orders
CN115858368A (en) Cross-border payment oriented data generation method, system, equipment and storage medium
CN112437002B (en) Food ordering method, system, equipment and storage medium based on RCS message
CN114881739A (en) Order event processing method and device, electronic equipment and storage medium
CN114489667A (en) Script generation method and device, electronic equipment and storage medium
CN114637672A (en) Automatic data testing method and device, computer equipment and storage medium
CN114217790A (en) Interface scheduling method and device, electronic equipment and medium
CN114531289A (en) System interaction method based on artificial intelligence and related equipment
CN113763094A (en) Service information processing method, device, server, medium and system
CN110825359A (en) Transaction scheduling engine and construction and scheduling method, system, device and medium thereof
CN116308747A (en) Method, device, electronic equipment, medium and program product for managing trusted service
CN113535568B (en) Verification method, device, equipment and medium for application deployment version
CN115577867B (en) Method and system for creating spot check task, computer equipment and storage medium
CN117787963A (en) Payment method, device, electronic equipment, medium and computer program product
CN116166558A (en) Transaction testing method, device, equipment and storage medium
CN115840677A (en) Data verification method, device, equipment and storage medium

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