Wearable device-based batch friend-making management method, device, medium and equipment

文档序号:1963853 发布日期:2021-12-14 浏览:18次 中文

阅读说明:本技术 一种基于可穿戴设备的批量交友管理方法、装置、介质及设备 (Wearable device-based batch friend-making management method, device, medium and equipment ) 是由 李双卫 于 2021-09-15 设计创作,主要内容包括:本发明公开了一种基于可穿戴设备的批量交友管理方法、装置、介质及设备,具体包括:于检测交友指令状态下开启图像信息采集指令;识别图像信息中的人脸特征信息,提取人脸特征信息所包含的对应的第一匹配账号信息;创建目标账号信息与所有第一匹配账号信息的好友关系;识别已添加好友关系对应的第二匹配账号信息及陌生关系对应待添加穿戴设备好友用户的第三匹配账号信息,屏蔽第二匹配账号信息,建立陌生关系对应的第三匹配账号信息为好友关系。该基于可穿戴设备的批量交友管理方法,提高交友效率,通过管理端的管控有效的避免了使用者添加陌生为好友,防止受到不健康的内容影响。(The invention discloses a batch friend-making management method, a batch friend-making management device, a batch friend-making management medium and a batch friend-making management device based on wearable equipment, which specifically comprise the following steps: starting an image information acquisition instruction in a friend making instruction detection state; identifying face feature information in the image information, and extracting corresponding first matching account information contained in the face feature information; creating friend relationships between the target account information and all the first matching account information; and identifying second matching account information corresponding to the friend relationship added and third matching account information of a friend user of the wearable device to be added corresponding to the strange relationship, shielding the second matching account information, and establishing the third matching account information corresponding to the strange relationship as the friend relationship. According to the batch friend-making management method based on the wearable equipment, the friend-making efficiency is improved, strange friends are effectively prevented from being added by a user through management and control of the management terminal, and the influence of unhealthy contents is prevented.)

1. A batch friend-making management method based on wearable equipment is characterized by specifically comprising the following steps:

starting an image information acquisition instruction in a friend making instruction detection state;

identifying face feature information in the image information, and extracting corresponding first matching account information contained in the face feature information;

creating friend relationships between the target account information and all the first matching account information;

and identifying second matching account information corresponding to the friend relationship added and third matching account information of a friend user of the wearable device to be added corresponding to the strange relationship, shielding the second matching account information, and establishing the third matching account information corresponding to the strange relationship as the friend relationship.

2. The batch friend-making management method based on the wearable device according to claim 1, wherein the step of starting an image information acquisition instruction in a friend-making instruction detection state specifically comprises: when the mobile terminal detects a friend-making instruction, a user acquires pictures through the camera shooting assembly and starts the identification of the face images of the friends of the image information.

3. The batch friend-making management method based on the wearable device according to claim 1, wherein the step of starting an image information acquisition instruction in a friend-making instruction detection state specifically comprises: when the mobile terminal detects a friend making instruction, the management or the user uploads a related co-shooting image of the user, and the identification of the friend face image of the image information is started.

4. The method for managing the batch friends making based on the wearable device according to claim 1, wherein the steps of recognizing the face feature information in the image information and extracting corresponding first matching account information included in the face feature information include specifically recognizing a face image in the image information and obtaining first matching account information corresponding to the face image, wherein the face image corresponds to at least one piece of first matching account information.

5. The batch friend-making management method based on the wearable device according to claim 1 or 2, wherein creating the friend relationship between the target account information and all the first matching account information specifically comprises querying the wearable database for the user information matching with the face image information, and creating the friend relationship between the target account information and the account information of the identified user information.

6. The batch friend-making management method based on the wearable device according to claim 1, wherein identifying second matching account information corresponding to a friend relationship added and third matching account information corresponding to a friend user of a wearable device to be added with an unfamiliar relationship, shielding the second matching account information, and establishing the third matching account information corresponding to the unfamiliar relationship as the friend relationship specifically comprises identifying and querying and screening the account information corresponding to the friend relationship added, shielding the second matching account information corresponding to the friend relationship added, and establishing the third matching account information corresponding to the unfamiliar relationship as the friend relationship.

