[go: up one dir, main page]

CN115577332A - User identification method, device, electronic equipment and storage medium - Google Patents

User identification method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115577332A
CN115577332A CN202110687749.8A CN202110687749A CN115577332A CN 115577332 A CN115577332 A CN 115577332A CN 202110687749 A CN202110687749 A CN 202110687749A CN 115577332 A CN115577332 A CN 115577332A
Authority
CN
China
Prior art keywords
information
user
vectors
target
matching
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
CN202110687749.8A
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.)
China Mobile Communications Group Co Ltd
China Mobile Chengdu ICT Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Chengdu ICT 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 China Mobile Communications Group Co Ltd, China Mobile Chengdu ICT Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110687749.8A priority Critical patent/CN115577332A/en
Publication of CN115577332A publication Critical patent/CN115577332A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/316User authentication by observing the pattern of computer usage, e.g. typical user behaviour

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a user identification method, a user identification device, electronic equipment and a storage medium. The method comprises the following steps: acquiring first information acquired by an acquisition unit of electronic equipment; the first information at least comprises relative position relations among a plurality of first contact points; the contact point is generated by the contact of fingers and the acquisition unit when a user holds the electronic equipment; matching the first information with second information in a first database to obtain a first matching result; the first database comprises a plurality of user identifications and second information corresponding to each user identification; each second information at least contains the relative position relationship among a plurality of second contact points; and identifying a user currently holding the electronic equipment based on the first matching result.

Description

使用者识别方法、装置、电子设备及存储介质User identification method, device, electronic device and storage medium

技术领域technical field

本申请涉及计算机技术领域,尤其涉及一种使用者识别方法、装置、电子设备及存储介质。The present application relates to the field of computer technology, in particular to a user identification method, device, electronic equipment and storage medium.

背景技术Background technique

随着通信、计算机软硬件技术的不断进步,物联网、万物互联、万物智能等技术快速发展,并逐渐以产品及服务的形态进入到社会,成为工作、生活、学习的重要部分。其中,智能终端设备首先兴起于手机、平板电脑等手持终端设备,并逐步发展为电视机、智能音箱、智能家居等大型终端设备及系统化终端。智能终端设备的重要价值之一,是其对软件支撑的智能性,除了可选可定制的软件功能外,智能终端设备更多的加入了神经网络、机器学习等智能支撑技术,能够针对用户的使用习惯、用户多维画像等数据进行精准学习,使产品更懂用户,更智能。With the continuous advancement of communication, computer software and hardware technologies, technologies such as the Internet of Things, the Internet of Everything, and the Intelligence of Everything have developed rapidly, and have gradually entered the society in the form of products and services, becoming an important part of work, life, and study. Among them, smart terminal devices first emerged from handheld terminal devices such as mobile phones and tablet computers, and gradually developed into large-scale terminal devices and systemized terminals such as TVs, smart speakers, and smart homes. One of the important values of smart terminal devices is the intelligence of their software support. In addition to optional and customizable software functions, smart terminal devices have more intelligent support technologies such as neural networks and machine learning, which can target users. Use habits, user multi-dimensional portraits and other data for precise learning, so that the product understands users better and is smarter.

根据不同的应用场景,智能终端设备(后续的描述中简称为终端)可以包括面向单一用户对象的单一用户终端(比如手机、平板电脑等)及面向多个用户对象的多用户终端(电视机、智能音箱等)。当用户画像的软件技术应用于单一用户终端时,由于单一用户终端被其他用户使用的概率极低,几乎所有发生在终端上的行为都可被认为是目标用户的行为,因此,用户行为采集及用户画像参数设置可以完全基于终端自身采集的数据来实现,比如通过购物软件的购物行为分析,可以推定目标用户可能喜爱的影视剧类型等。According to different application scenarios, smart terminal devices (referred to as terminals in subsequent descriptions) may include single user terminals (such as mobile phones, tablet computers, etc.) smart speakers, etc.). When the user portrait software technology is applied to a single user terminal, since the probability of a single user terminal being used by other users is extremely low, almost all behaviors that occur on the terminal can be considered as the behavior of the target user. Therefore, user behavior collection and User profile parameter setting can be realized entirely based on the data collected by the terminal itself. For example, through the shopping behavior analysis of shopping software, it is possible to infer the type of film and television drama that the target user may like.

然而,当用户画像的软件技术需要应用于多用户终端时,由于多用户终端是供多个用户共同使用的,终端通过自身采集的数据无法对各用户的行为进行区分,从而无法针对各用户分别构建用户画像。However, when the software technology of user profiling needs to be applied to multi-user terminals, since the multi-user terminals are shared by multiple users, the data collected by the terminal itself cannot distinguish the behaviors of each user, so that it is impossible to distinguish the behaviors of each user. Build user personas.

发明内容Contents of the invention

为解决相关技术问题,本申请实施例提供一种使用者识别方法、装置、电子设备及存储介质。In order to solve related technical problems, embodiments of the present application provide a user identification method, device, electronic equipment, and storage medium.

本申请实施例的技术方案是这样实现的:The technical scheme of the embodiment of the application is realized in this way:

本申请实施例提供了一种使用者识别方法,包括:An embodiment of the present application provides a user identification method, including:

获取电子设备的采集单元采集的第一信息;所述第一信息至少包含多个第一接触点之间的相对位置关系;所述接触点是使用者握持所述电子设备时手指与所述采集单元接触所产生的;Obtain the first information collected by the collection unit of the electronic device; the first information includes at least the relative positional relationship between a plurality of first contact points; the contact point is the contact between the user's finger and the resulting from exposure to the collection unit;

将所述第一信息与第一数据库中的第二信息进行匹配,得到第一匹配结果;所述第一数据库包含多个使用者标识及每个使用者标识对应的第二信息;每个第二信息至少包含多个第二接触点之间的相对位置关系;Matching the first information with the second information in the first database to obtain a first matching result; the first database includes a plurality of user IDs and the second information corresponding to each user ID; each second The second information includes at least the relative positional relationship between multiple second contact points;

基于所述第一匹配结果,识别当前握持所述电子设备的使用者。A user currently holding the electronic device is identified based on the first matching result.

上述方案中,所述第一信息包含多个第一向量;所述多个第一向量用于表示所述多个第一接触点之间的相对位置关系;每个第二信息包含多个第二向量;所述多个第二向量用于表示所述多个第二接触点之间的相对位置关系;所述将所述第一信息与第一数据库中的第二信息进行匹配,包括:In the above solution, the first information includes a plurality of first vectors; the plurality of first vectors are used to represent the relative positional relationship between the plurality of first contact points; each second information includes a plurality of first Two vectors; the multiple second vectors are used to represent the relative positional relationship between the multiple second contact points; the matching the first information with the second information in the first database includes:

将至少一个第一向量与每个第二信息包含的多个第二向量进行匹配,得到第二匹配结果;matching at least one first vector with multiple second vectors contained in each second information to obtain a second matching result;

在所述第二匹配结果表征所述第一数据库中存在一个目标第二信息的情况下,将所述第二匹配结果确定为所述第一匹配结果;所述目标第二信息包含的多个第二向量能够与至少一个第一向量匹配。In the case where the second matching result indicates that there is a target second information in the first database, the second matching result is determined as the first matching result; the plurality of target second information contained The second vector can match at least one first vector.

上述方案中,所述第一信息还包含各第一接触点对应的作用力之间的相对强弱关系;每个第二信息还包含各第二接触点对应的作用力之间的相对强弱关系;所述将所述第一信息与第一数据库中的第二信息进行匹配,还包括:In the above solution, the first information also includes the relative strength relationship between the forces corresponding to the first contact points; each second information also includes the relative strength between the forces corresponding to the second contact points Relationship; the matching of the first information with the second information in the first database further includes:

在所述第二匹配结果表征所述第一数据库中存在至少两个目标第二信息的情况下,将所述各第一接触点对应的作用力之间的相对强弱关系与每个目标第二信息包含的各第二接触点对应的作用力之间的相对强弱关系进行匹配,得到第三匹配结果;并根据所述第三匹配结果确定所述第一匹配结果。In the case where the second matching result indicates that there are at least two target second information in the first database, the relative strength relationship between the forces corresponding to the first contact points is compared with the first contact point of each target. matching the relative strengths of the forces corresponding to the second contact points included in the second information to obtain a third matching result; and determining the first matching result according to the third matching result.

上述方案中,所述多个第一向量的起点相同;每个第二信息包含的多个第二向量的起点相同;所述将至少一个第一向量与每个第二信息包含的多个第二向量进行匹配,包括:In the above solution, the starting points of the plurality of first vectors are the same; the starting points of the plurality of second vectors contained in each second information are the same; the at least one first vector and the plurality of first vectors contained in each second information Two vectors are matched, including:

针对每个第二信息,判断所述第一信息与相应第二信息之间存在的相等向量的个数是否大于或等于第一阈值,得到第一判断结果;For each second information, judging whether the number of equal vectors existing between the first information and the corresponding second information is greater than or equal to a first threshold, and obtaining a first judging result;

在所述第一判断结果表征所述第一信息与相应第二信息之间存在的相等向量的个数大于或等于第一阈值的情况下,将相应第二信息确定为所述目标第二信息。If the first judgment result indicates that the number of equal vectors existing between the first information and corresponding second information is greater than or equal to a first threshold, determining the corresponding second information as the target second information .

上述方案中,所述多个第一向量能够按起点划分为多个第一向量组;所述第一向量组包含的各第一向量的起点相同;每个第二信息包含的多个第二向量能够按起点划分为多个第二向量组;所述第二向量组包含的各第二向量的起点相同;所述将至少一个第一向量与每个第二信息包含的多个第二向量进行匹配,包括:In the above solution, the multiple first vectors can be divided into multiple first vector groups according to the starting point; the starting points of the first vectors contained in the first vector group are the same; the multiple second vectors contained in each second information The vector can be divided into multiple second vector groups according to the starting point; the starting point of each second vector contained in the second vector group is the same; the at least one first vector and the multiple second vectors contained in each second information to match, including:

针对每个第二信息,判断所述第一信息与相应第二信息之间存在的相等向量的个数是否大于或等于第二阈值,得到第二判断结果;For each second information, judge whether the number of equal vectors existing between the first information and the corresponding second information is greater than or equal to a second threshold, and obtain a second judgment result;

在所述第二判断结果表征所述第一信息与相应第二信息之间存在的相等向量的个数大于或等于第二阈值的情况下,将相应第二信息确定为所述目标第二信息。When the second judgment result indicates that the number of equal vectors existing between the first information and corresponding second information is greater than or equal to a second threshold, determining the corresponding second information as the target second information .

上述方案中,所述第一信息包含多个第一强度值;所述多个第一强度值用于表示各第一接触点对应的作用力之间的相对强弱关系;每个第二信息包含多个第二强度值;所述多个第二强度值用于表示相应第二信息包含的各第二接触点对应的作用力之间的相对强弱关系;所述将所述各第一接触点对应的作用力之间的相对强弱关系与每个目标第二信息包含的各第二接触点对应的作用力之间的相对强弱关系进行匹配,包括:In the above solution, the first information includes a plurality of first intensity values; the plurality of first intensity values are used to represent the relative strength relationship between the forces corresponding to the first contact points; each second information Contains a plurality of second intensity values; the plurality of second intensity values are used to represent the relative strength relationship between the forces corresponding to the second contact points included in the corresponding second information; The relative strength relationship between the forces corresponding to the contact points is matched with the relative strength relationship between the forces corresponding to the second contact points included in the second information of each target, including:

将至少一个第一强度值与每个目标第二信息包含的多个第二强度值进行匹配;matching at least one first intensity value with a plurality of second intensity values contained in each target second information;

在所述第三匹配结果表征所述至少两个目标第二信息中存在一个目标第二信息包含的多个第二强度值能够与至少一个第一强度值匹配的情况下,将所述第三匹配结果确定为所述第一匹配结果。In the case where the third matching result indicates that one of the at least two target second information contains a plurality of second intensity values that can match at least one first intensity value, the third The matching result is determined as the first matching result.

上述方案中,所述方法还包括:In the above scheme, the method also includes:

向目标设备发送当前握持所述电子设备的使用者对应的使用者标识,以供所述目标设备进行使用者识别。Sending the user identification corresponding to the user currently holding the electronic device to the target device for the target device to identify the user.

本申请实施例还提供了一种使用者识别装置,包括:The embodiment of the present application also provides a user identification device, including:

获取单元,用于获取电子设备的采集单元采集的第一信息;所述第一信息至少包含多个第一接触点之间的相对位置关系;所述接触点是使用者握持所述电子设备时手指与所述采集单元接触所产生的;The acquisition unit is configured to acquire the first information collected by the acquisition unit of the electronic device; the first information includes at least the relative positional relationship between a plurality of first contact points; the contact point is the user holding the electronic device When the finger is in contact with the collection unit;

