A method, device, electronic device and storage medium for identifying an associated enterprise

By constructing the enterprise supply chain network diagram and using the Node2vec model and the density peak clustering algorithm, the associated enterprises in the enterprise supply chain network are identified, which solves the problem of low identification accuracy of associated enterprises in the existing technology and achieves more efficient analysis efficiency. .

CN114757767BActive Publication Date: 2024-09-20AISINO CORPORATION
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202011590742.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-29
Publication Date
2024-09-20
Estimated Expiration
2040-12-29

AI Technical Summary

Technical Problem

In the existing technology, the identification accuracy of affiliated enterprises in the enterprise supply chain network is low, resulting in low analysis efficiency.

Method used

By constructing the enterprise supply chain network diagram, using transaction amounts and enterprise information to determine the weights between nodes, and identifying associated enterprises based on the Node2vec model and density peak clustering algorithm, the identification accuracy of associated enterprises is improved.

Benefits of technology

Significantly improves the identification accuracy of associated enterprises in the enterprise's supply chain network and improves analysis efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114757767B
    Figure CN114757767B
Patent Text Reader

Abstract

The present invention discloses a method, device, electronic device and storage medium for identifying associated enterprises, which solves the problem of low accuracy in identifying associated enterprises in an enterprise supply chain network in the prior art. The method comprises: in response to a trigger request for querying associated enterprises in an enterprise supply chain network, obtaining an enterprise supply chain network diagram; for each designated enterprise node in the enterprise supply chain network diagram, obtaining an enterprise node sequence corresponding to the designated enterprise node and a feature vector of each enterprise node in the enterprise node sequence based on a preset network model and the weight of the edge in the enterprise supply chain network diagram; determining a cluster center in each enterprise node sequence based on the feature vector of each enterprise node in the enterprise node sequence corresponding to each designated enterprise node in the enterprise supply chain network diagram, and identifying associated enterprises in the enterprise supply chain network diagram according to each enterprise node sequence and each determined cluster center.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for identifying an associated enterprise. Background Art

[0002] With the continuous development of tax information construction, tax authorities at all levels have managed tax data through the construction of various databases, which has greatly improved the scientificity, accuracy and efficiency of tax analysis. Based on the enterprise supply chain data in the tax data resources, the enterprise supply chain network can be analyzed to achieve group transaction analysis of the entire market, transaction-related enterprise recommendations, selection of different customer groups, abnormal group identification, etc. Therefore, the identification of related enterprises in the enterprise supply chain network is the basis for the analysis of the enterprise supply chain network.

[0003] At present, the existing methods for identifying related enterprises in the enterprise supply chain network based on tax data are not comprehensive enough in analyzing the enterprise nodes in the supply chain network, resulting in a low accuracy rate in identifying related enterprises. Summary of the invention

[0004] In order to solve the problem of low recognition accuracy of related enterprises in an enterprise supply chain network in the prior art, an embodiment of the present invention provides a method, device, electronic device and storage medium for identifying related enterprises.

[0005] In a first aspect, an embodiment of the present invention provides a method for identifying an associated enterprise, comprising:

[0006] In response to a trigger request for querying associated enterprises in an enterprise supply chain network, an enterprise supply chain network diagram is obtained, wherein the enterprise supply chain network diagram is an enterprise network diagram constructed based on the supply relationship between enterprises, with a first transaction party and a second transaction party as nodes, and a weight between the first transaction party and the second transaction party as a weight of an edge between the first transaction party and the second transaction party, wherein the weight between the first transaction party and the second transaction party represents the initial degree of association between the first transaction party and the second transaction party, and the weight between the first transaction party and the second transaction party is determined based on the acquired transaction amount of the first transaction party, the transaction amount of the second transaction party, the enterprise information of the first transaction party, and the enterprise information of the second transaction party;

[0007] For each designated enterprise node in the enterprise supply chain network diagram, based on a preset network model and the weight of the edge in the enterprise supply chain network diagram, an enterprise node sequence corresponding to the designated enterprise node and a feature vector of each enterprise node in the enterprise node sequence are obtained, wherein the enterprise node sequence is a collection of enterprise nodes having an association relationship with the designated enterprise node;

[0008] Based on the characteristic vectors of each enterprise node in the enterprise node sequence corresponding to each designated enterprise node in the enterprise supply chain network diagram, the cluster center in each enterprise node sequence is determined, and the related enterprises in the enterprise supply chain network diagram are identified according to the each enterprise node sequence and the determined cluster centers.

[0009] In the method for identifying associated enterprises provided in the embodiment of the present invention, a server responds to a trigger request for querying associated enterprises in an enterprise supply chain network, and obtains an enterprise supply chain network diagram. The enterprise supply chain network diagram is an enterprise network diagram pre-constructed based on the supply relationship between enterprises, with a first transaction party and a second transaction party as nodes, and a weight between the first transaction party and the second transaction party as the weight of the edge between the first transaction party and the second transaction party. The weight between the first transaction party and the second transaction party represents the initial degree of association between the first transaction party and the second transaction party. The weight between the first transaction party and the second transaction party is determined based on the acquired transaction amount of the first transaction party, the transaction amount of the second transaction party, the enterprise information of the first transaction party, and the enterprise information of the second transaction party. Then, for each designated enterprise node in the enterprise supply chain network diagram, based on a preset network model and the weight of the edge in the enterprise supply chain network diagram, an enterprise node sequence corresponding to the designated enterprise node and a feature vector of each enterprise node in the enterprise node sequence are obtained. The enterprise node sequence is a collection of enterprise nodes having an association relationship with the designated enterprise node. Based on each designated enterprise node in the enterprise supply chain network diagram, a feature vector of each enterprise node in the enterprise node sequence is obtained. The characteristic vectors of each enterprise node in the corresponding enterprise node sequence determine the cluster center in each enterprise node sequence, and the associated enterprises in the enterprise supply chain network diagram are identified according to each enterprise node sequence and the determined cluster centers. Compared with the prior art, the method for identifying associated enterprises provided in the embodiment of the present invention determines the weights between enterprises with supply relationships based on the acquired transaction amounts and enterprise information of the enterprises, and pre-constructs the enterprise supply chain network diagram by taking the enterprises as nodes and the weights between the enterprises as the weights of the edges between the enterprises. According to the preset network model and the weights between the enterprises obtained based on the transaction amounts and enterprise information of the enterprises, sampling is performed to obtain an enterprise node sequence with a stronger correlation with the designated enterprise node and the characteristic vectors of each enterprise node in the enterprise node sequence, and based on the characteristic vectors of each enterprise node in the enterprise node sequence corresponding to each designated enterprise node in the enterprise supply chain network diagram, the cluster center in each enterprise node sequence is obtained, and the associated enterprises in the enterprise supply chain network diagram are identified by the clustering method. The above method can more accurately identify the associated enterprises in the enterprise supply chain network diagram, and effectively improve the recognition accuracy of the associated enterprises in the enterprise supply chain network.

