Personnel management method, device, equipment and medium based on alcohol detection

Through the personnel management method based on alcohol detection, combined with alcohol content and body index data, drunk people are automatically assigned to appropriate areas, which solves the problem of low allocation efficiency and non-objectiveness, and achieves efficient and automated management.

CN117291779BActive Publication Date: 2024-09-10杭州威灿科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311239047.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-22
Publication Date
2024-09-10
Estimated Expiration
2043-09-22

AI Technical Summary

Technical Problem

In the existing technology, the allocation efficiency of drunken personnel is low and the allocation is not objective, resulting in chaos on the scene.

Method used

The personnel management method based on alcohol detection automatically selects and allocates the target area by detecting the alcohol content and body index data of the target user, combined with the occupancy of the management area, and monitors and notifies it within a preset time interval.

Benefits of technology

It improves the efficiency and objectivity of drunk personnel allocation, realizes automated tracking management, reduces human intervention, and improves management efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117291779B
    Figure CN117291779B
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and provides a personnel management method, device, equipment and medium based on alcohol detection, which can select a target area from each personnel management area in combination with the detected alcohol content of the target user, the target user information and the current occupancy data of each personnel management area, and allocate the target user to the target area to realize automatic allocation of personnel without human intervention, so the allocation efficiency is higher, and multi-dimensional factors are combined during allocation to make the allocation result more objective and appropriate. Furthermore, the alcohol content and physical index data of the target user are detected at preset time intervals. When the alcohol content and physical index data of the target user meet the configuration conditions, the target user is marked, and a notification of transferring the target user is sent to a designated person, so as to realize automatic tracking and management of personnel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a personnel management method, device, equipment and medium based on alcohol detection. Background Art

[0002] In the prior art, in order to better manage drunk persons and avoid unnecessary problems, it is usually necessary to assign drunk persons to different observation rooms for observation, and then transfer them to the case handling area for processing after their cognition returns to normal.

[0003] However, when assigning drunk people to different observation rooms, managers usually do it manually based on the situation of each personnel management area on site. The assignment result is not objective enough, which can easily lead to confusion among on-site personnel, and the assignment efficiency is also low. Summary of the invention

[0004] In view of the above, it is necessary to provide a personnel management method, device, equipment and medium based on alcohol detection, aiming to solve the problems of low efficiency and subjective allocation of drunk personnel.

[0005] A personnel management method based on alcohol detection, the personnel management method based on alcohol detection comprising:

[0006] In response to a dispensing instruction to a target user, detecting an alcohol content of the target user as an initial alcohol concentration;

[0007] Obtaining target user information of the target user, and obtaining current occupancy data of each personnel management area;

[0008] selecting a target area from each personnel management area according to the initial alcohol concentration, the target user information and the current occupancy data;

[0009] assigning the target user to the target area;

[0010] Detecting the target user's alcohol content and physical index data at preset time intervals;

[0011] When the alcohol content and the physical index data of the target user meet the configuration conditions, the target user is marked, and a notification of transferring the target user is sent to a designated person.

[0012] According to a preferred embodiment of the present invention, the personnel management area includes a first area type and a second area type, the minimum alcohol content threshold corresponding to the first area type is greater than or equal to the maximum alcohol content threshold corresponding to the second area type; each personnel management area includes a suitable number of people and a full number of people; each personnel management area corresponds to a corresponding user type, and the user type includes male, female, and minor; the selecting a target area from each personnel management area according to the initial alcohol concentration, the target user information, and the current occupancy data includes:

[0013] selecting a target area type from the first area type and the second area type according to the initial alcohol concentration;

[0014] Selecting an area from each personnel management area according to the target area type to form a first candidate area set;

[0015] Acquire a target user type of the target user from the target user information;

[0016] Selecting a first candidate area from the first candidate area set to form a second candidate area set according to the target user type;

[0017] Selecting the second candidate areas with less than full suitable number of people from the second candidate area set according to the current occupancy data to form a third candidate area set, calculating a first difference between the suitable number of people and the current number of people in each third candidate area, and obtaining the third candidate area with the largest first difference from the third candidate area set as the target area; or

[0018] When each second candidate area in the second candidate area set reaches the suitable number of people, second candidate areas that are not full are selected from the second candidate area set to form the third candidate area set, the second difference between the full number of people and the current number of people in each third candidate area is calculated, and the third candidate area with the largest second difference is obtained from the third candidate area set as the target area.

[0019] According to a preferred embodiment of the present invention, the method further comprises:

[0020] When all personnel management areas corresponding to the target user type have reached the corresponding full population, the target area is selected from personnel management areas corresponding to other user types.

[0021] According to a preferred embodiment of the present invention, after detecting the alcohol content and physical index data of the target user at preset time intervals, the method further includes:

[0022] Obtaining the identity information of the target user and the time of entering the target area;

[0023] The device is connected to a configuration display, and displays the identity information of the target user and the time of entering the target area, the alcohol content of the target user and the physical index data on the configuration display.

[0024] According to a preferred embodiment of the present invention, after detecting the alcohol content and physical index data of the target user at preset time intervals, the method further includes:

[0025] When it is detected that the heart rate value in the physical indicator data is greater than or equal to the configured threshold, a warning prompt message is sent to the designated person.

[0026] According to a preferred embodiment of the present invention, after detecting the alcohol content and physical index data of the target user at preset time intervals, the method further includes:

[0027] The alcohol content and the body index data of the target user are pushed to a designated application in real time.

[0028] According to a preferred embodiment of the present invention, the method further comprises:

[0029] Record all user data in each personnel management area;

[0030] When a query instruction for any user is received, the user who triggered the query instruction is obtained as the user to be authenticated;

[0031] Performing authority verification on the user to be authenticated;

[0032] When the user to be authenticated passes the authority check, querying the data of the arbitrary user in the recorded data of all users, and feeding back the queried data to the user to be authenticated; or

[0033] When the user to be authenticated fails the authority check, the query instruction is refused to be responded.

[0034] A personnel management device based on alcohol detection, the personnel management device based on alcohol detection comprising:

[0035] a detection unit, configured to detect an alcohol content of the target user as an initial alcohol concentration in response to a distribution instruction to the target user;

[0036] an acquisition unit, used to acquire target user information of the target user and acquire current occupancy data of each personnel management area;

[0037] a selection unit, configured to select a target area from each personnel management area according to the initial alcohol concentration, the target user information and the current occupancy data;

[0038] an allocating unit, configured to allocate the target user to the target area;

[0039] The detection unit is further used to detect the alcohol content and physical index data of the target user at preset time intervals;

[0040] The marking unit is used to mark the target user when the alcohol content and the body index data of the target user meet the configuration conditions, and send a notification to transfer the target user to a designated person.

[0041] A computer device, comprising:

[0042] a memory storing at least one instruction; and

[0043] A processor executes the instructions stored in the memory to implement the personnel management method based on alcohol detection.

[0044] A computer-readable storage medium stores at least one instruction, and the at least one instruction is executed by a processor in a computer device to implement the personnel management method based on alcohol detection.

[0045] It can be seen from the above technical solutions that the present invention can select a target area from each personnel management area in combination with the detected alcohol content of the target user, the target user information and the current occupancy data of each personnel management area, and assign the target user to the target area to realize automatic allocation of personnel without human intervention, so the allocation efficiency is higher, and multi-dimensional factors are combined during allocation to make the allocation result more objective and appropriate. Furthermore, the alcohol content and physical index data of the target user are detected at preset time intervals. When the alcohol content and physical index data of the target user meet the configuration conditions, the target user is marked, and a notification of transfer of the target user is sent to the designated person to realize automatic tracking and management of personnel. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 It is a flow chart of a preferred embodiment of the personnel management method based on alcohol detection of the present invention.

[0047] Figure 2 It is a functional module diagram of a preferred embodiment of the personnel management device based on alcohol detection of the present invention.

[0048] Figure 3 It is a structural schematic diagram of a computer device of a preferred embodiment of the present invention for implementing a personnel management method based on alcohol detection. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0050] like Figure 1 , which is a flow chart of a preferred embodiment of the personnel management method based on alcohol detection of the present invention. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted.

[0051] The personnel management method based on alcohol detection is applied to one or more computer devices, which are devices that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and their hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0052] The computer device may be any electronic product that can perform human-computer interaction with a user, such as a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, an interactive network television (IPTV), a smart wearable device, etc.

[0053] The computer device may also include a network device and / or a user device, wherein the network device includes, but is not limited to, a single network server, a server group consisting of multiple network servers, or a cloud consisting of a large number of hosts or network servers based on cloud computing.

[0054] The server can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), as well as big data and artificial intelligence platforms.

[0055] Among them, Artificial Intelligence (AI) is the theory, method, technology and application system that uses 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.

[0056] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0057] The network where the computer device is located includes but is not limited to the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), etc.

[0058] S10 , in response to the allocation instruction to the target user, detecting the alcohol content of the target user as an initial alcohol concentration.