第一处理单元,用于将所述第一信息与第一数据库中的第二信息进行匹配,得到第一匹配结果;所述第一数据库包含多个使用者标识及每个使用者标识对应的第二信息;每个第二信息至少包含多个第二接触点之间的相对位置关系;The first processing unit is configured to match the first information with the second information in the first database to obtain a first matching result; the first database includes a plurality of user IDs and a corresponding user ID second information; each second information at least includes a relative positional relationship between a plurality of second contact points;

第二处理单元,用于基于所述第一匹配结果,识别当前握持所述电子设备的使用者。The second processing unit is configured to identify the user currently holding the electronic device based on the first matching result.

本申请实施例还提供了一种电子设备,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,The embodiment of the present application also provides an electronic device, including: a processor and a memory for storing a computer program that can run on the processor,

其中,所述处理器用于运行所述计算机程序时,执行上述任一方法的步骤。Wherein, when the processor is configured to run the computer program, it executes the steps of any one of the above methods.

本申请实施例还提供了一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一方法的步骤。The embodiment of the present application also provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of any one of the above methods are implemented.

本申请实施例提供的使用者识别方法、装置、电子设备及存储介质,获取电子设备的采集单元采集的第一信息;所述第一信息至少包含多个第一接触点之间的相对位置关系;所述接触点是使用者握持所述电子设备时手指与所述采集单元接触所产生的;将所述第一信息与第一数据库中的第二信息进行匹配,得到第一匹配结果;所述第一数据库包含多个使用者标识及每个使用者标识对应的第二信息;每个第二信息至少包含多个第二接触点之间的相对位置关系;基于所述第一匹配结果,识别当前握持所述电子设备的使用者。本申请实施例的方案,至少基于采集单元采集到的使用者握持电子设备时手指与所述采集单元接触所产生的接触点之间的相对位置关系,识别当前握持所述电子设备的使用者;如此,能够使多用户终端识别当前面向的目标用户,从而能够针对目标用户进行用户行为采集并构建用户画像,进而能够使多用户终端为各用户提供精准的个性化服务,提升用户体验。The user identification method, device, electronic equipment, and storage medium provided in the embodiments of the present application acquire the first information collected by the collection unit of the electronic equipment; the first information includes at least the relative positional relationship between multiple first contact points ; The contact point is generated when the user's finger touches the acquisition unit when holding the electronic device; matching the first information with the second information in the first database to obtain a first matching result; The first database includes a plurality of user identifiers and second information corresponding to each user identifier; each second information includes at least a relative positional relationship between a plurality of second contact points; based on the first matching result , to identify the user currently holding the electronic device. In the solution of the embodiment of the present application, at least based on the relative positional relationship between the contact points between the user's finger and the collection unit collected by the collection unit when the user is holding the electronic device, identify the user who is currently holding the electronic device. In this way, the multi-user terminal can identify the current target user, so as to collect user behavior and build a user portrait for the target user, and then enable the multi-user terminal to provide accurate personalized services for each user and improve user experience.

附图说明Description of drawings

图1为本申请实施例使用者识别方法的流程示意图;FIG. 1 is a schematic flow diagram of a user identification method in an embodiment of the present application;

图2为本申请应用实施例遥控装置的立体示意图;Fig. 2 is a three-dimensional schematic diagram of a remote control device in an application embodiment of the present application;

图3为本申请应用实施例遥控装置的正面示意图;FIG. 3 is a schematic front view of the remote control device of the application embodiment of the present application;

图4为本申请应用实施例接触点分布的立体示意图;4 is a three-dimensional schematic diagram of the distribution of contact points in an application embodiment of the present application;

图5为本申请应用实施例接触点分布的侧向示意图;Fig. 5 is a lateral schematic diagram of the distribution of contact points in an application embodiment of the present application;

图6为本申请应用实施例一组接触点向量示意图;FIG. 6 is a schematic diagram of a group of contact point vectors in an application embodiment of the present application;

图7为本申请应用实施例另一组接触点向量示意图;FIG. 7 is a schematic diagram of another set of contact point vectors in the application embodiment of the present application;

图8为本申请应用实施例不同用户的接触点向量示意图;FIG. 8 is a schematic diagram of contact point vectors of different users in the application embodiment of the present application;

图9为本申请应用实施例多用户识别的流程示意图;FIG. 9 is a schematic flow diagram of multi-user identification in an application embodiment of the present application;

图10为本申请应用实施例手指握持位置的坐标采集示意图;Fig. 10 is a schematic diagram of coordinate acquisition of the finger holding position of the application embodiment of the present application;

图11为本申请应用实施例向量抽取比对示意图;Fig. 11 is a schematic diagram of vector extraction and comparison in the application embodiment of the present application;

图12为本申请实施例使用者识别装置的结构示意图;FIG. 12 is a schematic structural diagram of a user identification device according to an embodiment of the present application;

图13为本申请实施例电子设备的结构示意图。FIG. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

具体实施方式detailed description

下面结合附图及实施例对本申请再作进一步详细的描述。The application will be further described in detail below in conjunction with the accompanying drawings and embodiments.

实际应用时,为了提升用户体验,需要考虑使多用户终端为面向的各用户提供精准的个性化服务。比如,对于具备智能操作系统的电视机,在一个老人、青年人和小孩共同生活的家庭,由于年龄的差异,大概率其感兴趣的影视对象完全不同,如果根据青年人的用户习惯获得的用户画像推介内容,而内容恰好被老人或小孩观看,其用户体验将极差;因此,需要考虑使电视机为不同的用户提供影视智能推介服务,并提高智能推介的准确性。In practical applications, in order to improve user experience, it is necessary to consider enabling the multi-user terminal to provide accurate personalized services for each user. For example, for a TV with a smart operating system, in a family where old people, young people and children live together, due to age differences, there is a high probability that they will be interested in completely different film and television objects. Portraits recommend content, and if the content happens to be watched by the elderly or children, the user experience will be extremely poor; therefore, it is necessary to consider enabling the TV to provide different users with intelligent film and television recommendation services, and to improve the accuracy of intelligent recommendation.

基于此,在本申请的各种实施例中,至少基于采集单元采集到的使用者握持电子设备时手指与所述采集单元接触所产生的接触点之间的相对位置关系,识别当前握持所述电子设备的使用者;如此,能够使多用户终端识别当前面向的目标用户,从而能够针对目标用户进行用户行为采集并构建用户画像,进而能够使多用户终端为各用户提供精准的个性化服务,提升用户体验。Based on this, in various embodiments of the present application, at least based on the relative positional relationship between the contact points between the user's fingers and the collection unit collected by the collection unit when the user holds the electronic device, the current holding The user of the electronic device; in this way, the multi-user terminal can identify the current target user, so that user behavior can be collected for the target user and a user portrait can be constructed, so that the multi-user terminal can provide each user with accurate personalized services to improve user experience.

本申请实施例提供一种使用者识别方法,应用于电子设备,如图1所示,该方法包括:The embodiment of the present application provides a user identification method applied to electronic equipment, as shown in Figure 1, the method includes:

步骤101:获取电子设备的采集单元采集的第一信息;Step 101: Obtain the first information collected by the collection unit of the electronic device;

这里,所述第一信息至少包含多个第一接触点之间的相对位置关系;所述接触点是使用者握持所述电子设备时手指与所述采集单元接触所产生的;Here, the first information at least includes a relative positional relationship between a plurality of first contact points; the contact points are generated by the user's fingers touching the collection unit when holding the electronic device;

步骤102:将所述第一信息与第一数据库中的第二信息进行匹配,得到第一匹配结果;Step 102: matching the first information with the second information in the first database to obtain a first matching result;

这里,所述第一数据库包含多个使用者标识及每个使用者标识对应的第二信息;每个第二信息至少包含多个第二接触点之间的相对位置关系;Here, the first database includes a plurality of user identifiers and second information corresponding to each user identifier; each second information includes at least a relative positional relationship between a plurality of second contact points;

步骤103:基于所述第一匹配结果,识别当前握持所述电子设备的使用者。Step 103: Based on the first matching result, identify the user currently holding the electronic device.

这里,需要说明的是,实际应用时,所述电子设备可以是多用户终端,比如电视机、智能音箱等。或者,所述电子设备也可以是能够与多用户终端进行有线或无线通信的设备,比如电视机的遥控装置(也可以称为遥控器)、手机等。Here, it should be noted that, in actual application, the electronic device may be a multi-user terminal, such as a TV, a smart speaker, and the like. Alternatively, the electronic device may also be a device capable of wired or wireless communication with a multi-user terminal, such as a remote control device (also called a remote control) of a television, a mobile phone, and the like.

在步骤101中,实际应用时,所述采集单元可以包含电容式、电阻式等类型的触摸膜,即所述采集单元可以通过触摸膜技术采集所述第一信息。或者,所述采集单元也可以包含阵列分布或在一长度方向上以一定密度布置的压敏、红外反射式等类型的传感器,并通过传感器采集所述第一信息。所述采集单元的具体结构及采集所述第一信息的具体方式可以根据需求设置,本申请实施例对此不作限定。In step 101, in actual application, the acquisition unit may include a capacitive touch film, a resistive touch film, or the like, that is, the acquisition unit may collect the first information through a touch film technology. Alternatively, the collection unit may also include pressure-sensitive, infrared reflective and other types of sensors distributed in an array or arranged at a certain density along a length direction, and collect the first information through the sensors. The specific structure of the collection unit and the specific manner of collecting the first information may be set according to requirements, which are not limited in this embodiment of the present application.

实际应用时,可以根据需求设置所述采集单元在所述电子设备中的位置。示例性地,所述电子设备为遥控器时,为了能够在用户自然握持遥控器的情况下准确地采集到接触点信息,可以将所述采集单元设置在遥控器的两侧。In practical application, the position of the acquisition unit in the electronic device can be set according to requirements. Exemplarily, when the electronic device is a remote control, in order to accurately collect contact point information when the user naturally holds the remote control, the collection units may be arranged on both sides of the remote control.

在步骤102中,实际应用时,所述第一数据库中的第二信息可以通过所述采集单元预先采集得到。所述第一数据库包含的使用者标识可以表征多用户终端需要识别的用户对象(即面向的用户对象),比如需要构建用户画像的用户对象。In step 102, in actual application, the second information in the first database may be pre-collected by the collection unit. The user identifier included in the first database may represent the user object (ie, the user object oriented) that the multi-user terminal needs to identify, for example, the user object that needs to build a user portrait.

实际应用时,接触点之间的相对位置关系可以通过向量表示。In practical applications, the relative positional relationship between contact points can be represented by vectors.

基于此,在一实施例中,所述第一信息可以包含多个第一向量;所述多个第一向量用于表示所述多个第一接触点之间的相对位置关系;每个第二信息可以包含多个第二向量;所述多个第二向量用于表示所述多个第二接触点之间的相对位置关系;Based on this, in an embodiment, the first information may include multiple first vectors; the multiple first vectors are used to represent the relative positional relationship between the multiple first contact points; each The second information may include multiple second vectors; the multiple second vectors are used to represent the relative positional relationship between the multiple second contact points;

相应地,所述将所述第一信息与第一数据库中的第二信息进行匹配,可以包括:Correspondingly, the matching the first information with the second information in the first database may include:

将至少一个第一向量与每个第二信息包含的多个第二向量进行匹配,得到第二匹配结果;matching at least one first vector with multiple second vectors contained in each second information to obtain a second matching result;

在所述第二匹配结果表征所述第一数据库中存在一个目标第二信息的情况下,将所述第二匹配结果确定为所述第一匹配结果;所述目标第二信息包含的多个第二向量能够与至少一个第一向量匹配。In the case where the second matching result indicates that there is a target second information in the first database, the second matching result is determined as the first matching result; the plurality of target second information contained The second vector can match at least one first vector.

实际应用时,在所述第二匹配结果表征所述第一数据库中存在一个目标第二信息的情况下,所述将所述第二匹配结果确定为所述第一匹配结果,可以理解为:所述目标第二信息对应的使用者标识能够表征当前握持所述电子设备的使用者。当然,在所述第二匹配结果表征所述第一数据库中不存在目标第二信息的情况下,也可以直接将所述第二匹配结果确定为所述第一匹配结果,即确定当前握持所述电子设备的使用者不是多用户终端需要识别的用户对象,可不进行后续处理。In practical applications, when the second matching result indicates that there is a target second information in the first database, the determining the second matching result as the first matching result can be understood as: The user identifier corresponding to the second target information can represent the user currently holding the electronic device. Of course, when the second matching result indicates that there is no target second information in the first database, the second matching result can also be directly determined as the first matching result, that is, the current holding The user of the electronic device is not a user object to be identified by the multi-user terminal, and subsequent processing may not be performed.

实际应用时,所述多个第一向量的起点可以相同或不同,相应地,每个第二信息包含的多个第二向量的起点也可以相同或不同。In practical applications, the starting points of the multiple first vectors may be the same or different, and correspondingly, the starting points of the multiple second vectors included in each second information may also be the same or different.

