Nothing Special   »   [go: up one dir, main page]

CN114546115A - Attendance management method, device and medium based on electroencephalogram signals - Google Patents

Attendance management method, device and medium based on electroencephalogram signals Download PDF

Info

Publication number
CN114546115A
CN114546115A CN202210144916.9A CN202210144916A CN114546115A CN 114546115 A CN114546115 A CN 114546115A CN 202210144916 A CN202210144916 A CN 202210144916A CN 114546115 A CN114546115 A CN 114546115A
Authority
CN
China
Prior art keywords
user
wearing
brain
attendance
electroencephalogram
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210144916.9A
Other languages
Chinese (zh)
Inventor
陈智慧
连静静
吴寒峰
王晓岸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Brain Up Technology Co ltd
Original Assignee
Beijing Brain Up Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Brain Up Technology Co ltd filed Critical Beijing Brain Up Technology Co ltd
Priority to CN202210144916.9A priority Critical patent/CN114546115A/en
Publication of CN114546115A publication Critical patent/CN114546115A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/015Input arrangements based on nervous system activity detection, e.g. brain waves [EEG] detection, electromyograms [EMG] detection, electrodermal response detection
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/369Electroencephalography [EEG]
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/369Electroencephalography [EEG]
    • A61B5/377Electroencephalography [EEG] using evoked responses
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/369Electroencephalography [EEG]
    • A61B5/377Electroencephalography [EEG] using evoked responses
    • A61B5/378Visual stimuli
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/369Electroencephalography [EEG]
    • A61B5/377Electroencephalography [EEG] using evoked responses
    • A61B5/38Acoustic or auditory stimuli
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C1/00Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
    • G07C1/10Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Theoretical Computer Science (AREA)
  • Psychiatry (AREA)
  • Pathology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Biophysics (AREA)
  • Animal Behavior & Ethology (AREA)
  • Public Health (AREA)
  • Psychology (AREA)
  • Veterinary Medicine (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Acoustics & Sound (AREA)
  • Dermatology (AREA)
  • Neurology (AREA)
  • Neurosurgery (AREA)
  • Human Computer Interaction (AREA)
  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)

Abstract

The application discloses an attendance management method, device, terminal and medium based on electroencephalogram signals. The method comprises the following steps: determining a target brain electrical stimulation mode selected by a wearing user of the brain-computer interface equipment based on a plurality of preset brain electrical stimulation modes; acquiring an electroencephalogram signal which is generated by a user in a target electroencephalogram stimulation mode and comprises a user key; carrying out identity authentication on the wearing user according to the electroencephalogram signal; and carrying out attendance management on the wearing user according to the identity verification result and a preset attendance card punching mode. This application obtains the mode including the EEG of user's password through amazing the user, has played the effect of only sign user with the EEG, has realized carrying out user authentication with the brain wave as the characteristic, replaces the purpose of authentication modes such as traditional fingerprint, iris, has promoted user authentication's precision, solves the blank problem of EEG in the attendance management field among the prior art, has expanded EEG's application.

Description

基于脑电信号的考勤管理方法、装置及介质EEG-based attendance management method, device and medium

技术领域technical field

本申请涉及脑科学技术领域,具体而言,本申请涉及一种基于脑电信号的考勤管理方法、装置及介质。The present application relates to the technical field of brain science, and in particular, the present application relates to a method, device and medium for attendance management based on EEG signals.

背景技术Background technique

脑机接口(Brain Computer Interface,BCI)是一种在人或动物大脑与外部设备之间创建的直接连接,实现脑与设备的信息交换的装置。目前脑科学研究主要利用脑机接口设备来采集脑电信号,再对脑电信号进行分析研究。目前的脑电信号研究主要在睡眠分析领域,在考勤打卡领域并无应用。因此,亟待提供一种利用脑电信号来实现考勤管理的方案。Brain Computer Interface (BCI) is a device that creates a direct connection between the human or animal brain and an external device, and realizes the exchange of information between the brain and the device. At present, brain research mainly uses brain-computer interface equipment to collect EEG signals, and then analyze and study the EEG signals. The current EEG research is mainly in the field of sleep analysis, and has no application in the field of attendance clocking. Therefore, there is an urgent need to provide a solution for using EEG signals to realize attendance management.

发明内容SUMMARY OF THE INVENTION

本申请提供了一种基于脑电信号的考勤管理方法、装置、电子设备及计算机可读存储介质,可以解决上述至少一个问题。所述技术方案如下:The present application provides an EEG-based attendance management method, device, electronic device, and computer-readable storage medium, which can solve at least one of the above problems. The technical solution is as follows:

第一方面,提供了一种基于脑电信号的考勤管理方法,该方法包括:In a first aspect, an EEG-based attendance management method is provided, the method comprising:

基于预设的多种脑电刺激模式,确定脑机接口设备的佩戴用户所选定的目标脑电刺激模式;Based on the preset multiple brain electrical stimulation modes, determine the target brain electrical stimulation mode selected by the wearing user of the brain-computer interface device;

获取佩戴用户在目标脑电刺激模式下产生的包括用户秘钥的脑电信号;Obtain the EEG signals including the user's secret key generated by the wearing user in the target EEG stimulation mode;

根据脑电信号对佩戴用户进行身份验证;Authenticate the wearing user according to the EEG signal;

依据身份验证结果和预定的考勤打卡模式对佩戴用户进行考勤管理,以完成对佩戴用户的考勤管理。Perform attendance management on wearing users based on the identity verification results and the scheduled attendance punch-in mode, so as to complete the attendance management on wearing users.

进一步地,获取佩戴用户在目标脑电刺激模式下产生的包括用户秘钥的脑电信号的步骤之前,该方法还包括:Further, before the step of acquiring the EEG signal including the user's secret key generated by the wearing user under the target EEG stimulation mode, the method further includes:

确定脑机接口设备的佩戴状态;Determine the wearing status of the brain-computer interface device;

获取佩戴用户在目标脑电刺激模式下产生的包括用户秘钥的脑电信号的步骤,包括:The steps of acquiring the EEG signal including the user's secret key generated by the wearing user under the target EEG stimulation mode include:

若脑机接口设备的佩戴状态为佩戴,则获取佩戴用户在目标脑电刺激模式下产生的包括用户秘钥的脑电信号。If the wearing state of the brain-computer interface device is wearing, obtain the EEG signal including the user's secret key generated by the wearing user in the target EEG stimulation mode.

进一步地,获取佩戴用户在目标脑电刺激模式下产生的包括用户秘钥的脑电信号的步骤,包括:Further, the step of acquiring the EEG signal including the user's secret key generated by the wearing user under the target EEG stimulation mode includes:

若佩戴状态为脱落,则生成佩戴提示指令并发送到脑机接口设备,以使脑机接口设备对佩戴提示指令进行语音处理。If the wearing state is off, a wearing prompt instruction is generated and sent to the brain-computer interface device, so that the brain-computer interface device performs voice processing on the wearing prompt instruction.

进一步地,确定脑机接口设备的佩戴状态的步骤,包括:Further, the step of determining the wearing state of the brain-computer interface device includes:

若获取来自脑机接口设备的上传数据,且上传数据包括脑电信号或上传数据包括脑电信号和心率血氧数据,则确定脑机接口设备的佩戴状态为佩戴。If the uploaded data from the brain-computer interface device is acquired, and the uploaded data includes the EEG signal or the uploaded data includes the EEG signal and the heart rate and blood oxygen data, it is determined that the wearing state of the brain-computer interface device is wearing.

