WO2020140395A1 - 一种电子设备的应用登录方法、装置、电子设备及介质 - Google Patents

一种电子设备的应用登录方法、装置、电子设备及介质 Download PDF

Info

Publication number
WO2020140395A1
WO2020140395A1 PCT/CN2019/091530 CN2019091530W WO2020140395A1 WO 2020140395 A1 WO2020140395 A1 WO 2020140395A1 CN 2019091530 W CN2019091530 W CN 2019091530W WO 2020140395 A1 WO2020140395 A1 WO 2020140395A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
contact
target
interface
target face
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.)
Ceased
Application number
PCT/CN2019/091530
Other languages
English (en)
French (fr)
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Publication of WO2020140395A1 publication Critical patent/WO2020140395A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27467Methods of retrieving data
    • H04M1/27475Methods of retrieving data using interactive graphical means or pictorial representations

Definitions

  • the present application belongs to the technical field of terminal equipment, and particularly relates to a method, device and terminal equipment for loading communication controls.
  • the embodiments of the present application provide a method, device and terminal device for loading communication controls to solve the problem that the prior art contacts the target contact in the album application of the terminal device, the user operation is cumbersome, not convenient and fast, and reduces the user Technical issues of experience.
  • a first aspect of an embodiment of the present application provides a method for loading communication controls, including:
  • a communication control is loaded in the corresponding position of the target face image in the image interface; the communication control and the target contact The contact information is associated.
  • the communication control is triggered, the user is allowed to communicate with the target contact.
  • a second aspect of an embodiment of the present application provides a communication control loading device, including:
  • the monitoring module is used to monitor the event of identifying contact triggered by the user in the graphical interface
  • the matching module is configured to match the target face image in the image interface with the contact image in the address book according to the monitored contact recognition event;
  • the association module is configured to load a communication control in the corresponding position of the target face image in the image interface if the target face image matches the target contact image in the contact image successfully;
  • the contact information of the target contact is associated, and when the communication control is triggered, the user is allowed to communicate with the target contact.
  • a third aspect of the embodiments of the present application provides a terminal device, including a memory and a processor.
  • the memory stores computer-readable instructions that can run on the processor.
  • the processor executes the computer. When reading instructions, the following steps are implemented:
  • a communication control is loaded in the corresponding position of the target face image in the image interface; the communication control and the target contact The contact information is associated.
  • the communication control is triggered, the user is allowed to communicate with the target contact.
  • a fourth aspect of the embodiments of the present application provides a computer-readable storage medium that stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the following steps are implemented:
  • a communication control is loaded in the corresponding position of the target face image in the image interface; the communication control and the target contact The contact information is associated.
  • the communication control is triggered, the user is allowed to communicate with the target contact.
  • a communication control for communicating with the target contact is loaded at the corresponding position of the target face image, thereby enabling the user Directly trigger the operation of contacting the target contact, which reduces the user's operation on the terminal device, is convenient and quick, and improves the user experience.
  • FIG. 1 is an implementation flowchart of a communication control loading method provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of an image interface provided by an embodiment of the present application.
  • step 102 is a flowchart of an implementation of step 102 in a method for loading a communication control provided by an embodiment of the present application
  • step 102 is a flowchart of another implementation of step 102 in a method for loading a communication control provided by an embodiment of the present application;
  • FIG. 5 is another implementation flowchart of step 102 in a method for loading communication control provided by an embodiment of the present application
  • FIG. 6 is a schematic diagram of loading a communication control in an image interface provided by an embodiment of the present application.
  • FIG. 7 is a flowchart of another method for loading a communication control provided by an embodiment of the present application.
  • FIG. 8 is an implementation flowchart of another method for loading a communication control provided by an embodiment of the present application.
  • FIG. 9 is a structural block diagram of a device for loading a communication control provided by an embodiment of the present application.
  • FIG. 10 is a structural block diagram of another communication control device loading device provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a terminal device provided by an embodiment of the present application.
  • FIG. 1 shows an implementation flow of a method for loading a communication control provided by an embodiment of the present application.
  • the method flow includes steps S101 to S104. This method is suitable for situations where an album-related address book is required.
  • This method is executed by a communication control loading device, which is configured in a terminal device and can be implemented by software and/or hardware. The specific implementation principles of each step are as follows.
  • S101 Monitor a contact recognition event triggered by a user in an image interface.
  • the user is a user of a terminal device.
  • Terminal devices include but are not limited to portable terminal devices.
  • the terminal device includes a display screen, usually a touch display screen.
  • the terminal device also includes a monitoring module to monitor the user's touch screen operations on the touch screen.
  • An album application is installed on the terminal device, the user browses the photos in the album in the album application, and the display screen is used to display the photos, so the interface for displaying the photos is called an image interface.
  • the terminal device monitors whether the user triggers a contact recognition event on the image interface of the terminal device.
  • the event of identifying a contact is usually triggered by the user in the image interface of the terminal device, performs a preset operation for the user to select the target face image in the image interface, and associates the target face image with the contact in the address book.
  • the preset operation may include a preset touch screen sliding gesture, and may also include clicking a preset operation control.
  • monitoring the contact identification event triggered by the user in the image interface includes: monitoring the contact identification event triggered by the user by clicking on a preset operation control in the image interface; and/or monitoring the user through the image Enter the contact recognition event triggered by the preset touch screen sliding gesture in the interface.
  • the preset operation control includes a movable control suspended on the image interface, or a fixed control fixed on the image interface, or the preset operation control is a favorite on the image interface The hidden control in the menu key. At this time, all the faces in the image interface will be used as the target face images, so that each target face image is matched with the contact image in the address book in the subsequent steps.
  • the preset touch screen sliding gesture includes a touch screen sliding gesture preset by the terminal device or customized by the user. For example, a swipe gesture to the touch screen in various directions.
  • the touch screen sliding gesture includes the user using a finger or a hand-held stylus to slide left or right on the image interface to draw non-closed graphics, such as curves or straight lines, or drawing closed graphics, such as drawing circles or polygons.
  • non-closed graphics such as curves or straight lines
  • drawing closed graphics such as drawing circles or polygons.
  • the one or several face images of the touch screen sliding gesture corresponding to which face or faces in the image interface are selected as the target person image; and the corresponding closed figure is drawn.
  • one or more face images in the area enclosed by the closed figure are used as the target person image.
  • the embodiments of the present application have the characteristics of diversified, intuitive, and simple triggering modes, so that users can easily and conveniently obtain target face images from the image interface for recognition, and improve the user experience.
  • an image 21 is displayed in the image interface 20, and the image 21 includes two faces, namely, face A and face B.
  • an operation control preset on it namely the "identify contact” operation control 22.
  • the user can click on the operation control 22 to trigger a contact recognition event, so that the smartphone determines the target face image selected by the user, namely face A and face After B, match face A and face B with the contact images in the pre-stored address book respectively.
  • the communication control is loaded at the corresponding position of the target face image.
  • step 101 it is monitored whether the user triggers the recognition contact event in the image interface, that is, only when the user triggers the recognition contact event and the terminal contact device detects the recognition contact event, the The terminal device determines the target face image selected by the user according to the user's trigger operation, matches the target face image with the contact image in the address book, and loads the communication control at the target face image that matches successfully.
  • the user browses the photos in the album and wants to contact a friend, he can directly obtain a communication interface for contacting the friend on the image interface.
  • step 102 includes steps 301 to 302.
  • the preset operations include but are not limited to touch screen sliding gestures and click preset operation controls.
  • the touch screen sliding gesture includes closed and non-closed touch screen sliding gestures.
  • selecting the target face image according to the preset operation includes: if the preset operation is a non-closed touch screen sliding gesture, selecting the face image over which the touch screen sliding gesture slides as the target face image ; If the preset operation is a closed touch screen sliding gesture, the face image in the area enclosed by the closed figure is selected as the target face image; if the preset operation is to click the preset operation control, the selected image interface includes The face image of all people is used as the target face image.
  • the matching of the target face image and the contact image begins.
  • the image features include facial features.
  • step 302 includes steps 401 to 403.
  • the neural network model may be a convolutional neural network model or other deep learning neural network models. For example, a 128-dimensional facial feature is obtained through a convolutional neural network.
  • S402. Calculate the Euclidean distance between the facial features of the target facial image and the facial features of the contact image.
  • the Euclidean distance between the two is calculated to obtain the matching result.
  • the preset distance threshold is an empirical value, which can be set according to actual needs, which is not specifically limited in this application.
  • the image features include relative features of faces.
  • step 302 includes steps 501 and 502.
  • S501 Identify a plurality of feature parts of the target face image, and extract relative features of the plurality of feature parts.
  • the relative features include the relative sizes and relative positions between any two feature parts.
  • the characteristic parts of the target face image include but are not limited to eyebrows, eyes, nose, or mouth.
  • the feature points of the two feature parts are identified at least, so as to obtain the relative features of the two feature parts, including the relative sizes and relative positions between the feature parts. Including but not limited to the relative size and relative position between any two of the eyebrows, eyes, nose or mouth.
  • the position and size of the first feature part are obtained based on the first feature part, such as two feature points of the left eye
  • the position and size of the second feature part are obtained based on the second feature part, such as two feature points of the mouth Therefore, based on the position and size of the first feature part and the position and size of the second feature part, the relative size and relative position between the first feature part and the second feature part are obtained.
  • the left eye feature point and the nose feature point of the target face image and the contact image can be identified, thereby calculating the relative features of the left eye and the nose, for example, according to the leftmost feature point and the rightmost feature point of the left eye Get the first position of the left eye, and also get the relative size, that is, the first Euclidean distance between the leftmost feature point and the rightmost feature point; get the second position of the nose according to the nose tip feature point and the nose wing feature point, and also get The relative size is the second Euclidean distance between the nose tip feature point and the nose wing feature point, thereby calculating the relative position between the first position and the second position, and calculating the relative size of the first Euclidean distance and the second Euclidean distance.
  • the relative features of the contact image should also be acquired, which is the same as the method of acquiring the relative features of the target face image, which will not be repeated here. It should be noted that the relative characteristics of the contact image can also be stored in advance, and can be called when needed.
  • the matching degree of the two is calculated, and the matching degree includes Euclidean distance, etc., thereby obtaining a matching result.
  • the preset threshold is an empirical value, which can be set according to actual needs, which is not specifically limited in this application.
  • the communication control is associated with the contact method of the target contact, including at least one of communication control such as telephone call, short message, email, or instant communication. That is to say, the communication control selects the setting according to the contact information of the contact, and the terminal device may set one or more by default, or the user may set one or more or all by themselves. For example, if the match is successful, Zhang San stores the phone number, mailbox number, and instant messaging account corresponding to Zhang San in the address book.
  • the communication controls loaded include four phone, SMS, mailbox, and instant messaging applications.
  • the communication control, or the loaded communication control includes only one or two of the phone, SMS, mailbox, and instant messaging applications.
  • contact information such as name, etc.
  • the target face image that matches successfully.
  • the name "Zhang San" of the target contact is displayed below the target face image.
  • the target face image A and the contact image in the address book are unsuccessfully matched, and the word “recognition failed” 61 is displayed.
  • the target face image B is successfully matched with the image of Zhang San in the address book.
  • the phone number, mailbox number and instant messaging account corresponding to Zhang San are saved in the address book, and three communication controls 62 are loaded below the target face image B. The user clicks on one of the communication controls 62 to trigger the communication interface with the target contact without returning to the address book, which simplifies user operations, is convenient and quick, and improves user experience.
  • a communication control for communicating with the target contact is loaded at the corresponding position of the target face image, thereby enabling the user to enter the image interface It can directly trigger the operation of contacting the target contact, reducing the user's operation on the terminal device, convenient and fast, and improving the user experience.
  • steps 701 to 704 are further included.
  • step 103 the communication control is loaded at the corresponding position of the successfully matched target person image, and according to different types of communication control, when the user triggers different communication controls, either a call with the target contact or a contact with the target is loaded Human dialogue interface, so as to achieve communication between the user and the target contact.
  • the dialogue with the target contact is directly realized, which is convenient and quick, and simplifies the user operation.
  • it further includes: sending an image including the target contact in the image interface to the target contact. Based on this setting, the dialog box with the target contact is opened to avoid embarrassment and improve the intelligence level of the terminal device.
  • a communication control The loading method includes steps 801 to 804.
  • S802 Match the target face image in the image interface with the contact image in the address book according to the monitored contact recognition event.
  • Steps 801 and 802 are the same as steps 101 and 102. Please refer to the corresponding descriptions of steps 101 and 102, which will not be repeated here.
  • a dialogue interface for sending an instant message to a target contact corresponding to the target face image to be communicated is loaded.
  • a dialogue interface that sends an instant message to the target contact can be loaded, another
  • a dialogue interface for sending an instant message to a target group may be loaded, and the target group includes the largest number of target contacts in the image interface.
  • FIG. 9 shows a structural block diagram of a communication control loading device provided by an embodiment of the present application. For ease of description, only parts related to the embodiment of the present application are shown.
  • the communication control loading device includes:
  • the monitoring module 91 is used to monitor the event of identifying the contact triggered by the user in the image interface
  • the matching module 92 is configured to match the target face image in the image interface with the contact image in the address book according to the monitored contact recognition event;
  • the association module 93 is configured to load a communication control in the corresponding position of the target face image in the image interface if the target face image matches the target contact image in the contact image successfully;
  • the contact method of the target contact is associated, and when the communication control is triggered, the user is allowed to communicate with the target contact.
  • the matching module 92 is specifically used for:
  • Each of the target face images and the contact images in the address book are matched respectively.
  • selecting the target face image according to the preset operation includes: if the preset operation is a non-closed touch screen sliding gesture, selecting the face image over which the touch screen sliding gesture slides as the target face image ; If the preset operation is a closed touch screen sliding gesture, the face image in the area enclosed by the closed figure is selected as the target face image; if the preset operation is to click the preset operation control, the selected image interface includes The face image of all people is used as the target face image.
  • the matching module is specifically used for:
  • the relative features include the relative size and relative position between any two feature parts
  • the relative features of the target face image are matched with the relative features of the contact images in the address book. If the matching degree is equal to or greater than a preset threshold, the matching is successful; if the matching degree is less than the preset threshold, the matching fails.
  • the communication control includes at least one of a communication control for telephone conversation, short message, mail, or instant messaging.
  • the communication control loading device further includes a communication module 94 for:
  • the phone of the target contact is dialed to make the call
  • the information editing interface for sending the short message to the target contact is loaded
  • the dialogue interface for sending instant messages to the target contact is loaded; or, the dialogue list interface for sending instant messages to the target contact and the group where the target contact is located is loaded, if the user is monitored Select a target object in the dialog list to load the dialog interface of the target object.
  • association module 93 is specifically used for:
  • a communication control is respectively loaded in corresponding positions of the plurality of target face images in the image interface
  • the communication module 94 is specifically used for:
  • a dialogue interface for sending an instant message to a target contact corresponding to the target face image to be communicated is loaded.
  • the terminal device 11 of this embodiment includes: a processor 110, a memory 111, and computer-readable instructions 112 stored in the memory 111 and executable on the processor 110, such as album association communication Recorded program.
  • the processor 110 executes the computer-readable instruction 112
  • the steps in the above embodiment of the method for loading a communication control are implemented, for example, steps S101 to S103 shown in FIG. 1.
  • the processor 110 executes the computer-readable instructions 112
  • the functions of the modules in the foregoing device embodiments are realized, for example, the functions of the modules 91 to 93 shown in FIG. 9.
  • the computer-readable instructions 112 may be divided into one or more modules/units, the one or more modules/units are stored in the memory 111, and executed by the processor 110, To complete this application.
  • the one or more modules/units may be a series of computer-readable instruction instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer-readable instructions 112 in the terminal device 11.
  • the terminal device 11 may be a personal computer, a portable smart device, or the like.
  • the terminal device 11 may include, but is not limited to, a processor 110 and a memory 111.
  • FIG. 11 is only an example of the terminal device 11 and does not constitute a limitation on the terminal device 11, and may include more or fewer components than those illustrated, or a combination of certain components, or different components.
  • the terminal device may further include an input and output device, a network access device, a bus, a voice recognition module, a positioning module, and the like.
  • the so-called processor 110 may be a central processing unit (Central Processing Unit (CPU), can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (Application Specific Integrated Circuit (ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory 111 may be an internal storage unit of the terminal device 11, such as a hard disk or a memory of the terminal device 11.
  • the memory 111 may also be an external storage device of the terminal device 11, such as a plug-in hard disk equipped on the terminal device 11, a smart memory card (Smart Media Card, SMC), and a secure digital (SD) Cards, flash cards, etc. Further, the memory 111 may also include both an internal storage unit of the terminal device 11 and an external storage device.
  • the memory 111 is used to store the computer-readable instructions and other programs and data required by the terminal device.
  • the memory 111 can also be used to temporarily store data that has been or will be output.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or software function unit.
  • the integrated module/unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the present application can implement all or part of the processes in the methods of the above embodiments, and can also be completed by instructing relevant hardware through computer-readable instructions, which can be stored in a computer-readable storage medium When the computer-readable instructions are executed by the processor, the steps of the foregoing method embodiments can be implemented.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

本申请适用于终端设备技术领域,提供了一种通信控件加载方法、装置及终端设备,所述方法包括:监听用户在图像界面中触发的识别联系人事件;根据监听到的所述识别联系人事件,将所述图像界面中的目标人脸图像与通讯录中的联系人图像进行匹配;若所述目标人脸图像与所述联系人图像中的目标联系人图像匹配成功,则在所述图像界面中目标人脸图像相应位置加载通信控件;所述通信控件与所述目标联系人的联系方式关联,所述通信控件被触发时使得用户与目标联系人进行通讯。本申请通过在目标人脸图像与通讯录中的目标联系人匹配成功后,在目标人脸图像的相应位置加载通信控件,从而使得用户在图像界面能够直接触发联系目标联系人的操作,方便快捷。

Description

一种电子设备的应用登录方法、装置、电子设备及介质
本申请要求于2019年01月04日提交中国专利局、申请号为201910008376.X、发明名称为“通信控件加载方法、装置及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请属于终端设备技术领域,尤其涉及一种通信控件加载方法、装置及终端设备。
背景技术
随着通信技术和终端技术的迅速发展,人们越来越频繁的通过移动终端,例如智能手机、平板等的通讯工具或短信软件等发送信息进行日常交流和沟通。
目前,移动终端用户在移动终端的相册中浏览图像时,若想联系图像中的朋友,通常需要退出相册应用,切换到通讯录应用,找到朋友的号码点击拨号或发送短信。用户操作相当不便利,降低了用户的体验度。
技术问题
有鉴于此,本申请实施例提供了一种通信控件加载方法、装置及终端设备,以解决现有技术在终端设备在相册应用中联系目标联系人,用户操作繁琐,不够方便快捷,降低了用户体验度的技术问题。
技术解决方案
本申请实施例的第一方面提供了一种通信控件加载方法,包括:
监听用户在图像界面中触发的识别联系人事件;
根据监听到的所述识别联系人事件,将所述图像界面中的目标人脸图像与通讯录中的联系人图像进行匹配;
若所述目标人脸图像与所述联系人图像中的目标联系人图像匹配成功,则在所述图像界面中目标人脸图像相应位置加载通信控件;所述通信控件与所述目标联系人的联系方式关联,所述通信控件被触发时使得用户与目标联系人进行通讯。
本申请实施例的第二方面提供了一种通信控件加载装置,包括:
监听模块,用于监听用户在图像界面中触发的识别联系人事件;
匹配模块,用于根据监听到的所述识别联系人事件,将所述图像界面中的目标人脸图像与通讯录中的联系人图像进行匹配;
关联模块,用于若所述目标人脸图像与所述联系人图像中的目标联系人图像匹配成功,则在所述图像界面中目标人脸图像相应位置加载通信控件;所述通信控件与所述目标联系人的联系方式关联,所述通信控件被触发时使得用户与目标联系人进行通讯。
本申请实施例的第三方面提供了一种终端设备,包括存储器以及处理器,所述存储器中存储有可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时,实现如下步骤:
监听用户在图像界面中触发的识别联系人事件;
根据监听到的所述识别联系人事件,将所述图像界面中的目标人脸图像与通讯录中的联系人图像进行匹配;
若所述目标人脸图像与所述联系人图像中的目标联系人图像匹配成功,则在所述图像界面中目标人脸图像相应位置加载通信控件;所述通信控件与所述目标联系人的联系方式关联,所述通信控件被触发时使得用户与目标联系人进行通讯。
本申请实施例的第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如下步骤:
监听用户在图像界面中触发的识别联系人事件;
根据监听到的所述识别联系人事件,将所述图像界面中的目标人脸图像与通讯录中的联系人图像进行匹配;
若所述目标人脸图像与所述联系人图像中的目标联系人图像匹配成功,则在所述图像界面中目标人脸图像相应位置加载通信控件;所述通信控件与所述目标联系人的联系方式关联,所述通信控件被触发时使得用户与目标联系人进行通讯。
有益效果
本申请实施例中,在目标人脸图像与通讯录中的目标联系人匹配成功后,通过在目标人脸图像的相应位置加载与目标联系人进行通讯的通信控件,从而使得用户在图像界面能够直接触发联系目标联系人的操作,减少了用户在终端设备的操作,方便快捷,提高了用户体验度。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种通信控件加载方法的实现流程图;
图2是本申请实施例提供的一种图像界面的示意图;
图3是本申请实施例提供的一种通信控件加载方法中步骤102的一种实现流程图;
图4是本申请实施例提供的一种通信控件加载方法中步骤102的另一种实现流程图;
图5是本申请实施例提供的一种通信控件加载方法中步骤102的另一种实现流程图;
图6是本申请实施例提供的一种在图像界面中加载通信控件的示意图;
图7是本申请实施例提供的另一种通信控件加载方法的实现流程图;
图8是本申请实施例提供的另一种通信控件加载方法的实现流程图;
图9是本申请实施例提供的一种通信控件加载装置的结构框图;
图10是本申请实施例提供的另一种通信控件加载装置的结构框图;
图11是本申请实施例提供的终端设备的示意图。
本发明的实施方式
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。
另外,在本申请中若涉及“第一”或“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”或“第二”等的特征可以明示或者隐含地包括至少一个该特征。
为了说明本申请所述的技术方案,下面通过具体实施例来进行说明。
图1示出了本申请实施例提供的通信控件加载方法的实现流程,该方法流程包括步骤S101至S104。该方法适用于需要进行相册关联通讯录的情形。该方法由通信控件加载装置执行,所述通信控件加载装置配置于终端设备,可由软件和/或硬件实现。各步骤的具体实现原理如下。
S101,监听用户在图像界面中触发的识别联系人事件。
本申请实施例中,用户为终端设备的使用者。终端设备包括但不限于便携式终端设备。终端设备包括显示屏,通常为触摸显示屏。终端设备还包括监听模块,监听用户在触摸显示屏上的触屏操作。
终端设备上安装有相册应用,用户在相册应用中浏览相册中的照片,显示屏用于显示照片,因而显示照片的界面被称作图像界面。用户通过图像界面浏览相册应用中的一张张图片时,终端设备监听用户在终端设备的图像界面是否触发了识别联系人事件。
识别联系人事件通常由用户在终端设备的图像界面中触发,为用户执行预设操作选定图像界面中目标人脸图像,将目标人脸图像与通讯录中联系人进行关联的事件。预设操作可以包括预设的触屏滑动手势,还可以包括点击预设的操作控件。
可选地,监听用户在图像界面中触发的识别联系人事件,包括:监听用户通过点击所述图像界面中的预设操作控件触发的识别联系人事件;和/或监听用户通过在所述图像界面中输入预设触屏滑动手势触发的识别联系人事件。
其中,所述预设操作控件包括悬浮在图像界面上的可移动的控件,或者固定在所述图像界面上的固定的控件,又或者,所述预设操作控件为收藏于所述图像界面上的菜单键中的隐藏式控件。此时,图像界面中全部人脸都将作为目标人脸图像,从而在后续步骤中将每个目标人脸图像分别于通讯录中联系人图像进行匹配。
所述预设触屏滑动手势包括终端设备预先设置或用户自定义的触屏滑动手势。例如,向各个方向的触屏滑动手势。其中,触屏滑动手势包括用户利用手指或手持触控笔在图像界面向左或向右滑动画非封闭图形,如曲线或直线等;又或者画封闭图形,如画圆或画多边形等。此时,当采用画不封闭图形的方式,触屏滑动手势的滑过一个或几个人脸图像则对应了选择图像界面中的哪一个或哪几个人脸作为目标人物图像;而对应画封闭图形的方式,封闭图形包围区域中的一个或多个人脸图像作为目标人物图像。
本申请实施例具有触发方式多元化、直观和简单的特点,使得用户能够轻松便捷地从图像界面中获取目标人脸图像进行识别,提高了用户的体验度。
示例性地,如图2所示,在智能手机相册应用的图像界面20中,图像界面20中显示有图像21,图像21中包括两个人脸,即人脸A和人脸B,在图像界面上预设有操作控件,即“识别联系人”操作控件22,用户可以通过点击操作控件22触发识别联系人事件,从而智能手机确定用户选定的目标人脸图像,即人脸A和人脸B之后,将人脸A和人脸B与预存的通讯录中的联系人图像分别进行匹配。当匹配成功时,在目标人脸图像的相应位置加载通信控件。需要说明的是,本领域技术人员知晓,此处仅为示例性描述,不能解释为对本申请的限制。
S102,根据监听到的所述识别联系人事件,将所述图像界面中的目标人脸图像与通讯录中的联系人图像进行匹配。
通过步骤101监听用户在图像界面中是否触发了识别联系人事件,也就是说,只有当用户触发所述识别联系人事件,并由所述终端设备监听到所述识别联系人事件时,所述终端设备才根据用户的触发操作确定用户选定的目标人脸图像,将目标人脸图像与通讯录中的联系人图像进行匹配,进行在匹配成功的目标人脸图像处加载通信控件。使得用户在浏览相册中的照片想联系朋友时,可以直接在该图像界面获得与朋友联系的通讯接口。
可选地,如图3所示,步骤102包括,步骤301至302。
S301,监听到用户执行预设操作触发所述识别联系人事件,根据所述预设操作选定目标人脸图像。
监听到用户执行预设操作触发识别联系人事件,根据用户触发所述识别联系人事件的预设操作选定目标人脸图像。预设操作包括但不限于触屏滑动手势和点击预设的操作控件。其中,触屏滑动手势包括封闭的和非封闭的触屏滑动手势。
可选地,根据所述预设操作选定目标人脸图像,包括:若预设操作为非封闭的触屏滑动手势,则选定触屏滑动手势滑过的人脸图像作为目标人脸图像;若预设操作为封闭的触屏滑动手势,则选定封闭图形包围区域中的人脸图像作为目标人脸图像;若预设操作为点击预设的操作控件,则选定图像界面中包括的所有人脸图像作为目标人脸图像。
S302,将每个所述目标人脸图像与通讯录中的联系人图像分别进行匹配。
当监听到识别联系人事件,确定了目标人脸图像,则开始进行目标人脸图像与联系人图像的匹配。
在本申请实施例中,通过将目标人脸图像的图像特征与联系人图像的图像特征进行匹配,从而得到人脸识别结果。
作为本申请一实施例,图像特征包括人脸特征。
示例性地,如图4所示,步骤302包括步骤401至403。
S401,通过训练好的神经网络模型分别得到目标人脸图像和联系人图像的人脸特征。
神经网络模型可以为卷积神经网络模型或其他经过深度学习的神经网络模型。例如,通过卷积神经网络获得128维的人脸特征。
S402,计算目标人脸图像的人脸特征与联系人图像的人脸特征之间的欧式距离。
S403,若欧式距离小于预设距离阈值,则目标人脸图像与联系人图像匹配成功;若欧式距离大于或等于预设距离阈值,则匹配失败。
得到目标人脸图像和联系人图像的人脸特征之后,计算两者的欧式距离,从而得到匹配结果。其中,需要说明的是,预设距离阈值为经验值,可以根据实际需要进行设置,本申请对此不作具体限定。
作为本申请另一实施例,图像特征包括人脸相对特征。
示例性地,如图5所示,步骤302包括步骤501和502。
S501,识别所述目标人脸图像的多个特征部位,提取多个特征部位的相对特征,相对特征包括任意两个特征部位之间的相对大小和相对位置。
其中,目标人脸图像的特征部位包括但不限于眉毛、眼睛、鼻子、或嘴巴等。在本申请实施例中,最少识别两个特征部位的特征点,从而得到两个特征部位的相对特征,包括特征部位之间的相对大小和相对位置。包括但不限于眉毛、眼睛、鼻子或嘴巴任意两者之间的相对大小和相对位置。示例性地,基于第一特征部位,如左眼的两个特征点得到第一特征部位的位置和大小,基于第二特征部位,如嘴巴的两个特征点得到第二特征部位的位置和大小,从而基于第一特征部位的位置和大小,以及第二特征部位的位置和大小,得到第一特征部位和第二特征部位之间的相对大小和相对位置。
例如,可以识别目标人脸图像和联系人图像的左眼的特征点和鼻子的特征点,从而计算出左眼和鼻子的相对特征,例如,根据左眼的最左特征点和最右特征点得到左眼的第一位置,也得到相对大小,即最左特征点和最右特征点之间的第一欧式距离;根据鼻子的鼻尖特征点与鼻翼特征点得到鼻子的第二位置,也得到相对大小,即鼻尖特征点与鼻翼特征点之间的第二欧式距离,从而计算第一位置和第二位置之间的相对位置,计算第一欧式距离和第二欧式距离的相对大小。通过比较两个特征部位的相对特征的方式,能够进一步提高人脸识别的准确度。
相应的,也要获取联系人图像的相对特征,与获取目标人脸图像的相对特征的方法相同,此处不再赘述。需要说明的是,联系人图像的相对特征也可以预先储存,需要用到时调用即可。
S502,将所述目标人脸图像的相对特征与通讯录中的联系人图像的相对特征进行匹配,若匹配度等于或大于预设阈值,则匹配成功;若匹配度小于预设阈值,则匹配失败。
得到目标人脸图像和联系人图像的相对特征之后,计算两者的匹配度,匹配度包括欧式距离等,从而得到匹配结果。其中,需要说明的是,预设阈值为经验值,可以根据实际需要进行设置,本申请对此不作具体限定。
S103,若所述目标人脸图像与所述联系人图像中的目标联系人图像匹配成功,则在所述图像界面中目标人脸图像相应位置加载通信控件;所述通信控件与所述目标联系人的联系方式关联,所述通信控件被触发时使得用户与目标联系人进行通讯。
其中,通信控件跟目标联系人的联系方式相关联,包括电话通话、短信、邮件或即时通信等通信控件中的至少一个。也就是说,通信控件根据联系人的联系人信息来选择设置,可以由终端设备默认设置某一个或多个,也可由用户自定义设置某一个或多个或全部。比如,匹配成功的张三,通讯录中保存了张三对应的电话号码、邮箱号码和即时通信账号等联系方式,则对应地,加载的通信控件包括电话、短信、邮箱和即时通信应用四个通信控件,或加载的通信控件仅包括电话、短信、邮箱和即时通信应用中的一个或某两个。当用户点击所述通信控件,则可进行与目标联系人的通讯。
可选地,在加载通信控件的同时,在匹配成功的目标人脸图像的对应位置显示联系人信息,如姓名等。例如,在目标人脸图像下方显示目标联系人的姓名“张三”。
需要说明的是,若所述目标人脸图像与所述联系人图像匹配不成功,则进行识别失败的提示。例如,显示“识别失败”或“匹配失败”字样。
延续图2所示的实施例,例如,如图6所示,目标人脸图像A与通讯录中联系人图像匹配不成功,显示“识别失败”字样61。目标人脸图像B与通讯录中张三的图像匹配成功,通讯录中保存了张三对应的电话号码、邮箱号码和即时通信账号,在目标人脸图像B下方加载了三个通信控件62,用户点击其中一个通信控件62则可触发与目标联系人的通讯界面,不用再返回通讯录,简化了用户操作,方便快捷,提高了用户体验度。
在本申请实施例中,在目标人脸图像与通讯录中的目标联系人匹配成功后,通过在目标人脸图像的相应位置加载与目标联系人进行通讯的通信控件,从而使得用户在图像界面能够直接触发联系目标联系人的操作,减少了用户在终端设备的操作,方便快捷,提高了用户体验度。
可选地,在上述图1所示实施例的基础上,作为本申请另一实施例,如图7所示,步骤103之后还包括步骤701至704。
S701,若监听到用户触发电话通话的通信控件,则拨通目标联系人的电话以进行通话。
S702,若监听到用户触发短信的通信控件,则加载向目标联系人发送短信的信息编辑界面。
S703,若监听到用户触发邮箱的通信控件,则加载向目标联系人发送邮件的邮件编辑界面。
S704,若监听到用户触发即时通讯的通信控件,则加载向目标联系人发送即时消息的对话界面;或,加载向目标联系人以及目标联系人所在群组发送即时消息的对话列表界面,若监听到用户选择对话列表中的一个目标对象,则加载目标对象的对话界面。
在步骤103中,在匹配成功的目标人物图像的相应位置处加载通信控件,根据通信控件的不同类型,当用户触发不同的通信控件时,或者实现与目标联系人的通话,或者加载与目标联系人的对话界面,从而实现用户与目标联系人的通讯。本申请实施例中,通过在用户触发通信控件后,直接实现与目标联系人的对话,方便快捷,简化了用户操作。
需要说明的是,在用户触发了一次识别联系人事件之后,一旦通信控件加载成功,在用户退出图像界面之后,再次进入该图像界面,显示的就是加载有通信控件的图像界面,该通信控件会持续保留,不会消失,从而通过增加图像界面的信息量,进一步减少了后续用户通过图像界面联系目标联系人的操作,方便快捷,提高了用户操作效率。
可选地,在上述图7所示实施例的基础上,还包括:将图像界面中包括目标联系人的图像发送给目标联系人。基于这种设置,以此打开与目标联系人的话匣子,避免尴尬,提高了终端设备的智能化水平。
可选地,在上述图1所示实施例的基础上,作为本申请另一实施例,说明了图像界面中有多个目标人脸图像匹配成功的情况,如图8所示,种通信控件加载方法包括步骤801至804。
S801,监听用户在图像界面中触发的识别联系人事件。
S802,根据监听到的所述识别联系人事件,将所述图像界面中的目标人脸图像与通讯录中的联系人图像进行匹配。
其中,步骤801和802与步骤101和102相同,请参见步骤101和102的相应描述,此处不再赘述。
S803,若多个所述目标人脸图像与所述联系人图像中的多个目标联系人图像匹配成功,则在所述图像界面中多个所述目标人脸图像相应位置分别加载通信控件。
S804,若监听到用户触发多个所述目标人脸图像中的任一个待通讯目标人脸图像对应的即时通讯的通信控件,
加载向目标群组发送即时消息的对话界面,所述目标群组为所述即时通讯对应的多个消息群组中包含所述图像界面中的多个目标联系人的数量最多的群组;和/或
加载向所述待通讯目标人脸图像对应的目标联系人发送即时消息的对话界面。
其中,当图像界面中有多个目标人脸图像匹配成功的情况下,若用户触发一个目标人脸图像的通信控件,一方面,可以加载向该目标联系人发送即时消息的对话界面,另一方面,可以加载向目标群组发送即时消息的对话界面,所述目标群组包括图像界面中数量最多的目标联系人。通过这种设置,用户仅通过触发一个目标人脸图像的通信控件就可实现与该图像界面中的多个目标联系人所在群组发送即时消息,提高了通讯效率。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
对应于上文实施例所述的通信控件加载方法,图9示出了本申请实施例提供的通信控件加载装置的结构框图,为了便于说明,仅示出了与本申请实施例相关的部分。
参照图9,该通信控件加载装置包括:
监听模块91,用于监听用户在图像界面中触发的识别联系人事件;
匹配模块92,用于根据监听到的所述识别联系人事件,将所述图像界面中的目标人脸图像与通讯录中的联系人图像进行匹配;
关联模块93,用于若所述目标人脸图像与所述联系人图像中的目标联系人图像匹配成功,则在所述图像界面中目标人脸图像相应位置加载通信控件;所述通信控件与所述目标联系人的联系方式关联,所述通信控件被触发时使得用户与目标联系人进行通讯。
可选地,匹配模块92,具体用于:
监听到用户执行预设操作触发所述识别联系人事件,根据所述预设操作选定目标人脸图像;
将每个所述目标人脸图像与通讯录中的联系人图像分别进行匹配。
可选地,根据所述预设操作选定目标人脸图像,包括:若预设操作为非封闭的触屏滑动手势,则选定触屏滑动手势滑过的人脸图像作为目标人脸图像;若预设操作为封闭的触屏滑动手势,则选定封闭图形包围区域中的人脸图像作为目标人脸图像;若预设操作为点击预设的操作控件,则选定图像界面中包括的所有人脸图像作为目标人脸图像。
可选地,所述匹配模块,具体用于:
识别所述目标人脸图像的多个特征部位,提取多个特征部位的相对特征,相对特征包括任意两个特征部位之间的相对大小和相对位置;
将所述目标人脸图像的相对特征与通讯录中的联系人图像的相对特征进行匹配,若匹配度等于或大于预设阈值,则匹配成功;若匹配度小于预设阈值,则匹配失败。
可选地,所述通信控件包括电话通话、短信、邮件或即时通信的通信控件中的至少一个。
可选地,如图10所示,通信控件加载装置还包括通讯模块94,用于:
若监听到用户触发电话通话的通信控件,则拨通目标联系人的电话以进行通话;
若监听到用户触发短信的通信控件,则加载向目标联系人发送短信的信息编辑界面;
若监听到用户触发邮箱的通信控件,则加载向目标联系人发送邮件的邮件编辑界面;
若监听到用户触发即时通讯的通信控件,则加载向目标联系人发送即时消息的对话界面;或,加载向目标联系人以及目标联系人所在群组发送即时消息的对话列表界面,若监听到用户选择对话列表中的一个目标对象,则加载目标对象的对话界面。
可选地,关联模块93,具体用于:
若多个所述目标人脸图像与所述联系人图像中的多个目标联系人图像匹配成功,则在所述图像界面中多个所述目标人脸图像相应位置分别加载通信控件;
相应的,通讯模块94,具体用于:
若监听到用户触发多个所述目标人脸图像中的任一待通讯目标人脸图像对应的即时通讯的通信控件,
加载向目标群组发送即时消息的对话界面,所述目标群组为所述即时通讯对应的多个消息群组中包含所述图像界面中的多个目标联系人的数量最多的群组;和/或
加载向所述待通讯目标人脸图像对应的目标联系人发送即时消息的对话界面。
图11是本申请一实施例提供的终端设备的示意图。如图11所示,该实施例的终端设备11包括:处理器110、存储器111以及存储在所述存储器111中并可在所述处理器110上运行的计算机可读指令112,例如相册关联通讯录的程序。所述处理器110执行所述计算机可读指令112时实现上述通信控件加载方法实施例中的步骤,例如图1所示的步骤S101至S103。或者,所述处理器110执行所述计算机可读指令112时实现上述各装置实施例中各模块的功能,例如图9所示模块91至93的功能。
示例性的,所述计算机可读指令112可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器111中,并由所述处理器110执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机可读指令指令段,该指令段用于描述所述计算机可读指令112在所述终端设备11中的执行过程。
所述终端设备11可以是个人电脑、或便携式智能设备等。所述终端设备11可包括,但不仅限于,处理器110、存储器111。本领域技术人员可以理解,图11仅仅是终端设备11的示例,并不构成对终端设备11的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述终端设备还可以包括输入输出设备、网络接入设备、总线、语音识别模块、定位模块等。
所称处理器110可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器 (Digital Signal Processor,DSP)、专用集成电路 (Application Specific Integrated Circuit,ASIC)、现成可编程门阵列 (Field-Programmable Gate Array,FPGA) 或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
所述存储器111可以是所述终端设备11的内部存储单元,例如终端设备11的硬盘或内存。所述存储器111也可以是所述终端设备11的外部存储设备,例如所述终端设备11上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器111还可以既包括所述终端设备11的内部存储单元也包括外部存储设备。所述存储器111用于存储所述计算机可读指令以及所述终端设备所需的其他程序和数据。所述存储器111还可以用于暂时地存储已经输出或者将要输出的数据。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一计算机可读存储介质中,该计算机可读指令在被处理器执行时,可实现上述各个方法实施例的步骤。
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种通信控件加载方法,其特征在于,包括:
    监听用户在图像界面中触发的识别联系人事件;
    根据监听到的所述识别联系人事件,将所述图像界面中的目标人脸图像与通讯录中的联系人图像进行匹配;
    若所述目标人脸图像与所述联系人图像中的目标联系人图像匹配成功,则在所述图像界面中目标人脸图像相应位置加载通信控件;所述通信控件与所述目标联系人的联系方式关联,所述通信控件被触发时使得用户与目标联系人进行通讯。
  2. 如权利要求1所述的方法,其特征在于,所述根据监听到的所述识别联系人事件,将所述图像界面中的目标人脸图像与通讯录中的联系人图像进行匹配,包括:
    监听到用户执行预设操作触发所述识别联系人事件,根据所述预设操作选定目标人脸图像;
    将每个所述目标人脸图像与通讯录中的联系人图像分别进行匹配。
  3. 如权利要求1或2所述的方法,其特征在于,所述将所述图像界面中的目标人脸图像与通讯录中的联系人图像进行匹配,包括:
    识别所述目标人脸图像的多个特征部位,提取多个特征部位的相对特征,相对特征包括任意两个特征部位之间的相对大小和相对位置;
    将所述目标人脸图像的相对特征与通讯录中的联系人图像的相对特征进行匹配,若匹配度等于或大于预设阈值,则匹配成功;若匹配度小于预设阈值,则匹配失败。
  4. 如权利要求1或2所述的方法,其特征在于,所述将所述图像界面中的目标人脸图像与通讯录中的联系人图像进行匹配,包括:
    通过训练好的神经网络模型分别得到目标人脸图像和联系人图像的人脸特征;
    计算目标人脸图像的人脸特征与联系人图像的人脸特征之间的欧式距离;
    若欧式距离小于预设距离阈值,则目标人脸图像与联系人图像匹配成功;若欧式距离大于或等于预设距离阈值,则匹配失败。
  5. 如权利要求1或2所述的方法,其特征在于,所述通信控件包括电话通话、短信、邮件或即时通信的通信控件中的至少一个。
  6. 如权利要求5所述的方法,其特征在于,所述在所述图像界面中目标人脸图像相应位置加载通信控件之后,还包括:
    若监听到用户触发电话通话的通信控件,则拨通目标联系人的电话以进行通话;
    若监听到用户触发短信的通信控件,则加载向目标联系人发送短信的信息编辑界面;
    若监听到用户触发邮箱的通信控件,则加载向目标联系人发送邮件的邮件编辑界面;
    若监听到用户触发即时通讯的通信控件,则加载向目标联系人发送即时消息的对话界面;或,加载向目标联系人以及目标联系人所在群组发送即时消息的对话列表界面,若监听到用户选择对话列表中的一个目标对象,则加载目标对象的对话界面。
  7. 如权利要求1或2所述的方法,其特征在于,所述若所述目标人脸图像与所述联系人图像中的目标联系人图像匹配成功,则在所述图像界面中目标人脸图像相应位置加载通信控件,包括:
    若多个所述目标人脸图像与所述联系人图像中的多个目标联系人图像匹配成功,则在所述图像界面中多个所述目标人脸图像相应位置分别加载通信控件;
    所述若所述目标人脸图像与所述联系人图像中的目标联系人图像匹配成功,则在所述图像界面中目标人脸图像相应位置加载通信控件之后,还包括:
    若监听到用户触发多个所述目标人脸图像中的任一待通讯目标人脸图像对应的即时通讯的通信控件,
    加载向目标群组发送即时消息的对话界面,所述目标群组为所述即时通讯对应的多个消息群组中包含所述图像界面中的多个目标联系人的数量最多的群组;和/或
    加载向所述待通讯目标人脸图像对应的目标联系人发送即时消息的对话界面。
  8. 如权利要求2所述的方法,其特征在于,所述根据所述预设操作选定目标人脸图像,包括:
    若预设操作为非封闭的触屏滑动手势,则选定触屏滑动手势滑过的人脸图像作为目标人脸图像;若预设操作为封闭的触屏滑动手势,则选定封闭图形包围区域中的人脸图像作为目标人脸图像;若预设操作为点击预设的操作控件,则选定图像界面中包括的所有人脸图像作为目标人脸图像。
  9. 如权利要求1或2所述的方法,其特征在于,所述监听用户在图像界面中触发的识别联系人事件,包括:
    监听用户通过点击所述图像界面中的预设操作控件触发的识别联系人事件;和/或监听用户通过在所述图像界面中输入预设触屏滑动手势触发的识别联系人事件。
  10. 一种通信控件加载装置,其特征在于,包括:
    监听模块,用于监听用户在图像界面中触发的识别联系人事件;
    匹配模块,用于根据监听到的所述识别联系人事件,将所述图像界面中的目标人脸图像与通讯录中的联系人图像进行匹配;
    关联模块,用于若所述目标人脸图像与所述联系人图像中的目标联系人图像匹配成功,则在所述图像界面中目标人脸图像相应位置加载通信控件;所述通信控件与所述目标联系人的联系方式关联,所述通信控件被触发时使得用户与目标联系人能够进行通讯。
  11. 一种终端设备,包括存储器以及处理器,所述存储器中存储有可在所述处理器上运行的计算机可读指令,其特征在于,所述处理器执行所述计算机可读指令时,实现如下步骤:
    监听用户在图像界面中触发的识别联系人事件;
    根据监听到的所述识别联系人事件,将所述图像界面中的目标人脸图像与通讯录中的联系人图像进行匹配;
    若所述目标人脸图像与所述联系人图像中的目标联系人图像匹配成功,则在所述图像界面中目标人脸图像相应位置加载通信控件;所述通信控件与所述目标联系人的联系方式关联,所述通信控件被触发时使得用户与目标联系人进行通讯。
  12. 如权利要求11所述的终端设备,其特征在于,所述根据监听到的所述识别联系人事件,将所述图像界面中的目标人脸图像与通讯录中的联系人图像进行匹配,包括:
    监听到用户执行预设操作触发所述识别联系人事件,根据所述预设操作选定目标人脸图像;
    将每个所述目标人脸图像与通讯录中的联系人图像分别进行匹配。
  13. 如权利要求11或12所述的终端设备,其特征在于,所述将所述图像界面中的目标人脸图像与通讯录中的联系人图像进行匹配,包括:
    识别所述目标人脸图像的多个特征部位,提取多个特征部位的相对特征,相对特征包括任意两个特征部位之间的相对大小和相对位置;
    将所述目标人脸图像的相对特征与通讯录中的联系人图像的相对特征进行匹配,若匹配度等于或大于预设阈值,则匹配成功;若匹配度小于预设阈值,则匹配失败。
  14. 如权利要求11或12所述的终端设备,其特征在于,所述将所述图像界面中的目标人脸图像与通讯录中的联系人图像进行匹配,包括:
    通过训练好的神经网络模型分别得到目标人脸图像和联系人图像的人脸特征;
    计算目标人脸图像的人脸特征与联系人图像的人脸特征之间的欧式距离;
    若欧式距离小于预设距离阈值,则目标人脸图像与联系人图像匹配成功;若欧式距离大于或等于预设距离阈值,则匹配失败。
  15. 如权利要求11或12所述的终端设备,其特征在于,所述通信控件包括电话通话、短信、邮件或即时通信的通信控件中的至少一个。
  16. 如权利要求15所述的终端设备,其特征在于,所述在所述图像界面中目标人脸图像相应位置加载通信控件之后,还包括:
    若监听到用户触发电话通话的通信控件,则拨通目标联系人的电话以进行通话;
    若监听到用户触发短信的通信控件,则加载向目标联系人发送短信的信息编辑界面;
    若监听到用户触发邮箱的通信控件,则加载向目标联系人发送邮件的邮件编辑界面;
    若监听到用户触发即时通讯的通信控件,则加载向目标联系人发送即时消息的对话界面;或,加载向目标联系人以及目标联系人所在群组发送即时消息的对话列表界面,若监听到用户选择对话列表中的一个目标对象,则加载目标对象的对话界面。
  17. 如权利要求11或12所述的终端设备,其特征在于,所述若所述目标人脸图像与所述联系人图像中的目标联系人图像匹配成功,则在所述图像界面中目标人脸图像相应位置加载通信控件,包括:
    若多个所述目标人脸图像与所述联系人图像中的多个目标联系人图像匹配成功,则在所述图像界面中多个所述目标人脸图像相应位置分别加载通信控件;
    所述若所述目标人脸图像与所述联系人图像中的目标联系人图像匹配成功,则在所述图像界面中目标人脸图像相应位置加载通信控件之后,还包括:
    若监听到用户触发多个所述目标人脸图像中的任一待通讯目标人脸图像对应的即时通讯的通信控件,
    加载向目标群组发送即时消息的对话界面,所述目标群组为所述即时通讯对应的多个消息群组中包含所述图像界面中的多个目标联系人的数量最多的群组;和/或
    加载向所述待通讯目标人脸图像对应的目标联系人发送即时消息的对话界面。
  18. 如权利要求12所述的方法,其特征在于,所述根据所述预设操作选定目标人脸图像,包括:
    若预设操作为非封闭的触屏滑动手势,则选定触屏滑动手势滑过的人脸图像作为目标人脸图像;若预设操作为封闭的触屏滑动手势,则选定封闭图形包围区域中的人脸图像作为目标人脸图像;若预设操作为点击预设的操作控件,则选定图像界面中包括的所有人脸图像作为目标人脸图像。
  19. 如权利要求11或12所述的方法,其特征在于,所述监听用户在图像界面中触发的识别联系人事件,包括:
    监听用户通过点击所述图像界面中的预设操作控件触发的识别联系人事件;和/或监听用户通过在所述图像界面中输入预设触屏滑动手势触发的识别联系人事件。
  20. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被处理器执行时实现如权利要求1至9任一项所述方法的步骤。
PCT/CN2019/091530 2019-01-04 2019-06-17 一种电子设备的应用登录方法、装置、电子设备及介质 Ceased WO2020140395A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910008376.X 2019-01-04
CN201910008376.XA CN109639877A (zh) 2019-01-04 2019-01-04 通信控件加载方法、装置及终端设备

Publications (1)

Publication Number Publication Date
WO2020140395A1 true WO2020140395A1 (zh) 2020-07-09

Family

ID=66057908

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/091530 Ceased WO2020140395A1 (zh) 2019-01-04 2019-06-17 一种电子设备的应用登录方法、装置、电子设备及介质

Country Status (2)

Country Link
CN (1) CN109639877A (zh)
WO (1) WO2020140395A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639877A (zh) * 2019-01-04 2019-04-16 平安科技(深圳)有限公司 通信控件加载方法、装置及终端设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110249144A1 (en) * 2010-04-09 2011-10-13 Apple Inc. Tagging Images in a Mobile Communications Device Using a Contacts List
CN104834382A (zh) * 2015-05-21 2015-08-12 上海斐讯数据通信技术有限公司 移动终端应用程序响应系统及方法
CN105095873A (zh) * 2015-07-31 2015-11-25 小米科技有限责任公司 照片共享方法、装置
CN105120084A (zh) * 2015-07-29 2015-12-02 小米科技有限责任公司 基于图像的通信方法及装置
CN106791182A (zh) * 2017-01-20 2017-05-31 维沃移动通信有限公司 一种基于图像的聊天方法及移动终端
CN109639877A (zh) * 2019-01-04 2019-04-16 平安科技(深圳)有限公司 通信控件加载方法、装置及终端设备

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414815B (zh) * 2013-07-15 2017-04-05 魅族科技(中国)有限公司 联系人信息的显示方法和终端
CN105306660A (zh) * 2014-05-30 2016-02-03 浪潮乐金数字移动通信有限公司 移动终端及其联系人信息快速检索的方法和装置
US9819785B2 (en) * 2014-06-23 2017-11-14 Verizon Patent And Licensing Inc. Multimedia messaging service communication using a two way push connection
CN105391857A (zh) * 2015-10-30 2016-03-09 宁波萨瑞通讯有限公司 一种快速拨打联系人的系统及方法
CN106302999B (zh) * 2016-08-02 2019-11-26 上海青橙实业有限公司 信息显示方法及移动终端
CN106412322A (zh) * 2016-10-26 2017-02-15 维沃移动通信有限公司 一种通信提醒方法及移动终端
CN106506778A (zh) * 2016-12-29 2017-03-15 努比亚技术有限公司 一种拨号装置及方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110249144A1 (en) * 2010-04-09 2011-10-13 Apple Inc. Tagging Images in a Mobile Communications Device Using a Contacts List
CN104834382A (zh) * 2015-05-21 2015-08-12 上海斐讯数据通信技术有限公司 移动终端应用程序响应系统及方法
CN105120084A (zh) * 2015-07-29 2015-12-02 小米科技有限责任公司 基于图像的通信方法及装置
CN105095873A (zh) * 2015-07-31 2015-11-25 小米科技有限责任公司 照片共享方法、装置
CN106791182A (zh) * 2017-01-20 2017-05-31 维沃移动通信有限公司 一种基于图像的聊天方法及移动终端
CN109639877A (zh) * 2019-01-04 2019-04-16 平安科技(深圳)有限公司 通信控件加载方法、装置及终端设备

Also Published As

Publication number Publication date
CN109639877A (zh) 2019-04-16

Similar Documents

Publication Publication Date Title
US10042391B2 (en) Electronic device with foldable display and method of operating the same
US9983767B2 (en) Apparatus and method for providing user interface based on hand-held position of the apparatus
CN110209799A (zh) 消息处理方法、未读消息的显示方法、计算机终端
US20160004425A1 (en) Method of displaying graphic user interface and electronic device implementing same
US20140189597A1 (en) Method and electronic device for presenting icons
WO2020151519A1 (zh) 信息输入方法、终端设备和计算机可读存储介质
EP3190527A1 (en) Multimedia data processing method of electronic device and electronic device thereof
CN110022399B (zh) 消息展示方法、装置、用户终端及可读存储介质
CN108463799A (zh) 电子设备的柔性显示器及其操作方法
CN110209263B (zh) 信息处理方法、信息处理设备及设备可读存储介质
CN105700789A (zh) 一种图片发送方法及终端设备
KR20160012573A (ko) 통합된 통화 및 계산 기능을 지원하는 전자 장치 및 그 방법
CN105007368B (zh) 一种控制扬声器的方法及移动终端
US10055119B2 (en) User input method and apparatus in electronic device
CN111258692A (zh) 备注信息的填入方法、装置、设备及存储介质
CN106326773A (zh) 一种照片加密管理的方法、装置及终端
CN104935718A (zh) 一种控制方法及移动终端
CN107153546B (zh) 一种视频播放方法及移动设备
WO2019179014A1 (zh) 语音消息搜索显示方法、装置、计算机设备及存储介质
CN105700790B (zh) 一种截图方法及终端设备
US9886743B2 (en) Method for inputting data and an electronic device thereof
WO2020140395A1 (zh) 一种电子设备的应用登录方法、装置、电子设备及介质
CN108513005A (zh) 联系人信息处理方法和装置、电子设备、存储介质
US12272801B2 (en) Emoji management for electronic messaging
US9274703B2 (en) Method for inputting instruction and portable electronic device and computer readable recording medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19906856

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19906856

Country of ref document: EP

Kind code of ref document: A1