具体地,为了提高识别使用者的速度,并降低所述第一数据库占用的内存,两个第一接触点可以确定一个第一向量,且所述多个第一向量的起点可以相同,所述多个第一向量的起点可以是任一第一接触点,比如所述采集单元检测到的最边缘的接触点。相应地,两个第二接触点可以确定一个第二向量,且每个第二信息包含的多个第二向量的起点也可以相同,所述多个第二向量的起点可以是相应第二信息包含的任一第二接触点,比如所述采集单元采集相应第二信息时检测到的最边缘的接触点。示例性地,所述第一信息包含N个第一接触点之间的相对位置关系时(N为大于1的整数),所述第一信息具体可以包含N-1个第一向量。Specifically, in order to increase the speed of identifying users and reduce the memory occupied by the first database, two first contact points can determine a first vector, and the starting points of the multiple first vectors can be the same, the The starting point of the plurality of first vectors may be any first contact point, such as the most edge contact point detected by the acquisition unit. Correspondingly, two second contact points can determine a second vector, and the starting points of multiple second vectors included in each second information can also be the same, and the starting points of the multiple second vectors can be the corresponding second information Any second contact point included is, for example, the most marginal contact point detected when the collection unit collects the corresponding second information. Exemplarily, when the first information includes relative positional relationships between N first contact points (N is an integer greater than 1), the first information may specifically include N-1 first vectors.

当然,为了提高识别使用者的准确率,所述采集单元采集所述第一信息时,可以确定以每个第一接触点为起点的一组向量,换句话说,所述多个第一向量可以按起点划分为多个第一向量组,所述第一向量组包含的各第一向量的起点相同。相应地,每个第二信息包含的多个第二向量可以按起点划分为多个第二向量组,所述第二向量组包含的各第二向量的起点相同。示例性地,所述第一信息包含N个第一接触点之间的相对位置关系时,所述第一信息具体可以包含N个第一向量组,每个第一向量组可以包含N-1个第一向量。Of course, in order to improve the accuracy of identifying the user, when the collection unit collects the first information, it can determine a set of vectors starting from each first contact point, in other words, the multiple first vectors It can be divided into multiple first vector groups according to the starting point, and the starting points of the first vectors included in the first vector group are the same. Correspondingly, the multiple second vectors included in each second information may be divided into multiple second vector groups according to starting points, and the starting points of the second vectors included in the second vector group are the same. Exemplarily, when the first information includes relative positional relationships between N first contact points, the first information may specifically include N first vector groups, and each first vector group may include N-1 the first vector.

实际应用时,可以通过以下两种方式,将至少一个第一向量与每个第二信息包含的多个第二向量进行匹配,得到所述第二匹配结果。In practical applications, at least one first vector can be matched with multiple second vectors contained in each second information in the following two ways to obtain the second matching result.

方式一:为了提高识别使用者的准确率,可以将所述多个第一向量中的每个第一向量与每个第二信息包含的每个第二向量进行匹配,得到所述第二匹配结果。这里,所述匹配可以理解为将第一向量和第二向量进行对比,换句话说,判断第一向量和第二向量是否相等。在所述第一信息与相应第二信息之间存在的相等向量的个数大于或等于预设阈值的情况下,可以将相应第二信息确定为所述目标第二信息。Way 1: In order to improve the accuracy of identifying the user, each first vector in the plurality of first vectors can be matched with each second vector contained in each second information to obtain the second matching result. Here, the matching can be understood as comparing the first vector with the second vector, in other words, judging whether the first vector and the second vector are equal. In a case where the number of equal vectors existing between the first information and corresponding second information is greater than or equal to a preset threshold, the corresponding second information may be determined as the target second information.

基于此,在一实施例中,在所述多个第一向量的起点相同,且每个第二信息包含的多个第二向量的起点相同的情况下,所述将至少一个第一向量与每个第二信息包含的多个第二向量进行匹配,可以包括:Based on this, in an embodiment, when the start points of the multiple first vectors are the same, and the start points of the multiple second vectors contained in each second information are the same, the combination of at least one first vector and Matching multiple second vectors contained in each second information may include:

针对每个第二信息,判断所述第一信息与相应第二信息之间存在的相等向量的个数是否大于或等于第一阈值,得到第一判断结果;For each second information, judging whether the number of equal vectors existing between the first information and the corresponding second information is greater than or equal to a first threshold, and obtaining a first judging result;

在所述第一判断结果表征所述第一信息与相应第二信息之间存在的相等向量的个数大于或等于第一阈值的情况下,将相应第二信息确定为所述目标第二信息,即确定相应第二信息包含的多个第二向量能够与所述多个第一向量匹配。If the first judgment result indicates that the number of equal vectors existing between the first information and corresponding second information is greater than or equal to a first threshold, determining the corresponding second information as the target second information , that is, it is determined that the multiple second vectors included in the corresponding second information can match the multiple first vectors.

实际应用时,所述第一阈值可以根据需求设置。In practical applications, the first threshold can be set according to requirements.

在另一实施例中,在所述多个第一向量能够可按起点划分为多个第一向量组,所述第一向量组包含的各第一向量的起点相同,每个第二信息包含的多个第二向量能够可按起点划分为多个第二向量组,且所述第二向量组包含的各第二向量的起点相同的情况下,所述将至少一个第一向量与每个第二信息包含的多个第二向量进行匹配,可以包括:In another embodiment, the multiple first vectors can be divided into multiple first vector groups according to the starting point, the starting point of each first vector contained in the first vector group is the same, and each second information contains A plurality of second vectors can be divided into a plurality of second vector groups according to the starting point, and when the starting points of the second vectors contained in the second vector group are the same, the at least one first vector and each Multiple second vectors contained in the second information are matched, which may include:

针对每个第二信息,判断所述第一信息与相应第二信息之间存在的相等向量的个数是否大于或等于第二阈值,得到第二判断结果;For each second information, judge whether the number of equal vectors existing between the first information and the corresponding second information is greater than or equal to a second threshold, and obtain a second judgment result;

在所述第二判断结果表征所述第一信息与相应第二信息之间存在的相等向量的个数大于或等于第二阈值的情况下,将相应第二信息确定为所述目标第二信息,即确定相应第二信息包含的多个第二向量能够与所述多个第一向量匹配。When the second judgment result indicates that the number of equal vectors existing between the first information and corresponding second information is greater than or equal to a second threshold, determining the corresponding second information as the target second information , that is, it is determined that the multiple second vectors included in the corresponding second information can match the multiple first vectors.

实际应用时,所述第二阈值也可以根据需求设置。由于所述第一信息和所述第二信息均包含多个向量组,因此,所述第二阈值可以大于或等于所述第一阈值。In practical applications, the second threshold can also be set according to requirements. Since both the first information and the second information include multiple vector groups, the second threshold may be greater than or equal to the first threshold.

方式二:为了提高识别使用者的速度,可以先从所述多个第一向量中随机抽取一个第一向量与每个第二信息包含的每个第二向量进行匹配,即将随机抽取的一个第一向量与每个第二信息包含的每个第二向量进行对比,在相应第二信息包含与所述随机抽取的一个第一向量相等的第二向量的情况下,将相应第二信息确定为候选的目标第二信息。Method 2: In order to increase the speed of identifying the user, a first vector may be randomly selected from the plurality of first vectors to match each second vector included in each second information, that is, a randomly selected first vector A vector is compared with each second vector contained in each second information, and in the case that the corresponding second information contains a second vector equal to the randomly selected first vector, the corresponding second information is determined as Candidate target second information.

这里,将随机抽取的一个第一向量与每个第二信息包含的每个第二向量对比完毕后,若不存在候选的目标第二信息,或仅存在一个候选的目标第二信息,可以无需再进行其他第一向量(即除随机抽取的一个第一向量外的其他第一向量)与每个第二信息包含的每个第二向量的对比,直接得到所述第二匹配结果。具体地,若不存在候选的目标第二信息,所述第二匹配结果表征所述第一数据库中不存在目标第二信息,相应地,所述第一匹配结果表征当前握持所述电子设备的使用者不是多用户终端需要识别的用户对象,可不进行后续处理。仅存在一个候选的目标第二信息时,可以直接将所述候选的目标第二信息确定为正式的目标第二信息(可以理解为得到所述第二匹配结果,所述第二匹配结果表征所述第一数据库中存在一个目标第二信息),即确定所述候选的目标第二信息包含的多个第二向量能够与一个第一向量(即所述随机抽取的第一向量)匹配,从而能够得到所述第一匹配结果,即所述候选的目标第二信息对应的使用者标识能够表征当前握持所述电子设备的使用者。Here, after comparing a randomly extracted first vector with each second vector contained in each second information, if there is no candidate target second information, or only one candidate target second information, it is not necessary to Then compare other first vectors (that is, other first vectors except the randomly selected first vector) with each second vector included in each second information, and directly obtain the second matching result. Specifically, if there is no candidate target second information, the second matching result indicates that there is no target second information in the first database, and correspondingly, the first matching result indicates that the electronic device is currently held If the user is not a user object that needs to be identified by the multi-user terminal, subsequent processing may not be performed. When there is only one candidate target second information, the candidate target second information can be directly determined as the official target second information (it can be understood as obtaining the second matching result, and the second matching result represents the There is a target second information in the first database), that is, it is determined that the plurality of second vectors contained in the candidate target second information can match a first vector (ie, the randomly extracted first vector), so that The first matching result can be obtained, that is, the user identifier corresponding to the candidate target second information can represent the user currently holding the electronic device.

当然,将随机抽取的一个第一向量与每个第二信息包含的每个第二向量对比完毕后,若存在至少两个候选的目标第二信息,则需要增加与每个第二信息包含的每个第二向量进行对比的第一向量的个数,直至能够确定唯一一个候选的目标第二信息,或者,直至将每个第一向量与每个第二信息包含的每个第二向量对比完毕。如果将每个第一向量与每个第二信息包含的每个第二向量对比完毕后,仍存在至少两个候选的目标第二信息,也可以直接将所述至少两个候选的目标第二信息确定为至少两个正式的目标第二信息(可以理解为得到所述第二匹配结果,所述第二匹配结果表征所述第一数据库中存在至少两个目标第二信息),即确定所述至少两个候选的目标第二信息中的每个候选的目标第二信息包含的多个第二向量能够与所述多个第一向量匹配。Of course, after comparing a randomly extracted first vector with each second vector contained in each second information, if there are at least two candidate target second information, it is necessary to increase the The number of first vectors to be compared with each second vector until only one candidate target second information can be determined, or until each first vector is compared with each second vector contained in each second information complete. If after comparing each first vector with each second vector contained in each second information, there are still at least two candidate target second information, the at least two candidate target second information can also be directly The information is determined as at least two formal target second information (it can be understood as obtaining the second matching result, and the second matching result indicates that there are at least two target second information in the first database), that is, determining the The plurality of second vectors included in each candidate target second information of the at least two candidate target second information can match the plurality of first vectors.

实际应用时,虽然所述多用户终端面向多个用户对象,但用户对象的具体个数通常较少。比如,对于一个家庭中具备智能操作系统的电视机,家庭成员的人数基本在10人以内,通常为3至5人。因此,通过上述方式二,得到所述第二匹配结果,一方面,实现方式简单,能够快速、准确地确定当前握持所述电子设备的使用者;另一方面,能够有效节约所述电子设备的计算资源及存储资源。In actual application, although the multi-user terminal faces multiple user objects, the specific number of user objects is usually small. For example, for a TV with a smart operating system in a family, the number of family members is basically within 10, usually 3 to 5. Therefore, the second matching result is obtained through the second method above. On the one hand, the implementation method is simple, and the user who is currently holding the electronic device can be quickly and accurately determined; on the other hand, the electronic device can be effectively saved. computing and storage resources.

实际应用时,在所述第二匹配结果表征所述第一数据库中存在至少两个目标第二信息的情况下,为了能够识别出唯一的使用者,可以结合接触点对应的作用力之间的相对强弱关系,继续对所述第一信息与第一数据库中的第二信息进行匹配。In practical applications, in the case where the second matching result indicates that there are at least two target second information in the first database, in order to identify a unique user, it may be combined with the force between the corresponding contact points Relative to the strength relationship, continue to match the first information with the second information in the first database.

基于此,在一实施例中,所述第一信息还可以包含各第一接触点对应的作用力之间的相对强弱关系;每个第二信息还可以包含各第二接触点对应的作用力之间的相对强弱关系;Based on this, in an embodiment, the first information may also include the relative strength relationship between the forces corresponding to each first contact point; each second information may also include the action force corresponding to each second contact point. the relative strength of the forces;

相应地,所述将所述第一信息与第一数据库中的第二信息进行匹配,还可以包括:Correspondingly, the matching the first information with the second information in the first database may further include:

在所述第二匹配结果表征所述第一数据库中存在至少两个目标第二信息的情况下,将所述各第一接触点对应的作用力之间的相对强弱关系与每个目标第二信息包含的各第二接触点对应的作用力之间的相对强弱关系进行匹配,得到第三匹配结果;并根据所述第三匹配结果确定所述第一匹配结果。In the case where the second matching result indicates that there are at least two target second information in the first database, the relative strength relationship between the forces corresponding to the first contact points is compared with the first contact point of each target. matching the relative strengths of the forces corresponding to the second contact points included in the second information to obtain a third matching result; and determining the first matching result according to the third matching result.

实际应用时,各接触点对应的作用力之间的相对强弱关系可以用各接触点对应的作用力强度值表示。In practical applications, the relative strength relationship between the forces corresponding to each contact point can be expressed by the force intensity value corresponding to each contact point.

具体地,所述第一信息可以包含每个第一接触点对应的第一强度值,每个第一强度值可以表征相应第一接触点对应的作用力与目标第一接触点对应的作用力之间的相对强弱关系,所述目标第一接触点对应的作用力在所述多个第一接触点中最弱或最强。相应地,每个第二信息可以包含相应的每个第二接触点对应的第二强度值,每个第二强度值可以表征相应第二接触点对应的作用力与目标第二接触点对应的作用力之间的相对强弱关系,所述目标第二接触点对应的作用力在相应的多个第二接触点中最弱或最强。示例性地,所述第一信息包含4个第一接触点之间的相对位置关系,且所述目标第一接触点对应的作用力在所述4个第一接触点中最弱时,所述第一信息还包含4个第一强度值,且所述目标第一接触点对应的第一强度值可以为0,其他3个第一接触点对应的第一强度值可以为大于0的、能够表示相应第一接触点对应的作用力与目标第一接触点对应的作用力之差的整数或分数。Specifically, the first information may include a first intensity value corresponding to each first contact point, and each first intensity value may represent the force corresponding to the corresponding first contact point and the force corresponding to the target first contact point The relative strength relationship among the first contact points, the force corresponding to the target first contact point is the weakest or the strongest among the plurality of first contact points. Correspondingly, each piece of second information may include a corresponding second intensity value corresponding to each second contact point, and each second intensity value may represent the force corresponding to the corresponding second contact point and the force corresponding to the target second contact point. The relative strength relationship between the action forces, the action force corresponding to the target second contact point is the weakest or the strongest among the corresponding plurality of second contact points. Exemplarily, the first information includes the relative positional relationship between the four first contact points, and when the force corresponding to the target first contact point is the weakest among the four first contact points, the The first information also includes 4 first intensity values, and the first intensity value corresponding to the first contact point of the target may be 0, and the first intensity values corresponding to the other 3 first contact points may be greater than 0, An integer or fraction that can represent the difference between the force corresponding to the corresponding first contact point and the force corresponding to the target first contact point.

基于此,在一实施例中,在所述第一信息包含多个第一强度值,所述多个第一强度值用于表示各第一接触点对应的作用力之间的相对强弱关系,每个第二信息包含多个第二强度值,所述多个第二强度值用于表示相应第二信息包含的各第二接触点对应的作用力之间的相对强弱关系的情况下,所述将所述各第一接触点对应的作用力之间的相对强弱关系与每个目标第二信息包含的各第二接触点对应的作用力之间的相对强弱关系进行匹配,可以包括:Based on this, in an embodiment, the first information includes a plurality of first intensity values, and the plurality of first intensity values are used to represent the relative strength relationship between the forces corresponding to the first contact points , each second information contains a plurality of second intensity values, and the plurality of second intensity values are used to represent the relative strength relationship between the forces corresponding to the second contact points included in the corresponding second information , matching the relative strength relationship between the force corresponding to each first contact point with the relative strength relationship between the force corresponding to each second contact point contained in each target second information, Can include:

将至少一个第一强度值与每个目标第二信息包含的多个第二强度值进行匹配;matching at least one first intensity value with a plurality of second intensity values contained in each target second information;

相应地,所述根据所述第三匹配结果确定所述第一匹配结果,可以包括:Correspondingly, the determining the first matching result according to the third matching result may include:

在所述第三匹配结果表征所述至少两个目标第二信息中存在一个目标第二信息包含的多个第二强度值能够与至少一个第一强度值匹配的情况下,将所述第三匹配结果确定为所述第一匹配结果。In the case where the third matching result indicates that one of the at least two target second information contains a plurality of second intensity values that can match at least one first intensity value, the third The matching result is determined as the first matching result.

实际应用时,在所述第三匹配结果表征所述至少两个目标第二信息中存在一个目标第二信息包含的多个第二强度值能够与至少一个第一强度值匹配的情况下,所述将所述第三匹配结果确定为所述第一匹配结果,可以理解为:包含的多个第二强度值能够与至少一个第一强度值匹配的目标第二信息对应的使用者标识能够表征当前握持所述电子设备的使用者。当然,在所述第三匹配结果表征所述至少两个目标第二信息中不存在包含的多个第二强度值能够与至少一个第一强度值匹配的目标第二信息的情况下,也可以直接将所述第三匹配结果确定为所述第一匹配结果,即确定当前握持所述电子设备的使用者不是多用户终端需要识别的用户对象,可不进行后续处理;或者,在步骤103中,基于预设的选择策略从所述第一匹配结果中确定一个目标第二信息,利用该目标第二信息对应的使用者标识来表征当前握持所述电子设备的使用者。这里,所述选择策略可以根据需求设置,本申请实施例对此不作限定。In practical applications, when the third matching result indicates that there is one target second information in the at least two target second information that includes multiple second intensity values that can match at least one first intensity value, the The above-mentioned determination of the third matching result as the first matching result can be understood as: the user identification corresponding to the target second information that includes a plurality of second strength values that can match at least one first strength value can represent A user currently holding the electronic device. Of course, in the case where the third matching result indicates that there is no target second information in the at least two target second information that contains a plurality of second intensity values that can match at least one first intensity value, it may also be directly determining the third matching result as the first matching result, that is, determining that the user currently holding the electronic device is not a user object that needs to be identified by the multi-user terminal, and subsequent processing may not be performed; or, in step 103 Determining a target second information from the first matching result based on a preset selection strategy, and using a user identifier corresponding to the target second information to represent a user currently holding the electronic device. Here, the selection strategy may be set according to requirements, which is not limited in this embodiment of the present application.

实际应用时,所述匹配可以理解为将第一强度值和第二强度值进行对比,换句话说,判断第一强度值和第二强度值是否相等。实际应用时,可以将每个第一强度值与每个目标第二信息包含的每个第二强度值进行对比,针对每个目标第二信息,确定相应目标第二信息与所述第一信息之间存在的相等的强度值的个数,在一个目标第二信息与所述第一信息之间存在的相等的强度值的个数在所述至少两个目标第二信息中最多的情况下,可以确定该目标第二信息包含的多个第二强度值能够与所述多个第一强度值匹配,即确定所述第三匹配结果表征所述至少两个目标第二信息中存在一个目标第二信息包含的多个第二强度值能够与所述多个第一强度值匹配。In practical application, the matching can be understood as comparing the first intensity value with the second intensity value, in other words, judging whether the first intensity value and the second intensity value are equal. In practical application, each first intensity value may be compared with each second intensity value included in each target second information, and for each target second information, determine the corresponding target second information and the first information The number of equal strength values that exist between the first information and the number of equal strength values that exist between one target second information and the first information is the largest among the at least two target second information , it can be determined that the multiple second intensity values included in the target second information can match the multiple first intensity values, that is, it is determined that the third matching result indicates that there is one target in the at least two target second information The plurality of second intensity values included in the second information can match the plurality of first intensity values.

当然,也可以先从所述多个第一强度值中随机抽取一个第一强度值与每个目标第二信息包含的每个第二强度值进行对比,若存在唯一一个目标第二信息包含与所述随机抽取的第一强度值相等的第二强度值,则可以确定该目标第二信息包含的多个第二强度值能够与一个第一强度值(即所述随机抽取的第一强度值)匹配;此时,可以无需再进行其他第一强度值(即除随机抽取的一个第一强度值外的其他第一强度值)与每个目标第二信息包含的每个第二强度值的对比,直接得到所述第三匹配结果,并能够确定所述第三匹配结果表征所述至少两个目标第二信息中存在一个目标第二信息包含的多个第二强度值能够与至少一个第一强度值匹配。若不存在包含与所述随机抽取的第一强度值相等的第二强度值的目标第二信息,也可以无需再进行其他第一强度值与每个目标第二信息包含的每个第二强度值的对比,直接得到所述第三匹配结果,并能够确定所述第三匹配结果表征所述至少两个目标第二信息中不存在包含的多个第二强度值能够与至少一个第一强度值匹配的目标第二信息。若存在至少两个包含与所述随机抽取的第一强度值相等的第二强度值的目标第二信息,则需要增加与每个目标第二信息包含的每个第二强度值进行对比的第一强度值的个数,直至能够确定所述第三匹配结果表征所述至少两个目标第二信息中存在一个目标第二信息包含的多个第二强度值能够与至少一个第一强度值匹配,或者,直至将每个第一强度值与每个目标第二信息包含的每个第二强度值对比完毕。Of course, it is also possible to randomly select a first intensity value from the plurality of first intensity values and compare it with each second intensity value contained in each target second information. If there is only one target second information that contains the same If the randomly drawn first strength value is equal to the second strength value, then it can be determined that the plurality of second strength values contained in the target second information can be compared with one first strength value (that is, the randomly drawn first strength value ) matching; at this time, there is no need to carry out other first intensity values (that is, other first intensity values except a randomly selected first intensity value) and each second intensity value contained in each target second information. In contrast, the third matching result is directly obtained, and it can be determined that the third matching result indicates that there is one target second information in the at least two target second information. An intensity value matches. If there is no target second information containing a second intensity value equal to the randomly selected first intensity value, it is also unnecessary to carry out other first intensity values and each second intensity contained in each target second information. The comparison of the values directly obtains the third matching result, and it can be determined that the third matching result indicates that there are no multiple second intensity values included in the at least two target second information that can be compared with at least one first intensity The target second message whose value matches. If there are at least two target second information that contain a second intensity value that is equal to the randomly selected first intensity value, it is necessary to increase the second information that is compared with each second intensity value contained in each target second information. a number of intensity values, until it can be determined that the third matching result indicates that there is one target in the at least two target second information, and the multiple second intensity values contained in the second information can match at least one first intensity value , or until the comparison between each first intensity value and each second intensity value contained in each target second information is completed.

当然,还可以通过其他条件判断一个目标第二信息包含的多个第二强度值是否能够与至少一个第一强度值匹配,本申请实施例对此不作限定。Of course, other conditions may also be used to determine whether multiple second intensity values contained in a target second information can match at least one first intensity value, which is not limited in this embodiment of the present application.

实际应用时,在所述电子设备是能够与多用户终端进行有线或无线通信的设备的情况下,识别当前握持所述电子设备的使用者后,所述电子设备需要向所述多用户终端发送当前握持所述电子设备的使用者对应的使用者标识,以供所述多用户终端进行使用者识别,并执行后续操作,比如采集用户行为、构建用户画像等。In practical applications, when the electronic device is capable of wired or wireless communication with a multi-user terminal, after identifying the user who is currently holding the electronic device, the electronic device needs to report to the multi-user terminal Sending the user ID corresponding to the user currently holding the electronic device for the multi-user terminal to identify the user and perform subsequent operations, such as collecting user behavior, constructing a user portrait, and the like.

基于此,在一实施例中,所述方法还可以包括:Based on this, in an embodiment, the method may further include:

向目标设备发送当前握持所述电子设备的使用者对应的使用者标识,以供所述目标设备进行使用者识别。Sending the user identification corresponding to the user currently holding the electronic device to the target device for the target device to identify the user.

这里,所述目标设备为多用户终端;所述多用户终端基于接收的使用者标识,识别当前握持所述电子设备的使用者后,即识别自身当前面向的用户对象后,可以执行采集用户行为、构建用户画像、信息推荐等操作,所述目标设备具体执行的操作可以根据需求设置,本申请实施例对此不作限定。Here, the target device is a multi-user terminal; after the multi-user terminal identifies the user who is currently holding the electronic device based on the received user identification, that is, after identifying the user object it is currently facing, it can execute the collection of user information. Behavior, user profile building, information recommendation and other operations, the specific operations performed by the target device can be set according to requirements, which is not limited in this embodiment of the present application.