7. The utility model provides a batch friend-making management device based on wearable equipment which characterized in that: comprises that

The detection unit is used for starting an image information acquisition instruction in a friend making instruction detection state;

the reading unit is used for identifying the face feature information in the image information and extracting corresponding first matching account information contained in the face feature information;

the first processing unit is used for creating friend relationships between the target account information and all the first matching account information;

the second processing unit is used for identifying second matching account information corresponding to the friend relationship added and third matching account information corresponding to a friend user of the wearable device to be added in the strange relationship, shielding the second matching account information and establishing the third matching account information corresponding to the strange relationship as the friend relationship.

8. A computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the wearable device-based batch friend-making management method according to any of claims 1 to 6.

9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the wearable device-based batch friend-making management method according to any one of claims 1 to 6 when executing the computer program.

Technical Field

The invention relates to the technical field of friend making management of smart watches, in particular to a wearable device-based batch friend making management method, a wearable device-based batch friend making management device, a wearable device-based batch friend making management medium and wearable devices.

Background

At present, a method for adding friends to intelligent wearable instruments such as child watches and electronic bracelets generally includes logging in a user account, inputting information of a friend account to be added, sending information of the added friend, and achieving adding of friends.

Disclosure of Invention

Aiming at the defects of the prior art, the invention provides a wearable device-based batch friend-making management method, a wearable device-based batch friend-making management device, a wearable device-based batch friend-making management medium and wearable device-based batch friend-making management equipment, and solves the problems that the wearable device-based batch friend-making management method is low in friend-adding efficiency and easy to be disturbed by strangers.

In order to achieve the purpose, the invention is realized by the following technical scheme:

in a first aspect, a wearable device-based batch friend-making management method specifically includes:

starting an image information acquisition instruction in a friend making instruction detection state;

identifying face feature information in the image information, and extracting corresponding first matching account information contained in the face feature information;

creating friend relationships between the target account information and all the first matching account information;

and identifying second matching account information corresponding to the friend relationship added and third matching account information of a friend user of the wearable device to be added corresponding to the strange relationship, shielding the second matching account information, and establishing the third matching account information corresponding to the strange relationship as the friend relationship.

Preferably, the step of starting the image information acquisition command in the friend-making command detection state includes: when the mobile terminal detects a friend-making instruction, a user acquires pictures through the camera shooting assembly and starts the identification of the face images of the friends of the image information.

Preferably, the step of starting the image information acquisition command in the friend-making command detection state includes: when the mobile terminal detects a friend making instruction, the management or the user uploads a related co-shooting image of the user, and the identification of the friend face image of the image information is started.

Preferably, the identifying the face feature information in the image information and extracting the corresponding first matching account information included in the face feature information specifically include identifying a face image in the image information and acquiring first matching account information corresponding to the face image, where the face image corresponds to at least one piece of first matching account information.

Preferably, the creating of the friend relationship between the target account information and all the first matching account information specifically includes querying the user information matched with the face image information in the wearable database, and creating the friend relationship between the target account information and the account information of the identified user information.

Preferably, identifying second matching account information corresponding to the added friend relationship and third matching account information corresponding to a friend user of the wearable device to be added in the unfamiliar relationship, shielding the second matching account information, and establishing the third matching account information corresponding to the unfamiliar relationship as the friend relationship.

In a second aspect, a wearable device-based batch friend-making management apparatus includes:

the detection unit is used for starting an image information acquisition instruction in a friend making instruction detection state;

the reading unit is used for identifying the face feature information in the image information and extracting corresponding first matching account information contained in the face feature information;

the first processing unit is used for creating friend relationships between the target account information and all the first matching account information;