[0059] The target user may be a relevant user in cases such as traffic.

[0060] The allocation instruction may be triggered by relevant staff, such as staff responsible for allocating users.

[0061] In this embodiment, a breath detection method or a blood detection method may be used to detect the alcohol content of the target user, and the present invention does not limit the alcohol content detection method.

[0062] S11, obtaining target user information of the target user, and obtaining current occupancy data of each personnel management area.

[0063] In this embodiment, the target user information may include, but is not limited to, a combination of one or more of the following information: user type, age, gender, mental state, etc.

[0064] In this embodiment, the current occupancy data is used to characterize the occupancy status of each personnel management area.

[0065] S12, selecting a target area from each personnel management area according to the initial alcohol concentration, the target user information and the current occupancy data.

[0066] In this embodiment, the personnel management area includes a first area type and a second area type, and the minimum alcohol content threshold corresponding to the first area type is greater than or equal to the maximum alcohol content threshold corresponding to the second area type. In other words, since the alcohol content of the user corresponding to the first area type is higher, the consciousness may be more unclear or the physical index is worse, so the user corresponding to the first area type needs to be managed more emphatically than the user corresponding to the second area type, and the detection frequency of each detection index of the user corresponding to the first area type can be configured higher, and the number of detection index items can also be configured more.

[0067] Each personnel management area includes a suitable number of people and a full number of people. Usually, the suitable number of people is less than or equal to the full number of people. For example, when the full number of people is 8, in order to maintain order, one person sits every other seat, so the suitable number of people can be configured as 4.

[0068] Each personnel management area corresponds to a corresponding user type, and the user types include male, female, and minor. By configuring different user types for each personnel management area, personnel can be managed in a targeted manner.

[0069] Specifically, the selecting a target area from each personnel management area according to the initial alcohol concentration, the target user information and the current occupancy data includes:

[0070] selecting a target area type from the first area type and the second area type according to the initial alcohol concentration;

[0071] Selecting an area from each personnel management area according to the target area type to form a first candidate area set;

[0072] Acquire a target user type of the target user from the target user information;

[0073] Selecting a first candidate area from the first candidate area set to form a second candidate area set according to the target user type;

[0074] Selecting the second candidate areas with less than full suitable number of people from the second candidate area set according to the current occupancy data to form a third candidate area set, calculating a first difference between the suitable number of people and the current number of people in each third candidate area, and obtaining the third candidate area with the largest first difference from the third candidate area set as the target area; or

[0075] When each second candidate area in the second candidate area set reaches the suitable number of people, second candidate areas that are not full are selected from the second candidate area set to form the third candidate area set, the second difference between the full number of people and the current number of people in each third candidate area is calculated, and the third candidate area with the largest second difference is obtained from the third candidate area set as the target area.

[0076] In the above embodiment, the first screening is performed based on the alcohol concentration, the second screening is performed based on the user type, and then the third screening is performed based on the number of people carried, the suitable number of people, and the full number of people in each area, and finally the most suitable area is selected.

[0077] S13: Allocate the target user to the target area.

[0078] In this embodiment, the target users are assigned to the target areas by comprehensively considering multiple dimensional factors, so that fast and appropriate automatic assignment of users can be achieved.

[0079] In this embodiment, the method further includes:

[0080] When all personnel management areas corresponding to the target user type have reached the corresponding full population, the target area is selected from personnel management areas corresponding to other user types.

[0081] For example, a waiting room for drunk people can be reserved by default for women. When all other rooms are full, men can be assigned to this waiting room. If the number of female personnel has reached the full capacity, women will be assigned to other rooms according to the allocation rules based on the appropriate number of people and the full number of people.

[0082] In the above embodiment, when the personnel management area corresponding to the adapted user type is full, in order not to affect the personnel allocation, the corresponding personnel can be allocated to the personnel management area corresponding to other user types to achieve flexible allocation of personnel.

[0083] S14, detecting the alcohol content and physical index data of the target user at preset time intervals.

[0084] The preset time interval may be configured according to actual needs. For example, the preset time interval may be configured as 1 hour.

[0085] The physical index data may include heart rate value, blood pressure value, etc.

[0086] In this embodiment, after detecting the alcohol content and physical index data of the target user at every preset time interval, the method further includes:

[0087] Obtaining the identity information of the target user and the time of entering the target area;

[0088] The device is connected to a configuration display, and displays the identity information of the target user and the time of entering the target area, the alcohol content of the target user and the physical index data on the configuration display.

[0089] The identity information may include, but is not limited to: user name, user photo, ID number, age, etc.