本申请实施例提供的使用者识别方法,获取电子设备的采集单元采集的第一信息;所述第一信息至少包含多个第一接触点之间的相对位置关系;所述接触点是使用者握持所述电子设备时手指与所述采集单元接触所产生的;将所述第一信息与第一数据库中的第二信息进行匹配,得到第一匹配结果;所述第一数据库包含多个使用者标识及每个使用者标识对应的第二信息;每个第二信息至少包含多个第二接触点之间的相对位置关系;基于所述第一匹配结果,识别当前握持所述电子设备的使用者。本申请实施例的方案,至少基于采集单元采集到的使用者握持电子设备时手指与所述采集单元接触所产生的接触点之间的相对位置关系,识别当前握持所述电子设备的使用者;如此,能够使多用户终端识别当前面向的目标用户,从而能够针对目标用户进行用户行为采集并构建用户画像,进而能够使多用户终端为各用户提供精准的个性化服务,提升用户体验。The user identification method provided in the embodiment of the present application obtains the first information collected by the collection unit of the electronic device; the first information includes at least the relative positional relationship between a plurality of first contact points; the contact point is the user When the electronic device is held by the finger in contact with the collection unit; the first information is matched with the second information in the first database to obtain a first matching result; the first database contains a plurality of User identification and second information corresponding to each user identification; each second information at least includes the relative positional relationship between multiple second contact points; based on the first matching result, identify the the user of the device. In the solution of the embodiment of the present application, at least based on the relative positional relationship between the contact points between the user's finger and the collection unit collected by the collection unit when the user is holding the electronic device, identify the user who is currently holding the electronic device. In this way, the multi-user terminal can identify the current target user, so as to collect user behavior and build a user portrait for the target user, and then enable the multi-user terminal to provide accurate personalized services for each user and improve user experience.

下面结合应用实施例对本申请再作进一步详细的描述。The present application will be further described in detail below in conjunction with application examples.

在本应用实施例中,所述电子设备为用于控制多用户终端的遥控装置;所述使用者称为用户。In this application embodiment, the electronic device is a remote control device for controlling a multi-user terminal; the user is called a user.

在本应用实施例中,如图2和图3所示,所述遥控装置包括:主体201和感应单元202(即上述采集单元),感应单元202设置在主体201的两侧;其中,用户正常握持所述遥控装置的状态下,感应单元202与用户的手指接触,并能够检测到与不同手指的接触位置,即检测到不同手指对应的接触点。In this application embodiment, as shown in Figure 2 and Figure 3, the remote control device includes: a main body 201 and a sensing unit 202 (ie, the above-mentioned collection unit), and the sensing unit 202 is arranged on both sides of the main body 201; wherein, the user normally In the state of holding the remote control device, the sensing unit 202 is in contact with the user's finger, and can detect the contact positions with different fingers, that is, detect the contact points corresponding to different fingers.

实际应用时,感应单元202具体可以包括沿主体201侧面设置的电容式多点触摸单元,所述电容式多点触摸单元可以包括电容式触摸感应膜和多点信号识别处理模块;所述多点信号识别处理模块可以将手指握持所述遥控装置时作用于所述电容式触摸感应膜的信号分手指识别出来。具体地,所述多点信号识别处理模块识别并存储的信息(即上述第一信息)可以包括以下内容:接触点的数量、各接触点的位置及各接触点的信号强度。所述遥控装置还可以包括信号存储单元(即上述第一数据库)和信号处理单元;所述信号存储单元包括用户向量单元,用于存储多用户终端面向的各用户对象的用户向量;所述用户向量包括所述遥控装置单次采集到的一组参数组合(即上述第二信息),所述参数包括接触点的数量、各接触点的位置及各接触点的信号强度;所述信号处理单元用于对所述感应单元202采集的信号进行处理。In actual application, the sensing unit 202 may specifically include a capacitive multi-touch unit arranged along the side of the main body 201, and the capacitive multi-touch unit may include a capacitive touch sensing film and a multi-point signal identification processing module; the multi-point The signal identification processing module can identify the signals acting on the capacitive touch sensitive film when the fingers hold the remote control device separately. Specifically, the information identified and stored by the multi-point signal identification processing module (namely the above-mentioned first information) may include the following content: the number of contact points, the position of each contact point, and the signal strength of each contact point. The remote control device may also include a signal storage unit (i.e. the above-mentioned first database) and a signal processing unit; the signal storage unit includes a user vector unit, which is used to store the user vector of each user object facing the multi-user terminal; the user The vector includes a group of parameter combinations (that is, the above-mentioned second information) collected by the remote control device once, and the parameters include the number of contact points, the position of each contact point, and the signal strength of each contact point; the signal processing unit It is used for processing the signal collected by the sensing unit 202 .

示例性地,如图4和图5所示,感应单元202采集到接触点O1至O4的相关信息后,为了节约计算资源及存储资源,可以不存储接触点O1至O4的绝对位置信息,而是存储接触点O1至O4的相对位置关系。具体地,可以通过以下两种方式对接触点O1至O4的相对位置关系进行存储:Exemplarily, as shown in FIG. 4 and FIG. 5 , after the sensing unit 202 collects the relevant information of the contact points O 1 to O 4 , in order to save computing resources and storage resources, the absolute data of the contact points O 1 to O 4 may not be stored. Instead, store the relative positional relationship of the contact points O 1 to O 4 . Specifically, the relative positional relationship of the contact points O 1 to O 4 can be stored in the following two ways:

方式一:以接触点O1至O4中的任一接触点为基础(即起点),存储其他接触点相对于该接触点的位置向量,即存储一组共3个向量;比如图6所示的以接触点O1为基础的向量F12、F13和F14,或者图7所示的以接触点O2为基础的向量F21、F23和F24Method 1: Based on any one of the contact points O 1 to O 4 (that is, the starting point), store the position vectors of other contact points relative to the contact point, that is, store a group of 3 vectors; for example, as shown in Figure 6 The vectors F 12 , F 13 and F 14 based on the contact point O 1 shown in FIG. 7 , or the vectors F 21 , F 23 and F 24 based on the contact point O 2 shown in FIG. 7 .

方式二:为了增加容错性,提升用户识别的准确率,以接触点O1至O4中的每个接触点为基础,存储4组共12个(4×3=12)向量。Method 2: In order to increase the fault tolerance and improve the accuracy of user identification, 4 groups of 12 (4×3=12) vectors are stored based on each of the contact points O 1 to O 4 .

在本应用实施例中,通过所述遥控装置实时检测用户握持所述遥控装置所产生的各接触点之间的相对位置,能够更好地解决因用户多次握持所述遥控装置而每次握持位置不同所带来的识别准确性问题。同时,识别方式中可以设置识别通过的条件,以实现对识别成功率的提升。示例性地,通过方式一存储各接触点之间的相对位置时,如果存储的用户向量中存在6个接触点及各接触点之间的向量关系(即相对位置关系),识别条件可以设置为检测到包括基础位置点(即向量的起点)在内的3~5(即上述第一阈值可以为3~5)个接触点及接触点之间的相对位置关系即可认为是用户匹配成功。通过方式二存储各接触点之间的相对位置时,如果存储的用户向量中存在6个接触点及各接触点之间的向量关系(即相对位置关系),识别条件可以设置为不包括基础位置点(即向量的起点),而是检测到任意3个接触点或3~5个接触点即可认为是用户匹配成功。其中,识别通过的算法组合及其条件参数调节的模块具体可以通过所述遥控装置的用户匹配模块实现。所述用户匹配模块用于控制感应单元202采集当前用户参数(即上述第一信息),将采集的数据与存储的用户向量(即上述第二信息)进行比对,并基于识别条件输出比对结果(包括具体匹配成功的用户身份标识号(ID),即上述使用者标识)。In this application embodiment, the remote control device detects in real time the relative position of each contact point generated by the user holding the remote control device, which can better solve the problem of each contact point caused by the user holding the remote control device multiple times. The problem of recognition accuracy caused by different holding positions. At the same time, in the recognition mode, the conditions for passing recognition can be set to improve the success rate of recognition. Exemplarily, when the relative position between each contact point is stored through method 1, if there are 6 contact points and the vector relationship between each contact point in the stored user vector (that is, the relative positional relationship), the recognition condition can be set as The detection of 3-5 (ie, the first threshold may be 3-5) contact points including the basic location point (ie, the starting point of the vector) and the relative positional relationship between the contact points can be considered as successful user matching. When storing the relative position between each contact point in method 2, if there are 6 contact points and the vector relationship between each contact point (that is, the relative position relationship) in the stored user vector, the recognition condition can be set to not include the basic position Point (that is, the starting point of the vector), but the detection of any 3 contact points or 3-5 contact points can be considered as successful user matching. Wherein, the module for identifying the combination of algorithms passed and the adjustment of its condition parameters can be specifically realized by the user matching module of the remote control device. The user matching module is used to control the sensing unit 202 to collect current user parameters (that is, the above-mentioned first information), compare the collected data with the stored user vector (that is, the above-mentioned second information), and output the comparison based on the identification condition The result (including the identification number (ID) of the user whose specific match is successful, that is, the above-mentioned user ID).

实际应用时,所述识别条件还可以设置为:优先以2~3个接触点进行匹配(即优先以1~2个向量进行匹配),如果匹配结果超过1个用户(比如匹配出2个用户ID,每个用户ID对应存储的向量中包含进行匹配的1~2个向量),则可以逐个增加匹配的接触点个数(即增加匹配的向量个数),直至匹配成功(即匹配结果仅包含1个用户)。如果增加到全部的检测到的接触点进行匹配,匹配成功的用户数仍然不止1个,则需要考虑结合一个或多个接触点的信号强度进行匹配,直至用户匹配成功。In actual application, the identification condition can also be set as follows: 2 to 3 contact points are prioritized for matching (that is, 1 to 2 vectors are prioritized for matching), and if the matching result exceeds 1 user (for example, 2 users are matched ID, the stored vectors corresponding to each user ID contain 1 to 2 matching vectors), you can increase the number of matching touch points one by one (that is, increase the number of matching vectors) until the matching is successful (that is, the matching result is only contains 1 user). If all the detected touchpoints are added for matching, and the number of users who are successfully matched is still more than one, it is necessary to consider combining the signal strength of one or more touchpoints for matching until the user is successfully matched.

实际应用时,在通常情况下,电视机等面向多用户的终端的使用对象(即用户)极其有限,基本在10人以内,通常为3至5人。为了能够实现针对不同用户的用户画像呈现及行为采集,这种多用户终端需要具备对当前面向的用户(即当前的使用者)的分辨能力。在本应用实施例中,多用户终端通过所述遥控装置实现对当前用户的分辨,由于场景特殊,基本只需要实现10个用户以内的分辨能力即可;具体地,通过在所述遥控装置上设置采用握持点位检测技术实现的感应单元202,并通过对感应单元202检测的握持点位(即接触点)的信号向量分析,实现用户识别。示例性地,在包含两个老人、两个年轻人和一个孩子的家庭场景中,不同的用户的手型特征(比如各手指关节的长度、手指的粗细以及自然握持时手指的相对位置等)区别明显,即不同的人在握持所述遥控装置时,手与所述遥控装置的接触位置(即各接触点位置的相对关系)基本都会呈现不同,如图8所示的用户A和用户B,所以感应单元202所检测到的各接触点的位置以及相应接触点的作用力(即相应接触点的信号强度)的大小也是不同的。通过所述遥控装置实时检测用户的握持信号,并将信号(即上述第一信息)与存储的用户向量(即上述第二信息)进行比对,即可实现对用户的识别和区分,能够有效节约计算资源及存储资源。In actual application, under normal circumstances, the users (ie, users) of multi-user-oriented terminals such as televisions are extremely limited, basically within 10 people, usually 3 to 5 people. In order to be able to realize user portrait presentation and behavior collection for different users, such a multi-user terminal needs to have the ability to distinguish the current user (ie, the current user). In this application example, the multi-user terminal realizes the identification of the current user through the remote control device. Due to the special scene, it is basically only necessary to realize the resolution capability within 10 users; specifically, through the remote control device The sensing unit 202 realized by the gripping point detection technology is provided, and the user identification is realized by analyzing the signal vector of the gripping point (that is, the contact point) detected by the sensing unit 202 . Exemplarily, in a family scene containing two old people, two young people and one child, the hand shape characteristics of different users (such as the length of each finger joint, the thickness of the fingers, and the relative positions of the fingers in a natural grip, etc.) ) are obviously different, that is, when different people hold the remote control device, the contact position between the hand and the remote control device (that is, the relative relationship between the positions of each contact point) will basically be different, as shown in Figure 8. User A and user B. Therefore, the positions of the contact points detected by the sensing unit 202 and the magnitudes of the forces of the corresponding contact points (that is, the signal strengths of the corresponding contact points) are also different. The remote control device detects the user's grip signal in real time, and compares the signal (that is, the above-mentioned first information) with the stored user vector (that is, the above-mentioned second information), so as to realize the identification and distinction of the user, and can Effectively save computing resources and storage resources.

实际应用时,所述感应单元202还可以通过电阻式触摸膜技术实现,或者,所述感应单元202也可以包括阵列分布或者在主体201侧面长度方向上以一定密度布置的压敏传感器、红外反射式传感器等。In actual application, the sensing unit 202 can also be realized by resistive touch film technology, or the sensing unit 202 can also include pressure-sensitive sensors arranged in an array or at a certain density in the length direction of the side of the main body 201, infrared reflection sensor, etc.