[0010] Preferably, the enterprise information includes the enterprise's production and operation address information, industry information and business scope information;

[0011] The weight between the first transaction party and the second transaction party is determined by:

[0012] determining an initial association degree between the first transaction party and the second transaction party;

[0013] When it is determined that the production and operation address information, industry information, and business scope information in the enterprise information of the first transaction party and the second transaction party are all different, the initial correlation between the first transaction party and the second transaction party is determined as the weight between the first transaction party and the second transaction party;

[0014] When it is determined that the production and operation address information, industry information and business scope information in the corporate information of the first transaction party and the second transaction party are identical corporate information, the product of the preset weight of the identical corporate information and the initial correlation degree is determined as the weight between the first transaction party and the second transaction party.

[0015] Preferably, determining the initial association degree between the first transaction party and the second transaction party specifically includes:

[0016] Obtain the total transaction amount of each of the first transaction party and the second transaction party in each of the 12 months of the year to be queried, and generate corresponding 12-dimensional vectors respectively;

[0017] Calculating the Euclidean distance between the 12-dimensional vector corresponding to the first transaction party and the 12-dimensional vector corresponding to the second transaction party;

[0018] The Euclidean distance is determined as an initial association degree between the first transaction party and the second transaction party.

[0019] Preferably, the preset network model is a Node2vec model; and

[0020] For each designated enterprise node in the enterprise supply chain network diagram, based on a preset network model and the weight of the edge in the enterprise supply chain network diagram, an enterprise node sequence corresponding to the enterprise node and a feature vector of each enterprise node in the enterprise node sequence are obtained, specifically including:

[0021] Determine, according to the weight between the first transaction party and the second transaction party in the enterprise supply chain network diagram, a transfer probability between an enterprise node corresponding to the first transaction party and an enterprise node corresponding to the second transaction party;

[0022] For each designated enterprise node in the enterprise supply chain network diagram, based on the Node2vec model, according to a preset random walk algorithm and the probability of each enterprise node transferring to an enterprise node connected thereto, obtain an enterprise node sequence corresponding to the designated enterprise node;

[0023] A feature vector of each enterprise node in the enterprise node sequence is obtained according to the Word2vec model.

[0024] Preferably, determining the cluster center in each enterprise node sequence based on the feature vector of each enterprise node in the enterprise node sequence corresponding to each designated enterprise node in the enterprise supply chain network diagram specifically includes:

[0025] For each enterprise node sequence, a density peak-based clustering algorithm is used to determine the density value and distance value of each enterprise node in the enterprise node sequence according to the feature vector of each enterprise node in the enterprise node sequence;

[0026] The enterprise node with the maximum density value and the maximum distance value is determined as the cluster center in the enterprise node sequence.

[0027] Since the existing identification method of related enterprises in the enterprise supply chain network based on traditional clustering algorithms (such as K-means algorithm) must specify the number of clusters, that is, the K value must be given, and the initial K center points are randomly selected, the clustering result has a large randomness, and the final clustering result will be different due to different initial points, resulting in low efficiency in identifying related enterprises. In the above preferred implementation, a clustering algorithm based on density peak is adopted to determine the density value and distance value of each enterprise node in the enterprise node sequence according to the characteristic vector of each enterprise node in the enterprise node sequence, and the enterprise node with the maximum density value and distance value is determined as the cluster center in the enterprise node sequence. By using the clustering algorithm based on density peak to calculate and compare the density value and distance value of each enterprise node in the enterprise node sequence to find the cluster center, clustering in the enterprise supply chain network is realized more accurately and effectively, and the identification efficiency of related enterprises in the enterprise supply chain network is improved.

[0028] Preferably, identifying the associated enterprises in the enterprise supply chain network diagram according to the enterprise node sequences and the determined cluster centers specifically includes:

[0029] Each enterprise node in the enterprise node sequence with the same cluster center is determined as an associated enterprise.

[0030] In a second aspect, an embodiment of the present invention provides a device for identifying an associated enterprise, including:

[0031] A first acquisition unit is configured to acquire an enterprise supply chain network diagram in response to a trigger request for querying associated enterprises in an enterprise supply chain network, wherein the enterprise supply chain network diagram is an enterprise network diagram constructed based on the supply relationship between enterprises, with a first transaction party and a second transaction party as nodes, and a weight between the first transaction party and the second transaction party as a weight of an edge between the first transaction party and the second transaction party, wherein the weight between the first transaction party and the second transaction party represents an initial degree of association between the first transaction party and the second transaction party, and the weight between the first transaction party and the second transaction party is determined based on the acquired transaction amount of the first transaction party, the transaction amount of the second transaction party, the enterprise information of the first transaction party, and the enterprise information of the second transaction party;

[0032] A second acquisition unit is used to acquire, for each designated enterprise node in the enterprise supply chain network diagram, an enterprise node sequence corresponding to the designated enterprise node and a feature vector of each enterprise node in the enterprise node sequence based on a preset network model and the weight of the edge in the enterprise supply chain network diagram, wherein the enterprise node sequence is a collection of enterprise nodes having an association relationship with the designated enterprise node;

[0033] An identification unit is used to determine the cluster center in each enterprise node sequence corresponding to each designated enterprise node in the enterprise supply chain network diagram based on the feature vector of each enterprise node in the enterprise node sequence corresponding to each designated enterprise node in the enterprise supply chain network diagram, and identify the related enterprises in the enterprise supply chain network diagram according to the enterprise node sequence and the determined cluster centers.

[0034] Preferably, the enterprise information includes the enterprise's production and operation address information, industry information and business scope information;

[0035] The first acquisition unit is specifically used to determine the weight between the first transaction party and the second transaction party in the following manner: determine the initial correlation between the first transaction party and the second transaction party; when it is determined that the production and operation address information, industry information and business scope information in the corporate information of the first transaction party and the second transaction party are different, determine the initial correlation between the first transaction party and the second transaction party as the weight between the first transaction party and the second transaction party; when it is determined that the production and operation address information, industry information and business scope information in the corporate information of the first transaction party and the second transaction party contain the same corporate information, determine the product of the preset weight of the same corporate information and the initial correlation as the weight between the first transaction party and the second transaction party.

[0036] Preferably, the first acquisition unit is specifically used to obtain the total transaction amount of the first transaction party and the second transaction party in each of the 12 months of the year to be queried, and generate corresponding 12-dimensional vectors for each of them; calculate the Euclidean distance between the 12-dimensional vector corresponding to the first transaction party and the 12-dimensional vector corresponding to the second transaction party; and determine the Euclidean distance as the initial correlation between the first transaction party and the second transaction party.

[0037] Preferably, the preset network model is a Node2vec model; and