the second processing unit is used for identifying second matching account information corresponding to the friend relationship added and third matching account information corresponding to a friend user of the wearable device to be added in the strange relationship, shielding the second matching account information and establishing the third matching account information corresponding to the strange relationship as the friend relationship.

In a third aspect, a computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the wearable device-based batch dating management method as described above.

In a fourth aspect, an electronic device includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor, when executing the computer program, implements the wearable device-based batch friend-making management method in the electronic device.

The invention has the following beneficial effects:

the method comprises the steps that images of friend users of wearing equipment to be added are shot through a camera component, or the images of the friend users of the wearing equipment to be added are uploaded on a local server, a smart host identifies face feature information in the image information, corresponding first matching account information contained in the face feature information is extracted, friend relations between target account information and all the first matching account information are created, second matching account information corresponding to the friend relations are identified and shielded, and third matching account information corresponding to strange relations is established as friend relations by the smart host.

Drawings

Fig. 1 is a flowchart illustrating a wearable device-based batch friend-making management method according to an embodiment;

fig. 2 is a flowchart of a wearable device-based batch friend-making management method according to a second embodiment;

fig. 3 is a schematic structural diagram of a wearable device-based batch friend-making management apparatus according to a third embodiment of the present invention;

fig. 4 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.

Detailed Description

The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.

Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.

Example one

The wearable device-based batch friend-making management method specifically comprises the following steps,

and S110, starting an image information acquisition instruction in the friend making instruction detection state.

In the embodiment of the invention, when the mobile terminal detects the friend making instruction, the user acquires the face information in the image information by shooting the image of the friend user of the wearable device to be added or uploading the related photo of the friend user of the wearable device to be added through the local server.

S120, identifying face feature information in the image information, and extracting corresponding first matching account information contained in the face feature information;

in the embodiment of the invention, the intelligent host identifies the face images of the friend users of the wearing devices to be added in the image information, first matching account information corresponding to the face images of all the friend users of the wearing devices to be added in the shooting co-photos and the uploading co-photos is obtained in the wearing device management server, and the face images in the wearing device management server correspond to at least one piece of first matching account information.

S130, creating friend relationships between the target account information and all the first matching account information;

in the embodiment of the invention, according to the user information matched with the face image information of the friend user of the wearable device to be added in the shooting co-shooting and uploading co-shooting mode, which is inquired in the wearable device management server by the intelligent host, the intelligent host establishes the target account information and the account information of all identified friend user information of the wearable device to be added to establish the friend relationship.

S140, identifying second matching account information corresponding to the friend relationship added and third matching account information of a friend user of the wearable device to be added corresponding to the strange relationship, shielding the second matching account information, and establishing the third matching account information corresponding to the strange relationship as the friend relationship.

In the embodiment of the invention, the account information of the created friend relationship is inquired and screened, the second matching account information corresponding to the added friend relationship and the third matching account information of the friend user of the wearable device to be added corresponding to the strange relationship are identified, the second matching account information corresponding to the added friend relationship is shielded, the third matching account information of the friend user of the wearable device to be added corresponding to the strange relationship in the shooting co-photograph and the uploading co-photograph is established as the friend relationship, and the addition of a plurality of friends is completed at one time.

In the embodiment, an LBP algorithm is adopted to extract and match the face features, in a general face recognition algorithm, the initial LBP is defined in a 3 × 3 neighborhood of pixels, a neighborhood center pixel is used as a threshold, gray values of 8 adjacent pixels are compared with the initial LBP, if a surrounding pixel value is greater than a center pixel value, the position of the pixel point is marked as 1, otherwise, the position is 0. Thus, 8 points in the 3 × 3 neighborhood can be compared to generate 8-bit binary numbers (usually converted into decimal numbers, i.e. LBP codes, 256 types in total), i.e. obtaining the LBP value of the central pixel point in the neighborhood, and using this value to reflect the texture information of the region.

The obtained LBP value is directly used for face recognition, and the LBP characteristics are not different from the LBP characteristics, so that a series of problems such as calculation amount accuracy and the like can be caused.