实际应用时,所述遥控装置还可以包括信号发射控制单元;所述信号发射控制单元与所述用户匹配模块相连接,所述用户匹配模块用于将匹配成功的用户ID传输给所述信号发射控制单元;信号发射控制单元用于将所述用户ID加载进遥控信号并发送给被控制的多用户终端,以实现终端对各个用户的识别。In actual application, the remote control device may also include a signal transmission control unit; the signal transmission control unit is connected to the user matching module, and the user matching module is used to transmit the successfully matched user ID to the signal transmission The control unit; the signal transmission control unit is used to load the user ID into the remote control signal and send it to the controlled multi-user terminal, so as to realize the identification of each user by the terminal.

下面结合图9详细描述本申请应用实施例的多用户识别流程。The multi-user identification process of the application embodiment of the present application will be described in detail below with reference to FIG. 9 .

如图9所示,在本应用实施例中,遥控装置进行用户识别,可以包括以下步骤:As shown in Figure 9, in this application embodiment, the remote control device performs user identification, which may include the following steps:

步骤901:采集接触点坐标及接触点的信号强度;之后执行步骤902;Step 901: collect the contact point coordinates and the signal strength of the contact point; then execute step 902;

步骤902:计算各接触点之间的向量,生成向量集;之后执行步骤903;Step 902: Calculate the vectors between the contact points to generate a vector set; then perform step 903;

步骤903:从向量集中随机选取一个向量与存储的向量进行比对;之后执行步骤904;Step 903: randomly select a vector from the vector set and compare it with the stored vector; then execute step 904;

步骤904:判断比对结果对应的用户个数m的大小;若m大于1,则执行步骤905;若m等于1,则执行步骤908;若m等于0,则结束识别;Step 904: Determine the size of the number m of users corresponding to the comparison result; if m is greater than 1, then execute step 905; if m is equal to 1, then execute step 908; if m is equal to 0, then end the identification;

步骤905:增加比对的向量数量;之后执行步骤906;Step 905: increase the number of vectors compared; then execute step 906;

步骤906:判断比对结果对应的m的大小;若m大于1,则执行步骤905;若所有向量比对完时m仍大于1,则执行步骤907;若m等于1,则执行步骤908;Step 906: judge the size of m corresponding to the comparison result; if m is greater than 1, then perform step 905; if m is still greater than 1 after all vectors are compared, then perform step 907; if m is equal to 1, then perform step 908;

步骤907:匹配接触点的信号强度;之后执行步骤908;Step 907: Match the signal strength of the contact point; then perform step 908;

步骤908:输出识别的用户ID。Step 908: Output the identified user ID.

具体地,在步骤901中,实际应用时,由感应单元202采集用户握持所述遥控装置时手指位置(即第一接触点)的平面坐标。其中,如图10所示,在对接触点的坐标进行采集时,可以感应单元202的平面为坐标系进行采集,所采集到的接触点可以表示为O1(X1,Y1)、O2(X2,Y2)、…、ON(XN,YN)。Specifically, in step 901, in actual application, the sensing unit 202 collects the plane coordinates of the finger position (ie, the first contact point) when the user holds the remote control device. Wherein, as shown in FIG. 10 , when collecting the coordinates of the contact points, the plane of the sensing unit 202 can be used as the coordinate system for collection, and the collected contact points can be expressed as O 1 (X 1 , Y 1 ), O 2 (X 2 , Y 2 ), . . . , ON (X N , Y N ).

在步骤902中,实际应用时,可以O1~ON中的一个接触点为基础位置点(即起点)计算与其他接触点之间的向量,如图6和图7所示。两个接触点之间的向量可以用终点坐标减去起点坐标,此时,得到的向量可以表示为F12(X2-X1,Y2-Y1)、F13(X3-X1,Y3-Y1)、…、F1N(XN-X1,YN-Y1)。之后,可以O1~ON中的每个接触点为基础位置点计算与其他接触点之间的向量,最终得到的向量可以表示为F12(X2-X1,Y2-Y1)、…、FN(N-1)(X(N-1)-XN,Y(N-1)-YN));其中,针对O1~ON共N个接触点,得到的向量个数为N(N-1)个。In step 902, in actual application, one contact point among O 1 -ON can be used as the basic position point (ie, the starting point) to calculate the vectors with other contact points, as shown in FIG. 6 and FIG. 7 . The vector between two contact points can be subtracted from the coordinates of the starting point by the coordinates of the end point. At this time, the obtained vector can be expressed as F 12 (X 2 -X 1 , Y 2 -Y 1 ), F 13 (X 3 -X 1 , Y 3 -Y 1 ), ..., F 1N (X N -X 1 , Y N -Y 1 ). After that, each contact point in O 1 ~ O N can be used as the basic position point to calculate the vector with other contact points, and the final vector can be expressed as F 12 (X 2 -X 1 , Y 2 -Y 1 ) ,..., F N(N-1) (X (N-1) -X N , Y (N-1) -Y N )); where, for a total of N contact points from O 1 to O N , the obtained vector The number is N(N-1).

在步骤903中,实际应用时,可以从N(N-1)个向量中随机抽取一个向量(即第一向量)来与存储的向量(即第二向量)比对,以此来验证此时所握持遥控装置的用户的身份,遥控装置所存储的向量为预先存储的多个用户(可以表示为用户A、用户B、...、用户X)握持遥控装置时各手指对应的接触点的向量集。In step 903, in actual application, a vector (ie, the first vector) can be randomly selected from N (N-1) vectors to compare with the stored vector (ie, the second vector), so as to verify that The identity of the user holding the remote control device, the vector stored in the remote control device is the contact corresponding to each finger when multiple users (can be represented as user A, user B, ..., user X) stored in advance hold the remote control device Vector set of points.

示例性地,如图11所示,首先从N(N-1)个向量中随机抽取的向量为F23(5,20),抽取F23后,在存储的各用户向量集合(即上述每个第二信息包含的全部第二向量)中进行查询比对,判断各用户向量集合中是否存在与(5,20)相等的向量,并确定存在与(5,20)相等的向量的用户向量集合对应的用户个数m。Exemplarily, as shown in FIG. 11, the vector randomly extracted from the N(N-1) vectors is F 23 (5, 20). After F 23 is extracted, each stored user vector set (that is, each All the second vectors contained in the second information) to perform query comparison, judge whether there is a vector equal to (5, 20) in each user vector set, and determine whether there is a user vector equal to (5, 20) The number m of users corresponding to the set.

若m等于1,则说明此时握持遥控装置的用户的向量信息与所述遥控装置所存储的用户信息能够相互对应(即能够匹配),可直接输出对应的用户ID,结束识别。If m is equal to 1, it means that the vector information of the user holding the remote control device and the user information stored in the remote control device can correspond to each other (that is, can be matched), and the corresponding user ID can be directly output to complete the identification.

若m等于0,则说明此时握持遥控装置的用户的向量信息与所述遥控装置所存储的用户信息不能相互对应,该用户不属于需要识别的用户,可直接结束识别。If m is equal to 0, it means that the vector information of the user holding the remote control device and the user information stored in the remote control device cannot correspond to each other at this time, and the user does not belong to the user to be identified, and the identification can be terminated directly.

若m大于1,则说明所述遥控装置所存储的各用户向量集合之间存在交集。此时,可再从N(N-1)个向量中随机抽取一个除F23(5,20)外的向量加入比对,并逐渐增加比对的向量数,直至m等于1时输出对应的用户ID;或者,直至N(N-1)个向量比对完毕后m仍然大于1。If m is greater than 1, it means that there is an intersection between the user vector sets stored in the remote control device. At this point, a vector other than F 23 (5, 20) can be randomly selected from the N(N-1) vectors to add to the comparison, and gradually increase the number of compared vectors until m is equal to 1 and output the corresponding User ID; or, m is still greater than 1 until N(N-1) vectors are compared.

在N(N-1)个向量比对完毕后m仍然大于1的情况下,可匹配一个或多个接触点的信号强度,直至用户匹配成功(即m=1)。In the case where m is still greater than 1 after the comparison of N(N-1) vectors, the signal strength of one or more contact points can be matched until the user is successfully matched (ie, m=1).

实际应用时,一个用户对应的多个接触点的信号强度可以通过各接触点的信号强度差值来存储。示例性地,感应单元202检测到4个接触点,4个接触点中信号强度最弱的接触点对应的信号强度值可以存储为0,并用其他接触点对应的信号强度减去该接触点的信号强度得到其他接触点与该接触点的信号强度差,将其他接触点对应的信号强度值存储为与该接触点的信号强度差。In practical applications, the signal strengths of multiple contact points corresponding to a user may be stored by the signal strength difference of each contact point. Exemplarily, when the sensing unit 202 detects 4 contact points, the signal strength value corresponding to the contact point with the weakest signal strength among the 4 contact points can be stored as 0, and the signal strength value of the contact point is subtracted from the signal strength corresponding to other contact points. The signal strength obtains the signal strength difference between the other contact point and the contact point, and stores the signal strength value corresponding to the other contact point as the signal strength difference with the contact point.

实际应用时,由于接触点的信号强度与用户握持所述遥控装置的力的大小相关,握持力越大则信号强度越强;而同一用户每次握持遥控装置所用的力的大小可能会存在差异,但是在握持遥控装置时每个手指对遥控装置所施加的力通常存在固定的差值;因此,通过各接触点的信号强度差值来存储一个用户对应的多个接触点的信号强度,能够过滤各手指握持遥控装置时施加的握持力的大小的干扰,直接对各手指间的握持力进行比对,能够提高用户在施加不同大小的握持力时对用户进行识别的精确性。In actual application, since the signal strength of the contact point is related to the strength of the user's grip on the remote control device, the greater the grip force, the stronger the signal strength; and the strength of the same user's grip on the remote control device may vary. There will be differences, but there is usually a fixed difference in the force exerted by each finger on the remote control when holding the remote control; therefore, the signal of multiple contact points corresponding to a user is stored by the difference in signal strength of each contact point Strength, which can filter the interference of the grip force applied by each finger when holding the remote control device, and directly compare the grip force between each finger, which can improve the user's recognition of the user when applying different magnitudes of grip force the accuracy.

本应用实施例提供的方案,具有以下优点:The solution provided by this application example has the following advantages:

多用户终端的遥控装置能够在节约计算资源及存储资源的情况下,基于用户握持遥控装置时各接触点的相对位置关系及各接触点的信号强度实现对多个用户的识别,从而使多用户终端能够针对不同用户进行用户行为采集并构建用户画像,进而能够使多用户终端为各用户提供精准的个性化服务,提升用户体验。The remote control device of the multi-user terminal can realize the identification of multiple users based on the relative positional relationship of each contact point and the signal strength of each contact point when the user holds the remote control device while saving computing resources and storage resources, so that multiple users The user terminal can collect user behaviors and construct user portraits for different users, so that the multi-user terminal can provide accurate personalized services for each user and improve user experience.

为了实现本申请实施例的方法,本申请实施例还提供了一种使用者识别装置,设置在电子设备上,如图12所示,该装置包括:In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides a user identification device, which is set on the electronic device, as shown in Figure 12, the device includes:

获取单元1201,用于获取电子设备的采集单元采集的第一信息;所述第一信息至少包含多个第一接触点之间的相对位置关系;所述接触点是使用者握持所述电子设备时手指与所述采集单元接触所产生的;The acquisition unit 1201 is configured to acquire the first information collected by the acquisition unit of the electronic device; the first information includes at least the relative positional relationship between a plurality of first contact points; When the device is in contact with the collection unit with fingers;

第一处理单元1202,用于将所述第一信息与第一数据库中的第二信息进行匹配,得到第一匹配结果;所述第一数据库包含多个使用者标识及每个使用者标识对应的第二信息;每个第二信息至少包含多个第二接触点之间的相对位置关系;The first processing unit 1202 is configured to match the first information with the second information in the first database to obtain a first matching result; the first database includes multiple user IDs and each user ID corresponds to The second information; each second information at least includes a relative positional relationship between a plurality of second contact points;

第二处理单元1203,用于基于所述第一匹配结果,识别当前握持所述电子设备的使用者。The second processing unit 1203 is configured to identify the user currently holding the electronic device based on the first matching result.

其中,在一实施例中,所述第一信息包含多个第一向量;所述多个第一向量用于表示所述多个第一接触点之间的相对位置关系;每个第二信息包含多个第二向量;所述多个第二向量用于表示所述多个第二接触点之间的相对位置关系;所述第一处理单元1202,具体用于:Wherein, in an embodiment, the first information includes a plurality of first vectors; the plurality of first vectors are used to represent the relative positional relationship between the plurality of first contact points; each second information Contains a plurality of second vectors; the plurality of second vectors are used to represent the relative positional relationship between the plurality of second contact points; the first processing unit 1202 is specifically configured to:

将至少一个第一向量与每个第二信息包含的多个第二向量进行匹配,得到第二匹配结果;matching at least one first vector with multiple second vectors contained in each second information to obtain a second matching result;

