Data analysis method, data analysis device, equipment and storage medium

By constructing a hypergraph social network and performing attribute analysis, the problem of low accuracy of social network analysis in the existing technology is solved, and a more accurate collaborative relationship evaluation of the social network platform is achieved.

CN115098795BActive Publication Date: 2024-10-15TSINGHUA BERKELEY SHENZHEN INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210680854.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-16
Publication Date
2024-10-15
Estimated Expiration
2042-06-16

AI Technical Summary

Technical Problem

It is difficult for existing technology to accurately analyze the complex relationships of social network platforms, resulting in low accuracy of analysis results.

Method used

By obtaining the original data of the social network platform, filtering it and then constructing a hypergraph social network, and conducting attribute analysis on it, including activity, interconnection and vertex importance analysis.

Benefits of technology

It improves the accuracy of analysis of social network platforms, can more comprehensively capture the high-dimensional interactive relationships between users and between users and projects, and provides a more accurate assessment of the degree of collaboration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115098795B_ABST
    Figure CN115098795B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a data analysis method, a data analysis device, a device and a storage medium, which belong to the field of data analysis technology. The method includes: obtaining the original data of a social network platform, the original data including original user information and original project information; filtering the original data to obtain target data; wherein the target data includes: target user information and target project information; constructing a hypergraph network according to the target user information and the target project information to obtain a hypergraph social network; performing attribute analysis on the hypergraph social network to obtain analysis results. The embodiments of the present application construct a hypergraph network through target user information and target project information, and analyze different attributes of the hypergraph social network to explore the degree of collaboration between users and users and between users and projects on the social network platform, which can improve the accuracy of the analysis results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data analysis technology, and in particular to a data analysis method, a data analysis device, equipment and a storage medium. Background Art

[0002] At present, there are many studies exploring the social networks of social networking platforms. For example, all user information and project information on the Github platform in a certain year or the past 10 years are extracted, including the follow-up relationship, fork relationship, like relationship, etc. between users, as well as the collaborator relationship of each project. Based on these relationships, user graph networks and / or project graph networks are constructed respectively, and the properties of the graph networks are analyzed. For example, the user's influence, activity level and the degree of collaboration between users are analyzed through user information and project information. However, the above analysis method is difficult to reflect the complex relationship of the social networking platform, and the accuracy of the analysis results is low. Therefore, how to provide a data analysis method that can improve the accuracy of the analysis of the social networking platform has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] The main purpose of the embodiments of the present disclosure is to provide a data analysis method, a data analysis device, a device and a storage medium, which can improve the accuracy of analysis of a social network platform.

[0004] To achieve the above object, a first aspect of an embodiment of the present disclosure provides a data analysis method, the method comprising:

[0005] Acquire original data of a social network platform, wherein the original data includes original user information and original project information;

[0006] Filtering the original data to obtain target data; wherein the target data includes: target user information and target project information;

[0007] Constructing a hypergraph network according to the target user information and the target project information to obtain a hypergraph social network;

[0008] Perform attribute analysis on the hypergraph social network to obtain analysis results.

[0009] In some embodiments, the hypergraph social network includes a vertex set, a hyperedge set, and a hyperedge weight value set, and the hypergraph network is constructed according to the target user information and the target project information to obtain the hypergraph social network, including:

[0010] Creating a vertex set according to the target user information and the target item information, wherein the vertex set includes a plurality of object vertices;

[0011] Determine an object hyperedge according to the user connection relationship of the target user information and the user-item connection relationship between the target user information and the target item information; wherein each object hyperedge includes a plurality of object vertices;

[0012] Determining an object weight value of the object hyperedge according to a relationship type between the user connection relationship and the user-item connection relationship;

[0013] A hyperedge set is obtained according to the object hyperedges, and a hyperedge weight value set is obtained according to the object weight values.