进一步地,根据脑电信号对佩戴用户进行身份验证的步骤,包括:Further, the step of authenticating the wearing user according to the EEG signal includes:

将脑电信号在预存储的脑电信号数据中进行匹配,脑电信号数据库包括若干用户,以及若干用户分别对应的用于标识身份的脑电信号;Matching the EEG signals in the pre-stored EEG signal data, the EEG signal database includes several users, and the EEG signals for identifying the identities corresponding to the several users respectively;

若匹配成功,则确定佩戴用户通过身份验证。If the matching is successful, it is determined that the wearing user has passed the authentication.

进一步地,依据验证结果和预定的考勤打卡模式,对佩戴用户进行考勤管理的步骤,包括:Further, according to the verification result and the predetermined attendance punch-in mode, the steps of performing attendance management on the wearing user include:

若验证结果为通过身份验证,则生成考勤打卡指令;If the verification result is identity verification, an attendance punch-in instruction will be generated;

根据预定的考勤打卡模式对考勤打卡指令进行处理。The attendance punch-in instruction is processed according to the predetermined attendance punch-in mode.

进一步地,若验证结果为通过身份验证,则生成考勤打卡指令的步骤之前,该方法还包括:Further, if the verification result is that the identity verification is passed, before the step of generating the attendance punch-in instruction, the method further includes:

确定佩戴用户的地理位置;Determine the geographic location of the wearing user;

若验证结果为通过身份验证,则生成考勤打卡指令的步骤,包括:If the verification result is through identity verification, the steps of generating an attendance punch-in instruction include:

若地理位置位于预定的考勤区域,且验证结果为通过身份验证,则生成考勤打卡指令。If the geographic location is located in the predetermined attendance area, and the verification result is that the identity verification is passed, an attendance punch-in instruction will be generated.

第二方面,提供了一种基于脑电信号的考勤管理装置,该装置包括:In a second aspect, an EEG-based attendance management device is provided, the device comprising:

刺激模式确定模块,用于基于预设的多种脑电刺激模式,确定脑机接口设备的佩戴用户所选定的目标脑电刺激模式;The stimulation mode determination module is used for determining the target brain electrical stimulation mode selected by the wearer of the brain-computer interface device based on the preset multiple brain electrical stimulation modes;

脑电信号获取模块,用于获取佩戴用户在目标脑电刺激模式下产生的包括用户秘钥的脑电信号;The EEG signal acquisition module is used to obtain the EEG signal including the user's secret key generated by the wearing user in the target EEG stimulation mode;

用户身份验证模块,用于根据脑电信号对佩戴用户进行身份验证;The user authentication module is used to authenticate the wearing user according to the EEG signal;

脑电考勤管理模块,用于依据身份验证结果和预定的考勤打卡模式对佩戴用户进行考勤管理,以完成对佩戴用户的考勤管理。The EEG attendance management module is used to manage the attendance of the wearing users according to the identity verification results and the scheduled attendance punch-in mode, so as to complete the attendance management of the wearing users.

进一步地,脑电信号获取模块在获取佩戴用户在目标脑电刺激模式下产生的包括用户秘钥的脑电信号之前,还包括:Further, before acquiring the EEG signal including the user's secret key generated by the wearing user under the target EEG stimulation mode, the EEG signal acquisition module further includes:

佩戴状态确定子模块,用于确定脑机接口设备的佩戴状态;The wearing state determination sub-module is used to determine the wearing state of the brain-computer interface device;

脑电信号获取模块包括:The EEG signal acquisition module includes:

第一处理子模块,用于若脑机接口设备的佩戴状态为佩戴,则获取佩戴用户在目标脑电刺激模式下产生的包括用户秘钥的脑电信号。The first processing submodule is configured to acquire the EEG signal including the user's secret key generated by the wearing user in the target EEG stimulation mode if the wearing state of the brain-computer interface device is wearing.

进一步地,脑电信号获取模块还包括:Further, the EEG signal acquisition module also includes:

第二处理子模块,用于若佩戴状态为脱落,则生成佩戴提示指令并发送到脑机接口设备,以使脑机接口设备对佩戴提示指令进行语音处理。The second processing submodule is configured to generate a wearing prompt instruction and send it to the brain-computer interface device if the wearing state is off, so that the brain-computer interface device can perform voice processing on the wearing prompt instruction.

更进一步地,佩戴状态确定子模块包括:Further, the wearing state determination sub-module includes:

信号识别单元,用于若获取来自脑机接口设备的上传数据,且上传数据包括脑电信号或上传数据包括脑电信号和心率血氧数据,则确定脑机接口设备的佩戴状态为佩戴。The signal identification unit is configured to determine that the wearing state of the brain-computer interface device is wearing if the uploaded data from the brain-computer interface device is acquired, and the uploaded data includes the EEG signal or the uploaded data includes the EEG signal and the heart rate and blood oxygen data.

进一步地,用户身份验证模块包括:Further, the user authentication module includes:

脑电信号匹配子模块,用于将脑电信号在预存储的脑电信号数据中进行匹配,脑电信号数据库包括若干用户,以及若干用户分别对应的用于标识身份的脑电信号;an EEG signal matching sub-module, used to match the EEG signals in the pre-stored EEG signal data, the EEG signal database includes several users, and the EEG signals corresponding to the several users for identifying identities;

验证结果确定子模块,用于若匹配成功,则确定佩戴用户通过身份验证。The verification result determination sub-module is used to determine that the wearing user has passed the identity verification if the matching is successful.

进一步地,脑电考勤管理模块包括:Further, the EEG attendance management module includes:

指令生成子模块,用于若身份验证结果为通过身份验证,则生成考勤打卡指令;The instruction generation sub-module is used to generate attendance punch-in instruction if the authentication result is passed authentication;

考勤处理子模块,用于根据预定的考勤打卡模式对考勤打卡指令进行处理。The attendance processing sub-module is used to process the attendance punching instruction according to the predetermined attendance punching mode.

更进一步地,指令生成子模块在若身份验证结果为通过身份验证,则生成考勤打卡指令的步骤之前,还包括:Furthermore, before the step of generating the attendance punch-in instruction if the identity verification result is that the identity verification is passed, the instruction generation sub-module further includes:

地理位置确定单元,用于确定佩戴用户的地理位置;a geographic location determination unit, used to determine the geographic location of the wearing user;

指令生成子模块包括:The instruction generation submodule includes:

考勤指令生成单元,用于若地理位置位于预定的考勤区域,且身份验证结果为通过身份验证,则生成考勤打卡指令。The attendance instruction generating unit is used for generating an attendance punching instruction if the geographic location is located in a predetermined attendance area and the result of the identity verification is that the identity verification is passed.

第三方面,提供了一种电子设备,该电子设备包括:In a third aspect, an electronic device is provided, the electronic device comprising:

一个或多个处理器;one or more processors;

存储器;memory;

一个或多个应用程序,其中一个或多个应用程序被存储在存储器中并被配置为由一个或多个处理器执行,一个或多个程序配置用于:执行上述基于脑电信号的考勤管理方法。One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to: perform the above-mentioned EEG signal-based attendance management method.

第四方面,提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述基于脑电信号的考勤管理方法。In a fourth aspect, a computer-readable storage medium is provided on which a computer program is stored, and when the program is executed by a processor, the above-mentioned method for attendance management based on an EEG signal is implemented.

