Communication methods, systems, devices, storage media and software products

By using a dedicated message queue for communication between the sorting control system and the customs' on-screen comparison system, data synchronization and security issues were resolved, and secure data transmission was achieved.

CN122309185APending Publication Date: 2026-06-30SHENZHEN S F TAISEN HLDG (GRP) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN S F TAISEN HLDG (GRP) CO LTD
Filing Date
2024-12-28
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

Throughout the entire express parcel sorting process, the security of communication data between the sorting control system and the customs' on-screen comparison system is difficult to guarantee.

Method used

By using first and second message queues for communication, data synchronization between the sorting control system and the customs' on-screen comparison system is achieved, and the security of the communication data is ensured on this basis.

Benefits of technology

It achieves data synchronization between the sorting control system and the customs' on-screen comparison system, while ensuring the security of communication data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122309185A_ABST
    Figure CN122309185A_ABST
Patent Text Reader

Abstract

This application provides a communication method, system, device, storage medium, and program product. In the communication system, the sorting control system receives a customs route request message from the underlying control system and sends the message to a first message queue. The customs cross-screen comparison system receives the message through the first message queue, obtains the inspection result in response, and sends the result to a second message queue. The sorting control system receives the result through the second message queue, processes the route information of the shipment to be inspected based on the result, and sends the processed route information back to the underlying control system. Thus, the sorting control system and the customs cross-screen comparison system communicate through these two dedicated message queues, enabling data synchronization while ensuring the security of communication data between them.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, specifically to a communication method, system, device, storage medium, and program product. Background Technology

[0002] The entire process of express parcel sorting may involve customs. When customs is involved, there is a communication requirement between the sorting control system and the customs comparison system. How to ensure the security of communication data between the sorting control system and the customs comparison system has become an urgent problem to be solved. Summary of the Invention

[0003] Based on the defects and deficiencies of the existing technology, this application proposes a communication method, system, device, storage medium, and program product. The sorting control system and the customs screen comparison system communicate through two dedicated message queues: a first message queue and a second message queue. This not only enables data synchronization but also ensures the security of communication data between the sorting control system and the customs screen comparison system.

[0004] According to a first aspect of the embodiments of this application, a communication method is provided, applied to a communication system. The communication system includes a customs inspection system, a customs screen comparison system, a sorting control system, and a lower-level control system. The lower-level control system is communicatively connected to the sorting control system, the sorting control system is communicatively connected to the customs screen comparison system, and the customs screen comparison system is communicatively connected to the customs inspection system. The sorting control system is configured to receive a customs route request message from the lower-level control system and send the customs route request message to a first message queue. The information includes the express shipment to be inspected; the customs comparison system is used to receive the customs route request message through the first message queue, obtain the inspection result in response to the customs route request message, and send the inspection result to the second message queue, wherein the inspection result indicates whether the express shipment to be inspected is compliant; the sorting control system is also used to receive the inspection result through the second message queue, process the route information of the express shipment to be inspected based on the inspection result, and send the processed route information to the underlying control system, wherein the route information is the transportation route information of the express shipment to be inspected.

[0005] According to a second aspect of the embodiments of this application, a communication system is provided, the communication system including a customs inspection system, a customs screen comparison system, a sorting control system, and a lower-level control system, wherein the lower-level control system is communicatively connected to the sorting control system, the sorting control system is communicatively connected to the customs screen comparison system, and the customs screen comparison system is communicatively connected to the customs inspection system; the sorting control system is used to send a customs route request message to the customs screen comparison system through a first message queue, the customs route request message including the express shipment to be inspected; the sorting control system is also used to receive inspection results from the customs screen comparison system through a second message queue, the inspection results indicating whether the express shipment to be inspected is compliant, and the inspection results are used to process the route information of the express shipment to be inspected.

[0006] According to a third aspect of the embodiments of this application, a first communication device is provided.

[0007] The communication device includes a receiving module and a sending module. The receiving module is used to receive a customs route request message from the underlying control system. The customs route request message includes express shipments to be inspected. The sending module is used to send the customs route request message to a first message queue.

