A method and system for intelligent supervision of customs logistics
By obtaining the unqualified connection coefficient between the customs lock and the server, and transporting the goods to a temporary node when the threshold is reached for unlocking supervision, the risk of goods being tampered with during transportation is solved, and the effect of timely inspection and loss reduction is achieved.
Patent Information
- Application Number
- CN202411353077.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2044-09-26
AI Technical Summary
During the customs logistics supervision process, the risk of goods being tampered with during transportation increases, resulting in the inability to check and take measures in a timely manner, which may lead to greater losses.
By obtaining the connection failure coefficient between the customs lock and the server and comparing it with the preset threshold, when the failure coefficient is higher than the threshold, an instruction is sent to the driver to transport the goods to the nearest temporary node, and granting customs lock unlocking permission for unlocking supervision.
It realizes the timely opening of customs locks for inspection during cargo transportation, reducing potential losses caused by delayed inspection.
Smart Images

Figure CN119130300B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of logistics supervision, and in particular to a customs logistics intelligent supervision method and system. Background Art
[0002] Customs logistics refers to the customs inspection, declaration, tax payment, customs clearance and other processes involved when goods cross borders for international trade through containers or other means of transportation to ensure that the goods pass through customs and enter the target market legally, safely and efficiently. In general, the steps of customs logistics of goods are as follows: after the goods to be transported are determined, customs locks are installed on the goods transportation vehicles to prevent the goods from being tampered with. After arriving at the customs destination, customs personnel remove the customs locks, inspect and release the goods. In this way, the safety and efficiency of the goods during transportation are ensured.
[0003] In the process of customs logistics supervision, usually, in order to prevent the goods from being tampered with during transportation, the customs lock is only authorized to be opened by the staff at the customs transportation destination; however, in the actual transportation process, if there is a problem with the transportation, not opening the customs lock in time to inspect the goods and take corresponding measures, but waiting until the customs destination to open the lock for inspection may cause greater losses. Summary of the invention
[0004] The purpose of the present invention is to solve the problem and propose a customs logistics intelligent supervision method and system.
[0005] In the first aspect of the implementation of the present invention, a method for intelligent supervision of customs logistics is first proposed, the method comprising:
[0006] Obtain the connection signal strength, connection interruption times and number of sent data packet groups between the target customs lock and the server to obtain the connection failure coefficient between the customs lock and the server;
[0007] The connection failure coefficient is compared with the preset connection failure coefficient threshold. When the connection failure coefficient is not less than the preset connection failure coefficient threshold, an instruction is sent to the driver to transport the goods to the nearest temporary node, and the staff of the corresponding node is granted the customs lock unlocking authority to supervise the unlocking of the goods;
[0008] When the connection failure coefficient is less than the preset connection failure coefficient threshold, the number of times the target customs lock of the goods is illegally opened, the number of delayed arrivals and the route deviation distance during the transportation process are obtained, and the transportation risk coefficient is obtained in combination with the preset weight value of the goods;
[0009] The transport risk factor is compared with the preset transport risk factor threshold, and the customs logistics of the goods are supervised based on the comparison results.
[0010] Optionally, obtaining the connection signal strength, the number of connection interruptions, and the number of sent data packet groups to obtain the connection failure coefficient between the customs lock and the server includes:
[0011] Obtain the time-based connection signal strength value between the customs lock and the server during the transportation of the goods, and obtain a signal strength value sequence;
[0012] The signal strength values in the signal strength value sequence that are less than the preset minimum signal strength threshold are recorded as unqualified signal strength values, and the total number of unqualified signal strength values is divided by the total number of signal strength values in the signal strength value sequence to obtain the connection signal strength unqualified coefficient;
[0013] The total number of connection interruptions between the customs lock and the server is obtained, and the duration of each connection interruption is obtained. The connection interruption coefficient is obtained by combining the preset connection interruption duration threshold. The calculation formula is: Where PK is the connection interruption coefficient, rg i is the duration of the ith connection interruption, rf is the preset connection interruption duration threshold, and t is the total number of connection interruptions;
[0014] The connection failure coefficient between the customs lock and the server is obtained according to the connection signal strength failure coefficient, the connection interruption coefficient and the number of data packet groups sent.
[0015] Optionally, obtaining the connection failure coefficient between the customs lock and the server according to the connection signal strength failure coefficient, the connection interruption coefficient and the number of data packet groups sent includes:
[0016] Obtain the total number of data packets sent by the customs lock to the server, and obtain the hash value generated by the customs lock for each group of data packets through the hash algorithm, which is recorded as the first hash value;
[0017] After receiving each group of data packets, the server uses the same hash algorithm to calculate the hash value of each group of data packets received, which is recorded as the second hash value;
[0018] Compare the first hash value and the second hash value of each group of data packets. If the first hash value and the second hash value are different, the corresponding data packet is recorded as an invalid data packet. Divide the number of groups corresponding to the invalid data packets by the total number of data packet groups to obtain a data transmission invalidity coefficient.
[0019] The connection failure coefficient is obtained according to the signal strength failure coefficient, the connection interruption coefficient and the data transmission invalid coefficient.
[0020] Optionally, obtaining the connection failure coefficient according to the signal strength failure coefficient, the connection interruption coefficient and the data transmission invalid coefficient includes:
[0021]
[0022] Wherein, Ghj is the connection unqualified coefficient, EF, PK, GY are the signal strength unqualified coefficient, the connection interruption coefficient and the data transmission invalid coefficient, a1, a2, a3 are the preset proportional coefficients of the signal strength unqualified coefficient, the connection interruption coefficient and the data transmission invalid coefficient, respectively, and a1, a2, a3 are all greater than 0.
[0023] Optionally, the number of times the target customs locks of the goods are illegally opened, the number of delayed arrivals, and the distance of route deviation during transportation are obtained, and the transportation risk coefficient is obtained in combination with the preset weight value of the goods, including:
[0024] Obtain the number of times the customs lock is opened without authorization during the transportation of the goods, which is recorded as the total number of illegal unlockings. Obtain the unlocking time after each illegal unlocking, and combine the preset influence weights corresponding to different unlocking times to obtain the illegal unlocking coefficient. The calculation formula is: Where WS is the illegal unlocking coefficient, yu v is the unlocking time after the vth illegal unlocking, th v is the preset influence weight corresponding to the unlocking time after the vth illegal unlocking, and m is the total number of illegal unlockings;
[0025] Obtain the number of nodes that the goods pass through during transportation, and obtain the total number of delayed arrival nodes. Divide the total number of delayed arrival nodes by the number of nodes passed through to obtain the time inaccuracy coefficient.
[0026] The transportation risk coefficient is obtained based on the illegal unlocking coefficient, time inaccuracy coefficient, route deviation distance and the preset weight of the goods.
[0027] Optionally, the transportation risk coefficients obtained according to the illegal unlocking coefficient, the time delay coefficient, the route deviation distance and the preset weight value of the goods include:
[0028] Obtain the number of nodes that the goods pass through during transportation, and obtain the actual transportation routes of two adjacent nodes as the actual transportation route set;
[0029] For each actual transportation route in the actual transportation route set, the total distance of the actual transportation route that is not within the preset transportation route is calculated to obtain the route deviation distance of each transportation route;
[0030] The route deviation coefficient is obtained according to the route deviation distance of each transport route and the corresponding preset route impact weight value. The calculation formula is: Where KP is the route deviation coefficient, sx s is the route deviation distance of the sth transport route, dzs is the preset route impact weight corresponding to the route deviation distance of the sth transport route, and d is the total number of transport routes in the actual transport route set;
[0031] The transportation risk coefficient is obtained based on the illegal unlocking coefficient, time inaccuracy coefficient, route deviation coefficient and the preset weight of the goods.
[0032] Optionally, the transportation risk coefficients obtained according to the illegal unlocking coefficient, the time delay coefficient, the route deviation coefficient and the preset weight value of the goods include:
[0033] The illegal unlocking coefficient, the time delay coefficient, the route deviation coefficient and the preset weight value of the goods are used as the input items of the fuzzy rules, and the transportation risk coefficient of the goods is used as the output item;
[0034] Fuzzify the input items and convert the exact input values into fuzzy sets;
[0035] Define fuzzy rules based on the fuzzy sets of input items to map input items to output items;
[0036] According to the fuzzy rules, the input items are inferred to determine the fuzzy value of the output items;
[0037] For each rule, calculate the membership of its predecessor and take the minimum value as the activation of the rule;
[0038] Synthesize the results of all rules and calculate the fuzzy set of output items;
[0039] The fuzzy value of the output item is converted into an exact value, and the transportation risk coefficient is output according to the defuzzification result.
[0040] Optionally, the customs logistics of the goods are supervised according to the comparison results, including:
[0041] When the transport risk factor is not less than the preset transport risk factor threshold, an instruction is sent to the driver to transport the goods to the nearest temporary node, and the staff at the corresponding node is granted the authority to unlock the customs lock to supervise the unlocking of the goods;
[0042] When the transportation risk factor is less than the preset transportation risk factor threshold, the goods will still be transported and supervised according to the preset route.
[0043] In a second aspect of the present invention, a customs logistics intelligent supervision system is proposed, comprising:
[0044] Connection status module: obtain the connection signal strength, connection interruption times and number of sent data packets between the target customs lock and the server to obtain the connection failure coefficient between the customs lock and the server;
[0045] The first comparison and supervision module: compares the connection failure coefficient with the preset connection failure coefficient threshold. When the connection failure coefficient is not less than the preset connection failure coefficient threshold, an instruction is sent to the driver to transport the goods to the nearest temporary node, and the staff of the corresponding node is granted the customs lock unlocking authority to supervise the unlocking of the goods;
[0046] Transportation risk module: When the connection failure coefficient is less than the preset connection failure coefficient threshold, the number of times the target customs lock of the goods is illegally opened, the number of delayed arrivals and the route deviation distance during the transportation process are obtained, and the transportation risk coefficient is obtained in combination with the preset weight value of the goods;
[0047] The second comparative supervision module: compares the transport risk coefficient with the preset transport risk coefficient threshold, and supervises the customs logistics of the goods based on the comparison results.
[0048] Beneficial effects of the present invention:
[0049] The present invention proposes a method and system for intelligent supervision of customs logistics, which obtains the connection failure coefficient between the target customs lock and the server, and compares the connection failure coefficient with a preset connection failure coefficient threshold. When the connection failure coefficient is not less than the preset connection failure coefficient threshold, an instruction is sent to the driver to transport the goods to the nearest temporary node, and the customs lock unlocking authority is granted to the staff of the corresponding node to supervise the unlocking of the goods; when the connection failure coefficient is less than the preset connection failure coefficient threshold, the transportation risk coefficient of the goods during transportation is obtained, and the transportation risk coefficient is compared with the preset transportation risk coefficient threshold, and the customs logistics of the goods are supervised according to the comparison result. In this way, during the actual customs transportation of the goods, the customs lock can be opened in time according to the actual situation to inspect the goods and take corresponding measures, and the unlocking inspection can be carried out at the customs destination, thereby reducing greater losses. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] The present invention will be further described below in conjunction with the accompanying drawings.
[0051] Figure 1 It is a flow chart of a method for intelligent supervision of customs logistics;
[0052] Figure 2 This is a framework diagram of a customs logistics intelligent supervision system. DETAILED DESCRIPTION
[0053] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0054] Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making any creative work shall fall within the scope of protection of the present invention.
[0055] The embodiment of the present invention provides a method for intelligent customs logistics supervision. Figure 1 , Figure 1 A flowchart of a method for intelligent customs logistics supervision provided by an embodiment of the present invention. The method comprises the following steps:
[0056] Obtain the connection signal strength, connection interruption times and number of sent data packet groups between the target customs lock and the server to obtain the connection failure coefficient between the customs lock and the server;
[0057] The connection failure coefficient is compared with the preset connection failure coefficient threshold. When the connection failure coefficient is not less than the preset connection failure coefficient threshold, an instruction is sent to the driver to transport the goods to the nearest temporary node, and the staff of the corresponding node is granted the customs lock unlocking authority to supervise the unlocking of the goods;
[0058] When the connection failure coefficient is less than the preset connection failure coefficient threshold, the number of times the target customs lock of the goods is illegally opened, the number of delayed arrivals and the route deviation distance during the transportation process are obtained, and the transportation risk coefficient is obtained in combination with the preset weight value of the goods;
[0059] The transport risk factor is compared with the preset transport risk factor threshold, and the customs logistics of the goods are supervised based on the comparison results.
[0060] Based on a customs logistics intelligent supervision method provided by an embodiment of the present invention, through the above-mentioned method, during the actual customs transportation process of the goods, the customs lock can be opened in time to inspect the goods and take corresponding measures according to the actual situation, and the unlocking inspection can be carried out only at the customs destination, thereby reducing greater losses.
[0061] In one embodiment, obtaining the connection signal strength, the number of connection interruptions, and the number of data packet groups sent to obtain the connection failure coefficient between the customs lock and the server includes:
[0062] Obtain the time-based connection signal strength value between the customs lock and the server during the transportation of the goods, and obtain a signal strength value sequence;
[0063] The signal strength values in the signal strength value sequence that are less than the preset minimum signal strength threshold are recorded as unqualified signal strength values, and the total number of unqualified signal strength values is divided by the total number of signal strength values in the signal strength value sequence to obtain the connection signal strength unqualified coefficient;
[0064] The total number of connection interruptions between the customs lock and the server is obtained, and the duration of each connection interruption is obtained. The connection interruption coefficient is obtained by combining the preset connection interruption duration threshold. The calculation formula is: Where PK is the connection interruption coefficient, rg i is the duration of the ith connection interruption, rf is the preset connection interruption duration threshold, and t is the total number of connection interruptions;
[0065] The connection failure coefficient between the customs lock and the server is obtained according to the connection signal strength failure coefficient, the connection interruption coefficient and the number of data packet groups sent.
[0066] It should be noted that the signal strength value can be expressed as RSS I, which is used to indicate the strength of the wireless signal. RSS I is usually measured in decibel milliwatts (dBm). The larger the value, the stronger the signal, and vice versa. It can be obtained through real-time monitoring of the wireless communication module between the customs lock and the server (such as cellular network, Wi-Fi or satellite communication); the number of connection interruptions can be obtained by monitoring the regular heartbeat packets between the customs lock and the server. If the server does not receive the heartbeat packet of the customs lock within the predetermined time, a connection interruption will be recorded; the duration of the connection interruption can be calculated by recording the time difference between the start and recovery of each interruption, and the duration of each connection interruption can be calculated. This information can be recorded and obtained in real time through the network management log or the status report of the communication module; it can also be obtained by other means, which are not limited or elaborated on;
[0067] It should be noted that the preset connection interruption duration threshold and the preset connection interruption duration threshold are both set by professionals according to actual situations, and are not specifically limited or elaborated.
[0068] It should be noted that the larger the connection signal strength unqualified coefficient and the larger the connection interruption coefficient, the worse the connection status between the customs lock and the server, indicating that the signal is unstable or frequently interrupted during transportation, which directly affects the real-time transmission and monitoring of data, and may result in the status of the goods cannot be reported in time, and the safety of the goods cannot be accurately judged. It may even happen that the goods have been tampered with during customs transportation but have not been discovered and uploaded to the server in time, increasing the risk of goods being tampered with during customs transportation. Therefore, in order to prevent greater losses, it is necessary to send instructions to the driver at this time to transport the goods to the temporary node closest to the current transportation location, and grant the customs lock unlocking authority to the staff of the corresponding node. When the goods are transported to the nearest temporary node, the staff of the corresponding node have the authority to unlock the target customs lock and supervise the unlocking of the goods to prevent greater losses.
[0069] In one implementation, by monitoring the signal strength in real time, the system can accurately assess the communication quality between the customs lock and the server and promptly detect signal weakening problems. This accurate assessment helps to warn of potential transmission risks and provide data support for optimizing network configuration, thereby improving overall transmission efficiency and ensuring reliable data delivery.
[0070] In one implementation, by recording the number and duration of connection interruptions, the stability of the connection can be effectively monitored. This monitoring capability enables the system to respond quickly to potential interruption problems, thereby reducing the risk of data loss, ensuring the integrity of information, and improving the reliability of customs logistics supervision.
[0071] In one embodiment, the connection failure coefficient between the customs lock and the server is obtained according to the connection signal strength failure coefficient, the connection interruption coefficient and the number of data packet groups sent, including:
[0072] Obtain the total number of data packets sent by the customs lock to the server, and obtain the hash value generated by the customs lock for each group of data packets through the hash algorithm, which is recorded as the first hash value;
[0073] After receiving each group of data packets, the server uses the same hash algorithm to calculate the hash value of each group of data packets received, which is recorded as the second hash value;
[0074] Compare the first hash value and the second hash value of each group of data packets. If the first hash value and the second hash value are different, the corresponding data packet is recorded as an invalid data packet. Divide the number of groups corresponding to the invalid data packets by the total number of data packet groups to obtain a data transmission invalidity coefficient.
[0075] The connection failure coefficient is obtained according to the signal strength failure coefficient, the connection interruption coefficient and the data transmission invalid coefficient.
[0076] It should be noted that the total number of data packets sent by the customs lock to the server can be obtained through the data packet sending log, and the data packets received by the server can be obtained through the data packet receiving log; the first hash value and the second hash value can be calculated in real time by the respective hash algorithm modules of the customs lock and the server, or can be obtained by other methods, which are not limited or elaborated in detail;
[0077] It should be noted that the hash algorithm involved in the above calculations may be SHA-256 or MD5, which have the characteristics of fast calculation and strong collision resistance, so that they can effectively verify the integrity of data in logistics supervision. It may also be other hash algorithms, depending on the actual situation, and no limitation or elaboration will be made.
[0078] It should be noted that the larger the data transmission invalid coefficient is, the worse the connection status between the customs lock and the server is, which means that more invalid data packets appear during the data transmission process, which may cause the loss or damage of important information, thereby affecting the real-time and accuracy of logistics supervision. A high invalid coefficient may indicate poor network quality, signal interference or transmission equipment failure, further increasing the risk of goods being tampered with during customs transportation. Therefore, in order to prevent greater losses, it is necessary to send instructions to the driver to transport the goods to the temporary node closest to the current transportation location, and grant the customs lock unlocking authority to the staff of the corresponding node. When the goods are transported to the nearest temporary node, the staff of the corresponding node have the authority to unlock the target customs lock and supervise the goods to prevent greater losses.
[0079] In one embodiment, obtaining the connection failure coefficient according to the signal strength failure coefficient, the connection interruption coefficient and the data transmission invalid coefficient includes:
[0080]
[0081] Wherein, Ghj is the connection unqualified coefficient, EF, PK, GY are the signal strength unqualified coefficient, the connection interruption coefficient and the data transmission invalid coefficient, a1, a2, a3 are the preset proportional coefficients of the signal strength unqualified coefficient, the connection interruption coefficient and the data transmission invalid coefficient, respectively, and a1, a2, a3 are all greater than 0.
[0082] It should be noted that a1, a2, and a3 are set by professionals according to actual conditions. Generally, the sum of a1, a2, and a3 is 1. For example, a1, a2, and a3 can be 0.4, 0.3, and 0.3, respectively, or other numbers, without specific limitation.
[0083] It should be noted that the use of hash value comparison to calculate the data transmission invalid coefficient can accurately determine the integrity of the data during the transmission process and ensure that all information arrives accurately. The identification of high invalid coefficients can help locate transmission problems and promptly resolve the root causes of data loss or damage, thereby improving the efficiency of the entire logistics supervision system and ensuring the safety and compliance of customs logistics.
[0084] In one embodiment, the connection failure coefficient is compared with a preset connection failure coefficient threshold. When the connection failure coefficient is not less than the preset connection failure coefficient threshold, it indicates that the connection status between the customs lock and the server is very poor, and the safety and supervision effectiveness of the goods are very low. At this time, in order to avoid the loss or tampering of the goods due to connection problems, an instruction is sent to the driver to transport the goods to the nearest temporary node, transfer the goods to a safe temporary node in time, and grant the customs lock unlocking authority to the staff of the corresponding node. The relevant staff can open the customs lock to conduct necessary inspections and supervision on the goods to ensure that no more safety hazards will occur in subsequent transportation. In addition, this response mechanism enhances the flexibility and adaptability of the system, and improves the efficiency and reliability of the overall customs logistics supervision.
[0085] When the connection failure coefficient is less than the preset connection failure coefficient threshold, it means that the connection status between the customs lock and the server is good. At this time, in order to ensure whether there are potential risks in the transportation process, abnormal situations in transportation can be identified in time, so as to timely supervise customs logistics, it is necessary to evaluate and analyze the status of the transportation process to ensure the transparency and controllability of the logistics process.
[0086] It should be noted that the preset connection failure coefficient threshold is set by professionals based on actual conditions and will not be limited or elaborated on in detail.
[0087] It should be noted that temporary nodes refer to security checkpoints or transit points set up during the customs transportation of goods, which are used to deal with situations of unqualified connections or potential risks. These nodes can be warehouses, inspection stations or any designated locations. After receiving instructions, drivers must transport the goods here for inspection and supervision; nodes refer to specific locations or links in the customs logistics network, which play a role of connection, transshipment or supervision during the transportation of goods. These nodes are generally nodes that goods must pass through during the customs logistics process; by setting up temporary nodes, we can effectively respond to abnormal situations in transportation and ensure the safety of goods and smooth processes.
[0088] In one embodiment, the number of times the target customs lock of the goods is illegally opened, the number of delayed arrivals, and the distance of route deviation during transportation are obtained, and the transportation risk coefficient is obtained by combining the preset weight value of the goods, including:
[0089] Obtain the number of times the customs lock is opened without authorization during the transportation of the goods, which is recorded as the total number of illegal unlockings. Obtain the unlocking time after each illegal unlocking, and combine the preset influence weights corresponding to different unlocking times to obtain the illegal unlocking coefficient. The calculation formula is: Where WS is the illegal unlocking coefficient, yu v is the unlocking time after the vth illegal unlocking, th v is the preset influence weight corresponding to the unlocking time after the vth illegal unlocking, and m is the total number of illegal unlockings;
[0090] Obtain the number of nodes that the goods pass through during transportation, and obtain the total number of delayed arrival nodes. Divide the total number of delayed arrival nodes by the number of nodes passed through to obtain the time inaccuracy coefficient.
[0091] The transportation risk coefficient is obtained based on the illegal unlocking coefficient, time inaccuracy coefficient, route deviation distance and the preset weight of the goods.
[0092] It should be noted that the total number of illegal unlockings and the duration of unlocking after each illegal unlocking can be recorded by sensors connected to the server, and the time and duration of each unauthorized unlocking event can be saved. For the total number of delayed arrival nodes, it is necessary to track each node of the goods during transportation, record the arrival time of each node through the GPS positioning and timestamp of the customs lock, and compare it with the preset arrival time to calculate the total number of delayed arrival nodes; it can also be obtained by other means, which are not limited or elaborated;
[0093] It should be noted that the preset impact weights corresponding to different unlocking times are set by professionals based on actual conditions. The reason why the preset impact weights corresponding to different unlocking times are different is that the length of the unlocking time directly affects the degree of security risk. A longer unlocking time means that the goods are exposed to potential threats for a longer time, thereby increasing the risk of the goods being tampered with or damaged. Therefore, in general, the longer the unlocking time, the greater the corresponding preset impact weight; the specific preset impact weight value depends on the actual situation and is not limited or elaborated here.
[0094] It should be noted that the greater the illegal unlocking coefficient and the greater the time inaccuracy coefficient, the greater the transportation risk coefficient, which means that the safety hazards and uncertainties faced by the goods during transportation will increase, which may lead to the tampering, damage or theft of the goods. Therefore, in order to prevent greater losses, it is necessary to send instructions to the driver to transport the goods to the temporary node closest to the current transportation location, and grant the customs lock unlocking authority to the staff of the corresponding node. When the goods are transported to the nearest temporary node, the staff of the corresponding node have the authority to unlock the target customs lock and supervise the unlocking of the goods to prevent greater losses.
[0095] In one implementation, through the above method, the impact of unauthorized unlocking of customs locks on transported goods can be comprehensively evaluated. By considering the duration of each unlocking and its corresponding impact weight, a more accurate basis for risk management is provided to help take corresponding safety measures in a timely manner.
[0096] In one implementation method, through the above method, the arrival status of goods at each node during the transportation process can be monitored in real time, the punctuality of transportation can be evaluated, and by comparing the actual arrival time with the preset time, the potential delay risk of goods during transportation can be accurately indicated, which can help customs logistics personnel to promptly identify and solve problems in the transportation process and improve overall transportation efficiency and reliability.
[0097] In one embodiment, the transportation risk coefficient is obtained according to the illegal unlocking coefficient, the time delay coefficient, the route deviation distance and the preset weight value of the goods, including:
[0098] Obtain the number of nodes that the goods pass through during transportation, and obtain the actual transportation routes of two adjacent nodes as the actual transportation route set;
[0099] For each actual transportation route in the actual transportation route set, the total distance of the actual transportation route that is not within the preset transportation route is calculated to obtain the route deviation distance of each transportation route;
[0100] The route deviation coefficient is obtained according to the route deviation distance of each transport route and the corresponding preset route impact weight value. The calculation formula is: Where KP is the route deviation coefficient, sx s is the route deviation distance of the sth transport route, dz s is the preset route impact weight corresponding to the route deviation distance of the sth transport route, and d is the total number of transport routes in the actual transport route set;
[0101] The transportation risk coefficient is obtained based on the illegal unlocking coefficient, time inaccuracy coefficient, route deviation coefficient and the preset weight of the goods.
[0102] It should be noted that the actual transportation route can be tracked in real time by the GPS positioning system inside the customs lock to track the location of the goods during transportation, so as to record the actual transportation route of each node; by comparing the actual transportation path with the preset transportation route, the deviation distance of each transportation route can be determined, and other acquisition methods may also be used, which are not limited or elaborated here.
[0103] It should be noted that the preset route impact weight values corresponding to different transport routes are set by professionals based on actual conditions. The reason why the preset route impact weight values corresponding to different transport routes are different is that the degree of impact of each transport route in terms of safety, efficiency and compliance is different. Some routes may pass through high-risk areas and face a greater risk of tampering or delays, so higher impact weights need to be set. On the contrary, transport routes passing through safe and stable areas can be given lower weights. The specific preset route impact weight values are determined according to actual conditions and are not limited or elaborated here.
[0104] It should be noted that the greater the route deviation coefficient, the greater the transportation risk coefficient, which means that there is a significant difference between the actual transportation path and the preset path, which may lead to a variety of potential risks. For example, deviation from the preset route may cause the goods to pass through unsafe areas, increasing the risk of the goods being stolen or otherwise damaged. Therefore, in order to prevent greater losses, it is necessary to send instructions to the driver to transport the goods to the temporary node closest to the current transportation location, and grant the customs lock unlocking authority to the staff of the corresponding node. When the goods are transported to the nearest temporary node, the staff of the corresponding node have the authority to unlock the target customs lock and supervise the unlocking of the goods to prevent greater losses.
[0105] In one implementation, the above method can comprehensively and systematically evaluate the difference between the actual transportation route and the preset route. By combining the deviation distance of the actual transportation route and the corresponding preset impact weight, this method not only reflects the degree of deviation, but also takes into account the safety and compliance of different routes, making the calculation results more accurate and practical.
[0106] In one embodiment, the transportation risk coefficient is obtained according to the illegal unlocking coefficient, the time delay coefficient, the route deviation coefficient and the preset weight of the goods, including:
[0107] The illegal unlocking coefficient, the time delay coefficient, the route deviation coefficient and the preset weight value of the goods are used as the input items of the fuzzy rules, and the transportation risk coefficient of the goods is used as the output item;
[0108] Fuzzify the input items and convert the exact input values into fuzzy sets;
[0109] Define fuzzy rules based on the fuzzy sets of input items to map input items to output items;
[0110] According to the fuzzy rules, the input items are inferred to determine the fuzzy value of the output items;
[0111] For each rule, calculate the membership of its predecessor and take the minimum value as the activation of the rule;
[0112] Synthesize the results of all rules and calculate the fuzzy set of output items;
[0113] The fuzzy value of the output item is converted into an exact value, and the transportation risk coefficient is output according to the defuzzification result.
[0114] It should be noted that the preset weight value of the goods is set by professional personnel based on the characteristics, value, transportation requirements, etc. of the goods, and will not be specifically limited or elaborated here.
[0115] It should be noted that the above steps are explained as follows:
[0116] Definition of fuzzy rules: First, the illegal unlocking coefficient, time delay coefficient, route deviation coefficient and the preset weight value of the goods are used as the input items of the fuzzy rules. The transportation risk coefficient of the goods is used as the output item. The key to this stage is to determine which input items have a significant impact on the output items and establish preliminary fuzzy rules;
[0117] Fuzzification of input items: In this stage, the fuzzification function is used to convert the precise input values into fuzzy sets. For example, the illegal unlocking coefficient, the time delay coefficient, the route deviation coefficient, and the preset weight value of the goods can be divided into "low", "medium" and "high" risk intervals. This process helps to combine the precision of actual data with fuzzy rules, so that the model can handle uncertainty and ambiguity;
[0118] Fuzzy rule establishment: Fuzzy rules are defined based on the fuzzy set of input items. For example, a rule can be set: "If the illegal unlocking coefficient is high, the time delay coefficient is high, the route deviation coefficient is high, and the preset self-weight value of the goods is high, then the transportation risk coefficient is high." These rules combine different input items to predict the results of the output items;
[0119] Reasoning process: Based on fuzzy rules, the input items are reasoned and the fuzzy values of the output items are determined. Fuzzy reasoning methods such as Mamdan i or Takagi-Sugeno model can be used here, which can effectively handle the nonlinear relationship between input and output;
[0120] Activation calculation: For each fuzzy rule, calculate the membership of its premise part and take the minimum value as the activation of the rule. This step is crucial because it can quantify the contribution of each rule to the output result and ensure that the relative impact of each input is taken into account in the decision-making process;
[0121] Result synthesis: synthesize the results of all rules to form a fuzzy set of output items. You can use weighted average method or maximum membership method and other techniques to synthesize the results of different rules to get a more comprehensive fuzzy output;
[0122] Defuzzification: Finally, the fuzzy value of the output item is converted into an exact value, usually using defuzzification techniques such as the centroid method or the maximum membership method to obtain the final transportation risk coefficient; this step converts the results of fuzzy reasoning into specific values that can be operated and understood, providing support for subsequent decision-making.
[0123] In one implementation, through the above method, multiple uncertain factors can be effectively integrated to output a comprehensive coefficient reflecting transportation risk. This fuzzy logic method can more accurately output the risk level of goods during customs transportation.
[0124] In one embodiment, supervising the customs logistics of the goods according to the comparison results includes:
[0125] When the transport risk factor is not less than the preset transport risk factor threshold, an instruction is sent to the driver to transport the goods to the nearest temporary node, and the staff at the corresponding node is granted the authority to unlock the customs lock to supervise the unlocking of the goods;
[0126] When the transportation risk factor is less than the preset transportation risk factor threshold, the goods will still be transported and supervised according to the preset route.
[0127] It should be noted that the preset transportation risk coefficient threshold and the preset route are set by professionals based on actual conditions and are not specifically limited or elaborated here.
[0128] In one implementation method, when the transportation risk coefficient is not less than the preset threshold, the goods are transported to a temporary node in a timely manner and unlocked for supervision, which can quickly respond to potential risks and prevent the goods from being tampered with or damaged, thereby protecting the integrity of customs logistics; conversely, when the transportation risk coefficient is lower than the threshold, maintaining the normal transportation process helps save time and resources and avoid unnecessary interference; this flexible supervision strategy not only meets the requirements for transportation safety, but also improves logistics efficiency.
[0129] Based on the same inventive concept, the present invention also provides a customs logistics intelligent supervision system. Figure 2 , Figure 2A framework diagram of a customs logistics intelligent supervision system provided by an embodiment of the present invention, the system includes:
[0130] Connection status module: obtain the connection signal strength, connection interruption times and number of sent data packets between the target customs lock and the server to obtain the connection failure coefficient between the customs lock and the server;
[0131] The first comparison and supervision module: compares the connection failure coefficient with the preset connection failure coefficient threshold. When the connection failure coefficient is not less than the preset connection failure coefficient threshold, an instruction is sent to the driver to transport the goods to the nearest temporary node, and the staff of the corresponding node is granted the customs lock unlocking authority to supervise the unlocking of the goods;
[0132] Transportation risk module: When the connection failure coefficient is less than the preset connection failure coefficient threshold, the number of times the target customs lock of the goods is illegally opened, the number of delayed arrivals and the route deviation distance during the transportation process are obtained, and the transportation risk coefficient is obtained in combination with the preset weight value of the goods;
[0133] The second comparative supervision module: compares the transport risk coefficient with the preset transport risk coefficient threshold, and supervises the customs logistics of the goods based on the comparison results.
[0134] Based on a customs logistics intelligent supervision system provided by an embodiment of the present invention, through the above method, during the actual customs transportation process of the goods, the customs locks can be opened in time to inspect the goods and take corresponding measures according to the actual situation, and the unlocking inspection can be carried out only at the customs destination, thereby reducing greater losses.
[0135] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. A method for intelligent supervision of customs logistics, characterized in that: The method comprises the following steps: Obtain the connection signal strength, connection interruption times and number of sent data packet groups between the target customs lock and the server to obtain the connection failure coefficient between the customs lock and the server; The connection failure coefficient is compared with the preset connection failure coefficient threshold. When the connection failure coefficient is not less than the preset connection failure coefficient threshold, an instruction is sent to the driver to transport the goods to the nearest temporary node, and the staff of the corresponding node is granted the customs lock unlocking authority to supervise the unlocking of the goods; When the connection failure coefficient is less than the preset connection failure coefficient threshold, the number of times the target customs lock of the goods is illegally opened, the number of delayed arrivals and the route deviation distance during the transportation process are obtained, and the transportation risk coefficient is obtained in combination with the preset weight value of the goods; Compare the transport risk factor with the preset transport risk factor threshold, and supervise the customs logistics of the goods based on the comparison results; Obtaining the connection signal strength, the number of connection interruptions, and the number of data packets sent to obtain the connection failure coefficient between the customs lock and the server includes: Obtain the time-based connection signal strength value between the customs lock and the server during the transportation of the goods, and obtain a signal strength value sequence; The signal strength values in the signal strength value sequence that are less than the preset minimum signal strength threshold are recorded as unqualified signal strength values, and the total number of unqualified signal strength values is divided by the total number of signal strength values in the signal strength value sequence to obtain the connection signal strength unqualified coefficient; The total number of connection interruptions between the customs lock and the server is obtained, and the duration of each connection interruption is obtained. The connection interruption coefficient is obtained by combining the preset connection interruption duration threshold. The calculation formula is: , where is the connection interruption coefficient, For the The duration of the connection interruption. is the preset connection interruption duration threshold, is the total number of connection interruptions; The connection failure coefficient between the customs lock and the server is obtained according to the connection signal strength failure coefficient, the connection interruption coefficient and the number of data packet groups sent; The connection failure coefficients obtained according to the signal strength failure coefficient, the connection interruption coefficient and the data transmission invalid coefficient include: In the formula, is the connection failure coefficient, , , are the signal strength failure coefficient, connection interruption coefficient and data transmission invalid coefficient, , , are preset proportional coefficients for the signal strength failure coefficient, the connection interruption coefficient and the data transmission invalid coefficient, respectively, and , , Both are greater than 0.
2. A method for intelligent customs logistics supervision according to claim 1, characterized in that: The connection failure coefficient between the customs lock and the server is obtained based on the connection signal strength failure coefficient, the connection interruption coefficient and the number of data packets sent, including: Obtain the total number of data packets sent by the customs lock to the server, and obtain the hash value generated by the customs lock for each group of data packets through the hash algorithm, which is recorded as the first hash value; After receiving each group of data packets, the server uses the same hash algorithm to calculate the hash value of each group of data packets received, which is recorded as the second hash value; Compare the first hash value and the second hash value of each group of data packets. If the first hash value and the second hash value are different, the corresponding data packet is recorded as an invalid data packet. Divide the number of groups corresponding to the invalid data packets by the total number of data packet groups to obtain a data transmission invalidity coefficient. The connection failure coefficient is obtained according to the signal strength failure coefficient, the connection interruption coefficient and the data transmission invalid coefficient.
3. A method for intelligent customs logistics supervision according to claim 1, characterized in that: The number of times the target customs locks of the goods were illegally opened, the number of delayed arrivals, and the distance of route deviation during transportation are obtained, and the transportation risk coefficient is obtained by combining the preset weight value of the goods, including: Obtain the number of times the customs lock is opened without authorization during the transportation of the goods, which is recorded as the total number of illegal unlockings. Obtain the unlocking time after each illegal unlocking, and combine the preset influence weights corresponding to different unlocking times to obtain the illegal unlocking coefficient. The calculation formula is: , where is the illegal unlocking coefficient, For the The duration of the unlock after the illegal unlock, For the The preset impact weight corresponding to the unlocking time after the illegal unlocking, The total number of illegal unlocking times; Obtain the number of nodes that the goods pass through during transportation, and obtain the total number of delayed arrival nodes. Divide the total number of delayed arrival nodes by the number of nodes passed through to obtain the time inaccuracy coefficient. The transportation risk coefficient is obtained based on the illegal unlocking coefficient, time inaccuracy coefficient, route deviation distance and the preset weight of the goods.
4. A method for intelligent customs logistics supervision according to claim 3, characterized in that: The transportation risk factors obtained based on the illegal unlocking coefficient, time inaccuracy coefficient, route deviation distance and the preset weight of the goods include: Obtain the number of nodes that the goods pass through during transportation, and obtain the actual transportation routes of two adjacent nodes as the actual transportation route set; For each actual transportation route in the actual transportation route set, the total distance of the actual transportation route that is not within the preset transportation route is calculated to obtain the route deviation distance of each transportation route; The route deviation coefficient is obtained according to the route deviation distance of each transport route and the corresponding preset route impact weight value. The calculation formula is: , where is the route deviation coefficient, For the The route deviation distance of each transport route, For the The preset route impact weight corresponding to the route deviation distance of each transport route, is the total number of transportation routes in the actual transportation route set; The transportation risk coefficient is obtained based on the illegal unlocking coefficient, time inaccuracy coefficient, route deviation coefficient and the preset weight of the goods.
5. A method for intelligent customs logistics supervision according to claim 4, characterized in that: The transportation risk factors obtained based on the illegal unlocking coefficient, time inaccuracy coefficient, route deviation coefficient and the preset weight of the goods include: The illegal unlocking coefficient, the time delay coefficient, the route deviation coefficient and the preset weight value of the goods are used as the input items of the fuzzy rules, and the transportation risk coefficient of the goods is used as the output item; Fuzzify the input items and convert the exact input values into fuzzy sets; Define fuzzy rules based on the fuzzy sets of input items to map input items to output items; According to the fuzzy rules, the input items are inferred to determine the fuzzy value of the output items; For each rule, calculate the membership of its predecessor and take the minimum value as the activation of the rule; Synthesize the results of all rules and calculate the fuzzy set of output items; The fuzzy value of the output item is converted into an exact value, and the transportation risk coefficient is output according to the defuzzification result.
6. A method for intelligent customs logistics supervision according to claim 1, characterized in that: The customs logistics supervision of goods based on the comparison results includes: When the transport risk factor is not less than the preset transport risk factor threshold, an instruction is sent to the driver to transport the goods to the nearest temporary node, and the staff at the corresponding node is granted the authority to unlock the customs lock to supervise the unlocking of the goods; When the transportation risk factor is less than the preset transportation risk factor threshold, the goods will still be transported and supervised according to the preset route.
7. A customs logistics intelligent supervision system, characterized in that: The system comprises: Connection status module: obtain the connection signal strength, connection interruption times and number of sent data packets between the target customs lock and the server to obtain the connection failure coefficient between the customs lock and the server; The first comparison and supervision module: compares the connection failure coefficient with the preset connection failure coefficient threshold. When the connection failure coefficient is not less than the preset connection failure coefficient threshold, an instruction is sent to the driver to transport the goods to the nearest temporary node, and the staff of the corresponding node is granted the customs lock unlocking authority to supervise the unlocking of the goods; Transportation risk module: When the connection failure coefficient is less than the preset connection failure coefficient threshold, the number of times the target customs lock of the goods is illegally opened, the number of delayed arrivals and the route deviation distance during the transportation process are obtained, and the transportation risk coefficient is obtained in combination with the preset weight value of the goods; The second comparison and supervision module: compares the transportation risk coefficient with the preset transportation risk coefficient threshold, and supervises the customs logistics of the goods based on the comparison results; Obtaining the connection signal strength, the number of connection interruptions, and the number of data packets sent to obtain the connection failure coefficient between the customs lock and the server includes: Obtain the time-based connection signal strength value between the customs lock and the server during the transportation of the goods, and obtain a signal strength value sequence; The signal strength values in the signal strength value sequence that are less than the preset minimum signal strength threshold are recorded as unqualified signal strength values, and the total number of unqualified signal strength values is divided by the total number of signal strength values in the signal strength value sequence to obtain the connection signal strength unqualified coefficient; The total number of connection interruptions between the customs lock and the server is obtained, and the duration of each connection interruption is obtained. The connection interruption coefficient is obtained by combining the preset connection interruption duration threshold. The calculation formula is: , where is the connection interruption coefficient, For the The duration of the connection interruption, is the preset connection interruption duration threshold, is the total number of connection interruptions; Obtain the connection failure coefficient between the customs lock and the server according to the connection signal strength failure coefficient, the connection interruption coefficient and the number of data packet groups sent; The connection failure coefficients obtained according to the signal strength failure coefficient, the connection interruption coefficient and the data transmission invalid coefficient include: In the formula, is the connection failure coefficient, , , are the signal strength failure coefficient, connection interruption coefficient and data transmission invalid coefficient, , , are preset proportional coefficients for the signal strength failure coefficient, the connection interruption coefficient and the data transmission invalid coefficient, respectively, and , , Both are greater than 0.
Citation Information
Patent Citations
Switch control method and system of customs lock
CN115761940A
Logistics information dynamic supervision system and method based on artificial intelligence
CN116579692A