[0038] The second acquisition unit is specifically used to determine the transfer probability between the enterprise node corresponding to the first transaction party and the enterprise node corresponding to the second transaction party according to the weight between the first transaction party and the second transaction party in the enterprise supply chain network diagram; for each designated enterprise node in the enterprise supply chain network diagram, based on the Node2vec model according to a preset random walk algorithm and the probability of each enterprise node transferring to the enterprise node connected thereto, obtain the enterprise node sequence corresponding to the designated enterprise node; and obtain the feature vector of each enterprise node in the enterprise node sequence according to the Word2vec model.

[0039] Preferably, the identification unit is specifically used to determine, for each enterprise node sequence, the density value and distance value of each enterprise node in the enterprise node sequence according to the feature vector of each enterprise node in the enterprise node sequence using a density peak-based clustering algorithm; and determine the enterprise node with the maximum density value and distance value as the cluster center in the enterprise node sequence.

[0040] Preferably, the identification unit is specifically used to determine each enterprise node in the enterprise node sequence with the same cluster center as an associated enterprise.

[0041] The technical effects of the associated enterprise identification device provided by the present invention can refer to the technical effects of the above-mentioned first aspect or each implementation method of the first aspect, and will not be repeated here.

[0042] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method for identifying associated enterprises described in the present invention when executing the program.

[0043] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for identifying associated enterprises described in the present invention.

[0044] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0046] Figure 1 A schematic diagram of an application scenario of the method for identifying an associated enterprise provided by an embodiment of the present invention;

[0047] Figure 2 A schematic diagram of an implementation flow of a method for identifying an associated enterprise provided in an embodiment of the present invention;

[0048] Figure 3 A schematic diagram of an implementation flow of determining a weight between a first transaction party and a second transaction party provided in an embodiment of the present invention;

[0049] Figure 4 A schematic diagram of an implementation flow of determining the initial correlation between enterprises having a supply relationship provided by an embodiment of the present invention;

[0050] Figure 5 An exemplary enterprise supply chain network diagram provided for an embodiment of the present invention;

[0051] Figure 6 A schematic diagram of an implementation process of obtaining an enterprise node sequence corresponding to a designated enterprise node in an enterprise supply chain network diagram and a feature vector of each enterprise node in the enterprise node sequence provided by an embodiment of the present invention;

[0052] Figure 7 A schematic diagram of an implementation process of determining the cluster center in each enterprise node sequence provided by an embodiment of the present invention;

[0053] Figure 8 A schematic diagram of the structure of an identification device for an associated enterprise provided by an embodiment of the present invention;

[0054] Fig. 9 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0055] In order to solve the problem of low recognition accuracy of related enterprises in an enterprise supply chain network in the prior art, an embodiment of the present invention provides a method, device, electronic device and storage medium for identifying related enterprises.

[0056] First reference Figure 1 , which is a schematic diagram of an application scenario of the method for identifying associated enterprises provided in an embodiment of the present invention, and may include a terminal 110 and a server 120. When it is necessary to query the associated enterprises in the enterprise supply chain network, for example, when the server 120 receives a query request for associated enterprises in the enterprise supply chain network sent by the terminal 110, the server 120 may return the identified associated enterprises to the terminal 110 according to the query request for associated enterprises in the enterprise supply chain network. In another application scenario, the server 120 may also automatically trigger the query of associated enterprises in the enterprise supply chain network. For example, the server 120 may be set to automatically execute the steps in the method for identifying associated enterprises provided in the embodiment of the present invention at preset intervals to identify associated enterprises in the enterprise supply chain network; or a manager may trigger a request for querying associated enterprises in the enterprise supply chain network, and the server 120 responds to the trigger request and executes the steps in the method for identifying associated enterprises provided in the embodiment of the present invention to identify associated enterprises in the enterprise supply chain network.

[0057] The server 120 may be an independent physical server or a cloud server that provides basic cloud computing services such as cloud servers, cloud databases, and cloud storage. The terminal 110 may be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, etc. The server 120 and the terminal 110 may be connected via a network, which is not limited in the embodiment of the present invention.

[0058] Based on the above application scenarios, the following will refer to the attached Figure 2 to Figure 7 The exemplary embodiments of the present invention are described in more detail. It should be noted that the above application scenarios are only shown to facilitate understanding of the spirit and principle of the present invention, and the embodiments of the present invention are not limited in any way. On the contrary, the embodiments of the present invention can be applied to any applicable scenario.

[0059] The preferred embodiments of the present invention are described below in conjunction with the drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention. In addition, the embodiments of the present invention and the features in the embodiments may be combined with each other if there is no conflict.

[0060] like Figure 2 As shown, it is a schematic diagram of the implementation process of the method for identifying an associated enterprise provided by an embodiment of the present invention. The method for identifying an associated enterprise can be applied to the above-mentioned server 120. The method for identifying an associated enterprise may include the following steps:

[0061] S11. In response to a trigger request for querying an associated enterprise in an enterprise supply chain network, an enterprise supply chain network diagram is obtained, wherein the enterprise supply chain network diagram is an enterprise network diagram constructed based on the supply relationship between enterprises, with the first transaction party and the second transaction party as nodes, and the weight between the first transaction party and the second transaction party as the weight of the edge between the first transaction party and the second transaction party.

[0062] In a specific implementation, the server responds to a trigger request for querying associated enterprises in an enterprise supply chain network, and obtains a locally stored enterprise supply chain network diagram, wherein the enterprise supply chain network diagram is an enterprise network diagram constructed in advance based on the supply relationship between enterprises, with the first transaction party and the second transaction party as nodes, and the weight between the first transaction party and the second transaction party as the weight of the edge between the first transaction party and the second transaction party. The weight between the first transaction party and the second transaction party represents the initial degree of association between the first transaction party and the second transaction party. The weight between the first transaction party and the second transaction party is determined based on the acquired transaction amount of the first transaction party, the transaction amount of the second transaction party, the enterprise information of the first transaction party, and the enterprise information of the second transaction party. The first transaction party and the second transaction party are two enterprises with a supply relationship, i.e., a transaction relationship. Specifically, the first transaction party may be a selling enterprise and the second transaction party may be a purchasing enterprise, or the first transaction party may be a purchasing enterprise and the second transaction party may be a selling enterprise. The embodiment of the present invention does not limit this, and the first transaction party may be recorded as the first enterprise and the second transaction party as the second enterprise.

[0063] Specifically, when establishing the enterprise supply chain network diagram, the server obtains enterprise tax data from the tax system (such as the Golden Tax Phase III tax management information system or the Star Map tax system, etc.), and the enterprise tax data may include but is not limited to the following data: enterprise information, invoice transaction amounts between the selling enterprise and the buying enterprise, wherein the enterprise information may include but is not limited to the following information: enterprise name, enterprise code, production and operation address of the enterprise, industry to which the enterprise belongs, business scope of the enterprise and other information. The invoice in the embodiment of the present invention may be but is not limited to a value-added tax invoice. Furthermore, according to the supply relationship between enterprises (i.e., the transaction relationship between the two parties to the transaction), the enterprise supply chain network diagram is constructed with the buying enterprise and the selling enterprise as nodes, and the weight between the buying enterprise and the selling enterprise as the weight of the edge between the buying enterprise and the selling enterprise.