[0008] The first communication device further includes a processing module, a receiving module for receiving the inspection result through the second message queue, a processing module for processing the route information of the express parcel to be inspected based on the inspection result, the route information being the transportation route information of the express parcel to be inspected, and a sending module for sending the processed route information to the underlying control system.

[0009] According to a fourth aspect of the embodiments of this application, a second communication device is provided.

[0010] The second communication device includes a receiving module, an acquiring module, and a sending module. The receiving module is used to receive the customs route request message through the first message queue. The acquiring module is used to acquire the inspection result in response to the customs route request message. The inspection result indicates whether the express shipment to be inspected is compliant. The sending module is used to send the inspection result to the second message queue.

[0011] According to a fifth aspect of the embodiments of this application, an electronic device is provided, including a memory and a processor;

[0012] The memory is connected to the processor and is used to store programs;

[0013] The processor is used to implement, by running a program in the memory, the operations performed by any device in the customs inspection system, the customs screen comparison system, the sorting control system, or the underlying control system in the communication method described in the first aspect.

[0014] According to a sixth aspect of the embodiments of this application, a storage medium is provided, on which a computer program is stored, and when the computer program is run by a processor, it implements the communication method as described in the first aspect.

[0015] According to a seventh aspect of the present application, a computer program product is provided, the computer program product including computer program instructions, which, when executed by a processor, cause the processor to perform the communication method as described in the first aspect.

[0016] In the aforementioned communication methods, systems, devices, media, and computer program products, the sorting control system receives a customs route request message from the underlying control system and sends it to a first message queue. The customs cross-screen comparison system receives the customs route request message through the first message queue, obtains the inspection result in response, and sends the inspection result to a second message queue. The sorting control system receives the inspection result through the second message queue, processes the route information of the express shipment to be inspected based on the inspection result, and sends the processed route information to the underlying control system. In this way, the sorting control system and the customs cross-screen comparison system communicate through these two dedicated message queues, enabling data synchronization while ensuring the security of communication data between the sorting control system and the customs cross-screen comparison system. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0018] Figure 1 This is a flowchart illustrating a communication method according to an embodiment of this application;

[0019] Figure 2 This is a schematic diagram of the topology of a communication system provided in an embodiment of this application;

[0020] Figure 3 This is a schematic diagram of the structure of a first communication device according to an embodiment of this application;

[0021] Figure 4This is a schematic diagram of the structure of a second communication device according to an embodiment of this application;

[0022] Figure 5 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0023] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0024] Overview

[0025] As described in the background section, customs may be involved in the entire process of express parcel sorting. When customs is involved, there is a communication requirement between the sorting control system and the customs comparison system. How to ensure the security of communication data between the sorting control system and the customs comparison system has become an urgent problem to be solved.

[0026] Building upon this foundation, the inventors further discovered that the sorting control system receives customs route request messages from the underlying control system and sends them to a first message queue. The customs cross-screen comparison system receives the customs route request messages through the first message queue, responds to the messages by obtaining inspection results, and sends these results to a second message queue. The sorting control system receives these results through the second message queue, processes the route information of the parcels to be inspected based on the results, and sends the processed route information back to the underlying control system. In this way, the sorting control system and the customs cross-screen comparison system communicate through these two dedicated message queues, ensuring data synchronization and data security during communication between them.

[0027] Based on the above concept, this specification provides a communication method, which will be described exemplarily below with reference to the accompanying drawings.

[0028] Exemplary methods

[0029] Please see Figure 1 In one exemplary embodiment, a communication method is provided, applied to a communication system, the communication system including a customs inspection system, a customs screen comparison system, a sorting control system, and an underlying control system.

[0030] The underlying control system is connected to the sorting control system, the sorting control system is connected to the customs screen comparison system, and the customs screen comparison system is connected to the customs inspection system.

[0031] like Figure 1 As shown, the communication method includes steps S101-S103:

[0032] S101: The sorting control system receives the customs route request message from the underlying control system and sends the customs route request message to the first message queue.

[0033] The Customs Route Request message includes information about the shipment to be inspected, including at least its identifier such as the waybill number. This message requests route information for the shipment, which details its transportation route, including the origin, departure time, transit points, time spent at each transit point, arrival at the inspection area, and arrival time at the inspection area.

[0034] The low-level control system (LLCS) generates a customs route request message based on the information of the express shipment to be inspected, and sends the customs route request message to the sorting control system (SCS). Correspondingly, the sorting control system receives the customs route request message and sends the customs route request to the first message queue (MQ).

[0035] Among them, the first MQ, or first message queue, is a message queue for message transmission between the sorting control system and the customs screen comparison system, used to transmit information from the sorting control system to the customs screen comparison system.

[0036] S102: The customs simultaneous comparison system receives the customs route request message through the first message queue, obtains the inspection result in response to the customs route request message, and sends the inspection result to the second message queue.

[0037] The inspection results indicate whether the package to be inspected is compliant.

[0038] The customs cross-screen comparison system receives a customs route request message from the first message queue, responds to the customs route request message, obtains the inspection result from the customs inspection system, and sends the inspection result to the second message queue.

[0039] The second message queue, also known as the second MQ, is a queue for message transmission between the sorting control system and the customs screen comparison system. It is used to transmit information from the customs screen comparison system to the sorting control system.

[0040] Specifically, the customs simultaneous comparison system forwards the customs route request message to the customs inspection system. The customs inspection system responds to the customs route request message, inspects the express shipment to be inspected based on the shipment to be inspected in the customs route request message, obtains the inspection result, and sends the inspection result to the customs simultaneous comparison system.

[0041] S103: The sorting control system receives the inspection results through the second message queue, processes the route information of the parcel to be inspected based on the inspection results, and sends the processed route information to the underlying control system.

[0042] The sorting control system receives the inspection result from the second message queue, processes the route information of the parcel to be inspected based on the inspection result, and sends the processed route information to the underlying control system.

[0043] When processing the route information of the package to be inspected based on the inspection results, the route information of the package to be inspected is associated with the information of the package to be inspected based on the inspection results.

[0044] Specifically, information on shipments that pass inspection and are compliant is retained, while information on shipments that fail inspection and are non-compliant is discarded. Then, the route information of the shipments that pass inspection is associated with the information of the shipments to be inspected to obtain the processed route information.

[0045] Alternatively, when processing the route information of the parcel to be processed based on the inspection results, the inspection results are associated with the information of the parcel to be processed and its route information.

[0046] In this embodiment, the sorting control system receives a customs route request message from the underlying control system and sends it to a first message queue. The customs cross-screen comparison system receives the customs route request message through the first message queue, obtains the inspection result in response, and sends the inspection result to a second message queue. The sorting control system receives the inspection result through the second message queue, processes the route information of the express parcel to be inspected based on the inspection result, and sends the processed route information to the underlying control system. In this way, the sorting control system and the customs cross-screen comparison system communicate through these two dedicated message queues, ensuring data synchronization and data security during communication between them.

[0047] In order to accurately obtain the route information of the express parcels to be inspected and avoid the loss of route information, in some embodiments, the sorting control system is also used to cache the information of the express parcels to be inspected, and after receiving the inspection result, to process the route information of the express parcels to be inspected based on the information of the express parcels to be inspected and the inspection result.

[0048] Specifically, the sorting control system processes the route information of the parcels to be inspected based on whether the information of the parcels it caches is empty, combined with the inspection results.

[0049] If the information of the cached parcel to be inspected is not empty, it indicates that there is a parcel to be inspected, and the route information of the parcel to be inspected is processed based on the inspection result.

[0050] Correspondingly, if the information of the cached parcel to be inspected is empty, it indicates that there is no parcel to be inspected and no processing is performed, that is, no processing is performed on the route information.

