Disclosure of Invention
In order to solve the related technical problems in the prior art, the invention provides an authority verification platform based on a block chain database, which can execute the on-site verification operation of access authority on a large number of ship bodies entering and exiting a harbor simultaneously in parallel on the basis of applying the block chain database, thereby reducing the operating environment of manual verification and improving the accuracy and reliability of verification.
Therefore, the present invention needs to have at least two important points:
(1) updating the outline pattern of each ship body allowed to enter the seaport in real time by adopting a block chain database so as to provide reliable reference data for the verification of the access authority of a plurality of ship bodies in the follow-up execution;
(2) before the hull contour analysis is performed, a signal correction device is adopted for performing inclination correction processing on each ship target in the image to obtain a correction processing image, so that the positive front end of each ship target in the correction processing image is perpendicular to the imaging plane of the shooting mechanism when the real-time harbour imaging image corresponding to the correction processing image is shot, and the accuracy of the hull contour analysis is improved.
According to an aspect of the present invention, there is provided a block chain database-based privilege verification platform, the platform comprising:
the user input interface is arranged in a management control room of the harbor and is used for adding or deleting a contour pattern of a ship body which is allowed to enter or exit the harbor into or from the contour database under the input of a manager;
the band-elimination filtering equipment is arranged in a management control room of the harbor and is used for executing band-elimination filtering operation on the received real-time harbor imaging image so as to obtain a corresponding content filtering image;
the contour database is arranged at the network end of the block chain, is connected with the user input interface through a network and is used for storing each latest contour pattern of each ship body allowing to enter and exit the harbor;
the target extraction equipment is connected with the band-stop filtering equipment and used for detecting each ship target from the content filtering image based on ship imaging color characteristics;
a signal correction device connected to the object extraction device for performing an inclination correction process on each ship object in the content-filtered image to obtain a correction-processed image such that a leading end of each ship object in the correction-processed image is perpendicular to an imaging plane of the photographing mechanism when the real-time harbour imaging image corresponding to the correction-processed image is photographed;
a target certification mechanism which is arranged in a management control room of the harbor, is connected with the signal correction device and is used for sending a first instruction command when the similarity of any one of all ship targets in the correction processing image and the contour pattern of a ship body of one allowable harbor in and out stored in the contour database exceeds the limit;
wherein the target certification authority is further configured to issue a second instruction command when there is a ship target in the corrected image, which does not exceed the similarity between any ship target and any contour pattern of the ship hull allowed to enter or exit the harbor stored in the contour database, and enter the existing ship target as an illegal entry ship target;
wherein, in the profile database, the hull imaging angle of the profile pattern of each hull allowed to enter and exit the harbor is the same, in order to maintain the angle of the straight front end of the hull perpendicular to the imaging plane of the shooting mechanism when the profile pattern is shot.
According to another aspect of the present invention, there is also provided a method for verifying authority based on a blockchain database, the method including using an authority verification platform based on a blockchain database as described above for performing contour recognition and authority verification operations for seaport ships entering and exiting a hull based on the blockchain database.
The block chain database-based permission verification platform is convenient to use and has a certain automation level. The on-site authority verification of a plurality of ship bodies entering and exiting the harbor is completed by adopting reliable reference data and a targeted parallel verification mechanism, so that the labor cost of a harbor manager is reduced.
Detailed Description
Embodiments of the block chain database-based rights verification platform of the present invention will be described in detail below with reference to the accompanying drawings.
At present, for a management party of a seaport, frequency authorization and de-authorization of ships which are allowed to enter and exit the seaport are required to be carried out due to consideration of factors such as trade, country and diseases, and at this time, detection of whether a large number of ships of the current seaport are unauthorized illegal ships is difficult because of too many ships, insufficient precision when manual detection is adopted for an appearance contour, massive reference data for verification, and the like, so that an automatic, high-precision and high-reliability authority verification mechanism is required to meet the operation requirement of the current seaport.
In order to overcome the defects, the invention builds the authority verification platform based on the block chain database, and can effectively solve the corresponding technical problem.
Fig. 1 is a working scenario diagram of the block chain database-based rights verification platform of the present invention, and the technical contents of the present invention will be further embodied by using a plurality of different embodiments.
First embodiment
Fig. 2 is a block diagram illustrating a structure of a block chain database-based rights verification platform according to a first embodiment of the present invention, where the platform includes:
the user input interface is arranged in a management control room of the harbor and is used for adding or deleting a contour pattern of a ship body which is allowed to enter or exit the harbor into or from the contour database under the input of a manager;
the band-elimination filtering equipment is arranged in a management control room of the harbor and is used for executing band-elimination filtering operation on the received real-time harbor imaging image so as to obtain a corresponding content filtering image;
the contour database is arranged at the network end of the block chain, is connected with the user input interface through a network and is used for storing each latest contour pattern of each ship body allowing to enter and exit the harbor;
the target extraction equipment is connected with the band-stop filtering equipment and used for detecting each ship target from the content filtering image based on ship imaging color characteristics;
a signal correction device connected to the object extraction device for performing an inclination correction process on each ship object in the content-filtered image to obtain a correction-processed image such that a leading end of each ship object in the correction-processed image is perpendicular to an imaging plane of the photographing mechanism when the real-time harbour imaging image corresponding to the correction-processed image is photographed;
a target certification mechanism which is arranged in a management control room of the harbor, is connected with the signal correction device and is used for sending a first instruction command when the similarity of any one of all ship targets in the correction processing image and the contour pattern of a ship body of one allowable harbor in and out stored in the contour database exceeds the limit;
wherein the target certification authority is further configured to issue a second instruction command when there is a ship target in the corrected image, which does not exceed the similarity between any ship target and any contour pattern of the ship hull allowed to enter or exit the harbor stored in the contour database, and enter the existing ship target as an illegal entry ship target;
wherein, in the profile database, the hull imaging angle of the profile pattern of each hull allowed to enter and exit the harbor is the same, in order to maintain the angle of the straight front end of the hull perpendicular to the imaging plane of the shooting mechanism when the profile pattern is shot.
Second embodiment
Fig. 3 is a block diagram illustrating a structure of a block chain database-based rights verification platform according to a second embodiment of the present invention, where the platform includes:
the image rendering mechanism is arranged in a management control room of the harbor, is connected with the target authentication mechanism, and is used for highlighting each illegal ship entering target in the correction processing image and then displaying the correction processing image after highlighting;
the user input interface is arranged in a management control room of the harbor and is used for adding or deleting a contour pattern of a ship body which is allowed to enter or exit the harbor into or from the contour database under the input of a manager;
the band-elimination filtering equipment is arranged in a management control room of the harbor and is used for executing band-elimination filtering operation on the received real-time harbor imaging image so as to obtain a corresponding content filtering image;
the contour database is arranged at the network end of the block chain, is connected with the user input interface through a network and is used for storing each latest contour pattern of each ship body allowing to enter and exit the harbor;
the target extraction equipment is connected with the band-stop filtering equipment and used for detecting each ship target from the content filtering image based on ship imaging color characteristics;
a signal correction device connected to the object extraction device for performing an inclination correction process on each ship object in the content-filtered image to obtain a correction-processed image such that a leading end of each ship object in the correction-processed image is perpendicular to an imaging plane of the photographing mechanism when the real-time harbour imaging image corresponding to the correction-processed image is photographed;
a target certification mechanism which is arranged in a management control room of the harbor, is connected with the signal correction device and is used for sending a first instruction command when the similarity of any one of all ship targets in the correction processing image and the contour pattern of a ship body of one allowable harbor in and out stored in the contour database exceeds the limit;
wherein the target certification authority is further configured to issue a second instruction command when there is a ship target in the corrected image, which does not exceed the similarity between any ship target and any contour pattern of the ship hull allowed to enter or exit the harbor stored in the contour database, and enter the existing ship target as an illegal entry ship target;
wherein, in the profile database, the hull imaging angle of the profile pattern of each hull allowed to enter and exit the harbor is the same, in order to maintain the angle of the straight front end of the hull perpendicular to the imaging plane of the shooting mechanism when the profile pattern is shot.
Next, the specific structure of the block chain database-based privilege verification platform of the present invention will be further described.
The block chain database-based permission verification platform further comprises: and the pressure detection device is arranged on the shell of the signal correction device and used for measuring the instant pressure currently born by the shell of the signal correction device.
The block chain database-based permission verification platform further comprises: the pressure analysis equipment is connected with the pressure detection equipment and is used for sending a pressure alarm instruction when the received instant pressure exceeds the limit; and the pressure analysis equipment is also used for sending a normal pressure command when the received instant pressure is not over-limit.
The block chain database-based permission verification platform further comprises: and the alarm execution equipment is connected with the pressure analysis equipment and is used for executing corresponding alarm operation when receiving the pressure alarm instruction.
In the blockchain database-based rights verification platform: the alarm execution equipment is a buzzer and is used for sending out buzzing sound with preset frequency when corresponding alarm operation is executed; or the alarm execution equipment is a voice playing chip and is used for playing a corresponding alarm file when corresponding alarm operation is executed; and or the alarm execution equipment is display equipment and is used for displaying corresponding alarm characters when corresponding alarm operation is executed.
The block chain database-based permission verification platform further comprises: and the alarm execution equipment is also used for stopping executing corresponding alarm operation when the normal pressure instruction is received.
Meanwhile, in order to overcome the defects, the invention also builds an authority verification method based on the block chain database, and the method comprises the step of using the authority verification platform based on the block chain database and is used for executing the contour recognition and authority verification operation of the seaport ship body entering and exiting based on the block chain database.
In addition, the target authentication mechanism is internally provided with a DRAM memory chip. Dram (dynamic Random Access memory), which is a dynamic Random Access memory, is the most common system memory. DRAM can hold data only for a short time. To retain data, DRAM uses capacitive storage, so must be refreshed (refresh) once at intervals, and if the memory cells are not refreshed, the stored information is lost. (shutdown will lose data). Dynamic RAM is also comprised of a number of basic memory cells multiplexed by row and column address pins.
The structure of the DRAM is simple and efficient, and each bit only needs one transistor and one capacitor. However, the capacitance inevitably has leakage phenomenon, which causes data error if the charge is insufficient, and therefore, the capacitance must be periodically refreshed (precharged), which is also a big feature of the DRAM. Moreover, the charging and discharging of the capacitor requires a process, and the refresh frequency cannot be raised infinitely (frequency barrier), which results in that the frequency of the DRAM can easily reach the upper limit, and even if the advanced process is supported, the effect is very small. With the advancement of technology and the desire of people to overclock, these frequency barriers are being solved slowly.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature.
Although the present invention has been described with reference to the above embodiments, it should be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the spirit and scope of the invention. Therefore, the protection scope of the present invention should be subject to the scope defined by the claims of the present application.