Data processing method and device, electronic equipment and computer readable medium

By receiving data processing requests, we obtain the data to be classified and its identifiers, determine shared and non-shared identifiers, and use neural network model training to solve the problems of high cost and low coverage of cross-industry enterprise label analysis, and achieve accurate and fast enterprise Classification identification is determined, reducing costs and improving efficiency.

CN118733759APending Publication Date: 2024-10-01BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310317617.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Cross-industry analysis of company-owned tags is costly and has low coverage.

Method used

By receiving the data processing request, obtain the data to be classified and its corresponding first classification system identifier, determine the common identifier of the second classification system, and call the classification model to determine the non-shared identifier of the data to be classified in the second classification system, using The initial neural network model and training sample set are used for model training, including the training of public and private network layers, decoding layers and classifier layers, and optimization based on loss functions and thresholds.

Benefits of technology

It realizes the accurate and rapid determination of the classification identification of enterprises in various classification systems, reduces costs, and improves coverage and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733759A_ABST
    Figure CN118733759A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing method and device, electronic equipment and a computer readable medium, and relates to the technical field of computers.The specific implementation mode comprises the steps that a data processing request is received, and corresponding to-be-classified data and a first classification system identifier corresponding to the to-be-classified data are obtained; determining a second classification system, and further determining a common identifier of the to-be-classified data in the first classification system and the second classification system; and calling a classification model to determine an identifier, which is not shared with the first classification system, of the to-be-classified data in the second classification system according to the first classification system identifier and the shared identifier, and outputting the identifier. Therefore, the classification system identifier of the enterprise in each classification system can be accurately and quickly determined in combination with the classification system identifier of each classification system, the cost is low, and the coverage rate and efficiency are high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a data processing method, device, electronic device and computer-readable medium. Background Art

[0002] At present, the common methods for labeling the industry to which an enterprise belongs based on basic information include the expert method: manual labeling; and the supervised learning method: training based on some manually labeled enterprise-industry data. The cost of cross-industry enterprise label analysis is high and the coverage rate is low. Summary of the invention

[0003] In view of this, the embodiments of the present application provide a data processing method, device, electronic device and computer-readable medium, which can solve the problems of high cost and low coverage of existing cross-industry analysis of enterprise labels.

[0004] To achieve the above objective, according to one aspect of an embodiment of the present application, a data processing method is provided, including:

[0005] receiving a data processing request, and obtaining corresponding data to be classified and a first classification system identifier corresponding to the data to be classified;

[0006] Determine the second classification system, and then determine the common identifier of the data to be classified in the first classification system and the second classification system;

[0007] The classification model is called to determine, based on the first classification system identifier and the common identifier, the identifier of the data to be classified in the second classification system that is not common to the first classification system and output it.

[0008] Optionally, before calling the classification model, the method further includes:

[0009] Acquire an initial neural network model and a training sample set, wherein the training sample set includes sample data to be classified having two or more classification systems and corresponding classification system identifiers;

[0010] Based on the sample data to be classified and the corresponding classification system identifier, the initial neural network model is trained to obtain a classification model.

[0011] Optionally, based on the sample data to be classified and the corresponding classification system identifier, the initial neural network model is trained to obtain a classification model, including:

[0012] Determine the common classification system identifiers and the different classification system identifiers of the sample data to be classified in each classification system from the classification system identifiers;

[0013] Using the sample data to be classified as the input of the common network layer of the encoding layer of the initial neural network model, using the common classification system identifier as the expected output of the common network layer of the encoding layer of the initial neural network model, so as to train the common network layer of the encoding layer of the initial neural network model to obtain a trained common network layer;

[0014] Using the sample data to be classified as the input of the private network layer of the encoding layer of the initial neural network model, using the difference classification system identifier as the expected output of the private network layer of the encoding layer of the initial neural network model, so as to train the private network layer of the encoding layer of the initial neural network model to obtain a trained private network layer;

[0015] The common classification system identifier and the difference classification system identifier are used as inputs of the decoding layer of the initial neural network model, and the corresponding sample data to be classified are used as expected outputs of the decoding layer of the initial neural network model, so as to train the decoding layer of the initial neural network model and obtain a trained decoding layer;

[0016] The common classification system identifier and the difference classification system identifier corresponding to one classification system are used as inputs of the classifier layer of the initial neural network model, and the difference classification system identifier corresponding to another classification system is used as the expected output of the classifier layer of the initial neural network model, so as to train the classifier layer of the initial neural network model and obtain a trained classifier layer;