In this embodiment, a face image is divided into 9 × 9 sub-regions, and a histogram of the sub-regions is counted according to the LBP value, and the histogram is used as a distinguishing feature of the sub-regions. This has the advantage of avoiding the situation where the images are not perfectly aligned within a certain range, while also performing dimension reduction on the LBP features.

For the obtained histogram features, there are various methods to judge the similarity, and the known face histogram is assumed to be MiThe histogram of the face to be matched is SiThen, by chi-square statistical method (checking two variables for independence), the formula is as follows:

wherein the content of the first and second substances,

Mia known face histogram;

Siis the histogram of the face to be matched.

In LBP face recognition, each image can be divided into N areas with the same size, histogram features are extracted from the small areas by using LBP, therefore, each image obtains a lot of histogram information, and the histogram of the image to be matched is set as Si,jHistogram of the known image is Mi,jWhere i is 1, 2., N is a small region of a certain block of an image, j is a value of a certain column of a histogram in the small region, and then the similarity between two images is:

wherein the content of the first and second substances,

Mi,ja known face histogram;

Si,ja histogram of the face to be matched is obtained;

wjis the weight of each small region.

In this embodiment, since the information content in the face region, the eyes and mouth, and other regions is richer, the weights of these regions can be set to be larger. The denominator part in the above formula is Si,j+Mi,jThe difference of the same face in different photos is considered, and the LBP algorithm is used for peopleThe face features are recognized and matched, and the face recognition accuracy is improved.

The method comprises the steps that images of friend users of wearing equipment to be added are shot through a camera component, or the images of the friend users of the wearing equipment to be added are uploaded on a local server, a smart host identifies face feature information in the image information, corresponding first matching account information contained in the face feature information is extracted, friend relations between target account information and all the first matching account information are created, second matching account information corresponding to the friend relations are identified and shielded, and third matching account information corresponding to strange relations is established as friend relations by the smart host.

Example two

The wearable device-based batch friend-making management method specifically comprises the following steps,

s210, starting a friend query instruction to acquire first matching account information and an image information acquisition instruction to acquire second matching account information in the state of detecting a friend making instruction;

in the embodiment, the intelligent host starts a friend query instruction to acquire first matching account information of all friend users of the added wearable devices in the local server of the intelligent host, and simultaneously, a user takes a photo through the camera component or uploads the photo to acquire a picture so as to acquire second matching account information of the friend users of the added wearable devices in the wearable server.

S220, identifying face feature information in the image information and shielding third matching account information corresponding to the added friends;

in the embodiment, the intelligent host carries out image acquisition on the photo taken by the camera shooting component or the uploaded photo taken by the camera shooting component to carry out face recognition, inquires the third matching account information corresponding to the friend to which the wearable equipment is added in the local server, and shields the third matching account information corresponding to the friend to which the friend is added.

And S230, establishing a fourth matching account information corresponding to the strange relationship as a friend relationship.

In the embodiment, the intelligent host shields the third matching account information corresponding to the friend added with the wearable device, identifies the fourth matching account information of the friend user of the wearable device to be added corresponding to the strange relationship in the shooting co-photograph or the uploading co-photograph, establishes the friend relationship between the target account information and the identified account information of the fourth matching account of the user information, and completes one-to-many friend addition.

When the intelligent host receives a friend making instruction, the intelligent host can directly start inquiry of friend user accounts of the added wearable devices in the communication connection server, simultaneously collects image information of friend users of the wearable devices to be added, identifies face feature information in the image information and shields third matching account information corresponding to the added friends, and establishes fourth matching account information corresponding to strange relations as friend relations.

The embodiment is suitable for being implemented under the limited condition that the number of the added friends is less than 500, and the friend query command can be directly started by the intelligent host to acquire the first matching account information of all the added friends of the server in the intelligent host, so that the adding speed of a plurality of friends is increased, and addition and harassment of strangers are prevented.

EXAMPLE III

Fig. 3 is a device for managing batch friends making based on wearable equipment, which includes:

the detection unit 310 is used for starting an image information acquisition instruction in a friend making instruction detection state;

the reading unit 320 is configured to identify face feature information in the image information, and extract corresponding first matching account information included in the face feature information;

the first processing unit 330 is configured to create a friend relationship between the target account information and all the first matching account information;

the second processing unit 340 is configured to identify second matching account information corresponding to the added friend relationship and third matching account information of a friend user of the wearable device to be added corresponding to the unfamiliar relationship, shield the second matching account information, and establish the third matching account information corresponding to the unfamiliar relationship as the friend relationship.

The working principle of the embodiment of the invention is specifically that when the wearable device-based batch friend-making management device is implemented, the detection unit 310 starts an image information acquisition instruction when receiving a friend-making instruction, the reading unit 320 reads an image with added friends uploaded, identifies face feature information in the image information, extracts corresponding first matching account information contained in the face feature information, the first processing unit 330 creates friend relationships between target account information and all first matching account information in the image, the second processing unit 340 inquires and screens account information with created friend relationships, identifies second matching account information corresponding to the added friend relationships and third matching account information corresponding to friends of wearable devices to be added in strange relationships, shields the second matching account information corresponding to the added friend relationships, and the intelligent host establishes a third matching account corresponding to friends of wearable devices to be added in shooting contract and the strange relationships in the uploaded contract And the three matched account information is the friend relationship, and the addition of a plurality of friends is completed at one time.

Example four

Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform:

starting an image information acquisition instruction in a friend making instruction detection state;

identifying face feature information in the image information, and extracting corresponding first matching account information contained in the face feature information;

creating friend relationships between the target account information and all the first matching account information;

and identifying second matching account information corresponding to the friend relationship added and third matching account information of a friend user of the wearable device to be added corresponding to the strange relationship, shielding the second matching account information, and establishing the third matching account information corresponding to the strange relationship as the friend relationship.

Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the computer system in which the program is executed, or may be located in a different second computer system connected to the computer system through a network (such as the internet). The second computer system may provide the program instructions to the computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.

Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the wearable device-based batch friend-making management method described above, and may also perform related operations in the wearable device-based batch friend-making management method provided in any embodiment of the present application.

EXAMPLE five

The embodiment of the application provides electronic equipment, and the wearable equipment-based batch friend-making management device provided by the embodiment of the application can be integrated in the electronic equipment. Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present application. As shown in fig. 4, the present embodiment provides an electronic device 400, which includes: one or more processors 420; storage 410 to store one or more programs that, when executed by the one or more processors 420, cause the one or more processors 420 to implement:

starting an image information acquisition instruction in a friend making instruction detection state;

identifying face feature information in the image information, and extracting corresponding first matching account information contained in the face feature information;

creating friend relationships between the target account information and all the first matching account information;

and identifying second matching account information corresponding to the friend relationship added and third matching account information of a friend user of the wearable device to be added corresponding to the strange relationship, shielding the second matching account information, and establishing the third matching account information corresponding to the strange relationship as the friend relationship.

As shown in fig. 4, the electronic device 400 includes a processor 420, a storage device 410, an input device 430, and an output device 440; the number of the processors 420 in the electronic device may be one or more, and one processor 420 is taken as an example in fig. 4; the processor 420, the storage device 410, the input device 430, and the output device 440 in the electronic apparatus may be connected by a bus or other means, and are exemplified by a bus 450 in fig. 4.

The storage device 410 is a computer-readable storage medium, and can be used to store software programs, computer-executable programs, and module units, such as program instructions corresponding to the wearable device-based batch friend-making management method in the embodiments of the present application.

The storage device 410 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage 410 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, storage 410 may further include memory located remotely from processor 420, which may be connected via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.

The input means 430 may be used to receive input numbers, character information, or voice information, and to generate key signal inputs related to user settings and function control of the electronic device. The output device 440 may include a display screen, speakers, etc.

It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.

Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于区块链的社交影响力奖惩方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!