[0051] When processing the route information of a parcel to be inspected based on the inspection results, if the inspection passes, the information of the parcel to be inspected is associated with the obtained route information; if the inspection fails, the obtained route information is discarded.

[0052] In this way, when there are packages to be inspected, the route information of the packages to be inspected is processed; when there are no packages to be inspected, the route information is not processed. This can ensure that the route information of packages to be inspected is accurate and timely, and avoid the loss or acquisition of incorrect route information.

[0053] To ensure communication security, in some embodiments, the sorting control system publishes the inspection results to the target topic.

[0054] The target topic is the topic of the message where the user publishes the verification results.

[0055] In addition, the verification result can be a message.

[0056] After receiving the inspection results, the sorting control system publishes the inspection result message to the target topic, that is, publishes the inspection result message through the target topic.

[0057] In this way, since the target topic can publish content to its subscribers, and after the verification result message is published to the target topic, the target topic can publish the verification result message to other relevant subscribed systems / devices. Without the need for point-to-point data transmission, secure communication between the sorting control system and other systems / devices can be guaranteed.

[0058] To further ensure the security of communications with customs-related systems, in some embodiments, the sorting control system is also used to subscribe to target topics.

[0059] The customs screen comparison system can send the inspection results message to the target topic through the second message queue, or after the customs screen comparison system sends the inspection results message to the target topic, the sorting control system can obtain the inspection results message from the target topic through the second message queue.

[0060] In this way, the sorting control system subscribes to the target topic. Then, as a subscriber, the sorting control system publishes a message on the target topic that can obtain the inspection results published by the customs screen comparison system. Based on the second message queue, the secure communication between the sorting control system and the customs screen comparison system is further guaranteed through topic communication.

[0061] To prevent the sorting control system from obtaining incorrect inspection results and to ensure the secure data transmission between the customs comparison system and the sorting control system, the customs comparison system also periodically sends heartbeats. The sorting control system also determines whether the customs comparison system is available based on whether it periodically receives heartbeats, and sends a customs route request message to the first message queue when the customs comparison system is available.

[0062] Specifically, the sorting control system determines that the customs screen comparison system is available if a heartbeat is received periodically, and determines that the customs screen comparison system is unavailable if a heartbeat is not received periodically.

[0063] When it is determined that the customs on-screen comparison system is unavailable, the sorting control system does not take any action, that is, it does not send the customs route request message it receives to the first message queue.

[0064] Specifically, after the sorting control system periodically receives heartbeats, it can also determine whether the customs screen comparison system is available based on the period of heartbeats sent by the customs screen comparison system and the period of heartbeats received by the sorting control system.

[0065] If the difference between the heartbeat sending period of the customs screen comparison system and the heartbeat receiving period of the sorting control system is not greater than a preset difference, then the customs screen comparison system is determined to be available. Conversely, if the difference between the heartbeat sending period of the customs screen comparison system and the heartbeat receiving period of the sorting control system is less than or equal to the preset difference, then the customs screen comparison system is determined to be unavailable.

[0066] Furthermore, when it is determined that the customs screen comparison system is unavailable, the information in the second message queue will no longer be read, that is, the inspection results will no longer be received from the customs screen comparison system.

[0067] In this embodiment, the sorting control system periodically receives heartbeats periodically sent by the customs screen comparison system. When it determines that the customs screen comparison system is available, it sends a customs route request to the first message queue. This ensures that the customs route request message is only sent to the first message queue when the customs screen comparison system is working normally, which can better avoid obtaining incorrect inspection results when the customs screen comparison system is unavailable and ensure data transmission security.

[0068] Exemplary System

[0069] This application also provides a communication system, the topology of which can be illustrated as follows: Figure 2 As shown, the communication system includes a customs inspection system, a customs screen comparison system, a sorting control system, and an underlying control system.

[0070] The underlying control system is connected to the sorting control system, the sorting control system is connected to the customs screen comparison system, and the customs screen comparison system is connected to the customs inspection system.