[0090] The configuration display may be deployed in a public space in each personnel management area to facilitate viewing by all relevant personnel.

[0091] Through the above embodiments, the real-time data of users in each personnel management area can be displayed in real time for timely follow-up.

[0092] In this embodiment, after detecting the alcohol content and physical index data of the target user at every preset time interval, the method further includes:

[0093] When it is detected that the heart rate value in the physical indicator data is greater than or equal to the configured threshold, a warning prompt message is sent to the designated person.

[0094] The configured threshold may be a heart rate critical value, and if the configured threshold is exceeded, it indicates that the user's heart rate is abnormal and requires timely medical attention.

[0095] The designated personnel may be relevant management personnel or medical staff.

[0096] In the above embodiment, when the user's heart rate is monitored to be abnormal, safety problems can be avoided by timely warning.

[0097] In this embodiment, after detecting the alcohol content and physical index data of the target user at every preset time interval, the method further includes:

[0098] The alcohol content and the body index data of the target user are pushed to a designated application in real time.

[0099] The designated application may also support configuration of each personnel management area, such as configuring the alcohol content range, user type, suitable number of people, and full number of people corresponding to each personnel management area.

[0100] In the above embodiment, by pushing the alcohol content and the physical index data of the target user to the designated application in real time, relevant personnel can directly view the real-time situation of personnel in each personnel management area on the application without the need for management personnel to personally go to each area for on-site inspection, thereby improving management efficiency.

[0101] S15, when the alcohol content and the physical index data of the target user reach the configuration conditions, the target user is marked, and a notification of transferring the target user is sent to a designated person.

[0102] Among them, when the configuration conditions are met, it indicates that the target user's alcohol content has been reduced to a normal level, and various physical indicators have also reached normal levels. The target user can be marked as a normal person and removed from the corresponding personnel management area, prompting designated personnel to perform subsequent related processing of the case.

[0103] The designated person may be a staff member responsible for handling subsequent matters.

[0104] In this embodiment, the method further includes:

[0105] Record all user data in each personnel management area;

[0106] When a query instruction for any user is received, the user who triggered the query instruction is obtained as the user to be authenticated;

[0107] Performing authority verification on the user to be authenticated;

[0108] When the user to be authenticated passes the authority check, querying the data of the arbitrary user in the recorded data of all users, and feeding back the queried data to the user to be authenticated; or

[0109] When the user to be authenticated fails the authority check, the query instruction is refused to be responded.

[0110] In the above embodiment, the query of historical personnel management related data is supported, and the user is authenticated before the query to ensure the security of the data.

[0111] It can be seen from the above technical solutions that the present invention can select a target area from each personnel management area in combination with the detected alcohol content of the target user, the target user information and the current occupancy data of each personnel management area, and assign the target user to the target area to realize automatic allocation of personnel without human intervention, so the allocation efficiency is higher, and multi-dimensional factors are combined during allocation to make the allocation result more objective and appropriate. Furthermore, the alcohol content and physical index data of the target user are detected at preset time intervals. When the alcohol content and physical index data of the target user meet the configuration conditions, the target user is marked, and a notification of transfer of the target user is sent to the designated person to realize automatic tracking and management of personnel.

[0112] like Figure 2, which is a functional module diagram of a preferred embodiment of a personnel management device based on alcohol detection of the present invention. The personnel management device based on alcohol detection 11 includes a detection unit 110, an acquisition unit 111, a selection unit 112, an allocation unit 113, and a marking unit 114. The module / unit referred to in the present invention refers to a series of computer program segments that can be executed by a processor and can perform fixed functions, which are stored in a memory. In this embodiment, the functions of each module / unit will be described in detail in subsequent embodiments.

[0113] The detection unit 110 is used to detect the alcohol content of the target user as an initial alcohol concentration in response to the allocation instruction to the target user.

[0114] The target user may be a relevant user in cases such as traffic.

[0115] The allocation instruction may be triggered by relevant staff, such as staff responsible for allocating users.

[0116] In this embodiment, a breath detection method or a blood detection method may be used to detect the alcohol content of the target user, and the present invention does not limit the alcohol content detection method.

[0117] The acquisition unit 111 is used to acquire the target user information of the target user and acquire the current occupancy data of each personnel management area.

[0118] In this embodiment, the target user information may include, but is not limited to, a combination of one or more of the following information: user type, age, gender, mental state, etc.

[0119] In this embodiment, the current occupancy data is used to characterize the occupancy status of each personnel management area.

[0120] The selection unit 112 is used to select a target area from each personnel management area according to the initial alcohol concentration, the target user information and the current occupancy data.

