Distributed blockchain information technology verification system
Technical Field
The invention relates to the technical field of information verification, in particular to a distributed block chain based information technology verification system.
Background
In hospitals, once the identity of a medical practitioner is falsified or replaced, quite serious medical consequences are very likely to occur, and thus authentication of a doctor is very necessary. However, the working time of the doctor is very precious, and how to achieve the purpose of saving time by adjusting the order of identity verification of the doctor is a problem to be solved. Therefore, it is necessary to design a distributed blockchain information technology based verification system that saves resources and improves efficiency.
Disclosure of Invention
The invention aims to provide a distributed block chain information technology based verification system to solve the problems in the background technology.
In order to solve the technical problems, the invention provides a distributed block chain information technology-based verification system which comprises a data module, a camera module and a face recognition module, wherein the camera module is electrically connected with the face recognition module;
The data module is used for counting and summarizing data information of people, the camera module is used for scanning and shooting conditions in the area, and the face recognition module is used for recognizing face information of people and matching with identities.
According to the technical scheme, the data module comprises an identity data statistics module, a priority calculation module and a priority judgment module, the camera module comprises an identity recognition module and a camera unit, the priority calculation module is electrically connected with the priority judgment module, and the identity recognition module is electrically connected with the identity data statistics module;
The identity data statistics module is used for storing identity information of doctors and the number of patients registered on the same day, the priority calculation module is used for calculating priority indexes of the doctors according to the job title of the doctors and the number of the patients registered on the same day, the priority judgment module is used for judging the priority of the doctors according to the priority indexes of the doctors, the identity recognition module is used for reading the identity information and the priority data provided by the doctors, and the camera shooting unit is used for shooting a monitoring area.
According to the technical scheme, the face recognition module comprises a wake-up module, an image analysis module, an image signal receiving and transmitting module, an operation force distribution module and an identity matching module, wherein the identity recognition module is electrically connected with the wake-up module, the camera shooting unit is electrically connected with the image analysis module, the operation force distribution module is electrically connected with the image signal receiving and transmitting module, and the identity matching module is electrically connected with the identity data statistics module;
the image signal receiving and transmitting module is used for sending or receiving a face image to be processed, the computing power distribution module is used for distributing face recognition tasks, and the identity matching module is used for matching the recognized face information with the identity information of a person.
According to the technical scheme, the main working flow of the system is as follows:
S0, arranging a plurality of identity recognition modules and face recognition modules in each important area of the hospital, wherein the identity recognition modules and face recognition modules are used for recognizing and verifying identity information of doctors and patients;
s1, when no person enters the area, the face recognition module stops working;
s2, when someone applies to enter an important area, the system reads the identity information and the priority data of a doctor or the identity information of a patient through the identity recognition module and performs face recognition, and when the face recognition is performed, the higher the priority of the doctor is, the earlier the face recognition verification is performed;
S3, after the face recognition task is finished, the face recognition module is not closed immediately, and when no person enters the area again for a period of time, the face recognition module stops working.
According to the above technical solution, in the step S2, the priority calculation rule of the doctor is:
The higher the doctor's job level in the medical system, the higher the importance of this doctor is represented, the more patients registered on the same day the system will handle, the more patients waiting for doctor's doctor the system will handle it preferentially, so doctor's priority order is calculated by doctor's job level and the number of patients registered on the same day, specifically:
X=μp+λυq
Wherein X is a priority index, the greater X is, the higher the doctor's priority, mu is the weight of the hospital class in the priority index, v is the weight of the number of patients registered in the same day in the priority index, p is the name of the doctor, q is the number of patients registered in the same day by the doctor, and lambda is an adjustment coefficient.
According to the above technical solution, in the step S2, the method for calculating the weight of the priority is as follows:
In the period of relatively more patients in a hospital, the weight of the registration number of the doctor in the same day in the priority order calculation is properly increased, and the weight of the job level of the doctor in the priority order calculation is properly reduced;
In the period of relatively less patients in the hospital, the weight of the job level of the doctor in the priority order calculation is properly increased, the weight of the registration number of the doctor on the same day in the priority order calculation is properly reduced,
Mu+v=100%, and can be obtained
Wherein x is the total number of advanced hanging numbers of hospitals on the same day, and x 0 is the total number of advanced hanging numbers of hospitals on average each day.
According to the technical scheme, the operating principle of the operation force distribution module is as follows:
Because the number of times that the patient comes to the hospital is less, the human face recognition is complex, the time spent is long, the number of times that the doctor comes to the hospital is more, the human face recognition is simple, and the time spent is short, so the operation power occupied when the human face recognition is carried out on the patient and the doctor is different;
The system monitors the number of people in the area through the camera module, the system judges that the number of people wearing the white coat is doctor number, the rest is patient number, when doctors in the area are more, the calculation power occupied by each person is less, when patients in the area are more, the calculation power occupied by each person is more,
The calculation power occupied by each patient for face recognition is M, the calculation power occupied by each doctor for face recognition is N, the number of patients in a certain area is M, the number of doctors is N, and the total occupied calculation power is
Y=mM+nN
The computing power distribution module distributes the person to each face recognition module according to the computing power required by each region to execute the face recognition person.
According to the technical scheme, the main working mode of the face recognition module is as follows:
When the face recognition module finishes the recognition task, in order to save the time required for restarting the face recognition module when someone applies for entering immediately, the face recognition module waits for responding for a period of time t 2 and enters dormancy after t 2;
If a certain face recognition module works and other face recognition modules rest or wait for responding, the face recognition module in the work can send the face recognition task to other face recognition modules which do not perform face recognition work, and the face recognition task is distributed according to the respective operation capacity, so that a plurality of face recognition are cooperatively analyzed.
According to the technical scheme, the working modes of the face recognition module are divided into the following three modes:
When a certain face recognition module does not work, that is, no person applies for entering an important area in at least time t 2, the computing function of the face recognition module can be completely distributed to other face recognition modules;
When a certain face recognition module is started, namely an existing person applies to enter an important area, the computing function of the face recognition module is fully occupied;
When a certain face recognition module enters a waiting response mode, namely, within the time t 2 after the face recognition work is completed, the computing function of the face recognition module can be partially distributed to other face recognition modules.
According to the above technical scheme, the distribution principle of the residual computing power of the face recognition module is as follows:
the residual operation force for processing other information tasks in real time is proportionally increased along with the time after completing the tasks until the face recognition module is triggered to be closed, wherein the residual operation force is all the operation force, specifically
Wherein A is the calculation power for processing other information tasks in real time, N 0 is the total calculation power, N 1 is the calculation power occupied when waiting for response, t 2 is the preset response time, t is the time for waiting for response, and t E [0, t 2).
Compared with the prior art, the invention has the beneficial effects that by sequencing the priorities of doctors, doctors with heavier tasks and stronger capacity can pass face recognition authentication preferentially, the working efficiency is improved, the computing power of the face recognition module is distributed according to the number of the doctors and the patients, the computing power resource can be fully utilized, and the waste is avoided.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a schematic view of the overall modular structure of the present invention;
Detailed Description
The following description of the technical solutions in the embodiments of the present invention will be clear and complete, and it is obvious that the described embodiments are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
As shown in figure 1, the invention provides a distributed block chain information technology-based verification system, which comprises a data module, a camera module and a face recognition module, wherein the camera module is electrically connected with the face recognition module;
the data module is used for counting and summarizing the data information of the person, the camera module is used for scanning and shooting the condition in the area, and the face recognition module is used for recognizing the face information of the person and matching with the identity;
The data module comprises an identity data statistics module, a priority calculation module and a priority judgment module, the camera module comprises an identity recognition module and a camera unit, the priority calculation module is electrically connected with the priority judgment module, and the identity recognition module is electrically connected with the identity data statistics module;
The system comprises an identity data statistics module, a priority calculation module, a priority judgment module, an identity recognition module, a camera unit and a monitoring area, wherein the identity data statistics module is used for storing identity information of a doctor and the number of patients registered on the same day;
The face recognition module comprises a wake-up module, an image analysis module, an image signal receiving and transmitting module, an operation force distribution module and an identity matching module, wherein the identity recognition module is electrically connected with the wake-up module, the camera shooting unit is electrically connected with the image analysis module, the operation force distribution module is electrically connected with the image signal receiving and transmitting module, and the identity matching module is electrically connected with the identity data statistics module;
The system comprises a wake-up module, an image signal receiving and transmitting module, an image signal processing module, an operation power distribution module, an identity matching module and a user identification module, wherein the wake-up module is used for waking up the human face recognition module, the image analysis module is used for analyzing human faces in shot images, the image signal receiving and transmitting module is used for sending or receiving human face images to be processed, the operation power distribution module is used for distributing human face recognition tasks, and the identity matching module is used for matching the recognized human face information with the identity information of a person;
the main working flow of the system is as follows:
S0, arranging a plurality of identity recognition modules and face recognition modules in each important area of the hospital, wherein the identity recognition modules and face recognition modules are used for recognizing and verifying identity information of doctors and patients;
s1, when no person enters the area, the face recognition module stops working;
s2, when someone applies to enter an important area, the system reads the identity information and the priority data of a doctor or the identity information of a patient through the identity recognition module and performs face recognition, and when the face recognition is performed, the higher the priority of the doctor is, the earlier the face recognition verification is performed;
s3, after the face recognition task is finished, the face recognition module is not closed immediately, and when no person enters the area for a period of time, the face recognition module stops working;
Through the steps, doctors are subjected to priority ranking, so that the doctors with heavier tasks and stronger capabilities can pass face recognition authentication preferentially, the working efficiency is improved, the computing power of the face recognition module is distributed according to the number of the doctors and the patients, the computing power resources can be fully utilized, and the waste is avoided;
in the above step S2, the doctor' S priority calculation rule is:
The higher the doctor's job level in the medical system, the higher the importance of this doctor is represented, the more patients registered on the same day the system will handle, the more patients waiting for doctor's doctor the system will handle it preferentially, so doctor's priority order is calculated by doctor's job level and the number of patients registered on the same day, specifically:
X=μp+λυq
wherein X is a priority index, the greater X is, the higher the doctor's priority, mu is the weight of the hospital class in the priority index, v is the weight of the number of patients registered in the same day in the priority index, p is the name of the doctor, q is the number of patients registered in the same day by the doctor, and lambda is an adjustment coefficient;
in the step S2, the method for calculating the weight of the priority is as follows:
In the period of relatively more patients in a hospital, the weight of the registration number of the doctor in the same day in the priority order calculation is properly increased, and the weight of the job level of the doctor in the priority order calculation is properly reduced;
In the period of relatively less patients in the hospital, the weight of the job level of the doctor in the priority order calculation is properly increased, the weight of the registration number of the doctor on the same day in the priority order calculation is properly reduced,
Mu+v=100%, and can be obtained
Wherein x is the total number of advanced hanging numbers of the hospitals on the same day, and x 0 is the total number of advanced hanging numbers of the hospitals on average each day;
the operating principle of the operational force distribution module is as follows:
Because the number of times that the patient comes to the hospital is less, the human face recognition is complex, the time spent is long, the number of times that the doctor comes to the hospital is more, the human face recognition is simple, and the time spent is short, so the operation power occupied when the human face recognition is carried out on the patient and the doctor is different;
The system monitors the number of people in the area through the camera module, the system judges that the number of people wearing the white coat is doctor number, the rest is patient number, when doctors in the area are more, the calculation power occupied by each person is less, when patients in the area are more, the calculation power occupied by each person is more,
The calculation power occupied by each patient for face recognition is M, the calculation power occupied by each doctor for face recognition is N, the number of patients in a certain area is M, the number of doctors is N, and the total occupied calculation power is
Y=mM+nN
The computing power distribution module distributes the characters to each face recognition module according to the computing power required by each area to execute the face recognition of the characters;
the main working mode of the face recognition module is as follows:
When the face recognition module finishes the recognition task, in order to save the time required for restarting the face recognition module when someone applies for entering immediately, the face recognition module waits for responding for a period of time t 2 and enters dormancy after t 2;
If a certain face recognition module works and other face recognition modules rest or wait for responding, the face recognition module in the work can send the face recognition task to other face recognition modules which do not perform face recognition work, and the face recognition task is distributed according to the respective operation capacity, so that a plurality of face recognition are cooperatively analyzed;
the working modes of the face recognition module are divided into the following three modes:
When a certain face recognition module does not work, that is, no person applies for entering an important area in at least time t 2, the computing function of the face recognition module can be completely distributed to other face recognition modules;
When a certain face recognition module is started, namely an existing person applies to enter an important area, the computing function of the face recognition module is fully occupied;
When a certain face recognition module enters a waiting response mode, namely in the time t 2 after finishing face recognition work, the computing function of the face recognition module can be partially distributed to other face recognition modules;
The distribution principle of the residual computing power of the face recognition module is as follows:
the residual operation force for processing other information tasks in real time is proportionally increased along with the time after completing the tasks until the face recognition module is triggered to be closed, wherein the residual operation force is all the operation force, specifically
Wherein A is the calculation power for processing other information tasks in real time, N 0 is the total calculation power, N 1 is the calculation power occupied when waiting for response, t 2 is the preset response time, t is the time for waiting for response, and t E [0, t 2).
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the above-mentioned embodiments are merely preferred embodiments of the present invention, and the present invention is not limited thereto, but may be modified or substituted for some of the technical features thereof by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.