本申请实施例提供的技术方案带来的有益效果是:通过在预配置的多种脑电刺激模式中确定所选定的目标脑电刺激模式,来对脑电帽的佩戴用户进行刺激,从而得到包括用户秘钥的脑电信号,从而根据该脑电信号对佩戴用户进行身份验证,进而根据身份验证结果结合预定的考勤打卡模式来完成对佩戴用户的考勤管理,这种通过刺激用户得到包括用户密码的脑电信号的方式,起到了以脑电信号来唯一标识用户的效果,实现了将脑波作为特征来进行用户身份验证,替代传统的指纹、虹膜等身份验证方式的目的,提升了用户身份验证的精度,解决现有技术中脑电信号在考勤管理领域的空白的问题,拓展了脑电信号的应用领域。The beneficial effects brought by the technical solutions provided in the embodiments of the present application are: by determining the selected target brain electrical stimulation mode among the pre-configured multiple brain electrical stimulation modes, the user wearing the EEG cap is stimulated, thereby Obtain the EEG signal including the user's secret key, so as to authenticate the wearing user according to the EEG signal, and then complete the attendance management of the wearing user according to the authentication result combined with the predetermined attendance punch-in mode. The EEG signal method of the user password has the effect of uniquely identifying the user with the EEG signal, realizing the purpose of using the brain wave as a feature for user authentication, replacing the traditional authentication methods such as fingerprints and iris, and improving the The accuracy of user identity verification solves the blank problem of EEG signals in the field of attendance management in the prior art, and expands the application field of EEG signals.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对本申请实施例描述中所需要使用的附图作简单地介绍。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments of the present application.

图1为本申请实施例提供的基于脑电信号的考勤管理方法的流程示意图;1 is a schematic flowchart of an EEG-based attendance management method provided by an embodiment of the present application;

图2为本申请实施例提供的基于脑电信号的考勤管理方法的一个实施例的应用系统的结构示意图;2 is a schematic structural diagram of an application system of an embodiment of an EEG-based attendance management method provided by an embodiment of the present application;

图3为本申请实施例提供的基于脑电信号的考勤管理方法的一个实施例的应用系统中脑机接口设备的一个实施例的电极分布结构示意图;3 is a schematic diagram of the electrode distribution structure of an embodiment of a brain-computer interface device in an application system of an embodiment of an EEG signal-based attendance management method provided by an embodiment of the present application;

图4为本申请实施例提供的基于脑电信号的考勤管理方法的一个实施例的应用系统中脑电刺激模式提供的视觉刺激图像的示意图;以及4 is a schematic diagram of a visual stimulation image provided by a brain electrical stimulation mode in an application system of an embodiment of an EEG signal-based attendance management method provided by an embodiment of the present application; and

图5为本申请实施例提供的基于脑电信号的考勤管理装置的结构示意图。FIG. 5 is a schematic structural diagram of an EEG-based attendance management apparatus provided by an embodiment of the present application.

具体实施方式Detailed ways

下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本申请,而不能解释为对本申请的限制。The following describes in detail the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, but not to be construed as a limitation on the present application.

本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本申请的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。It will be understood by those skilled in the art that the singular forms "a", "an", "the" and "the" as used herein can include the plural forms as well, unless expressly stated otherwise. It should be further understood that the word "comprising" used in the specification of this application refers to the presence of stated features, integers, steps, operations, elements and/or components, but does not preclude the presence or addition of one or more other features, Integers, steps, operations, elements, components and/or groups thereof. It will be understood that when we refer to an element as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Furthermore, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combination of one or more of the associated listed items.

下面以具体地实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本申请的实施例进行描述。The technical solutions of the present application and how the technical solutions of the present application solve the above-mentioned technical problems will be described in detail below with specific examples. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.

本申请实施例提供了一种基于脑电信号的考勤管理方法,如图1所示,该方法包括:步骤S101至步骤S104。An embodiment of the present application provides a method for attendance management based on an EEG signal. As shown in FIG. 1 , the method includes steps S101 to S104 .

步骤S101、基于预设的多种脑电刺激模式,确定脑机接口设备的佩戴用户所选定的目标脑电刺激模式。Step S101 , determining a target brain electrical stimulation mode selected by a user wearing the brain-computer interface device based on multiple preset brain electrical stimulation modes.

具体地,电子设备基于预设的多种脑电刺激模式,确定脑机接口设备的佩戴用户所选定的目标脑电刺激模式。其中,电子设备可以为与脑机接口设备连接的手机、平板、PC机、VR装置等。应用时,电子设备可以通过无线通信协与脑机接口设备连接,也可以通过数据传输线进行连接。Specifically, the electronic device determines a target brain electrical stimulation mode selected by a user wearing the brain-computer interface device based on multiple preset brain electrical stimulation modes. The electronic device may be a mobile phone, tablet, PC, VR device, etc. connected to the brain-computer interface device. In application, the electronic device can be connected to the brain-computer interface device through a wireless communication protocol, or can be connected through a data transmission line.

在本申请实施例中,脑电刺激模式用于表征用于刺激用户产生符合预定要求的脑诱发电位的方式。具体地,脑电刺激模式包括听觉刺激、视觉刺激等。In the embodiments of the present application, the electrical brain stimulation mode is used to characterize the manner for stimulating the user to generate brain evoked potentials that meet predetermined requirements. Specifically, the brain electrical stimulation mode includes auditory stimulation, visual stimulation, and the like.

在本申请实施例中,脑机接口设备用于表征具有脑电信号采集功能的头戴装置。应用时,可以将脑机接口设备设置为脑电帽、脑电环等。具体地,脑接接口设备一般包括依次连接的电极、前端电路和数字电路,其中,电极可以安装于脑电帽(即具有脑电信号采集功能的头戴装置)的前额位置,从而通过前额位置的电极检测用户的脑电信号。In the embodiments of the present application, the brain-computer interface device is used to characterize a head-mounted device with an EEG signal acquisition function. In application, the brain-computer interface device can be set as an EEG cap, an EEG ring, etc. Specifically, a brain-connected interface device generally includes electrodes, a front-end circuit, and a digital circuit that are connected in sequence, wherein the electrodes can be installed on the forehead position of an EEG cap (that is, a head-mounted device with an EEG signal acquisition function), so as to pass the forehead position The electrodes detect the user's EEG signals.

具体地,可以在检测到考勤管理应用被启动时执行步骤S101。例如,若电子设备扫描脑机接口设备上的二维码并跳转到考勤管理应用时,确定考勤管理应用被启动,此时可以提供针对多种脑电刺激模式的交互界面,以供佩戴用户通过交互界面进行选择。Specifically, step S101 may be executed when it is detected that the attendance management application is activated. For example, if the electronic device scans the QR code on the brain-computer interface device and jumps to the attendance management application, it is determined that the attendance management application is activated. At this time, an interactive interface for various brain electrical stimulation modes can be provided for the wearing user. Selection is made through the interactive interface.

步骤S102、获取佩戴用户在目标脑电刺激模式下产生的包括用户秘钥的脑电信号。Step S102, acquiring the EEG signal including the user's secret key generated by the wearing user in the target EEG stimulation mode.