[0064] According to Figure 3 The process shown in the figure determines the weight between the first transaction party and the second transaction party, that is, determines the weight between any two enterprises having a supply relationship, and may include the following steps:

[0065] S21. Determine an initial correlation between the first transaction party and the second transaction party.

[0066] During specific implementation, the server determines the initial correlation between enterprises having a supply relationship (ie, a transaction relationship).

[0067] Specifically, according to Figure 4 The process shown in the figure determines the initial correlation between any two enterprises with a supply relationship, and may include the following steps:

[0068] S31. Obtain the total transaction amount of each of the first transaction party and the second transaction party in each of the 12 months of the year to be queried, and generate corresponding 12-dimensional vectors for each of them.

[0069] In specific implementation, the server obtains the total transaction amount of the first enterprise and the second enterprise with supply relationship in each of the 12 months of the query year, and generates 12-dimensional vectors corresponding to the first enterprise and the second enterprise respectively, wherein the total transaction amount of the first enterprise in each of the 12 months of the query year refers to the sum of the transaction amounts between the first enterprise and all other enterprises with supply relationship, and similarly, the total transaction amount of the second enterprise in each of the 12 months of the query year refers to the sum of the transaction amounts between the second enterprise and all other enterprises with supply relationship. Figure 5 As shown in the figure, it is an exemplary enterprise supply chain network diagram. The calculation of the initial correlation between Enterprise A and Enterprise B is used as an example for explanation. Assuming that the query year is 2020, and assuming that it is known from the obtained VAT invoice data that Enterprise A has transaction relationships with Enterprise B, Enterprise D, Enterprise E, and Enterprise F from January to December 2020, then taking the total transaction amount of Enterprise A in January as an example, the total transaction amount of Enterprise A in January is the total transaction amount between Enterprise A and Enterprise B in January plus the total transaction amount between Enterprise A and Enterprise D plus the total transaction amount between Enterprise A and Enterprise E plus the total transaction amount between Enterprise A and Enterprise F, and so on. Calculate the total transaction amount of Company A for each month from January to December, and then convert the total transaction amount of Company A for each month from January to December into a vector form. Since there are 12 months, set the vector dimension to 12, and then convert the total transaction amount of Company A for each month from January to December into a 12-dimensional vector. In specific implementation, the Flatten function in Python can be used to convert the total transaction amount of Company A for each month from January to December into a 12-dimensional vector. The embodiment of the present invention does not limit this. Similarly, convert the total transaction amount of Company B for each month from January to December into a 12-dimensional vector, which will not be repeated here. Assume that the 12-dimensional vector corresponding to Company A is: a(x 1,1 ,x 1,2 ,x 1,3 ,……,x 1,12 ), the 12-dimensional vector corresponding to enterprise B is: b(x 1,1,x 1,2 ,x 1,3 ,……,x 1,12 ).

[0070] S32. Calculate the Euclidean distance between the 12-dimensional vector corresponding to the first transaction party and the 12-dimensional vector corresponding to the second transaction party.

[0071] In specific implementation, the Euclidean distance R between the 12-dimensional vector corresponding to the first enterprise and the 12-dimensional vector corresponding to the second enterprise having a supply relationship is calculated by the following formula:

[0072]

[0073] Among them, k=1,2,…,n, n=12.

[0074] S33: Determine the Euclidean distance as the initial association degree between the first transaction party and the second transaction party.

[0075] In a specific implementation, the Euclidean distance R between the 12-dimensional vector corresponding to the first enterprise having a supply relationship and the 12-dimensional vector corresponding to the second enterprise is determined as the initial correlation between the first enterprise and the second enterprise.

[0076] S22. When it is determined that the production and operation address information, industry information and business scope information in the corporate information of the first transaction party and the second transaction party are different, the initial correlation between the first transaction party and the second transaction party is determined as the weight between the first transaction party and the second transaction party; when it is determined that the production and operation address information, industry information and business scope information in the corporate information of the first transaction party and the second transaction party contain the same corporate information, the product of the preset weight of the same corporate information and the initial correlation is determined as the weight between the first transaction party and the second transaction party.

[0077] In specific implementation, different weights are set for different enterprise information in advance according to the importance of each enterprise information. It is assumed that the weight of the enterprise's business address is ω1, the weight of the industry to which the enterprise belongs is ω2, and the weight of the enterprise's business scope is ω3. Among them, each preset weight ω1, ω2, ω3 can be set according to actual conditions, and the embodiment of the present invention does not limit this. If the production and operation address of the first enterprise and the production and operation address of the second enterprise, the industry to which the first enterprise belongs and the industry described by the second enterprise, and the business scope of the first enterprise and the business scope of the second enterprise are all different, then the initial correlation between the first enterprise and the second enterprise is determined as the weight between the first enterprise and the second enterprise, that is: ω vx =R, where ω vxRepresents the weight between the first enterprise and the second enterprise with a supply relationship (i.e., the weight between the first transaction party and the second transaction party, that is, the weight of the edge between the first transaction party and the second transaction party in the enterprise supply chain network diagram). If the first enterprise and the second enterprise have the same enterprise information in their production and operation address, industry, and business scope, the product of the preset weight of the same enterprise information and the initial correlation R is determined as the weight between the first enterprise and the second enterprise (i.e., the weight between the first transaction party and the second transaction party, that is, the weight of the edge between the first transaction party and the second transaction party in the enterprise supply chain network diagram). For example, if the production and operation address of the first enterprise is the same as the production and operation address of the second enterprise, then ω vx =R*ω1; if the industry to which the first enterprise belongs is the same as the industry to which the second enterprise belongs, then ω vx =R*ω2; if the business scope of the first enterprise is the same as that of the second enterprise, then ω vx =R*ω3; if the production and operation address of the first enterprise is the same as that of the second enterprise, and the industry to which the first enterprise belongs is the same as that to which the second enterprise belongs, then ω vx =R*ω1*ω2; if the production and operation address of the first enterprise is the same as that of the second enterprise, and the business scope of the first enterprise is the same as that of the second enterprise, then ω vx =R*ω1*ω3; if the industry to which the first enterprise belongs is the same as that to which the second enterprise belongs, and the business scope of the first enterprise is the same as that of the second enterprise, then ω vx =R*ω2*ω3; if the production and operation address of the first enterprise is the same as that of the second enterprise, and the industry to which the first enterprise belongs is the same as that of the second enterprise, and the business scope of the first enterprise is also the same as that of the second enterprise, then ω vx =R*ω1*ω2*ω3.

[0078] S12. For each designated enterprise node in the enterprise supply chain network diagram, based on a preset network model and the weights of the edges in the enterprise supply chain network diagram, obtain an enterprise node sequence corresponding to the designated enterprise node and a feature vector of each enterprise node in the enterprise node sequence.