[0017] A trained classification model is obtained according to the trained common network layer, the trained private network layer, the trained decoding layer and the trained classifier layer.

[0018] Optionally, the common network layer of the encoding layer of the initial neural network model is trained, including:

[0019] Determine the representation differences corresponding to the sample data to be classified corresponding to different classification systems, determine the first loss function according to the representation differences, and then train the common network layer of the encoding layer of the initial neural network model according to the first loss function and a preset maximum threshold.

[0020] Optionally, training a private network layer of an encoding layer of an initial neural network model includes:

[0021] Determine the representation difference between the common classification system identifier and the difference classification system identifier, determine a second loss function based on the representation difference, and then train the private network layer of the encoding layer of the initial neural network model based on the second loss function and a preset minimum threshold.

[0022] Optionally, the decoding layer of the initial neural network model is trained, including:

[0023] Determine the representation difference between the sample to-be-classified data output by the decoding layer and the sample classification data in the initially acquired training sample set, determine the third loss function based on the representation difference, and then train the decoding layer of the initial neural network model based on the third loss function and a preset threshold.

[0024] Optionally, train the classifier layer of the initial neural network model, including:

[0025] Determine the representation difference between the classification identifier output by the classifier layer and the classification system identifier in the training sample set, determine the fourth loss function based on the representation difference, and then train the classifier layer of the initial neural network model based on the fourth loss function and a preset threshold.

[0026] In addition, the present application also provides a data processing device, including:

[0027] A receiving unit is configured to receive a data processing request, and obtain corresponding data to be classified and a first classification system identifier corresponding to the data to be classified;

[0028] A common identification determination unit is configured to determine a second classification system, and further determine a common identification of the data to be classified in the first classification system and the second classification system;

[0029] The classification unit is configured to call the classification model to determine and output the identifier of the data to be classified in the second classification system that is not shared with the first classification system based on the first classification system identifier and the shared identifier.

[0030] Optionally, the data processing device further includes a model training unit configured to:

[0031] Acquire an initial neural network model and a training sample set, wherein the training sample set is configured to have sample data to be classified of two or more classification systems and corresponding classification system identifiers;

[0032] Based on the sample data to be classified and the corresponding classification system identifier, the initial neural network model is trained to obtain a classification model.

[0033] Optionally, the model training unit is further configured to:

[0034] Determine the common classification system identifiers and the different classification system identifiers of the sample data to be classified in each classification system from the classification system identifiers;

[0035] Using the sample data to be classified as the input of the common network layer of the encoding layer of the initial neural network model, using the common classification system identifier as the expected output of the common network layer of the encoding layer of the initial neural network model, so as to train the common network layer of the encoding layer of the initial neural network model to obtain a trained common network layer;

[0036] Using the sample data to be classified as the input of the private network layer of the encoding layer of the initial neural network model, using the difference classification system identifier as the expected output of the private network layer of the encoding layer of the initial neural network model, so as to train the private network layer of the encoding layer of the initial neural network model to obtain a trained private network layer;

[0037] The common classification system identifier and the difference classification system identifier are used as inputs of the decoding layer of the initial neural network model, and the corresponding sample data to be classified are used as expected outputs of the decoding layer of the initial neural network model, so as to train the decoding layer of the initial neural network model and obtain a trained decoding layer;

[0038] The common classification system identifier and the difference classification system identifier corresponding to one classification system are used as inputs of the classifier layer of the initial neural network model, and the difference classification system identifier corresponding to another classification system is used as the expected output of the classifier layer of the initial neural network model, so as to train the classifier layer of the initial neural network model and obtain a trained classifier layer;

[0039] A trained classification model is obtained according to the trained common network layer, the trained private network layer, the trained decoding layer and the trained classifier layer.

[0040] Optionally, the model training unit is further configured to:

[0041] Determine the representation differences corresponding to the sample data to be classified corresponding to different classification systems, determine the first loss function according to the representation differences, and then train the common network layer of the encoding layer of the initial neural network model according to the first loss function and a preset maximum threshold.

[0042] Optionally, the model training unit is further configured to:

[0043] Determine the representation difference between the common classification system identifier and the difference classification system identifier, determine a second loss function based on the representation difference, and then train the private network layer of the encoding layer of the initial neural network model based on the second loss function and a preset minimum threshold.