在本申请实施例中,包括用户秘钥的脑电信号用于表征佩戴用户的大脑在不同脑电刺激模式下执行密码输入活动时的电波变化。例如,若目标脑电刺激模式为视觉刺激,电子设备则可以提供针对密码输入的刺激交互界面,以使用户通过观察该刺激交互界面来得到其大脑思考密码时的大脑波动,从而得到包括用户秘钥的脑电信号。In the embodiment of the present application, the EEG signal including the user's secret key is used to represent the electric wave changes of the wearing user's brain when the password input activity is performed in different EEG stimulation modes. For example, if the target brain electrical stimulation mode is visual stimulation, the electronic device can provide a stimulation interactive interface for password input, so that the user can obtain the brain fluctuations when his brain thinks about the password by observing the stimulation interactive interface, so as to obtain information including the user secret code. key's EEG signals.

步骤S103、根据脑电信号对佩戴用户进行身份验证。Step S103 , performing identity verification on the wearing user according to the EEG signal.

具体地,可以将脑电信号直接与预存储的脑电信号进行比较,也可以计算该脑电信号的加密值,从而根据加密值来完成身份验证。Specifically, the EEG signal can be directly compared with the pre-stored EEG signal, and the encrypted value of the EEG signal can also be calculated, so as to complete the authentication according to the encrypted value.

步骤S104、依据身份验证结果和预定的考勤打卡模式对佩戴用户进行考勤管理,以完成对佩戴用户的考勤管理。Step S104 , performing attendance management on the wearing user according to the identity verification result and the predetermined attendance punching mode, so as to complete the attendance management on the wearing user.

在本申请实施例中,考勤管理用于表征对用户出勤情况进行管理的系统。In this embodiment of the present application, attendance management is used to represent a system for managing user attendance.

具体地,考勤管理可以包括自动管理和手动管理模式。其中,自动管理模式是指无需被管理用户额外执行操作即可完成打卡的模式;手动管理模式是指需要被管理用户额外执行控制操作才能完成打卡的模式。例如,若考勤管理为手动管理模式,那么可以生成“打卡”控件,并在检测到用户对“打卡”控件的单击时完成打卡。Specifically, attendance management can include automatic management and manual management modes. Among them, the automatic management mode refers to a mode in which the check-in can be completed without additional operations performed by the managed user; the manual management mode refers to a mode in which additional control operations are required to be performed by the managed user to complete the check-in. For example, if the attendance management is in the manual management mode, the "Punch" control can be generated, and the punch in is completed when the user's click on the "Punch" control is detected.

本申请实施例通过在预配置的多种脑电刺激模式中确定所选定的目标脑电刺激模式,来对脑电帽的佩戴用户进行刺激,从而得到包括用户秘钥的脑电信号,从而根据该脑电信号对佩戴用户进行身份验证,进而根据身份验证结果结合预定的考勤打卡模式来完成对佩戴用户的考勤管理,这种通过刺激用户得到包括用户密码的脑电信号的方式,起到了以脑电信号来唯一标识用户的效果,实现了将脑波作为特征来进行用户身份验证,替代传统的指纹、虹膜等身份验证方式的目的,提升了用户身份验证的精度,解决现有技术中脑电信号在考勤管理领域的空白的问题,拓展了脑电信号的应用领域。In the embodiment of the present application, the selected target brain electrical stimulation mode is determined from the pre-configured multiple brain electrical stimulation modes to stimulate the user wearing the EEG cap, so as to obtain the EEG signal including the user's secret key, thereby The wearing user is authenticated according to the EEG signal, and then the attendance management of the wearing user is completed according to the authentication result combined with the predetermined attendance punch-in mode. This method of stimulating the user to obtain the EEG signal including the user password plays a role in The effect of uniquely identifying the user with the EEG signal realizes the purpose of using the brain wave as a feature for user authentication, replacing the traditional authentication methods such as fingerprints and iris, improving the accuracy of user authentication, and solving the problems in the prior art. The blank problem of EEG signals in the field of attendance management has expanded the application field of EEG signals.

在一些实现方式中,步骤S102获取佩戴用户在目标脑电刺激模式下产生的包括用户秘钥的脑电信号的步骤之前,该方法还包括:步骤S1021(图中未示出)、确定脑接接口设备的佩戴状态;步骤S102进一步包括:步骤S1022(图中未示出)、若脑机接口设备的佩戴状态为佩戴,则基于预配置的多种刺激模式,确定所选定的针对脑机接口设备的佩戴用户的脑电刺激模式。In some implementations, before step S102 acquires the EEG signal including the user key generated by the wearing user in the target EEG stimulation mode, the method further includes: step S1021 (not shown in the figure), determining the brain connection The wearing state of the interface device; Step S102 further includes: Step S1022 (not shown in the figure), if the wearing state of the brain-computer interface device is wearing, then determine the selected brain-computer interface device based on the pre-configured multiple stimulation modes The brain electrical stimulation mode of the wearing user of the interface device.

具体地,脑机接口设备的佩戴状态可以通过判断电子设备是否接收到脑机接口设备发送的生物电数据来进行判断。Specifically, the wearing state of the brain-computer interface device can be determined by judging whether the electronic device receives the bioelectric data sent by the brain-computer interface device.

在一些实现方式中,骤S102获取佩戴用户在目标脑电刺激模式下产生的包括用户秘钥的脑电信号的步骤之前,该方法还包括:步骤S1021、确定脑接接口设备的佩戴状态;步骤S102进一步包括:步骤S1023(图中未示出)、若佩戴状态为脱落,则生成佩戴提示指令并发送到脑机接口设备,以使脑机接口设备对佩戴提示指令进行语音处理。In some implementations, before step S102 acquires the EEG signal including the user key generated by the wearing user in the target EEG stimulation mode, the method further includes: step S1021 , determining the wearing state of the brain-connected interface device; step S102 further includes: step S1023 (not shown in the figure), if the wearing state is off, generating a wearing prompt instruction and sending it to the brain-computer interface device, so that the brain-computer interface device performs voice processing on the wearing prompt instruction.

具体地,佩戴提示指令可以包括具体语音播报信息,如“请佩戴脑机接口,否则无法完成打卡”等提示内容;或者佩戴提示指令可以包括针对体语音播报信息的标签,如佩戴指示指令为标签T1,那么电子设备将该标签T1发送至脑机接口设备,以使脑机接口设备查询本地存储的T1指向的语音播报信息,并进行播放。Specifically, the wearing prompt instruction may include specific voice broadcast information, such as "please wear the brain-computer interface, otherwise the check-in cannot be completed" and other prompt contents; or the wearing prompt instruction may include a label for the body voice broadcast information, such as the wearing instruction instruction is a label T1, then the electronic device sends the tag T1 to the brain-computer interface device, so that the brain-computer interface device queries the locally stored voice broadcast information pointed to by T1 and plays it.

在一些实现方式中,步骤S1021确定脑接接口设备的佩戴状态进一步包括:In some implementations, the step S1021 determining the wearing state of the brain-connected interface device further includes:

若获取来自脑机接口设备的上传数据,且上传数据包括脑电信号,或上传数据包括脑电信号和心率血氧数据,则确定脑机接口设备的佩戴状态为佩戴。If the uploaded data from the brain-computer interface device is acquired, and the uploaded data includes the EEG signal, or the uploaded data includes the EEG signal and the heart rate and blood oxygen data, it is determined that the wearing state of the brain-computer interface device is wearing.