[0121] In this embodiment, the personnel management area includes a first area type and a second area type, and the minimum alcohol content threshold corresponding to the first area type is greater than or equal to the maximum alcohol content threshold corresponding to the second area type. In other words, since the alcohol content of the user corresponding to the first area type is higher, the consciousness may be more unclear or the physical index is worse, so the user corresponding to the first area type needs to be managed more emphatically than the user corresponding to the second area type, and the detection frequency of each detection index of the user corresponding to the first area type can be configured higher, and the number of detection index items can also be configured more.

[0122] Each personnel management area includes a suitable number of people and a full number of people. Usually, the suitable number of people is less than or equal to the full number of people. For example, when the full number of people is 8, in order to maintain order, one person sits every other seat, so the suitable number of people can be configured as 4.

[0123] Each personnel management area corresponds to a corresponding user type, and the user types include male, female, and minor. By configuring different user types for each personnel management area, personnel can be managed in a targeted manner.

[0124] Specifically, the selection unit 112 selects a target area from each personnel management area according to the initial alcohol concentration, the target user information and the current occupancy data, including:

[0125] selecting a target area type from the first area type and the second area type according to the initial alcohol concentration;

[0126] Selecting an area from each personnel management area according to the target area type to form a first candidate area set;

[0127] Acquire a target user type of the target user from the target user information;

[0128] Selecting a first candidate area from the first candidate area set to form a second candidate area set according to the target user type;

[0129] Selecting the second candidate areas with less than full suitable number of people from the second candidate area set according to the current occupancy data to form a third candidate area set, calculating a first difference between the suitable number of people and the current number of people in each third candidate area, and obtaining the third candidate area with the largest first difference from the third candidate area set as the target area; or

[0130] When each second candidate area in the second candidate area set reaches the suitable number of people, second candidate areas that are not full are selected from the second candidate area set to form the third candidate area set, the second difference between the full number of people and the current number of people in each third candidate area is calculated, and the third candidate area with the largest second difference is obtained from the third candidate area set as the target area.

[0131] In the above embodiment, the first screening is performed based on the alcohol concentration, the second screening is performed based on the user type, and then the third screening is performed based on the number of people carried, the suitable number of people, and the full number of people in each area, and finally the most suitable area is selected.

[0132] The allocating unit 113 is configured to allocate the target user to the target area.

[0133] In this embodiment, the target users are assigned to the target areas by comprehensively considering multiple dimensional factors, so that fast and appropriate automatic assignment of users can be achieved.

[0134] In this embodiment, when all personnel management areas corresponding to the target user type have reached the corresponding full population, the target area is selected from the personnel management areas corresponding to other user types.

[0135] For example, a waiting room for drunk people can be reserved by default for women. When all other rooms are full, men can be assigned to this waiting room. If the number of female personnel has reached the full capacity, women will be assigned to other rooms according to the allocation rules based on the appropriate number of people and the full number of people.

[0136] In the above embodiment, when the personnel management area corresponding to the adapted user type is full, in order not to affect the personnel allocation, the corresponding personnel can be allocated to the personnel management area corresponding to other user types to achieve flexible allocation of personnel.

[0137] The detection unit 110 is further configured to detect the alcohol content and physical index data of the target user at preset time intervals.

[0138] The preset time interval may be configured according to actual needs. For example, the preset time interval may be configured as 1 hour.

[0139] The physical index data may include heart rate value, blood pressure value, etc.

[0140] In this embodiment, after detecting the alcohol content and physical index data of the target user at every preset time interval, the identity information of the target user and the time of entering the target area are obtained;

[0141] The device is connected to a configuration display, and displays the identity information of the target user and the time of entering the target area, the alcohol content of the target user and the physical index data on the configuration display.

[0142] The identity information may include, but is not limited to: user name, user photo, ID number, age, etc.

[0143] The configuration display may be deployed in a public space in each personnel management area to facilitate viewing by all relevant personnel.

[0144] Through the above embodiments, the real-time data of users in each personnel management area can be displayed in real time for timely follow-up.

[0145] In this embodiment, after detecting the alcohol content and physical index data of the target user at preset time intervals, when it is detected that the heart rate value in the physical index data is greater than or equal to a configured threshold, a warning prompt message is sent to the designated person.

[0146] The configured threshold may be a heart rate critical value, and if the configured threshold is exceeded, it indicates that the user's heart rate is abnormal and requires timely medical attention.

[0147] The designated personnel may be relevant management personnel or medical staff.