[0014] In some embodiments, the analysis result includes at least one of the following: activity analysis result, interconnectedness analysis result, and vertex importance analysis result. Correspondingly, performing attribute analysis on the hypergraph social network to obtain the analysis result includes at least one of the following steps:

[0015] Performing a degree centrality analysis on the hypergraph social network to obtain the activity analysis result;

[0016] Performing path and distance analysis on the hypergraph social network to obtain the interconnection degree analysis result;

[0017] A closeness centrality analysis or a betweenness centrality analysis is performed on the hypergraph social network to obtain a vertex importance analysis result.

[0018] In some embodiments, performing point degree centrality analysis on the hypergraph social network to obtain the activity analysis result includes:

[0019] Determine an association matrix according to the belonging relationship between the object vertices and the object hyperedges;

[0020] Calculate the number of associations of object hyperedges associated with each object vertex according to the association matrix;

[0021] The activity analysis result is obtained according to the association quantity.

[0022] In some embodiments, performing path and distance analysis on the hypergraph social network to obtain the interconnection degree analysis result includes:

[0023] Calculate the shortest path between every two vertices of the object to obtain multiple shortest path lengths;

[0024] Calculate the longest path between every two vertices of the object to obtain multiple longest path lengths;

[0025] Calculating an average shortest path length based on a plurality of the shortest path lengths;

[0026] Calculating an average longest path length based on a plurality of the longest path lengths;

[0027] The interconnection degree analysis result is obtained according to the average shortest path length and the average longest path length.

[0028] In some embodiments, performing closeness centrality analysis or betweenness centrality analysis on the hypergraph social network to obtain vertex importance analysis results includes:

[0029] If a closeness centrality analysis is performed on the hypergraph social network, for each of the object vertices, the shortest path between the object vertex and the target object vertex is calculated to obtain multiple shortest path lengths;

[0030] The vertex importance analysis result is obtained according to the sum of the lengths of multiple shortest paths.

[0031] In some embodiments, performing closeness centrality analysis or betweenness centrality analysis on the hypergraph social network to obtain vertex importance analysis results includes:

[0032] If the betweenness centrality analysis is performed on the hypergraph social network, all the object vertices are traversed to determine the shortest path between every two object vertices, the shortest path includes at least one intermediate object vertex, and the vertex importance analysis result is obtained according to the number of the intermediate object vertices.

[0033] A second aspect of the present disclosure provides a data analysis device, the device comprising:

[0034] An acquisition module, used to acquire original data of a social network platform, wherein the original data includes original user information and original project information;

[0035] A filtering module, used for filtering the original data to obtain target data; wherein the target data includes: target user information and target project information;

[0036] A supergraph social network creation module, used to construct a supergraph network according to the target user information and the target project information to obtain a supergraph social network;

[0037] The attribute analysis module is used to perform attribute analysis on the hypergraph social network to obtain analysis results.

[0038] To achieve the above-mentioned purpose, the third aspect of an embodiment of the present application proposes a computer device, which includes a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory. When the program is executed by the processor, the steps of the method described in the first aspect are implemented.

[0039] To achieve the above-mentioned purpose, the fourth aspect of an embodiment of the present application proposes a storage medium, which is a computer-readable storage medium used for computer-readable storage, and the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the method described in the first aspect above.

[0040] The data analysis method, data analysis device, equipment and storage medium proposed in the embodiments of the present disclosure can improve the accuracy of the analysis results by constructing a hypergraph network based on target user information and target project information, and analyzing different attributes of the hypergraph social network to explore the degree of collaboration between users and between users and projects on the social network platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 is a flow chart of the data analysis method provided in an embodiment of the present application;

[0042] Figure 2 yes Figure 1 Flow chart of step S103 in FIG.

[0043] Figure 3 is another flow chart of the data analysis method provided in an embodiment of the present application;

[0044] Figure 4 is another flow chart of the data analysis method provided in an embodiment of the present application;

[0045] Figure 5 is a module structure block diagram of a data analysis device provided in an embodiment of the present application;