[0079] In specific implementation, for each designated enterprise node in the enterprise supply chain network graph, the server obtains the enterprise node sequence corresponding to the designated enterprise node and the feature vector of each enterprise node in the enterprise node sequence based on the preset network model and the weight of the edge in the enterprise supply chain network graph, wherein the enterprise node sequence is a collection of enterprise nodes associated with the designated enterprise node. The designated enterprise node may be any given enterprise node in the enterprise supply chain network graph, and the preset network model may be, but is not limited to, a Node2vec model.

[0080] Specifically, according to Figure 6 The process shown in the figure obtains the enterprise node sequence corresponding to the designated enterprise node in the enterprise supply chain network diagram and the feature vector of each enterprise node in the enterprise node sequence, and may include the following steps:

[0081] S41. Determine the transfer probability between the enterprise node corresponding to the first transaction party and the enterprise node corresponding to the second transaction party according to the weight between the first transaction party and the second transaction party in the enterprise supply chain network graph.

[0082] During specific implementation, the server determines the transfer probability between the enterprise node corresponding to the first transaction party and the enterprise node corresponding to the second transaction party according to the weight between the first transaction party and the second transaction party in the enterprise supply chain network diagram, wherein the transfer probability between the enterprise node corresponding to the first transaction party and the enterprise node corresponding to the second transaction party includes: the probability of the enterprise node corresponding to the first transaction party transferring to the enterprise node corresponding to the second transaction party, and the probability of the enterprise node corresponding to the second transaction party transferring to the enterprise node corresponding to the first transaction party, and the probability of the enterprise node corresponding to the first transaction party transferring to the enterprise node corresponding to the second transaction party is equal to the probability of the enterprise node corresponding to the second transaction party transferring to the enterprise node corresponding to the first transaction party.

[0083] Specifically, the server determines the transfer probability between the first enterprise node and the second enterprise node according to the weight between the first enterprise and the second enterprise having a supply relationship in the enterprise supply chain network graph.

[0084] In specific implementation, for a given enterprise node v, the probability of transferring to the next enterprise node x is:

[0085]

[0086] Among them, P((c i =x|c i-1 =v)) represents the probability of transferring from enterprise node v to enterprise node x;

[0087] ω vx represents the weight of the edge between enterprise node v and enterprise node x;

[0088] z is a normalization constant.

[0089] Because ω vx is the weight of the edge between enterprise node v and enterprise node x, z is a constant, then the probability of transferring from enterprise node v to enterprise node x is the same as the probability of transferring from enterprise node x to enterprise node v, the value of z can be set according to empirical values, and the embodiment of the present invention is not limited to this.

[0090] S42. For each designated enterprise node in the enterprise supply chain network diagram, based on the Node2vec model, according to a preset random walk algorithm and the probability of each enterprise node transferring to the enterprise node connected thereto, obtain the enterprise node sequence corresponding to the designated enterprise node.

[0091] In specific implementation, the Node2vec model is a network model that can generate node vectors in the network. The goal of the Node2vec model optimization is to maximize the probability of the neighboring nodes of each node under given conditions. Assume that f(u) is the mapping function that maps any specified enterprise node u in the enterprise supply chain network graph to the embedding vector. For each specified enterprise node u in the enterprise supply chain network graph, define N s (u) is the set of neighboring enterprise nodes of the specified enterprise node u sampled by the sampling strategy S. The sampling strategy S is the adopted random walk algorithm. Then the objective function is:

[0092] max f ∑ u∈V logPr(N s (u)|f(u))