[0148] In the above embodiment, when the user's heart rate is monitored to be abnormal, safety problems can be avoided by timely warning.

[0149] In this embodiment, after detecting the alcohol content and the physical index data of the target user at every preset time interval, the alcohol content and the physical index data of the target user are pushed to a designated application in real time.

[0150] The designated application may also support configuration of each personnel management area, such as configuring the alcohol content range, user type, suitable number of people, and full number of people corresponding to each personnel management area.

[0151] In the above embodiment, by pushing the alcohol content and the physical index data of the target user to the designated application in real time, relevant personnel can directly view the real-time situation of personnel in each personnel management area on the application without the need for management personnel to personally go to each area for on-site inspection, thereby improving management efficiency.

[0152] The marking unit 114 is used to mark the target user when the alcohol content and the physical index data of the target user meet the configuration conditions, and send a notification to transfer the target user to a designated person.

[0153] Among them, when the configuration conditions are met, it indicates that the target user's alcohol content has been reduced to a normal level, and various physical indicators have also reached normal levels. The target user can be marked as a normal person and removed from the corresponding personnel management area, prompting designated personnel to perform subsequent related processing of the case.

[0154] The designated person may be a staff member responsible for handling subsequent matters.

[0155] In this embodiment, all user data in each personnel management area is recorded;

[0156] When a query instruction for any user is received, the user who triggered the query instruction is obtained as the user to be authenticated;

[0157] Performing authority verification on the user to be authenticated;

[0158] When the user to be authenticated passes the authority check, querying the data of the arbitrary user in the recorded data of all users, and feeding back the queried data to the user to be authenticated; or

[0159] When the user to be authenticated fails the authority check, the query instruction is refused to be responded.

[0160] In the above embodiment, the query of historical personnel management related data is supported, and the user is authenticated before the query to ensure the security of the data.

[0161] It can be seen from the above technical solutions that the present invention can select a target area from each personnel management area in combination with the detected alcohol content of the target user, the target user information and the current occupancy data of each personnel management area, and assign the target user to the target area to realize automatic allocation of personnel without human intervention, so the allocation efficiency is higher, and multi-dimensional factors are combined during allocation to make the allocation result more objective and appropriate. Furthermore, the alcohol content and physical index data of the target user are detected at preset time intervals. When the alcohol content and physical index data of the target user meet the configuration conditions, the target user is marked, and a notification of transfer of the target user is sent to the designated person to realize automatic tracking and management of personnel.

[0162] like Figure 3 , which is a schematic diagram of the structure of a computer device of a preferred embodiment of the personnel management method based on alcohol detection of the present invention.

[0163] The computer device 1 may include a memory 12, a processor 13 and a bus, and may also include a computer program stored in the memory 12 and executable on the processor 13, such as a personnel management program based on alcohol detection.

[0164] Those skilled in the art will appreciate that the schematic diagram is merely an example of the computer device 1 and does not constitute a limitation on the computer device 1. The computer device 1 may be a bus-type structure or a star-type structure. The computer device 1 may also include more or less other hardware or software than shown in the diagram, or a different arrangement of components. For example, the computer device 1 may also include input and output devices, network access devices, etc.

[0165] It should be noted that the computer device 1 is only an example, and other existing or future electronic products that are suitable for the present invention should also be included in the protection scope of the present invention and included here by reference.

[0166] Among them, the memory 12 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, disk, optical disk, etc. In some embodiments, the memory 12 can be an internal storage unit of the computer device 1, such as a mobile hard disk of the computer device 1. In other embodiments, the memory 12 can also be an external storage device of the computer device 1, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the computer device 1. Further, the memory 12 can also include both an internal storage unit of the computer device 1 and an external storage device. The memory 12 can not only be used to store application software and various types of data installed in the computer device 1, such as the code of the personnel management program based on alcohol detection, but also can be used to temporarily store data that has been output or is to be output.

[0167] In some embodiments, the processor 13 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 13 is the control core (Control Unit) of the computer device 1, and uses various interfaces and lines to connect various components of the entire computer device 1, and executes or executes programs or modules stored in the memory 12 (for example, executing personnel management programs based on alcohol detection, etc.), and calls data stored in the memory 12 to execute various functions of the computer device 1 and process data.

[0168] The processor 13 executes the operating system of the computer device 1 and various installed applications. The processor 13 executes the applications to implement the steps in the above-mentioned embodiments of the personnel management method based on alcohol detection, for example Figure 1 Steps shown.