[0046] Figure 6 It is a schematic diagram of the hardware structure of the computer device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0048] It should be noted that although the functional modules are divided in the device schematic and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart.

[0049] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein are only for the purpose of describing the embodiments of the present invention and are not intended to limit the present invention.

[0050] At present, there are many studies exploring the social networks of social networking platforms. For example, all user information and project information on the Github platform in a certain year or the past 10 years are extracted, including the follow-up relationship, fork relationship, like relationship, etc. between users, as well as the collaborator relationship of each project. Based on these relationships, user graph networks and / or project graph networks are constructed respectively, and the properties of the graph networks are analyzed. For example, the user's influence, activity level and the degree of collaboration between users are analyzed through user information and project information. However, the above analysis method is difficult to reflect the complex relationship of the social networking platform, and the accuracy of the analysis results is low. Therefore, how to provide a data analysis method that can improve the accuracy of the analysis of the social networking platform has become a technical problem that needs to be solved urgently.

[0051] Based on this, the main purpose of the embodiments of the present application is to propose a data analysis method, a data analysis device, an equipment and a storage medium, aiming to improve the accuracy of analysis of social network platforms by constructing a hypergraph social network and performing attribute analysis on the hypergraph social network.

[0052] The embodiments of the present application have at least the following two advantages: the first advantage is that ordinary graph networks can only extract one-to-one relationships between data, while the multi-object vertices and multi-object hyperedges of the hypergraph social network of the present application can capture high-dimensional relationships between data, and thus can better map the interactions between real users and user projects on the Github platform; the second advantage is that the present application not only captures the follow-up relationships and member relationships between users, but also introduces multiple relationships between users and projects, including issue relationships, merge request relationships, etc., rather than just recording the relationships between users, so the interactions between users and between users and projects can be analyzed more comprehensively.

[0053] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0054] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0055] The data analysis method provided in the embodiment of the present application relates to the field of artificial intelligence technology. The data analysis method provided in the embodiment of the present application can be applied to the terminal, can also be applied to the server side, and can also be software running in the terminal or the server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.; the server side can be configured as an independent physical server, or it can be configured as a server cluster or distributed system composed of multiple physical servers, and can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements the data analysis method, etc., but is not limited to the above forms.

[0056] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0057] The embodiments of the present application provide a data analysis method, a data analysis device, a device and a storage medium, which are specifically described through the following embodiments. First, the data analysis method in the embodiments of the present application is described.

[0058] Figure 1 is an optional flow chart of the data analysis method provided in the embodiment of the present application. Figure 1 The method may include but is not limited to steps S101 to S104.

[0059] Step S101, obtaining original data of a social network platform, where the original data includes original user information and original project information;

[0060] Step S102, filtering the original data to obtain target data; wherein the target data includes: target user information and target project information;

[0061] Step S103, constructing a hypergraph network according to the target user information and the target project information to obtain a hypergraph social network;

[0062] Step S104, performing attribute analysis on the hypergraph social network to obtain analysis results.

[0063] Steps S101 to S104 shown in the embodiment of the present application construct a hypergraph network based on target user information and target project information, and analyze different attributes of the hypergraph social network to explore the degree of collaboration between users and between users and projects on the social network platform, thereby improving the accuracy of the analysis results.

[0064] In step S101 of some embodiments, the original data includes original user information and original project information. The original user information includes the user's followers, the user's projects, likes, etc. The original project information includes the project's contributors, the project's main implementation language, the project's merge request, and the project's comment information, etc. The original data of the social network can be obtained in the following ways. Taking the Github platform as an example, historical activity data can be downloaded from Github's offline mirror database GHTorrent to use the historical activity data as original data. It should be noted that the mirror database records the public event timeline on the Github platform. For each event that occurs on the Github platform, it will record the time and content. Therefore, the original data such as warehouses, users' followers, questions, merge requests, users, project followers, likes, etc. in the database MySQL file can be crawled from the offline mirror database to provide a data basis for the subsequent construction of social networks.