[0093] Among them, Pr(N s f(u) represents the probability of the neighboring enterprise nodes of the specified enterprise node u appearing.

[0094] In order to make the above optimization problem solvable, two assumptions are introduced:

[0095] The first assumption is conditional independence. For each specified enterprise node u, its neighboring enterprise nodes are independent, and the probability of its neighboring enterprise nodes appearing is independent of other enterprise nodes in the neighboring enterprise node set. Therefore, the probability of the neighboring enterprise nodes of the specified enterprise node u appearing is equal to the multiplication of the probability of each neighboring enterprise node appearing in the neighboring enterprise node set, that is:

[0096]

[0097] Among them, n irepresents the i-th enterprise node in the set of neighboring enterprise nodes of the specified enterprise node u;

[0098] Pr(n i |f(u)) represents the probability of occurrence of the i-th enterprise node in the set of neighboring enterprise nodes of the specified enterprise node u.

[0099] The second assumption is the symmetry in feature space. For example, if an edge connects a and b, then when mapped to the feature space, the effect of a on b and the effect of b on a should be the same. A model is used to represent a (node, adjacent node) pair:

[0100]

[0101] Combining the above two assumptions, the final objective function is:

[0102]

[0103] The final objective function obtained above can be understood as obtaining the vector of each enterprise node by finding the maximum value of the function, where the normalization factor Z u= ∑ ni∈Ns(u) exp(f(n i )·f(u)).

[0104] Furthermore, according to the probability of transferring from the current designated enterprise node to the next enterprise node and the sampling strategy S determined in step S41, that is, the random walk algorithm adopted, the enterprise node sequence N corresponding to the designated enterprise node can be obtained. u= {s1,s2,s3,…,s n}, wherein n is the number of enterprise nodes in the enterprise node sequence. The random walk algorithm is not limited in the embodiment of the present invention and can be selected as needed. For example, a depth-first sampling (DFS) algorithm or a breadth-first sampling (BFS) algorithm can be used, which is not limited in the embodiment of the present invention.

[0105] S43. Obtain a feature vector of each enterprise node in the enterprise node sequence according to the Word2vec model.

[0106] In specific implementation, each enterprise node in the enterprise node sequence corresponding to the designated node obtained in step S42 is input into the Word2vec model to obtain a feature vector of each enterprise node in the enterprise node sequence.

[0107] In the embodiment of the present invention, the weights between enterprises are defined according to the production and operation addresses of the enterprises, the industries to which the enterprises belong, and the business scopes of the enterprises, and a specific sampling method is adopted based on the Node2vec model and the customized weights to obtain a more correlated enterprise node sequence.

[0108] S13. Determine the cluster center in each enterprise node sequence based on the feature vector of each enterprise node in the enterprise node sequence corresponding to each designated enterprise node in the enterprise supply chain network diagram, and identify the related enterprises in the enterprise supply chain network diagram according to the enterprise node sequence and the determined cluster centers.

[0109] In specific implementation, Figure 7 The process shown determines the cluster center in each enterprise node sequence, and may include the following steps:

[0110] S51. For each enterprise node sequence, a density peak-based clustering algorithm is used to determine the density value and distance value of each enterprise node in the enterprise node sequence according to the feature vector of each enterprise node in the enterprise node sequence.

[0111] In specific implementation, for each designated enterprise node in the obtained enterprise supply chain network diagram, a density peak (DP)-based clustering algorithm is used to determine the density value and distance value of each enterprise node in the enterprise node sequence according to the feature vector of each enterprise node in the enterprise node sequence.

[0112] Specifically, assuming that the enterprise node sequence N u= {s1,s2,s3,…,s n The feature vector set of each enterprise node in} is: I S ={1,2,…,n}, then the density value of each enterprise node in the enterprise node sequence is calculated by the following formula:

[0113]

[0114] in,

[0115] p i represents the density value of the i-th enterprise node in the enterprise node sequence, and n is the number of enterprise nodes in the enterprise node sequence;

[0116] d ij Represents x i and x j The distance between i represents the feature vector of the i-th enterprise node in the enterprise node sequence, x jRepresents the feature vector of the jth enterprise node in the enterprise node sequence;

[0117] d c is the cutoff distance;

[0118] d ij = dist(x i ,x j ), which can be but is not limited to x i and x j The Euclidean distance between .

[0119] The distance value of each enterprise node in the enterprise node sequence is calculated by the following formula:

[0120]

[0121] Among them, δ i Represents the distance value of the i-th enterprise node in the enterprise node sequence.

[0122] Through the above density value formula and distance value formula, the density value and distance value of each enterprise node in the enterprise node sequence are obtained: (p1, δ1), (p2, δ2), (p3, δ3), ..., (p n , δ n ).

[0123] S52: Determine the enterprise node whose density value and distance value are both the maximum as the cluster center in the enterprise node sequence.

[0124] In the specific implementation, the density value and distance value (p1, δ1), (p2, δ2), (p3, δ3), ..., (p n , δ n ) as coordinate points to construct a rectangular coordinate system, in which the point in the upper right corner of the rectangular coordinate system is the cluster center of the enterprise node sequence: that is, the enterprise node with the maximum density value and distance value.

[0125] Then, identifying the associated enterprises in the enterprise supply chain network diagram according to the enterprise node sequences and the determined cluster centers specifically includes:

[0126] Each enterprise node in the enterprise node sequence with the same cluster center is determined as an associated enterprise.

[0127] In the method for identifying associated enterprises provided in the embodiment of the present invention, a server responds to a trigger request for querying associated enterprises in an enterprise supply chain network, and obtains an enterprise supply chain network diagram. The enterprise supply chain network diagram is an enterprise network diagram pre-constructed based on the supply relationship between enterprises, with a first transaction party and a second transaction party as nodes, and a weight between the first transaction party and the second transaction party as the weight of the edge between the first transaction party and the second transaction party. The weight between the first transaction party and the second transaction party represents the initial degree of association between the first transaction party and the second transaction party. The weight between the first transaction party and the second transaction party is determined based on the acquired transaction amount of the first transaction party, the transaction amount of the second transaction party, the enterprise information of the first transaction party, and the enterprise information of the second transaction party. Then, for each designated enterprise node in the enterprise supply chain network diagram, based on a preset network model and the weight of the edge in the enterprise supply chain network diagram, an enterprise node sequence corresponding to the designated enterprise node and a feature vector of each enterprise node in the enterprise node sequence are obtained. The enterprise node sequence is a collection of enterprise nodes having an association relationship with the designated enterprise node. Based on each designated enterprise node in the enterprise supply chain network diagram, a feature vector of each enterprise node in the enterprise node sequence is obtained. The characteristic vectors of each enterprise node in the corresponding enterprise node sequence determine the cluster center in each enterprise node sequence, and the associated enterprises in the enterprise supply chain network diagram are identified according to each enterprise node sequence and the determined cluster centers. Compared with the prior art, the method for identifying associated enterprises provided in the embodiment of the present invention determines the weights between enterprises with supply relationships based on the acquired transaction amounts and enterprise information of the enterprises, and pre-constructs the enterprise supply chain network diagram by taking the enterprises as nodes and the weights between the enterprises as the weights of the edges between the enterprises. According to the preset network model and the weights between the enterprises obtained based on the transaction amounts and enterprise information of the enterprises, sampling is performed to obtain an enterprise node sequence with a stronger correlation with the designated enterprise node and the characteristic vectors of each enterprise node in the enterprise node sequence, and based on the characteristic vectors of each enterprise node in the enterprise node sequence corresponding to each designated enterprise node in the enterprise supply chain network diagram, the cluster center in each enterprise node sequence is obtained, and the associated enterprises in the enterprise supply chain network diagram are identified by the clustering method. The above method can more accurately identify the associated enterprises in the enterprise supply chain network diagram, and effectively improve the recognition accuracy of the associated enterprises in the enterprise supply chain network.

[0128] Based on the same inventive concept, an embodiment of the present invention also provides an identification device for an associated enterprise. Since the principle of solving the problem by the identification device for an associated enterprise is similar to that of the identification method for an associated enterprise, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0129] like Figure 8 As shown, it is a schematic diagram of the structure of the associated enterprise identification device provided by an embodiment of the present invention, which may include:

[0130] A first acquisition unit 61 is used to respond to a trigger request for querying associated enterprises in an enterprise supply chain network, and acquire an enterprise supply chain network diagram, wherein the enterprise supply chain network diagram is an enterprise network diagram constructed based on the supply relationship between enterprises, with the first transaction party and the second transaction party as nodes, and the weight between the first transaction party and the second transaction party as the weight of the edge between the first transaction party and the second transaction party, wherein the weight between the first transaction party and the second transaction party represents the initial degree of association between the first transaction party and the second transaction party, and the weight between the first transaction party and the second transaction party is determined based on the acquired transaction amount of the first transaction party, the transaction amount of the second transaction party, the enterprise information of the first transaction party, and the enterprise information of the second transaction party;

[0131] A second acquisition unit 62 is used to acquire, for each designated enterprise node in the enterprise supply chain network diagram, an enterprise node sequence corresponding to the designated enterprise node and a feature vector of each enterprise node in the enterprise node sequence based on a preset network model and the weight of the edge in the enterprise supply chain network diagram, wherein the enterprise node sequence is a set of enterprise nodes associated with the designated enterprise node;

[0132] The identification unit 63 is used to determine the cluster center in each enterprise node sequence corresponding to each designated enterprise node in the enterprise supply chain network diagram based on the feature vector of each enterprise node in the enterprise node sequence corresponding to each designated enterprise node in the enterprise supply chain network diagram, and identify the related enterprises in the enterprise supply chain network diagram according to the enterprise node sequence and the determined cluster centers.

[0133] Preferably, the enterprise information includes the enterprise's production and operation address information, industry information and business scope information;

[0134] The first acquisition unit 61 is specifically used to determine the weight between the first transaction party and the second transaction party in the following manner: determine the initial correlation between the first transaction party and the second transaction party; when it is determined that the production and operation address information, industry information and business scope information in the corporate information of the first transaction party and the second transaction party are different, determine the initial correlation between the first transaction party and the second transaction party as the weight between the first transaction party and the second transaction party; when it is determined that the production and operation address information, industry information and business scope information in the corporate information of the first transaction party and the second transaction party contain the same corporate information, determine the product of the preset weight of the same corporate information and the initial correlation as the weight between the first transaction party and the second transaction party.