本申请实施例采用的脑机接口设备可以具有采集血氧数据的功能,也可以同时具有血氧数据采集和脑电信号采集的功能。应用时,若用户正确佩戴脑机接口设备,那么电子设备可以获取到脑机接口设备采集到的佩戴用户的脑电信号;若用户未正确佩戴脑机接口设备或者未佩戴脑机接口设备,那么脑机接口设备无法采集到该用户的脑电信号,电子设备更无法获取到脑机接口设备上传的该用户的脑电信号。The brain-computer interface device used in the embodiments of the present application may have the function of collecting blood oxygen data, and may also have the functions of collecting blood oxygen data and electroencephalogram signal at the same time. During application, if the user wears the brain-computer interface device correctly, the electronic device can obtain the EEG signals of the wearing user collected by the brain-computer interface device; if the user does not wear the brain-computer interface device correctly or does not wear the brain-computer interface device, then The brain-computer interface device cannot collect the user's EEG signal, and the electronic device cannot obtain the user's EEG signal uploaded by the brain-computer interface device.

在一些实现方式中,如图1所示,步骤S103根据脑电信号对佩戴用户进行身份验证进一步包括:In some implementations, as shown in FIG. 1 , step S103 further includes:

步骤S1031(图中未示出)、将脑电信号在预存储的脑电信号数据库中进行匹配,脑电信号数据库包括若干用户标识,以及若干用户标识分别对应的包括用户秘钥的的脑电信号;In step S1031 (not shown in the figure), the EEG signals are matched in a pre-stored EEG signal database, the EEG signal database includes several user identifiers, and the EEG signals corresponding to the several user identifiers include the user secret key respectively. Signal;

步骤S1032(图中未示出)、若匹配成功,则确定佩戴用户通过身份验证。Step S1032 (not shown in the figure), if the matching is successful, it is determined that the wearing user has passed the identity verification.

具体地,脑电信号数据库可以存储在电子设备本地,也可以存储在云端。例如,若脑电信号数据库存储在云端,则电子设备将脑电信号发送至云端服务器,以使云端服务器根据该脑电信号在脑电信号数据库中进行匹配,并获取来自云端服务器的匹配结果,根据该匹配结果来确定匹配是否成功。Specifically, the EEG signal database can be stored locally on the electronic device, or can be stored in the cloud. For example, if the EEG signal database is stored in the cloud, the electronic device sends the EEG signal to the cloud server, so that the cloud server matches the EEG signal database according to the EEG signal, and obtains the matching result from the cloud server, Whether the matching is successful is determined according to the matching result.

本申请实施例中将脑电信号数据库存储在电子设备本地,电子设备将步骤S102获取到的包括用户秘钥的脑电信号在本地进行匹配。In the embodiment of the present application, the EEG signal database is stored locally in the electronic device, and the electronic device locally matches the EEG signal including the user's secret key obtained in step S102.

在一些实现方式中,如图1所示,步骤S104依据验证结果和预定的考勤打卡模式对佩戴用户进行考勤管理进一步包括:In some implementations, as shown in FIG. 1 , step S104 further includes:

步骤S1041(图中未示出)、若身份验证结果为通过身份验证,则生成考勤打卡指令;Step S1041 (not shown in the figure), if the result of the identity verification is to pass the identity verification, then generate an attendance check-in instruction;

步骤S1042(图中未示出)、根据预定的考勤打卡模式对考勤打卡指令进行处理,以完成对佩戴用户的考勤管理。In step S1042 (not shown in the figure), the attendance clock-in instruction is processed according to the predetermined attendance clock-in mode, so as to complete the attendance management of the wearing user.

具体地,预设的考勤打卡模式可以为手动打卡模式,也可以为自动打卡模式。更具体地,可以提供针对考勤打卡模式的用户配置界面,以使用户根据该用户配置界面来在手动打卡模式和自动打卡模式中进行选择,以确定出预设的考勤打卡模式。Specifically, the preset attendance punch-in mode may be a manual punch-in mode or an automatic punch-in mode. More specifically, a user configuration interface for the attendance punch-in mode may be provided, so that the user can select a manual punch-in mode and an automatic punch-in mode according to the user configuration interface to determine a preset attendance punch-in mode.

具体地,预设的考勤打卡模式可以包括两种打卡类型,如开始打卡和结束打卡。应用时,可以分别为这两种打卡类型设置不同的配置控件,从而实现为这两种打卡类型分别设置考勤打卡模式的目的。例如,开始打卡可以设置为手动打卡模式,结束打卡可以设置为自动打卡模式;或者开始打卡可以设置为自动打卡模式,结束打卡可以设置为手动打卡模式。Specifically, the preset attendance punch-in mode may include two punch-in types, such as start punch-in and end punch-in. During application, different configuration controls can be set for these two punching types, so as to achieve the purpose of setting attendance punching modes for these two punching types respectively. For example, start punching can be set to manual punching mode, end punching can be set to automatic punching mode; or start punching can be set to automatic punching mode, end punching can be set to manual punching mode.

在一些实现方式中,步骤S1041若身份验证结果为通过身份验证,则生成考勤打卡指令之前,该方法还包括:步骤S1043(图中未示出)、确定佩戴用户的地理位置;步骤S1041若身份验证结果为通过身份验证,则生成考勤打卡指令的步骤,包括:步骤S1044(图中未示出)、若地理位置位于预定的考勤区域,且验证结果为通过身份验证,则生成考勤打卡指令。In some implementations, if the result of the identity verification in step S1041 is that the identity verification is passed, before generating the attendance punch-in instruction, the method further includes: step S1043 (not shown in the figure), determining the geographic location of the wearing user; step S1041 if the identity If the verification result is to pass the identity verification, the step of generating an attendance punch-in instruction includes: step S1044 (not shown in the figure), if the geographic location is located in the predetermined attendance area, and the verification result is that the identity verification is passed, then the attendance punch-in instruction is generated.

具体地,可以利用电子设备的GPS定位功能来确定佩戴用户的地理位置。Specifically, the GPS positioning function of the electronic device can be used to determine the geographic location of the wearing user.

具体地,预定的考勤区域可以是固定不变的,也可以是根据任务应用场景所处区域随时调整的。例如,若任务应用场景为外派佩戴用户张三至A小区执行维修任务,那么电子设备检测到该佩戴用户的当前地理位置为A小区且该用户身份验证通过时,执行步骤S1041,即生成考勤打卡指令。Specifically, the predetermined attendance area may be fixed, or may be adjusted at any time according to the area where the task application scenario is located. For example, if the task application scenario is to send the wearing user Zhang San to the A cell to perform a maintenance task, then the electronic device detects that the wearing user's current geographical location is the A cell and the user's identity verification passes, and executes step S1041, that is, generates an attendance check. Card instruction.