[0169] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory 12 and executed by the processor 13 to implement the present invention. The one or more modules / units may be a series of computer-readable instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the computer device 1. For example, the computer program may be divided into a detection unit 110, an acquisition unit 111, a selection unit 112, an allocation unit 113, and a marking unit 114.

[0170] The above-mentioned integrated unit implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, and includes a number of instructions for enabling a computer device (which can be a personal computer, a computer device, or a network device, etc.) or a processor to execute the part of the personnel management method based on alcohol detection described in various embodiments of the present invention.

[0171] If the module / unit integrated in the computer device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware devices through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of each of the above-mentioned method embodiments can be implemented.

[0172] The computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory, etc.

[0173] Furthermore, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the blockchain node, etc.

[0174] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0175] The bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 The bus is represented by only one straight line, but it does not mean that there is only one bus or one type of bus. The bus is configured to realize the connection and communication between the memory 12 and at least one processor 13, etc.

[0176] Although not shown, the computer device 1 may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor 13 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, etc. The computer device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0177] Furthermore, the computer 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 to establish a communication connection between the computer device 1 and other computer devices.

[0178] Optionally, the computer device 1 may further include a user interface, which may be a display, an input unit (such as a keyboard), or a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touch device. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the computer device 1 and to display a visual user interface.

[0179] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.

[0180] Figure 3 Only the computer device 1 having components 12-13 is shown, and it can be understood by those skilled in the art that Figure 3 The structure shown does not constitute a limitation on the computer device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0181] Combination Figure 1 , the memory 12 in the computer device 1 stores a plurality of instructions to implement a personnel management method based on alcohol detection, and the processor 13 can execute the plurality of instructions to implement:

[0182] In response to a dispensing instruction to a target user, detecting an alcohol content of the target user as an initial alcohol concentration;

[0183] Obtaining target user information of the target user, and obtaining current occupancy data of each personnel management area;

[0184] selecting a target area from each personnel management area according to the initial alcohol concentration, the target user information and the current occupancy data;

[0185] assigning the target user to the target area;

[0186] Detecting the target user's alcohol content and physical index data at preset time intervals;

[0187] When the alcohol content and the physical index data of the target user meet the configuration conditions, the target user is marked, and a notification of transferring the target user is sent to a designated person.

[0188] Specifically, the specific implementation method of the processor 13 for the above instructions can refer to Figure 1The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0189] It should be noted that the data involved in this case were all obtained legally.

[0190] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0191] The present invention can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present invention can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present invention can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0192] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0193] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0194] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0195] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.

[0196] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the present invention can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

[0197] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A personnel management method based on alcohol detection, characterized in that: The personnel management method based on alcohol detection includes: In response to a dispensing instruction to a target user, detecting an alcohol content of the target user as an initial alcohol concentration; Obtain target user information of the target user, and obtain current occupancy data of each personnel management area; wherein the personnel management area includes a first area type and a second area type, and the minimum alcohol content threshold corresponding to the first area type is greater than or equal to the maximum alcohol content threshold corresponding to the second area type; each personnel management area includes a suitable number of people and a full number of people; each personnel management area corresponds to a corresponding user type, and the user types include male, female, and minors; the detection frequency of each detection indicator of the user corresponding to the first area type is greater than the detection frequency of each detection indicator of the user corresponding to the second area type, and the number of detection indicator items of the user corresponding to the first area type is greater than the number of detection indicator items of the user corresponding to the second area type; the target user information includes a combination of one or more of the following information: the user type, age, gender, and mental state; The method further comprises: selecting a target area from each personnel management area according to the initial alcohol concentration, the target user information and the current occupancy data, comprising: selecting a target area type from the first area type and the second area type according to the initial alcohol concentration; selecting an area from each personnel management area according to the target area type to form a first candidate area set; obtaining the target user type of the target user from the target user information; selecting a first candidate area from the first candidate area set to form a second candidate area set according to the target user type; selecting the second candidate area with the suitable number of people not full from the second candidate area set to form a third candidate area set according to the current occupancy data, calculating a first difference between the suitable number of people and the current number of people in each third candidate area, and obtaining a third candidate area with the largest first difference from the third candidate area set as the target area; or when each second candidate area in the second candidate area set reaches the suitable number of people, selecting the second candidate area with the full number of people not full from the second candidate area set to form the third candidate area set, calculating a second difference between the full number of people and the current number of people in each third candidate area, and obtaining a third candidate area with the largest second difference from the third candidate area set as the target area; Allocating the target user to the target area; wherein, when the personnel management areas corresponding to the target user type have reached the corresponding full population, selecting the target area from the personnel management areas corresponding to other user types; Detecting the target user's alcohol content and physical index data at preset time intervals; wherein the physical index data includes heart rate value and blood pressure value; When the alcohol content and the physical index data of the target user meet the configuration conditions, the target user is marked, and a notification for transferring the target user is sent to a designated person; wherein the notification is used to prompt the target user to be transferred to the event handling area for subsequent event processing; Wherein, after detecting the alcohol content and the body index data of the target user at every preset time interval, the alcohol content and the body index data of the target user are pushed to the designated application in real time.