[0071] The sorting and control system is used to send customs route request messages to the customs cross-screen comparison system through the first message queue. These customs route request messages include shipments awaiting inspection.

[0072] The sorting and control system is also used to receive inspection results from the customs' on-screen comparison system via a second message queue. The inspection results indicate whether the shipments to be inspected are compliant, and are used to process the shipments' route information.

[0073] The customs simultaneous comparison system is used to respond to customs route request messages and obtain inspection results from the customs inspection system.

[0074] In this embodiment, the sorting control system receives a customs route request message from the underlying control system and sends it to a first message queue. The customs cross-screen comparison system receives the customs route request message through the first message queue, obtains the inspection result in response, and sends the inspection result to a second message queue. The sorting control system receives the inspection result through the second message queue, processes the route information of the express parcel to be inspected based on the inspection result, and sends the processed route information to the underlying control system. In this way, the sorting control system and the customs cross-screen comparison system communicate through these two dedicated message queues, ensuring data synchronization and data security during communication between them.

[0075] To ensure the communication security between customs-related systems and sorting control systems, in some embodiments, the customs screen comparison system includes a first device and a second device, that is, the customs screen comparison system includes a first device and a second device.

[0076] The first device is located on the internal network and communicates with the customs inspection system. The second device is located on the external network and communicates with the sorting control system.

[0077] The first device and the second device are connected for communication.

[0078] In this embodiment, in the customs simultaneous comparison system, the first device is located on the intranet, and the second device is located on the extranet. The sorting control system can obtain the required inspection results from the second device located on the extranet through the second message queue, and can also upload customs route request messages from the second device located on the extranet through the first message queue. By communicating with relevant customs equipment through the intranet and extranet without the sorting control system directly communicating with the customs inspection system and the first device, the communication security between the relevant customs equipment and the sorting control equipment can be guaranteed, and the data security of the relevant customs system can be guaranteed.

[0079] Exemplary device

[0080] like Figure 3 As shown in the figure, this application embodiment also provides a first communication device, including a receiving module 301 and a transmitting module 302.

[0081] in,

[0082] The receiving module 301 is used to receive a customs route request message from the underlying control system, the customs route request message including the express shipment to be inspected;

[0083] The sending module 302 is used to send the customs route request message to the first message queue.

[0084] In some embodiments, the first communication device further includes a processing module 303;

[0085] The receiving module 301 is also configured to receive the verification result through the second message queue;

[0086] Processing module 303 is used to process the route information of the express package to be inspected based on the inspection results;

[0087] The sending module 302 is also used to send the processed route information to the underlying control system, wherein the route information is the transportation route information of the express package to be inspected.

[0088] The first communication device provided in this embodiment belongs to the same concept as the communication method provided in the above embodiments of this application. It can execute the operations performed by the sorting control system in the communication method provided in any of the above embodiments of this application, and has the corresponding functional modules and beneficial effects of the execution method. Technical details not described in detail in this embodiment can be found in the specific processing content of the communication method provided in the above embodiments of this application, and will not be repeated here.

[0089] The functions implemented by the receiving module 301, the transmitting module 302, and the processing module 303 can be implemented by the same or different processors calling software, and this application embodiment does not limit this.

[0090] like Figure 4 As shown in the figure, this application embodiment also provides a second communication device, including a receiving module 401, an acquisition module 402 and a sending module 403.

[0091] in,

[0092] The receiving module 401 is used to receive the customs route request message through the first message queue;

[0093] The acquisition module 402 is used to acquire the inspection result in response to the customs route request message, wherein the inspection result indicates whether the express shipment to be inspected is compliant;

[0094] The sending module 403 is used to send the verification result to the second message queue.

[0095] The second communication device provided in this embodiment belongs to the same concept as the communication method provided in the above embodiments of this application. It can perform the operations executed by the customs screen comparison system in the communication method provided in any of the above embodiments of this application, and has the corresponding functional modules and beneficial effects of the execution method. Technical details not described in detail in this embodiment can be found in the specific processing content of the communication method provided in the above embodiments of this application, and will not be repeated here.