[0044] Optionally, the model training unit is further configured to:

[0045] Determine the representation difference between the sample to-be-classified data output by the decoding layer and the sample classification data in the initially acquired training sample set, determine the third loss function based on the representation difference, and then train the decoding layer of the initial neural network model based on the third loss function and a preset threshold.

[0046] Optionally, the model training unit is further configured to:

[0047] Determine the representation difference between the classification identifier output by the classifier layer and the classification system identifier in the training sample set, determine the fourth loss function based on the representation difference, and then train the classifier layer of the initial neural network model based on the fourth loss function and a preset threshold.

[0048] In addition, the present application also provides a data processing electronic device, including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the one or more processors implement the data processing method as described above.

[0049] In addition, the present application also provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the data processing method as described above is implemented.

[0050] An embodiment of the above invention has the following advantages or beneficial effects: the application receives a data processing request, obtains the corresponding data to be classified and the first classification system identifier corresponding to the data to be classified; determines the second classification system, and then determines the common identifiers of the data to be classified in the first classification system and the second classification system; calls the classification model to determine the identifiers of the data to be classified in the second classification system that are not common to the first classification system according to the first classification system identifier and the common identifier, and outputs them. Thus, the classification system identifiers of each classification system can be combined to accurately and quickly determine the classification system identifier of an enterprise in each classification system, with low cost, high coverage and efficiency.

[0051] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The accompanying drawings are used to better understand the present application and do not constitute an improper limitation on the present application.

[0053] Figure 1 It is a schematic diagram of the main process of a data processing method provided according to an embodiment of the present application;

[0054] Figure 2 It is a schematic diagram of the main process of a data processing method provided according to an embodiment of the present application;

[0055] Figure 3 It is a schematic diagram of the principle of a data processing method provided according to an embodiment of the present application;

[0056] Figure 4 is a schematic diagram of a classification model structure of a data processing method provided according to an embodiment of the present application;

[0057] Figure 5is a schematic diagram of main units of a data processing device according to an embodiment of the present application;

[0058] Figure 6 is an exemplary system architecture diagram to which the embodiments of the present application can be applied;

[0059] Figure 7 It is a structural diagram of a computer system of a terminal device or server suitable for implementing an embodiment of the present application. DETAILED DESCRIPTION

[0060] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description. The acquisition, storage, use, and processing of data in the technical solution of the present application are in compliance with the relevant provisions of national laws and regulations.

[0061] Figure 1 is a schematic diagram of the main flow of a data processing method provided according to an embodiment of the present application, such as Figure 1 As shown, the data processing method includes:

[0062] Step S101, receiving a data processing request, obtaining corresponding data to be classified and a first classification system identifier corresponding to the data to be classified.

[0063] In this embodiment, the execution subject of the data processing method (for example, it can be a server) can receive a data processing request through a wired connection or a wireless connection. Specifically, the data processing request can be, for example, a request to predict the label of an enterprise in other industry systems based on the label of the enterprise in one industry system. It can be understood that the label can be an identifier in the embodiment of the present application, which is used to characterize the category of the enterprise in one or more industry systems.

[0064] Step S102, determining the second classification system, and further determining the common identifiers of the data to be classified in the first classification system and the second classification system.

[0065] The execution subject can obtain the second classification system identifier carried by the data processing request from the request to determine the second classification system, with the purpose of determining all classification system identifiers of the data to be classified in the second classification system (including common identifiers and non-common identifiers with the first classification system). It is understandable that the data processing request can carry some partial classification system identifiers of the data to be classified in the second classification system, and the execution subject can filter out the identifiers that are the same as the first classification system identifier from these partial classification system identifiers as the common identifiers of the first classification system and the second classification system. For example, the first classification system can be a credit reporting industry system, and the second classification system can be an e-commerce industry system. The embodiments of the present application do not specifically limit the first classification system and the second classification system.

[0066] Step S103, calling the classification model to determine the identifier of the data to be classified in the second classification system that is not shared with the first classification system according to the identifier of the first classification system and the shared identifier, and output it.

[0067] The classification model can predict the classification system identifier of the data to be classified in classification system B according to the classification system identifier of classification system A and the common identifier with classification system B. The predicted classification system identifier can be a non-common identifier between classification system B and classification system A.