[0065] In step S102 of some embodiments, the raw data is filtered to obtain target data, wherein the target data includes target user information and target project information. Specifically, the raw data collected from the Github platform is filtered, for example, a large number of users with zero followers and zero projects and users and projects that have been deleted from the Github platform are deleted, in order to better focus on the interaction and collaboration analysis between users.

[0066] In step S103 of some embodiments, a hypergraph network is constructed according to the target user information and the target project information to obtain a hypergraph social network, wherein the hypergraph social network includes a vertex set, a hyperedge set, and a hyperedge weight value set.

[0067] Specifically, refer to Figure 2 In some embodiments, step S103 includes but is not limited to steps S201 to S204:

[0068] Step S201, creating a vertex set according to target user information and target project information, the vertex set including a plurality of object vertices;

[0069] Step S202, determining an object hyperedge according to the user connection relationship of the target user information and the user-item connection relationship between the target user information and the target item information; wherein each object hyperedge includes a plurality of object vertices;

[0070] Step S203, determining the object weight value of the object hyperedge according to the relationship type of the user connection relationship and the user-item connection relationship;

[0071] Step S204: obtaining a hyperedge set according to the object hyperedges, and obtaining a hyperedge weight value set according to the object weight values.

[0072] In the steps S201 to S204 shown in the embodiment of the present application, specifically, a general hypergraph is represented by G, where G = (V, E, W), V is a vertex set, and E is a hyperedge set. Each hyperedge in the hyperedge set is assigned a weight value w(e), which indicates the importance of the connection relationship represented by the hyperedge in the entire hypergraph, and W is a set of weights w(e). The hypergraph social network in the embodiment of the present application is represented by SN, where SN = (V; E = {e i :i∈I};W), where the vertex set V=U∪R, U is the user set, R is the project set, the user set includes multiple user vertices, and the project set includes multiple project vertices. The hyperedge set E is composed of hyperedges connecting user vertices and user vertices and connecting user and project vertices, representing various relationships between users and users, and between users and projects, respectively. Each hyperedge e i ∈e is defined as an ordered pair of numbers: are the tail and head of the hyperedge respectively. Correspondingly, yes The vertex set of yes The vertex set of . The set of vertices that make up the entire hyperedge.

[0073] It should be noted that the vertex set includes multiple object vertices, and the object vertices include: user vertices and project vertices. The hyperedge set includes multiple object hyperedges, and the object hyperedges include: user hyperedges and project hyperedges. The hyperedge weight set includes multiple object weight values, and the object weight values ​​include: user weight values ​​and project weight values. In one example, the user vertex is determined according to the target user information, the project vertex is determined according to the target project information, the user hyperedge is determined according to the connection relationship between multiple user vertices, the project hyperedge is determined according to the connection relationship between multiple user vertices and multiple project vertices, the user weight value of the user hyperedge is determined according to the relationship type of the user connection relationship, and the project weight value of the project hyperedge is determined according to the relationship type of the user-project connection relationship.

[0074] In the process of constructing the hypergraph network, the present application embodiment introduces the following relationships: ① User-user relationship: Then the hyperedge connecting the user vertices has the following characteristics: If there are relationship types such as attention relationship and membership relationship between different user vertices, these user vertices are connected by hyperedges that represent the corresponding relationship. The weight value of the hyperedge varies in [0, 1] with the different relationship types. For example, the weight value of the membership relationship can be 0.8, and the weight value of the attention relationship can be 0.6. ② User-item relationship: The hyperedge connecting the user vertex and the item vertex has the following characteristics: Let but There are many types of relationships between users and projects, including likes, follows, questions, merge requests, etc. In the user-project relationship hyperedge, and Different weight values ​​are assigned to different relationship types. For example, the like relationship, follow relationship, question relationship, and merge request relationship may correspond to weight values ​​of 0.5, 0.6, 0.7, and 0.8, respectively.

