Foreign trade business-based automatic order change reservation method and system
Automating the order exchange process of foreign trade business through RPA technology solves the problem of low batch task execution efficiency, realizes efficient and automated order exchange operations, improves the stability and scalability of the system, and reduces development and management costs.
Patent Information
- Application Number
- CN202410837233.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-17
AI Technical Summary
The batch task execution efficiency in the existing technology is low, and there are problems with frequency scheduling and dynamic expansion of tasks at different nodes, resulting in a cumbersome and repetitive order exchange process for foreign trade business. In particular, manual operations are required when querying multiple shipping companies and shipping agency websites, which is inefficient.
Using methods and systems based on RPA (Robotic Process Automation), through the collaborative work of the business end and RPA task end, automatic triggering, processing and reservation of order replacement tasks are realized, and node robots and task scheduling centers are used for task grouping, distribution and processing, supporting Dynamic expansion and load balancing, control the number and frequency of node robots through API and CRON expressions, and realize automated query and reservation.
It improves the timeliness and efficiency of order replacement tasks, reduces the tediousness of manual operations and management complexity, supports large concurrency of peak orders, ensures normal completion of business, and provides business alarms, compensation and highly interactive systems, reducing costs Process changes and development costs.
Smart Images

Figure CN118657237A
Abstract
Description
Technical Field
[0001] The present invention relates to foreign trade bill exchange technology, and in particular to a method and system for automatically booking bill exchange based on foreign trade business. Background Art
[0002] The import bill of lading exchange process is an important link. It ensures that the ownership of the goods is transferred from the shipper to the consignee, and allows the consignee to legally collect the goods. Before preparing to exchange the bill of lading, confirm the actual berthing time of the ship, and exchange the bill after confirming the actual berthing of the ship. If it is a telex release bill of lading, it is necessary to query the telex release through the shipping company to confirm the telex release status. After the order is released by telex, you will go to the corresponding shipping agent's website to check whether you can make an appointment for bill of lading exchange. After the appointment is successful, you will get the appointment form and the customs clearance staff will go offline to exchange the bill of lading. However, since the import orders of the customs clearance company involve almost all shipping companies (more than 10 large shipping companies and more than 40 commonly used shipping agencies), it is necessary to log in to the corresponding website for manual inquiry when checking which shipping agency the bill of lading belongs to, whether the shipping company has released the bill of lading by telex, and whether the shipping agency has made an appointment for bill of lading exchange or can exchange the bill of lading. This operation is very repetitive and important. .
[0003] For example, the prior art patent number: CN202210108084.5 only processes order changes and has low efficiency in batch task execution. Summary of the invention
[0004] Aiming at the problems of low efficiency in batch task execution, frequency scheduling triggering and dynamic expansion of different task nodes in the prior art, the present invention proposes a method and system for automatic appointment of order exchange based on foreign trade business.
[0005] In order to solve the above technical problems, the present invention is solved by the following technical solutions:
[0006] The method for automatically booking order exchange based on foreign trade business includes a business end and an RPA task end, and the method includes:
[0007] The order exchange task is triggered by the business end to the RPA task end. The order exchange task includes adding an order exchange order, obtaining port area data, obtaining the telex release status, and obtaining the order exchange.
[0008] Processing of order exchange tasks: The RPA task end processes the received order exchange tasks;
[0009] The RPA task end feeds back the processed order exchange task to the business end, and the business end makes an appointment for the order exchange task.
[0010] Preferably, the RPA task end includes several node robots and a task scheduling center;
[0011] The business end sends the order exchange task to the task scheduling center through the API;
[0012] The task scheduling center groups the received tasks by company orders and task types, and distributes the grouped tasks to the node robots;
[0013] The node robot processes the tasks after receiving the grouping and feeds back the processing results to the business end; when the feedback processing result is abnormal, the business end sends the single task to the task scheduling center.
[0014] Preferably, the task scheduling center controls the number of node robots and the execution frequency of the node robots by configuring CRON expressions.
[0015] Preferably, a single task includes querying ship information, querying the corresponding shipping agent of the bill of lading, querying the status of the shipping company's telex release, querying the status of bill of lading exchange, making an appointment for bill of lading exchange and obtaining the payment status.
[0016] Preferably, the processing of bill of lading exchange tasks includes processing of bill of lading exchange tasks in the port area, processing of bill of lading exchange tasks by the shipping company and processing of bill of lading exchange tasks by the shipping agent.
[0017] As a preferred option, the processing flow of the port area order exchange task includes:
[0018] The node robot queries the port area data;
[0019] The node robot integrates the queried port area data;
[0020] Port data includes estimated port berthing time, actual port berthing time, release status and vessel name and voyage number;
[0021] The node robot determines the actual port berthing time. If the actual port berthing time exists, the query ends. Otherwise, it reads the port refresh frequency and then queries the port data.
[0022] The node robot transmits the integrated port area data to the business end, and the business end updates the received port area data.
[0023] As a preferred option, the processing flow of the shipping company's bill of lading exchange task includes:
[0024] The node robot queries the discharge status;
[0025] Judgment of abnormal discharge status: When there is an abnormal discharge status, the node robot will feedback the abnormal information to the business end, and the business end will update the discharge status;
[0026] Judgment of the electronic release operation: when the electronic release has been performed, the information that the electronic release has been performed will be fed back to the business end, and the business end will update the electronic release status; otherwise, the electronic release status will be further queried.
[0027] As a preferred embodiment, the processing flow of the ship agent bill of lading exchange task includes:
[0028] According to the bill of lading process initiated by the shipping company, the node robot reads the configuration of the shipping agent in the corresponding shipping company;
[0029] Query the shipping agent information on the shipping agent website according to the shipping agent's configuration;
[0030] Acquisition of abnormal information from the shipping agent: The task dispatch center obtains abnormal information from the shipping agent through the customer. When abnormal information from the shipping agent occurs, the node robot feeds back the abnormal information to the business end, and the business end updates the order change status.
[0031] Obtaining shipping agency data: Obtaining corresponding shipping agency data through the shipping agency website. Shipping agency data includes shipping agency reservation information and shipping agency pending order exchange information;
[0032] The success or failure of the shipping agent's appointment for bill of lading is determined based on the obtained shipping agent's appointment information. If the appointment for bill of lading is successful, the appointment form is downloaded to the business end. Otherwise, the appointment failure information is sent to the business end, and the business end updates the bill of lading status.
[0033] In order to solve the above technical problems, the present invention also provides a system for automatically reserving bill exchange based on foreign trade business, which is a system implemented by the method for automatically reserving bill exchange based on foreign trade business.
[0034] In order to solve the above technical problems, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method for automatically booking order exchange based on foreign trade business when executing the computer program.
[0035] The present invention has significant technical effects due to the adoption of the above technical solution:
[0036] The order exchange method designed by the present invention has high timeliness; there are many docking websites, and the system can timely warn and handle the update and maintenance of the website and the change of the system;
[0037] The interaction between the order exchange service of the present invention and RPA supports single-node and full-process node triggering;
[0038] The order exchange method of the present invention has a large peak order volume; the website operation of the order exchange method designed by the present invention is cumbersome and uncentralized, and the business management is scattered.
[0039] The robot dispatch center of the order change method designed by the present invention solves the problem of multi-task concurrency, ensures the normal completion of business, business alarm, compensation, human-machine interaction, strong scalability, and low-code development and deployment of new order change companies and process changes. Use load balancing technology to distribute tasks to different RPA robots or servers to prevent any robot from being overloaded. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 Flowchart of the present invention;
[0041] Figure 2 It is a single task flow diagram of the present invention. DETAILED DESCRIPTION
[0042] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0043] Example 1
[0044] Method for automatic appointment of order exchange based on foreign trade business, Figure 1 In the example, it includes a business end and an RPA task end, and its method includes:
[0045] The order exchange task is triggered by the business end to the RPA task end. The order exchange task includes adding an order exchange order, obtaining port area data, obtaining the telex release status, and obtaining the order exchange.
[0046] Processing of order exchange tasks: The RPA task end processes the received order exchange tasks;
[0047] The RPA task end feeds back the processed order exchange task to the business end, and the business end makes an appointment for the order exchange task.
[0048] The RPA task end includes several node robots and a task scheduling center;
[0049] The business end sends the order exchange task to the task scheduling center through the API;
[0050] The task scheduling center groups the received tasks by company orders and task types, and distributes the grouped tasks to the node robots;
[0051] The node robot processes the tasks after receiving the grouping and feeds back the processing results to the business end; when the feedback processing result is abnormal, the business end sends the single task to the task scheduling center. The normal process is processed in sequence according to the operation logic of the corresponding bill exchange website. The processing of grouped tasks is for compensation, retry, and abnormal feedback for various abnormal situations. It is aimed at system upgrades and maintenance, order flow abnormalities, or manual operation abnormalities that may occur on the bill exchange ship company and shipping agent website. Tasks need to be distinguished and alarm prompts given to prevent the business from being affected due to the failure of task execution.
[0052] The task scheduling center controls the number of node robots and the execution frequency of node robots by configuring CRON expressions. The task scheduling center manages the server cluster through the k8s container and increases the processing node through dynamic expansion when the node robot execution CPU exceeds 90%.
[0053] Figure 2 The single tasks include ship information query, query of bill of lading corresponding shipping agent, query of shipping company's telex release status, query of bill of lading exchange status, appointment of bill of lading exchange and acquisition of payment status.
[0054] The processing of bill of lading exchange tasks includes the processing of bill of lading exchange tasks in the port area, the processing of bill of lading exchange tasks by the shipping company and the processing of bill of lading exchange tasks by the shipping agent.
[0055] The processing flow of the port area order exchange task includes:
[0056] The node robot queries the port area data;
[0057] The node robot integrates the queried port area data;
[0058] Port data includes estimated port berthing time, actual port berthing time, release status and vessel name and voyage number;
[0059] The node robot determines the actual port berthing time. If the actual port berthing time exists, the query ends. Otherwise, it reads the port refresh frequency and then queries the port data.
[0060] The node robot transmits the integrated port area data to the business end, and the business end updates the received port area data.
[0061] The processing flow of the shipping company's bill of lading exchange task includes:
[0062] The node robot queries the discharge status;
[0063] Judgment of abnormal discharge status: When there is an abnormal discharge status, the node robot will feedback the abnormal information to the business end, and the business end will update the discharge status;
[0064] Judgment of the electronic release operation: when the electronic release has been performed, the information that the electronic release has been performed will be fed back to the business end, and the business end will update the electronic release status; otherwise, the electronic release status will be further queried.
[0065] The processing flow of the ship agent bill of lading exchange task includes:
[0066] According to the bill of lading process initiated by the shipping company, the node robot reads the configuration of the shipping agent in the corresponding shipping company;
[0067] Query the shipping agent information on the shipping agent website according to the shipping agent's configuration;
[0068] Acquisition of abnormal information from the shipping agent: The task dispatch center obtains abnormal information from the shipping agent through the customer. When abnormal information from the shipping agent occurs, the node robot feeds back the abnormal information to the business end, and the business end updates the order change status.
[0069] Obtaining shipping agency data: Obtaining corresponding shipping agency data through the shipping agency website. Shipping agency data includes shipping agency reservation information and shipping agency pending order exchange information;
[0070] The success or failure of the shipping agent's appointment for bill of lading is determined based on the obtained shipping agent's appointment information. If the appointment for bill of lading is successful, the appointment form is downloaded to the business end. Otherwise, the appointment failure information is sent to the business end, and the business end updates the bill of lading status.
[0071] For abnormal handling, three retries are used to solve the network fluctuation problem. The operation triggers the node abnormality alarm service to push the task center and terminate the service. The operation abnormality video is recorded for subsequent problem investigation and follow-up, and customer feedback.
[0072] After clicking on some tasks, you need to read the configuration and enter the system configuration information. After the operation is completed, you need to get a pop-up window and responsive reminders containing important business information. The system needs to obtain the data into the system. If the acquisition is not successful, some operations require the system to automatically cancel and roll back and re-operate.
[0073] Example 2
[0074] Based on Example 1, this example is a system for automatically reserving bill exchange based on foreign trade business, which is a system implemented by the method for automatically reserving bill exchange based on foreign trade business.
[0075] Example 3
[0076] Based on Example 1, this embodiment is an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of automatically booking order exchange based on foreign trade business when executing the computer program.
Claims
1. A method for automatically booking order exchange based on foreign trade business, including a business end and an RPA task end, and the method includes: The order exchange task is triggered from the business end to the RPA task end; The order exchange tasks include adding order exchange orders, obtaining port data, obtaining telex release status and obtaining order exchange; Processing of order exchange tasks: The RPA task end processes the received order exchange tasks; The RPA task end feeds back the processed order exchange task to the business end, and the business end makes an appointment for the order exchange task.
2. The method for automatically booking order exchange based on foreign trade business according to claim 1 is characterized in that: The RPA task end includes several node robots and a task scheduling center; The business end sends the order exchange task to the task scheduling center through the API; The task scheduling center groups the received tasks by company orders and task types, and distributes the grouped tasks to the node robots; The node robot processes the tasks after receiving the grouping and feeds back the processing results to the business end; when the feedback processing result is abnormal, the business end sends the single task to the task scheduling center.
3. The method for automatically booking order exchange based on foreign trade business according to claim 2 is characterized in that: The task scheduling center controls the number of node robots and the execution frequency of node robots by configuring CRON expressions.
4. The method for automatically booking bill exchange based on foreign trade business according to claim 2 is characterized in that: Single tasks include ship information query, query of bill of lading corresponding shipping agent, query of shipping company's telex release status, query of bill of lading exchange status, appointment of bill of lading exchange and acquisition of payment status.
5. The method for automatically booking bill exchange based on foreign trade business according to claim 1 is characterized in that: The processing of bill of lading exchange tasks includes the processing of bill of lading exchange tasks in the port area, the processing of bill of lading exchange tasks by the shipping company and the processing of bill of lading exchange tasks by the shipping agent.
6. The method for automatically booking bill exchange based on foreign trade business according to claim 5 is characterized in that: The processing flow of the port area order exchange task includes: The node robot queries the port area data; The node robot integrates the queried port data; Port data includes estimated port berthing time, actual port berthing time, release status and vessel name and voyage number; The node robot determines the actual port berthing time. If the actual port berthing time exists, the query ends. Otherwise, it reads the port refresh frequency and then queries the port data. The node robot transmits the integrated port area data to the business end, and the business end updates the received port area data.
7. The method for automatically booking bill exchange based on foreign trade business according to claim 5 is characterized in that: The processing flow of the shipping company's bill of lading exchange task includes: The node robot queries the discharge status; Judgment of abnormal discharge status: When there is an abnormal discharge status, the node robot will feedback the abnormal information to the business end, and the business end will update the discharge status; Judgment of the electronic release operation: when the electronic release has been performed, the information that the electronic release has been performed will be fed back to the business end, and the business end will update the electronic release status; otherwise, the electronic release status will be further queried.
8. The method for automatically booking bill exchange based on foreign trade business according to claim 5 is characterized in that: The processing flow of the ship agent bill of lading exchange task includes: According to the bill of lading process initiated by the shipping company, the node robot reads the configuration of the shipping agent in the corresponding shipping company; Query the shipping agent information on the shipping agent website according to the shipping agent's configuration; Acquisition of abnormal information from the shipping agent: The task dispatch center obtains abnormal information from the shipping agent through the customer. When abnormal information from the shipping agent occurs, the node robot feeds back the abnormal information to the business end, and the business end updates the order change status. Obtaining shipping agency data: Obtaining corresponding shipping agency data through the shipping agency website. Shipping agency data includes shipping agency reservation information and shipping agency pending order exchange information; The success or failure of the shipping agent's appointment for bill of lading is determined based on the obtained shipping agent's appointment information. If the appointment for bill of lading is successful, the appointment form is downloaded to the business end. Otherwise, the appointment failure information is sent to the business end, and the business end updates the bill of lading status.
9. The system for automatic reservation of order exchange based on foreign trade business is characterized by: A system implemented by the method for automatic appointment of order exchange based on foreign trade business as described in any one of claims 1-8.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for automatically booking order exchange based on foreign trade business as described in any one of claims 1-8 is implemented.