下面结合图2所示的应用系统来对本申请实施例提供的基于脑电信号的考勤管理方法进行详细说明。图2所示的应用系统包括脑机接口设备和电子设备,脑机接口设备包括具有脑电采集功能的头戴装置101、具有脑电采集功能的安全帽102和电极帽103,电子设备包括手机201和PC机202。其中,电极帽103为按照国际标准10-20系统设置有电极的头戴帽,该头戴帽上电极分布如图3所示,根据该头戴帽上分布的电极,来采集大脑皮层区域的电信号;本申请实施例中头戴装置101和安全帽102均依次包括电极、前端电路和数字电路,数字电路包括通信模块。本申请实施例中将通信模块设置为蓝牙模块,应用时,先将头戴装置101和安全帽102分别与手机201(下面以手机为例进行详细说明)或PC机202蓝牙连接,而电极帽103则可以通过连接数据线,从而通过数据连接至手机201。建立连接后,手机201提供可供选择的脑电刺激模式。手机201检测到用户的选择操作时,将该选择操作指向的脑电刺激模式作为目标脑电刺激模式。假设这里的目标脑电刺激模式为视觉刺激模式,那么手机201可以输出图4来对用户进行视觉刺激,手机201控制图4中各符号的闪烁来达到对用户的刺激目的。在对用户进行视觉刺激前,手机201通过判断是否能够接收到电极帽(下面以电极帽103为例进行说明)发送的脑电信号,来确定电极帽103的佩戴状态。若电极帽103的佩戴状态为佩戴,则确定将该脑电信号在预存的脑电信号数据库包括的各个脑电信号进行匹配,并在匹配成功的情形下,手机201控制图4中各符号的闪烁来刺激用户,使用户按照预设的用户秘钥来观看图4中的符号,从而使脑机接口设备检测到包括用户秘钥的脑电信号(即按照预设的用户秘钥来注视图4中的符号来得到包括用户秘钥的脑电信号),并发送至手机201。手机201获取到该脑电信号后进行身份验证,若验证结果为验证通过,则生成打卡指令,并依据该打卡指令与预定的考勤打卡模式进行处理,完成用户的考勤管理。The EEG signal-based attendance management method provided by the embodiment of the present application will be described in detail below with reference to the application system shown in FIG. 2 . The application system shown in FIG. 2 includes a brain-computer interface device and an electronic device. The brain-computer interface device includes a head-mounted device 101 with an EEG acquisition function, a safety helmet 102 and an electrode cap 103 with an EEG acquisition function, and the electronic device includes a mobile phone. 201 and PC 202. The electrode cap 103 is a head-wearing cap provided with electrodes according to the international standard 10-20 system. The electrodes on the head-wearing cap are distributed as shown in FIG. 3 . Electrical signal; in this embodiment of the present application, both the head-mounted device 101 and the safety helmet 102 include electrodes, a front-end circuit and a digital circuit in sequence, and the digital circuit includes a communication module. In the embodiment of the present application, the communication module is set as a Bluetooth module. In application, the head-mounted device 101 and the safety helmet 102 are firstly connected to the mobile phone 201 (the mobile phone is used as an example for detailed description below) or the PC 202 via Bluetooth. 103 can be connected to the mobile phone 201 through data by connecting a data cable. After the connection is established, the mobile phone 201 provides an alternative brain electrical stimulation mode. When the mobile phone 201 detects the user's selection operation, the brain electrical stimulation mode pointed by the selection operation is taken as the target brain electrical stimulation mode. Assuming that the target brain electrical stimulation mode here is a visual stimulation mode, the mobile phone 201 can output FIG. 4 to visually stimulate the user, and the mobile phone 201 controls the flickering of the symbols in FIG. 4 to achieve the purpose of stimulating the user. Before performing visual stimulation to the user, the mobile phone 201 determines the wearing state of the electrode cap 103 by judging whether the EEG signal sent by the electrode cap (the electrode cap 103 is used as an example for description below) can be received. If the wearing state of the electrode cap 103 is wearing, it is determined that the EEG signal is matched with each EEG signal included in the pre-stored EEG signal database, and in the case of successful matching, the mobile phone 201 controls each symbol in FIG. 4 . Blinking to stimulate the user, so that the user can view the symbols in Fig. 4 according to the preset user key, so that the brain-computer interface device detects the EEG signal including the user key (that is, according to the preset user key to watch the image). 4 to obtain the EEG signal including the user's secret key), and send it to the mobile phone 201. The mobile phone 201 performs identity verification after acquiring the EEG signal. If the verification result is that the verification is passed, a punch-in instruction is generated, and the punch-in instruction and the predetermined attendance punch-in mode are processed to complete the user's attendance management.

本申请的又一实施例提供了一种基于脑电信号的考勤管理装置,如图5所示,该装置50包括:刺激模式确定模块501、脑电信号获取模块502、用户身份验证模块503以及脑电考勤管理模块504。Another embodiment of the present application provides an EEG signal-based attendance management device. As shown in FIG. 5 , the device 50 includes: a stimulation mode determination module 501 , an EEG signal acquisition module 502 , a user identity verification module 503 , and EEG attendance management module 504 .

刺激模式确定模块501,用于基于预设的多种脑电刺激模式,确定脑机接口设备的佩戴用户所选定的目标脑电刺激模式;A stimulation mode determination module 501, configured to determine a target brain electrical stimulation mode selected by a user wearing the brain-computer interface device based on multiple preset brain electrical stimulation modes;

脑电信号获取模块502,用于获取佩戴用户在目标脑电刺激模式下产生的包括用户秘钥的脑电信号;An EEG signal acquisition module 502, configured to acquire the EEG signal including the user's secret key generated by the wearing user under the target EEG stimulation mode;

用户身份验证模块503,用于根据脑电信号对佩戴用户进行身份验证;The user identity verification module 503 is used for performing identity verification on the wearing user according to the EEG signal;

脑电考勤管理模块504,用于依据身份验证结果和预定的考勤打卡模式,对佩戴用户进行考勤管理,以完成对佩戴用户的考勤管理。The EEG attendance management module 504 is configured to perform attendance management on the wearing user according to the identity verification result and the predetermined attendance punching mode, so as to complete the attendance management on the wearing user.

本申请实施例通过在预配置的多种脑电刺激模式中确定所选定的目标脑电刺激模式,来对脑电帽的佩戴用户进行刺激,从而得到包括用户秘钥的脑电信号,从而根据该脑电信号对佩戴用户进行身份验证,进而根据身份验证结果结合预定的考勤打卡模式来完成对佩戴用户的考勤管理,这种通过刺激用户得到包括用户密码的脑电信号的方式,起到了以脑电信号来唯一标识用户的效果,实现了将脑波作为特征来进行用户身份验证,替代传统的指纹、虹膜等身份验证方式的目的,提升了用户身份验证的精度,解决现有技术中脑电信号在考勤管理领域的空白的问题,拓展了脑电信号的应用领域。In the embodiment of the present application, the selected target brain electrical stimulation mode is determined from the pre-configured multiple brain electrical stimulation modes to stimulate the user wearing the EEG cap, so as to obtain the EEG signal including the user's secret key, thereby The wearing user is authenticated according to the EEG signal, and then the attendance management of the wearing user is completed according to the authentication result combined with the predetermined attendance punch-in mode. This method of stimulating the user to obtain the EEG signal including the user password plays a role in The effect of uniquely identifying the user with the EEG signal realizes the purpose of using the brain wave as a feature for user authentication, replacing the traditional authentication methods such as fingerprints and iris, improving the accuracy of user authentication, and solving the problems in the prior art. The blank problem of EEG signals in the field of attendance management has expanded the application field of EEG signals.

进一步地,脑电信号获取模块在获取佩戴用户在目标脑电刺激模式下产生的包括用户秘钥的脑电信号之前,还包括:Further, before acquiring the EEG signal including the user's secret key generated by the wearing user under the target EEG stimulation mode, the EEG signal acquisition module further includes:

佩戴状态确定子模块,用于确定脑机接口设备的佩戴状态;The wearing state determination sub-module is used to determine the wearing state of the brain-computer interface device;

脑电信号获取模块包括:The EEG signal acquisition module includes:

第一处理子模块,用于若脑机接口设备的佩戴状态为佩戴,则获取佩戴用户在目标脑电刺激模式下产生的包括用户秘钥的脑电信号。The first processing submodule is configured to acquire the EEG signal including the user's secret key generated by the wearing user in the target EEG stimulation mode if the wearing state of the brain-computer interface device is wearing.

进一步地,脑电信号获取模块还包括:Further, the EEG signal acquisition module also includes:

第二处理子模块,用于若佩戴状态为脱落,则生成佩戴提示指令并发送到脑机接口设备,以使脑机接口设备对佩戴提示指令进行语音处理。The second processing submodule is configured to generate a wearing prompt instruction and send it to the brain-computer interface device if the wearing state is off, so that the brain-computer interface device can perform voice processing on the wearing prompt instruction.

更进一步地,佩戴状态确定子模块包括:Further, the wearing state determination sub-module includes:

信号识别单元,用于若获取来自脑机接口设备的上传数据,且上传数据包括脑电信号或上传数据包括脑电信号和心率血氧数据,则确定脑机接口设备的佩戴状态为佩戴。The signal identification unit is configured to determine that the wearing state of the brain-computer interface device is wearing if the uploaded data from the brain-computer interface device is acquired, and the uploaded data includes the EEG signal or the uploaded data includes the EEG signal and the heart rate and blood oxygen data.

进一步地,用户身份验证模块包括:Further, the user authentication module includes:

脑电信号匹配子模块,用于将脑电信号在预存储的脑电信号数据库中进行匹配,脑电信号数据库包括若干用户标识,以及若干用户标识分别对应的包括用户秘钥的的脑电信号;The EEG signal matching sub-module is used to match the EEG signals in the pre-stored EEG signal database, the EEG signal database includes several user IDs, and the EEG signals corresponding to the several user IDs including the user secret key respectively ;

验证结果确定子模块,用于若匹配成功,则确定佩戴用户通过身份验证。The verification result determination sub-module is used to determine that the wearing user has passed the identity verification if the matching is successful.

进一步地,脑电考勤管理模块包括:Further, the EEG attendance management module includes:

指令生成子模块,用于若验证结果为通过身份验证,则生成考勤打卡指令;The instruction generation sub-module is used to generate an attendance punch-in instruction if the verification result is identity verification;

考勤处理子模块,用于根据预定的考勤打卡模式对考勤打卡指令进行处理。The attendance processing sub-module is used to process the attendance punching instruction according to the predetermined attendance punching mode.

更进一步地,指令生成子模块在若验证结果为通过身份验证,则生成考勤打卡指令之前,还包括:Further, if the verification result is that the identity verification is passed, the instruction generation sub-module further includes:

地理位置确定单元,用于确定佩戴用户的地理位置;a geographic location determination unit, used to determine the geographic location of the wearing user;

指令生成子模块包括:The instruction generation submodule includes:

考勤指令生成单元,用于若地理位置位于预定的考勤区域,且验证结果为通过身份验证,则生成考勤打卡指令。The attendance instruction generating unit is used to generate an attendance punch-in instruction if the geographic location is located in the predetermined attendance area and the verification result is that the identity verification is passed.

本实施例的基于脑电信号的考勤管理装置可执行本申请实施例一所示的基于脑电信号的考勤管理方法,其实现原理相类似,此处不再赘述。The EEG signal-based attendance management apparatus of this embodiment can execute the EEG signal-based attendance management method shown in Embodiment 1 of the present application, and the implementation principles thereof are similar, which will not be repeated here.

本申请又一实施例提供了一种终端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,该处理器执行计算机程序时以实现上述基于脑电信号的考勤管理方法。Another embodiment of the present application provides a terminal, including: a memory, a processor, and a computer program stored in the memory and running on the processor, when the processor executes the computer program, the above-mentioned EEG-based attendance check is implemented management method.

具体地,处理器可以是CPU,通用处理器,DSP,ASIC,FPGA或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等。Specifically, the processor may be a CPU, a general-purpose processor, a DSP, an ASIC, an FPGA or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure. A processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

具体地,处理器通过总线与存储器连接,总线可包括一通路,以用于传送信息。总线可以是PCI总线或EISA总线等。总线可以分为地址总线、数据总线、控制总线等。Specifically, the processor is connected to the memory through a bus, and the bus may include a path for transferring information. The bus can be a PCI bus or an EISA bus or the like. The bus can be divided into address bus, data bus, control bus and so on.