[0075] In step S104 of some embodiments, attribute analysis is performed on the hypergraph social network to obtain analysis results, and the analysis results include at least one of the following: activity analysis results, interconnectedness analysis results, and vertex importance analysis results. Correspondingly, step S104 includes at least one of the following steps:

[0076] Perform point centrality analysis on the hypergraph social network to obtain activity analysis results;

[0077] Perform path and distance analysis on the hypergraph social network to obtain the interconnection degree analysis results;

[0078] Perform closeness centrality analysis or betweenness centrality analysis on the hypergraph social network to obtain vertex importance analysis results.

[0079] Specifically, refer to Figure 3In some embodiments, the step of performing a point degree centrality analysis on a hypergraph social network to obtain an activity analysis result includes:

[0080] Step S301, determining an association matrix according to the relationship between object vertices and object hyperedges;

[0081] Step S302, calculating the number of associations of object hyperedges associated with each object vertex according to the association matrix;

[0082] Step S303, obtaining an activity analysis result according to the association quantity.

[0083] In steps S301 to S303 shown in the embodiment of the present application, the association matrix of SN is represented by H:

[0084] The number of object hyperedges associated with each object vertex can be calculated through the association matrix H. For example, the object vertex v k The number of associations is d c (v k )express, The degree centrality of an object vertex depends on the number of associations of the associated hyperedges involved in the object vertex. Therefore, the degree centrality of the object vertex can be determined based on the number of associations, and then the activity analysis result can be obtained.

[0085] Specifically, refer to Figure 4 In some embodiments, the step of performing path and distance analysis on the hypergraph social network to obtain an interconnection degree analysis result includes:

[0086] Step S401, calculating the shortest path between every two object vertices to obtain multiple shortest path lengths;

[0087] Step S402, calculating the longest path between every two object vertices to obtain multiple longest path lengths;

[0088] Step S403, calculating an average shortest path length according to multiple shortest path lengths;

[0089] Step S404, calculating an average longest path length according to multiple longest path lengths;

[0090] Step S405 , obtaining an interconnection degree analysis result according to the average shortest path length and the average longest path length.

[0091] In the steps S401 to S405 shown in the embodiment of the present application, two user vertices and The social path between them is composed of different vertices and hyperedges: (in, ). The length of a hyperpath is defined as: Where α is a normalization factor. The social path between two user vertices can go through different types of relationships: if the two user vertices are in a follow-up relationship or a member relationship in the same group, the social path can directly connect the two points; if the two user vertices both like the same project or post a question, the social path can indirectly connect the two points. Due to the different object vertices traversed, the two object vertices can be connected by different hyperpaths. The embodiment of the present application defines the relationship between two object vertices (v k , v j ) minimum distance d min (v k , v j ), the longest distance d max (v k , v j ) and the average distance d avg (v k , v j ) are the shortest hyperpath, longest hyperpath and average hyperpath between two object vertices respectively. In addition, the longest distance of all object vertex pairs in a network is also called the diameter of the network, that is, the sum of the path lengths of all object vertices that can be traversed by all vertex pairs in a network. The average shortest hyperpath is the average of the shortest hyperpaths between all object vertices. In order to estimate the diameter and average shortest hyperpath of user vertices and project vertices in the entire Github social network, the average longest hyperpath and average shortest hyperpath of all object vertex pairs in the two networks are calculated, and their values ​​are compared with other social networks (such as Facebook, Sourceforge, etc.) to evaluate the degree of interconnection and closeness between users and projects on the Github platform, and obtain the results of the degree of interconnection analysis.

