Method and device for safely reading and writing hospital confidential documents
Technical Field
The invention relates to the technical field of hospital file management, in particular to a method and a device for safe reading and writing of hospital confidential files.
Background
The security management of documents has become an aspect which is more and more commonly related in the ordinary life of people, and as the modern life is developed more and more rapidly, the importance of the content related to confidential documents and privacy documents to the life of people is higher and higher.
However, with the popularization of document management technology, the security problem of document management, especially the management of confidential documents in specific fields such as hospitals, is receiving more and more attention, and the condition that the confidential documents of hospitals are stolen to cause problems in daily operation of hospitals is increasing.
Therefore, there is a need for a technique for managing hospital confidential documents to prevent a thief from illegally acquiring the confidential documents to acquire hospital confidential information.
Disclosure of Invention
In view of the above-mentioned drawbacks, the present invention provides a method and apparatus for secure reading and writing of hospital confidential documents.
The method for safely reading and writing the confidential documents in the hospital is realized by the following technical scheme:
a method for safely reading and writing confidential documents in hospitals comprises the following steps:
selecting an authentication mode, providing two different authentication level modes, namely an administrative level authentication mode and a job title level authentication mode, and selecting the authentication mode by a user through a user interface device;
the authentication method of the administrative level comprises the steps that when a user selects to authenticate through the authentication method of the administrative level, a first-level fingerprint authentication device is started, the user fingerprint is collected and compared with the user fingerprint collected in advance, when the fingerprint comparison is passed, the user passes the first-level authentication, then the corresponding relation between the fingerprint and the administrative level is searched, and when the user is confirmed to be an institution owner or a subsidiary institution owner, the user is given the right to directly read and write the confidential document storage device, and the user is allowed to read or write the confidential document storage device;
when the fingerprints pass the comparison and the user passes the primary authentication, searching the corresponding relation between the fingerprints and the administrative level, when the user is confirmed to be the subject, giving the user the right to read the confidential document storage device, allowing the user to read the confidential document storage device, further judging whether the user needs to open the secondary face authentication device, when the user needs to open the secondary face authentication device, opening the secondary face authentication device, acquiring the face information of the user, comparing the face information with the face information of the user which is acquired in advance, when the face comparison passes, giving the user the right to read and write the confidential document storage device through the secondary authentication, and allowing the user to read and write the confidential document storage device;
when the fingerprint comparison is passed and the user passes the first-level authentication, the corresponding relation between the fingerprint and the administrative level is searched, when the user is confirmed to be a common doctor, the second-level face authentication device is automatically started, the face information of the user is collected and compared with the face information of the user collected in advance, when the face comparison is passed, the user passes the second-level authentication, the user is given the authority of reading the confidential file storage device, the user is allowed to read the confidential file storage device, whether the user needs to start the third-level iris authentication device is further judged, when the user needs to start the third-level iris authentication device, the third-level iris authentication device is started, the user iris information is collected and compared with the user iris information collected in advance, when the iris comparison is passed, the user passes the third-level authentication, the authority of reading and writing the confidential file storage device is given to the user, allowing a user to read and write to the confidential file storage means;
when the fingerprint comparison fails, terminating the authentication step and sending an alarm prompt;
the system comprises a job title level authentication mode, a first-level fingerprint authentication device and a second-level fingerprint authentication device, wherein when a user selects to authenticate through the job title level authentication mode, the first-level fingerprint authentication device is started to collect a user fingerprint and compare the user fingerprint with the user fingerprint collected in advance;
when the fingerprint comparison is passed and the user passes the primary authentication, searching the corresponding relation between the fingerprint and the job title level, when the user is confirmed to be an attending physician, giving the user the right to read the confidential document storage device, allowing the user to read the confidential document storage device, further judging whether the user needs to open the secondary face authentication device, when the user needs to open the secondary face authentication device, opening the secondary face authentication device, acquiring the face information of the user, comparing the face information with the face information of the user which is acquired in advance, when the face comparison is passed, giving the user the right to read and write the confidential document storage device through the secondary authentication, and allowing the user to read and write the confidential document storage device;
when the fingerprint comparison is passed and the user passes the first-level authentication, the corresponding relation between the fingerprint and the job title level is searched, when the user is confirmed to be a resident, the second-level face authentication device is automatically started, the face information of the user is collected and compared with the face information of the user collected in advance, when the face comparison is passed, the user passes the second-level authentication, the user is given the authority of reading the confidential file storage device, the user is allowed to read the confidential file storage device, whether the user needs to start the third-level iris authentication device is further judged, when the user needs to start the third-level iris authentication device, the third-level iris authentication device is started, the user iris information is collected and compared with the user iris information collected in advance, when the iris comparison is passed, the user passes the third-level authentication, the authority of reading and writing the confidential file storage device is given to the user, allowing a user to read and write to the confidential file storage means;
and when the fingerprint comparison fails, terminating the authentication step and sending an alarm prompt.
Preferably, the method further comprises: and storing the pre-collected user fingerprint and face information in a storage device, wherein the storage device is hard disk equipment.
Preferably, the method further comprises: when the fingerprints of the user are collected, the fingerprints of 1 or more fingers of the user are selected to be collected, and the higher the security level is when the fingerprints of the plurality of fingers are verified.
Preferably, the method further comprises: and correcting the fingerprint and face information according to the acquired fingerprint and face characteristic information so as to ensure the accuracy of fingerprint and face identification.
Preferably, the method further comprises: and correcting the iris information according to the acquired iris information to ensure the accuracy of iris identification.
In addition, the invention also discloses a device for safely reading and writing the confidential documents in the hospital, which comprises the following parts:
the authentication mode selection device provides two different authentication level modes, namely an administrative level authentication mode and a job title level authentication mode, and a user selects the authentication mode through the user interface device;
the administrative level authentication device is used for starting the first-level fingerprint authentication device when a user selects to authenticate through an administrative level authentication mode, collecting a user fingerprint, comparing the user fingerprint with the user fingerprint collected in advance, when the fingerprint comparison is passed, the user passes the first-level authentication, searching the corresponding relation between the fingerprint and the administrative level, and giving the user the authority of directly reading and writing the confidential file storage device when the user is confirmed to be an institution owner or a subsidiary institution owner, so that the user is allowed to read or write the confidential file storage device;
when the fingerprints pass the comparison and the user passes the primary authentication, searching the corresponding relation between the fingerprints and the administrative level, when the user is confirmed to be the subject, giving the user the right to read the confidential document storage device, allowing the user to read the confidential document storage device, further judging whether the user needs to open the secondary face authentication device, when the user needs to open the secondary face authentication device, opening the secondary face authentication device, acquiring the face information of the user, comparing the face information with the face information of the user which is acquired in advance, when the face comparison passes, giving the user the right to read and write the confidential document storage device through the secondary authentication, and allowing the user to read and write the confidential document storage device;
when the fingerprint comparison is passed and the user passes the first-level authentication, the corresponding relation between the fingerprint and the administrative level is searched, when the user is confirmed to be a common doctor, the second-level face authentication device is automatically started, the face information of the user is collected and compared with the face information of the user collected in advance, when the face comparison is passed, the user passes the second-level authentication, the user is given the authority of reading the confidential file storage device, the user is allowed to read the confidential file storage device, whether the user needs to start the third-level iris authentication device is further judged, when the user needs to start the third-level iris authentication device, the third-level iris authentication device is started, the user iris information is collected and compared with the user iris information collected in advance, when the iris comparison is passed, the user passes the third-level authentication, the authority of reading and writing the confidential file storage device is given to the user, allowing a user to read and write to the confidential file storage means;
when the fingerprint comparison fails, terminating the authentication step and sending an alarm prompt;
the job title level authentication device is used for starting the first-level fingerprint authentication device when a user selects authentication through a job title level authentication mode, acquiring a user fingerprint, comparing the user fingerprint with a user fingerprint acquired in advance, when the fingerprint comparison is passed, the user passes the first-level authentication, searching the corresponding relation between the fingerprint and the job title level, and giving the user the authority of directly reading and writing the confidential file storage device when the user is confirmed to be a principal doctor or a subordinate principal doctor so as to allow the user to read or write the confidential file storage device;
when the fingerprint comparison is passed and the user passes the primary authentication, searching the corresponding relation between the fingerprint and the job title level, when the user is confirmed to be an attending physician, giving the user the right to read the confidential document storage device, allowing the user to read the confidential document storage device, further judging whether the user needs to open the secondary face authentication device, when the user needs to open the secondary face authentication device, opening the secondary face authentication device, acquiring the face information of the user, comparing the face information with the face information of the user which is acquired in advance, when the face comparison is passed, giving the user the right to read and write the confidential document storage device through the secondary authentication, and allowing the user to read and write the confidential document storage device;
when the fingerprint comparison is passed and the user passes the first-level authentication, the corresponding relation between the fingerprint and the job title level is searched, when the user is confirmed to be a resident, the second-level face authentication device is automatically started, the face information of the user is collected and compared with the face information of the user collected in advance, when the face comparison is passed, the user passes the second-level authentication, the user is given the authority of reading the confidential file storage device, the user is allowed to read the confidential file storage device, whether the user needs to start the third-level iris authentication device is further judged, when the user needs to start the third-level iris authentication device, the third-level iris authentication device is started, the user iris information is collected and compared with the user iris information collected in advance, when the iris comparison is passed, the user passes the third-level authentication, the authority of reading and writing the confidential file storage device is given to the user, allowing a user to read and write to the confidential file storage means;
and when the fingerprint comparison fails, terminating the authentication step and sending an alarm prompt.
Preferably, the apparatus further comprises: and storing preset user fingerprint, face and iris information in a storage device, wherein the storage device is a hard disk device.
Preferably, the apparatus further comprises: when the fingerprints of the user are collected, the fingerprints of 1 or more fingers of the user are selected to be collected, and the higher the security level is when the fingerprints of the plurality of fingers are verified.
Preferably, the apparatus further comprises: and correcting the fingerprint and face information according to the acquired fingerprint and face characteristic information so as to ensure the accuracy of fingerprint and face identification.
Preferably, the apparatus further comprises: and correcting the iris information according to the acquired iris information to ensure the accuracy of iris identification.
Drawings
The invention is further described below with reference to the accompanying drawings:
fig. 1 is a flow chart of the method for safely reading and writing the confidential documents of the hospital.
Fig. 2 is a schematic structural diagram of the device for safely reading and writing the confidential documents in the hospital.
Detailed Description
Referring to fig. 1, the method comprises the following main steps:
selecting an authentication mode, providing two different authentication level modes, namely an administrative level authentication mode and a job title level authentication mode, and selecting the authentication mode by a user through a user interface device;
the authentication method of the administrative level comprises the steps that when a user selects to authenticate through the authentication method of the administrative level, a first-level fingerprint authentication device is started, the user fingerprint is collected and compared with the user fingerprint collected in advance, when the fingerprint comparison is passed, the user passes the first-level authentication, then the corresponding relation between the fingerprint and the administrative level is searched, and when the user is confirmed to be an institution owner or a subsidiary institution owner, the user is given the right to directly read and write the confidential document storage device, and the user is allowed to read or write the confidential document storage device;
when the fingerprints pass the comparison and the user passes the primary authentication, searching the corresponding relation between the fingerprints and the administrative level, when the user is confirmed to be the subject, giving the user the right to read the confidential document storage device, allowing the user to read the confidential document storage device, further judging whether the user needs to open the secondary face authentication device, when the user needs to open the secondary face authentication device, opening the secondary face authentication device, acquiring the face information of the user, comparing the face information with the face information of the user which is acquired in advance, when the face comparison passes, giving the user the right to read and write the confidential document storage device through the secondary authentication, and allowing the user to read and write the confidential document storage device;
when the fingerprint comparison is passed and the user passes the first-level authentication, the corresponding relation between the fingerprint and the administrative level is searched, when the user is confirmed to be a common doctor, the second-level face authentication device is automatically started, the face information of the user is collected and compared with the face information of the user collected in advance, when the face comparison is passed, the user passes the second-level authentication, the user is given the authority of reading the confidential file storage device, the user is allowed to read the confidential file storage device, whether the user needs to start the third-level iris authentication device is further judged, when the user needs to start the third-level iris authentication device, the third-level iris authentication device is started, the user iris information is collected and compared with the user iris information collected in advance, when the iris comparison is passed, the user passes the third-level authentication, the authority of reading and writing the confidential file storage device is given to the user, allowing a user to read and write to the confidential file storage means;
when the fingerprint comparison fails, terminating the authentication step and sending an alarm prompt;
the system comprises a job title level authentication mode, a first-level fingerprint authentication device and a second-level fingerprint authentication device, wherein when a user selects to authenticate through the job title level authentication mode, the first-level fingerprint authentication device is started to collect a user fingerprint and compare the user fingerprint with the user fingerprint collected in advance;
when the fingerprint comparison is passed and the user passes the primary authentication, searching the corresponding relation between the fingerprint and the job title level, when the user is confirmed to be an attending physician, giving the user the right to read the confidential document storage device, allowing the user to read the confidential document storage device, further judging whether the user needs to open the secondary face authentication device, when the user needs to open the secondary face authentication device, opening the secondary face authentication device, acquiring the face information of the user, comparing the face information with the face information of the user which is acquired in advance, when the face comparison is passed, giving the user the right to read and write the confidential document storage device through the secondary authentication, and allowing the user to read and write the confidential document storage device;
when the fingerprint comparison is passed and the user passes the first-level authentication, the corresponding relation between the fingerprint and the job title level is searched, when the user is confirmed to be a resident, the second-level face authentication device is automatically started, the face information of the user is collected and compared with the face information of the user collected in advance, when the face comparison is passed, the user passes the second-level authentication, the user is given the authority of reading the confidential file storage device, the user is allowed to read the confidential file storage device, whether the user needs to start the third-level iris authentication device is further judged, when the user needs to start the third-level iris authentication device, the third-level iris authentication device is started, the user iris information is collected and compared with the user iris information collected in advance, when the iris comparison is passed, the user passes the third-level authentication, the authority of reading and writing the confidential file storage device is given to the user, allowing a user to read and write to the confidential file storage means;
and when the fingerprint comparison fails, terminating the authentication step and sending an alarm prompt.
Referring to fig. 2, the apparatus mainly comprises several parts:
the authentication mode selection device provides two different authentication level modes, namely an administrative level authentication mode and a job title level authentication mode, and a user selects the authentication mode through the user interface device;
the administrative level authentication device is used for starting the first-level fingerprint authentication device when a user selects to authenticate through an administrative level authentication mode, collecting a user fingerprint, comparing the user fingerprint with the user fingerprint collected in advance, when the fingerprint comparison is passed, the user passes the first-level authentication, searching the corresponding relation between the fingerprint and the administrative level, and giving the user the authority of directly reading and writing the confidential file storage device when the user is confirmed to be an institution owner or a subsidiary institution owner, so that the user is allowed to read or write the confidential file storage device;
when the fingerprints pass the comparison and the user passes the primary authentication, searching the corresponding relation between the fingerprints and the administrative level, when the user is confirmed to be the subject, giving the user the right to read the confidential document storage device, allowing the user to read the confidential document storage device, further judging whether the user needs to open the secondary face authentication device, when the user needs to open the secondary face authentication device, opening the secondary face authentication device, acquiring the face information of the user, comparing the face information with the face information of the user which is acquired in advance, when the face comparison passes, giving the user the right to read and write the confidential document storage device through the secondary authentication, and allowing the user to read and write the confidential document storage device;
when the fingerprint comparison is passed and the user passes the first-level authentication, the corresponding relation between the fingerprint and the administrative level is searched, when the user is confirmed to be a common doctor, the second-level face authentication device is automatically started, the face information of the user is collected and compared with the face information of the user collected in advance, when the face comparison is passed, the user passes the second-level authentication, the user is given the authority of reading the confidential file storage device, the user is allowed to read the confidential file storage device, whether the user needs to start the third-level iris authentication device is further judged, when the user needs to start the third-level iris authentication device, the third-level iris authentication device is started, the user iris information is collected and compared with the user iris information collected in advance, when the iris comparison is passed, the user passes the third-level authentication, the authority of reading and writing the confidential file storage device is given to the user, allowing a user to read and write to the confidential file storage means;
when the fingerprint comparison fails, terminating the authentication step and sending an alarm prompt;
the job title level authentication device is used for starting the first-level fingerprint authentication device when a user selects authentication through a job title level authentication mode, acquiring a user fingerprint, comparing the user fingerprint with a user fingerprint acquired in advance, when the fingerprint comparison is passed, the user passes the first-level authentication, searching the corresponding relation between the fingerprint and the job title level, and giving the user the authority of directly reading and writing the confidential file storage device when the user is confirmed to be a principal doctor or a subordinate principal doctor so as to allow the user to read or write the confidential file storage device;
when the fingerprint comparison is passed and the user passes the primary authentication, searching the corresponding relation between the fingerprint and the job title level, when the user is confirmed to be an attending physician, giving the user the right to read the confidential document storage device, allowing the user to read the confidential document storage device, further judging whether the user needs to open the secondary face authentication device, when the user needs to open the secondary face authentication device, opening the secondary face authentication device, acquiring the face information of the user, comparing the face information with the face information of the user which is acquired in advance, when the face comparison is passed, giving the user the right to read and write the confidential document storage device through the secondary authentication, and allowing the user to read and write the confidential document storage device;
when the fingerprint comparison is passed and the user passes the first-level authentication, the corresponding relation between the fingerprint and the job title level is searched, when the user is confirmed to be a resident, the second-level face authentication device is automatically started, the face information of the user is collected and compared with the face information of the user collected in advance, when the face comparison is passed, the user passes the second-level authentication, the user is given the authority of reading the confidential file storage device, the user is allowed to read the confidential file storage device, whether the user needs to start the third-level iris authentication device is further judged, when the user needs to start the third-level iris authentication device, the third-level iris authentication device is started, the user iris information is collected and compared with the user iris information collected in advance, when the iris comparison is passed, the user passes the third-level authentication, the authority of reading and writing the confidential file storage device is given to the user, allowing a user to read and write to the confidential file storage means;
and when the fingerprint comparison fails, terminating the authentication step and sending an alarm prompt.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.