存储器可以是ROM或可存储静态信息和指令的其他类型的静态存储设备,RAM或者可存储信息和指令的其他类型的动态存储设备,也可以是EEPROM、CD-ROM或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。The memory can be ROM or other types of static storage devices that can store static information and instructions, RAM or other types of dynamic storage devices that can store information and instructions, or EEPROM, CD-ROM or other optical disk storage, optical disk storage ( including compact discs, laser discs, compact discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being stored by a computer any other medium taken, but not limited to this.

可选的,存储器用于存储执行本申请方案的计算机程序的代码,并由处理器来控制执行。处理器用于执行存储器中存储的应用程序代码,以实现上述实施例提供的基于脑电信号的考勤管理装置的动作。Optionally, the memory is used to store the code of the computer program for executing the solution of the present application, and the execution is controlled by the processor. The processor is configured to execute the application program code stored in the memory, so as to realize the action of the EEG signal-based attendance management device provided by the above embodiments.

本申请又一实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述基于脑电信号的考勤管理方法。Yet another embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the above-mentioned EEG signal-based attendance management method.

以上所描述的装置实施例仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The apparatus embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统可以被实施为软件、固件、硬件及其适当的组合。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit . Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules or other data flexible, removable and non-removable media. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices, or may Any other medium used to store desired information and which can be accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and can include any information delivery media, as is well known to those of ordinary skill in the art .

以上是对本申请的较佳实施进行了具体说明,但本申请并不局限于上述实施方式,熟悉本领域的技术人员在不违背本申请精神的前提下还可做出种种的等同变形或替换,这些等同的变形或替换均包含在本申请权利要求所限定的范围内。The above is a specific description of the preferred implementation of the application, but the application is not limited to the above-mentioned embodiments, and those skilled in the art can also make various equivalent deformations or replacements under the premise of not violating the spirit of the application, These equivalent modifications or substitutions are all included within the scope defined by the claims of the present application.

Claims (10)

1. An attendance management method based on electroencephalogram signals is characterized by comprising the following steps:
determining a target brain electrical stimulation mode selected by a wearing user of the brain-computer interface equipment based on a plurality of preset brain electrical stimulation modes;
acquiring an electroencephalogram signal which is generated by the wearing user in the target electroencephalogram stimulation mode and comprises a user key;
carrying out identity verification on the wearing user according to the electroencephalogram signal;
and carrying out attendance management on the wearing user according to the identity verification result and a preset attendance card punching mode so as to complete the attendance management on the wearing user.
2. The method of claim 1,
before the step of acquiring the electroencephalogram signal which is generated by the wearing user in the target electroencephalogram stimulation mode and comprises the user key, the method further comprises the following steps:
determining a wearing state of the brain-computer interface device;
the step of obtaining the electroencephalogram signal which is generated by the wearing user in the target electroencephalogram stimulation mode and comprises a user key comprises the following steps:
and if the wearing state of the brain-computer interface equipment is wearing, acquiring the electroencephalogram signal which is generated by the wearing user in the target electroencephalogram stimulation mode and comprises the user key.
3. The method according to claim 2, wherein the step of obtaining the electroencephalogram signal including the user key generated by the wearing user in the target electroencephalogram stimulation mode comprises:
and if the wearing state is falling off, generating a wearing prompt instruction and sending the wearing prompt instruction to the brain-computer interface equipment so that the brain-computer interface equipment carries out voice processing on the wearing prompt instruction.
4. The method of claim 2, wherein the step of determining the wearing status of the brain-computer interface device comprises:
if the uploaded data from the brain-computer interface equipment are acquired and comprise the electroencephalogram signals or the uploaded data comprise the electroencephalogram signals and the heart rate blood oxygen data, the wearing state of the brain-computer interface equipment is determined to be wearing.
5. The method of claim 1, wherein said step of authenticating said wearing user based on said brain electrical signal comprises:
matching the electroencephalogram signals in a pre-stored electroencephalogram signal database, wherein the electroencephalogram signal database comprises a plurality of user identifications, and the electroencephalogram signals which respectively correspond to the user identifications and comprise user keys;
and if the matching is successful, determining that the wearing user passes the identity authentication.
6. The method of claim 1, wherein the step of performing attendance management on the wearing user according to the authentication result and a predetermined attendance card punching mode comprises:
if the identity authentication result is that the identity authentication is passed, generating an attendance card punching instruction;
and processing the attendance card punching instruction according to a preset attendance card punching mode so as to complete attendance management of the wearing user.
7. The method of claim 6,
before the step of generating an attendance card punching instruction if the identity verification result is that the identity verification is passed, the method further comprises:
determining a geographic location of the wearing user;
if the identity verification result is that the identity verification is passed, generating an attendance card punching instruction, wherein the method comprises the following steps:
and if the geographic position is located in a preset attendance checking area and the verification result is that the identity verification is passed, generating an attendance checking and card punching instruction.
8. The utility model provides an attendance management device based on brain electrical signal which characterized in that includes:
the stimulation mode determination module is used for determining a target brain electrical stimulation mode selected by a user wearing the brain-computer interface equipment based on a plurality of preset brain electrical stimulation modes;
the electroencephalogram signal acquisition module is used for acquiring an electroencephalogram signal which is generated by the wearing user in the target electroencephalogram stimulation mode and comprises a user key;
the user identity authentication module is used for authenticating the identity of the wearing user according to the electroencephalogram signal;
and the electroencephalogram attendance management module is used for carrying out attendance management on the wearing user according to an identity verification result and a preset attendance card punching mode so as to complete the attendance management on the wearing user.
9. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured for execution by the one or more processors, the one or more programs configured to: performing the method according to any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of any one of claims 1 to 7.
CN202210144916.9A 2022-02-17 2022-02-17 Attendance management method, device and medium based on electroencephalogram signals Pending CN114546115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210144916.9A CN114546115A (en) 2022-02-17 2022-02-17 Attendance management method, device and medium based on electroencephalogram signals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210144916.9A CN114546115A (en) 2022-02-17 2022-02-17 Attendance management method, device and medium based on electroencephalogram signals

Publications (1)

Publication Number Publication Date
CN114546115A true CN114546115A (en) 2022-05-27

Family

ID=81675871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210144916.9A Pending CN114546115A (en) 2022-02-17 2022-02-17 Attendance management method, device and medium based on electroencephalogram signals

Country Status (1)

Country Link
CN (1) CN114546115A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484907A (en) * 2014-12-22 2015-04-01 上海斐讯数据通信技术有限公司 Attendance system
CN105303631A (en) * 2015-09-22 2016-02-03 江西科技学院 Method for carrying out card punching and attendance checking-in in small office by utilizing electroencephalogram signals
KR20160060435A (en) * 2014-11-20 2016-05-30 주식회사 차후 Smart safety helmet and method, safety management system and method using thereof
CN108234130A (en) * 2017-12-04 2018-06-29 阿里巴巴集团控股有限公司 Auth method and device and electronic equipment
CN108564688A (en) * 2018-03-21 2018-09-21 阿里巴巴集团控股有限公司 The method and device and electronic equipment of authentication
CN108985029A (en) * 2018-06-05 2018-12-11 中国科学院半导体研究所 The brain electricity personal identification method of view-based access control model stimulation
CN110121711A (en) * 2016-12-21 2019-08-13 华为技术有限公司 A kind of personal identification method and equipment of view-based access control model Evoked ptential
CN111402441A (en) * 2020-03-24 2020-07-10 国电龙源电气有限公司 Attendance checking method, intelligent safety helmet and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160060435A (en) * 2014-11-20 2016-05-30 주식회사 차후 Smart safety helmet and method, safety management system and method using thereof
CN104484907A (en) * 2014-12-22 2015-04-01 上海斐讯数据通信技术有限公司 Attendance system
CN105303631A (en) * 2015-09-22 2016-02-03 江西科技学院 Method for carrying out card punching and attendance checking-in in small office by utilizing electroencephalogram signals
CN110121711A (en) * 2016-12-21 2019-08-13 华为技术有限公司 A kind of personal identification method and equipment of view-based access control model Evoked ptential
CN108234130A (en) * 2017-12-04 2018-06-29 阿里巴巴集团控股有限公司 Auth method and device and electronic equipment
CN108564688A (en) * 2018-03-21 2018-09-21 阿里巴巴集团控股有限公司 The method and device and electronic equipment of authentication
CN108985029A (en) * 2018-06-05 2018-12-11 中国科学院半导体研究所 The brain electricity personal identification method of view-based access control model stimulation
CN111402441A (en) * 2020-03-24 2020-07-10 国电龙源电气有限公司 Attendance checking method, intelligent safety helmet and system

Similar Documents

Publication Publication Date Title
TWI686721B (en) Login method and device and electronic equipment
JP6994292B2 (en) Robot wake-up methods, devices and robots
CN102523213B (en) Server and terminal authenticating method and server and terminal
WO2016082229A1 (en) Identity authentication method and wearable device
US20170012911A1 (en) Mood information processing method and apparatus
CN103721343A (en) Biological feedback headache treating instrument and headache medical system based on Internet of things technology
CN105975826A (en) Enterprise economic management information security system
CN105744368A (en) Method for television account-based user management by employing voiceprint recognition technology
CN111739558A (en) Monitoring system, method, device, server and storage medium
WO2015117503A1 (en) Method and device for exchanging information between smart terminal and wearable device
CN113591051A (en) Electronic file full life cycle information security system and method
CN107742068A (en) A multi-source implicit identity authentication system and method for smart devices
CN111460418A (en) Biological feature recognition method based on intelligent helmet and intelligent helmet
CN104346547A (en) Intelligent identity identification system
CN114546115A (en) Attendance management method, device and medium based on electroencephalogram signals
CN204102164U (en) A kind of identity information acquisition and demo plant
KR101944698B1 (en) Method for auto login of single sign on using the login result of computer operating system, and computer readable recording medium applying the same
CN106859597B (en) Remote monitoring method and device
CN108494955B (en) Network connection control method and related product
CN112650997A (en) Unified identity authentication method based on mobile equipment
CN108304073B (en) Electronic device, unlocking control method and related product
CN109164986A (en) Cloud disk data processing method, device, electronic equipment and storage medium
CN110278323B (en) Network hiding management method and related product
CN104657649B (en) A kind of token device of living things feature recognition start
CN106656986A (en) Method and device for biological feature authentication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20220527