[0092] It should be noted that the calculation of the shortest hyperpath between two object vertices includes: using the classic Floyd algorithm in graph theory, if dist(i, j) is the distance of the shortest path from object vertex u to object vertex v, for each object vertex k, check whether dist(i, k)+dist(k, j)<dist(i, j) holds. If so, it proves that the path from object vertex i to object vertex k and then to object vertex j is shorter than the path from object vertex i directly to object vertex j, and then set dist(i, j)=dist(i, k)+dist(k, j). In this way, when we have traversed all object vertices k, what is recorded in dist(i, j) is the shortest path from object vertex i to object vertex j.

[0093] The calculation of the longest hyperpath between two object vertices includes: using the classic Floyd algorithm in graph theory, if dmax(i, j) is the distance of the longest path from object vertex u to object vertex v, for each object vertex k, check whether dmax(i, k)+dmax(k, j)>dmax(i, j) holds. If so, it proves that the path from object vertex i to object vertex k and then to object vertex j is longer than the path from object vertex i directly to object vertex j, and then set dmax(i, j)=dmax(i, k)+dmax(k, j). In this way, when we have traversed all object vertices k, what is recorded in dmax(i, j) is the longest path from object vertex i to object vertex j.

[0094] In some other embodiments, if the closeness centrality analysis is performed on the hypergraph social network, for each object vertex, the shortest path between the object vertex and the target object vertex is calculated to obtain multiple shortest path lengths; the vertex importance analysis result is obtained according to the sum of the multiple shortest path lengths. Specifically, the closeness centrality of the object vertex is defined as: The closeness centrality of an object vertex depends on the sum of the shortest path lengths from the object vertex to other object vertices. The smaller the sum of the shortest path lengths of an object vertex is, the smaller the closeness centrality of the object vertex is, indicating that the object vertex has a higher degree of interaction with other object vertices, and the object vertex is more important in the hypergraph network, that is, the vertex importance analysis result is obtained.

[0095] It should be noted that in the closeness centrality analysis of object vertices, the sum of the shortest paths from the object vertex to other object vertices needs to be calculated. The Dijkstra algorithm in graph theory can be used. If there are two vertex sets S and T, set S stores the object vertices for which the shortest path has been found, and set T stores the remaining object vertices. In the initial state, set S only contains source object vertices, and then continuously selects object vertices with the shortest path length from set T and adds them to set S. Every time a new object vertex is added to set S, the shortest path length value from the object vertex to the object vertex in set T must be modified. Repeat this process until all vertices in set T are added to set S.

[0096] In some other embodiments, if the betweenness centrality analysis is performed on the hypergraph social network, all object vertices are traversed to determine the shortest path between every two object vertices, the shortest path includes at least one intermediate object vertex, and the vertex importance analysis result is obtained according to the number of intermediate object vertices. Specifically, the betweenness centrality of the object vertex is defined as: in, is the connection v j and v z , and through v k The number of shortest hyperpaths, is the total number of shortest hyperpaths connecting two object vertices. Betweenness centrality measures the number of times an object vertex appears in the shortest hyperpaths between different pairs of object vertices in a hypergraph social network. If the object vertex is a user vertex, the closeness centrality analysis of the user vertex can be used to measure the importance of the user vertex in the relationship between some users, i.e., "user centrality". The calculation of user centrality can be used to evaluate the influence of different user vertices within the organization, i.e., to obtain the vertex importance analysis results.

[0097] See also Figure 5 The present application also provides a data analysis device, which can implement the above-mentioned data analysis method. Figure 5 The module structure block diagram of the data analysis device provided in the embodiment of the present application includes: an acquisition module 501, a filtering module 502, a supergraph social network creation module 503, and an attribute analysis module 504. Among them, the acquisition module 501 is used to obtain the original data of the social network platform, and the original data includes original user information and original project information; the filtering module 502 is used to filter the original data to obtain the target data; wherein the target data includes: target user information and target project information; the supergraph social network creation module 503 is used to construct a supergraph network according to the target user information and target project information to obtain a supergraph social network; the attribute analysis module 504 is used to perform attribute analysis on the supergraph social network to obtain analysis results.