[0068] This embodiment can achieve accurate and rapid determination of the classification system identification of an enterprise in various classification systems by combining the classification system identifications of various classification systems, with low cost and high coverage and efficiency.

[0069] Figure 2 is a schematic diagram of the main flow of a data processing method provided according to an embodiment of the present application, such as Figure 2 As shown, the data processing method includes:

[0070] Step S201, obtaining an initial neural network model and a training sample set, wherein the training sample set includes sample data to be classified having two or more classification systems and corresponding classification system identifiers.

[0071] For example, assume that the sample data to be classified in the training sample set has two classification systems, such as classification system 1 (corresponding to the source domain) and classification system 2 (corresponding to the target domain). Figure 3 As shown in the figure, set A: domain A and set B: domain B are redefined, assuming that domain A is the source domain (Source Field) and domain B is the target domain (Target Field). The source domain classification system label (i.e., source domain classification body identifier) ​​is known, and we want to predict the classification system label of set BA∩B in classification system 2 (i.e., classification system identifier in classification system 2). Among them, A∩B has labels of both classification system 1 and classification system 2.

[0072] Step S202: Based on the sample data to be classified and the corresponding classification system identifier, the initial neural network model is trained to obtain a classification model.

[0073] The embodiment of the present application uses the idea of ​​transfer learning, and uses label data from different domains (i.e., different classification systems) to assist in the learning of classification tasks in the current domain (i.e., the current classification system). The goal is to make full use of all labeled data, not just the labeling results of the target domain (i.e., the target classification system, such as the second classification system in step S102).

[0074] Specifically, based on the sample data to be classified and the corresponding classification system identifier, the initial neural network model is trained to obtain a classification model, including:

[0075] Determine the common classification system identifiers and the different classification system identifiers of the sample data to be classified in each classification system from the classification system identifiers;

[0076] The sample data to be classified is used as the input of the common network layer of the encoding layer of the initial neural network model, and the common classification system identifier is used as the expected output of the common network layer of the encoding layer of the initial neural network model, so as to train the common network layer of the encoding layer of the initial neural network model and obtain a trained common network layer.

[0077] Specifically, the common network layer of the encoding layer of the initial neural network model is trained, including:

[0078] Determine the representation differences of the sample data to be classified corresponding to different classification systems, and determine the first loss function based on the representation differences, for example Figure 4 The loss function Lsimilarity in the initial neural network model is then used to train the common network layer of the encoding layer of the initial neural network model according to the first loss function and the preset maximum threshold. When training the common network layer, the first loss function should be as small as possible from the preset maximum threshold. Lsimilarity is used to describe that the differences in the representation of shared parts and different domains should be as small as possible, and is measured by Euclidean distance, etc.

[0079] The sample data to be classified is used as the input of the private network layer of the encoding layer of the initial neural network model, and the difference classification system identifier is used as the expected output of the private network layer of the encoding layer of the initial neural network model to train the private network layer of the encoding layer of the initial neural network model to obtain a trained private network layer.

[0080] Specifically, the private network layer of the encoding layer of the initial neural network model is trained, including:

[0081] Determine the representation difference between the common classification system identifier and the different classification system identifier, and determine the second loss function based on the representation difference, such as Figure 4 The loss function Ldifferent in the initial neural network model is then used to train the private network layer of the encoding layer of the initial neural network model according to the second loss function and the preset minimum threshold. When training the private network layer, the second loss function should be as large as possible as possible. Ldifferent is used to describe the difference between the shared and non-shared representations, which is measured by the Euclidean distance, etc.

[0082] The common classification system identifier and the difference classification system identifier are used as the input of the decoding layer of the initial neural network model, and the corresponding sample data to be classified are used as the expected output of the decoding layer of the initial neural network model to train the decoding layer of the initial neural network model to obtain a trained decoding layer.

[0083] Specifically, the decoding layer of the initial neural network model is trained, including:

[0084] Determine the representation difference between the sample to be classified data output by the decoding layer and the sample classification data in the initially acquired training sample set, and determine the third loss function according to the representation difference, such as Figure 4 The loss function Lrecon in the training set is used to train the decoding layer of the initial neural network model according to the third loss function and the preset threshold. Lrecon is used to describe the "restoration" effect of the encoder-decoder, and is measured by the Euclidean distance, etc. The smaller the third loss function, the better the "restoration" effect. By making the third loss function smaller than the preset threshold, the restoration effect of the decoding layer of the initial neural network model can be trained to meet the preset requirements.