2. The personnel management method based on alcohol detection as claimed in claim 1, characterized in that: After detecting the alcohol content and physical index data of the target user at preset time intervals, the method further includes: Obtaining the identity information of the target user and the time of entering the target area; The device is connected to a configuration display, and displays the identity information of the target user and the time of entering the target area, the alcohol content of the target user and the physical index data on the configuration display.

3. The personnel management method based on alcohol detection as claimed in claim 1, characterized in that: After detecting the alcohol content and physical index data of the target user at preset time intervals, the method further includes: When it is detected that the heart rate value in the physical indicator data is greater than or equal to the configured threshold, a warning prompt message is sent to the designated person.

4. The personnel management method based on alcohol detection as claimed in claim 1, characterized in that: The method further comprises: Record all user data in each personnel management area; When a query instruction for any user is received, the user who triggered the query instruction is obtained as the user to be authenticated; Performing authority verification on the user to be authenticated; When the user to be authenticated passes the authority check, querying the data of the arbitrary user in the recorded data of all users, and feeding back the queried data to the user to be authenticated; or When the user to be authenticated fails the authority check, the query instruction is refused to be responded.

5. A personnel management device based on alcohol detection, characterized in that: The personnel management device based on alcohol detection includes: a detection unit, configured to detect an alcohol content of the target user as an initial alcohol concentration in response to a distribution instruction to the target user; an acquisition unit, configured to acquire target user information of the target user, and to acquire current occupancy data of each personnel management area; wherein the personnel management area includes a first area type and a second area type, and a minimum alcohol content threshold corresponding to the first area type is greater than or equal to a maximum alcohol content threshold corresponding to the second area type; each personnel management area includes a suitable number of people and a full number of people; each personnel management area corresponds to a corresponding user type, and the user types include male, female, and minor; a detection frequency of each detection indicator of the user corresponding to the first area type is greater than a detection frequency of each detection indicator of the user corresponding to the second area type, and the number of detection indicator items of the user corresponding to the first area type is greater than the number of detection indicator items of the user corresponding to the second area type; A selection unit is used to select a target area from each personnel management area according to the initial alcohol concentration, the target user information and the current occupancy data, including: selecting a target area type from the first area type and the second area type according to the initial alcohol concentration; selecting an area from each personnel management area according to the target area type to form a first candidate area set; obtaining the target user type of the target user from the target user information; selecting a first candidate area from the first candidate area set to form a second candidate area set according to the target user type; selecting the second candidate area with less than full suitable number of people from the second candidate area set to form a third candidate area set according to the current occupancy data, calculating a first difference between the suitable number of people and the current number of people in each third candidate area, and obtaining a third candidate area with the largest first difference from the third candidate area set as the target area; or when each second candidate area in the second candidate area set reaches the suitable number of people, selecting the second candidate area with less than full full number of people from the second candidate area set to form the third candidate area set, calculating a second difference between the full number of people and the current number of people in each third candidate area, and obtaining a third candidate area with the largest second difference from the third candidate area set as the target area; an allocating unit, configured to allocate the target user to the target area; wherein, when the personnel management areas corresponding to the target user type have reached the corresponding full occupancy number, the target area is selected from the personnel management areas corresponding to other user types; The detection unit is further used to detect the alcohol content and physical index data of the target user at preset time intervals; wherein the physical index data includes a heart rate value and a blood pressure value; a marking unit, used for marking the target user when the alcohol content and the physical index data of the target user meet the configuration conditions, and sending a notification to a designated person to transfer the target user; wherein the notification is used to prompt the target user to be transferred to an event handling area for subsequent event processing; Wherein, after detecting the alcohol content and the body index data of the target user at every preset time interval, the alcohol content and the body index data of the target user are pushed to the designated application in real time.

6. A computer device, characterized in that: The computer device comprises: a memory storing at least one instruction; and A processor executes instructions stored in the memory to implement the personnel management method based on alcohol detection as described in any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction, and the at least one instruction is executed by a processor in a computer device to implement the personnel management method based on alcohol detection as described in any one of claims 1 to 4.