[0096] The functions implemented by the receiving module 401, the acquiring module 402, and the sending module 403 can be implemented by the same or different processors calling software, and this application embodiment does not limit this.

[0097] Exemplary electronic devices

[0098] Another embodiment of this application also provides an electronic device, see [link to relevant documentation] Figure 5 As shown, the electronic device includes a memory 500 and a processor 510.

[0099] The memory 500 is connected to the processor 510 and is used to store programs;

[0100] The processor 510 is used to implement the operations performed by any device in the customs inspection system, customs screen comparison system, sorting control system or underlying control system in any of the communication methods disclosed in the above embodiments by running the program stored in the memory 500.

[0101] Specifically, the electronic device may also include: a bus, a communication interface 520, an input device 530, and an output device 540.

[0102] The processor 510, memory 500, communication interface 520, input device 530, and output device 540 are interconnected via a bus. Among them:

[0103] A bus can include a pathway for transmitting information between various components of a computer system.

[0104] The processor 510 can be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of the program of the present application. It can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0105] The processor 510 may include a main processor, as well as a baseband chip, modem, etc.

[0106] The memory 500 stores a program for executing the technical solution of this application, and may also store an operating system and other critical business functions. Specifically, the program may include program code, which includes computer operation instructions. More specifically, the memory 500 may include read-only memory (ROM), other types of static storage devices capable of storing static information and instructions, random access memory (RAM), other types of dynamic storage devices capable of storing information and instructions, disk storage, flash memory, etc.

[0107] Input device 530 may include a device for receiving user input data and information, such as a keyboard, mouse, camera, scanner, light pen, voice input device, touch screen, pedometer, or gravity sensor.

[0108] Output device 540 may include devices that allow information to be output to a user, such as a display screen, printer, speaker, etc.

[0109] The communication interface 520 may include a device that uses any transceiver to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.

[0110] The processor 510 executes the program stored in the memory 500 and calls other devices, which can be used to implement the various steps performed by any device in the customs inspection system, customs screen comparison system, sorting control system or underlying control system in any of the communication methods provided in the above embodiments of this application.

[0111] Those skilled in the art will understand that Figure 5The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0112] This application also proposes a chip, which includes a processor and a data interface. The processor reads and runs a program stored in a memory through the data interface to execute the operations performed by any device in the customs inspection system, customs screen comparison system, sorting control system, or underlying control system in any of the communication methods described in the above embodiments. For the specific processing procedures and their beneficial effects, please refer to the embodiments of the above communication methods.

[0113] In addition to the methods and devices described above, embodiments of this application propose a computer program product comprising computer program instructions that, when executed by a processor, cause the processor to perform the steps of any of the devices in the communication methods described in the "Exemplary Methods" section of this specification according to various embodiments of this application, including a customs inspection system, a customs screen comparison system, a sorting control system, or an underlying control system.

[0114] The computer program product can be written in any combination of one or more programming languages ​​to perform the operations of the embodiments of this application. The programming languages ​​include object-oriented programming languages ​​such as Java and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0115] Furthermore, embodiments of this application also propose a storage medium storing a computer program, which is executed by a processor of the steps performed by any device in the communication methods according to various embodiments of this application described in the "Exemplary Methods" section above, including the customs inspection system, the customs screen comparison system, the sorting control system, or the underlying control system.

[0116] The basic principles of the present invention have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in the present invention are merely examples and not limitations, and should not be considered as essential features of each embodiment of the present invention. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the present invention to the necessity of employing the aforementioned specific details.

[0117] The block diagrams of devices, apparatuses, devices, and systems involved in this invention are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, devices, and systems can be connected, arranged, and configured in any manner. Words such as “comprising,” “including,” “having,” etc., are open-ended terms meaning “including but not limited to,” and are used interchangeably with them. The terms “or” and “and” as used herein refer to the terms “and / or,” and are used interchangeably with them unless the context clearly indicates otherwise. The term “such as” as used herein refers to the phrase “such as but not limited to,” and is used interchangeably with it.