[0135] Preferably, the first acquisition unit 61 is specifically used to obtain the total transaction amount of the first transaction party and the second transaction party in each of the 12 months of the year to be queried, and generate corresponding 12-dimensional vectors for each of them; calculate the Euclidean distance between the 12-dimensional vector corresponding to the first transaction party and the 12-dimensional vector corresponding to the second transaction party; and determine the Euclidean distance as the initial correlation between the first transaction party and the second transaction party.

[0136] Preferably, the preset network model is a Node2vec model; and

[0137] The second acquisition unit 62 is specifically used to determine the transfer probability between the enterprise node corresponding to the first transaction party and the enterprise node corresponding to the second transaction party according to the weight between the first transaction party and the second transaction party in the enterprise supply chain network diagram; for each designated enterprise node in the enterprise supply chain network diagram, based on the Node2vec model according to a preset random walk algorithm and the probability of each enterprise node transferring to the enterprise node connected thereto, obtain the enterprise node sequence corresponding to the designated enterprise node; and obtain the feature vector of each enterprise node in the enterprise node sequence according to the Word2vec model.

[0138] Preferably, the identification unit 63 is specifically used to determine, for each enterprise node sequence, the density value and distance value of each enterprise node in the enterprise node sequence according to the feature vector of each enterprise node in the enterprise node sequence using a density peak-based clustering algorithm; and determine the enterprise node with the maximum density value and distance value as the cluster center in the enterprise node sequence.

[0139] Preferably, the identification unit 63 is specifically used to determine each enterprise node in the enterprise node sequence with the same cluster center as an associated enterprise.

[0140] Based on the same technical concept, the embodiment of the present invention further provides an electronic device 700, referring to Fig. 9 As shown, the electronic device 700 is used to implement the method for identifying an associated enterprise described in the above method embodiment. The electronic device 700 of this embodiment may include: a memory 701, a processor 702, and a computer program stored in the memory and executable on the processor, such as an associated enterprise identification program. When the processor executes the computer program, the steps in the above-mentioned methods for identifying an associated enterprise are implemented, such as Figure 2 Alternatively, the processor implements the functions of each module / unit in the above-mentioned device embodiments when executing the computer program, such as step 61.

[0141] The specific connection medium between the memory 701 and the processor 702 is not limited in the embodiment of the present invention. Fig. 9 In the embodiment, the memory 701 and the processor 702 are connected via a bus 703. The bus 703 is Fig. 9 The connection between other components is shown by bold lines, which is only for schematic illustration and is not intended to be limiting. The bus 703 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0142] The memory 701 may be a volatile memory, such as a random-access memory (RAM); the memory 701 may also be a non-volatile memory, such as a read-only memory, a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), or the memory 701 may be any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 701 may be a combination of the above memories.

[0143] Processor 702, used to implement Figure 2 A method for identifying an associated enterprise as shown includes:

[0144] The processor 702 is used to call the computer program stored in the memory 701 to execute the following Figure 2 In the step S11 shown in the figure, in response to a trigger request for querying associated enterprises in an enterprise supply chain network, an enterprise supply chain network diagram is obtained, wherein the enterprise supply chain network diagram is an enterprise network diagram constructed based on the supply relationship between enterprises, with the first transaction party and the second transaction party as nodes, and the weight between the first transaction party and the second transaction party as the weight of the edge between the first transaction party and the second transaction party; in the step S12, for each designated enterprise node in the enterprise supply chain network diagram, based on a preset network model and the weight of the edge in the enterprise supply chain network diagram, an enterprise node sequence corresponding to the designated enterprise node and a feature vector of each enterprise node in the enterprise node sequence are obtained; and in the step S13, based on the feature vectors of each enterprise node in the enterprise node sequence corresponding to each designated enterprise node in the enterprise supply chain network diagram, cluster centers in the enterprise node sequences are determined, and associated enterprises in the enterprise supply chain network diagram are identified according to the enterprise node sequences and the determined cluster centers.

[0145] An embodiment of the present application also provides a computer-readable storage medium that stores computer-executable instructions required to execute the above-mentioned processor, which includes a program required to execute the above-mentioned processor.

[0146] In some possible implementations, various aspects of the method for identifying an associated enterprise provided by the present invention may also be implemented in the form of a program product, which includes a program code. When the program product is run on an electronic device, the program code is used to enable the electronic device to execute the steps of the method for identifying an associated enterprise according to various exemplary embodiments of the present invention described above in this specification. For example, the electronic device may execute the following steps: Figure 2 In the step S11 shown in the figure, in response to a trigger request for querying associated enterprises in an enterprise supply chain network, an enterprise supply chain network diagram is obtained, wherein the enterprise supply chain network diagram is an enterprise network diagram constructed based on the supply relationship between enterprises, with the first transaction party and the second transaction party as nodes, and the weight between the first transaction party and the second transaction party as the weight of the edge between the first transaction party and the second transaction party; in the step S12, for each designated enterprise node in the enterprise supply chain network diagram, based on a preset network model and the weight of the edge in the enterprise supply chain network diagram, an enterprise node sequence corresponding to the designated enterprise node and a feature vector of each enterprise node in the enterprise node sequence are obtained; and in the step S13, based on the feature vectors of each enterprise node in the enterprise node sequence corresponding to each designated enterprise node in the enterprise supply chain network diagram, cluster centers in the enterprise node sequences are determined, and associated enterprises in the enterprise supply chain network diagram are identified according to the enterprise node sequences and the determined cluster centers.

