CN111931151A - Equipment control method and device, storage medium and wearable equipment - Google Patents
Equipment control method and device, storage medium and wearable equipment Download PDFInfo
- Publication number
- CN111931151A CN111931151A CN202010858513.1A CN202010858513A CN111931151A CN 111931151 A CN111931151 A CN 111931151A CN 202010858513 A CN202010858513 A CN 202010858513A CN 111931151 A CN111931151 A CN 111931151A
- Authority
- CN
- China
- Prior art keywords
- wearer
- user identity
- wearable device
- target
- system account
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/18—Eye characteristics, e.g. of the iris
- G06V40/193—Preprocessing; Feature extraction
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/18—Eye characteristics, e.g. of the iris
- G06V40/197—Matching; Classification
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Ophthalmology & Optometry (AREA)
- Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请实施例公开了一种设备控制方法、装置、存储介质及可穿戴设备,本申请在检测到可穿戴设备处于穿戴状态时,确定穿戴者的目标用户身份;以及确定对应目标用户身份的目标系统账户;将可穿戴设备的操作系统由当前系统账户切换至目标系统账户,其中,目标系统账户独立存储数据。由此,当穿戴者穿戴上可穿戴设备时,可穿戴设备将自动切换至与穿戴者对应的系统账户,并且,不同系统账户间的数据独立,实现了不同用户间的隐私保护,使得可穿戴设备能够在不同的用户间灵活使用。
The embodiments of the present application disclose a device control method, a device, a storage medium, and a wearable device. When detecting that the wearable device is in a wearing state, the present application determines the wearer's target user identity; and determines the target corresponding to the target user's identity. System account; switch the operating system of the wearable device from the current system account to the target system account, where the target system account independently stores data. Therefore, when the wearer wears the wearable device, the wearable device will automatically switch to the system account corresponding to the wearer, and the data between different system accounts is independent, realizing the privacy protection between different users, making the wearable The device can be used flexibly among different users.
Description
技术领域technical field
本申请涉及可穿戴设备技术领域,具体涉及一种设备控制方法、装置、存储介质及可穿戴设备。The present application relates to the technical field of wearable devices, and in particular, to a device control method, device, storage medium, and wearable device.
背景技术Background technique
目前,随着可穿戴设备技术的快速发展,诸如智能眼镜、智能头盔之内的可穿戴设备逐渐被大众所接受。然而,可穿戴设备上的内容比较私密,即使机主将可穿戴设备给予他人使用,机主也不希望自己的私密内容被他人查看,导致可穿戴设备难以在不同的用户间灵活使用。At present, with the rapid development of wearable device technology, wearable devices such as smart glasses and smart helmets are gradually accepted by the public. However, the content on the wearable device is relatively private. Even if the owner gives the wearable device to others, the owner does not want his private content to be viewed by others, which makes it difficult to use the wearable device flexibly among different users.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种设备控制方法、装置、存储介质及可穿戴设备,使得可穿戴设备能够在不同的用户间灵活使用。Embodiments of the present application provide a device control method, device, storage medium, and wearable device, so that the wearable device can be flexibly used among different users.
第一方面,本申请实施例提供了一种设备控制方法,应用于可穿戴设备,包括:In a first aspect, an embodiment of the present application provides a device control method, which is applied to a wearable device, including:
在检测到所述可穿戴设备处于穿戴状态时,确定穿戴者的目标用户身份;When it is detected that the wearable device is in a wearing state, determining the target user identity of the wearer;
确定对应所述目标用户身份的目标系统账户;determining the target system account corresponding to the target user identity;
将所述可穿戴设备的操作系统切换至所述目标系统账户;switching the operating system of the wearable device to the target system account;
其中,所述目标系统账户独立存储数据。Wherein, the target system account independently stores data.
第二方面,本申请实施例提供了一种设备控制装置,应用于可穿戴设备,包括:In a second aspect, an embodiment of the present application provides a device control device, which is applied to a wearable device, including:
身份确定模块,用于在检测到所述可穿戴设备处于穿戴状态时,确定穿戴者的目标用户身份;an identity determination module, configured to determine the target user identity of the wearer when it is detected that the wearable device is in a wearing state;
账户确定模块,用于确定对应所述目标用户身份的目标系统账户;an account determination module for determining a target system account corresponding to the target user identity;
账户切换模块,用于将所述可穿戴设备的操作系统切换至所述目标系统账户;an account switching module for switching the operating system of the wearable device to the target system account;
其中,所述目标系统账户独立存储数据。Wherein, the target system account independently stores data.
第三方面,本申请实施例提供了一种存储介质,其上存储有计算机程序,当所述计算机程序被可穿戴设备的处理器加载时执行本申请实施例提供的设备控制方法中的步骤。In a third aspect, an embodiment of the present application provides a storage medium on which a computer program is stored, and when the computer program is loaded by a processor of a wearable device, the steps in the device control method provided by the embodiment of the present application are executed.
第四方面,本申请实施例还提供了一种可穿戴设备,所述可穿戴设备包括处理器和存储器,所述存储器储存有计算机程序,当所述计算机程序被所述处理器加载时执行本申请实施例提供的设备控制方法中的步骤。In a fourth aspect, an embodiment of the present application further provides a wearable device, the wearable device includes a processor and a memory, the memory stores a computer program, and when the computer program is loaded by the processor, the present invention is executed. Steps in the device control method provided by the application embodiments.
本申请实施例中,在检测到可穿戴设备处于穿戴状态时,确定穿戴者的目标用户身份;以及确定对应目标用户身份的目标系统账户;将可穿戴设备的操作系统切换至目标系统账户,其中,目标系统账户独立存储数据。由此,当穿戴者穿戴上可穿戴设备时,可穿戴设备将自动切换至与穿戴者对应的系统账户,并且,不同系统账户间的数据独立,实现了不同用户间的隐私保护,使得可穿戴设备能够在不同的用户间灵活使用。In the embodiment of the present application, when it is detected that the wearable device is in the wearing state, the target user identity of the wearer is determined; and the target system account corresponding to the target user identity is determined; the operating system of the wearable device is switched to the target system account, wherein , the target system account stores data independently. Therefore, when the wearer wears the wearable device, the wearable device will automatically switch to the system account corresponding to the wearer, and the data between different system accounts is independent, realizing the privacy protection between different users, making the wearable The device can be used flexibly among different users.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained from these drawings without creative effort.
图1是本申请实施例提供的设备控制方法的一流程示意图。FIG. 1 is a schematic flowchart of a device control method provided by an embodiment of the present application.
图2是本申请实施例中用户穿戴智能眼镜的示意图。FIG. 2 is a schematic diagram of a user wearing smart glasses in an embodiment of the present application.
图3是本申请实施例中可穿戴设备为智能眼镜时采集眼部图像的示例图。FIG. 3 is an example diagram of collecting an eye image when the wearable device is smart glasses in an embodiment of the present application.
图4是本申请实施例提供的设备控制方法的另一流程示意图。FIG. 4 is another schematic flowchart of a device control method provided by an embodiment of the present application.
图5是本申请实施例提供的设备控制方法的结构示意图。FIG. 5 is a schematic structural diagram of a device control method provided by an embodiment of the present application.
图6是本申请实施例提供的可穿戴设备的结构示意图。FIG. 6 is a schematic structural diagram of a wearable device provided by an embodiment of the present application.
具体实施方式Detailed ways
请参照图式,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。Please refer to the drawings, wherein the same component symbols represent the same components, and the principles of the present application are exemplified by being implemented in a suitable computing environment. The following description is based on illustrated specific embodiments of the present application and should not be construed as limiting other specific embodiments of the present application not detailed herein.
本申请实施例首先提供一种设备控制方法,该设备控制方法的执行主体可以是本申请实施例提供的设备控制装置,或者集成了该设备控制装置的可穿戴设备,其中设备控制装置可以采用硬件或软件的方式实现,可穿戴设备可以是智能眼镜、智能头盔等穿戴使用的电子设备。Embodiments of the present application first provide a device control method. The execution body of the device control method may be the device control device provided by the embodiments of the present application, or a wearable device integrated with the device control device, wherein the device control device may adopt hardware Or implemented in software, the wearable device can be an electronic device that is worn and used, such as smart glasses and smart helmets.
请参照图1,图1为本申请实施例提供的设备控制方法的流程示意图。该设备控制方法应用于本申请提供的可穿戴设备,如图1所示,本申请实施例提供的设备控制方法的流程可以如下:Please refer to FIG. 1 , which is a schematic flowchart of a device control method provided by an embodiment of the present application. The device control method is applied to the wearable device provided by the present application. As shown in FIG. 1 , the process of the device control method provided by the embodiment of the present application may be as follows:
在101中,在检测到可穿戴设备处于穿戴状态时,确定穿戴者的目标用户身份。In 101, when it is detected that the wearable device is in a wearing state, a target user identity of the wearer is determined.
以下以设备控制方法的执行主体为可穿戴设备为例进行说明。The following description will be given by taking a wearable device as an example of the execution subject of the device control method.
应当说明的是,本申请实施例中对于可穿戴设备的实体展现形式不做具体限制,包括但不限于智能眼镜、智能头盔等。It should be noted that the embodiments of the present application do not specifically limit the physical presentation form of the wearable device, including but not limited to smart glasses, smart helmets, and the like.
其中,可穿戴设备可以利用自身配置的传感器进行数据采集,并根据采集到的传感器数据对自身状态进行检测,以确定自身是否处于穿戴状态。Among them, the wearable device can use the sensors configured by itself to collect data, and detect its own state according to the collected sensor data to determine whether it is in a wearing state.
比如,请参照图2,以可穿戴设备的实体展现形式为智能眼镜为例,该智能眼镜的镜腿位置配置有压力传感器。当用户拿起该智能眼镜并佩戴至眼部时,该智能眼镜的镜腿将与用户接触。由于智能眼镜镜腿与用户的接触,智能眼镜将通过压力传感器采集到对应的压力数据,包括压力值和压力持续时长。其中,当压力值达到预设压力值且压力持续时长达到预设时长时,智能眼镜判定自身处于穿戴状态。可以理解的是,用户可以是拿起放置的智能眼镜进行佩戴,也可以是从其它用户处接过智能眼镜进行佩戴。For example, please refer to FIG. 2 , taking the physical presentation form of the wearable device as smart glasses as an example, and the positions of the temples of the smart glasses are provided with pressure sensors. When the user picks up the smart glasses and wears them to the eyes, the temples of the smart glasses will be in contact with the user. Due to the contact between the legs of the smart glasses and the user, the smart glasses will collect the corresponding pressure data through the pressure sensor, including the pressure value and the pressure duration. Wherein, when the pressure value reaches the preset pressure value and the pressure duration reaches the preset time length, the smart glasses determine that they are in a wearing state. It can be understood that the user may pick up and wear the placed smart glasses, or may take the smart glasses from other users and wear them.
在检测到自身处于穿戴状态时,可穿戴设备进一步按照配置的身份识别策略,对穿戴者的身份进行识别,从而得到穿戴者的用户身份,将该用户身份记为目标用户身份。When detecting that it is in a wearing state, the wearable device further identifies the wearer's identity according to the configured identity recognition strategy, thereby obtaining the wearer's user identity, and recording the user identity as the target user identity.
应当说明的是,本申请实施例中对于身份识别策略的配置不做具体限制,可由本领域普通技术人员根据实际需要进行配置,比如,可以是基于生物特征识别的身份识别策略,也可以是基于密码验证的身份识别策略等。It should be noted that there are no specific restrictions on the configuration of the identity recognition strategy in the embodiments of this application, which can be configured by those of ordinary skill in the art according to actual needs. Password-authenticated identity policies, etc.
在102中,确定对应目标用户身份的目标系统账户。In 102, a target system account corresponding to the target user identity is determined.
应当说明的是,针对具有操作权限的用户(比如机主,以及机主授权的其他用户),可穿戴设备预先创建有不同的系统账户,不同系统账户对应不同的用户空间,使得不同系统账户间的数据独立,相互解耦隔离,也即是各系统账户独立存储数据。由此,将产生用户身份和系统账户的对应关系。It should be noted that, for users with operating authority (such as the host and other users authorized by the host), the wearable device has different system accounts created in advance, and different system accounts correspond to different user spaces, so that the The data is independent, decoupled and isolated from each other, that is, each system account stores data independently. Thus, the corresponding relationship between the user identity and the system account will be generated.
比如,默认情况下,假设可穿戴设备创建有两个系统账户,分别为系统账户A和系统账户B,则不同身份的用户1和用户2可以分别在系统账户A和系统账户B下独立的安装应用,独立产生数据,用户1在系统账户A下无法看到用户2在系统账户B下安装的应用,用户2在系统账户B下也无法看到用户1在系统账户A下安装的应用。For example, by default, if the wearable device is created with two system accounts, namely system account A and system account B, user 1 and user 2 with different identities can be installed independently under system account A and system account B respectively. The application generates data independently. User 1 under system account A cannot see the applications installed by user 2 under system account B, and user 2 under system account B cannot see the applications installed by user 1 under system account A.
本申请实施例中,可穿戴设备在确定穿戴者的目标用户身份之后,根据根据用户身份和系统账户的对应关系,确定出对应目标用户身份的系统账户,记为目标系统账户。In the embodiment of the present application, after determining the target user identity of the wearer, the wearable device determines the system account corresponding to the target user identity according to the corresponding relationship between the user identity and the system account, which is recorded as the target system account.
比如,对应于用户1,可穿戴设备创建有系统账户A,对应于用户2,可穿戴设备创建有系统账户B,对应于用户3,可穿戴设备创建有系统账户C,若可穿戴设备确定穿戴者的目标用户身份为用户3,则可穿戴设备将系统账户C确定为目标系统账户。For example, corresponding to user 1, the wearable device is created with system account A, corresponding to user 2, the wearable device is created with system account B, and corresponding to user 3, the wearable device is created with system account C, if the wearable device determines to wear If the target user identity of the user is user 3, the wearable device determines the system account C as the target system account.
在103中,将可穿戴设备的操作系统切换至目标系统账户。In 103, the operating system of the wearable device is switched to the target system account.
在确定出对应目标用户身份的目标系统账户账户之后,可穿戴设备即将自身的操作系统由当前系统账户切换至目标系统账户,供穿戴者使用。其中,目标系统账户独立存储数据。After determining the target system account account corresponding to the target user identity, the wearable device switches its own operating system from the current system account to the target system account for the wearer to use. Among them, the target system account independently stores data.
应当说明的是,若可穿戴设备当前未登录任何系统账户,则可穿戴设备直接登录目标系统账户。It should be noted that, if the wearable device is not currently logged in to any system account, the wearable device directly logs in to the target system account.
由上可知,本申请在检测到可穿戴设备处于穿戴状态时,确定穿戴者的目标用户身份;以及确定对应目标用户身份的目标系统账户;将可穿戴设备的操作系统由当前系统账户切换至目标系统账户,其中,目标系统账户独立存储数据。由此,当穿戴者穿戴上可穿戴设备时,可穿戴设备将自动切换至与穿戴者对应的系统账户,并且,不同系统账户间的数据独立,实现了不同用户间的隐私保护,使得可穿戴设备能够在不同的用户间灵活使用。As can be seen from the above, the present application determines the target user identity of the wearer when it is detected that the wearable device is in the wearing state; and determines the target system account corresponding to the target user identity; switches the operating system of the wearable device from the current system account to the target System account, where the target system account independently stores data. Therefore, when the wearer wears the wearable device, the wearable device will automatically switch to the system account corresponding to the wearer, and the data between different system accounts is independent, realizing the privacy protection between different users, making the wearable The device can be used flexibly among different users.
可选地,在一实施例中,确定穿戴者的目标用户身份,包括:Optionally, in one embodiment, determining the wearer's target user identity includes:
(1)获取穿戴者的眼部特征;(1) Obtain the eye features of the wearer;
(2)根据眼部特征和用户身份的预设对应关系,将眼部特征对应的用户身份确定为目标用户身份。(2) According to the preset correspondence relationship between the eye feature and the user identity, the user identity corresponding to the eye feature is determined as the target user identity.
本申请实施例进一步提供一可选地身份识别策略。This embodiment of the present application further provides an optional identity identification strategy.
其中,可穿戴设备以眼部特征为身份识别对象,进行用户身份的识别。Among them, the wearable device uses eye features as the identification object to identify the user's identity.
应当说明的是,本申请中预先建立有眼部特征和用户身份的对应关系,记为眼部特征和用户身份的预设对应关系。比如,对于已知身份的用户,可穿戴设备采集该用户的眼部特征,并将采集到的眼部特征与该用户的用户身份关联。It should be noted that the corresponding relationship between eye features and user identity is pre-established in this application, which is recorded as the preset corresponding relationship between eye features and user identity. For example, for a user with a known identity, the wearable device collects the user's eye features, and associates the collected eye features with the user's user identity.
在确定穿戴者的目标用户身份时,可穿戴设备首先获取穿戴者的眼部特征,然后根据眼部特征和用户身份的预设对应关系,确定出与穿戴者的眼部特征所对应的用户身份,将该用户身份记为目标用户身份。When determining the wearer's target user identity, the wearable device first obtains the wearer's eye features, and then determines the user identity corresponding to the wearer's eye features according to the preset correspondence between the eye features and the user's identity. , record the user identity as the target user identity.
应当说明的是,本申请实施例中对于选取何种眼部特征作为身份识别对象不做具体限定,可由本领域普通技术人员根据实际需要进行选取。It should be noted that, in the embodiments of the present application, there is no specific limitation on which eye feature is selected as the identification object, and can be selected by those of ordinary skill in the art according to actual needs.
可以理解的是,眼睛是心灵的窗户,人类的眼睛由巩膜、虹膜、瞳孔﹑晶状体以及视网膜等部分组成。It is understandable that the eye is the window to the soul, and the human eye consists of the sclera, iris, pupil, lens and retina.
其中,虹膜是位于黑色瞳孔和白色巩膜之间的圆环状部分,其包含有很多相互交错的斑点、细丝、冠状、条纹、隐窝等的细节特征。而且虹膜在胎儿发育阶段形成后,在整个生命历程中将是保持不变的。这些特征决定了虹膜特征的唯一性,同时也决定了身份识别的唯一性。因此,可以将眼睛的虹膜特征作为身份识别对象。Among them, the iris is the annular part located between the black pupil and the white sclera, which contains many detailed features such as interlaced spots, filaments, crowns, striations, crypts, etc. And after the iris is formed during fetal development, it will remain the same throughout life. These features determine the uniqueness of iris features, and also determine the uniqueness of identification. Therefore, the iris feature of the eye can be used as an identification object.
眼白即眼球中的白色部分,眼白中的静脉血管图案同样具有唯一性,并且在生个生命历程中也是保持不变的。因此可以将眼白中的静脉血管图案作为身份识别对象。The white part of the eye is the white part of the eyeball. The vein pattern in the white of the eye is also unique and remains unchanged throughout the life course. Therefore, the vein pattern in the white of the eye can be used as the identification object.
可选地,在一实施例中,获取穿戴者的眼部特征,包括:Optionally, in one embodiment, acquiring the wearer's eye features includes:
(1)对穿戴者的眼部进行拍摄,得到穿戴者的眼部图像;(1) photographing the wearer's eye to obtain the wearer's eye image;
(2)从眼部图像中提取虹膜特征,将虹膜特征设为眼部特征。(2) Extract the iris feature from the eye image, and set the iris feature as the eye feature.
本申请实施例中,在获取穿戴者的眼部特征时,可穿戴设备通过配置的摄像头对穿戴者的眼部进行拍摄,得到穿戴者的眼部图像;然后从穿戴者的眼部图像中提取出穿戴者的虹膜特征,将该虹膜特征设为眼部特征用于身份识别。其中,对于如何根据眼部特征进行身份识别,可参照以上实施例中的相关描述,此处不再赘述。In this embodiment of the present application, when acquiring the wearer's eye features, the wearable device captures the wearer's eye through the configured camera to obtain the wearer's eye image; and then extracts the wearer's eye image from the wearer's eye image. The iris feature of the wearer is obtained, and the iris feature is set as the eye feature for identification. Wherein, for how to perform identity recognition according to eye features, reference may be made to the relevant descriptions in the above embodiments, which will not be repeated here.
以可穿戴设备的实体展示形式为智能眼镜为例,请参照图3,该智能眼镜配置有用于对穿戴者眼部进行拍摄的摄像头。其中,该摄像头设置在镜腿靠近镜框的一端,如图3所示,当该智能眼镜处于穿戴状态时,眼球所反射的光线将通过衍射波导射入摄像头中,由摄像头曝光得到穿戴者的眼部图像。Taking the physical display form of the wearable device as smart glasses as an example, please refer to FIG. 3 , the smart glasses are configured with a camera for photographing the eyes of the wearer. Among them, the camera is arranged at the end of the temple near the frame, as shown in Figure 3, when the smart glasses are in the wearing state, the light reflected by the eyeball will be injected into the camera through the diffractive waveguide, and the wearer's eyes will be obtained by the camera exposure. part image.
在提取到穿戴者的眼部图像之后,智能眼镜对该眼部图像进行预处理,使其满足虹膜特征提取的要求。具体包含:After extracting the wearer's eye image, the smart glasses preprocess the eye image to make it meet the requirements of iris feature extraction. Specifically include:
(1)虹膜定位:确定内圆、外圆和二次曲线在眼部图像中的位置。其中,内圆为虹膜与瞳孔的边界,外圆为虹膜与巩膜的边界,二次曲线为虹膜与上下眼皮的边界。(1) Iris positioning: determine the positions of the inner circle, outer circle and quadratic curve in the eye image. The inner circle is the boundary between the iris and the pupil, the outer circle is the boundary between the iris and the sclera, and the quadratic curve is the boundary between the iris and the upper and lower eyelids.
(2)虹膜图像归一化:将眼部图像中虹膜的尺寸归一化到预设的固定尺寸,可由本领域普通技术人员根据实际需要选取合适的归一化方式,以及归一化尺寸(即前述预设的固定尺寸)。(2) Normalization of iris image: normalize the size of the iris in the eye image to a preset fixed size, and those of ordinary skill in the art can select a suitable normalization method according to actual needs, and the normalization size ( That is, the aforementioned preset fixed size).
(3)图像增强:针对归一化后的虹膜图像,对亮度、对比度和平滑度等进行增强处理,提高其中虹膜特征的识别率。(3) Image enhancement: For the normalized iris image, the brightness, contrast and smoothness are enhanced to improve the recognition rate of iris features.
在完成对眼部图像的预处理,得到满足虹膜特征提取要求的虹膜图像后,智能眼镜采用配置的特征提取算法从虹膜图像中提取出特征点信息,并对其进行编码,得到虹膜特征。After completing the preprocessing of the eye image and obtaining an iris image that meets the requirements of iris feature extraction, the smart glasses use the configured feature extraction algorithm to extract feature point information from the iris image, and encode it to obtain iris features.
可以理解的是,在本申请实施例中,在建立眼部特征和用户身份的预设对应关系时,同样采用虹膜特征作为眼部特征进行前述预设对应关系的建立。It can be understood that, in the embodiment of the present application, when establishing the preset correspondence between eye features and user identity, the iris feature is also used as the eye feature to establish the aforementioned preset correspondence.
可选地,在一实施例中,将眼部特征对应的用户身份确定为目标用户身份,包括:Optionally, in an embodiment, determining the user identity corresponding to the eye feature as the target user identity includes:
(1)获取眼部特征对应的用户身份所关联的预存穿戴轨迹,以及获取可穿戴设备的当前穿戴轨迹;(1) Obtain the pre-stored wearing track associated with the user identity corresponding to the eye feature, and obtain the current wearing track of the wearable device;
(2)在当前穿戴轨迹与预存穿戴轨迹匹配时,将用户身份确定为目标用户身份。(2) When the current wearing track matches the pre-stored wearing track, the user identity is determined as the target user identity.
为了避免虹膜特征被伪造,导致可穿戴设备被不法分子使用。本申请实施例中,对用户身份进行两次验证。In order to avoid iris features being faked, wearable devices are used by criminals. In this embodiment of the present application, the user identity is verified twice.
其中,在获取到穿戴者的眼部特征,且存在与该眼部特征对应的用户身份时,可穿戴设备并不直接将该眼部特征所对应的用户身份确定为目标用户身份,而是将该眼部特征所对应的用户身份先设为候选用户身份。Wherein, when the eye feature of the wearer is obtained and there is a user identity corresponding to the eye feature, the wearable device does not directly determine the user identity corresponding to the eye feature as the target user identity, but instead determines the user identity corresponding to the eye feature as the target user identity. The user identity corresponding to the eye feature is first set as a candidate user identity.
考虑到不同个体间使用可穿戴设备的区别,不同穿戴可穿戴设备时的穿戴轨迹通常是不同的,比如,有的人拿起可穿戴设备就直接穿戴,而有的人拿起可穿戴设备后会进行观察,观察之后再进行穿戴。因此,本申请实施例中预先对不同用户的穿戴轨迹(该穿戴轨迹描述可穿戴设备被穿戴时的运动轨迹)进行分析,得到不同用户的穿戴轨迹,记为预存穿戴轨迹,并将预存穿戴轨迹与其对应用户的用户身份关联。比如,可穿戴设备创建有三个用户,分别为用户1、用户2和用户3,其中,用户1关联预存穿戴轨迹A,用户2关联预存穿戴轨迹B,用户3关联预存穿戴轨迹C。Considering the difference in the use of wearable devices between different individuals, the wearing trajectories of different wearable devices are usually different. It will be observed, and then put on after the observation. Therefore, in the embodiment of the present application, the wearing trajectories of different users (the wearing trajectories describe the motion trajectories when the wearable device is worn) are analyzed in advance, and the wearing trajectories of different users are obtained, which are recorded as pre-stored wearing trajectories, and the pre-stored wearing trajectories are recorded. Associated with the user identity of its corresponding user. For example, a wearable device is created with three users, namely User 1, User 2 and User 3. User 1 is associated with a pre-stored wear track A, User 2 is associated with a pre-stored wear track B, and User 3 is associated with a pre-stored wear track C.
相应的,可穿戴设备还获取前述眼部特征对应的用户身份所关联的预存穿戴轨迹,以及获取可穿戴设备的当前穿戴轨迹。Correspondingly, the wearable device also obtains the pre-stored wearing track associated with the user identity corresponding to the aforementioned eye feature, and obtains the current wearing track of the wearable device.
然后,可穿戴设备将当前穿戴轨迹与前述预存穿戴轨迹进行匹配。比如,可穿戴设备可以计算穿戴穿戴轨迹与前述预存穿戴轨迹的相似度,并判断该相似度是否达到预设相似度,若达到,则判定当前穿戴轨迹与前述预存穿戴轨迹匹配,若未达到,则判定当前穿戴轨迹与前述预存穿戴轨迹不匹配。Then, the wearable device matches the current wearing track with the aforementioned pre-stored wearing track. For example, the wearable device can calculate the similarity between the wearing track and the aforementioned pre-stored wearing track, and determine whether the similarity reaches the preset similarity. If so, it is determined that the current wearing track matches the aforementioned pre-stored wearing track. Then it is determined that the current wearing track does not match the aforementioned pre-stored wearing track.
其中,若当前穿戴轨迹与前述预存穿戴轨迹匹配,则可穿戴设备将前述眼部特征所对应的用户身份设为目标用户身份。Wherein, if the current wearing track matches the aforementioned pre-stored wearing track, the wearable device sets the user identity corresponding to the aforementioned eye feature as the target user identity.
可选地,在一实施例中,确定穿戴者的目标用户身份之后,还包括:Optionally, in an embodiment, after determining the target user identity of the wearer, the method further includes:
在确定穿戴者的目标用户身份失败时,若可穿戴设备位于预设位置区域内,则创建对应穿戴者的新系统账户。When determining the wearer's target user identity fails, if the wearable device is located within the preset location area, a new system account corresponding to the wearer is created.
可以理解的是,存在机主将可穿戴设备给予新用户使用的情况,为了避免此种情况下机主手动创建新账户,本申请实施例提供一可选地自动创建账户的方案。It can be understood that there is a situation in which the owner gives the wearable device to a new user. In order to prevent the owner from manually creating a new account in this case, the embodiment of the present application provides a solution for optionally automatically creating an account.
其中,在不存在与穿戴者的眼部特征对应的用户身份时,将导致可穿戴设备确定穿戴者的目标用户身份失败。此时,可穿戴设备进一步执行定位操作,确定出当前所处位置。应当说明的是,本申请实施例中对应可穿戴设备采用何种定位技术不做具体限定,可由本领域普通技术人员根据实际需要进行选取,包括但不限于卫星定位技术、基站定位技术、无线定位技术等。Wherein, when there is no user identity corresponding to the wearer's eye feature, the wearable device will fail to determine the wearer's target user identity. At this point, the wearable device further performs a positioning operation to determine the current location. It should be noted that in the embodiments of this application, the positioning technology used by the corresponding wearable device is not specifically limited, and can be selected by those of ordinary skill in the art according to actual needs, including but not limited to satellite positioning technology, base station positioning technology, wireless positioning technology. technology, etc.
应当说明的是,本申请实施例中还配置有预设位置区域,该预设位置区域可以被配置为机主经常使用可穿戴设备的区域,比如机主的住所所在的区域。相应的,可穿戴设备还识别自身的当前所处位置是否位于预设位置区域内,若是,则创建对应穿戴者的新系统账户。It should be noted that a preset location area is also configured in this embodiment of the present application, and the preset location area may be configured as an area where the owner often uses the wearable device, such as an area where the owner's residence is located. Correspondingly, the wearable device also identifies whether its current location is within the preset location area, and if so, creates a new system account corresponding to the wearer.
示例性的,在创建对应穿戴者的新系统账户时,可穿戴设备新该新系统账户分配新的用户空间和默认应用,该新系统用户与已有系统账户相互间解耦隔离。Exemplarily, when a new system account corresponding to the wearer is created, the wearable device allocates a new user space and a default application to the new system account, and the new system user is decoupled and isolated from the existing system account.
可选地,在一实施例中,将可穿戴设备的操作系统切换至目标系统账户之后,还包括:Optionally, in an embodiment, after switching the operating system of the wearable device to the target system account, the method further includes:
根据穿戴者的操作指令,对其它系统账户的应用数据进行操作。According to the operation instructions of the wearer, operate the application data of other system accounts.
本申请实施例中,还提供不同系统账户间的数据共享。In this embodiment of the present application, data sharing between accounts in different systems is also provided.
其中,可穿戴设备在接收到穿戴者的操作指令时,根据穿戴者的该操作指令,对其它系统账户的应用数据进行操作,包括但不限于查看、删除、复制等。Wherein, when the wearable device receives the operation instruction of the wearer, it operates the application data of other system accounts according to the operation instruction of the wearer, including but not limited to viewing, deleting, copying, etc.
示例性的,假设可穿戴设备有两个用户,即用户1和用户2,其中用户1为机主,用户2为机主授权用户,当用户1穿戴可穿戴设备时,可穿戴设备将切换至对应于用户1的目标系统账户。在目标系统账户下,用户1可以通过可穿戴设备对用户2对应的系统账户下的应用数据进行操作,比如,可穿戴设备可以复制用户2对应的系统账户下的应用数据到用户1对应的目标系统账户下,可穿戴设备可以删除用户2对应的系统账户下的应用数据,可穿戴设备还可以将目标系统账户下的应用数据存储到用户2对应的系统账户下。Exemplarily, assuming that the wearable device has two users, namely user 1 and user 2, where user 1 is the owner and user 2 is the authorized user of the owner, when user 1 wears the wearable device, the wearable device will switch to Corresponds to user 1's target system account. Under the target system account, user 1 can operate the application data under the system account corresponding to user 2 through the wearable device. For example, the wearable device can copy the application data under the system account corresponding to user 2 to the target corresponding to user 1 Under the system account, the wearable device can delete the application data under the system account corresponding to the user 2, and the wearable device can also store the application data under the target system account under the system account corresponding to the user 2.
这样,如果针对同一游戏应用,用户1对应的应用数据为已经玩到关卡15,而用户2对应的应用数据为只玩到关卡5,通过本申请提供的数据共享方案,就可以将用户1玩到关卡15的应用数据储存到用户2的系统账户下,这样用户2就可以在关卡15的基础上继续游玩。In this way, if for the same game application, the application data corresponding to user 1 has already played level 15, while the application data corresponding to user 2 has only played level 5, through the data sharing solution provided by this application, user 1 can play the game The application data to the level 15 is stored under the system account of the user 2, so that the user 2 can continue to play on the basis of the level 15.
可选地,在一实施例中,不同用户身份对应的操作权限不同。Optionally, in an embodiment, operation rights corresponding to different user identities are different.
可选地,在一实施例中,将可穿戴设备的操作系统切换至目标系统账户,包括:Optionally, in an embodiment, switching the operating system of the wearable device to the target system account includes:
(1)从服务器获取切换至目标系统账户所需的账户数据;(1) Obtain the account data required to switch to the target system account from the server;
(2)加前述载账户数据,以将可穿戴设备的操作系统切换至目标系统账户。(2) Add the aforementioned upload account data to switch the operating system of the wearable device to the target system account.
本申请实施例中,为了提供用户一致的使用体验,还利用服务器对用户的账户数据进行同步。In this embodiment of the present application, in order to provide the user with a consistent use experience, the server is also used to synchronize the user's account data.
其中,在将可穿戴设备的操作系统由当前系统账户切换至目标系统账户时,可穿戴设备首先从服务器获取切换至目标系统账户所需的账户数据,然后加载该账户数据,以将可穿戴设备的操作系统切换至目标系统账户。When switching the operating system of the wearable device from the current system account to the target system account, the wearable device first obtains the account data required for switching to the target system account from the server, and then loads the account data to convert the wearable device to the target system account. The operating system of the switch is switched to the target system account.
可选地,在一实施例中,将可穿戴设备的操作系统切换至目标系统账户之后,还包括:Optionally, in an embodiment, after switching the operating system of the wearable device to the target system account, the method further includes:
将目标系统账户下的账户数据同步至服务器。Synchronize the account data under the target system account to the server.
比如,可穿戴设备在目标系统账户下的账户数据更新时,将更新后的账户数据同步至服务器;又比如,可穿戴设备周期性的将目标系统账户下更新后的账户数据同步至服务器。For example, when the account data under the target system account is updated, the wearable device synchronizes the updated account data to the server; for another example, the wearable device periodically synchronizes the updated account data under the target system account to the server.
可选地,在一实施例中,本申请提供的识别控制方法,还包括:Optionally, in an embodiment, the identification control method provided by this application further includes:
记录穿戴者的操作行为数据;Record the wearer's operational behavior data;
根据记录的操作行为数据对穿戴者进行行为分析,得到穿戴者的行为偏好;Conduct behavior analysis on the wearer according to the recorded operational behavior data to obtain the wearer's behavior preference;
根据穿戴者的行为偏好确定对应的待推荐数据,并向穿戴者推荐待推荐数据。The corresponding data to be recommended is determined according to the wearer's behavior preference, and the data to be recommended is recommended to the wearer.
其中,操作行为数据类型根据穿戴者授权的可记录类型进行记录,包括但不限于穿戴者的搜索记录,使用某应用的时间段,使用应用执行的操作等。Among them, the operation behavior data type is recorded according to the recordable type authorized by the wearer, including but not limited to the wearer's search record, the time period of using an application, the operation performed using the application, etc.
智能眼镜按照配置的行为分析策略,根据记录的操作行为数据对穿戴者进行行为分析,相应得到穿戴者的行为偏好。应当说明的是,对于行为分析策略的配置,本申请实施例中不做具体限制,可由本领域普通技术人员根据实际需要进行配置。According to the configured behavior analysis strategy, the smart glasses analyze the wearer's behavior according to the recorded operation behavior data, and obtain the wearer's behavior preference accordingly. It should be noted that the configuration of the behavior analysis policy is not specifically limited in this embodiment of the present application, and can be configured by those of ordinary skill in the art according to actual needs.
在分析得到穿戴者的行为偏好之后,可穿戴设备根据穿戴者的行为偏好确定对应的待推荐数据,并向穿戴者推荐该待推荐数据。其中,待推荐数据包括但不限于推荐的应用、推荐的配置、推荐的广告等。After analyzing and obtaining the wearer's behavior preference, the wearable device determines the corresponding data to be recommended according to the wearer's behavior preference, and recommends the data to be recommended to the wearer. The data to be recommended includes, but is not limited to, recommended applications, recommended configurations, and recommended advertisements.
图4为本申请实施例提供的设备控制方法的另一流程示意图。该设备控制方法应用于本申请提供的可穿戴设备,以下以可穿戴设备的实体展现形式为智能眼镜为例进行说明,如图4所示,本申请实施例提供的设备控制方法的流程可以如下:FIG. 4 is another schematic flowchart of a device control method provided by an embodiment of the present application. The device control method is applied to the wearable device provided by the present application. The following description will take the physical presentation form of the wearable device as smart glasses as an example. As shown in FIG. 4 , the process of the device control method provided by the embodiment of the present application may be as follows :
在201中,在检测到处于穿戴状态时,智能眼镜获取穿戴者的虹膜特征。In 201, upon detection of being in a wearing state, the smart glasses acquire the wearer's iris feature.
其中,智能眼镜可以利用自身配置的传感器进行数据采集,并根据采集到的传感器数据对自身状态进行检测,以确定自身是否处于穿戴状态。Among them, the smart glasses can use the sensors configured by themselves to collect data, and detect their own state according to the collected sensor data to determine whether they are in a wearing state.
比如,请参照图2,该智能眼镜的镜腿位置配置有压力传感器。当用户拿起该智能眼镜并佩戴至眼部时,该智能眼镜的镜腿将与用户接触。由于智能眼镜镜腿与用户的接触,智能眼镜将通过压力传感器采集到对应的压力数据,包括压力值和压力持续时长。其中,当压力值达到预设压力值且压力持续时长达到预设时长时,智能眼镜判定自身处于穿戴状态。可以理解的是,用户可以是拿起放置的智能眼镜进行佩戴,也可以是从其它用户处接过智能眼镜进行佩戴。For example, please refer to FIG. 2 , a pressure sensor is configured on the temple position of the smart glasses. When the user picks up the smart glasses and wears them to the eyes, the temples of the smart glasses will be in contact with the user. Due to the contact between the legs of the smart glasses and the user, the smart glasses will collect the corresponding pressure data through the pressure sensor, including the pressure value and the pressure duration. Wherein, when the pressure value reaches the preset pressure value and the pressure duration reaches the preset time length, the smart glasses determine that they are in a wearing state. It can be understood that the user may pick up and wear the placed smart glasses, or may take the smart glasses from other users and wear them.
在检测到自身处于穿戴状态时,智能眼镜进一步按照配置的身份识别策略,对穿戴者的身份进行识别,从而得到穿戴者的用户身份,将该用户身份记为目标用户身份。When detecting that it is in a wearing state, the smart glasses further identify the wearer's identity according to the configured identity recognition strategy, thereby obtaining the wearer's user identity, and recording the user identity as the target user identity.
应当说明的是,本申请中预先建立有虹膜特征和用户身份的对应关系,记为虹膜特征和用户身份的预设对应关系。比如,对于已知身份的用户,智能眼镜采集该用户的眼部特征,并将采集到的眼部特征与该用户的用户身份关联。It should be noted that, in this application, the correspondence between the iris feature and the user identity is pre-established, which is recorded as the preset correspondence between the iris feature and the user identity. For example, for a user with a known identity, the smart glasses collect the user's eye features, and associate the collected eye features with the user's user identity.
在确定穿戴者的目标用户身份时,智能眼镜首先获取穿戴者的虹膜特征。When determining the wearer's target user identity, the smart glasses first obtain the wearer's iris characteristics.
示例性的,请参照图3,该智能眼镜配置有用于对穿戴者眼部进行拍摄的摄像头。其中,该摄像头设置在镜腿靠近镜框的一端,如图3所示,当该智能眼镜处于穿戴状态时,眼球所反射的光线将通过衍射波导射入摄像头中,由摄像头曝光得到穿戴者的眼部图像。Illustratively, please refer to FIG. 3 , the smart glasses are configured with a camera for photographing the eyes of the wearer. Among them, the camera is arranged at the end of the temple near the frame, as shown in Figure 3, when the smart glasses are in the wearing state, the light reflected by the eyeball will be injected into the camera through the diffractive waveguide, and the wearer's eyes will be obtained by the camera exposure. part image.
在提取到穿戴者的眼部图像之后,智能眼镜对该眼部图像进行预处理,使其满足虹膜特征提取的要求。具体包含:After extracting the wearer's eye image, the smart glasses preprocess the eye image to make it meet the requirements of iris feature extraction. Specifically include:
(1)虹膜定位:确定内圆、外圆和二次曲线在眼部图像中的位置。其中,内圆为虹膜与瞳孔的边界,外圆为虹膜与巩膜的边界,二次曲线为虹膜与上下眼皮的边界。(1) Iris positioning: determine the positions of the inner circle, outer circle and quadratic curve in the eye image. The inner circle is the boundary between the iris and the pupil, the outer circle is the boundary between the iris and the sclera, and the quadratic curve is the boundary between the iris and the upper and lower eyelids.
(2)虹膜图像归一化:将眼部图像中虹膜的尺寸归一化到预设的固定尺寸,可由本领域普通技术人员根据实际需要选取合适的归一化方式,以及归一化尺寸(即前述预设的固定尺寸)。(2) Normalization of iris image: normalize the size of the iris in the eye image to a preset fixed size, and those of ordinary skill in the art can select a suitable normalization method according to actual needs, and the normalization size ( That is, the aforementioned preset fixed size).
(3)图像增强:针对归一化后的虹膜图像,对亮度、对比度和平滑度等进行增强处理,提高其中虹膜特征的识别率。(3) Image enhancement: For the normalized iris image, the brightness, contrast and smoothness are enhanced to improve the recognition rate of iris features.
在完成对眼部图像的预处理,得到满足虹膜特征提取要求的虹膜图像后,智能眼镜采用配置的特征提取算法从虹膜图像中提取出特征点信息,并对其进行编码,得到虹膜特征。After completing the preprocessing of the eye image and obtaining an iris image that meets the requirements of iris feature extraction, the smart glasses use the configured feature extraction algorithm to extract feature point information from the iris image, and encode it to obtain iris features.
在202中,智能眼镜根据虹膜特征和用户身份的预设对应关系,将虹膜特征对应的用户身份确定为穿戴者的目标用户身份。In 202, the smart glasses determine the user identity corresponding to the iris feature as the wearer's target user identity according to the preset correspondence between the iris feature and the user identity.
在获取到的穿戴者的虹膜特征之后,智能眼镜即根据虹膜特征和用户身份的预设对应关系,将虹膜特征对应的用户身份确定为穿戴者的目标用户身份。其中,若不存在与前述虹膜特征对应的用户身份,则智能眼镜为穿戴者分配临时用户身份,将该临时用户身份作为穿戴者的目标用户身份。After acquiring the wearer's iris feature, the smart glasses determine the user identity corresponding to the iris feature as the wearer's target user identity according to the preset correspondence between the iris feature and the user identity. Wherein, if there is no user identity corresponding to the aforementioned iris feature, the smart glasses assign a temporary user identity to the wearer, and use the temporary user identity as the wearer's target user identity.
在203中,智能眼镜识别是否存在对应目标用户身份的目标系统账户,是则转入204,否则转入205。In 203 , the smart glasses identify whether there is a target system account corresponding to the target user identity, if yes, go to 204 , otherwise go to 205 .
应当说明的是,针对具有操作权限的用户(比如机主,以及机主授权的其他用户),智能眼镜预先创建有不同的系统账户,不同系统账户对应不同的用户空间,使得不同系统账户间的数据独立,相互解耦隔离,也即是各系统账户独立存储数据。由此,将产生用户身份和系统账户的对应关系。It should be noted that for users with operating authority (such as the owner, and other users authorized by the owner), the smart glasses are pre-created with different system accounts, and different system accounts correspond to different user spaces, so that the Data is independent, decoupled and isolated from each other, that is, each system account stores data independently. Thus, the corresponding relationship between the user identity and the system account will be generated.
比如,默认情况下,假设智能眼镜创建有两个系统账户,分别为系统账户A和系统账户B,则不同身份的用户1和用户2可以分别在系统账户A和系统账户B下独立的安装应用,独立产生数据,用户1在系统账户A下无法看到用户2在系统账户B下安装的应用,用户2在系统账户B下也无法看到用户1在系统账户A下安装的应用。For example, by default, assuming that the smart glasses are created with two system accounts, namely system account A and system account B, user 1 and user 2 with different identities can independently install applications under system account A and system account B respectively. , generate data independently, user 1 under system account A cannot see the applications installed by user 2 under system account B, and user 2 under system account B also cannot see the applications installed under system account A by user 1.
本申请实施例中,智能眼镜在确定穿戴者的目标用户身份之后,根据根据用户身份和系统账户的对应关系,识别是否存在对应目标用户身份的目标系统账户。In the embodiment of the present application, after determining the target user identity of the wearer, the smart glasses identify whether there is a target system account corresponding to the target user identity according to the corresponding relationship between the user identity and the system account.
比如,对应于用户1,智能眼镜创建有系统账户A,对应于用户2,智能眼镜创建有系统账户B,对应于用户3,智能眼镜创建有系统账户C,若智能眼镜确定穿戴者的目标用户身份为用户3,则智能眼镜将系统账户C确定为目标系统账户。For example, corresponding to user 1, the smart glasses create a system account A, corresponding to user 2, the smart glasses create a system account B, corresponding to user 3, the smart glasses create a system account C, if the smart glasses determine the target user of the wearer If the identity is user 3, the smart glasses determine the system account C as the target system account.
本申请实施例中,若识别到存在对应目标用户身份的目标系统账户,则转入204,否则转入205。In this embodiment of the present application, if it is identified that there is a target system account corresponding to the target user identity, go to 204 , otherwise go to 205 .
在204中,智能眼镜将操作系统切换至目标系统账户。At 204, the smart glasses switch the operating system to the target system account.
在确定出对应目标用户身份的目标系统账户账户之后,智能眼镜即将自身的操作系统由当前系统账户切换至目标系统账户,供穿戴者使用。其中,目标系统账户独立存储数据。After determining the target system account account corresponding to the target user identity, the smart glasses will switch their own operating system from the current system account to the target system account for the wearer to use. Among them, the target system account independently stores data.
应当说明的是,若智能眼镜当前未登录任何系统账户,则智能眼镜直接登录目标系统账户。It should be noted that, if the smart glasses are not currently logged in to any system account, the smart glasses directly log in to the target system account.
在205中,若当前位于预设位置区域内,智能眼镜创建对应穿戴者的新系统账户。In 205, if the smart glasses are currently located within the preset location area, the smart glasses create a new system account corresponding to the wearer.
可以理解的是,存在机主将智能眼镜给予新用户使用的情况,为了避免此种情况下机主手动创建新账户,本申请实施例提供一可选地自动创建账户的方案。It can be understood that there is a situation in which the owner gives the smart glasses to new users. In order to prevent the owner from manually creating a new account in this case, the embodiment of the present application provides an optional solution for automatically creating an account.
其中,在穿戴者的目标用户身份为临时用户身份时,将导致智能眼镜无法识别到与该目标用户身份对应的目标系统账户。此时,智能眼镜进一步执行定位操作,确定出当前所处位置。应当说明的是,本申请实施例中对应智能眼镜采用何种定位技术不做具体限定,可由本领域普通技术人员根据实际需要进行选取,包括但不限于卫星定位技术、基站定位技术、无线定位技术等。Wherein, when the target user identity of the wearer is a temporary user identity, the smart glasses will not be able to recognize the target system account corresponding to the target user identity. At this time, the smart glasses further perform a positioning operation to determine the current location. It should be noted that in the embodiments of the present application, the positioning technology used for the corresponding smart glasses is not specifically limited, and can be selected by those of ordinary skill in the art according to actual needs, including but not limited to satellite positioning technology, base station positioning technology, and wireless positioning technology. Wait.
应当说明的是,本申请实施例中还配置有预设位置区域,该预设位置区域可以被配置为机主经常使用智能眼镜的区域,比如机主的住所所在的区域。相应的,智能眼镜还识别自身的当前所处位置是否位于预设位置区域内,若是,则创建对应穿戴者的新系统账户。It should be noted that a preset location area is also configured in this embodiment of the present application, and the preset location area may be configured as an area where the owner often uses the smart glasses, such as an area where the owner's residence is located. Correspondingly, the smart glasses also identify whether their current location is within the preset location area, and if so, create a new system account corresponding to the wearer.
示例性的,在创建对应穿戴者的新系统账户时,智能眼镜新该新系统账户分配新的用户空间和默认应用,该新系统用户与已有系统账户相互间解耦隔离。Exemplarily, when a new system account corresponding to the wearer is created, the smart glasses allocate a new user space and a default application to the new system account, and the new system user and the existing system account are decoupled and isolated from each other.
在206中,智能眼镜在当前系统账户下记录穿戴者的操作行为数据。In 206, the smart glasses record the wearer's operation behavior data under the current system account.
其中,操作行为数据类型根据穿戴者授权的可记录类型进行记录,包括但不限于穿戴者的搜索记录,使用某应用的时间段,使用应用执行的操作等。可以理解的是,此处的当前系统账户可以为205创建的新系统账户,也可以是204切换至的目标系统账户。Among them, the operation behavior data type is recorded according to the recordable type authorized by the wearer, including but not limited to the wearer's search record, the time period of using an application, the operation performed using the application, etc. It can be understood that the current system account here may be the new system account created in 205 , or the target system account to which 204 is switched.
在207中,智能眼镜根据记录的操作行为数据对穿戴者进行行为分析,得到穿戴者的行为偏好。In 207, the smart glasses perform behavior analysis on the wearer according to the recorded operation behavior data to obtain the behavior preference of the wearer.
其中,智能眼镜可以按照配置的行为分析策略,根据记录的操作行为数据对穿戴者进行行为分析,相应得到穿戴者的行为偏好。应当说明的是,对于行为分析策略的配置,本申请实施例中不做具体限制,可由本领域普通技术人员根据实际需要进行配置。Among them, the smart glasses can perform behavior analysis on the wearer according to the recorded operation behavior data according to the configured behavior analysis strategy, and correspondingly obtain the behavior preference of the wearer. It should be noted that the configuration of the behavior analysis policy is not specifically limited in this embodiment of the present application, and can be configured by those of ordinary skill in the art according to actual needs.
在208中,智能眼镜根据穿戴者的行为偏好确定对应的待推荐数据,并向穿戴者推荐待推荐数据。In 208, the smart glasses determine the corresponding data to be recommended according to the wearer's behavior preference, and recommend the data to be recommended to the wearer.
其中,待推荐数据包括但不限于推荐的应用、推荐的配置,推荐的广告。The data to be recommended includes, but is not limited to, recommended applications, recommended configurations, and recommended advertisements.
比如,通过对穿戴者进行行为分析,确定该穿戴者偏好于某时间段点外卖,则可穿戴设备可在到达前述时间段时,向穿戴者推送对应的外卖广告。For example, by analyzing the wearer's behavior, it is determined that the wearer prefers takeout at a certain time period, and the wearable device can push a corresponding takeout advertisement to the wearer when the aforementioned time period is reached.
请参照图5,图5为本申请实施例提供的设备控制装置的结构示意图。该设备控制装置应用于本申请提供的可穿戴设备。如图5所示,设备控制装置可以包括身份确定模块301、账户确定模块302以及账户切换模块303,其中,Please refer to FIG. 5 , which is a schematic structural diagram of a device control apparatus provided by an embodiment of the present application. The device control device is applied to the wearable device provided in this application. As shown in FIG. 5 , the device control apparatus may include an identity determination module 301, an account determination module 302 and an account switching module 303, wherein,
身份确定模块301,用于在检测到可穿戴设备处于穿戴状态时,确定穿戴者的目标用户身份;The identity determination module 301 is used to determine the target user identity of the wearer when it is detected that the wearable device is in a wearing state;
账户确定模块302,用于确定对应目标用户身份的目标系统账户;an account determination module 302, configured to determine a target system account corresponding to the target user identity;
账户切换模块303,用于将可穿戴设备的操作系统切换至目标系统账户;an account switching module 303, configured to switch the operating system of the wearable device to the target system account;
其中,目标系统账户独立存储数据。Among them, the target system account independently stores data.
可选地,在一实施例中,在确定穿戴者的目标用户身份时,身份确定模块301用于:Optionally, in an embodiment, when determining the wearer's target user identity, the identity determining module 301 is configured to:
获取穿戴者的眼部特征;Get the wearer's eye features;
根据眼部特征和用户身份的预设对应关系,将眼部特征对应的用户身份确定为目标用户身份。According to the preset corresponding relationship between the eye feature and the user identity, the user identity corresponding to the eye feature is determined as the target user identity.
可选地,在一实施例中,在获取穿戴者的眼部特征时,身份确定模块301用于:Optionally, in one embodiment, when acquiring the wearer's eye features, the identity determination module 301 is configured to:
对穿戴者的眼部进行拍摄,得到穿戴者的眼部图像;The wearer's eye is photographed to obtain the wearer's eye image;
从眼部图像中提取虹膜特征,将虹膜特征设为眼部特征。Extract iris features from eye images, and set iris features as eye features.
可选地,在一实施例中,在将眼部特征对应的用户身份确定为目标用户身份时,身份确定模块301用于:Optionally, in an embodiment, when the user identity corresponding to the eye feature is determined as the target user identity, the identity determination module 301 is configured to:
获取眼部特征对应的用户身份所关联的预存穿戴轨迹,以及获取可穿戴设备的当前穿戴轨迹;Obtain the pre-stored wearing track associated with the user identity corresponding to the eye feature, and obtain the current wearing track of the wearable device;
在当前穿戴轨迹与预存穿戴轨迹匹配时,将用户身份确定为目标用户身份。When the current wearing track matches the pre-stored wearing track, the user identity is determined as the target user identity.
可选地,在一实施例中,本申请提供的设备控制装置还包括账户创建模块,在确定穿戴者的目标用户身份之后,用于:Optionally, in an embodiment, the device control apparatus provided by the present application further includes an account creation module, which is used to: after determining the target user identity of the wearer:
在确定穿戴者的目标用户身份失败时,若可穿戴设备位于预设位置区域内,则创建对应穿戴者的新系统账户。When determining the wearer's target user identity fails, if the wearable device is located within the preset location area, a new system account corresponding to the wearer is created.
可选地,在一实施例中,本申请提供的设备控制装置还包括数据操作模块,在将可穿戴设备的操作系统切换至目标系统账户之后,用于:Optionally, in an embodiment, the device control apparatus provided by the present application further includes a data operation module, which is configured to: after switching the operating system of the wearable device to the target system account:
根据穿戴者的操作指令,对其它系统账户的应用数据进行操作。According to the operation instructions of the wearer, operate the application data of other system accounts.
可选地,在一实施例中,在将可穿戴设备的操作系统切换至目标系统账户时,账户切换模块303:Optionally, in an embodiment, when switching the operating system of the wearable device to the target system account, the account switching module 303:
从服务器获取切换至目标系统账户所需的账户数据;Obtain the account data required to switch to the target system account from the server;
加载账户数据,以将可穿戴设备的操作系统切换至目标系统账户。Load account data to switch the wearable's operating system to the target system account.
应当说明的是,本申请实施例提供的设备控制装置与上文实施例中的设备控制方法属于同一构思,设备控制装置可以运行设备控制方法实施例中提供的任一方法,其具体实现过程详见以上相关实施例,此处不再赘述。It should be noted that the device control device provided in the embodiments of the present application and the device control method in the above embodiments belong to the same concept, and the device control device can run any method provided in the device control method embodiment, and the specific implementation process is detailed. See the above related embodiments, and details are not repeated here.
本申请实施例提供一种存储介质,其上存储有指令执行程序,当其存储的指令执行程序在本申请实施例提供的可穿戴设备上执行时,使得可穿戴设备执行如本申请实施例提供的设备控制方法中的步骤。其中,存储介质可以是磁碟、光盘、只读存储器(Read OnlyMemory,ROM)或者随机存取器(Random Access Memory,RAM)等。An embodiment of the present application provides a storage medium on which an instruction execution program is stored. When the stored instruction execution program is executed on the wearable device provided by the embodiment of the present application, the wearable device can be executed as provided by the embodiment of the present application. The steps in the device control method. The storage medium may be a magnetic disk, an optical disk, a read only memory (Read Only Memory, ROM), or a random access device (Random Access Memory, RAM), or the like.
本申请实施例还提供一种可穿戴设备,请参照图6,可穿戴设备包括处理器401和存储器402。An embodiment of the present application further provides a wearable device. Please refer to FIG. 6 . The wearable device includes a
本申请实施例中的处理器是通用处理器,比如ARM架构的处理器。The processor in the embodiment of the present application is a general-purpose processor, such as a processor of an ARM architecture.
存储器402中存储有计算机程序,其可以为高速随机存取存储器,还可以为非易失性存储器,比如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件等。相应地,存储器402还可以包括存储器控制器,以提供处理器401对存储器402的访问,实现如下功能:A computer program is stored in the
在检测到可穿戴设备处于穿戴状态时,确定穿戴者的目标用户身份;When detecting that the wearable device is in the wearing state, determine the target user identity of the wearer;
确定对应目标用户身份的目标系统账户;Determine the target system account corresponding to the target user identity;
将可穿戴设备的操作系统切换至目标系统账户;Switch the operating system of the wearable device to the target system account;
其中,目标系统账户独立存储数据。Among them, the target system account independently stores data.
可选地,在一实施例中,在确定穿戴者的目标用户身份时,处理器401用于执行:Optionally, in an embodiment, when determining the target user identity of the wearer, the
获取穿戴者的眼部特征;Get the wearer's eye features;
根据眼部特征和用户身份的预设对应关系,将眼部特征对应的用户身份确定为目标用户身份。According to the preset corresponding relationship between the eye feature and the user identity, the user identity corresponding to the eye feature is determined as the target user identity.
可选地,在一实施例中,在获取穿戴者的眼部特征时,处理器401用于执行:Optionally, in an embodiment, when acquiring the wearer's eye features, the
对穿戴者的眼部进行拍摄,得到穿戴者的眼部图像;The wearer's eye is photographed to obtain the wearer's eye image;
从眼部图像中提取虹膜特征,将虹膜特征设为眼部特征。Extract iris features from eye images, and set iris features as eye features.
可选地,在一实施例中,在将眼部特征对应的用户身份确定为目标用户身份时,处理器401用于执行:Optionally, in an embodiment, when the user identity corresponding to the eye feature is determined as the target user identity, the
获取眼部特征对应的用户身份所关联的预存穿戴轨迹,以及获取可穿戴设备的当前穿戴轨迹;Obtain the pre-stored wearing track associated with the user identity corresponding to the eye feature, and obtain the current wearing track of the wearable device;
在当前穿戴轨迹与预存穿戴轨迹匹配时,将用户身份确定为目标用户身份。When the current wearing track matches the pre-stored wearing track, the user identity is determined as the target user identity.
可选地,在一实施例中,在确定穿戴者的目标用户身份之后,处理器401还用于执行:Optionally, in an embodiment, after determining the target user identity of the wearer, the
在确定穿戴者的目标用户身份失败时,若可穿戴设备位于预设位置区域内,则创建对应穿戴者的新系统账户。When determining the wearer's target user identity fails, if the wearable device is located within the preset location area, a new system account corresponding to the wearer is created.
可选地,在一实施例中,在将可穿戴设备的操作系统切换至目标系统账户之后,处理器401还用于执行:Optionally, in an embodiment, after switching the operating system of the wearable device to the target system account, the
根据穿戴者的操作指令,对其它系统账户的应用数据进行操作。According to the operation instructions of the wearer, operate the application data of other system accounts.
可选地,在一实施例中,在将可穿戴设备的操作系统切换至目标系统账户时,处理器401用于执行:Optionally, in an embodiment, when switching the operating system of the wearable device to the target system account, the
从服务器获取切换至目标系统账户所需的账户数据;Obtain the account data required to switch to the target system account from the server;
加载账户数据,以将可穿戴设备的操作系统切换至目标系统账户。Load account data to switch the wearable's operating system to the target system account.
应当说明的是,本申请实施例提供的可穿戴设备与上文实施例中的设备控制方法属于同一构思,在可穿戴设备上可以运行设备控制方法实施例中提供的任一方法,其具体实现过程详见以上实施例,此处不再赘述。It should be noted that the wearable device provided in the embodiment of the present application and the device control method in the above embodiment belong to the same concept, and any method provided in the device control method embodiment can be executed on the wearable device, and its specific implementation For details of the process, please refer to the above embodiments, which will not be repeated here.
需要说明的是,对本申请实施例的设备控制方法而言,本领域普通测试人员可以理解实现本申请实施例的设备控制方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述计算机程序可存储于一计算机可读取存储介质中,如存储在可穿戴设备的存储器中,并被该可穿戴设备内的处理器执行,在执行过程中可包括如设备控制方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器、随机存取记忆体等。It should be noted that, for the device control method of the embodiment of the present application, ordinary testers in the art can understand that all or part of the process of implementing the device control method of the embodiment of the present application can be completed by controlling the relevant hardware through a computer program , the computer program can be stored in a computer-readable storage medium, such as in the memory of the wearable device, and executed by the processor in the wearable device, and the execution process can include methods such as the device control method. Example flow. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, or the like.
以上对本申请实施例所提供的一种设备控制方法、存储介质及可穿戴设备进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。A device control method, a storage medium, and a wearable device provided by the embodiments of the present application have been described in detail above. The principles and implementations of the present application are described with specific examples. The descriptions of the above embodiments are only for In order to help understand the method and the core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation and application scope. In summary, the content of this specification It should not be construed as a limitation of this application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010858513.1A CN111931151A (en) | 2020-08-24 | 2020-08-24 | Equipment control method and device, storage medium and wearable equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010858513.1A CN111931151A (en) | 2020-08-24 | 2020-08-24 | Equipment control method and device, storage medium and wearable equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111931151A true CN111931151A (en) | 2020-11-13 |
Family
ID=73306040
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010858513.1A Pending CN111931151A (en) | 2020-08-24 | 2020-08-24 | Equipment control method and device, storage medium and wearable equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111931151A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116033431A (en) * | 2022-08-18 | 2023-04-28 | 荣耀终端有限公司 | Connection method and device for wearable device |
| WO2023155588A1 (en) * | 2022-02-16 | 2023-08-24 | 荣耀终端有限公司 | Method for processing ear temperature data, and electronic device |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104283876A (en) * | 2014-09-29 | 2015-01-14 | 小米科技有限责任公司 | Operation authorization method and device |
| US20160109954A1 (en) * | 2014-05-16 | 2016-04-21 | Visa International Service Association | Gesture Recognition Cloud Command Platform, System, Method, and Apparatus |
| CN106502384A (en) * | 2016-09-21 | 2017-03-15 | 奇酷互联网络科技(深圳)有限公司 | Wear-type virtual reality device and its method of operating |
| WO2017070831A1 (en) * | 2015-10-27 | 2017-05-04 | 深圳还是威健康科技有限公司 | User management method and terminal |
| CN106797561A (en) * | 2014-11-29 | 2017-05-31 | 华为技术有限公司 | A kind of identity identifying method and wearable device |
| CN106934262A (en) * | 2015-12-30 | 2017-07-07 | 阿里巴巴集团控股有限公司 | A kind of wearable device and its user authen method |
| CN107018121A (en) * | 2016-10-13 | 2017-08-04 | 阿里巴巴集团控股有限公司 | The method and device of subscriber authentication |
| CN109730690A (en) * | 2018-12-29 | 2019-05-10 | 出门问问信息科技有限公司 | Detection method, device and the corresponding wearable device of wearer identity |
| CN111125657A (en) * | 2019-12-25 | 2020-05-08 | 联想(北京)有限公司 | Control method and device for student to use electronic equipment and electronic equipment |
-
2020
- 2020-08-24 CN CN202010858513.1A patent/CN111931151A/en active Pending
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20160109954A1 (en) * | 2014-05-16 | 2016-04-21 | Visa International Service Association | Gesture Recognition Cloud Command Platform, System, Method, and Apparatus |
| CN104283876A (en) * | 2014-09-29 | 2015-01-14 | 小米科技有限责任公司 | Operation authorization method and device |
| CN106797561A (en) * | 2014-11-29 | 2017-05-31 | 华为技术有限公司 | A kind of identity identifying method and wearable device |
| WO2017070831A1 (en) * | 2015-10-27 | 2017-05-04 | 深圳还是威健康科技有限公司 | User management method and terminal |
| CN106934262A (en) * | 2015-12-30 | 2017-07-07 | 阿里巴巴集团控股有限公司 | A kind of wearable device and its user authen method |
| CN106502384A (en) * | 2016-09-21 | 2017-03-15 | 奇酷互联网络科技(深圳)有限公司 | Wear-type virtual reality device and its method of operating |
| CN107018121A (en) * | 2016-10-13 | 2017-08-04 | 阿里巴巴集团控股有限公司 | The method and device of subscriber authentication |
| CN109730690A (en) * | 2018-12-29 | 2019-05-10 | 出门问问信息科技有限公司 | Detection method, device and the corresponding wearable device of wearer identity |
| CN111125657A (en) * | 2019-12-25 | 2020-05-08 | 联想(北京)有限公司 | Control method and device for student to use electronic equipment and electronic equipment |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2023155588A1 (en) * | 2022-02-16 | 2023-08-24 | 荣耀终端有限公司 | Method for processing ear temperature data, and electronic device |
| CN116033431A (en) * | 2022-08-18 | 2023-04-28 | 荣耀终端有限公司 | Connection method and device for wearable device |
| CN116033431B (en) * | 2022-08-18 | 2023-10-31 | 荣耀终端有限公司 | Connection method and device of wearable device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108875688B (en) | Living body detection method, device, system and storage medium | |
| US20200064916A1 (en) | Method for Automatically Identifying at least one User of an Eye Tracking Device and Eye Tracking Device | |
| CN110249337A (en) | Using eye tracks camera to facial expression classification | |
| KR102488563B1 (en) | Apparatus and Method for Processing Differential Beauty Effect | |
| KR20120139100A (en) | Apparatus and method for security management using face recognition | |
| JP7238988B2 (en) | Iris authentication device, iris authentication method, computer program and recording medium | |
| KR20180014624A (en) | System and Method for Iris Authentication | |
| US11054903B2 (en) | Method, eyetracker and computer program for determining eye positions in digital image data | |
| US20200074174A1 (en) | Image processing method and system for iris recognition | |
| JP7484985B2 (en) | Authentication system, authentication method, and program | |
| CN114387548B (en) | Video and living body detection method, system, device, storage medium and program product | |
| WO2019163065A1 (en) | Spoofing detector, spoofing detection method, and computer-readable recording medium | |
| CN111931151A (en) | Equipment control method and device, storage medium and wearable equipment | |
| US11062136B2 (en) | Pupil or iris tracking for liveness detection in authentication processes | |
| US11163994B2 (en) | Method and device for determining iris recognition image, terminal apparatus, and storage medium | |
| CN113330433A (en) | Method for authenticating user and electronic device thereof | |
| US20210216801A1 (en) | Information processing apparatus, computter-readable recording medium recording fake determination program, and fake determination method | |
| KR102498209B1 (en) | Method, server and program for judge whether an advertisement is actually watched through iris recognition | |
| CN110363782B (en) | Region identification method and device based on edge identification algorithm and electronic equipment | |
| CN113627263B (en) | Exposure method, device and equipment based on face detection | |
| US20180181772A1 (en) | Electronic device and operation method thereof | |
| CN110933314B (en) | Focus-following shooting methods and related products | |
| JP2020009308A (en) | Information processing apparatus, information processing method and program | |
| WO2024021251A1 (en) | Identity verification method and apparatus, and electronic device and storage medium | |
| CN114724071A (en) | Information detection method and device, electronic equipment and storage medium |
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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201113 |