在所述第二匹配结果表征所述第一数据库中存在一个目标第二信息的情况下,将所述第二匹配结果确定为所述第一匹配结果;所述目标第二信息包含的多个第二向量能够与至少一个第一向量匹配。In the case where the second matching result indicates that there is a target second information in the first database, the second matching result is determined as the first matching result; the plurality of target second information contained The second vector can match at least one first vector.

在一实施例中,所述第一信息还包含各第一接触点对应的作用力之间的相对强弱关系;每个第二信息还包含各第二接触点对应的作用力之间的相对强弱关系;所述第一处理单元1202,还用于:In one embodiment, the first information also includes the relative strength relationship between the forces corresponding to the first contact points; each second information also includes the relative relationship between the forces corresponding to the second contact points. Strong and weak relationship; the first processing unit 1202 is also configured to:

在所述第二匹配结果表征所述第一数据库中存在至少两个目标第二信息的情况下,将所述各第一接触点对应的作用力之间的相对强弱关系与每个目标第二信息包含的各第二接触点对应的作用力之间的相对强弱关系进行匹配,得到第三匹配结果;并根据所述第三匹配结果确定所述第一匹配结果。In the case where the second matching result indicates that there are at least two target second information in the first database, the relative strength relationship between the forces corresponding to the first contact points is compared with the first contact point of each target. matching the relative strengths of the forces corresponding to the second contact points included in the second information to obtain a third matching result; and determining the first matching result according to the third matching result.

在一实施例中,所述多个第一向量的起点相同;每个第二信息包含的多个第二向量的起点相同;所述第一处理单元1202,具体用于:In an embodiment, the starting points of the multiple first vectors are the same; the starting points of the multiple second vectors contained in each second information are the same; the first processing unit 1202 is specifically configured to:

针对每个第二信息,判断所述第一信息与相应第二信息之间存在的相等向量的个数是否大于或等于第一阈值,得到第一判断结果;For each second information, judging whether the number of equal vectors existing between the first information and the corresponding second information is greater than or equal to a first threshold, and obtaining a first judging result;

在所述第一判断结果表征所述第一信息与相应第二信息之间存在的相等向量的个数大于或等于第一阈值的情况下,将相应第二信息确定为所述目标第二信息。If the first judgment result indicates that the number of equal vectors existing between the first information and corresponding second information is greater than or equal to a first threshold, determining the corresponding second information as the target second information .

在一实施例中,所述多个第一向量能够按起点划分为多个第一向量组;所述第一向量组包含的各第一向量的起点相同;每个第二信息包含的多个第二向量能够按起点划分为多个第二向量组;所述第二向量组包含的各第二向量的起点相同;所述第一处理单元1202,具体用于:In an embodiment, the plurality of first vectors can be divided into a plurality of first vector groups according to the starting point; the starting point of each first vector included in the first vector group is the same; each second information includes a plurality of The second vector can be divided into multiple second vector groups according to the starting point; the starting points of the second vectors contained in the second vector group are the same; the first processing unit 1202 is specifically used for:

针对每个第二信息,判断所述第一信息与相应第二信息之间存在的相等向量的个数是否大于或等于第二阈值,得到第二判断结果;For each second information, judge whether the number of equal vectors existing between the first information and the corresponding second information is greater than or equal to a second threshold, and obtain a second judgment result;

在所述第二判断结果表征所述第一信息与相应第二信息之间存在的相等向量的个数大于或等于第二阈值的情况下,将相应第二信息确定为所述目标第二信息。When the second judgment result indicates that the number of equal vectors existing between the first information and corresponding second information is greater than or equal to a second threshold, determining the corresponding second information as the target second information .

在一实施例中,所述第一信息包含多个第一强度值;所述多个第一强度值用于表示各第一接触点对应的作用力之间的相对强弱关系;每个第二信息包含多个第二强度值;所述多个第二强度值用于表示相应第二信息包含的各第二接触点对应的作用力之间的相对强弱关系;所述第一处理单元1202,具体用于:In an embodiment, the first information includes a plurality of first intensity values; the plurality of first intensity values are used to represent the relative strength relationship between the forces corresponding to the first contact points; The second information includes a plurality of second intensity values; the plurality of second intensity values are used to represent the relative strength relationship between the forces corresponding to the second contact points included in the corresponding second information; the first processing unit 1202, specifically for:

将至少一个第一强度值与每个目标第二信息包含的多个第二强度值进行匹配;matching at least one first intensity value with a plurality of second intensity values contained in each target second information;

在所述第三匹配结果表征所述至少两个目标第二信息中存在一个目标第二信息包含的多个第二强度值能够与至少一个第一强度值匹配的情况下,将所述第三匹配结果确定为所述第一匹配结果。In the case where the third matching result indicates that one of the at least two target second information contains a plurality of second intensity values that can match at least one first intensity value, the third The matching result is determined as the first matching result.

在一实施例中,该装置还包括发送单元,用于向目标设备发送当前握持所述电子设备的使用者对应的使用者标识,以供所述目标设备进行使用者识别。In an embodiment, the apparatus further includes a sending unit, configured to send the user identification corresponding to the user currently holding the electronic device to the target device, so that the target device can identify the user.

这里,需要说明的是,所述获取单元1201、所述第一处理单元1202和所述第二处理单元1203的功能相当于上述应用实施例中用户匹配模块的功能;所述发送单元的功能相当于上述应用实施例中信号发射控制单元的功能。Here, it should be noted that the functions of the acquisition unit 1201, the first processing unit 1202, and the second processing unit 1203 are equivalent to the functions of the user matching module in the above application embodiments; the functions of the sending unit are equivalent to The function of the signal transmission control unit in the above application embodiments.

实际应用时,所述获取单元1201可由所述使用者识别装置中的处理器结合通信接口实现;所述第一处理单元1202和所述第二处理单元1203可由所述使用者识别装置中的处理器实现;所述发送单元可由所述使用者识别装置中的通信接口实现。In actual application, the acquiring unit 1201 can be implemented by a processor in the user identification device combined with a communication interface; the first processing unit 1202 and the second processing unit 1203 can be implemented by processing in the user identification device implemented by a device; the sending unit may be implemented by a communication interface in the user identification device.

需要说明的是:上述实施例提供的使用者识别装置在识别使用者时,仅以上述各程序模块的划分进行举例说明,实际应用时,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的使用者识别装置与使用者识别方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the user identification device provided by the above-mentioned embodiment identifies a user, it only uses the division of the above-mentioned program modules as an example for illustration. In actual application, the above-mentioned processing can be allocated to different program modules according to needs. , that is, divide the internal structure of the device into different program modules, so as to complete all or part of the processing described above. In addition, the user identification device and the user identification method embodiments provided in the above embodiments belong to the same idea, and the specific implementation process thereof is detailed in the method embodiments, and will not be repeated here.

基于上述程序模块的硬件实现,且为了实现本申请实施例的方法,本申请实施例还提供了一种电子设备,如图13所示,该电子设备1300包括:Based on the hardware implementation of the above program modules, and in order to implement the method of the embodiment of the present application, the embodiment of the present application also provides an electronic device, as shown in FIG. 13 , the electronic device 1300 includes:

通信接口1301,能够与其他电子设备进行信息交互;Communication interface 1301, capable of information interaction with other electronic devices;

处理器1302,与所述通信接口1301连接,以实现与其他电子设备进行信息交互,用于运行计算机程序时,执行上述一个或多个技术方案提供的方法;The processor 1302 is connected to the communication interface 1301 to implement information interaction with other electronic devices, and is used to execute the methods provided by one or more of the above technical solutions when running a computer program;

存储器1303,存储能够在所述处理器1302上运行的计算机程序。The memory 1303 stores computer programs that can run on the processor 1302 .

具体地,所述处理器1302,用于:Specifically, the processor 1302 is configured to:

获取电子设备1300的采集单元采集的第一信息;所述第一信息至少包含多个第一接触点之间的相对位置关系;所述接触点是使用者握持所述电子设备1300时手指与所述采集单元接触所产生的;Obtain the first information collected by the collection unit of the electronic device 1300; the first information includes at least the relative positional relationship between a plurality of first contact points; generated by said collection unit contact;

将所述第一信息与第一数据库中的第二信息进行匹配,得到第一匹配结果;所述第一数据库包含多个使用者标识及每个使用者标识对应的第二信息;每个第二信息至少包含多个第二接触点之间的相对位置关系;Matching the first information with the second information in the first database to obtain a first matching result; the first database includes a plurality of user IDs and the second information corresponding to each user ID; each second The second information includes at least the relative positional relationship between multiple second contact points;

基于所述第一匹配结果,识别当前握持所述电子设备1300的使用者。Based on the first matching result, the user currently holding the electronic device 1300 is identified.

其中,在一实施例中,所述第一信息包含多个第一向量;所述多个第一向量用于表示所述多个第一接触点之间的相对位置关系;每个第二信息包含多个第二向量;所述多个第二向量用于表示所述多个第二接触点之间的相对位置关系;所述处理器1302,具体用于:Wherein, in an embodiment, the first information includes a plurality of first vectors; the plurality of first vectors are used to represent the relative positional relationship between the plurality of first contact points; each second information Including a plurality of second vectors; the plurality of second vectors are used to represent the relative positional relationship between the plurality of second contact points; the processor 1302 is specifically configured to:

将至少一个第一向量与每个第二信息包含的多个第二向量进行匹配,得到第二匹配结果;matching at least one first vector with multiple second vectors contained in each second information to obtain a second matching result;

在所述第二匹配结果表征所述第一数据库中存在一个目标第二信息的情况下,将所述第二匹配结果确定为所述第一匹配结果;所述目标第二信息包含的多个第二向量能够与至少一个第一向量匹配。In the case where the second matching result indicates that there is a target second information in the first database, the second matching result is determined as the first matching result; the plurality of target second information contained The second vector can match at least one first vector.

在一实施例中,所述第一信息还包含各第一接触点对应的作用力之间的相对强弱关系;每个第二信息还包含各第二接触点对应的作用力之间的相对强弱关系;所述处理器1302,还用于:In one embodiment, the first information also includes the relative strength relationship between the forces corresponding to the first contact points; each second information also includes the relative relationship between the forces corresponding to the second contact points. Strong and weak relationship; the processor 1302 is further configured to:

在所述第二匹配结果表征所述第一数据库中存在至少两个目标第二信息的情况下,将所述各第一接触点对应的作用力之间的相对强弱关系与每个目标第二信息包含的各第二接触点对应的作用力之间的相对强弱关系进行匹配,得到第三匹配结果;并根据所述第三匹配结果确定所述第一匹配结果。In the case where the second matching result indicates that there are at least two target second information in the first database, the relative strength relationship between the forces corresponding to the first contact points is compared with the first contact point of each target. matching the relative strengths of the forces corresponding to the second contact points included in the second information to obtain a third matching result; and determining the first matching result according to the third matching result.

在一实施例中,所述多个第一向量的起点相同;每个第二信息包含的多个第二向量的起点相同;所述处理器1302,具体用于:In an embodiment, the starting points of the multiple first vectors are the same; the starting points of the multiple second vectors contained in each second information are the same; the processor 1302 is specifically configured to:

针对每个第二信息,判断所述第一信息与相应第二信息之间存在的相等向量的个数是否大于或等于第一阈值,得到第一判断结果;For each second information, judging whether the number of equal vectors existing between the first information and the corresponding second information is greater than or equal to a first threshold, and obtaining a first judging result;

在所述第一判断结果表征所述第一信息与相应第二信息之间存在的相等向量的个数大于或等于第一阈值的情况下,将相应第二信息确定为所述目标第二信息。If the first judgment result indicates that the number of equal vectors existing between the first information and corresponding second information is greater than or equal to a first threshold, determining the corresponding second information as the target second information .

在一实施例中,所述多个第一向量能够按起点划分为多个第一向量组;所述第一向量组包含的各第一向量的起点相同;每个第二信息包含的多个第二向量能够按起点划分为多个第二向量组;所述第二向量组包含的各第二向量的起点相同;所述处理器1302,具体用于:In an embodiment, the plurality of first vectors can be divided into a plurality of first vector groups according to the starting point; the starting point of each first vector included in the first vector group is the same; each second information includes a plurality of The second vector can be divided into multiple second vector groups according to the starting point; the starting point of each second vector included in the second vector group is the same; the processor 1302 is specifically used for:

针对每个第二信息,判断所述第一信息与相应第二信息之间存在的相等向量的个数是否大于或等于第二阈值,得到第二判断结果;For each second information, judge whether the number of equal vectors existing between the first information and the corresponding second information is greater than or equal to a second threshold, and obtain a second judgment result;

在所述第二判断结果表征所述第一信息与相应第二信息之间存在的相等向量的个数大于或等于第二阈值的情况下,将相应第二信息确定为所述目标第二信息。When the second judgment result indicates that the number of equal vectors existing between the first information and corresponding second information is greater than or equal to a second threshold, determining the corresponding second information as the target second information .