[0147] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0148] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (apparatus), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0149] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0150] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0151] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0152] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for identifying an associated enterprise, characterized in that: include: In response to a trigger request for querying associated enterprises in an enterprise supply chain network, an enterprise supply chain network diagram is obtained, wherein the enterprise supply chain network diagram is an enterprise network diagram constructed based on the supply relationship between enterprises, with a first transaction party and a second transaction party as nodes, and a weight between the first transaction party and the second transaction party as the weight of an edge between the first transaction party and the second transaction party, wherein the weight between the first transaction party and the second transaction party represents the initial degree of association between the first transaction party and the second transaction party, and the weight between the first transaction party and the second transaction party is determined based on the acquired transaction amount of the first transaction party, the transaction amount of the second transaction party, the enterprise information of the first transaction party, and the enterprise information of the second transaction party, wherein the enterprise information includes the production and operation address information, the industry information, and the business scope information of the enterprise; The weight between the first transaction party and the second transaction party is determined in the following manner: determining the initial correlation between the first transaction party and the second transaction party; when it is determined that the production and operation address information, industry information and business scope information in the enterprise information of the first transaction party and the second transaction party are different, determining the initial correlation between the first transaction party and the second transaction party as the weight between the first transaction party and the second transaction party; when it is determined that the production and operation address information, industry information and business scope information in the enterprise information of the first transaction party and the second transaction party have the same enterprise information, then determining the product of the preset weight of the same enterprise information and the initial correlation as the weight between the first transaction party and the second transaction party; wherein determining the initial correlation between the first transaction party and the second transaction party specifically includes: respectively obtaining the total transaction amount of each of the first transaction party and the second transaction party in each of the 12 months of the year to be queried, and respectively generating the corresponding 12-dimensional vectors; calculating the Euclidean distance between the 12-dimensional vector corresponding to the first transaction party and the 12-dimensional vector corresponding to the second transaction party; and determining the Euclidean distance as the initial correlation between the first transaction party and the second transaction party; For each designated enterprise node in the enterprise supply chain network diagram, based on a preset network model and the weight of the edge in the enterprise supply chain network diagram, an enterprise node sequence corresponding to the designated enterprise node and a feature vector of each enterprise node in the enterprise node sequence are obtained, wherein the enterprise node sequence is a collection of enterprise nodes having an association relationship with the designated enterprise node; Based on the characteristic vectors of each enterprise node in the enterprise node sequence corresponding to each designated enterprise node in the enterprise supply chain network diagram, the cluster center in each enterprise node sequence is determined, and the related enterprises in the enterprise supply chain network diagram are identified according to the each enterprise node sequence and the determined cluster centers; wherein, based on the characteristic vectors of each enterprise node in the enterprise node sequence corresponding to each designated enterprise node in the enterprise supply chain network diagram, the cluster center in each enterprise node sequence is determined, specifically comprising: for each enterprise node sequence, using a density peak-based clustering algorithm to determine the density value and distance value of each enterprise node in the enterprise node sequence according to the characteristic vector of each enterprise node in the enterprise node sequence; and determining the enterprise node with the maximum density value and distance value as the cluster center in the enterprise node sequence.

2. The method according to claim 1, characterized in that The preset network model is a Node2vec model; and For each designated enterprise node in the enterprise supply chain network diagram, based on a preset network model and the weight of the edge in the enterprise supply chain network diagram, an enterprise node sequence corresponding to the enterprise node and a feature vector of each enterprise node in the enterprise node sequence are obtained, specifically including: Determine, according to the weight between the first transaction party and the second transaction party in the enterprise supply chain network diagram, a transfer probability between an enterprise node corresponding to the first transaction party and an enterprise node corresponding to the second transaction party; For each designated enterprise node in the enterprise supply chain network diagram, based on the Node2vec model, according to a preset random walk algorithm and the probability of each enterprise node transferring to an enterprise node connected thereto, obtain an enterprise node sequence corresponding to the designated enterprise node; A feature vector of each enterprise node in the enterprise node sequence is obtained according to the Word2vec model.

3. The method according to claim 1, characterized in that Identifying the associated enterprises in the enterprise supply chain network diagram according to the enterprise node sequences and the determined cluster centers specifically includes: Each enterprise node in the enterprise node sequence with the same cluster center is determined as an associated enterprise.

4. A device for identifying an associated enterprise, characterized in that: include: A first acquisition unit is configured to acquire an enterprise supply chain network diagram in response to a trigger request for querying associated enterprises in an enterprise supply chain network, wherein the enterprise supply chain network diagram is an enterprise network diagram constructed based on the supply relationship between enterprises, with a first transaction party and a second transaction party as nodes, and a weight between the first transaction party and the second transaction party as the weight of an edge between the first transaction party and the second transaction party, wherein the weight between the first transaction party and the second transaction party represents the initial degree of association between the first transaction party and the second transaction party, and the weight between the first transaction party and the second transaction party is determined based on the acquired transaction amount of the first transaction party, the transaction amount of the second transaction party, the enterprise information of the first transaction party, and the enterprise information of the second transaction party, wherein the enterprise information includes the production and operation address information, the industry information, and the business scope information of the enterprise; The first acquisition unit is specifically used to determine the weight between the first transaction party and the second transaction party in the following manner: determine the initial association degree between the first transaction party and the second transaction party; when it is determined that the production and operation address information, industry information and business scope information in the enterprise information of the first transaction party and the second transaction party are different, determine the initial association degree between the first transaction party and the second transaction party as the weight between the first transaction party and the second transaction party; when it is determined that the production and operation address information, industry information and business scope information in the enterprise information of the first transaction party and the second transaction party have the same enterprise information, determine the product of the preset weight of the same enterprise information and the initial association degree as the weight between the first transaction party and the second transaction party; The first acquisition unit is specifically used to respectively acquire the total transaction amount of each of the first transaction party and the second transaction party in each of the 12 months of the year to be queried, and respectively generate the corresponding 12-dimensional vectors; calculate the Euclidean distance between the 12-dimensional vector corresponding to the first transaction party and the 12-dimensional vector corresponding to the second transaction party; and determine the Euclidean distance as the initial association degree between the first transaction party and the second transaction party; A second acquisition unit is used to acquire, for each designated enterprise node in the enterprise supply chain network diagram, an enterprise node sequence corresponding to the designated enterprise node and a feature vector of each enterprise node in the enterprise node sequence based on a preset network model and the weight of the edge in the enterprise supply chain network diagram, wherein the enterprise node sequence is a collection of enterprise nodes having an association relationship with the designated enterprise node; An identification unit, configured to determine a cluster center in each enterprise node sequence based on a feature vector of each enterprise node in the enterprise node sequence corresponding to each designated enterprise node in the enterprise supply chain network diagram, and identify associated enterprises in the enterprise supply chain network diagram according to each enterprise node sequence and each determined cluster center; The identification unit is specifically used to determine the density value and distance value of each enterprise node in the enterprise node sequence according to the feature vector of each enterprise node in the enterprise node sequence using a density peak-based clustering algorithm for each enterprise node sequence; and determine the enterprise node with the maximum density value and distance value as the cluster center in the enterprise node sequence.

5. The device according to claim 4, characterized in that The preset network model is a Node2vec model; and The second acquisition unit is specifically configured to determine a transition probability between an enterprise node corresponding to the first transaction party and an enterprise node corresponding to the second transaction party according to a weight between the first transaction party and the second transaction party in the enterprise supply chain network diagram; For each designated enterprise node in the enterprise supply chain network diagram, based on the Node2vec model, according to a preset random walk algorithm and the probability of each enterprise node transferring to an enterprise node connected thereto, obtain an enterprise node sequence corresponding to the designated enterprise node; A feature vector of each enterprise node in the enterprise node sequence is obtained according to the Word2vec model.

6. The device according to claim 4, characterized in that The identification unit is specifically used to determine each enterprise node in the enterprise node sequence with the same cluster center as an associated enterprise.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method for identifying an associated enterprise according to any one of claims 1 to 3 is implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method for identifying an associated enterprise as claimed in any one of claims 1 to 3 are implemented.

Citation Information

Patent Citations

  • Method and system for recognizing core enterprise in supply chain

    CN106504084A

  • Enterprise risk prediction method, model training method, device and apparatus

    CN110570111A

  • Machine learning-based relationship association and related discovery and search engines

    US20180082183A1

  • Identification and evaluation white space target entity for transaction operations

    US20190102462A1