[0118] It should also be noted that in the apparatus, device, and method of the present invention, the components or steps can be disassembled and / or recombined. These disassemblies and / or recombinations should be considered as equivalent solutions of the present invention.

[0119] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the invention. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of the invention. Therefore, the invention is not intended to be limited to the aspects shown herein, but rather to be carried out within the widest scope consistent with the principles and novel features disclosed herein.

[0120] It should be understood that the qualifying terms "first", "second", "third", "fourth", "fifth" and "sixth" used in the description of the embodiments of the present invention are only used to more clearly illustrate the technical solutions and are not intended to limit the scope of protection of the present invention.

[0121] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of the invention to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations therein.

Claims

1. A communication method, characterized in that, This system is applied to a communication system, which includes a customs inspection system, a customs simultaneous display comparison system, a sorting control system, and a lower-level control system. The lower-level control system is communicatively connected to the sorting control system, the sorting control system is communicatively connected to the customs simultaneous display comparison system, and the customs simultaneous display comparison system is communicatively connected to the customs inspection system. The sorting control system is used to receive a customs route request message from the underlying control system and send the customs route request message to a first message queue. The customs route request message includes the express shipment to be inspected. The customs on-screen comparison system is used to receive the customs route request message through the first message queue, obtain the inspection result in response to the customs route request message, and send the inspection result to the second message queue. The inspection result indicates whether the express shipment to be inspected is compliant. The sorting control system is further configured to receive the inspection result through the second message queue, process the route information of the express parcel to be inspected based on the inspection result, and send the processed route information to the underlying control system, wherein the route information is the transportation route information of the express parcel to be inspected.

2. The communication method according to claim 1, characterized in that, The sorting control system is also used to cache information about the packages to be inspected; The sorting control system is specifically used to process the route information of the express parcel to be inspected based on the information of the parcel to be inspected and the inspection result after receiving the inspection result.

3. The communication method according to claim 1, characterized in that, The method further includes: The sorting control system is also used to publish the inspection results to the target topic.

4. The communication method according to claim 3, characterized in that, The method further includes: The sorting control system is also used to subscribe to the target topic.

5. The communication method according to claim 1, characterized in that, The method further includes: The customs' on-screen comparison system is also used to periodically send heartbeats; The sorting control system is also used to determine whether the customs screen comparison system is available based on whether the heartbeat is received periodically, and when the customs screen comparison system is available, to send the customs route request message to the first message queue.

6. A communication system, characterized in that, The communication system includes a customs inspection system, a customs simultaneous comparison system, a sorting control system, and an underlying control system. The underlying control system is communicatively connected to the sorting control system, the sorting control system is communicatively connected to the customs screen comparison system, and the customs screen comparison system is communicatively connected to the customs inspection system. The sorting control system is used to send a customs route request message to the customs screen comparison system through a first message queue. The customs route request message includes the express shipment to be inspected. The sorting control system is also used to receive inspection results from the customs screen comparison system through a second message queue. The inspection results indicate whether the express shipment to be inspected is compliant. The inspection results are used to process the route information of the express shipment to be inspected.

7. The communication system according to claim 6, characterized in that, The customs simultaneous comparison system includes a first device and a second device. The first device is located in the intranet and is communicatively connected to the customs inspection system. The second device is located in the extranet and is communicatively connected to the sorting control system.

8. An electronic device, characterized in that, Including memory and processor; The memory is connected to the processor and is used to store programs; The processor is used to implement, by running the program in the memory, the operations performed by any device in the customs inspection system, the customs screen comparison system, the sorting control system, or the underlying control system in the communication method as described in any one of claims 1 to 5.

9. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the communication method as described in any one of claims 1 to 5.

10. A computer program product, characterized in that, The computer program product includes computer program instructions that, when executed by a processor, cause the processor to perform the communication method as described in any one of claims 1-5.