[0085] The common classification system identifier and the difference classification system identifier corresponding to one classification system are used as inputs of the classifier layer of the initial neural network model, and the difference classification system identifier corresponding to another classification system is used as the expected output of the classifier layer of the initial neural network model, so as to train the classifier layer of the initial neural network model and obtain a trained classifier layer;

[0086] Specifically, the classifier layer of the initial neural network model is trained, including:

[0087] Determine the representation difference between the classification identifier output by the classifier layer and the classification system identifier in the training sample set, and determine the fourth loss function based on the representation difference, such as Figure 4 The Lclass shown in , and then the classifier layer of the initial neural network model is trained according to the fourth loss function and the preset threshold. Lclass is used to describe the effect of the classification task and is measured by classification loss functions such as cross entropy.

[0088] A trained classification model is obtained according to the trained common network layer, the trained private network layer, the trained decoding layer and the trained classifier layer.

[0089] For example, the overall classification model training uses the training data of the source domain to assist in training the vector of the target domain, thereby utilizing the labeled data of the source domain in the process of labeling the target domain.

[0090] like Figure 4 As shown in the figure, input: The input X can be spliced ​​with features related to industry annotation, such as company name, description of business scope, address range, etc. The above text features are segmented and input into the subsequent network through the Embedding layer.

[0091] The structure of the classification model is divided into the following layers:

[0092] ① Encode layer: Assuming that the T system and the S system have common features and different features, the shared Encode module Ec is used to learn the common parts, and the features of the different parts are learned for T and S respectively.

[0093] In the input layer, the vectors of the source domain and the target domain are represented as X S , X T As mentioned above, in order to learn common and different features, the network is divided into shared and private parts. The common part is implemented by shared embedding, which is the Ec(x) part in the figure. In addition, in order to learn the different parts, there are private embedding parts for the source domain and the target domain, which is the sub-part of Ep(x) in the figure.

[0094] The input layer is connected to a multi-layer neural network (fully connected, RNN, CNN structure is acceptable), and finally concatenated into an N*1 vector, such as Figure 4 In, h t 、h s , and the h vector will be learned in both the Shared structure and the Private structure.

[0095] ②Decoding layer: Since there is no labeled data for the S system, the unsupervised decoding layer is used to learn features.

[0096] The Decode part is the same as the Encode part. It is a "restoration" process and often uses the same network structure as the Encode part.

[0097] ③Classifier: For the S system, a supervised approach is used to learn the classification target.

[0098] The classifier layer is the same as general multi-classification tasks, using the labeled data of the source domain for supervised training.

[0099] In this way, a large amount of training data of the T system can be used for modeling the S system.

[0100] The loss function in the classification model training process is divided into the following parts:

[0101] ①Ldifferent, used to describe the difference between shared and non-shared representations, which should be as large as possible, measured by Euclidean distance, etc.

[0102] ②Lsimilarity, used to describe the shared parts. The differences in the representations of different domains should be as small as possible, measured by Euclidean distance, etc.

[0103] ③Lrecon, used to describe the "restoration" effect of encoder-decoder, measured by Euclidean distance, etc.

[0104] ④Lclass, used to describe the effect of the classification task, measured by classification loss functions such as cross entropy

[0105] Step S203: receiving a data processing request, obtaining the corresponding data to be classified and the first classification system identifier corresponding to the data to be classified.

[0106] The data processing request may be a request to predict all tags of user a in field B, given the tags of user a in field A and the common tags or common features in field A and field B.

[0107] The data to be classified corresponding to the data processing request may be, for example, the user's preferred browsing website, the user's preferred shopping time, the user's preferred shopping amount, etc., and the embodiment of the present application does not specifically limit the data to be classified. The first classification system identifier corresponding to the data to be classified may be, for example, a classification system identifier corresponding to the e-commerce industry system corresponding to the data to be classified, and the classification system identifier may be, for example, a collection of various classification labels corresponding to the data to be classified in the e-commerce industry system.

[0108] Step S204, determining the second classification system, and further determining the common identifiers of the data to be classified in the first classification system and the second classification system.

[0109] The second classification system, for example, may be a live broadcast industry system, which determines the common identification of the data to be classified in the first classification system and the second classification system. For example, it may be to determine the common labels of the data to be classified in the e-commerce industry system and the live broadcast industry system, such as staying up late, shopping, etc. The embodiment of the present application does not specifically limit the common identification.