在一实施例中,所述第一信息包含多个第一强度值;所述多个第一强度值用于表示各第一接触点对应的作用力之间的相对强弱关系;每个第二信息包含多个第二强度值;所述多个第二强度值用于表示相应第二信息包含的各第二接触点对应的作用力之间的相对强弱关系;所述处理器1302,具体用于:In an embodiment, the first information includes a plurality of first intensity values; the plurality of first intensity values are used to represent the relative strength relationship between the forces corresponding to the first contact points; The second information includes a plurality of second intensity values; the plurality of second intensity values are used to represent the relative strength relationship between the forces corresponding to the second contact points included in the corresponding second information; the processor 1302, Specifically for:

将至少一个第一强度值与每个目标第二信息包含的多个第二强度值进行匹配;matching at least one first intensity value with a plurality of second intensity values contained in each target second information;

在所述第三匹配结果表征所述至少两个目标第二信息中存在一个目标第二信息包含的多个第二强度值能够与至少一个第一强度值匹配的情况下,将所述第三匹配结果确定为所述第一匹配结果。In the case where the third matching result indicates that one of the at least two target second information contains a plurality of second intensity values that can match at least one first intensity value, the third The matching result is determined as the first matching result.

在一实施例中,所述处理器1302,还用于:In an embodiment, the processor 1302 is further configured to:

通过所述通信接口1301向目标设备发送当前握持所述电子设备1300的使用者对应的使用者标识,以供所述目标设备进行使用者识别。The user identification corresponding to the user who is currently holding the electronic device 1300 is sent to the target device through the communication interface 1301 for the target device to identify the user.

需要说明的是:所述处理器1302具体执行上述操作的过程详见方法实施例,这里不再赘述。It should be noted that: the specific process of the processor 1302 performing the above operations can be found in the method embodiments, and will not be repeated here.

当然,实际应用时,电子设备1300中的各个组件通过总线系统1304耦合在一起。可理解,总线系统1304用于实现这些组件之间的连接通信。总线系统1304除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图13中将各种总线都标为总线系统1304。Of course, in practical applications, various components in the electronic device 1300 are coupled together through the bus system 1304 . It can be understood that the bus system 1304 is used to realize connection and communication between these components. In addition to the data bus, the bus system 1304 also includes a power bus, a control bus and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 1304 in FIG. 13 .

本申请实施例中的存储器1303用于存储各种类型的数据以支持电子设备1300的操作。这些数据的示例包括:用于在电子设备1300上操作的任何计算机程序。The memory 1303 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device 1300 . Examples of such data include: any computer programs for operating on electronic device 1300 .

上述本申请实施例揭示的方法可以应用于处理器1302中,或者由处理器1302实现。处理器1302可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1302中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1302可以是通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器1302可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器1303,处理器1302读取存储器1303中的信息,结合其硬件完成前述方法的步骤。The methods disclosed in the foregoing embodiments of the present application may be applied to the processor 1302 or implemented by the processor 1302 . The processor 1302 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 1302 or instructions in the form of software. The aforementioned processor 1302 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The processor 1302 may implement or execute various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, and the storage medium is located in the memory 1303. The processor 1302 reads the information in the memory 1303, and completes the steps of the foregoing method in combination with its hardware.

在示例性实施例中,电子设备1300可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,ProgrammableLogic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、现场可编程门阵列(FPGA,Field-Programmable Gate Array)、通用处理器、控制器、微控制器(MCU,Micro Controller Unit)、微处理器(Microprocessor)、或者其他电子元件实现,用于执行前述方法。In an exemplary embodiment, the electronic device 1300 may be implemented by one or more Application Specific Integrated Circuits (ASIC, Application Specific Integrated Circuit), DSP, Programmable Logic Device (PLD, Programmable Logic Device), Complex Programmable Logic Device (CPLD, Complex Programmable Logic Device), field-programmable gate array (FPGA, Field-Programmable Gate Array), general-purpose processor, controller, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor), or other electronic components Implementation for executing the aforementioned method.

可以理解,本申请实施例的存储器1303可以是易失性存储器或者非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(FlashMemory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random AccessMemory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random AccessMemory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本申请实施例描述的存储器旨在包括但不限于这些和任意其他适合类型的存储器。It can be understood that the memory 1303 in this embodiment of the present application may be a volatile memory or a nonvolatile memory, and may also include both volatile and nonvolatile memories. Wherein, the non-volatile memory can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory), Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (FlashMemory), Magnetic Surface Memory, Optical disc, or compact disc read-only memory (CD-ROM, Compact Disc Read-Only Memory); magnetic surface storage can be magnetic disk storage or magnetic tape storage. The volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM, Static Random Access Memory), Synchronous Static Random Access Memory (SSRAM, Synchronous Static Random Access Memory), Dynamic Random Access Memory Memory (DRAM, Dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, Synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced Type Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory). The memories described in the embodiments of the present application are intended to include but not limited to these and any other suitable types of memories.

在示例性实施例中,本申请实施例还提供了一种存储介质,即计算机存储介质,具体为计算机可读存储介质,例如包括存储计算机程序的存储器1303,上述计算机程序可由电子设备1300的处理器1302执行,以完成前述方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器。In an exemplary embodiment, the embodiment of the present application also provides a storage medium, that is, a computer storage medium, specifically a computer-readable storage medium, for example, including a memory 1303 storing a computer program, and the above-mentioned computer program can be processed by the electronic device 1300 The device 1302 is executed to complete the steps described in the foregoing method. The computer-readable storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM.

需要说明的是:“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that: "first", "second", etc. are used to distinguish similar objects, and not necessarily used to describe a specific order or sequence.

另外,本申请实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。In addition, the technical solutions described in the embodiments of the present application may be combined arbitrarily if there is no conflict.

以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the protection scope of the present application.

Claims (10)

1. A method for identifying a user, comprising:
acquiring first information acquired by an acquisition unit of electronic equipment; the first information at least comprises relative position relations among a plurality of first contact points; the contact point is generated by the contact of fingers and the acquisition unit when a user holds the electronic equipment;
matching the first information with second information in a first database to obtain a first matching result; the first database comprises a plurality of user identifications and second information corresponding to each user identification; each second information at least contains the relative position relationship among a plurality of second contact points;
and identifying a user currently holding the electronic equipment based on the first matching result.
2. The method of claim 1, wherein the first information comprises a plurality of first vectors; the plurality of first vectors are used for representing relative position relations among the plurality of first contact points; each second information contains a plurality of second vectors; the plurality of second vectors are used for representing relative position relations among the plurality of second contact points; the matching the first information with the second information in the first database includes:
matching at least one first vector with a plurality of second vectors contained in each piece of second information to obtain a second matching result;
determining the second matching result as the first matching result under the condition that the second matching result represents that target second information exists in the first database; the target second information includes a plurality of second vectors that can be matched to at least one first vector.
3. The method according to claim 2, wherein the first information further includes a relative strength relationship between the acting force corresponding to each first contact point; each second information also comprises a relative strength relation between acting forces corresponding to the second contact points; the matching the first information with the second information in the first database further comprises:
under the condition that the second matching result represents that at least two pieces of target second information exist in the first database, matching the relative strength relationship between the acting forces corresponding to the first contact points with the relative strength relationship between the acting forces corresponding to the second contact points contained in each piece of target second information to obtain a third matching result; and determining the first matching result according to the third matching result.
4. A method according to claim 2 or 3, wherein the starting points of the plurality of first vectors are the same; the starting points of a plurality of second vectors contained in each second information are the same; the matching of the at least one first vector with a plurality of second vectors included in each second information includes:
for each piece of second information, judging whether the number of equal vectors existing between the first information and the corresponding second information is larger than or equal to a first threshold value or not to obtain a first judgment result;
and determining the corresponding second information as the target second information under the condition that the first judgment result represents that the number of equal vectors existing between the first information and the corresponding second information is greater than or equal to a first threshold value.
5. The method according to claim 2 or 3, wherein the plurality of first vectors can be divided into a plurality of first vector groups by starting points; the starting points of the first vectors contained in the first vector group are the same; the plurality of second vectors contained in each second information can be divided into a plurality of second vector groups according to the starting point; the starting points of all second vectors contained in the second vector group are the same; the matching of the at least one first vector with a plurality of second vectors included in each second information includes:
for each piece of second information, judging whether the number of equal vectors existing between the first information and the corresponding second information is larger than or equal to a second threshold value or not to obtain a second judgment result;
and determining the corresponding second information as the target second information under the condition that the second judgment result represents that the number of equal vectors existing between the first information and the corresponding second information is greater than or equal to a second threshold value.
6. The method of claim 3, wherein the first information comprises a plurality of first intensity values; the plurality of first intensity values are used for representing the relative strength relation among the acting forces corresponding to the first contact points; each second information comprises a plurality of second intensity values; the second intensity values are used for representing the relative strength relation among acting forces corresponding to the second contact points contained in the corresponding second information; the matching of the relative strength relationship between the acting forces corresponding to the first contact points and the relative strength relationship between the acting forces corresponding to the second contact points included in each target second information includes:
matching at least one first intensity value with a plurality of second intensity values contained in each target second information;
and determining the third matching result as the first matching result if a plurality of second intensity values contained in one of the at least two pieces of target second information can be matched with at least one first intensity value.
7. The method of any of claims 1 to 3, further comprising:
and sending a user identifier corresponding to a user holding the electronic equipment to the target equipment so as to be identified by the target equipment.
8. A user identification device, comprising:
the acquisition unit is used for acquiring first information acquired by the acquisition unit of the electronic equipment; the first information at least comprises relative position relations among a plurality of first contact points; the contact point is generated by the contact of fingers and the acquisition unit when a user holds the electronic equipment;
the first processing unit is used for matching the first information with second information in a first database to obtain a first matching result; the first database comprises a plurality of user identifications and second information corresponding to each user identification; each second information at least contains the relative position relationship among a plurality of second contact points;
and the second processing unit is used for identifying the user currently holding the electronic equipment based on the first matching result.
9. An electronic device, comprising: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is adapted to perform the steps of the method of any one of claims 1 to 7 when running the computer program.
10. A storage medium on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202110687749.8A 2021-06-21 2021-06-21 User identification method, device, electronic equipment and storage medium Pending CN115577332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110687749.8A CN115577332A (en) 2021-06-21 2021-06-21 User identification method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110687749.8A CN115577332A (en) 2021-06-21 2021-06-21 User identification method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115577332A true CN115577332A (en) 2023-01-06

Family

ID=84580010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110687749.8A Pending CN115577332A (en) 2021-06-21 2021-06-21 User identification method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115577332A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102016765A (en) * 2008-04-21 2011-04-13 松下电器产业株式会社 Method and system of identifying a user of a handheld device
CN105872250A (en) * 2016-05-30 2016-08-17 努比亚技术有限公司 Method and device for automatically recognizing owner identity of mobile terminal
CN108537148A (en) * 2018-03-26 2018-09-14 广东欧珀移动通信有限公司 Electronic equipment use information acquisition and analysis method and device, storage medium and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102016765A (en) * 2008-04-21 2011-04-13 松下电器产业株式会社 Method and system of identifying a user of a handheld device
CN105872250A (en) * 2016-05-30 2016-08-17 努比亚技术有限公司 Method and device for automatically recognizing owner identity of mobile terminal
CN108537148A (en) * 2018-03-26 2018-09-14 广东欧珀移动通信有限公司 Electronic equipment use information acquisition and analysis method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN108960163B (en) Gesture recognition method, device, equipment and storage medium
CN106227520B (en) Application interface switching method and device
CN109003224B (en) Face-based deformation image generation method and device
CN109583320A (en) Fingerprint identification method and related device
WO2018228118A1 (en) Method and device for identifying similar pictures and storage medium
TW201638816A (en) Method and system for identifying a human or machine
WO2017128522A1 (en) Method, device, and terminal for processing touch-control operation
CN103927471A (en) Authentication method and device
US11537238B2 (en) Touch control identification method, device and system
TW201800978A (en) Electronic device with fingerprint identification function and fingerprint identification method
CN109271069B (en) Secondary area search method based on capacitive touch, touch device and mobile terminal
CN109740520B (en) Fingerprint identification method and related equipment
CN115033170A (en) Input control system and method based on virtual keyboard and related device
CN107563165A (en) Fingerprint identification method, device, storage medium and terminal
CN108846271B (en) Device control method, device, storage medium and electronic device
CN105867822B (en) Information processing method and electronic equipment
CN105094680A (en) Display object control method of browsed webpage, and user terminal
WO2020147587A1 (en) Touch operation method and apparatus, terminal, and computer readable storage medium
CN105005489B (en) A kind of the starting method and terminal device of terminal device
CN104881235B (en) A kind of method and device for closing application program
WO2016197815A2 (en) Method and apparatus for using fingerprint operation, and terminal
CN107025024A (en) It is a kind of to prevent the method and mobile terminal of mobile terminal maloperation
CN106462336B (en) Method and terminal for moving screen interface
CN107577404B (en) Information processing method and device and electronic equipment
CN115577332A (en) User identification method, 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