CN110099180A - Method and apparatus for showing information - Google Patents
Method and apparatus for showing information Download PDFInfo
- Publication number
- CN110099180A CN110099180A CN201910352892.4A CN201910352892A CN110099180A CN 110099180 A CN110099180 A CN 110099180A CN 201910352892 A CN201910352892 A CN 201910352892A CN 110099180 A CN110099180 A CN 110099180A
- Authority
- CN
- China
- Prior art keywords
- character image
- user
- information
- display information
- personage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/168—Feature extraction; Face representation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/172—Classification, e.g. identification
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72439—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72484—User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/42136—Administration or customisation of services
- H04M3/42153—Administration or customisation of services by subscriber
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Signal Processing (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域technical field
本申请实施例涉及通信技术领域,具体涉及用于显示信息的方法和设备。The embodiments of the present application relate to the technical field of communications, and in particular to a method and device for displaying information.
背景技术Background technique
随着无线通信技术的不断发展,用户可以随时随地、无时无刻地利用终端设备与其他用户进行通话。然而,在通话接通之前的等待过程,对于用户来说却非常的无聊。因此,部分用户会手动上传自己的来电秀。这样,上传来电秀的用户发起通话请求。被请求通话的用户看到来电秀可以快速地、准确地确认出请求通话的用户的身份。在确认出请求通话的用户的身份之后,被请求通话的用户可以快速地接通通话。With the continuous development of wireless communication technology, users can use terminal equipment to communicate with other users anytime, anywhere and all the time. However, the waiting process before the call is connected is very boring for the user. Therefore, some users manually upload their caller shows. In this way, the user who uploaded the incoming call show initiates a call request. The user who is requested to call can quickly and accurately confirm the identity of the user who requested the call by seeing the caller show. After confirming the identity of the user who requested the call, the user who is requested to talk can quickly connect to the call.
发明内容Contents of the invention
本申请实施例提出了用于显示信息的方法和设备。The embodiments of the present application propose a method and device for displaying information.
第一方面,本申请实施例提供了一种用于显示信息的方法,应用于第一用户的终端设备,包括:响应于检测到与第一用户的通信请求,确定与第一用户通信的第二用户的信息;基于第二用户的信息,从预先生成的显示信息集合中获取第二用户对应的显示信息,其中,显示信息集合是基于第一用户或第二用户的终端设备中存储的人物图像集合自动生成的;显示第二用户对应的显示信息。In the first aspect, the embodiment of the present application provides a method for displaying information, which is applied to the terminal device of the first user, including: in response to detecting a communication request with the first user, determining the first user communicating with the first user Information about the second user: Based on the information of the second user, obtain the display information corresponding to the second user from the pre-generated display information set, wherein the display information set is based on the characters stored in the terminal device of the first user or the second user The image collection is automatically generated; display the corresponding display information of the second user.
在一些实施例中,确定与第一用户通信的第二用户的信息,包括:从通信请求中提取第二用户的标识;将第二用户的标识在第一用户的通讯录中进行匹配,获取匹配成功的用户的信息,作为第二用户的信息,其中,通讯录中存储有多个用户的信息,用户的信息中包括用户的标识。In some embodiments, determining the information of the second user communicating with the first user includes: extracting the identity of the second user from the communication request; matching the identity of the second user in the address book of the first user, obtaining The information of the successfully matched user is used as the information of the second user, wherein information of multiple users is stored in the address book, and the information of the user includes the identifier of the user.
在一些实施例中,基于第二用户的信息,从预先生成的显示信息集合中获取第二用户对应的显示信息,包括:将第二用户的信息与显示信息集合中的显示信息对应的人物的信息进行匹配,获取匹配成功的显示信息,作为第二用户对应的显示信息。In some embodiments, based on the information of the second user, obtaining the display information corresponding to the second user from the pre-generated display information set includes: combining the information of the second user with the information of the person corresponding to the display information in the display information set The information is matched, and the display information of successful matching is obtained as the display information corresponding to the second user.
在一些实施例中,通信请求是第一用户发起或接收的语音通信请求或视频通信请求。In some embodiments, the communication request is a voice communication request or a video communication request initiated or received by the first user.
在一些实施例中,显示信息集合是第一用户或第二用户的终端设备通过如下步骤生成:获取人物图像集合中的人物图像中存在的人物的信息;基于人物图像集合中的人物图像中存在的人物的信息对人物图像集合中的人物图像进行分组,生成人物图像子集组;基于人物图像子集组,生成显示信息集合。In some embodiments, the display information set is generated by the terminal device of the first user or the second user through the following steps: acquiring the information of the characters existing in the character images in the character image set; Group the person images in the person image set according to the person information, and generate a person image subset group; based on the person image subset group, generate a display information set.
在一些实施例中,获取人物图像集合中的人物图像中存在的人物的信息,包括:对人物图像集合中的人物图像进行图像识别,得到人物图像集合中的人物图像中存在的人物的信息。In some embodiments, obtaining the information about the person in the person image in the person image collection includes: performing image recognition on the person image in the person image collection to obtain the person information in the person image in the person image collection.
在一些实施例中,对人物图像集合中的人物图像进行图像识别,得到人物图像集合中的人物图像中存在的人物的信息,包括:将人物图像集合中的人物图像依次输入至人脸识别模型,得到人物图像集合中的人物图像中存在的人物的信息。In some embodiments, performing image recognition on the person images in the person image collection to obtain the information about the people in the person images in the person image collection includes: sequentially inputting the person images in the person image collection to the face recognition model , to obtain the information of the person in the person image in the person image collection.
在一些实施例中,获取人物图像集合中的人物图像中存在的人物的信息,包括:将人物图像集合发送至服务器;接收服务器返回的人物图像集合中的人物图像中存在的人物的信息。In some embodiments, acquiring information about people in person images in the person image collection includes: sending the person image collection to a server; receiving information about people in person images in the person image collection returned by the server.
在一些实施例中,基于人物图像集合中的人物图像中存在的人物的信息对人物图像集合中的人物图像进行分组,生成人物图像子集组,包括:将人物图像集合中存在同一人物的人物图像分组到同一人物图像子集中。In some embodiments, grouping the character images in the character image set based on the information of the characters in the character images in the character image set, and generating the character image subset group includes: grouping the characters of the same character in the character image set Images are grouped into the same subset of person images.
在一些实施例中,在将人物图像集合中存在同一人物的人物图像分组到同一人物图像子集中之后,还包括:基于人物图像子集组中的第一用户或第二用户对应的人物图像子集和另外的一个人物对应的人物图像子集,生成新的人物图像子集。In some embodiments, after grouping the character images of the same character in the character image set into the same character image subset, further comprising: based on the character image subset corresponding to the first user or the second user in the character image subset group A subset of person images corresponding to another person is collected to generate a new subset of person images.
在一些实施例中,基于人物图像子集组,生成显示信息集合,包括:基于人物图像子集组中的第一用户或第二用户对应的人物图像子集和另外的一个人物对应的人物图像子集,生成该人物对应的显示信息。In some embodiments, generating the display information set based on the character image subset group includes: based on the character image subset corresponding to the first user or the second user in the character image subset group and the character image corresponding to another character Subset to generate the display information corresponding to the character.
在一些实施例中,基于人物图像子集组中的第一用户或第二用户对应的人物图像子集和另外的一个人物对应的人物图像子集,生成该人物对应的显示信息,包括:选取第一用户或第二用户对应的人物图像子集和该人物对应的人物图像子集中相同的人物图像;基于所选取出的人物图像,生成该人物对应的显示信息。In some embodiments, based on the character image subset corresponding to the first user or the second user in the character image subset group and the character image subset corresponding to another character, generating the display information corresponding to the character includes: selecting The person image subset corresponding to the first user or the second user is the same person image in the person image subset corresponding to the person; based on the selected person image, display information corresponding to the person is generated.
在一些实施例中,基于人物图像集合中的人物图像中存在的人物的信息对人物图像集合中的人物图像进行分组,生成人物图像子集组,包括:将人物图像集合中同时存在第一用户或第二用户和另外的同一人物的人物图像分组到同一人物图像子集中。In some embodiments, grouping the character images in the character image set based on the information of the characters in the character images in the character image set, and generating the character image subset group includes: grouping the first user in the character image set Or the second user and another person image of the same person are grouped into the same person image subset.
在一些实施例中,基于人物图像子集组,生成显示信息集合,包括:对于人物图像子集组中的人物图像子集,对该人物图像子集中的人物图像进行排序,基于排序后的人物图像进行视频合成,得到人物视频,作为显示信息。In some embodiments, generating the display information set based on the character image subset group includes: for the character image subset in the character image subset group, sorting the character images in the character image subset, and based on the sorted characters Video synthesis is performed on the image to obtain a character video as display information.
在一些实施例中,对该人物图像子集中的人物图像进行排序,包括:按照存储时间顺序或拍摄时间顺序对该人物图像子集中的人物图像进行排序。In some embodiments, sorting the character images in the character image subset includes: sorting the character images in the character image subset in order of storage time or shooting time.
第二方面,本申请实施例提供了一种用于显示信息的装置,设置于第一用户的终端设备,包括:确定单元,被配置成响应于检测到与第一用户的通信请求,确定与第一用户通信的第二用户的信息;获取单元,被配置成基于第二用户的信息,从预先生成的显示信息集合中获取第二用户对应的显示信息,其中,显示信息集合是基于第一用户或第二用户的终端设备中存储的人物图像集合自动生成的;显示单元,被配置成显示第二用户对应的显示信息。In the second aspect, the embodiment of the present application provides an apparatus for displaying information, which is set on the terminal device of the first user, including: a determination unit configured to determine the communication request with the first user in response to detecting a communication request with the first user; The information of the second user communicated by the first user; the obtaining unit is configured to obtain the display information corresponding to the second user from the pre-generated display information set based on the information of the second user, wherein the display information set is based on the first automatically generated from a collection of person images stored in the terminal device of the user or the second user; and the display unit is configured to display display information corresponding to the second user.
在一些实施例中,确定单元进一步被配置成:从通信请求中提取第二用户的标识;将第二用户的标识在第一用户的通讯录中进行匹配,获取匹配成功的用户的信息,作为第二用户的信息,其中,通讯录中存储有多个用户的信息,用户的信息中包括用户的标识。In some embodiments, the determining unit is further configured to: extract the identity of the second user from the communication request; match the identity of the second user in the address book of the first user, and obtain information about the successfully matched user as The information of the second user, wherein information of a plurality of users is stored in the address book, and the user information includes user identifiers.
在一些实施例中,获取单元进一步被配置成:将第二用户的信息与显示信息集合中的显示信息对应的人物的信息进行匹配,获取匹配成功的显示信息,作为第二用户对应的显示信息。In some embodiments, the obtaining unit is further configured to: match the information of the second user with the information of the person corresponding to the display information in the display information set, and obtain the display information that matches successfully as the display information corresponding to the second user .
在一些实施例中,通信请求是第一用户发起或接收的语音通信请求或视频通信请求。In some embodiments, the communication request is a voice communication request or a video communication request initiated or received by the first user.
在一些实施例中,显示信息集合是第一用户或第二用户的终端设备通过如下步骤生成:获取人物图像集合中的人物图像中存在的人物的信息;基于人物图像集合中的人物图像中存在的人物的信息对人物图像集合中的人物图像进行分组,生成人物图像子集组;基于人物图像子集组,生成显示信息集合。In some embodiments, the display information set is generated by the terminal device of the first user or the second user through the following steps: acquiring the information of the characters existing in the character images in the character image set; Group the person images in the person image set according to the person information, and generate a person image subset group; based on the person image subset group, generate a display information set.
在一些实施例中,获取人物图像集合中的人物图像中存在的人物的信息,包括:对人物图像集合中的人物图像进行图像识别,得到人物图像集合中的人物图像中存在的人物的信息。In some embodiments, obtaining the information about the person in the person image in the person image collection includes: performing image recognition on the person image in the person image collection to obtain the person information in the person image in the person image collection.
在一些实施例中,对人物图像集合中的人物图像进行图像识别,得到人物图像集合中的人物图像中存在的人物的信息,包括:将人物图像集合中的人物图像依次输入至人脸识别模型,得到人物图像集合中的人物图像中存在的人物的信息。In some embodiments, performing image recognition on the person images in the person image collection to obtain the information about the people in the person images in the person image collection includes: sequentially inputting the person images in the person image collection to the face recognition model , to obtain the information of the person in the person image in the person image collection.
在一些实施例中,获取人物图像集合中的人物图像中存在的人物的信息,包括:将人物图像集合发送至服务器;接收服务器返回的人物图像集合中的人物图像中存在的人物的信息。In some embodiments, acquiring information about people in person images in the person image collection includes: sending the person image collection to a server; receiving information about people in person images in the person image collection returned by the server.
在一些实施例中,基于人物图像集合中的人物图像中存在的人物的信息对人物图像集合中的人物图像进行分组,生成人物图像子集组,包括:将人物图像集合中存在同一人物的人物图像分组到同一人物图像子集中。In some embodiments, grouping the character images in the character image set based on the information of the characters in the character images in the character image set, and generating the character image subset group includes: grouping the characters of the same character in the character image set Images are grouped into the same subset of person images.
在一些实施例中,在将人物图像集合中存在同一人物的人物图像分组到同一人物图像子集中之后,还包括:基于人物图像子集组中的第一用户或第二用户对应的人物图像子集和另外的一个人物对应的人物图像子集,生成新的人物图像子集。In some embodiments, after grouping the character images of the same character in the character image set into the same character image subset, further comprising: based on the character image subset corresponding to the first user or the second user in the character image subset group A subset of person images corresponding to another person is collected to generate a new subset of person images.
在一些实施例中,基于人物图像子集组,生成显示信息集合,包括:基于人物图像子集组中的第一用户或第二用户对应的人物图像子集和另外的一个人物对应的人物图像子集,生成该人物对应的显示信息。In some embodiments, generating the display information set based on the character image subset group includes: based on the character image subset corresponding to the first user or the second user in the character image subset group and the character image corresponding to another character Subset to generate the display information corresponding to the character.
在一些实施例中,基于人物图像子集组中的第一用户或第二用户对应的人物图像子集和另外的一个人物对应的人物图像子集,生成该人物对应的显示信息,包括:选取第一用户或第二用户对应的人物图像子集和该人物对应的人物图像子集中相同的人物图像;基于所选取出的人物图像,生成该人物对应的显示信息。In some embodiments, based on the character image subset corresponding to the first user or the second user in the character image subset group and the character image subset corresponding to another character, generating the display information corresponding to the character includes: selecting The person image subset corresponding to the first user or the second user is the same person image in the person image subset corresponding to the person; based on the selected person image, display information corresponding to the person is generated.
在一些实施例中,基于人物图像集合中的人物图像中存在的人物的信息对人物图像集合中的人物图像进行分组,生成人物图像子集组,包括:将人物图像集合中同时存在第一用户或第二用户和另外的同一人物的人物图像分组到同一人物图像子集中。In some embodiments, grouping the character images in the character image set based on the information of the characters in the character images in the character image set, and generating the character image subset group includes: grouping the first user in the character image set Or the second user and another person image of the same person are grouped into the same person image subset.
在一些实施例中,基于人物图像子集组,生成显示信息集合,包括:对于人物图像子集组中的人物图像子集,对该人物图像子集中的人物图像进行排序,基于排序后的人物图像进行视频合成,得到人物视频,作为显示信息。In some embodiments, generating the display information set based on the character image subset group includes: for the character image subset in the character image subset group, sorting the character images in the character image subset, and based on the sorted characters Video synthesis is performed on the image to obtain a character video as display information.
在一些实施例中,对该人物图像子集中的人物图像进行排序,包括:按照存储时间顺序或拍摄时间顺序对该人物图像子集中的人物图像进行排序。In some embodiments, sorting the character images in the character image subset includes: sorting the character images in the character image subset in order of storage time or shooting time.
第三方面,本申请实施例提供了一种终端设备,该终端设备包括:一个或多个处理器;存储装置,其上存储有一个或多个程序;当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如第一方面中任一实现方式描述的方法。In the third aspect, the embodiment of the present application provides a terminal device, the terminal device includes: one or more processors; a storage device, on which one or more programs are stored; when one or more programs are used by one or more processors, so that one or more processors implement the method described in any implementation manner in the first aspect.
第四方面,本申请实施例提供了一种计算机可读介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如第一方面中任一实现方式描述的方法。In a fourth aspect, an embodiment of the present application provides a computer-readable medium, on which a computer program is stored, and when the computer program is executed by a processor, the method described in any implementation manner in the first aspect is implemented.
本申请实施例提供的用于显示信息的方法和设备,第一用户或第二用户的终端设备预先基于存储的人物图像集合自动生成显示信息集合,在检测到通信请求的情况下,从显示信息集合中获取与通信请求关联的用户对应的显示信息进行显示,无需用户手动上传显示信息,实现了信息显示的灵活性。In the method and device for displaying information provided in the embodiments of the present application, the terminal device of the first user or the second user automatically generates a display information set based on the stored character image set in advance, and when a communication request is detected, the information is displayed from the display information The display information corresponding to the user associated with the communication request is obtained from the collection for display, without the need for the user to manually upload the display information, and the flexibility of information display is realized.
附图说明Description of drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other characteristics, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
图1是本申请可以应用于其中的示例性系统架构;FIG. 1 is an exemplary system architecture to which the present application can be applied;
图2是根据本申请的用于显示信息的方法的一个实施例的流程图;FIG. 2 is a flowchart of an embodiment of a method for displaying information according to the present application;
图3是根据本申请的显示信息集合生成方法的一个实施例的流程图;FIG. 3 is a flowchart of an embodiment of a method for generating a display information set according to the present application;
图4是根据本申请的显示信息集合生成方法的又一个实施例的流程图;FIG. 4 is a flow chart of another embodiment of a method for generating a display information set according to the present application;
图5是根据本申请的显示信息集合生成方法的另一个实施例的流程图;FIG. 5 is a flow chart of another embodiment of a method for generating a display information set according to the present application;
图6是根据本申请的用于显示信息的方法的一个应用场景的示意图;FIG. 6 is a schematic diagram of an application scenario of a method for displaying information according to the present application;
图7是适于用来实现本申请实施例的终端设备的计算机系统的结构示意图。Fig. 7 is a schematic structural diagram of a computer system suitable for implementing a terminal device according to an embodiment of the present application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.
图1示出了可以应用本申请的用于显示信息的方法的实施例的示例性系统架构100。FIG. 1 shows an exemplary system architecture 100 to which embodiments of the method for displaying information of the present application can be applied.
如图1所示,系统架构100中可以包括终端设备101、102,网络103和服务器104。网络103用以在终端设备101、102和服务器104之间提供通信链路的介质。网络103可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , a system architecture 100 may include terminal devices 101 and 102 , a network 103 and a server 104 . The network 103 is used as a medium for providing communication links between the terminal devices 101 , 102 and the server 104 . Network 103 may include various connection types, such as wires, wireless communication links, or fiber optic cables, among others.
终端设备101可以通过服务器104与终端设备102交互,以接收或发送消息等。终端设备101、102可以通过安装相应的客户端应用来提供相应的网络服务。服务器104可以通过安装相应的服务端应用来提供相应的网络服务。例如,终端设备101、102可以是安装有即时通信应用的客户端。服务器104可以是即时通信应用的后台服务端。The terminal device 101 can interact with the terminal device 102 through the server 104 to receive or send messages and the like. The terminal devices 101 and 102 can provide corresponding network services by installing corresponding client applications. The server 104 can provide corresponding network services by installing corresponding server applications. For example, the terminal devices 101 and 102 may be clients installed with instant messaging applications. The server 104 may be a background server of an instant messaging application.
终端设备101、102可以是硬件,也可以是软件。当终端设备101、102为硬件时,可以是支持即时通信的各种电子设备。包括但不限于智能手机、平板电脑、膝上型便携计算机和台式计算机等等。当终端设备101、102为软件时,可以安装在上述电子设备中。其可以实现成多个软件或软件模块,也可以实现成单个软件或软件模块。在此不做具体限定。The terminal devices 101 and 102 may be hardware or software. When the terminal devices 101 and 102 are hardware, they may be various electronic devices supporting instant messaging. This includes, but is not limited to, smartphones, tablets, laptops, and desktops, among others. When the terminal devices 101 and 102 are software, they can be installed in the above-mentioned electronic devices. It can be implemented as a plurality of software or software modules, or as a single software or software module. No specific limitation is made here.
服务器104可以是硬件,也可以是软件。当服务器104为硬件时,可以实现成多个服务器组成的分布式服务器集群,也可以实现成单个服务器。当服务器104为软件时,可以实现成多个软件或软件模块(例如用来提供分布式服务),也可以实现成单个软件或软件模块。在此不做具体限定。The server 104 can be hardware or software. When the server 104 is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or as a single server. When the server 104 is software, it can be implemented as multiple software or software modules (for example, for providing distributed services), or as a single software or software module. No specific limitation is made here.
需要说明的是,本申请实施例所提供的用于显示信息的方法一般由终端设备101执行。It should be noted that the method for displaying information provided in the embodiment of the present application is generally executed by the terminal device 101 .
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices, networks and servers in Fig. 1 are only illustrative. According to the implementation needs, there can be any number of terminal devices, networks and servers.
继续参考图2,其示出了根据本申请的用于显示信息的方法的一个实施例的流程200。该用于显示信息的方法,应用于第一用户的终端设备,包括以下步骤:Continue referring to FIG. 2 , which shows a flow 200 of an embodiment of a method for displaying information according to the present application. The method for displaying information, applied to the first user's terminal equipment, includes the following steps:
步骤201,响应于检测到与第一用户的通信请求,确定与第一用户通信的第二用户的信息。Step 201, in response to detecting a communication request with a first user, determine information of a second user communicating with the first user.
在本实施例中,第一用户的终端设备(例如图1所示的终端设备101)可以检测与第一用户的通信请求。当检测到与第一用户的通信请求时,第一用户的终端设备可以确定与第一用户通信的第二用户的信息。其中,第二用户可以是除第一用户之外的任意用户。In this embodiment, the terminal device of the first user (such as the terminal device 101 shown in FIG. 1 ) may detect a communication request with the first user. When a communication request with the first user is detected, the terminal device of the first user may determine information of a second user with which the first user communicates. Wherein, the second user may be any user except the first user.
这里,通信请求可以是语音通信请求或视频通信请求。并且,通信请求可以是第一用户发起的通信请求或第一用户接收的通信请求。第一用户的终端设备不仅可以检测第一用户向第二用户发起的通信请求,还可以检测第二用户向第一用户发起的通信请求。Here, the communication request may be a voice communication request or a video communication request. Moreover, the communication request may be a communication request initiated by the first user or a communication request received by the first user. The terminal device of the first user can not only detect the communication request initiated by the first user to the second user, but also detect the communication request initiated by the second user to the first user.
在一些实施例中,第一用户可以打开其终端设备上安装的即时通信应用,并查找到第二用户执行通信操作。当第一用户的终端设备检测到第一用户执行通信操作时,可以认为检测到了的第一用户向第二用户发起的通信请求。In some embodiments, the first user may open an instant messaging application installed on his terminal device, and find the second user to perform a communication operation. When the terminal device of the first user detects that the first user performs a communication operation, it may be considered as a communication request initiated by the detected first user to the second user.
在一些实施例中,第二用户可以打开其终端设备(例如图1所示的终端设备102)上安装的即时通信应用,并查找到第一用户执行通信操作。当第二用户的终端设备检测到第二用户执行通信操作时,可以向即时通信应用的后台服务器(例如图1所示的服务器106)发送通信请求。后台服务器可以将通信请求转发给第一用户的终端设备。当第一用户的终端设备接收到后台服务器转的通信请求时,可以认为检测到了第二用户向第一用户发起的通信请求。In some embodiments, the second user may open an instant messaging application installed on his terminal device (such as the terminal device 102 shown in FIG. 1 ), and find the first user to perform a communication operation. When the second user's terminal device detects that the second user performs a communication operation, it may send a communication request to a background server of the instant messaging application (such as the server 106 shown in FIG. 1 ). The background server can forward the communication request to the terminal device of the first user. When the terminal device of the first user receives the communication request transmitted by the background server, it may be considered that the communication request initiated by the second user to the first user has been detected.
这里,第二用户的信息可以包括但不限于姓名、昵称、手机号码和即时通信应用账号等等。Here, the information of the second user may include but not limited to name, nickname, mobile phone number, instant messaging application account and so on.
在一些实施例中,通信请求中可以包括第二用户的信息。In some embodiments, the communication request may include information of the second user.
在一些实施例中,通信请求中可以包括第二用户的标识。此时,第一用户的终端设备可以首先从通信请求中提取第二用户的标识;然后将第二用户的标识在第一用户的通讯录中进行匹配,获取匹配成功(标识相同)的用户的信息,作为第二用户的信息。其中,通讯录中存储有多个用户的信息,用户的信息中可以包括用户的标识。用户的标识可以用于唯一识别一个用户,包括但不限于用户的手机号、用户的即时通信应用的账号等等。In some embodiments, the identification of the second user may be included in the communication request. At this point, the terminal device of the first user can first extract the identity of the second user from the communication request; Information, as the information of the second user. Wherein, information of multiple users is stored in the address book, and the user information may include user identifiers. The user's identifier can be used to uniquely identify a user, including but not limited to the user's mobile phone number, the user's instant messaging application account, and the like.
步骤202,基于第二用户的信息,从预先生成的显示信息集合中获取第二用户对应的显示信息。Step 202, based on the information of the second user, acquire the display information corresponding to the second user from the pre-generated display information set.
在本实施例中,第一用户的终端设备可以基于第二用户的信息,从预先生成的显示信息集合中获取第二用户对应的显示信息。例如,第一用户的终端设备可以将第二用户的信息与显示信息集合中的显示信息对应的人物的信息进行匹配,获取匹配成功(信息相同或相似)的显示信息,作为第二用户对应的显示信息。In this embodiment, the terminal device of the first user may acquire the display information corresponding to the second user from a pre-generated display information set based on the information of the second user. For example, the terminal device of the first user can match the information of the second user with the information of the person corresponding to the display information in the display information set, and obtain the display information of successful matching (same or similar information) as the corresponding information of the second user. Display information.
这里,显示信息集合可以是基于第一用户或第二用户的终端设备(例如图1所示的终端设备101或终端设备102)中存储的人物图像集合自动生成的。其中,人物图像集合中的人物图像可以是第一用户或第二用户的终端设备拍摄或下载的人物图像。显示信息集合中的每条显示信息可以是存在同一个人物的图像或视频,也可以是同时存在第一用户或第二用户和另外一个人物的图像或视频。例如,当显示信息集合中的显示信息是视频时,第一用户的终端设备的屏幕上可以播放第二用户对应的显示信息。Here, the display information set may be automatically generated based on the character image set stored in the terminal device of the first user or the second user (such as the terminal device 101 or the terminal device 102 shown in FIG. 1 ). Wherein, the person images in the person image collection may be person images captured or downloaded by the terminal device of the first user or the second user. Each piece of display information in the display information set may be an image or video of the same person, or an image or video of the first user or the second user and another person at the same time. For example, when the display information in the display information set is video, the display information corresponding to the second user may be played on the screen of the first user's terminal device.
步骤203,显示第二用户对应的显示信息。Step 203, displaying display information corresponding to the second user.
在本实施例,第一用户的终端设备可以显示第二用户对应的显示信息。通常,若通信请求是视频通信请求,在第一用户与第二用户之间的视频通信接通之前,第一用户的终端设备显示第二用户对应的显示信息。在第一用户与第二用户之间的视频通信接通之后,第一用户的终端设备停止显示第二用户对应的显示信息。若通信请求是语音通信请求,在第一用户与第二用户之间的语音通信挂断之前,第一用户的终端设备显示第二用户对应的显示信息。在第一用户与第二用户之间的视频通信挂断之后,第一用户的终端设备停止显示第二用户对应的显示信息。In this embodiment, the terminal device of the first user may display display information corresponding to the second user. Usually, if the communication request is a video communication request, before the video communication between the first user and the second user is connected, the terminal device of the first user displays display information corresponding to the second user. After the video communication between the first user and the second user is turned on, the terminal device of the first user stops displaying the display information corresponding to the second user. If the communication request is a voice communication request, before the voice communication between the first user and the second user is hung up, the terminal device of the first user displays display information corresponding to the second user. After the video communication between the first user and the second user is hung up, the terminal device of the first user stops displaying the display information corresponding to the second user.
本申请实施例提供的用于显示信息的方法,第一用户或第二用户的终端设备预先基于存储的人物图像集合自动生成显示信息集合,在检测到通信请求的情况下,从显示信息集合中获取与通信请求关联的用户对应的显示信息进行显示,无需用户手动上传显示信息,实现了信息显示的灵活性。In the method for displaying information provided by the embodiment of the present application, the terminal device of the first user or the second user automatically generates a display information set based on the stored character image set in advance, and when a communication request is detected, the display information set is selected from the display information set The display information corresponding to the user associated with the communication request is obtained for display, without the need for the user to manually upload the display information, thereby realizing the flexibility of information display.
进一步参考图3,其示出了根据本申请的显示信息集合生成方法的一个实施例的流程300。该显示信息集合生成方法,应用于第一用户或第二用户的终端设备,包括以下步骤:Further referring to FIG. 3 , it shows a flow 300 of an embodiment of a method for generating a display information set according to the present application. The display information set generation method is applied to the terminal device of the first user or the second user, and includes the following steps:
步骤301,获取人物图像集合中的人物图像中存在的人物的信息。Step 301 , acquiring information about a person in a person image in a person image collection.
在本实施例中,第一用户或第二用户的终端设备(例如图1所示的终端设备101或终端设备102)可以获取人物图像集合中的人物图像中存在的人物的信息。其中,人物图像中存在的人物的信息可以包括但不限于人物图像中存在的人物的姓名、昵称、手机号码、即时通信应用账号等等。In this embodiment, the terminal device of the first user or the second user (for example, the terminal device 101 or the terminal device 102 shown in FIG. 1 ) may obtain information about characters in the character images in the character image collection. Wherein, the information of the person in the person image may include, but not limited to, the person's name, nickname, mobile phone number, instant messaging application account, etc. in the person image.
在一些实施例中,第一用户或第二用户的终端设备可以对人物图像集合中的人物图像进行分析,以得到人物图像集合中的人物图像中存在的人物的信息。In some embodiments, the terminal device of the first user or the second user may analyze the character images in the character image collection to obtain information about the characters in the character images in the character image collection.
在一些实施例中,即时通信应用的后台服务器(例如图1所示的服务器104)可以对人物图像集合中的人物图像进行分析,以得到人物图像集合中的人物图像中存在的人物的信息。In some embodiments, the background server of the instant messaging application (such as the server 104 shown in FIG. 1 ) may analyze the character images in the character image collection to obtain information about the characters in the character images in the character image collection.
在一些实施例中,第一用户或第二用户可以对人物图像集合中的人物图像人工标注其中存在的人物的信息。In some embodiments, the first user or the second user may manually mark the information of the characters existing in the character images in the character image collection.
步骤302,基于人物图像集合中的人物图像中存在的人物的信息对人物图像集合中的人物图像进行分组,生成人物图像子集组。Step 302: Group the person images in the person image collection based on the information about the persons in the person images in the person image collection to generate a person image subset group.
在本实施例中,第一用户的终端设备可以基于人物图像集合中的人物图像中存在的人物的信息对人物图像集合中的人物图像进行分组,以生成人物图像子集组。In this embodiment, the terminal device of the first user may group the person images in the person image collection based on the information about the persons existing in the person images in the person image collection, so as to generate the person image subset group.
在一些实施例中,第一用户或第二用户的终端设备可以将人物图像集合中存在同一人物的人物图像分组到同一人物图像子集中。这里,人物图像集合中的人物图像中可以仅存在一个人物,也可以同时存在多个人物。对于仅存在一个人物的人物图像,将该人物图像分组到该人物对应的人物图像子集中。对于同时存在多个人物的人物图像,将该人物图像分别分组到这多个人物中的每个人物对应的人物图像子集中。In some embodiments, the terminal device of the first user or the second user may group the person images of the same person in the person image collection into the same person image subset. Here, there may be only one person in the person images in the person image collection, or there may be multiple persons at the same time. For a person image with only one person, the person image is grouped into a person image subset corresponding to the person. For a person image in which multiple people exist at the same time, the person image is grouped into a subset of person images corresponding to each of the multiple people.
在一些实施例中,第一用户或第二用户的终端设备可以基于人物图像子集组中的第一用户或第二用户对应的人物图像子集和另外的一个人物对应的人物图像子集,生成新的人物图像子集。例如,第一用户的终端设备可以将第一用户对应的人物图像子集与另外的一个人物对应的人物图像子集组合,生成新的人物图像子集。生成的新的人物图像子集同样对应于该另外的一个人物。In some embodiments, the terminal device of the first user or the second user may be based on the character image subset corresponding to the first user or the second user and the character image subset corresponding to another character in the character image subset group, Generate a new subset of person images. For example, the terminal device of the first user may combine the subset of person images corresponding to the first user with the subset of person images corresponding to another person to generate a new subset of person images. The generated new character image subset also corresponds to the other character.
在一些实施例中,第一用户或第二用户的终端设备可以基于人物图像子集组中的第一用户或第二用户对应的人物图像子集和另外的一个人物对应的人物图像子集,生成该人物对应的显示信息。例如,第一用户或第二用户的终端设备可以首先选取第一用户或第二用户对应的人物图像子集和该人物对应的人物图像子集中相同的人物图像;然后基于所选取出的人物图像,生成该人物对应的显示信息。In some embodiments, the terminal device of the first user or the second user may be based on the character image subset corresponding to the first user or the second user and the character image subset corresponding to another character in the character image subset group, Generate display information corresponding to the character. For example, the terminal device of the first user or the second user may first select the same character image in the character image subset corresponding to the first user or the second user and the character image subset corresponding to the character; , to generate the display information corresponding to the character.
在一些实施例中,第一用户或第二用户的终端设备还可以将人物图像集合中同时存在第一用户或第二用户和另外的同一人物的人物图像分组到同一人物图像子集中。例如,第一用户的终端设备可以将同时存在第一用户和另外的一人物的人物图像分组到该另外的一个人物对应的人物图像子集中。In some embodiments, the terminal device of the first user or the second user may also group the person images of the first user or the second user and another person of the same person in the person image collection into the same person image subset. For example, the terminal device of the first user may group the character images of the first user and another character into the character image subset corresponding to the other character.
步骤303,基于人物图像子集组,生成显示信息集合。Step 303: Generate a display information set based on the person image subset group.
在本实施例中,第一用户的终端设备可以基于人物图像子集组,生成显示信息集合。In this embodiment, the terminal device of the first user may generate a display information set based on the person image subset group.
在一些实施例中,每个人物图像子集可以生成一个显示信息。In some embodiments, one display message may be generated for each subset of person images.
在一些实施例中,对于每个人物图像子集,第一用户或第二用户的终端设备可以从该人物图像子集中选取出一张人物图像,作为显示信息。In some embodiments, for each character image subset, the terminal device of the first user or the second user may select a character image from the character image subset as display information.
在一些实施例中,对于每个人物图像子集,第一用户或第二用户的终端设备可以基于该人物图像子集中的全部或部分人物图像合成人物视频,作为显示信息。具体地,对于每个人物图像子集,第一用户的终端设备可以对该人物图像子集中的全部或部分人物图像进行排序,基于排序后的人物图像进行视频合成,得到人物视频,作为显示信息。In some embodiments, for each character image subset, the terminal device of the first user or the second user may synthesize a character video based on all or part of the character images in the character image subset as display information. Specifically, for each character image subset, the terminal device of the first user may sort all or part of the character images in the character image subset, perform video synthesis based on the sorted character images, and obtain character videos as display information .
在一些实施例中,第一用户的终端设备可以按照存储时间顺序或拍摄时间顺序对该人物图像子集中的人物图像进行排序。In some embodiments, the terminal device of the first user may sort the character images in the subset of character images according to the order of storage time or the order of shooting time.
本申请实施例提供的显示信息集合生成方法,基于存储的人物图像集合自动生成显示信息集合,无需用户手动上传显示信息,降低了用户手动上传显示信息的工作量。The display information set generation method provided by the embodiment of the present application automatically generates a display information set based on a stored person image set, without the need for the user to manually upload the display information, reducing the workload of the user to manually upload the display information.
进一步参考图4,其示出了根据本申请的显示信息集合生成方法的又一个实施例的流程400。该显示信息集合生成方法,应用于第一用户的终端设备,包括以下步骤:Further referring to FIG. 4 , it shows a flow 400 of another embodiment of a method for generating a display information set according to the present application. The display information set generation method is applied to the first user's terminal device, and includes the following steps:
步骤401,对人物图像集合中的人物图像进行图像识别,得到人物图像集合中的人物图像中存在的人物的信息。Step 401 , image recognition is performed on the person images in the person image collection, and information about persons existing in the person images in the person image collection is obtained.
在本实施例中,第一用户的终端设备(例如图1所示的终端设备101)可以对人物图像集合中的人物图像进行图像识别,以得到人物图像集合中的人物图像中存在的人物的信息。In this embodiment, the first user's terminal device (for example, the terminal device 101 shown in FIG. 1 ) can perform image recognition on the character images in the character image collection to obtain the identity of the characters in the character images in the character image collection. information.
在一些实施例中,第一用户对应的终端设备可以利用预先训练的人脸识别模型对人物图像集合中的人物图像进行处理,以得到人物图像集合中的人物图像中存在的人物的信息。具体地,第一用户的终端设备可以将人物图像集合中的人物图像依次输入至人脸识别模型,以得到人物图像集合中的人物图像中存在的人物的信息。其中,人脸识别模型可以用于识别人物图像中存在的人物的信息。通常,人脸识别模型可以是利用各种机器学习方法和训练样本对现有的机器学习模型(例如各种人工神经网络等)进行有监督训练而得到的。In some embodiments, the terminal device corresponding to the first user may use a pre-trained face recognition model to process the person images in the person image collection, so as to obtain information about the person existing in the person images in the person image collection. Specifically, the terminal device of the first user may sequentially input the person images in the person image collection to the face recognition model, so as to obtain the information of the persons existing in the person images in the person image collection. Among them, the face recognition model can be used to identify the information of the person in the person image. Generally, the face recognition model can be obtained by performing supervised training on existing machine learning models (such as various artificial neural networks, etc.) by using various machine learning methods and training samples.
在一些实施例中,第一用户的终端设备可以提取人物图像集合中的每张人物图像的特征,并基于所提取出的特征对人物图像集合进行聚类,以得到每张人物图像所属的类别,并作为每张人物图像中存在的人物的信息。In some embodiments, the terminal device of the first user may extract the features of each character image in the character image collection, and cluster the character image collection based on the extracted features, so as to obtain the category to which each character image belongs , and serve as the information of the characters existing in each character image.
步骤402,基于人物图像集合中的人物图像中存在的人物的信息对人物图像集合中的人物图像进行分组,生成人物图像子集组。Step 402: Group the person images in the person image collection based on the information about the persons in the person images in the person image collection to generate a person image subset group.
步骤403,基于人物图像子集组,生成显示信息集合。Step 403: Generate a display information set based on the person image subset group.
在本实施例中,步骤402-403的具体操作已在图3所示的实施例中步骤302-303中进行了详细的介绍,在此不再赘述。In this embodiment, the specific operations of steps 402-403 have been introduced in detail in steps 302-303 in the embodiment shown in FIG. 3 , and will not be repeated here.
从图4中可以看出,与图3对应的实施例相比,本实施例中的显示信息集合生成方法的流程300突出了获取人物图像集合中的人物图像中存在的人物的信息的步骤。由此,本实施例描述的方案通过第一用户的终端设备对人物图像集合中的人物图像进行图像识别,从而快速地得到人物图像集合中的人物图像中存在的人物的信息。It can be seen from FIG. 4 that, compared with the embodiment corresponding to FIG. 3 , the process 300 of the method for generating a display information set in this embodiment highlights the step of acquiring information about people in the person images in the person image collection. Therefore, the solution described in this embodiment uses the first user's terminal device to perform image recognition on the person images in the person image collection, so as to quickly obtain the information about the person in the person image in the person image collection.
进一步参考图5,其示出了根据本申请的显示信息集合生成方法的另一个实施例的流程500。该显示信息集合生成方法,应用于第一用户的终端设备,包括以下步骤:Further referring to FIG. 5 , it shows a flow 500 of another embodiment of a method for generating a display information set according to the present application. The display information set generation method is applied to the first user's terminal device, and includes the following steps:
步骤501,将人物图像集合发送至服务器。Step 501, sending the character image collection to the server.
在本实施例中,第一用户或第二用户的终端设备(例如图1所示的终端设备101或终端设备102)可以将人物图像集合发送至即时通信应用的后台服务器(例如图1所示的服务器104)。通常,在后台服务器得到第一用户或第二用户的授权的情况下,才可以从第一用户或第二用户的终端设备获取人物图像集合。In this embodiment, the terminal device of the first user or the second user (for example, the terminal device 101 or terminal device 102 shown in FIG. server 104). Usually, the character image collection can be acquired from the terminal device of the first user or the second user only when the background server is authorized by the first user or the second user.
步骤502,接收服务器返回的人物图像集合中的人物图像中存在的人物的信息。Step 502 , receiving the information of the characters in the character images in the character image collection returned by the server.
在本实施例中,后台服务器可以对人物图像集合中的人物图像进行图像识别,以得到人物图像集合中的人物图像中存在的人物的信息,并将人物图像集合中的人物图像中存在的人物的信息发送给第一用户或第二用户的终端设备。In this embodiment, the background server may perform image recognition on the person images in the person image collection to obtain the information of the persons existing in the person images in the person image collection, and identify the persons existing in the person images in the person image collection The information is sent to the terminal device of the first user or the second user.
在一些实施例中,后台服务器可以利用预先训练的人脸识别模型对人物图像集合中的人物图像进行处理,以得到人物图像集合中的人物图像中存在的人物的信息。具体地,后台服务器可以将人物图像集合中的人物图像依次输入至人脸识别模型,以得到人物图像集合中的人物图像中存在的人物的信息。其中,人脸识别模型可以用于识别人物图像中存在的人物的信息。通常,人脸识别模型可以是利用各种机器学习方法和训练样本对现有的机器学习模型(例如各种人工神经网络等)进行有监督训练而得到的。In some embodiments, the background server may use a pre-trained face recognition model to process the person images in the person image collection, so as to obtain information about the person existing in the person images in the person image collection. Specifically, the background server may sequentially input the person images in the person image collection to the face recognition model, so as to obtain the information of the persons existing in the person images in the person image collection. Among them, the face recognition model can be used to identify the information of the person in the person image. Generally, the face recognition model can be obtained by performing supervised training on existing machine learning models (such as various artificial neural networks, etc.) by using various machine learning methods and training samples.
在一些实施例中,后台服务器可以提取人物图像集合中的每张人物图像的特征,并基于所提取出的特征对人物图像集合进行聚类,以得到每张人物图像所属的类别,并作为每张人物图像中存在的人物的信息。In some embodiments, the background server can extract the features of each character image in the character image collection, and cluster the character image collection based on the extracted features, so as to obtain the category to which each character image belongs, and use it as each Information about the person in the image of the person.
步骤503,基于人物图像集合中的人物图像中存在的人物的信息对人物图像集合中的人物图像进行分组,生成人物图像子集组。Step 503: Group the person images in the person image collection based on the information about the persons in the person images in the person image collection to generate a person image subset group.
步骤504,基于人物图像子集组,生成显示信息集合。Step 504: Generate a display information set based on the person image subset group.
在本实施例中,步骤503-504的具体操作已在图3所示的实施例中步骤302-303中进行了详细的介绍,在此不再赘述。In this embodiment, the specific operations of steps 503-504 have been introduced in detail in steps 302-303 in the embodiment shown in FIG. 3 , and will not be repeated here.
从图5中可以看出,与图3对应的实施例相比,本实施例中的用于显示信息的方法的流程500突出了获取人物图像集合中的人物图像中存在的人物的信息的步骤。由此,本实施例描述的方案通过后台服务器对人物图像集合中的人物图像进行图像识别,从而进一步提高了生成人物图像集合中的人物图像中存在的人物的信息的效率。It can be seen from FIG. 5 that, compared with the embodiment corresponding to FIG. 3 , the process 500 of the method for displaying information in this embodiment highlights the step of acquiring information about people present in the person images in the person image collection. . Therefore, the solution described in this embodiment uses the background server to perform image recognition on the person images in the person image collection, thereby further improving the efficiency of generating information about people in the person images in the person image collection.
继续参考图6,其示出了根据本申请的用于显示信息的方法的一个应用场景的流程600。该应用场景包括以下步骤:Continue to refer to FIG. 6 , which shows a flow 600 of an application scenario of the method for displaying information according to the present application. This application scenario includes the following steps:
步骤601,从相册应用中获取人物照片。Step 601, obtain a photo of a person from the photo album application.
步骤602,识别出每张人物照片中存在的人物。Step 602, identify the person in each person photo.
步骤603,对同时存在第一用户和另外的同一人物的人物照片进行归类。Step 603 , classifying photos of persons in which the first user and another person of the same person coexist.
步骤604,对归类后的人物照片进行标注和分组。Step 604, labeling and grouping the classified photos of people.
步骤605,对每组人物照片按拍摄时间顺序排列合成幻灯片。Step 605, arranging and synthesizing slides for each group of photos of people in order of shooting time.
步骤606,进入等待调用阶段。Step 606, enter the waiting for calling stage.
步骤607,接收第二用户向第一用户发起语音通信请求。Step 607, receiving a voice communication request from the second user to the first user.
步骤608,进入呼叫等待阶段。Step 608, enter the call waiting phase.
步骤609,调用第二用户对应的幻灯片进行播放。Step 609, calling the slideshow corresponding to the second user to play.
步骤610,检测到第一用户接通与第二用户语音通信。Step 610, it is detected that the first user is connected to voice communication with the second user.
步骤611,进入语音通信阶段。Step 611, enter the stage of voice communication.
步骤612,持续播放第二用户对应的幻灯片,直至语音通信挂断。Step 612, continue to play the slide show corresponding to the second user until the voice communication is hung up.
下面参考图7,其示出了适于用来实现本申请实施例的终端设备(例如图1所示的终端设备101)的计算机系统700的结构示意图。图7示出的终端设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Referring now to FIG. 7 , it shows a schematic structural diagram of a computer system 700 suitable for implementing a terminal device (such as the terminal device 101 shown in FIG. 1 ) in the embodiment of the present application. The terminal device shown in FIG. 7 is only an example, and should not limit the functions and scope of use of this embodiment of the present application.
如图7所示,计算机系统700包括中央处理单元(CPU)701,其可以根据存储在只读存储器(ROM)702中的程序或者从存储部分708加载到随机访问存储器(RAM)703中的程序而执行各种适当的动作和处理。在RAM 703中,还存储有系统700操作所需的各种程序和数据。CPU 701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。As shown in FIG. 7 , a computer system 700 includes a central processing unit (CPU) 701 that can operate according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage section 708 into a random-access memory (RAM) 703 Instead, various appropriate actions and processes are performed. In the RAM 703, various programs and data necessary for the operation of the system 700 are also stored. The CPU 701 , ROM 702 , and RAM 703 are connected to each other via a bus 704 . An input/output (I/O) interface 705 is also connected to the bus 704 .
以下部件连接至I/O接口705:包括键盘、鼠标等的输入部分706;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分707;包括硬盘等的存储部分708;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分709。通信部分709经由诸如因特网的网络执行通信处理。驱动器710也根据需要连接至I/O接口705。可拆卸介质711,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器710上,以便于从其上读出的计算机程序根据需要被安装入存储部分708。The following components are connected to the I/O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 708 including a hard disk, etc. and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, optical disk, magneto-optical disk, semiconductor memory, etc. is mounted on the drive 710 as necessary so that a computer program read therefrom is installed into the storage section 708 as necessary.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分709从网络上被下载和安装,和/或从可拆卸介质711被安装。在该计算机程序被中央处理单元(CPU)701执行时,执行本申请的方法中限定的上述功能。需要说明的是,本申请所述的计算机可读介质可以是计算机可读信号介质或者计算机可读介质或者是上述两者的任意组合。计算机可读介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication portion 709 and/or installed from removable media 711 . When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the method of the present application are performed. It should be noted that the computer-readable medium described in this application may be a computer-readable signal medium or a computer-readable medium or any combination of the above two. A computer readable medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the above. More specific examples of computer readable media may include, but are not limited to, electrical connections with one or more conductors, portable computer diskettes, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable Read Only Memory (EPROM or Flash), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this application, a computer-readable medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, in which computer-readable program codes are carried. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium other than a computer readable medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本申请的操作的计算机程序代码,所述程序设计语言包括面向目标的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如”C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of this application can be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional A procedural programming language—such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括确定单元、获取单元和显示单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,确定单元还可以被描述为“响应于检测到与第一用户的通信请求,确定与所述第一用户通信的第二用户的信息的单元”。The units involved in the embodiments described in the present application may be implemented by means of software or by means of hardware. The described units may also be set in a processor, for example, it may be described as: a processor includes a determination unit, an acquisition unit, and a display unit. Wherein, the names of these units do not constitute a limitation to the unit itself under certain circumstances, for example, the determining unit may also be described as "in response to detecting a communication request with the first user, determine to communicate with the first user unit of information on the second user of the communication".
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的终端设备中所包含的;也可以是单独存在,而未装配入该终端设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该终端设备执行时,使得该终端设备:响应于检测到与第一用户的通信请求,确定与第一用户通信的第二用户的信息;基于第二用户的信息,从预先生成的显示信息集合中获取第二用户对应的显示信息,其中,显示信息集合是基于第一用户或第二用户的终端设备中存储的人物图像集合自动生成的;显示第二用户对应的显示信息。As another aspect, the present application also provides a computer-readable medium, which may be contained in the terminal device described in the above-mentioned embodiments; or may exist independently without being assembled into the terminal device middle. The computer-readable medium above carries one or more programs, and when the one or more programs are executed by the terminal device, the terminal device: in response to detecting a communication request with the first user, determines to communicate with the first user information of the second user; based on the information of the second user, obtain the display information corresponding to the second user from the pre-generated display information set, wherein the display information set is based on the information stored in the terminal device of the first user or the second user automatically generated by the character image collection; display the display information corresponding to the second user.
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present application and an illustration of the applied technical principle. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, and should also cover the technical solutions formed by the above-mentioned technical features or without departing from the above-mentioned inventive concept. Other technical solutions formed by any combination of equivalent features. For example, a technical solution formed by replacing the above-mentioned features with technical features with similar functions disclosed in (but not limited to) this application.
Claims (17)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910352892.4A CN110099180A (en) | 2019-04-29 | 2019-04-29 | Method and apparatus for showing information |
| PCT/CN2020/086569 WO2020221114A1 (en) | 2019-04-29 | 2020-04-24 | Method and device for displaying information |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910352892.4A CN110099180A (en) | 2019-04-29 | 2019-04-29 | Method and apparatus for showing information |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110099180A true CN110099180A (en) | 2019-08-06 |
Family
ID=67446249
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910352892.4A Pending CN110099180A (en) | 2019-04-29 | 2019-04-29 | Method and apparatus for showing information |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN110099180A (en) |
| WO (1) | WO2020221114A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2020221114A1 (en) * | 2019-04-29 | 2020-11-05 | 上海掌门科技有限公司 | Method and device for displaying information |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110069823A1 (en) * | 2009-09-22 | 2011-03-24 | Hon Hai Precision Industry Co., Ltd. | Communication device and communication method thereof |
| CN102779179A (en) * | 2012-06-29 | 2012-11-14 | 华为终端有限公司 | A method and terminal for information association |
| CN103067558A (en) * | 2013-01-17 | 2013-04-24 | 深圳市中兴移动通信有限公司 | Method and device associating pictures of contact person in address book |
| CN105491214A (en) * | 2014-09-18 | 2016-04-13 | 中兴通讯股份有限公司 | Terminal and call interface display implementing method thereof |
| CN106095465A (en) * | 2016-06-23 | 2016-11-09 | 北京小米移动软件有限公司 | The method and device of identity image is set |
| CN106170031A (en) * | 2016-09-06 | 2016-11-30 | 北京奇虎科技有限公司 | A kind of next/de-electrifying interface display method based on mobile terminal and device |
| CN106657608A (en) * | 2016-11-21 | 2017-05-10 | 努比亚技术有限公司 | Photo album processing method and device and terminal |
| CN106682133A (en) * | 2016-12-16 | 2017-05-17 | 珠海格力电器股份有限公司 | Picture processing method and device |
| CN106777058A (en) * | 2016-12-11 | 2017-05-31 | 东莞桐石网络科技有限公司 | Image grouping and sorting method and system based on face recognition |
| CN107566653A (en) * | 2017-09-22 | 2018-01-09 | 维沃移动通信有限公司 | A kind of call interface methods of exhibiting and mobile terminal |
| CN108347527A (en) * | 2018-01-19 | 2018-07-31 | 维沃移动通信有限公司 | A kind of income prompting method and mobile terminal |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4313560B2 (en) * | 2001-10-31 | 2009-08-12 | パナソニック株式会社 | mobile phone |
| CN104158938B (en) * | 2014-07-21 | 2015-10-14 | 小米科技有限责任公司 | Incoming display method, server and terminal |
| CN105100432B (en) * | 2015-06-10 | 2018-02-06 | 小米科技有限责任公司 | Call interface display methods and device |
| CN110099180A (en) * | 2019-04-29 | 2019-08-06 | 上海掌门科技有限公司 | Method and apparatus for showing information |
-
2019
- 2019-04-29 CN CN201910352892.4A patent/CN110099180A/en active Pending
-
2020
- 2020-04-24 WO PCT/CN2020/086569 patent/WO2020221114A1/en not_active Ceased
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110069823A1 (en) * | 2009-09-22 | 2011-03-24 | Hon Hai Precision Industry Co., Ltd. | Communication device and communication method thereof |
| CN102779179A (en) * | 2012-06-29 | 2012-11-14 | 华为终端有限公司 | A method and terminal for information association |
| CN103067558A (en) * | 2013-01-17 | 2013-04-24 | 深圳市中兴移动通信有限公司 | Method and device associating pictures of contact person in address book |
| CN105491214A (en) * | 2014-09-18 | 2016-04-13 | 中兴通讯股份有限公司 | Terminal and call interface display implementing method thereof |
| CN106095465A (en) * | 2016-06-23 | 2016-11-09 | 北京小米移动软件有限公司 | The method and device of identity image is set |
| CN106170031A (en) * | 2016-09-06 | 2016-11-30 | 北京奇虎科技有限公司 | A kind of next/de-electrifying interface display method based on mobile terminal and device |
| CN106657608A (en) * | 2016-11-21 | 2017-05-10 | 努比亚技术有限公司 | Photo album processing method and device and terminal |
| CN106777058A (en) * | 2016-12-11 | 2017-05-31 | 东莞桐石网络科技有限公司 | Image grouping and sorting method and system based on face recognition |
| CN106682133A (en) * | 2016-12-16 | 2017-05-17 | 珠海格力电器股份有限公司 | Picture processing method and device |
| CN107566653A (en) * | 2017-09-22 | 2018-01-09 | 维沃移动通信有限公司 | A kind of call interface methods of exhibiting and mobile terminal |
| CN108347527A (en) * | 2018-01-19 | 2018-07-31 | 维沃移动通信有限公司 | A kind of income prompting method and mobile terminal |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2020221114A1 (en) * | 2019-04-29 | 2020-11-05 | 上海掌门科技有限公司 | Method and device for displaying information |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2020221114A1 (en) | 2020-11-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11670015B2 (en) | Method and apparatus for generating video | |
| US11151765B2 (en) | Method and apparatus for generating information | |
| EP3713159B1 (en) | Gallery of messages with a shared interest | |
| CN109189544B (en) | Method and device for generating dial plate | |
| CN109039671A (en) | Group message display methods, device, terminal and storage medium | |
| CN107733666A (en) | Conference implementation method and device and electronic equipment | |
| CN114816599B (en) | Image display methods, devices, equipment and media | |
| US9172795B1 (en) | Phone call context setting | |
| CN113761127B (en) | Task processing method and device, electronic equipment and storage medium | |
| CN108509611A (en) | Method and apparatus for pushed information | |
| CN116264603A (en) | Live broadcast information processing method, device, equipment and storage medium | |
| CN110460510A (en) | A kind of method, apparatus that establishing multi-conference, electronic equipment and medium | |
| US11210563B2 (en) | Method and apparatus for processing image | |
| CN110536075A (en) | Video generation method and device | |
| CN110472558A (en) | Image processing method and device | |
| CN111857901B (en) | Data processing method, method for generating session background, electronic device and medium | |
| CN110134577A (en) | Show the method and apparatus of user emotion | |
| WO2019132066A1 (en) | Method and system for providing multiple profiles | |
| CN113949837B (en) | Conference participant information presentation method and device, storage medium and electronic equipment | |
| CN111460049A (en) | Content sharing method and device, electronic equipment and computer readable storage medium | |
| CN109934142A (en) | Method and apparatus for generating the feature vector of video | |
| CN110062116A (en) | Method and apparatus for handling information | |
| CN104657495B (en) | A kind of picture renaming method and picture rename device | |
| CN110099180A (en) | Method and apparatus for showing information | |
| CN109995543B (en) | Method and apparatus for adding group members |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190806 |
|
| RJ01 | Rejection of invention patent application after publication |