[0110] Step S205 , calling the classification model to determine the identifier of the data to be classified in the second classification system that is not shared with the first classification system according to the identifier of the first classification system and the shared identifier, and output the identifier.

[0111] For example, in the live broadcast industry system (i.e., the second classification system), the execution entity may only obtain some classification system identifiers corresponding to the data to be classified. If it is necessary to know all the classification system identifiers in the live broadcast industry system, it is necessary to call the trained classification model to input the classification system identifier corresponding to the e-commerce industry system (i.e., the first industry system) and the shared identifiers of the data to be classified in the e-commerce industry system and the live broadcast industry system into the classification model, so as to predict all the classification identifiers of the data to be classified in the live broadcast industry system through the classification model, including shared identifiers and non-shared identifiers with the e-commerce industry system, and output them through display screens, text messages, voice broadcasts, or emails for users to view. This enables accurate and efficient cross-domain analysis with low cost and high coverage.

[0112] Figure 5 Schematic diagram of the main units of the data processing device according to an embodiment of the present application. Figure 5 As shown, the data processing device 500 includes a receiving unit 501 , a shared identification determining unit 502 and a classification unit 503 .

[0113] The receiving unit 501 is configured to receive a data processing request, and obtain the corresponding data to be classified and a first classification system identifier corresponding to the data to be classified.

[0114] The common identification determination unit 502 is configured to determine the second classification system, and further determine the common identification of the data to be classified in the first classification system and the second classification system.

[0115] The classification unit 503 is configured to call the classification model to determine the identifier of the data to be classified in the second classification system that is not shared with the first classification system according to the first classification system identifier and the shared identifier, and output the identifier.

[0116] In some embodiments, the data processing device further includes Figure 5 The model training unit not shown in the figure is configured to: obtain an initial neural network model and a training sample set, wherein the training sample set is configured to have sample data to be classified of two or more classification systems and corresponding classification system identifiers; based on the sample data to be classified and the corresponding classification system identifiers, train the initial neural network model to obtain a classification model.

[0117] In some embodiments, the model training unit is further configured to: determine the common classification system identifiers and the difference classification system identifiers of the sample data to be classified in each classification system from the classification system identifier; use the sample data to be classified as the input of the common network layer of the encoding layer of the initial neural network model, and use the common classification system identifier as the expected output of the common network layer of the encoding layer of the initial neural network model, so as to train the common network layer of the encoding layer of the initial neural network model to obtain the trained common network layer; use the sample data to be classified as the input of the private network layer of the encoding layer of the initial neural network model, and use the difference classification system identifier as the expected output of the private network layer of the encoding layer of the initial neural network model, so as to train the private network layer of the encoding layer of the initial neural network model to obtain the trained private network layer; using the common classification system identifier and the difference classification system identifier as the input of the decoding layer of the initial neural network model, and using the corresponding sample data to be classified as the expected output of the decoding layer of the initial neural network model, so as to train the decoding layer of the initial neural network model to obtain a trained decoding layer; using the common classification system identifier and the difference classification system identifier corresponding to one classification system as the input of the classifier layer of the initial neural network model, and using the difference classification system identifier corresponding to another classification system as the expected output of the classifier layer of the initial neural network model, so as to train the classifier layer of the initial neural network model to obtain a trained classifier layer; obtaining a trained classification model according to the trained common network layer, the trained private network layer, the trained decoding layer and the trained classifier layer.

[0118] In some embodiments, the model training unit is further configured to: determine the representation differences corresponding to the sample data to be classified corresponding to different classification systems, determine the first loss function based on the representation differences, and then train the common network layer of the encoding layer of the initial neural network model based on the first loss function and a preset maximum threshold.

[0119] In some embodiments, the model training unit is further configured to: determine the representation difference between the common classification system identifier and the difference classification system identifier, determine a second loss function based on the representation difference, and then train the private network layer of the encoding layer of the initial neural network model based on the second loss function and a preset minimum threshold.

[0120] In some embodiments, the model training unit is further configured to: determine the representation difference between the sample to-be-classified data output by the decoding layer and the sample classification data in the initially acquired training sample set, determine a third loss function based on the representation difference, and then train the decoding layer of the initial neural network model based on the third loss function and a preset threshold.

