CN103854227A - Interpersonal relationship analyzing system and method - Google Patents
Interpersonal relationship analyzing system and method Download PDFInfo
- Publication number
- CN103854227A CN103854227A CN201210523800.2A CN201210523800A CN103854227A CN 103854227 A CN103854227 A CN 103854227A CN 201210523800 A CN201210523800 A CN 201210523800A CN 103854227 A CN103854227 A CN 103854227A
- Authority
- CN
- China
- Prior art keywords
- user
- photo
- interpersonal relation
- time
- time section
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
一种人际关系分析系统及方法,该方法包括:从电子装置的存储器中获取预设的每个时间区段内的照片;从每个时间区段内的照片中识别出包含第一用户及第二用户的照片;分别计算每个时间区段内识别出的每张照片中第一用户与第二用户的距离,从而获取第一用户与第二用户在每个时间区段内的人际关系衡量值;根据每个时间区段内的人际关系衡量值绘制出第一用户与第二用户的人际关系趋势图。利用本发明可以根据用户照片分析出各时间区段内用户之间的人际关系。
A system and method for analyzing human relationship, the method comprising: acquiring preset photos in each time zone from the memory of an electronic device; The photos of two users; calculate the distance between the first user and the second user in each photo identified in each time period, so as to obtain the interpersonal relationship measurement between the first user and the second user in each time period value; according to the measured value of human relationship in each time period, a trend graph of human relationship between the first user and the second user is drawn. The present invention can analyze the interpersonal relationship between users in each time zone according to the photos of the users.
Description
技术领域technical field
本发明涉及一种数据分析系统及方法,尤其涉及一种人际关系分析系统及方法。The present invention relates to a data analysis system and method, in particular to an interpersonal relationship analysis system and method.
背景技术Background technique
社群网络的兴起使得许多使用者乐意分享图片到网络中,现有的社群网络系统如Facebook或Google+都能让使用者进行图片上传,并且提供自动人脸辨识朋友的功能,并将朋友的信息(如姓名)标签(Tag)在照片中。社群使用者可以利用标签了解哪些相片中有哪些朋友,但却不能提供社群使用者与图片中某个朋友间的关系强弱。进一步地,如果使用者想要了解与该朋友的人际关系趋势(如哪几年关系特别好),该使用者可能没有办法马上回忆起来,必须要手动去相片簿挑选,此过程需要耗费大量的时间。The rise of social networking has made many users willing to share pictures on the Internet. Existing social networking systems such as Facebook or Google+ can allow users to upload pictures, and provide the function of automatic face recognition of friends. Information (such as name) tags (Tag) in the photo. Community users can use tags to know which friends are in which photos, but it cannot provide information on the strength of the relationship between community users and a friend in a picture. Furthermore, if the user wants to know the trend of the interpersonal relationship with the friend (such as which years the relationship is particularly good), the user may not be able to recall it immediately, and must manually go to the photo album to select, and this process requires a lot of time. time.
发明内容Contents of the invention
鉴于以上内容,有必要提供一种人际关系分析系统及方法,其可根据用户照片分析出各时间区段内用户之间的人际关系,并将用户之间的人际关系绘制成人际关系趋势图。In view of the above, it is necessary to provide an interpersonal relationship analysis system and method, which can analyze the interpersonal relationship between users in each time zone according to the user's photos, and draw the interpersonal relationship between users into an interpersonal relationship trend graph.
一种人际关系分析系统,应用于电子装置,该系统包括:照片获取模块,用于从电子装置的存储器中获取预设的每个时间区段内的照片;人脸识别模块,用于从每个时间区段内的照片中识别出包含第一用户及第二用户的照片;人际关系分析模块,用于分别计算每个时间区段内识别出的每张照片中第一用户与第二用户的距离,从而获取第一用户与第二用户在每个时间区段内的人际关系衡量值;人际关系展示模块,用于根据每个时间区段内的人际关系衡量值绘制出第一用户与第二用户的人际关系趋势图,该人际关系趋势图包括第一用户与第二用户在每个时间区段内的人际关系衡量值的变化曲线。An interpersonal relationship analysis system, applied to electronic devices, the system includes: a photo acquisition module, used to obtain preset photos in each time period from the memory of the electronic device; The photos containing the first user and the second user are identified in the photos in each time segment; the interpersonal relationship analysis module is used to calculate the first user and the second user in each photo identified in each time segment The distance between the first user and the second user in each time zone is obtained; the interpersonal relationship display module is used to draw the first user and the second user in each time zone according to the interpersonal relationship measure value The interpersonal relationship trend graph of the second user, the interpersonal relationship trend graph including the change curve of the interpersonal relationship measurement value of the first user and the second user in each time segment.
一种人际关系分析方法,应用于电子装置,该方法包括:照片获取步骤,从电子装置的存储器中获取预设的每个时间区段内的照片;人脸识别步骤,从每个时间区段内的照片中识别出包含第一用户及第二用户的照片;人际关系分析步骤一,分别计算每个时间区段内识别出的每张照片中第一用户与第二用户的距离,从而获取第一用户与第二用户在每个时间区段内的人际关系衡量值;人际关系展示步骤,根据每个时间区段内的人际关系衡量值绘制出第一用户与第二用户的人际关系趋势图,该人际关系趋势图包括第一用户与第二用户在每个时间区段内的人际关系衡量值的变化曲线。A method for analyzing interpersonal relationships, applied to an electronic device, the method comprising: a photo acquisition step, obtaining preset photos in each time zone from a memory of the electronic device; The photos containing the first user and the second user are identified in the photos; the interpersonal
相较于现有技术,所述的人际关系分析系统及方法,其可根据用户照片分析出各时间区段内用户之间的人际关系,并将用户之间的人际关系绘制成人际关系趋势图,方便社群使用者查看用户之间的关系发展趋势。Compared with the prior art, the described interpersonal relationship analysis system and method can analyze the interpersonal relationship between users in each time zone according to the user's photos, and draw the interpersonal relationship between users into an interpersonal relationship trend graph , which is convenient for community users to view the development trend of the relationship between users.
附图说明Description of drawings
图1是本发明人际关系分析系统的运行环境示意图。Fig. 1 is a schematic diagram of the operating environment of the interpersonal relationship analysis system of the present invention.
图2是本发明人际关系分析系统的功能模块图。Fig. 2 is a functional block diagram of the interpersonal relationship analysis system of the present invention.
图3是本发明人际关系分析方法的较佳实施例的流程图。Fig. 3 is a flowchart of a preferred embodiment of the interpersonal relationship analysis method of the present invention.
图4是本发明绘制出的第一用户与第二用户的人际关系趋势图。FIG. 4 is a trend diagram of the interpersonal relationship between the first user and the second user drawn by the present invention.
图5是在绘制的人际关系趋势图中移动时间方格的示意图。FIG. 5 is a schematic diagram of shifting time grids in the plotted interpersonal relationship trend graph.
图6是进行多人查询的示意图。Fig. 6 is a schematic diagram of multi-person query.
图7是第一用户与第二用户在不同时间区段内的关系强弱示意图。Fig. 7 is a schematic diagram of the relationship strength between the first user and the second user in different time periods.
图8是第一用户与第二用户在不同时间区段内的照片数量示意图。Fig. 8 is a schematic diagram of the number of photos of the first user and the second user in different time periods.
主要元件符号说明Description of main component symbols
具体实施方式Detailed ways
如图1所示,是本发明人际关系分析系统的运行环境示意图。该人际关系分析系统24运行于电子装置2中。该电子装置2还包括通过数据总线相连的显示设备20、输入设备22、存储器23和处理器25。所述电子装置2可以是电脑、手机、PDA(Personal DigitalAssistant,个人数字助理)等。As shown in FIG. 1 , it is a schematic diagram of the operating environment of the interpersonal relationship analysis system of the present invention. The human
所述存储器23用于存储所述人际关系分析系统24的程序代码和用户照片等资料。所述显示设备20用于显示所述用户照片及人际关系趋势图等资料,例如,所述显示设备20可以是电脑的液晶显示屏、手机的触摸屏等。所述输入设备22用于输入用户设置的各种数据,例如,该输入设备22包括键盘、鼠标等。The
所述人际关系分析系统24用于根据用户照片分析出各时间区段内用户之间的人际关系,并将用户之间的人际关系绘制成人际关系趋势图,显示在显示设备20上,具体过程以下描述。The interpersonal
在本实施例中,所述人际关系分析系统24可以被分割成一个或多个模块,所述一个或多个模块被存储在所述存储器23中并被配置成由一个或多个处理器(本实施例为一个处理器25)执行,以完成本发明。例如,参阅图2所示,所述人际关系分析系统24被分割成数据接收模块240、照片获取模块241、人脸识别模块242、人际关系分析模块243和人际关系展示模块244。本发明所称的模块是完成一特定功能的程序段,比程序更适合于描述软件在电子装置2中的执行过程。以下将结合图3说明各模块的具体功能。In this embodiment, the interpersonal
如图3所示,是本发明人际关系分析方法的较佳实施例的流程图。As shown in FIG. 3 , it is a flow chart of a preferred embodiment of the interpersonal relationship analysis method of the present invention.
步骤S10,数据接收模块240接收第一用户输入的第二用户的关键词及用于分析人际关系的时间区段的大小。所述第二用户的关键词可以是该第二用户的名称。在本实施例中,第一用户为使用者本人,参阅图4所示,第一用户(me)可以在搜索框输入第二用户在社群网站(如Facebook)的名称(Celine)。所述时间区段的大小可以是一个星期、一个月、一个季度等。In step S10, the
步骤S11,照片获取模块241从存储器23的相片薄中获取每个时间区段内的所有照片。在本实施例中,所述相片薄中的所有照片都包括一个拍摄时间的信息。具体而言,如果一张照片中有EXIF(Exchangeable image fileformat,可交换图像文件格式)资讯,则将EXIF资讯中记录的时间设定为该照片的拍摄时间。如果一张照片中没有EXIF资讯,则将该照片上传到社群网站(如存储器23)的时间设定为该照片的拍摄时间。In step S11 , the
举例而言,假设第一用户设定时间区段的大小为一个月,则照片获取模块241根据每个照片的拍摄时间,从存储器23的相片薄中获取每个月的所有照片。例如,照片获取模块241获取2012年1月份10张照片,2月份15张照片等。在其他实施例中,所述时间区段的大小也可以设定为默认值(如1个月),无需用户进行设定。For example, assuming that the first user sets the size of the time zone as one month, the
步骤S12,人脸识别模块242从每个时间区段内的所有照片中识别出包含第一用户及第二用户的照片。例如,人脸识别模块242识别出2012年1月份10张照片中有6张包含第一用户及第二用户,2月份15张照片中有8张包含第一用户及第二用户。In step S12, the
具体而言,人脸识别模块242识别出每个时间区段内的每一张照片中的人脸区块,将上述识别出的人脸区块与第一用户及第二用户的人脸照片进行比对,以判断该照片是否包含第一用户及第二用户。其中,第一用户与第二用户的人脸照片可以是第一用户和第二用户在社群网站的头像。Specifically, the
如果该照片中存在与第一用户的人脸照片匹配的第一人脸区块,及与第二用户的人脸照片匹配的第二人脸区块,则人脸识别模块242判定该照片包含第一用户及第二用户。If there is a first face block matched with the first user's face photo in the photo, and a second face block matched with the second user's face photo, then the
步骤S13,人际关系分析模块243分别计算每个时间区段内识别出的每张照片中第一用户与第二用户的距离,从而获取第一用户与第二用户在每个时间区段内的人际关系衡量值。例如,人际关系分析模块243计算出第一用户与第二用户在2012年1月份的人际关系衡量值为80,2月份的人际关系衡量值为90。一个时间区段内的人际关系衡量值越高,代表第一用户与第二用户在该时间区段内的关系越好。In step S13, the interpersonal
具体而言,人际关系分析模块243依次获取每个时间区段内的每张照片,根据每张照片中包含的人脸区块数量计算出每张照片中包括的人数U。Specifically, the interpersonal
人际关系分析模块243计算每张照片中第一用户与第二用户之间的距离D。所述距离是指照片中人与人之间的相邻程度。例如,若在某一张照片中,两个人紧挨着,则该两个人之间的距离为1,若该两个人之间相隔n个人,则该两个人之间的距离为n+1。The human
人际关系分析模块243根据一个预设的关系算法,利用每张照片中的人数U及第一用户与第二用户的距离D,计算出每张照片中第一用户与第二用户之间的关系强度E。所述关系算法为E=1/f(U,D),例如,E=1/(U*D)。The interpersonal
当每个时间区段内的所有照片处理完毕后,人际关系分析模块243加总该时间区段内每张照片计算出来的关系强度E,以获取第一用户与第二用户在每个时间区段内的人际关系衡量值,计算方法如公式(1)所述。After all the photos in each time zone have been processed, the interpersonal
其中,ETt(a,b)表示第一用户a与第二用户b在时间区段Tt内的人际关系衡量值。Wherein, E Tt (a, b) represents the interpersonal relationship measurement value between the first user a and the second user b within the time interval T t .
PTt表示在该时间区段Tt内,包含第一用户与第二用户的照片总数。P Tt represents the total number of photos including the first user and the second user within the time period T t .
Un表示在该时间区段Tt内第n张照片中包括的人数。U n represents the number of people included in the nth photo within the time period T t .
Dn(a,b)表示在该时间区段Tt内第n张照片中第一用户a与第二用户b之间的距离。D n (a, b) represents the distance between the first user a and the second user b in the nth photo within the time interval T t .
步骤S14,人际关系展示模块244根据每个时间区段内的人际关系衡量值绘制出第一用户与第二用户的人际关系趋势图30,并将该人际关系趋势图30显示在显示设备20上。参阅图4所示,该人际关系趋势图30包括第一用户与第二用户在每个时间区段内的人际关系衡量值的变化曲线L1。其中,该人际关系趋势图30的横轴代表时间,横轴中的每一点代表一个时间区段Tt,例如,Tt1代表2004年1月,即[2004-01-01,2004-01-31],纵轴代表第一用户与第二用户在每个时间区段内的人际关系衡量值ETt。从图4的曲线L1可以直观地看出第一用户与第二用户的关系发展趋势,例如,何时关系最好,何时开始慢慢变得疏远。Step S14, the interpersonal
在其他实施例中,该人际关系趋势图30还可以包括一个可移动的时间方格32,该时间方格32包含多个时间区段及每个时间区段内识别出的包含第一用户及第二用户的照片。参阅图4所示,该时间方格32包括时间区段Tt1至时间区段Tt1-n。参阅图5所示,移动后的时间方格32包括时间区段Tt2至时间区段Tt2-n。当该时间方格32移动时,人际关系展示模块244按照预定的顺序(如拍摄时间顺序),将该时间方格32内每个时间区段识别出的照片显示在人际关系趋势图30的下方。在其他实施例中,所述时间方格32的宽度可以扩大或缩小,最小可以变成一条直线(即一个时间区段)。In other embodiments, the interpersonal
在其他实施例中,数据接收模块240也可以接收第一用户输入的第二用户和第三用户的关键词(甚至更多的关键词),其中,第一用户为使用者本人。参阅图6所示,第一用户(me)可以在搜索框输入第二用户的名称(Celine)和第三用户的名称(Mandy)。人际关系趋势图30中将显示两条关系曲线,其中,第一条关系曲线L1代表第一用户与第二用户的人际关系趋势,第二条关系曲线L2代表第一用户与第三用户的人际关系趋势。In other embodiments, the
需要说明的是,在其他实施例中,当数据接收模块240接收第一用户输入的第二用户和第三用户的关键词后,也可以只在人际关系趋势图30中显示第二用户与第三用户的关系曲线。It should be noted that, in other embodiments, after the
在其他实施例中,步骤S13也可以是:人际关系分析模块243根据每个时间区段内识别出的包含第一用户及第二用户的照片数量,确定第一用户与第二用户在每个时间区段内的人际关系衡量值。一个时间区段内的识别出的照片数量越多,确定的人际关系衡量值越高,代表第一用户与第二用户在该时间区段内的关系越好。In other embodiments, step S13 may also be: the interpersonal
但是,用照片数量确定人际关系衡量值的准确度要小于用关系强度(即用户距离)确定人际关系衡量值的准确度。例如,参阅图7所示,时间区段Tt-1的人际关系衡量值ETt-1要小于时间区段Tt-2的人际关系衡量值ETt-2。但参阅图8所示,时间区段Tt-1内的照片数量PTt-1要多于时间区段Tt-2的照片数量PTt-2。图8中的直方条代表图片数量,直方条越高代表图片数量越多。However, the accuracy of the relationship measure determined by the number of photos is less than the accuracy of the relationship measure determined by the relationship strength (ie, user distance). For example, as shown in FIG. 7 , the interpersonal relationship measurement value E Tt -1 of the time period T t- 1 is smaller than the interpersonal relationship measurement value E Tt-2 of the time period T t -2 . However, as shown in FIG. 8 , the number of photos P Tt-1 in the
最后应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换,而不脱离本发明技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention without limitation. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be Modifications or equivalent replacements can be made without departing from the spirit and scope of the technical solutions of the present invention.
Claims (20)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210523800.2A CN103854227A (en) | 2012-12-07 | 2012-12-07 | Interpersonal relationship analyzing system and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210523800.2A CN103854227A (en) | 2012-12-07 | 2012-12-07 | Interpersonal relationship analyzing system and method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN103854227A true CN103854227A (en) | 2014-06-11 |
Family
ID=50861849
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210523800.2A Pending CN103854227A (en) | 2012-12-07 | 2012-12-07 | Interpersonal relationship analyzing system and method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103854227A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105005599A (en) * | 2015-06-30 | 2015-10-28 | 广东欧珀移动通信有限公司 | A photo sharing method and mobile terminal |
| CN106980644A (en) * | 2017-02-20 | 2017-07-25 | 浙江大学 | A kind of individual interpersonal relationships visual inference method of isomery Urban Data |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101447043A (en) * | 2007-11-27 | 2009-06-03 | 索尼株式会社 | Interpersonal relationship evaluation device, method, system and terminal device |
| US7809722B2 (en) * | 2005-05-09 | 2010-10-05 | Like.Com | System and method for enabling search and retrieval from image files based on recognized information |
| CN102143261A (en) * | 2010-01-28 | 2011-08-03 | 株式会社泛泰 | Mobile terminal and method for forming human network using the same |
| WO2012110654A1 (en) * | 2011-02-18 | 2012-08-23 | Hella Kgaa Hueck & Co. | Method for evaluating a plurality of time-offset pictures, device for evaluating pictures, and monitoring system |
-
2012
- 2012-12-07 CN CN201210523800.2A patent/CN103854227A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7809722B2 (en) * | 2005-05-09 | 2010-10-05 | Like.Com | System and method for enabling search and retrieval from image files based on recognized information |
| CN101447043A (en) * | 2007-11-27 | 2009-06-03 | 索尼株式会社 | Interpersonal relationship evaluation device, method, system and terminal device |
| CN102143261A (en) * | 2010-01-28 | 2011-08-03 | 株式会社泛泰 | Mobile terminal and method for forming human network using the same |
| WO2012110654A1 (en) * | 2011-02-18 | 2012-08-23 | Hella Kgaa Hueck & Co. | Method for evaluating a plurality of time-offset pictures, device for evaluating pictures, and monitoring system |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105005599A (en) * | 2015-06-30 | 2015-10-28 | 广东欧珀移动通信有限公司 | A photo sharing method and mobile terminal |
| CN106980644A (en) * | 2017-02-20 | 2017-07-25 | 浙江大学 | A kind of individual interpersonal relationships visual inference method of isomery Urban Data |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10643110B2 (en) | Systems and methods for inferential sharing of photos | |
| US9449107B2 (en) | Method and system for gesture based searching | |
| US8055271B2 (en) | Intelligent location-to-cell mapping using annotated media | |
| EP3005055B1 (en) | Apparatus and method for representing and manipulating metadata | |
| US8515953B2 (en) | Temporal visualization of query results | |
| CN103914550A (en) | Recommended content displaying method and recommended content displaying device | |
| CN102692410A (en) | Test strip inspection and analysis system and method | |
| TW201423660A (en) | Interpersonal relationship analysis system and method | |
| CN110168588B (en) | Identifying documents based on location, usage patterns, and content | |
| CN111555966A (en) | Message processing method, device, system, storage medium and computer equipment | |
| CN111079777B (en) | A reading method and electronic device based on book page positioning | |
| CN103854227A (en) | Interpersonal relationship analyzing system and method | |
| CN112150090A (en) | Operation planning reminding terminal and method | |
| CN111414074A (en) | Screen browsing data processing method, device, medium and electronic equipment | |
| CN118427445A (en) | A housing recommendation method and system | |
| CN113672675A (en) | Data detection method and device and electronic equipment | |
| CN113778825A (en) | Method and device for determining page index parameters, storage medium and electronic equipment | |
| CN102727246B (en) | One-key learning presetting method and device for ultrasonic detection system | |
| CN115705366A (en) | An image processing method, device and equipment | |
| CN113449196A (en) | Information generation method and device, electronic equipment and readable storage medium | |
| CN119988749B (en) | Cross-border electric business portrait analysis method and system | |
| CN103995852A (en) | Data processing method and device | |
| CN110163657A (en) | Insurance products recommended method and relevant device based on manifold learning arithmetic | |
| CN111339434A (en) | Information recommendation method and device, electronic equipment and computer storage medium | |
| CN113868123A (en) | Script generation method, device, equipment and computer program product |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140611 |