[0098] The data analysis device provided in the embodiment of the present application constructs a hypergraph network through target user information and target project information, and analyzes different attributes of the hypergraph social network to explore the degree of collaboration between users and between users and projects on the social network platform, which can improve the accuracy of the analysis results.

[0099] It should be noted that the specific implementation of the data analysis device is basically the same as the specific implementation of the above-mentioned data analysis method, and will not be repeated here.

[0100] The embodiment of the present application also provides a computer device, which includes: a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory, and the above-mentioned data analysis method is realized when the program is executed by the processor. The computer device can be any intelligent terminal including a tablet computer, a car computer, etc.

[0101] See also Figure 6 , Figure 6 The hardware structure of a computer device according to another embodiment is shown, and the computer device includes:

[0102] The processor 601 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0103] The memory 602 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 602 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 602, and the processor 601 calls and executes the data analysis method of the embodiment of this application;

[0104] Input / output interface 603, used to implement information input and output;

[0105] Communication interface 604, used to realize communication interaction between the device and other devices, which can be realized by wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);

[0106] Bus 605 , which transmits information between various components of the device (e.g., processor 601 , memory 602 , input / output interface 603 , and communication interface 604 );

[0107] The processor 601 , the memory 602 , the input / output interface 603 and the communication interface 604 are connected to each other in communication within the device via a bus 605 .

[0108] An embodiment of the present application also provides a storage medium, which is a computer-readable storage medium used for computer-readable storage. The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the above-mentioned data analysis method.

[0109] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0110] The embodiments described in the embodiments of the present disclosure are intended to more clearly illustrate the technical solutions of the embodiments of the present disclosure and do not constitute a limitation on the technical solutions provided by the embodiments of the present disclosure. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of the present disclosure are also applicable to similar technical problems.

[0111] It can be understood by those skilled in the art that Figures 1 to 4 The technical solutions shown in the figure do not constitute a limitation on the embodiments of the present disclosure, and may include more or fewer steps than those shown in the figure, or a combination of certain steps, or different steps.

[0112] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0113] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0114] The data analysis method, data analysis device, computer equipment and storage medium provided in the embodiments of the present application construct a hypergraph network through target user information and target project information, and analyze different attributes of the hypergraph social network to explore the degree of collaboration between users and between users and projects on the social network platform, which can improve the accuracy of the analysis results.

[0115] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0116] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0117] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0118] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0119] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0120] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0121] The preferred embodiments of the present disclosure are described above with reference to the accompanying drawings, but the scope of the rights of the present disclosure is not limited thereto. Any modification, equivalent substitution and improvement made by those skilled in the art without departing from the scope and essence of the present disclosure should be within the scope of the rights of the present disclosure.

Claims

1. A data analysis method, characterized in that: The method comprises: Acquire original data of a social network platform, wherein the original data includes original user information and original project information; Filtering the original data to obtain target data; wherein the target data includes: target user information and target project information; A hypergraph network is constructed according to the target user information and the target project information to obtain a hypergraph social network; the hypergraph social network includes a vertex set, a hyperedge set, and a hyperedge weight value set; Performing attribute analysis on the hypergraph social network to obtain analysis results; the analysis results include: activity analysis results, interconnection degree analysis results, and vertex importance analysis results; The step of constructing a hypergraph network according to the target user information and the target project information to obtain a hypergraph social network includes: Creating a vertex set according to the target user information and the target item information, wherein the vertex set includes a plurality of object vertices; Determine an object hyperedge according to the user connection relationship of the target user information and the user-item connection relationship between the target user information and the target item information; wherein each object hyperedge includes a plurality of object vertices; Determining an object weight value of the object hyperedge according to a relationship type between the user connection relationship and the user-item connection relationship; Obtaining a hyperedge set according to the object hyperedges, and obtaining a hyperedge weight value set according to the object weight values; The performing of attribute analysis on the hypergraph social network to obtain analysis results includes: Performing a degree centrality analysis on the hypergraph social network to obtain the activity analysis result; Calculate the shortest path between every two vertices of the object to obtain multiple shortest path lengths, calculate the longest path between every two vertices of the object to obtain multiple longest path lengths, calculate an average shortest path length based on the multiple shortest path lengths, calculate an average longest path length based on the multiple longest path lengths, and obtain the interconnection degree analysis result based on the average shortest path length and the average longest path length; A closeness centrality analysis or a betweenness centrality analysis is performed on the hypergraph social network to obtain the vertex importance analysis result.