[0121] In some embodiments, the model training unit is further configured to: determine the representation difference between the classification identifier output by the classifier layer and the classification system identifier in the training sample set, determine a fourth loss function based on the representation difference, and then train the classifier layer of the initial neural network model based on the fourth loss function and a preset threshold.

[0122] It should be noted that the data processing method and the data processing device of the present application have a corresponding relationship in terms of specific implementation contents, so the repeated contents will not be described again.

[0123] Figure 6 An exemplary system architecture 600 to which the data processing method or data processing device according to the embodiment of the present application can be applied is shown.

[0124] like Figure 6 As shown, system architecture 600 may include terminal devices 601, 602, 603, network 604 and server 605. Network 604 is used to provide a medium for communication links between terminal devices 601, 602, 603 and server 605. Network 604 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0125] Users can use terminal devices 601, 602, and 603 to interact with server 605 through network 604 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 601, 602, and 603, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).

[0126] The terminal devices 601 , 602 , and 603 may be various electronic devices having a data processing screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0127] Server 605 may be a server that provides various services, such as a background management server that provides support for data processing requests submitted by users using terminal devices 601, 602, and 603 (for example only). The background management server may receive a data processing request, obtain the corresponding data to be classified and the first classification system identifier corresponding to the data to be classified; determine the second classification system, and then determine the common identifiers of the data to be classified in the first classification system and the second classification system; call the classification model to determine and output the identifiers of the data to be classified in the second classification system that are not common to the first classification system based on the first classification system identifier and the common identifier. In this way, the classification system identifiers of each classification system can be combined to accurately and quickly determine the classification system identifier of an enterprise in each classification system, with low cost, high coverage and efficiency.

[0128] It should be noted that the data processing method provided in the embodiment of the present application is generally executed by the server 605 , and accordingly, the data processing device is generally set in the server 605 .

[0129] It should be understood that Figure 6 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0130] Reference below Figure 7 , which shows a schematic diagram of the structure of a computer system 700 of a terminal device suitable for implementing an embodiment of the present application. Figure 7 The terminal device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0131] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the computer system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0132] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.

[0133] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present application are executed.

[0134] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. Computer-readable storage media may include, for example, but are not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0135] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0136] The units involved in the embodiments described in the present application may be implemented by software or hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes a receiving unit, a shared identification determination unit, and a classification unit. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0137] As another aspect, the present application also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device receives a data processing request, obtains the corresponding data to be classified and the first classification system identifier corresponding to the data to be classified; determines the second classification system, and then determines the common identifiers of the data to be classified in the first classification system and the second classification system; calls the classification model to determine and output the identifiers of the data to be classified in the second classification system that are not common to the first classification system based on the first classification system identifier and the common identifier.

[0138] According to the technical solution of the embodiment of the present application, the classification system identification of each classification system can be combined to accurately and quickly determine the classification system identification of an enterprise in each classification system, with low cost, high coverage and efficiency.

[0139] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A data processing method, characterized in that: include: receiving a data processing request, and obtaining corresponding data to be classified and a first classification system identifier corresponding to the data to be classified; Determine a second classification system, and then determine a common identifier of the data to be classified in the first classification system and the second classification system; The classification model is called to determine, based on the first classification system identifier and the common identifier, the identifier of the data to be classified in the second classification system that is not common to the first classification system and output it.

2. The method according to claim 1, characterized in that Before calling the classification model, the method further includes: Acquire an initial neural network model and a training sample set, wherein the training sample set includes sample data to be classified having two or more classification systems and corresponding classification system identifiers; Based on the sample data to be classified and the corresponding classification system identifier, the initial neural network model is trained to obtain a classification model.

