WO2022095519A1 - 通关检验方法、装置、电子设备及计算机可读存储介质 - Google Patents
通关检验方法、装置、电子设备及计算机可读存储介质 Download PDFInfo
- Publication number
- WO2022095519A1 WO2022095519A1 PCT/CN2021/109486 CN2021109486W WO2022095519A1 WO 2022095519 A1 WO2022095519 A1 WO 2022095519A1 CN 2021109486 W CN2021109486 W CN 2021109486W WO 2022095519 A1 WO2022095519 A1 WO 2022095519A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- goods
- cargo
- inspection
- electronic seal
- duration
- Prior art date
Links
- 238000007689 inspection Methods 0.000 title claims abstract description 270
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000008859 change Effects 0.000 claims abstract description 46
- 238000004364 calculation method Methods 0.000 claims description 25
- 238000004422 calculation algorithm Methods 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 17
- 238000012549 training Methods 0.000 claims description 12
- 238000012544 monitoring process Methods 0.000 claims description 10
- 238000005516 engineering process Methods 0.000 abstract description 13
- 238000012545 processing Methods 0.000 abstract description 7
- 238000012552 review Methods 0.000 abstract description 6
- 230000006870 function Effects 0.000 description 17
- 230000008569 process Effects 0.000 description 11
- 238000013473 artificial intelligence Methods 0.000 description 5
- 238000012795 verification Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000007726 management method Methods 0.000 description 4
- 238000012806 monitoring device Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000000903 blocking effect Effects 0.000 description 2
- 238000013481 data capture Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000007789 sealing Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003058 natural language processing Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0639—Performance analysis of employees; Performance analysis of enterprise or organisation operations
- G06Q10/06393—Score-carding, benchmarking or key performance indicator [KPI] analysis
Definitions
- the present application relates to the technical field of data processing, and in particular, to a customs clearance inspection method, device, electronic device, and computer-readable storage medium.
- an exporter’s factory is built at location A in the GHz, stored at location B in the GHz, and transported to location C in the outskirt (such as a coastal port), from C Location transport to other locations (eg outbound to country D).
- location C in the outskirt
- C Location transport to other locations (eg outbound to country D).
- the goods need to be inspected or audited. For example, when the goods leave the country from E country to D country, the customs clearance verification of the goods needs to be carried out at the port of E country.
- the port customs will perform centralized customs clearance verification on the information of goods exported from the mainland customs. Due to the huge amount of cargo information, the centralized customs clearance verification takes up a lot of computing resources and is easy to cause data. Blockage, so that the inspection efficiency of the goods is low.
- a customs clearance inspection method comprising:
- the customs declaration data and approval results of the goods at the first inspection location are obtained;
- the inspection score is greater than a preset score threshold, it is determined that the goods pass the inspection.
- a customs clearance inspection device comprising:
- a data acquisition module configured to acquire customs declaration data and approval results of the goods at the first inspection location when the inspection of the goods at the first inspection location is monitored;
- An electronic seal generation module used for generating an electronic seal of the goods if the approval result is qualified
- an electronic seal inspection module configured to determine whether there is a change in the electronic seal of the goods when the goods are monitored from the first inspection site to the second inspection site, and obtain an electronic seal judgment result
- a cargo index calculation module configured to calculate a plurality of cargo indices of the cargo according to the customs declaration data
- an inspection score calculation module configured to calculate an inspection score according to the judgment result of the electronic seal and the plurality of cargo indicators
- a cargo inspection module configured to determine that the cargo has passed the inspection when the inspection score is greater than a preset score threshold.
- An electronic device comprising:
- the processor executes the computer program stored in the memory to realize the following steps:
- the customs declaration data and approval results of the goods at the first inspection location are obtained;
- the inspection score is greater than a preset score threshold, it is determined that the goods pass the inspection.
- a computer-readable storage medium comprising a storage data area and a storage program area, the storage data area stores data created, and the storage program area stores a computer program; wherein, the computer program is executed by a processor The following steps are implemented:
- the customs declaration data and approval results of the goods at the first inspection location are obtained;
- the inspection score is greater than a preset score threshold, it is determined that the goods pass the inspection.
- the application can improve the inspection efficiency of the goods.
- FIG. 1 is a schematic flowchart of a customs clearance inspection method provided by an embodiment of the present application.
- FIG. 2 is a schematic block diagram of a customs clearance inspection device provided by an embodiment of the present application.
- FIG. 3 is a schematic diagram of the internal structure of an electronic device for implementing a customs clearance inspection method provided by an embodiment of the present application;
- the execution subject of the customs clearance inspection method provided by the embodiment of the present application includes, but is not limited to, at least one of the electronic devices that can be configured to execute the method provided by the embodiment of the present application, such as a server and a terminal.
- the customs clearance inspection method can be executed by software or hardware installed in a terminal device or a server device, and the software can be a blockchain platform.
- the server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like.
- the server can be an independent server, or it can provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, and content delivery networks (Content Delivery Network, CDN), as well as cloud servers for basic cloud computing services such as big data and artificial intelligence platforms.
- cloud services such as cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, and content delivery networks (Content Delivery Network, CDN), as well as cloud servers for basic cloud computing services such as big data and artificial intelligence platforms.
- AI artificial intelligence
- digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
- the basic technologies of artificial intelligence generally include technologies such as sensors, special artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation/interaction systems, and mechatronics.
- Artificial intelligence software technology mainly includes computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning/deep learning.
- the present application provides a customs clearance inspection method.
- FIG. 1 it is a schematic flowchart of a customs clearance inspection method according to an embodiment of the present application.
- the method may be performed by an apparatus, which may be implemented in software and/or hardware.
- the customs clearance inspection method includes:
- the first inspection location may be an inland customs located in an inland city or region.
- an initial review is conducted at the premise Customs before the goods are sent out, and the information generated during the review process can be stored in a pre-built blockchain node. 1.
- the high throughput of the blockchain nodes for data can improve the efficiency of obtaining the customs declaration data and approval results in the blockchain nodes.
- a monitoring device such as a preset listener is used to monitor whether the goods have been inspected at the first inspection location.
- a python statement with a data capture function is used. Obtain customs declaration data and approval results of goods in mainland customs from pre-built blockchain nodes.
- the obtaining of the customs declaration data and the approval result of the goods at the first inspection location includes:
- the owner of the goods may be a person, a collective or an enterprise that owns the goods.
- different owners have unique electronic signatures, and the same electronic signature may correspond to multiple goods.
- the goods are goods 1
- the electronic signature of the owner of goods 1, xxx company is A
- the goods corresponding to electronic signature A include goods 1, 2 and 3
- the electronic signatures are obtained directly from the pre-built blockchain nodes The customs declaration data and approval result of the goods 1 corresponding to A.
- the electronic signature can be parsed by a parser, so as to obtain the owner's identity of the owner through the electronic signature.
- the parser includes but is not limited to Microsoft Application Inspector parser, json parser, etc.
- the electronic seal includes a program segment for performing a blocking function on the cargo, for example, a computer program for controlling the sealing of the cargo container.
- a computer program with specific functions can be used to generate an electronic seal of the goods, the electronic seal includes a status field, and the status of the electronic seal identifies the goods The status of the status field will change with the status of the goods monitored by the electronic seal of the electronic seal.
- the status field is True, it means that the goods are in a closed state, and when the status field is False, it means that the goods are in an open state.
- the goods are put into the container, and the electronic seal is used to control the container in which the goods are loaded.
- the status field in the electronic seal is closed (that is, the goods are in a closed state), and the value of the status field is True at this time; when the container detected by the electronic seal is opened in any way, The state field is changed from the closed state to the unclosed state, and the value of the state field is False at this time.
- a monitoring device such as a preset monitor can also be used to monitor whether the goods arrive at the second inspection location, and when it is detected that the goods arrive at the second inspection location from the first inspection location, the information of the goods is obtained again.
- Electronic seal and determine whether there is a change in the electronic seal at this time, and judging whether there is a change in the electronic seal is specifically judging whether there is a change in the value of the status field in the electronic seal.
- the judging whether there is a change in the electronic seal of the goods includes:
- the generated electronic seal of the goods is the first electronic seal, and when the goods are at the second inspection location, the obtained electronic seal of the goods will be The seal is determined to be the second electronic seal;
- Whether there is a change in the electronic seal of the goods is determined according to the matching degree.
- the matching degree is greater than a preset matching threshold, it is determined that there is no change in the electronic seal of the goods; when the matching degree is less than or equal to a preset matching threshold, it is determined that there is a change in the electronic seal of the goods .
- the calculating the matching degree between the first hash value and the second hash value includes:
- Pic(P, Q) is the matching degree
- P is the first hash value
- Q is the second hash value
- the value of the status field in the electronic seal of the goods will change with the status of the goods, if the goods are opened during the process from the first inspection location to the second inspection location, then The value of the status field in the second electronic seal of the obtained goods upon arrival at the second inspection location is inconsistent with the value of the status field in the first electronic seal generated when the approval result of the goods is determined to be qualified, so the calculation is obtained.
- the first hash value of the first electronic seal and the second hash value of the second electronic seal are inconsistent.
- the matching degree between the first hash value and the second hash value is calculated, and when the matching degree is greater than the preset matching threshold, it means that the first hash value and the second hash value are the same, and it is determined that the matching degree is greater than the preset matching threshold. There is no change in the electronic seal of the goods.
- the plurality of cargo indicators include identity authentication indicators and cargo quantity indicators
- the customs declaration data includes declaration standard signatures and cargo declaration quantities.
- Calculating multiple cargo indicators of the cargo according to the customs declaration data includes: acquiring the cargo signature on the cargo when the cargo arrives at the second inspection location, calculating the difference between the cargo signature and the declaration standard signature, and obtaining Identity authentication index; obtain the arrival quantity of the goods when the goods arrive at the second inspection location, calculate the mean square error between the arrival quantity and the declared quantity of the goods, and obtain the goods quantity index.
- the plurality of cargo indicators include a duration indicator, a navigation track indicator, and a cargo weight indicator, wherein the duration indicator is used to identify the prediction of the arrival of the cargo from the first inspection location to the second inspection location The difference between the sailing duration and the actual sailing duration; the sailing track index is used to identify the similarity between the actual sailing track data and the specified sailing track data; the cargo weight index is used to identify the difference between the actual arrival weight and the declared cargo weight.
- the customs declaration data includes a voyage plan and the departure time of the goods leaving the first inspection location, and before calculating a plurality of goods indicators of the goods according to the goods customs clearance data, the method further includes:
- the cargo indicator includes a duration indicator, and the calculation of multiple cargo indicators of the cargo according to the cargo customs clearance data includes:
- the predicted sailing duration of the sailing plan is obtained, including:
- duration prediction model to predict the duration of the training voyage plan to obtain the predicted voyage duration
- the calculating the difference between the predicted sailing duration and the standard sailing duration includes:
- the embodiment of the present application adjusts the parameters of the duration prediction model through a gradient descent algorithm
- the gradient descent algorithm includes but is not limited to: batch gradient descent algorithm, stochastic gradient descent algorithm, and mini-batch gradient descent algorithm.
- the voyage plan includes prescribed voyage trajectory data and declared cargo weight, and after obtaining the cargo duration index, the method further includes:
- the calculation of the similarity between the actual navigation trajectory data and the prescribed navigation trajectory data is a navigation trajectory index, including:
- TPT is the actual sailing trajectory data
- TPS is the prescribed sailing trajectory data
- the calculation of the inspection score according to the electronic seal inspection result and the plurality of cargo indicators includes:
- Grade i electronic seal inspection result ⁇ +time index ⁇ +travel track index ⁇ +cargo weight index ⁇ ⁇
- the inspection score of the goods when the inspection score of the goods is greater than the preset score threshold, it means that the goods are in good condition and have not been opened during the process from the first inspection site to the second inspection site, and have not been replaced, unloaded or transferred on the way
- the goods arriving at the second inspection location are the goods that have passed the inspection from the first inspection location and have been dispatched. At this time, there is no need to conduct a complete re-examination of the goods at the second inspection location again to determine that the goods have passed the inspection.
- the customs declaration data and approval results of the goods at the first inspection site are obtained. If the approval result is qualified, an electronic seal of the goods is generated.
- the goods arrive at the second inspection location from the first inspection site determine whether the electronic seal of the goods has changed, and obtain the judgment result of the electronic seal; calculate multiple cargo indicators of the goods according to the customs declaration data; The inspection score is calculated for each cargo index; when the inspection score is greater than the preset score threshold, it is determined that the cargo has passed the inspection.
- the customs clearance inspection method proposed in this application can improve the inspection efficiency of goods.
- FIG. 2 it is a schematic diagram of a module of the customs clearance inspection device of the present application.
- each module/unit is as follows:
- the data acquisition module 101 is configured to acquire customs declaration data and approval results of the goods at the first inspection location when it is monitored that the goods are inspected at the first inspection location;
- the electronic seal generation module 102 is configured to generate an electronic seal of the goods if the approval result is qualified;
- the electronic seal inspection module 103 is configured to determine whether there is a change in the electronic seal of the goods when the goods are monitored from the first inspection site to the second inspection site, and obtain an electronic seal judgment result;
- the cargo index calculation module 104 is configured to calculate a plurality of cargo indices of the cargo according to the customs declaration data
- the goods inspection module 106 is configured to determine that the goods pass the inspection when the inspection score is greater than a preset score threshold.
- each module of the customs clearance inspection device is as follows:
- the data acquisition module 101 is configured to acquire customs declaration data and approval results of the goods at the first inspection location when it is monitored that the goods are inspected at the first inspection location.
- the first inspection location may be an inland customs located in an inland city or region.
- an initial review is conducted at the premise Customs before the goods are sent out, and the information generated during the review process can be stored in a pre-built blockchain node. 1.
- the high throughput of the blockchain nodes for data can improve the efficiency of obtaining the customs declaration data and approval results in the blockchain nodes.
- a monitoring device such as a preset listener is used to monitor whether the goods have been inspected at the first inspection location.
- a python statement with a data capture function is used. Obtain customs declaration data and approval results of goods in mainland customs from pre-built blockchain nodes.
- the owner of the goods may be a person, a collective or an enterprise that owns the goods.
- different owners have unique electronic signatures, and the same electronic signature may correspond to multiple goods.
- the goods are goods 1
- the electronic signature of the owner of goods 1, xxx company is A
- the goods corresponding to electronic signature A include goods 1, 2 and 3
- the electronic signatures are obtained directly from the pre-built blockchain nodes The customs declaration data and approval result of the goods 1 corresponding to A.
- the electronic signature can be parsed by a parser, so as to obtain the owner's identity of the owner through the electronic signature.
- the parser includes but is not limited to Microsoft Application Inspector parser, json parser, etc.
- the electronic seal generating module 102 is configured to generate an electronic seal of the goods if the approval result is qualified.
- the electronic seal includes a program segment that performs a blocking function on the cargo, for example, a computer program for controlling the sealing of the cargo container.
- a computer program with specific functions can be used to generate an electronic seal of the goods, the electronic seal includes a status field, and the status of the electronic seal identifies the goods The status of the status field will change with the status of the goods monitored by the electronic seal of the electronic seal.
- the status field is True, it means that the goods are in a closed state, and when the status field is False, it means that the goods are in an open state.
- the goods are put into the container, and the electronic seal is used to control the container in which the goods are loaded.
- the status field in the electronic seal is closed (that is, the goods are in a closed state), and the value of the status field is True at this time; when the container detected by the electronic seal is opened in any way, The state field is changed from the closed state to the unclosed state, and the value of the state field is False at this time.
- the electronic seal inspection module 103 is configured to determine whether there is a change in the electronic seal of the goods when the goods are monitored from the first inspection site to the second inspection site, and obtain an electronic seal judgment result.
- a monitoring device such as a preset monitor can also be used to monitor whether the goods arrive at the second inspection location, and when it is detected that the goods arrive at the second inspection location from the first inspection location, the information of the goods is obtained again.
- Electronic seal and determine whether there is a change in the electronic seal at this time, and judging whether there is a change in the electronic seal is specifically judging whether there is a change in the value of the status field in the electronic seal.
- the electronic seal inspection module 103 is specifically used for:
- the generated electronic seal of the goods is the first electronic seal, and when the goods are at the second inspection location, the obtained electronic seal of the goods will be The seal is determined to be the second electronic seal;
- Whether there is a change in the electronic seal of the goods is determined according to the matching degree.
- the matching degree is greater than a preset matching threshold, it is determined that there is no change in the electronic seal of the goods; when the matching degree is less than or equal to a preset matching threshold, it is determined that there is a change in the electronic seal of the goods .
- the calculating the matching degree between the first hash value and the second hash value includes:
- Pic(P, Q) is the matching degree
- P is the first hash value
- Q is the second hash value
- the value of the status field in the electronic seal of the goods will change with the status of the goods, if the goods are opened during the process from the first inspection location to the second inspection location, then The value of the status field in the second electronic seal of the obtained goods upon arrival at the second inspection location is inconsistent with the value of the status field in the first electronic seal generated when the approval result of the goods is determined to be qualified, so the calculation is obtained.
- the first hash value of the first electronic seal and the second hash value of the second electronic seal are inconsistent.
- the cargo index calculation module 104 is configured to calculate a plurality of cargo indices of the cargo according to the customs declaration data.
- the plurality of cargo indicators include identity authentication indicators and cargo quantity indicators
- the customs declaration data includes declaration standard signatures and cargo declaration quantities.
- Calculating multiple cargo indicators of the cargo according to the customs declaration data includes: acquiring the cargo signature on the cargo when the cargo arrives at the second inspection location, calculating the difference between the cargo signature and the declaration standard signature, and obtaining Identity authentication index; obtain the arrival quantity of the goods when the goods arrive at the second inspection location, calculate the mean square error between the arrival quantity and the declared quantity of the goods, and obtain the goods quantity index.
- the plurality of cargo indicators include a duration indicator, a navigation track indicator, and a cargo weight indicator, wherein the duration indicator is used to identify the prediction of the arrival of the cargo from the first inspection location to the second inspection location The difference between the sailing duration and the actual sailing duration; the sailing track index is used to identify the similarity between the actual sailing track data and the specified sailing track data; the cargo weight index is used to identify the difference between the actual arrival weight and the declared cargo weight.
- the customs clearance inspection device 100 further includes a duration prediction module, and the duration prediction module is specifically used for:
- the cargo index includes a duration index
- the cargo index calculation module 104 is specifically used for:
- the predicted sailing duration of the sailing plan is obtained, including:
- duration prediction model to predict the duration of the training voyage plan to obtain the predicted voyage duration
- the calculating the difference between the predicted sailing duration and the standard sailing duration includes:
- the embodiment of the present application adjusts the parameters of the duration prediction model through a gradient descent algorithm
- the gradient descent algorithm includes but is not limited to: batch gradient descent algorithm, stochastic gradient descent algorithm, and mini-batch gradient descent algorithm.
- the voyage plan includes prescribed voyage trajectory data and declared cargo weight
- the cargo index calculation module 104 further includes other index calculation sub-modules, and the other index calculation sub-modules are specifically used for:
- the calculation of the similarity between the actual navigation trajectory data and the prescribed navigation trajectory data is a navigation trajectory index, including:
- TPT is the actual sailing trajectory data
- TPS is the prescribed sailing trajectory data
- the inspection score calculation module 105 is configured to calculate the inspection score according to the judgment result of the electronic seal and the plurality of cargo indicators.
- test score calculation module 105 is specifically used for:
- Grade i electronic seal inspection result ⁇ +time index ⁇ +travel track index ⁇ +cargo weight index ⁇ ⁇
- ⁇ , ⁇ , ⁇ , ⁇ are preset weight coefficients.
- the inspection score of the goods when the inspection score of the goods is greater than the preset score threshold, it means that the goods are in good condition and have not been opened during the process from the first inspection site to the second inspection site, and have not been replaced, unloaded or transferred on the way
- the goods arriving at the second inspection location are the goods that have passed the inspection from the first inspection location and have been dispatched. At this time, there is no need to conduct a complete re-examination of the goods at the second inspection location again to determine that the goods have passed the inspection.
- the customs declaration data and approval results of the goods at the first inspection location are obtained. If the approval result is qualified, an electronic seal of the goods is generated.
- the goods arrive from the first inspection site to the second inspection site determine whether the electronic seal of the goods has changed, and obtain the judgment result of the electronic seal; calculate multiple cargo indicators of the goods according to the customs declaration data; The inspection score is calculated for each cargo index; when the inspection score is greater than the preset score threshold, it is determined that the cargo has passed the inspection.
- the customs clearance inspection device proposed in this application can improve the inspection efficiency of goods.
- FIG. 3 it is a schematic structural diagram of an electronic device implementing the customs clearance inspection method of the present application.
- the electronic device 1 may include a processor 10 , a memory 11 and a bus, and may also include a computer program stored in the memory 11 and executable on the processor 10 , such as a customs clearance verification program 12 .
- the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, magnetic disk, CD etc.
- the memory 11 may be an internal storage unit of the electronic device 1 in some embodiments, such as a mobile hard disk of the electronic device 1 .
- the memory 11 may also be an external storage device of the electronic device 1, such as a pluggable mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital) equipped on the electronic device 1. , SD) card, flash memory card (Flash Card), etc.
- the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device.
- the memory 11 can not only be used to store application software installed in the electronic device 1 and various types of data, such as the code of the customs clearance inspection program 12, etc., but also can be used to temporarily store data that has been output or will be output.
- the processor 10 may be composed of integrated circuits, for example, may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits packaged with the same function or different functions, including one or more integrated circuits.
- Central Processing Unit CPU
- microprocessor digital processing chip
- graphics processor and combination of various control chips, etc.
- the processor 10 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect the various components of the entire electronic device, by running or executing the program or module (for example, executing the program) stored in the memory 11. customs clearance inspection program, etc.), and call data stored in the memory 11 to execute various functions of the electronic device 1 and process data.
- the bus may be a peripheral component interconnect (PCI for short) bus or an extended industry standard architecture (Extended industry standard architecture, EISA for short) bus or the like.
- PCI peripheral component interconnect
- EISA Extended industry standard architecture
- the bus can be divided into address bus, data bus, control bus and so on.
- the bus is configured to implement connection communication between the memory 11 and at least one processor 10 and the like.
- the electronic device 1 may also include a power source (such as a battery) for powering the various components, preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power source can be managed by the power source.
- the device implements functions such as charge management, discharge management, and power consumption management.
- the power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and any other components.
- the electronic device 1 may further include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
- the electronic device 1 may also include a network interface, optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is usually used in the electronic device 1 Establish a communication connection with other electronic devices.
- a network interface optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is usually used in the electronic device 1 Establish a communication connection with other electronic devices.
- the electronic device 1 may further include a user interface, and the user interface may be a display (Display), an input unit (eg, a keyboard (Keyboard)), optionally, the user interface may also be a standard wired interface or a wireless interface.
- the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, and the like.
- the display may also be appropriately called a display screen or a display unit, which is used for displaying information processed in the electronic device 1 and for displaying a visualized user interface.
- the customs clearance inspection program 12 stored in the memory 11 in the electronic device 1 is a combination of multiple computer programs, and when running in the processor 10, it can realize:
- the customs declaration data and approval results of the goods at the first inspection location are obtained;
- the inspection score is greater than a preset score threshold, it is determined that the goods pass the inspection.
- the modules/units integrated in the electronic device 1 may be stored in a computer-readable storage medium.
- the computer-readable storage medium may be volatile or non-volatile, and the computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, Mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory).
- the computer usable storage medium may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function, and the like; Using the created data, etc., the application program implements the following steps when executed by the processor:
- the customs declaration data and approval results of the goods at the first inspection location are obtained;
- the inspection score is greater than a preset score threshold, it is determined that the goods pass the inspection.
- modules described as separate components may or may not be physically separated, and components shown as modules may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
- each functional module in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
- the above-mentioned integrated units can be implemented in the form of hardware, or can be implemented in the form of hardware plus software function modules.
- the blockchain referred to in this application is a new application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
- Blockchain essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information to verify its Validity of information (anti-counterfeiting) and generation of the next block.
- the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Theoretical Computer Science (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Development Economics (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Educational Administration (AREA)
- General Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- Operations Research (AREA)
- Marketing (AREA)
- Bioethics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Game Theory and Decision Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本申请涉及数据处理技术,揭露了一种通关检验方法,包括:当监测到货物在第一检验地点检验完毕时,获取货物在第一检验地点的通关申报数据和审批结果;若审批结果为合格,生成货物的电子封志;当监测到货物从第一检验地点到达第二检验地点时,判断货物的电子封志是否存在变化,得到电子封志判断结果;根据通关申报数据计算货物的多个货物指标;根据电子封志判断结果和多个货物指标计算检验评分;当检验评分大于预设评分阈值时,确定货物通过检验。本申请还提出了通关检验装置、设备及计算机可读存储介质。此外,本申请还涉及区块链技术,通关申报数据可存储于区块链节点中。本申请可提高对货物的检验效率。
Description
本申请要求于2020年11月3日提交中国专利局、申请号为CN202011207261.2,发明名称为“通关检验方法、装置、电子设备及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及数据处理技术领域,尤其涉及一种通关检验方法、装置、电子设备及计算机可读存储介质。
在很多情况下企业的生产地点、库存地点与检验地点并不相同,例如,出口企业的工厂建设在内地A地点,存放在内地B地点,运输至内地的C地点(如沿海港口),从C地点运输至其他地点(如出境至D国家)。在货物运输的过程中,需要对货物进行通过检验或审核,例如,货物从E国家出境至D国家时,需要在E国家的港口进行货物的通关校验。
发明人意识到在目前的通关检验方法中,港口海关会对从内地海关出口的货物信息进行集中化通关校验,由于货物信息庞大,导致集中化的通关校验占用大量计算资源且容易造成数据堵塞,以至货物的检验效率低下。
发明内容
一种通关检验方法,包括:
当监测到货物在第一检验地点检验完毕时,获取所述货物在所述第一检验地点的通关申报数据和审批结果;
若所述审批结果为合格,生成所述货物的电子封志;
当监测到所述货物从所述第一检验地点到达第二检验地点时,判断所述货物的电子封志是否存在变化,得到电子封志判断结果;
根据所述通关申报数据计算所述货物的多个货物指标;
根据所述电子封志判断结果和所述多个货物指标计算检验评分;
当所述检验评分大于预设评分阈值时,确定所述货物通过检验。
一种通关检验装置,所述装置包括:
数据获取模块,用于当监测到货物在第一检验地点检验完毕时,获取所述货物在所述第一检验地点的通关申报数据和审批结果;
电子封志生成模块,用于若所述审批结果为合格,生成所述货物的电子封志;
电子封志检验模块,用于当监测到所述货物从所述第一检验地点到达第二检验地点时,判断所述货物的电子封志是否存在变化,得到电子封志判断结果;
货物指标计算模块,用于根据所述通关申报数据计算所述货物的多个货物指标;
检验评分计算模块,用于根据所述电子封志判断结果和所述多个货物指标计算检验评分;
货物检验模块,用于当所述检验评分大于预设评分阈值时,确定所述货物通过检验。
一种电子设备,所述电子设备包括:
存储器,存储至少一个计算机程序;及
处理器,执行所述存储器中存储的计算机程序以实现如下步骤:
当监测到货物在第一检验地点检验完毕时,获取所述货物在所述第一检验地点的通关申报数据和审批结果;
若所述审批结果为合格,生成所述货物的电子封志;
当监测到所述货物从所述第一检验地点到达第二检验地点时,判断所述货物的电子封 志是否存在变化,得到电子封志判断结果;
根据所述通关申报数据计算所述货物的多个货物指标;
根据所述电子封志判断结果和所述多个货物指标计算检验评分;
当所述检验评分大于预设评分阈值时,确定所述货物通过检验。
一种计算机可读存储介质,包括存储数据区和存储程序区,存储数据区存储创建的数据,存储程序区存储有计算机程序;其中,所述计算机程序被处理器执行时实现如下步骤:
当监测到货物在第一检验地点检验完毕时,获取所述货物在所述第一检验地点的通关申报数据和审批结果;
若所述审批结果为合格,生成所述货物的电子封志;
当监测到所述货物从所述第一检验地点到达第二检验地点时,判断所述货物的电子封志是否存在变化,得到电子封志判断结果;
根据所述通关申报数据计算所述货物的多个货物指标;
根据所述电子封志判断结果和所述多个货物指标计算检验评分;
当所述检验评分大于预设评分阈值时,确定所述货物通过检验。
本申请可以提高对货物的检验效率。
图1为本申请一实施例提供的通关检验方法的流程示意图;
图2为本申请一实施例提供的通关检验装置的模块示意图;
图3为本申请一实施例提供的实现通关检验方法的电子设备的内部结构示意图;
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请实施例提供的通关检验方法的执行主体包括但不限于服务端、终端等能够被配置为执行本申请实施例提供的该方法的电子设备中的至少一种。换言之,所述通关检验方法可以由安装在终端设备或服务端设备的软件或硬件来执行,所述软件可以是区块链平台。所述服务端包括但不限于:单台服务器、服务器集群、云端服务器或云端服务器集群等。
服务器可以是独立的服务器,也可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(Content Delivery Network,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器。
本申请实施例可以基于人工智能技术对相关的数据进行获取和处理。其中,人工智能(Artificial Intelligence,AI)是利用数字计算机或者数字计算机控制的机器模拟、延伸和扩展人的智能,感知环境、获取知识并使用知识获得最佳结果的理论、方法、技术及应用系统。
人工智能基础技术一般包括如传感器、专用人工智能芯片、云计算、分布式存储、大数据处理技术、操作/交互系统、机电一体化等技术。人工智能软件技术主要包括计算机视觉技术、机器人技术、生物识别技术、语音处理技术、自然语言处理技术以及机器学习/深度学习等几大方向。
本申请提供一种通关检验方法。参照图1所示,为本申请一实施例提供的通关检验方法的流程示意图。该方法可以由一个装置执行,该装置可以由软件和/或硬件实现。
在本实施例中,通关检验方法包括:
S1、当监测到货物在第一检验地点检验完毕时,获取所述货物在所述第一检验地点的通关申报数据和审批结果。
本申请实施例中,所述第一检验地点可以为地理位置处于内陆城市或地区的内地海关。
本申请实施例中,在货物发出前在内地海关进行初次审核,审核过程中产生的信息可存储于预先构建的区块链节点中,具体的,审核过程中产生的信息包括货物在所述第一检验地点的通关申报数据和审批结果。
由于将通关申报数据和审批结果存储于区块链节点中,因此,利用区块链节点对于数据的高吞吐性可提高获取区块链节点中通关申报数据和审批结果的效率。
本申请一可选实施例中,采用预设监听器等监听设备监测货物在第一检验地点是否检验完毕,当监测到货物从第一检验地点检验完毕时,利用具有数据抓取功能的python语句从预先构建的区块链节点中获取内地海关中货物的通关申报数据和审批结果。
本申请另一可选实施例中,还可以通过监听第一检验地点的第一检验系统发送的检验消息确定货物是否从第一检验地点检验完毕,所述消息包括货物是否从第一检验地点检验完毕的通知信息。详细地,所述获取所述货物在所述第一检验地点的通关申报数据和所述审批结果,包括:
获取所述货物的所有者的电子签名;
通过所述电子签名获取所述所有者的所有者标识;
从预先构建的区块链节点中获取包含所述所有者标识的所述货物的通关申报数据和审批结果。
本申请实施例中,货物的所有者可以是拥有该货物的人、集体或企事单位。
在本申请实施例中,不同所有者拥有唯一的电子签名,同一个电子签名可对应多个货物。例如,货物为货物1,货物1的所有者xxx公司的电子签名为A,电子签名A对应的货物包括货物1、货物2和货物3,则直接从预先构建的区块链节点中获取电子签名A对应的货物1的通关申报数据和审批结果。
具体的,可以通过解析器解析电子签名,从而通过电子签名获取所有者的所有者标识。所述解析器包括但不限于Microsoft Application Inspector解析器,json解析器等。
S2、若所述审批结果为合格,生成所述货物的电子封志。
本申请实施例中,所述电子封志包括对货物进行封锁功能的程序段,例如,控制货物集装箱进行封闭的计算机程序等。
本申请实施例中,若所述货物的审批结果为合格,可利用具有特定功能的计算机程序生成所述货物的电子封志,所述电子封志包含状态字段,该电子封志的状态标识货物的状态,该状态字段的值会随着电子封志的电子封志监测到的货物的状态而改变。
例如,用布尔值False或True表示状态字段的值。状态字段为True时表示货物处于封闭状态,状态字段为False时表示货物处于开启状态,当货物在第一检验地点检验完毕后,将货物放入集装箱内,并利用电子封志控制装载货物的集装箱进行封闭,集装箱封闭之后,电子封志中的状态字段为封闭状态(即货物处于封闭的状态),此时状态字段的值为True;当电子封志检测到的集装箱以任何方式被开启后,状态字段从封闭状态变更为未封闭状态,此时状态字段的值为False。
S3、当监测到所述货物从所述第一检验地点到达第二检验地点时,判断所述货物的电子封志是否存在变化,得到电子封志判断结果。
本申请一可选实施例中,同样可以采用预设监听器等监听设备监测货物是否到达第二检验地点,当监测到货物从所述第一检验地点到达第二检验地点时,再次获取货物的电子封志,并判断此时电子封志是否存在变化,判断电子封志存在变化具体是判断电子封志中状态字段的值是否存在变化。
详细地,所述判断所述货物的电子封志是否存在变化,包括:
当所述货物的审批结果为合格时确定生成的所述货物的电子封志为第一电子封志,当所述货物在所述第二检验地点时,将获取到的所述货物的电子封志确定为第二电子封志;
计算所述第一电子封志的第一哈希值和所述第二电子封志的第二哈希值;
计算所述第一哈希值和所述第二哈希值的匹配度;
根据所述匹配度确定所述货物的电子封志是否存在变化。
具体的,当所述匹配度大于预设匹配阈值时,确定所述货物的电子封志不存在变化;当所述匹配度小于等于预设匹配阈值时,确定所述货物的电子封志存在变化。
具体地,所述计算所述第一哈希值和所述第二哈希值的匹配度,包括:
利用如下匹配度算法计算所述第一哈希值和所述第二哈希值的匹配度:
其中,Pic(P,Q)为所述匹配度,P为所述第一哈希值,Q为所述第二哈希值。
本申请实施例中,由于货物的电子封志中状态字段的值会随着货物的状态而改变,所以若所述货物从所述第一检验地点到达第二检验地点的过程中被开启,则到达第二检验地点时的获取到的货物的第二电子封志中状态字段的值与确定所述货物的审批结果为合格时生成的第一电子封志中状态字段的值不一致,因此计算得到的第一电子封志的第一哈希值和第二电子封志的第二哈希值则不一致。
本申请实施例计算所述第一哈希值和所述第二哈希值的匹配度,当匹配度大于预设匹配阈值时,说明第一哈希值和第二哈希值相同,确定所述货物的电子封志不存在变化,当所述货物的电子封志不存在变化时,确定货物从所述第一检验地点到达第二检验地点的过程中未被开启;当匹配度小于或等于预设匹配阈值时,说明第一哈希值和第二哈希值不相同,确定所述货物的电子封志存在变化,即货物从所述第一检验地点到达第二检验地点的过程中已被开启。
S4、根据所述通关申报数据计算所述货物的多个货物指标。
在本申请一可选实施例中,多个货物指标包括身份认证指标和货物数量指标,所述通关申报数据包括申报标准签名和货物申报数量。
根据所述通关申报数据计算所述货物的多个货物指标,包括:获取所述货物到达第二检验地点时货物上的货物签名,计算所述货物签名与所述申报标准签名的差异值,得到身份认证指标;获取所述货物到达第二检验地点时货物的到达数量,计算所述到达数量与所述货物申报数量的均方差,得到所述货物数量指标。
本申请一优选实施例中,所述多个货物指标包括时长指标、航行轨迹指标和货物重量指标,其中,所述时长指标用于标识货物从所述第一检验地点到达第二检验地点的预测航行时长和实际航行时长的差值;所述航行轨迹指标用于标识实际航行轨迹数据与规定航行轨迹数据的相似性;所述货物重量指标用于标识实际到达重量与申报货物重量的差值。本申请实施例中,所述通关申报数据包括航行计划和所述货物离开第一检验地点的离开时间,所述根据所述货物通关数据计算货物的多个货物指标之前,所述方法还包括:
根据预先构建的时长预测模型和所述航行计划,得到所述航行计划的预测航行时长;
所述货物指标包括时长指标,所述根据所述货物通关数据计算货物的多个货物指标,包括:
获取所述货物到达第二检验地点的到达时间,根据所述离开时间和所述到达时间计算实际航行时长;
计算所述实际航行时长与所述预测航行时长的差值,得到所述货物的时长指标。
详细地,所述根据预先构建的时长预测模型和所述航行计划,得到所述航行计划的预测航行时长,包括:
获取训练航行计划以及所述训练航行计划对应的标准航行时长;
利用所述时长预测模型对所述训练航行计划进行时长预测,得到预测航行时长;
计算所述预测航行时长和所述标准航行时长之间的差异值;
若所述差异值大于误差阈值,则调整所述时长预测模型的参数后重新进行时长预测;
若所述差异值小于所述误差阈值,则生成训练完成的时长预测模型;
将所述航行计划输入至训练完成的时长预测模型,得到预测航行时长。
进一步地,所述计算所述预测航行时长和所述标准航行时长之间的差异值,包括:
详细地,本申请实施例通过梯度下降算法调整所述时长预测模型的参数,所述梯度下降算法包括但不限于:批量梯度下降算法、随机梯度下降算法和小批量梯度下降算法。
较佳地,所述航行计划包括规定航行轨迹数据和申报货物重量,所述得到所述货物的时长指标之后,所述方法还包括:
获取所述货物的实际航行轨迹数据,计算所述实际航行轨迹数据与所述规定航行轨迹数据的相似性,确定所述相似性结果为所述货物的航行轨迹指标;
获取所述货物的实际到达重量,计算所述实际到达重量与所述申报货物重量校验货物重量的重量差值,确定所述重量差值为所述货物的重量指标。
进一步地,所述计算所述实际航行轨迹数据与所述规定航行轨迹数据的相似性为航行轨迹指标,包括:
利用如下相似性算法计算所述实际航行轨迹数据与所述规定航行轨迹数据的相似性:
Sim
topic=Pearson(TP
S,TP
T)
其中,TP
T为所述实际航行轨迹数据,TP
S为所述规定航行轨迹数据。
S5、根据所述电子封志判断结果和所述多个货物指标计算检验评分。
本申请实施例中,所述根据所述电子封志检验结果和所述多个货物指标计算检验评分,包括:
利用如下评分算法根据所述电子封志检验结果和所述多个货物指标计算校验评分:Grade
i=电子封志检验结果×α+时长指标×β+航行轨迹指标×γ+货物重量指标×δ
其中,α,β,γ,δ为预设权重系数。
S6、当所述检验评分大于预设评分阈值时,确定所述货物通过检验。
本申请实施例中,当货物的检验评分大于预设评分阈值,则说明货物从第一检验地点到达第二检验地点的过程中完好且未被开启,且未出现被进行替换、途中卸载或转移等情况,即到达第二检验地点的货物为从第一检验地点检验通过并发出的货物,则此时无需再次在第二检验地点再次对货物进行完全的重复审核,确定货物通过检验。
本申请实施例中,当监测到货物从第一检验地点检验完毕时,获取货物在第一检验地点的通关申报数据和审批结果,若审批结果为合格,生成货物的电子封志,当监测到货物从第一检验地点到达第二检验地点时,判断货物的电子封志是否存在变化,得到电子封志判断结果;根据通关申报数据计算货物的多个货物指标;根据电子封志判断结果和多个货物指标计算检验评分;当检验评分大于预设评分阈值时,确定货物通过检验。通过在第二检验地点对货物对电子封志是否变化进行判断,根据通关申报数据计算出货物的多个货物指标,根据电子封志判断结果和多个货物指标计算检验评分来对货物是否通过检验进行判断,而无需在第二检验地点对货物进行重复检验,从而提高了对货物的检验效率。因此本申请提出的通关检验方法,可提高对货物的检验效率。
如图2所示,是本申请通关检验装置的模块示意图。
本申请所述通关检验装置100可以安装于电子设备中。根据实现的功能,所述通关检 验装置可以包括数据获取模块101、电子封志生成模块102、电子封志检验模块103、货物指标计算模块104、检验评分计算模块105和货物检验模块106。本申请所述模块也可以称之为单元,是指一种能够被电子设备处理器所执行,并且能够完成固定功能的一系列计算机程序段,其存储在电子设备的存储器中。
在本实施例中,关于各模块/单元的功能如下:
所述数据获取模块101,用于当监测到货物在第一检验地点检验完毕时,获取所述货物在所述第一检验地点的通关申报数据和审批结果;
所述电子封志生成模块102,用于若所述审批结果为合格,生成所述货物的电子封志;
所述电子封志检验模块103,用于当监测到所述货物从所述第一检验地点到达第二检验地点时,判断所述货物的电子封志是否存在变化,得到电子封志判断结果;
所述货物指标计算模块104,用于根据所述通关申报数据计算所述货物的多个货物指标;
所述检验评分计算模块105,用于根据所述电子封志判断结果和所述多个货物指标计算检验评分;
所述货物检验模块106,用于当所述检验评分大于预设评分阈值时,确定所述货物通过检验。
详细地,所述通关检验装置各模块的具体实施方式如下:
所述数据获取模块101,用于当监测到货物在第一检验地点检验完毕时,获取所述货物在所述第一检验地点的通关申报数据和审批结果。
本申请实施例中,所述第一检验地点可以为地理位置处于内陆城市或地区的内地海关。
本申请实施例中,在货物发出前在内地海关进行初次审核,审核过程中产生的信息可存储于预先构建的区块链节点中,具体的,审核过程中产生的信息包括货物在所述第一检验地点的通关申报数据和审批结果。
由于将通关申报数据和审批结果存储于区块链节点中,因此,利用区块链节点对于数据的高吞吐性可提高获取区块链节点中通关申报数据和审批结果的效率。
本申请一可选实施例中,采用预设监听器等监听设备监测货物在第一检验地点是否检验完毕,当监测到货物从第一检验地点检验完毕时,利用具有数据抓取功能的python语句从预先构建的区块链节点中获取内地海关中货物的通关申报数据和审批结果。
本申请另一可选实施例中,还可以通过监听第一检验地点的第一检验系统发送的检验消息确定货物是否从第一检验地点检验完毕,所述消息包括货物是否从第一检验地点检验完毕的通知信息。
详细地,所述数据获取模块101具体用于:
当监测到货物在第一检验地点检验完毕时,获取所述货物的所有者的电子签名;
通过所述电子签名获取所述所有者的所有者标识;
从预先构建的区块链节点中获取包含所述所有者标识的所述货物的通关申报数据和审批结果。
本申请实施例中,货物的所有者可以是拥有该货物的人、集体或企事单位。
在本申请实施例中,不同所有者拥有唯一的电子签名,同一个电子签名可对应多个货物。例如,货物为货物1,货物1的所有者xxx公司的电子签名为A,电子签名A对应的货物包括货物1、货物2和货物3,则直接从预先构建的区块链节点中获取电子签名A对应的货物1的通关申报数据和审批结果。
具体的,可以通过解析器解析电子签名,从而通过电子签名获取所有者的所有者标识。所述解析器包括但不限于Microsoft Application Inspector解析器,json解析器等。
所述电子封志生成模块102,用于若所述审批结果为合格,生成所述货物的电子封志。
本申请实施例中,所述电子封志包括对货物进行封锁功能的程序段,例如,控制货物 集装箱进行封闭的计算机程序等。
本申请实施例中,若所述货物的审批结果为合格,可利用具有特定功能的计算机程序生成所述货物的电子封志,所述电子封志包含状态字段,该电子封志的状态标识货物的状态,该状态字段的值会随着电子封志的电子封志监测到的货物的状态而改变。
例如,用布尔值False或True表示状态字段的值。状态字段为True时表示货物处于封闭状态,状态字段为False时表示货物处于开启状态,当货物在第一检验地点检验完毕后,将货物放入集装箱内,并利用电子封志控制装载货物的集装箱进行封闭,集装箱封闭之后,电子封志中的状态字段为封闭状态(即货物处于封闭的状态),此时状态字段的值为True;当电子封志检测到的集装箱以任何方式被开启后,状态字段从封闭状态变更为未封闭状态,此时状态字段的值为False。
所述电子封志检验模块103,用于当监测到所述货物从所述第一检验地点到达第二检验地点时,判断所述货物的电子封志是否存在变化,得到电子封志判断结果。
本申请一可选实施例中,同样可以采用预设监听器等监听设备监测货物是否到达第二检验地点,当监测到货物从所述第一检验地点到达第二检验地点时,再次获取货物的电子封志,并判断此时电子封志是否存在变化,判断电子封志存在变化具体是判断电子封志中状态字段的值是否存在变化。
详细地,所述电子封志检验模块103具体用于:
当所述货物的审批结果为合格时确定生成的所述货物的电子封志为第一电子封志,当所述货物在所述第二检验地点时,将获取到的所述货物的电子封志确定为第二电子封志;
计算所述第一电子封志的第一哈希值和所述第二电子封志的第二哈希值;
计算所述第一哈希值和所述第二哈希值的匹配度;
根据所述匹配度确定所述货物的电子封志是否存在变化。
具体的,当所述匹配度大于预设匹配阈值时,确定所述货物的电子封志不存在变化;当所述匹配度小于等于预设匹配阈值时,确定所述货物的电子封志存在变化。
具体地,所述计算所述第一哈希值和所述第二哈希值的匹配度,包括:
利用如下匹配度算法计算所述第一哈希值和所述第二哈希值的匹配度:
其中,Pic(P,Q)为所述匹配度,P为所述第一哈希值,Q为所述第二哈希值。
本申请实施例中,由于货物的电子封志中状态字段的值会随着货物的状态而改变,所以若所述货物从所述第一检验地点到达第二检验地点的过程中被开启,则到达第二检验地点时的获取到的货物的第二电子封志中状态字段的值与确定所述货物的审批结果为合格时生成的第一电子封志中状态字段的值不一致,因此计算得到的第一电子封志的第一哈希值和第二电子封志的第二哈希值则不一致。
本申请实施例计算所述第一哈希值和所述第二哈希值的匹配度,当匹配度大于预设匹配阈值时,说明第一哈希值和第二哈希值相同,确定所述货物的电子封志不存在变化,当所述货物的电子封志不存在变化时,确定货物从所述第一检验地点到达第二检验地点的过程中未被开启;当匹配度小于或等于预设匹配阈值时,说明第一哈希值和第二哈希值不相同,确定所述货物的电子封志存在变化,即货物从所述第一检验地点到达第二检验地点的过程中已被开启。
所述货物指标计算模块104,用于根据所述通关申报数据计算所述货物的多个货物指标。
在本申请一可选实施例中,多个货物指标包括身份认证指标和货物数量指标,所述通关申报数据包括申报标准签名和货物申报数量。
根据所述通关申报数据计算所述货物的多个货物指标,包括:获取所述货物到达第二 检验地点时货物上的货物签名,计算所述货物签名与所述申报标准签名的差异值,得到身份认证指标;获取所述货物到达第二检验地点时货物的到达数量,计算所述到达数量与所述货物申报数量的均方差,得到所述货物数量指标。
本申请一优选实施例中,所述多个货物指标包括时长指标、航行轨迹指标和货物重量指标,其中,所述时长指标用于标识货物从所述第一检验地点到达第二检验地点的预测航行时长和实际航行时长的差值;所述航行轨迹指标用于标识实际航行轨迹数据与规定航行轨迹数据的相似性;所述货物重量指标用于标识实际到达重量与申报货物重量的差值。
本申请实施例中,所述通关检验装置100还包括时长预测模块,所述时长预测模块具体用于:
根据预先构建的时长预测模型和所述航行计划,得到所述航行计划的预测航行时长;
详细地,所述货物指标包括时长指标,所述货物指标计算模块104具体用于:
获取所述货物到达第二检验地点的到达时间,根据所述离开时间和所述到达时间计算实际航行时长;
计算所述实际航行时长与所述预测航行时长的差值,得到所述货物的时长指标。
详细地,所述根据预先构建的时长预测模型和所述航行计划,得到所述航行计划的预测航行时长,包括:
获取训练航行计划以及所述训练航行计划对应的标准航行时长;
利用所述时长预测模型对所述训练航行计划进行时长预测,得到预测航行时长;
计算所述预测航行时长和所述标准航行时长之间的差异值;
若所述差异值大于误差阈值,则调整所述时长预测模型的参数后重新进行时长预测;
若所述差异值小于所述误差阈值,则生成训练完成的时长预测模型;
将所述航行计划输入至训练完成的时长预测模型,得到预测航行时长。
进一步地,所述计算所述预测航行时长和所述标准航行时长之间的差异值,包括:
详细地,本申请实施例通过梯度下降算法调整所述时长预测模型的参数,所述梯度下降算法包括但不限于:批量梯度下降算法、随机梯度下降算法和小批量梯度下降算法。
较佳地,所述航行计划包括规定航行轨迹数据和申报货物重量,所述货物指标计算模块104还包括其它指标计算子模块,所述其它指标计算子模块具体用于:
获取所述货物的实际航行轨迹数据,计算所述实际航行轨迹数据与所述规定航行轨迹数据的相似性,确定所述相似性结果为所述货物的航行轨迹指标;
获取所述货物的实际到达重量,计算所述实际到达重量与所述申报货物重量校验货物重量的重量差值,确定所述重量差值为所述货物的重量指标。
进一步地,所述计算所述实际航行轨迹数据与所述规定航行轨迹数据的相似性为航行轨迹指标,包括:
利用如下相似性算法计算所述实际航行轨迹数据与所述规定航行轨迹数据的相似性:
Sim
topic=Pearson(TP
S,TP
T)
其中,TP
T为所述实际航行轨迹数据,TP
S为所述规定航行轨迹数据。
所述检验评分计算模块105,用于根据所述电子封志判断结果和所述多个货物指标计算检验评分。
本申请实施例中,所述检验评分计算模块105具体用于:
利用如下评分算法根据所述电子封志检验结果和所述多个货物指标计算校验评分:Grade
i=电子封志检验结果×α+时长指标×β+航行轨迹指标×γ+货物重量指标×δ
其中,α,β,γ,δ为预设权重系数。
所述货物检验模块106,用于当所述检验评分大于预设评分阈值时,确定所述货物通过检验。
本申请实施例中,当货物的检验评分大于预设评分阈值,则说明货物从第一检验地点到达第二检验地点的过程中完好且未被开启,且未出现被进行替换、途中卸载或转移等情况,即到达第二检验地点的货物为从第一检验地点检验通过并发出的货物,则此时无需再次在第二检验地点再次对货物进行完全的重复审核,确定货物通过检验。
本申请实施例中,当监测到货物从第一检验地点检验完毕时,获取货物在第一检验地点的通关申报数据和审批结果,若审批结果为合格,生成货物的电子封志,当监测到货物从第一检验地点到达第二检验地点时,判断货物的电子封志是否存在变化,得到电子封志判断结果;根据通关申报数据计算货物的多个货物指标;根据电子封志判断结果和多个货物指标计算检验评分;当检验评分大于预设评分阈值时,确定货物通过检验。通过在第二检验地点对货物对电子封志是否变化进行判断,根据通关申报数据计算出货物的多个货物指标,根据电子封志判断结果和多个货物指标计算检验评分来对货物是否通过检验进行判断,而无需在第二检验地点对货物进行重复检验,从而提高了对货物的检验效率。因此本申请提出的通关检验装置,可提高对货物的检验效率。
如图3所示,是本申请实现通关检验方法的电子设备的结构示意图。
所述电子设备1可以包括处理器10、存储器11和总线,还可以包括存储在所述存储器11中并可在所述处理器10上运行的计算机程序,如通关检验程序12。
其中,所述存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、移动硬盘、多媒体卡、卡型存储器(例如:SD或DX存储器等)、磁性存储器、磁盘、光盘等。所述存储器11在一些实施例中可以是电子设备1的内部存储单元,例如该电子设备1的移动硬盘。所述存储器11在另一些实施例中也可以是电子设备1的外部存储设备,例如电子设备1上配备的插接式移动硬盘、智能存储卡(Smart Media Card,SMC)、安全数字(Secure Digital,SD)卡、闪存卡(Flash Card)等。进一步地,所述存储器11还可以既包括电子设备1的内部存储单元也包括外部存储设备。所述存储器11不仅可以用于存储安装于电子设备1的应用软件及各类数据,例如通关检验程序12的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。
所述处理器10在一些实施例中可以由集成电路组成,例如可以由单个封装的集成电路所组成,也可以是由多个相同功能或不同功能封装的集成电路所组成,包括一个或者多个中央处理器(Central Processing unit,CPU)、微处理器、数字处理芯片、图形处理器及各种控制芯片的组合等。所述处理器10是所述电子设备的控制核心(Control Unit),利用各种接口和线路连接整个电子设备的各个部件,通过运行或执行存储在所述存储器11内的程序或者模块(例如执行通关检验程序等),以及调用存储在所述存储器11内的数据,以执行电子设备1的各种功能和处理数据。
所述总线可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。所述总线被设置为实现所述存储器11以及至少一个处理器10等之间的连接通信。
图3仅示出了具有部件的电子设备,本领域技术人员可以理解的是,图3示出的结构并不构成对所述电子设备1的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。
例如,尽管未示出,所述电子设备1还可以包括给各个部件供电的电源(比如电池), 优选地,电源可以通过电源管理装置与所述至少一个处理器10逻辑相连,从而通过电源管理装置实现充电管理、放电管理、以及功耗管理等功能。电源还可以包括一个或一个以上的直流或交流电源、再充电装置、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。所述电子设备1还可以包括多种传感器、蓝牙模块、Wi-Fi模块等,在此不再赘述。
进一步地,所述电子设备1还可以包括网络接口,可选地,所述网络接口可以包括有线接口和/或无线接口(如WI-FI接口、蓝牙接口等),通常用于在该电子设备1与其他电子设备之间建立通信连接。
可选地,该电子设备1还可以包括用户接口,用户接口可以是显示器(Display)、输入单元(比如键盘(Keyboard)),可选地,用户接口还可以是标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在电子设备1中处理的信息以及用于显示可视化的用户界面。
应该了解,所述实施例仅为说明之用,在专利申请范围上并不受此结构的限制。
所述电子设备1中的所述存储器11存储的通关检验程序12是多个计算机程序的组合,在所述处理器10中运行时,可以实现:
当监测到货物在第一检验地点检验完毕时,获取所述货物在所述第一检验地点的通关申报数据和审批结果;
若所述审批结果为合格,生成所述货物的电子封志;
当监测到所述货物从所述第一检验地点到达第二检验地点时,判断所述货物的电子封志是否存在变化,得到电子封志判断结果;
根据所述通关申报数据计算所述货物的多个货物指标;
根据所述电子封志判断结果和所述多个货物指标计算检验评分;
当所述检验评分大于预设评分阈值时,确定所述货物通过检验。
进一步地,所述电子设备1集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。所述计算机可读存储介质可以是易失性的,也可以是非易失性的,所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)。
进一步地,所述计算机可用存储介质可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据区块链节点的使用所创建的数据等,所述应用程序被处理器执行时实现如下步骤:
当监测到货物在第一检验地点检验完毕时,获取所述货物在所述第一检验地点的通关申报数据和审批结果;
若所述审批结果为合格,生成所述货物的电子封志;
当监测到所述货物从所述第一检验地点到达第二检验地点时,判断所述货物的电子封志是否存在变化,得到电子封志判断结果;
根据所述通关申报数据计算所述货物的多个货物指标;
根据所述电子封志判断结果和所述多个货物指标计算检验评分;
当所述检验评分大于预设评分阈值时,确定所述货物通过检验。
在本申请所提供的几个实施例中,应该理解到,所揭露的设备,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的 部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。
因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附关联图表记视为限制所涉及的权利要求。
本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。
此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第二等词语用来表示名称,而并不表示任何特定的顺序。
最后应说明的是,以上实施例仅用以说明本申请的技术方案而非限制,尽管参照较佳实施例对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换,而不脱离本申请技术方案的精神和范围。
Claims (20)
- 一种通关检验方法,其中,所述方法包括:当监测到货物在第一检验地点检验完毕时,获取所述货物在所述第一检验地点的通关申报数据和审批结果;若所述审批结果为合格,生成所述货物的电子封志;当监测到所述货物从所述第一检验地点到达第二检验地点时,判断所述货物的电子封志是否存在变化,得到电子封志判断结果;根据所述通关申报数据计算所述货物的多个货物指标;根据所述电子封志判断结果和所述多个货物指标计算检验评分;当所述检验评分大于预设评分阈值时,确定所述货物通过检验。
- 如权利要求1所述的通关检验方法,其中,所述获取所述货物在所述第一检验地点的通关申报数据和审批结果,包括:获取所述货物的所有者的电子签名;通过所述电子签名获取所述所有者的所有者标识;从预先构建的区块链节点中获取包含所述所有者标识的所述货物的通关申报数据和审批结果。
- 如权利要求1所述的通关检验方法,其中,所述判断所述货物的电子封志是否存在变化,包括:当所述货物的审批结果为合格时确定生成的所述货物的电子封志为第一电子封志,当所述货物在所述第二检验地点时,将获取到的所述货物的电子封志确定为第二电子封志;计算所述第一电子封志的第一哈希值和所述第二电子封志的第二哈希值;计算所述第一哈希值和所述第二哈希值的匹配度;当所述匹配度大于预设匹配阈值时,确定所述货物的电子封志不存在变化;当所述匹配度小于等于所述预设匹配阈值时,确定所述货物的电子封志存在变化。
- 如权利要求1至4中任一项所述的通关检验方法,其中,所述通关申报数据包括航行计划和所述货物离开第一检验地点的离开时间,所述根据所述货物通关数据计算货物的多个货物指标之前,所述方法还包括:根据预先构建的时长预测模型和所述航行计划,得到所述航行计划的预测航行时长;所述货物指标包括时长指标,所述根据所述货物通关数据计算货物的多个货物指标,包括:获取所述货物到达第二检验地点的到达时间,根据所述离开时间和所述到达时间计算实际航行时长;计算所述实际航行时长与所述预测航行时长的差值,得到所述货物的时长指标。
- 如权利要求5所述的通关检验方法,其中,所述航行计划包括规定航行轨迹数据和申报货物重量,所述得到所述货物的时长指标之后,所述方法还包括:获取所述货物的实际航行轨迹数据,计算所述实际航行轨迹数据与所述规定航行轨迹数据的相似性,确定所述相似性结果为所述货物的航行轨迹指标;获取所述货物的实际到达重量,计算所述实际到达重量与所述申报货物重量校验货物重量的重量差值,确定所述重量差值为所述货物的重量指标。
- 如权利要求5所述的通关检验方法,其中,所述根据预先构建的时长预测模型和所述航行计划,得到所述航行计划的预测航行时长,包括:获取训练航行计划以及所述训练航行计划对应的标准航行时长;利用所述时长预测模型对所述训练航行计划进行时长预测,得到预测航行时长;计算所述预测航行时长和所述标准航行时长之间的差异值;若所述差异值大于误差阈值,则调整所述时长预测模型的参数后重新进行时长预测;若所述差异值小于所述误差阈值,则生成训练完成的时长预测模型;将所述航行计划输入至训练完成的时长预测模型,得到预测航行时长。
- 一种通关检验装置,其中,所述装置包括:数据获取模块,用于当监测到货物在第一检验地点检验完毕时,获取所述货物在所述第一检验地点的通关申报数据和审批结果;电子封志生成模块,用于若所述审批结果为合格,生成所述货物的电子封志;电子封志检验模块,用于当监测到所述货物从所述第一检验地点到达第二检验地点时,判断所述货物的电子封志是否存在变化,得到电子封志判断结果;货物指标计算模块,用于根据所述通关申报数据计算所述货物的多个货物指标;检验评分计算模块,用于根据所述电子封志判断结果和所述多个货物指标计算检验评分;货物检验模块,用于当所述检验评分大于预设评分阈值时,确定所述货物通过检验。
- 一种电子设备,其中,所述电子设备包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行如下步骤:当监测到货物在第一检验地点检验完毕时,获取所述货物在所述第一检验地点的通关申报数据和审批结果;若所述审批结果为合格,生成所述货物的电子封志;当监测到所述货物从所述第一检验地点到达第二检验地点时,判断所述货物的电子封志是否存在变化,得到电子封志判断结果;根据所述通关申报数据计算所述货物的多个货物指标;根据所述电子封志判断结果和所述多个货物指标计算检验评分;当所述检验评分大于预设评分阈值时,确定所述货物通过检验。
- 如权利要求9所述的电子设备,其中,所述获取所述货物在所述第一检验地点的通关申报数据和审批结果,包括:获取所述货物的所有者的电子签名;通过所述电子签名获取所述所有者的所有者标识;从预先构建的区块链节点中获取包含所述所有者标识的所述货物的通关申报数据和审批结果。
- 如权利要求9所述的电子设备,其中,所述判断所述货物的电子封志是否存在变化,包括:当所述货物的审批结果为合格时确定生成的所述货物的电子封志为第一电子封志,当所述货物在所述第二检验地点时,将获取到的所述货物的电子封志确定为第二电子封志;计算所述第一电子封志的第一哈希值和所述第二电子封志的第二哈希值;计算所述第一哈希值和所述第二哈希值的匹配度;当所述匹配度大于预设匹配阈值时,确定所述货物的电子封志不存在变化;当所述匹配度小于等于所述预设匹配阈值时,确定所述货物的电子封志存在变化。
- 如权利要求9至12中任一项所述的电子设备,其中,所述通关申报数据包括航行计划和所述货物离开第一检验地点的离开时间,所述根据所述货物通关数据计算货物的多个货物指标之前,所述至少一个处理器还执行以下步骤:根据预先构建的时长预测模型和所述航行计划,得到所述航行计划的预测航行时长;所述货物指标包括时长指标,所述根据所述货物通关数据计算货物的多个货物指标,包括:获取所述货物到达第二检验地点的到达时间,根据所述离开时间和所述到达时间计算实际航行时长;计算所述实际航行时长与所述预测航行时长的差值,得到所述货物的时长指标。
- 如权利要求13所述的电子设备,其中,所述航行计划包括规定航行轨迹数据和申报货物重量,所述得到所述货物的时长指标之后,所述至少一个处理器还执行以下步骤:获取所述货物的实际航行轨迹数据,计算所述实际航行轨迹数据与所述规定航行轨迹数据的相似性,确定所述相似性结果为所述货物的航行轨迹指标;获取所述货物的实际到达重量,计算所述实际到达重量与所述申报货物重量校验货物重量的重量差值,确定所述重量差值为所述货物的重量指标。
- 如权利要求13所述的电子设备,其中,所述根据预先构建的时长预测模型和所述航行计划,得到所述航行计划的预测航行时长,包括:获取训练航行计划以及所述训练航行计划对应的标准航行时长;利用所述时长预测模型对所述训练航行计划进行时长预测,得到预测航行时长;计算所述预测航行时长和所述标准航行时长之间的差异值;若所述差异值大于误差阈值,则调整所述时长预测模型的参数后重新进行时长预测;若所述差异值小于所述误差阈值,则生成训练完成的时长预测模型;将所述航行计划输入至训练完成的时长预测模型,得到预测航行时长。
- 一种计算机可读存储介质,包括存储数据区和存储程序区,存储数据区存储创建的数据,存储程序区存储有计算机程序;其中,所述计算机程序被处理器执行时实现如下步骤:当监测到货物在第一检验地点检验完毕时,获取所述货物在所述第一检验地点的通关申报数据和审批结果;若所述审批结果为合格,生成所述货物的电子封志;当监测到所述货物从所述第一检验地点到达第二检验地点时,判断所述货物的电子封志是否存在变化,得到电子封志判断结果;根据所述通关申报数据计算所述货物的多个货物指标;根据所述电子封志判断结果和所述多个货物指标计算检验评分;当所述检验评分大于预设评分阈值时,确定所述货物通过检验。
- 如权利要求16所述的计算机可读存储介质,其中,所述获取所述货物在所述第一检验地点的通关申报数据和审批结果,包括:获取所述货物的所有者的电子签名;通过所述电子签名获取所述所有者的所有者标识;从预先构建的区块链节点中获取包含所述所有者标识的所述货物的通关申报数据和审批结果。
- 如权利要求16所述的计算机可读存储介质,其中,所述判断所述货物的电子封志是否存在变化,包括:当所述货物的审批结果为合格时确定生成的所述货物的电子封志为第一电子封志,当所述货物在所述第二检验地点时,将获取到的所述货物的电子封志确定为第二电子封志;计算所述第一电子封志的第一哈希值和所述第二电子封志的第二哈希值;计算所述第一哈希值和所述第二哈希值的匹配度;当所述匹配度大于预设匹配阈值时,确定所述货物的电子封志不存在变化;当所述匹配度小于等于所述预设匹配阈值时,确定所述货物的电子封志存在变化。
- 如权利要求16至19中任一项所述的计算机可读存储介质,其中,所述通关申报数据包括航行计划和所述货物离开第一检验地点的离开时间,所述根据所述货物通关数据计算货物的多个货物指标之前,所述计算机程序被处理器执行时还实现如下步骤:根据预先构建的时长预测模型和所述航行计划,得到所述航行计划的预测航行时长;所述货物指标包括时长指标,所述根据所述货物通关数据计算货物的多个货物指标,包括:获取所述货物到达第二检验地点的到达时间,根据所述离开时间和所述到达时间计算实际航行时长;计算所述实际航行时长与所述预测航行时长的差值,得到所述货物的时长指标。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011207261.2A CN112288371A (zh) | 2020-11-03 | 2020-11-03 | 通关检验方法、装置、电子设备及计算机可读存储介质 |
CN202011207261.2 | 2020-11-03 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022095519A1 true WO2022095519A1 (zh) | 2022-05-12 |
Family
ID=74353103
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/109486 WO2022095519A1 (zh) | 2020-11-03 | 2021-07-30 | 通关检验方法、装置、电子设备及计算机可读存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112288371A (zh) |
WO (1) | WO2022095519A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116883027A (zh) * | 2023-09-06 | 2023-10-13 | 南通汉迪自动化设备有限公司 | 一种物料进出口通关联网监管系统 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112288371A (zh) * | 2020-11-03 | 2021-01-29 | 深圳壹账通智能科技有限公司 | 通关检验方法、装置、电子设备及计算机可读存储介质 |
CN114140049A (zh) * | 2021-11-29 | 2022-03-04 | 广州权馨信息科技有限公司 | 多用户仓储管理的数据处理方法和系统 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160026973A1 (en) * | 2014-07-23 | 2016-01-28 | Tsinghua University | System and method for customs in-transit supervision |
CN109118159A (zh) * | 2018-06-26 | 2019-01-01 | 珠海宏桥高科技有限公司 | 一种通关数据的自动检验方法和装置 |
CN110348975A (zh) * | 2019-05-24 | 2019-10-18 | 深圳壹账通智能科技有限公司 | 报关单信息校验方法及装置、电子设备和存储介质 |
CN110599107A (zh) * | 2019-09-24 | 2019-12-20 | 腾讯科技(深圳)有限公司 | 基于区块链的物流数据处理方法以及装置 |
CN111489126A (zh) * | 2020-04-12 | 2020-08-04 | 链农(深圳)信息科技有限公司 | 基于区块链的跨境运输方法、装置及硬件设备 |
CN112288371A (zh) * | 2020-11-03 | 2021-01-29 | 深圳壹账通智能科技有限公司 | 通关检验方法、装置、电子设备及计算机可读存储介质 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106706677B (zh) * | 2015-11-18 | 2019-09-03 | 同方威视技术股份有限公司 | 检查货物的方法和系统 |
WO2018025253A1 (en) * | 2016-08-01 | 2018-02-08 | B.T 9 Ltd. | Systems and methods for monitoring of shipments |
CN110245186B (zh) * | 2019-05-21 | 2023-04-07 | 深圳壹账通智能科技有限公司 | 一种基于区块链的业务处理方法及相关设备 |
CN110991962A (zh) * | 2019-11-29 | 2020-04-10 | 中国工商银行股份有限公司 | 基于区块链的货物运单处理方法、装置、计算设备、介质 |
CN111159779B (zh) * | 2020-04-08 | 2020-07-28 | 深圳壹账通智能科技有限公司 | 报关数据处理方法、装置、计算机设备和存储介质 |
-
2020
- 2020-11-03 CN CN202011207261.2A patent/CN112288371A/zh active Pending
-
2021
- 2021-07-30 WO PCT/CN2021/109486 patent/WO2022095519A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160026973A1 (en) * | 2014-07-23 | 2016-01-28 | Tsinghua University | System and method for customs in-transit supervision |
CN109118159A (zh) * | 2018-06-26 | 2019-01-01 | 珠海宏桥高科技有限公司 | 一种通关数据的自动检验方法和装置 |
CN110348975A (zh) * | 2019-05-24 | 2019-10-18 | 深圳壹账通智能科技有限公司 | 报关单信息校验方法及装置、电子设备和存储介质 |
CN110599107A (zh) * | 2019-09-24 | 2019-12-20 | 腾讯科技(深圳)有限公司 | 基于区块链的物流数据处理方法以及装置 |
CN111489126A (zh) * | 2020-04-12 | 2020-08-04 | 链农(深圳)信息科技有限公司 | 基于区块链的跨境运输方法、装置及硬件设备 |
CN112288371A (zh) * | 2020-11-03 | 2021-01-29 | 深圳壹账通智能科技有限公司 | 通关检验方法、装置、电子设备及计算机可读存储介质 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116883027A (zh) * | 2023-09-06 | 2023-10-13 | 南通汉迪自动化设备有限公司 | 一种物料进出口通关联网监管系统 |
CN116883027B (zh) * | 2023-09-06 | 2023-12-19 | 南通汉迪自动化设备有限公司 | 一种物料进出口通关联网监管系统 |
Also Published As
Publication number | Publication date |
---|---|
CN112288371A (zh) | 2021-01-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022095519A1 (zh) | 通关检验方法、装置、电子设备及计算机可读存储介质 | |
CN112801718B (zh) | 用户行为预测方法、装置、设备及介质 | |
CN113657495B (zh) | 基于概率预测模型的保险产品推荐方法、装置、设备 | |
WO2023159755A1 (zh) | 虚假新闻检测方法、装置、设备及存储介质 | |
WO2022141858A1 (zh) | 行人检测方法、装置、电子设备及存储介质 | |
CN113806434B (zh) | 大数据处理方法、装置、设备及介质 | |
CN112269875B (zh) | 文本分类方法、装置、电子设备及存储介质 | |
CN111798123A (zh) | 基于人工智能的合规性评价方法、装置、设备及介质 | |
CN111950621A (zh) | 基于人工智能的目标数据检测方法、装置、设备及介质 | |
CN115081538A (zh) | 基于机器学习的客户关系识别方法、装置、设备及介质 | |
CN111831708A (zh) | 基于缺失数据的样本分析方法、装置、电子设备及介质 | |
CN113256181A (zh) | 风险因子预测方法、装置、设备及介质 | |
CN113850260A (zh) | 关键信息抽取方法、装置、电子设备及可读存储介质 | |
WO2023040145A1 (zh) | 基于人工智能的文本分类方法、装置、电子设备及介质 | |
CN113628043B (zh) | 基于数据分类的投诉有效性判断方法、装置、设备及介质 | |
CN113313211B (zh) | 文本分类方法、装置、电子设备及存储介质 | |
CN113591881A (zh) | 基于模型融合的意图识别方法、装置、电子设备及介质 | |
CN116823437A (zh) | 基于配置化风控策略的准入方法、装置、设备及介质 | |
CN114548114B (zh) | 文本情绪识别方法、装置、设备及存储介质 | |
CN113705684B (zh) | 反向迭代的异常检测方法、装置、电子设备及介质 | |
CN115082736A (zh) | 垃圾识别分类方法、装置、电子设备及存储介质 | |
CN114722146A (zh) | 基于人工智能的供应链资产校验方法、装置、设备及介质 | |
CN113706292B (zh) | 基于虚拟数据的信用卡测试方法、装置、设备及介质 | |
CN116225971B (zh) | 交易接口兼容性检测方法、装置、设备及介质 | |
CN116414699B (zh) | 运营运维测试方法、装置、设备及介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21888218 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23/06/2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21888218 Country of ref document: EP Kind code of ref document: A1 |