Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for constructing character relation graph and storage medium

A technology of character relationship and graph, applied in the field of knowledge graph, can solve the problems of only attention, redundant lexical features, unequal contribution, etc.

Pending Publication Date: 2022-05-06
XIAMEN MEIYA PICO INFORMATION
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At the same time, some methods (Li Gang, Wang Xiao, Guo Yang. Research on the internal relationship of WeChat groups based on the co-occurrence of members[J]. Data Analysis and Knowledge Discovery, 2018, 2(11): 54-63.) (Li Gang, Wang Xinping ,Ba Zhichao. Analysis of Conversational Network Structure and User Interaction Behavior in WeChat Groups[J].Intelligence Theory and Practice,2018,41(10):124-130). It is difficult to quickly and effectively collect evidence for key topics in relational positioning analysis
[0007] Secondly, although the word embedding method based on the pre-trained model can obtain a good key topic classification effect, the contribution of each word to the text classification is not equivalent, and there is a problem of redundant vocabulary features.
[0008] Finally, the traditional method still has the problem of only focusing on the topic and not being able to construct the relationship between the characters more accurately. It often lacks the construction of the relationship between the characters participating in the same sub-topic, which makes it difficult to find and locate key information in the case.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for constructing character relation graph and storage medium
  • Method and device for constructing character relation graph and storage medium
  • Method and device for constructing character relation graph and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] Such as figure 1 Shown is a flow chart of a method for constructing a character relationship map according to an embodiment of the present invention, showing the specific implementation steps of the method for building a character relation map of members in a group chat, including:

[0045] S1, acquiring group chat data, where the group chat data includes time information and text information;

[0046] S2. Divide the group chat data into one or more group chat segments according to the time information and the text information;

[0047] S3, extracting the topic category of the group chat segment, classifying the group chat segment according to the topic category, and obtaining one or more topic data, the topic data including one or more of the group chat segment;

[0048]S4. Analyzing all the group chat clips included in the topic data to obtain the character relationship of the members, the character relationship including the activity level of the members, the intera...

Embodiment 2

[0066] Such as figure 2 Shown is a flow chart of building a character relationship map in an embodiment of the present invention, showing the main implementation steps of the method, including:

[0067] First, get the group chat data.

[0068] In a possible implementation, the group chat data is obtained from a database storing the group chat data. Databases include relational databases and non-relational databases, such as MySQL, PostgreSQL, MongoDB, SQLite and other databases. In other embodiments, the group chat data can be obtained from other data sources, for example: data sources such as cloud data and remote servers.

[0069] Second, preprocess the group chat data to generate group chat fragments.

[0070] In a possible implementation, the group chat data is firstly cleaned to remove various system notification messages, various emoticons, various types of web pages, pictures, video links, and other garbled characters and non-Chinese characters in the group chat dat...

Embodiment 3

[0131]The present invention also provides a device for constructing a character relationship map, such as Figure 8 As shown, the device includes a processor 801, a memory 802, a bus 803, and a computer program stored in the memory 802 and operable on the processor 801. The processor 801 includes one or more processing cores, and the memory 802 passes through the bus 803. Connected to the processor 801, the memory 802 is used to store program instructions, and the processor implements the steps in the above method embodiments of the present invention when executing the computer program.

[0132] Further, as an executable solution, the device for constructing the character relationship graph may be computing devices such as desktop computers, notebooks, palmtop computers, and cloud servers. A system / electronic device may include, but is not limited to, a processor, memory. Those skilled in the art can understand that the composition structure of the above-mentioned system / elec...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and device for constructing a figure relation graph and a storage medium, and the method comprises the steps: obtaining group chat data which comprises time information and text information; dividing the group chat data into one or more group chat segments according to the time information and the text information; extracting topic categories of the group chat segments, and classifying the group chat segments according to the topic categories to obtain one or more topic data, the topic data including one or more group chat segments; analyzing all group chat segments contained in the topic data to obtain a character relationship of the members, the character relationship including an active degree of the members, an interaction strength between the members and a social relationship between the members; and according to the character relationship of the members, constructing a character relationship graph of the members. According to the method and the device for constructing the character relation graph, the key chat content, the member information and the member relation can be further mined.

Description

technical field [0001] The present invention relates to the technical field of knowledge graphs, in particular to a method, device and storage medium for constructing a character relationship graph. Background technique [0002] In recent years, the mobile Internet has developed rapidly. As of December 2020, the number of Internet users in China has reached 989 million, of which mobile Internet users accounted for 99.7%, and instant messaging apps accounted for 99.2% of mobile Internet users. Group chat has the characteristics of low cost, group gathering and rapid dissemination, and has become a tool for criminals to publish false information and conduct online fraud. Therefore, group chat data has important analytical value. In the field of electronic data forensics analysis, quickly finding and locating key topics from massive mobile phone data, and at the same time effectively constructing the relationship between the people involved in the topic can often bring key prog...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/35G06F16/36G06F40/289
CPCG06F16/367G06F16/353G06F40/289
Inventor 刘晓芳杜新胜陈志明赵建强庄灿波
Owner XIAMEN MEIYA PICO INFORMATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products