3. The method according to claim 2, characterized in that The training of the initial neural network model based on the sample data to be classified and the corresponding classification system identifier to obtain a classification model includes: Determine the common classification system identifiers and the different classification system identifiers of the sample data to be classified in each of the classification systems from the classification system identifiers; Using the sample data to be classified as the input of the common network layer of the encoding layer of the initial neural network model, and using the common classification system identifier as the expected output of the common network layer of the encoding layer of the initial neural network model, so as to train the common network layer of the encoding layer of the initial neural network model to obtain a trained common network layer; Using the sample data to be classified as the input of the private network layer of the encoding layer of the initial neural network model, and using the difference classification system identifier as the expected output of the private network layer of the encoding layer of the initial neural network model, so as to train the private network layer of the encoding layer of the initial neural network model to obtain a trained private network layer; Using the common classification system identifier and the difference classification system identifier as inputs of the decoding layer of the initial neural network model, and using the corresponding sample data to be classified as expected outputs of the decoding layer of the initial neural network model, so as to train the decoding layer of the initial neural network model and obtain a trained decoding layer; Using the common classification system identifier and the difference classification system identifier corresponding to one classification system as inputs of the classifier layer of the initial neural network model, and using the difference classification system identifier corresponding to another classification system as the expected output of the classifier layer of the initial neural network model, so as to train the classifier layer of the initial neural network model and obtain a trained classifier layer; A trained classification model is obtained according to the trained common network layer, the trained private network layer, the trained decoding layer and the trained classifier layer.

4. The method according to claim 3, characterized in that The training of the common network layer of the encoding layer of the initial neural network model comprises: Determine the representation difference corresponding to the sample to-be-classified data corresponding to different classification systems, determine a first loss function according to the representation difference, and then train the common network layer of the encoding layer of the initial neural network model according to the first loss function and a preset maximum threshold.

5. The method according to claim 3, characterized in that: The training of the private network layer of the encoding layer of the initial neural network model includes: Determine the representation difference between the common classification system identifier and the difference classification system identifier, determine a second loss function based on the representation difference, and then train the private network layer of the encoding layer of the initial neural network model based on the second loss function and a preset minimum threshold.

6. The method according to claim 3, characterized in that The training of the decoding layer of the initial neural network model includes: Determine the representation difference between the sample to-be-classified data output by the decoding layer and the sample classification data in the training sample set initially acquired, determine a third loss function based on the representation difference, and then train the decoding layer of the initial neural network model based on the third loss function and a preset threshold.

7. The method according to claim 3, characterized in that The training of the classifier layer of the initial neural network model includes: Determine the representation difference between the classification identifier output by the classifier layer and the classification system identifier in the training sample set, determine a fourth loss function based on the representation difference, and then train the classifier layer of the initial neural network model based on the fourth loss function and a preset threshold.

8. A data processing device, characterized in that: include: A receiving unit configured to receive a data processing request, and obtain corresponding data to be classified and a first classification system identifier corresponding to the data to be classified; A common identification determination unit is configured to determine a second classification system, and further determine a common identification of the data to be classified in the first classification system and the second classification system; The classification unit is configured to call the classification model to determine and output the identifier of the data to be classified in the second classification system that is not shared with the first classification system based on the first classification system identifier and the shared identifier.

9. The device according to claim 8, characterized in that The device also includes a model training unit configured to: Acquire an initial neural network model and a training sample set, wherein the training sample set is configured to have sample data to be classified of two or more classification systems and corresponding classification system identifiers; Based on the sample data to be classified and the corresponding classification system identifier, the initial neural network model is trained to obtain a classification model.

10. The device according to claim 9, characterized in that The model training unit is further configured to: Determine the common classification system identifiers and the different classification system identifiers of the sample data to be classified in each of the classification systems from the classification system identifiers; Using the sample data to be classified as the input of the common network layer of the encoding layer of the initial neural network model, and using the common classification system identifier as the expected output of the common network layer of the encoding layer of the initial neural network model, so as to train the common network layer of the encoding layer of the initial neural network model to obtain a trained common network layer; Using the sample data to be classified as the input of the private network layer of the encoding layer of the initial neural network model, and using the difference classification system identifier as the expected output of the private network layer of the encoding layer of the initial neural network model, so as to train the private network layer of the encoding layer of the initial neural network model to obtain a trained private network layer; Using the common classification system identifier and the difference classification system identifier as inputs of the decoding layer of the initial neural network model, and using the corresponding sample data to be classified as expected outputs of the decoding layer of the initial neural network model, so as to train the decoding layer of the initial neural network model and obtain a trained decoding layer; Using the common classification system identifier and the difference classification system identifier corresponding to one classification system as inputs of the classifier layer of the initial neural network model, and using the difference classification system identifier corresponding to another classification system as the expected output of the classifier layer of the initial neural network model, so as to train the classifier layer of the initial neural network model and obtain a trained classifier layer; A trained classification model is obtained according to the trained common network layer, the trained private network layer, the trained decoding layer and the trained classifier layer.

11. A data processing electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.

12. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.