2. The method according to claim 1, characterized in that The performing point degree centrality analysis on the hypergraph social network to obtain the activity analysis result includes: Determine an association matrix according to the belonging relationship between the object vertices and the object hyperedges; Calculate the number of associations of object hyperedges associated with each object vertex according to the association matrix; The activity analysis result is obtained according to the association quantity.

3. The method according to claim 1, characterized in that The closeness centrality analysis or betweenness centrality analysis is performed on the hypergraph social network to obtain vertex importance analysis results, including: If a closeness centrality analysis is performed on the hypergraph social network, for each of the object vertices, the shortest path between the object vertex and the target object vertex is calculated to obtain multiple shortest path lengths; The vertex importance analysis result is obtained according to the sum of the lengths of multiple shortest paths.

4. The method according to claim 1, characterized in that: The closeness centrality analysis or betweenness centrality analysis is performed on the hypergraph social network to obtain vertex importance analysis results, including: If the betweenness centrality analysis is performed on the hypergraph social network, all the object vertices are traversed to determine the shortest path between every two object vertices, the shortest path includes at least one intermediate object vertex, and the vertex importance analysis result is obtained according to the number of the intermediate object vertices.

5. A data analysis device, characterized in that: The device comprises: An acquisition module, used to acquire original data of a social network platform, wherein the original data includes original user information and original project information; A filtering module, used for filtering the original data to obtain target data; wherein the target data includes: target user information and target project information; A hypergraph social network creation module is used to construct a hypergraph network according to the target user information and the target project information to obtain a hypergraph social network; the hypergraph social network includes a vertex set, a hyperedge set, and a hyperedge weight value set; An attribute analysis module is used to perform attribute analysis on the hypergraph social network to obtain analysis results; the analysis results include: activity analysis results, interconnectedness analysis results, and vertex importance analysis results; The step of constructing a hypergraph network according to the target user information and the target project information to obtain a hypergraph social network includes: Creating a vertex set according to the target user information and the target item information, wherein the vertex set includes a plurality of object vertices; Determine an object hyperedge according to the user connection relationship of the target user information and the user-item connection relationship between the target user information and the target item information; wherein each object hyperedge includes a plurality of object vertices; Determining an object weight value of the object hyperedge according to a relationship type between the user connection relationship and the user-item connection relationship; Obtaining a hyperedge set according to the object hyperedges, and obtaining a hyperedge weight value set according to the object weight values; The performing of attribute analysis on the hypergraph social network to obtain analysis results includes: Performing a degree centrality analysis on the hypergraph social network to obtain the activity analysis result; Calculate the shortest path between every two vertices of the object to obtain multiple shortest path lengths, calculate the longest path between every two vertices of the object to obtain multiple longest path lengths, calculate an average shortest path length based on the multiple shortest path lengths, calculate an average longest path length based on the multiple longest path lengths, and obtain the interconnection degree analysis result based on the average shortest path length and the average longest path length; A closeness centrality analysis or a betweenness centrality analysis is performed on the hypergraph social network to obtain the vertex importance analysis result.

6. A computer device, characterized in that: The computer device includes a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory. When the program is executed by the processor, the steps of the method according to any one of claims 1 to 4 are realized.

7. A storage medium, the storage medium being a computer-readable storage medium, used for computer-readable storage, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any one of claims 1 to 4.