A warehouse receipt pledge data processing method and device
By conducting characteristic information evaluation and homomorphic encryption processing on warehouse receipt pledge data, the problems of inaccurate risk identification and low information security in the existing technology are solved, and the risk identification and information security of the warehouse receipt pledge business are improved.
Patent Information
- Application Number
- CN202211255061.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-13
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-10-13
AI Technical Summary
It is difficult to identify and assess the risks in the pledge process in the existing warehouse receipt pledge method, and the encryption method of saving and transmitting financial sensitive information is relatively traditional, which makes it vulnerable to attacks, leading to information leakage and losses.
By evaluating the characteristic information and related information in the warehouse receipt pledge data, using knowledge graph and machine learning technology for risk assessment, and using homomorphic encryption method for data encryption and decryption, the risk of information leakage is reduced.
It improves the accuracy of risk identification and information security in warehouse receipt pledge business, reduces the risk of information leakage caused by external attacks, and improves the informatization level of business processes.
Smart Images

Figure CN115600226B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of financial data processing, and is a warehouse receipt pledge data processing method, and specifically relates to a warehouse receipt pledge data processing method and device. Background Art
[0002] Warehouse receipt pledge is a kind of pledge established with warehouse receipt as the subject matter. As a new service project, it provides a broad stage for warehousing enterprises to expand service projects and carry out diversified operations, especially in the process of transformation of traditional warehousing enterprises into modern logistics enterprises.
[0003] There are at least the following problems in the prior art:
[0004] In the existing warehouse receipt pledge method, the risks generated in the pledge process are difficult to identify and cannot be evaluated. There are financial risks in the pledge process, which is not conducive to the business development of warehouse receipt pledge. In addition, because it involves financial sensitive information such as pledge, the existing technology for the preservation and transmission of such information is relatively traditional and more vulnerable to attacks by others, resulting in tampering of information and causing more serious financial risks and losses. Summary of the invention
[0005] In order to solve the above technical problems, the present application provides a warehouse receipt pledge data processing method, which reduces the problems of inaccurate risk identification caused by inadequate assessment and information leakage and tampering caused by low encryption level in information transmission and storage by evaluating the characteristic information and related information in the warehouse receipt pledge data.
[0006] In order to achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0007] In a first aspect, a warehouse receipt pledge data processing method is applied to a server, comprising: receiving an electronic warehouse receipt pledge application request; determining a target electronic warehouse receipt to be pledged according to a first tag of the pledge application request; extracting feature information from the target electronic warehouse receipt, and evaluating the feature information based on a preset risk assessment model to obtain an evaluation result; sending pledge consent result information based on the evaluation result, and generating a signed pledge agreement file corresponding to the target electronic warehouse receipt, and sending the signed pledge agreement file to the corresponding user's account through encryption; extracting feature information from the target electronic warehouse receipt, and evaluating the feature information based on a preset risk assessment model to obtain an evaluation result, comprising: processing the feature information to be processed based on a preset knowledge graph template to obtain a target knowledge graph containing the information to be processed; learning and representing the target knowledge graph to obtain initial data; and inputting the data to be processed into a trained BP neural network to obtain a desired output.
[0008] In a first implementation of the first aspect, learning the representation of the target knowledge graph includes: extracting entities, relationships, and relationship planes of the triple structure in the target knowledge graph for vector initialization, constructing negative triples based on the positive triples, training the positive triples and the negative triples, using a stochastic gradient descent optimization method to update the entity, relationship, and relationship plane vectors according to the direction of loss function reduction, and stopping the iteration when the loss function tends to be stable, thereby obtaining the optimized vector representations of the entities, relationships, and relationship planes.
[0009] In combination with the first possible implementation method of the first aspect, in a second possible implementation method, the BP neural network includes an input layer, a hidden layer and an output layer, and the number of the input layer is the same as the number of evaluation indicators; the evaluation indicators are set corresponding to the entity characteristics of the target electronic warehouse receipt.
[0010] In a third implementation of the first aspect, the signed pledge agreement file is sent to the corresponding user's account through encryption, including: generating a random key, generating corresponding encryption noise for the random key and obtaining a sequential ciphertext; adjusting the sequence of the first sub-ciphertext in the sequential ciphertext based on a mapping relationship and generating a second ciphertext; encrypting the second ciphertext based on the mapping relationship to obtain a second sub-ciphertext; and encrypting the second ciphertext and the second sub-ciphertext as the final ciphertext.
[0011] In combination with the third possible implementation method of the first aspect, in a fourth possible implementation method, it also includes performing decryption processing based on the second sub-ciphertext and the second sub-ciphertext, including: decrypting the second sub-ciphertext to obtain a first mapping relationship; processing the second ciphertext based on the mapping relationship to obtain the sequential ciphertext; summing the sequential ciphertexts based on the random key to obtain a set about the random key; and deriving based on the set to obtain plaintext.
[0012] In combination with the third possible implementation manner of the first aspect, in a fifth possible implementation manner, the sequential ciphertext includes multiple sub-ciphertexts, and the first sub-ciphertext in the sequential ciphertext is sequentially adjusted based on the mapping relationship to generate the second sub-ciphertext, including: randomly encrypting the multiple sub-ciphertexts in the sequential ciphertext based on the mapping relationship to obtain multiple first sub-ciphertexts; placing the multiple first sub-ciphertexts at the end of the arrangement order of the sequential ciphertext, and finally obtaining multiple second ciphertexts
[0013] In combination with the third possible implementation method of the first aspect, in a sixth possible implementation method, encrypting the second ciphertext based on the mapping relationship to obtain a second sub-ciphertext includes: encrypting the second ciphertext based on the AES encryption algorithm and the mapping relationship to obtain a second sub-ciphertext.
[0014] In combination with the third possible implementation manner of the first aspect, in a seventh possible implementation manner, before generating a random key, the pledge agreement file is also divided into multiple data blocks, and the multiple data blocks are independently encrypted, specifically including: obtaining a comparison result based on comparing the pledge agreement file with a preset data threshold, and dividing the pledge agreement file into multiple data blocks of similar size based on the comparison result; allocating the multiple data blocks to multiple corresponding encryption units, and encrypting the data blocks based on the encryption units to obtain multiple encrypted data; and aggregating the multiple encrypted data to obtain the spliced target encrypted data.
[0015] In combination with the seventh possible implementation method of the first aspect, in an eighth possible implementation method, multiple encrypted data are aggregated to obtain spliced encrypted data, including: obtaining text offsets of the encrypted data of multiple data blocks, sorting based on the offsets, and obtaining the sorted encrypted data of the multiple data blocks; splicing the encrypted data of multiple data blocks based on the order to form the target encrypted data.
[0016] In the second aspect, a warehouse receipt pledge data processing device includes: a request receiving module for receiving an electronic warehouse receipt pledge application request; a target electronic warehouse receipt determination module for determining a target electronic warehouse receipt to be pledged based on a first tag of the pledge application request; an evaluation module for evaluating the target electronic warehouse receipt; and an encryption module for encrypting the target electronic warehouse receipt during transmission.
[0017] According to a third aspect, a terminal device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor.
[0018] According to a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program.
[0019] In the technical solution provided in the embodiment of the present application, risk assessment of financial information related to warehouse receipt pledge is implemented based on knowledge graph and machine learning, and the evaluated financial data is encrypted, decrypted, sent and stored through homomorphic encryption based on the business process, thereby reducing the risk of information leakage caused by external attacks and improving the overall level of informatization in the warehouse receipt pledge business process. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0021] The methods, systems and / or programs in the accompanying drawings will be further described according to exemplary embodiments. These exemplary embodiments will be described in detail with reference to the drawings. These exemplary embodiments are non-limiting exemplary embodiments, wherein example numbers represent similar mechanisms in the various views of the accompanying drawings.
[0022] Figure 1 It is a structural diagram of the terminal device provided in an embodiment of the present application.
[0023] Figure 2 It is a flowchart of a data processing method shown in some embodiments of the present application.
[0024] Figure 3 It is a schematic block diagram of a device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0025] In order to better understand the above technical scheme, the technical scheme of the present application is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present application and the specific features in the embodiments are detailed descriptions of the technical scheme of the present application, rather than limitations on the technical scheme of the present application. In the absence of conflict, the embodiments of the present application and the technical features in the embodiments can be combined with each other.
[0026] In the following detailed description, numerous specific details are set forth by way of example in order to provide a comprehensive understanding of the relevant guidance. However, it will be apparent to those skilled in the art that the present application may be practiced without these details. In other cases, well-known methods, procedures, systems, compositions and / or circuits have been described at a relatively high level, without detail, in order to avoid unnecessarily obscuring aspects of the present application.
[0027] Flowcharts are used in the present application to illustrate the execution process performed by the system according to the embodiment of the present application. It should be clearly understood that the execution process of the flowchart may not be performed in order. On the contrary, these execution processes may be performed in reverse order or simultaneously. In addition, at least one other execution process may be added to the flowchart. One or more execution processes may be deleted from the flowchart.
[0028] Before further describing the embodiments of the present invention in detail, the nouns and terms involved in the embodiments of the present invention are described. The nouns and terms involved in the embodiments of the present invention are subject to the following interpretations.
[0029] (1) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed are executed.
[0030] (2) Based on is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed are executed.
[0031] (3) BP neural network: BP neural network is an artificial neural network (ANN), also known as neural network or quasi-neural network. In the field of machine learning and cognitive science, it is a mathematical model or computational model that imitates the structure and function of biological neural networks (the central nervous system of animals, especially the brain) and is used to estimate or approximate functions.
[0032] (4) Knowledge graphs describe concepts in the physical world and their relationships in a structured symbolic form. The basic component form of knowledge is a triple of <entity, relationship, entity>. Entities are connected to each other through relationships, forming a complex network knowledge structure.
[0033] The technical solution provided in the embodiment of the present application is mainly applied in the business process of warehouse receipt pledge financial products, among which, warehouse receipt pledge has become an important means for enterprises and banks to raise funds abroad, and is also an important part of the value-added services of the warehousing industry. In my country, warehouse receipt pledge, as an emerging service project, has less experience in reality. At the same time, since the warehouse receipt pledge business involves a series of issues such as law, management system, and information security, it may cause many risks and disputes. At present, the two main factors restricting the development of warehouse receipt pledge are information security and risk assessment, and these two realistic problems are mainly based on the difficulty of evaluation means and potential risk prediction and the imperfect information security management of financial information. For the realization of risk assessment, the evaluation indicators are mainly used, and the evaluation of the displayed subject matter and related information is realized through the multiple evaluation dimensions of multiple evaluation indicators, so as to realize the prediction of risks. However, in the current use of quantitative evaluation, the problems of too complicated evaluation indicators, too biased towards measurement indicators, simple processing of measurement indicators, difficulty in data acquisition, and insufficient explanation of quantitative evaluation are becoming increasingly prominent.
[0034] At present, in terms of the selection of evaluation methods, H index, principal component RBF (Radial Basis Function), grey system theory, BP neural network, grey correlation analysis, balanced scorecard, and optimal weight set have been applied and achieved good results. In addition, the Data Envelopment Analysis (DEA) method is widely used in the evaluation of some non-profit sectors. This research method constructs an evaluation model from the perspective of "input-output". However, a single research method may encounter some limitations in the process of application, and has the problem of low integrity and accuracy of the evaluation results.
[0035] In addition, because financial data is sensitive data and involves a lot of commercial sensitive information in the business process, the confidentiality setting requirements for financial data during the transmission and storage process are relatively high. At present, the confidentiality methods for financial data are mostly based on existing encryption methods, which have low encryption stability and can reduce the confidentiality effect of ciphertext by obtaining encryption logic through multiple statistics. Therefore, a large number of update encryptions are required for ciphertexts, and this encryption method reduces the efficiency of data processing and increases the cost of data, which is not conducive to corresponding encryption processing under mature business logic.
[0036] Therefore, based on the above technical background, a method needs to be provided for the processing of data and information in the two main links of the warehouse receipt pledge business, to improve the identification of risks and the capture of risk information in the warehouse receipt pledge business, and to encrypt data containing sensitive information during business transactions.
[0037] Based on the above technical background, an embodiment of the present application provides a terminal device 100, which includes a memory 110, a processor 120, and a computer program stored in the memory and executable on the processor, wherein the processor executes a warehouse receipt pledge data processing method, evaluates the warehouse receipt pledge information, and encrypts the data in the process and the data to be stored after completion. In this embodiment, the terminal device communicates with the user terminal, sends the acquired final data file to the corresponding user terminal, and implements the sending of the pledge agreement file in hardware. Among them, the method for sending information is based on the network, and before the terminal device is applied, it is necessary to establish an association relationship between the user terminal and the terminal device, and the association between the terminal device and the user terminal can be achieved by registration. Among them, the terminal device can be for multiple user terminals or for one user terminal.
[0038] In this embodiment, the terminal may be a server, and the physical structure of the server includes a memory, a processor, and a communication unit. The memory, the processor, and the communication unit are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components may be electrically connected to each other via one or more communication buses or signal lines. The memory is used to store specific information and programs, and the communication unit is used to send the processed information to the corresponding user end.
[0039] In this embodiment, the storage module is divided into two storage areas, one of which is a program storage unit and the other is a data storage unit. The program storage unit is equivalent to the firmware area, and the read and write permissions of this area are set to read-only mode, and the data stored in it cannot be erased or changed. The data in the data storage unit can be erased or read and written. When the capacity of the data storage area is full, the newly written data will overwrite the earliest historical data.
[0040] Among them, the memory can be, but is not limited to, random access memory (Random Access Memory, RAM), read only memory (Read Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable read-only memory (Eletric Erasable Programmable Read-Only Memory, EEPROM), etc.
[0041] The processor may be an integrated circuit chip with signal processing capabilities. The above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0042] This embodiment provides a warehouse receipt pledge data processing method, including the following steps:
[0043] Step S210. Receive an application request for electronic warehouse receipt pledge.
[0044] In this embodiment, a request is issued based on the user end for this step. When the request is issued, the data involved in the request and the corresponding files are issued together.
[0045] Step S220. Determine the target electronic warehouse receipt to be pledged according to the first tag of the pledge application request.
[0046] In this embodiment, the first tag is the registration code of the user terminal, one user terminal corresponds to one user, and a unique code is configured for each independent user. The identity is identified and the corresponding storage space is determined by the unique code, that is, each independent user terminal corresponds to an independent storage space.
[0047] Step S230: Extract characteristic information from the target electronic warehouse receipt, and evaluate the characteristic information based on a preset risk assessment model to obtain an evaluation result.
[0048] In this embodiment, the evaluation results are obtained mainly through the construction of a knowledge graph and corresponding machine learning, which specifically includes the following steps:
[0049] Step S231. Process the feature information to be processed based on a preset knowledge graph template to obtain a target knowledge graph containing the information to be processed.
[0050] In this embodiment, the pre-set knowledge graph template is constructed by means of a preliminary model construction method, and in this embodiment, an evaluation system is set in the knowledge graph template, and specific scoring weights are set in the scoring system in the knowledge graph template.
[0051] In this embodiment, the knowledge graph can be represented by G=(E, R), where E and R represent the multi-type entity and relationship sets in the knowledge graph respectively. The knowledge graph is composed of many RDF triples, which are represented by T=<Vh,r,vt> , where Vh represents the head entity, vt represents the tail entity, and r represents the relationship between the head entity and the tail entity.
[0052] Among them, the construction of the knowledge graph includes the process of knowledge extraction, knowledge fusion, knowledge processing and knowledge reasoning for the source data.
[0053] In view of the mutual relationship between the various elements in the evaluation system in this embodiment, the hierarchical structure. According to the needs of this study, a three-layer indicator structure is adopted: the overall goal, the sub-goal layer, and the indicator layer. Among them, for the application scenario of this model, there are evaluation indicators set for the specific indicator structure of the third layer, specifically: operating profit rate, total asset return rate, current ratio, quick ratio, asset load ratio, total asset turnover rate, net profit growth rate, leadership credit information, pledge liquidity, pledge price stability, pledge legality, pledge anti-loss ability, insurance amount, insurance period, commodity price fluctuations, exchange rate fluctuations, relevant economic policies, regional development, number of professional and technical personnel, information management system, organizational structure, storage and storage system, and goods evaluation system. And according to the characteristics of scientific research activities, the selected indicator elements are homogeneously classified to form 10 secondary indicators, namely: pledge basic conditions, applicant team members, credit level, product situation, economic policy situation, international monetary policy, insurance capacity, operating conditions, management level, and loss-bearing capacity. Secondly, based on the principles of scientometrics and evaluation indicators, the 10 secondary indicators were classified and summarized to form 4 primary indicators, namely: support indicators, input indicators, output indicators, and benefit indicators.
[0054] For the application scenario of this embodiment, the knowledge graph is an evaluation knowledge graph. The structure of the knowledge graph provided for this embodiment is: the entity type set is X = {basic conditions for pledge, applicant team members, credit level, product situation, insurance capacity, operating conditions, management level}, and then the attribute characteristics of each entity are constructed, basic conditions for pledge = {liquidity of pledge, stability of pledge price, legality of pledge, anti-loss ability of pledge}, applicant team members = {number of professional and technical personnel, organizational structure}, credit level = {leadership credit information}, product situation = {commodity price fluctuations}, insurance capacity = {insurance amount, insurance period, insurance company}, operating conditions = {operating profit margin, return on total assets, current ratio, quick ratio, asset-liability ratio, total asset turnover rate, net profit growth rate}, management level = {information management system, warehousing and storage system}.
[0055] The corresponding target knowledge graph is obtained through the knowledge graph template provided in this embodiment, which is used for subsequent data processing and obtaining specific evaluation results.
[0056] Step S232: Perform learning representation on the target knowledge graph to obtain initial data.
[0057] In this embodiment, the structure of the knowledge graph obtained based on step S231 is a triple structure, in which the entities and relationships in the knowledge graph are represented by discrete symbols, and the data processing for the BP neural network used later is based on continuous numerical values, which cannot be directly applied to the knowledge graph, so it is necessary to process the data structure of the knowledge graph to obtain a data structure that can be used for BP neural network processing. At present, the commonly used one-hot encoding can well represent different entities as different and independent vectors, but completely ignores the semantic relationship between entities. In practical applications, there are rich semantic relationships between many entities in the knowledge graph, and the one-hot encoding representation method cannot meet the needs of expressing the semantic relationship between entities. In order to better represent the semantic information of knowledge, this paper uses representation learning technology to project the entities and relationships in the knowledge graph into a low-dimensional vector space, learn each entity and relationship, and obtain a knowledge representation of a continuous vector. The knowledge representation based on the obtained continuous vector can use numerical operations to measure the semantic relationship between entities, effectively infer new knowledge, and can also be used as prior knowledge to input into the BP neural network to constrain and supervise the training process of the model.
[0058] In this embodiment, the learning representation model is the TransH model, which can represent the entities and relationships based on the triple structure. Not only a real-valued vector is defined for each entity and each relationship, but also a hyperplane is defined for each relationship and represented by its normal vector wr. The specific processing includes the following process:
[0059] For a triple (h, r, t), TransH first projects the head entity vector h and the tail entity vector t along the normal wr to the hyperplane corresponding to the relation r, represented by hr and tr:
[0060]
[0061] In this embodiment, for the triple (h, r, t), hr+r≈tr is satisfied, otherwise tr and hr+r should be far apart, wherein the score function is expressed as:
[0062] dist(h,r,t)=||h r +rt r ||.
[0063] Therefore, the loss function defined by TransH is:
[0064]
[0065] In this embodiment, h′ and t′ represent the head and tail entity vectors in the negative example triplet; S represents the set of positive example triplets; S′ represents the set of negative example triplets; γ is a constant used to represent the distance between positive and negative samples; [x]+ represents max(0,x).
[0066] In this embodiment, TransH is used to learn the representation of entities and relationships in the knowledge graph to obtain their vector representations. Since the vector has been trained once and contains rich semantic information, using it as the input of the deep learning model can not only reduce the BP neural network's dependence on a large amount of labeled data, but also can be used to guide and constrain the learning process of the deep learning model, improve the classification effect, and show good interpretability.
[0067] Step S234: Input the data to be processed into the trained BP neural network to obtain the expected output.
[0068] In this embodiment, the BP neural network is a trained neural network, and the training of the BP neural network includes the following process:
[0069] Based on the knowledge graph template constructed in step S231, an evaluation system corresponding to the knowledge graph template is constructed.
[0070] In this embodiment, the structure of the knowledge graph template is no longer described, but the construction of the evaluation system is described. The rating system in this embodiment is a mathematical model. The specific construction method includes: constructing an evaluation system based on the above-mentioned primary, secondary and tertiary evaluation indicators, specifically:
[0071] Establish the importance influence relationship between the levels, that is, assume that m factors have relative importance to a factor in the previous level. According to a specific scaling rule, the i-th factor (i=1,2,3,…,m) is compared and judged with the j-th factor (j=1,2,3,…m), and its relative importance is aij. The m-order matrix constructed in this way can be used to solve the priority weights of each factor with respect to certain criteria. It is called a judgment matrix and is recorded as
[0072] A=(a ij ) m*m .
[0073] The key to constructing a judgment matrix is to design a specific scaling rule for pairwise comparison to judge the relative importance of two factors, so that the relative importance of any two factors has a certain quantitative standard. In this embodiment, the "1-9 scaling method" is used for processing. The judgment matrix is established by the "1-9 scaling method": A = (a ij ) m*m .
[0074] Specifically, scale ajm The j and m in the equation represent the jth and mth factors. jm =3, it means that with respect to criterion Cr, the jth factor is slightly more important than the mth factor, and the other scales have similar meanings.
[0075] According to the above processing, the expert interview method and the hierarchical analysis method are used comprehensively, and the judgment matrix needs to be constructed for the first-level indicators and the 10 second-level indicators respectively, as follows:
[0076]
[0077] The matrices for the 10 secondary indicators are:
[0078] The pledge basic condition matrix is: The applicant team member matrix is: The credit level matrix is: The product situation matrix is: The economic policy situation matrix is: The operating status matrix is: The international monetary policy matrix is: The management level matrix is:
[0079] The damage tolerance matrix is:
[0080] The insurance capacity matrix is:
[0081] Based on the above matrix, the maximum characteristic root λmax of each judgment matrix and its corresponding eigenvector W are obtained, that is, AiW = λmaxW. The specific process of this process includes:
[0082] The eigenvector W corresponding to each judgment matrix is calculated, and the components of W (W1, W2, ..., Wm) correspond to the relative importance of the m elements, that is, the weight coefficient.
[0083] There are two methods for calculating the weight coefficient: the sum-product method and the square root method. In this embodiment, the sum-product method is used, so only the sum-product method is described:
[0084] Normalize each column of the judgment matrix: For the judgment matrix normalized by column, Sum the sum and obtain the normalized vector of the sum result. Then W = [W1, W2, W3,…Wm] is what we want.
[0085] According to the calculation formula of the maximum characteristic root: Where (AWi) represents the i-th component of the vector AW.
[0086] According to the above formula, the weights of the corresponding secondary indicators and the maximum eigenvalue of the corresponding indicators can be calculated, and the eigenvector W and the single ranking matrix P of each indicator can be obtained.
[0087] The eigenvector matrix is as follows:
[0088] W=(0.0231,0.0165,0.0331,0.1521,0.0616,0.2090,0.0816,0.1109,0.2680,0.0440) T .
[0089] The single sorting matrix for the second level is as follows:
[0090] The pledge basic condition matrix is: P2 = (0.8000, 0.2000) T ;
[0091] The applicant's team member matrix is: P3 = (0.8000, 0.2000) T ;
[0092] The credit level matrix is: P4 = (0.2000, 0.8000) T ;
[0093] The product situation matrix is: P5 = (0.1782, 0.7514, 0.0704) T ;
[0094] The economic policy situation matrix is: P6 = (0.7500, 0.2500) T ;
[0095] The operating matrix is: P7 = (0.4402, 0.0920, 0.1470, 0.0368, 0.2350, 0.0491) T ;
[0096] The international monetary policy matrix is: P8 = (0.2000, 0.8000) T ;
[0097] The management level matrix is: P9 = (0.1667, 0.8333) T ;
[0098] The damage bearing capacity matrix is: P 10 =(0.1667,0.8333) T ;
[0099] The insurance capacity matrix is: P 11 =(0.1667,0.8333) T.
[0100] A corresponding BP neural network is constructed based on the evaluation system. In this embodiment, the structure of the BP neural network includes an input layer, a hidden layer, and an output layer, wherein the number of layers of the output layer is 1, and the setting of the hidden layer is obtained by any of the following formulas:
[0101]
[0102] Among them, k is the number of hidden layer nodes, n is the number of output layer nodes, l is the number of output layer nodes, and a is any constant between 1 and 10.
[0103] The number of nodes in the hidden layer is determined based on the number of three-level evaluation indicators in the evaluation system. In this embodiment, the number of secondary rating indicators is 10, and the number of nodes in the output layer is 1 according to the structure of the BP neural network, so the number of nodes in the hidden layer can be obtained as 8 according to the above formula.
[0104] The transfer function set in the hidden layer of the BP neural network in this embodiment is a Sigmoid function.
[0105] The above is the basic model structure of the BP neural network provided in this embodiment. The optimal target BP neural network is obtained by training this basic model structure, and the specific training process is as follows:
[0106] The training samples, i.e. the acquired knowledge graph templates, are input into the BP neural network for training, and the trained BP neural network is corrected by the test samples, i.e. the acquired knowledge graph templates, to obtain the final evaluation model.
[0107] In this embodiment, the training process for the BP neural network includes two parts. The first part is the conversion of the data structure of the knowledge graph template, and the second part is the specific process of training the BP neural network based on the data after the data structure conversion.
[0108] The conversion of the data structure of the knowledge graph template includes: extracting entities, relationships and relationship planes of the triple structure in the knowledge graph for vector initialization, constructing negative triples based on the positive triples, training the positive triples and the negative triples, using the random gradient descent optimization method, updating the entity, relationship and relationship plane vectors according to the direction of loss function reduction, stopping the iteration when the loss function tends to be stable, and obtaining the optimized entity, relationship and relationship plane vector representation. In this embodiment, the negative triple is obtained by randomly replacing the head entity or the tail entity in the positive triple.
[0109] The acquired structural transformation data needs to be extracted and labeled, specifically:
[0110] After data conversion, each entity in the knowledge graph has a corresponding entity vector, and each relationship has a corresponding relationship vector and hyperplane. This embodiment uses the following formula to extract the projection vector set Er of all entity vectors in the "rating" relationship hyperplane. The formula is as follows: Among them, Eri∈Er represents the projection vector of an entity vector in the hyperplane corresponding to the “rating” relationship; Ei represents the entity vector; wr represents the normal vector of the hyperplane corresponding to the “rating” relationship.
[0111] In this embodiment, the evaluation indicators in the evaluation system are determined, and the entities are labeled, and the labeled data is input into the corresponding input layer as training.
[0112] The specific training for the converted structure and the labeled data belongs to the training method of the BP neural network, which can be an existing training process and will not be described in detail in this embodiment.
[0113] Corresponding tests need to be performed on the trained BP neural network, and the testing method in this embodiment includes: obtaining the target expected output based on the evaluation system, and obtaining the real-time expected output based on the BP neural network, comparing the relationship between the two, and determining whether the trained BP neural network is completed based on the set threshold.
[0114] Specifically, the expected output is obtained based on the evaluation system, and the expected output is the target expected output of the BP neural network; the real-time expected output is obtained based on the test sample as input to the iterated BP neural network; the real-time expected output is compared with the target expected output; and the BP neural network is adjusted using the loss function based on the comparison result.
[0115] In this embodiment, the process of obtaining the expected output of the evaluation system is described in step S231, by constructing a secondary classification matrix, that is, the maximum feature and eigenvector of the judgment matrix to obtain the corresponding output result.
[0116] Based on the training samples as input to the iterated BP neural network, a real-time expected output is obtained, the real-time expected output is compared with the target expected output, and the loss function is adjusted based on the comparison result.
[0117] The BP neural network obtained through the above training is used to process the labeled data to be processed to obtain the expected output, wherein the expected output is a specific score.
[0118] Step S240. Send the pledge result information based on the evaluation result, generate a signed pledge agreement file corresponding to the target electronic warehouse receipt, and send the signed pledge agreement file to the corresponding user's account through encryption.
[0119] After the evaluation is performed based on step S230, a specific evaluation result is obtained, wherein the evaluation result includes agreement or disagreement. The business processing flow after agreement is a pledge agreement document made for the corresponding evaluation result and the application filed by the applicant, wherein the pledge agreement document involves the information of the corresponding applicant and specific financial data, and this data needs to be encrypted during the data transmission process and the data storage process to reduce the risk of information leakage due to external attacks.
[0120] In this embodiment, the encryption method used is a homomorphic encryption method. In the prior art, the homomorphic encryption method supports the management of ciphertext data under privacy protection, and can directly perform various operations such as retrieval, calculation, and statistics on ciphertext at the remote end (if the environment is a cloud server, it is directly in the cloud), and return the result to the user in the form of ciphertext. Compared with traditional encryption algorithms, there is no need for frequent encryption and decryption operations between the cloud and the user, which reduces the cost of communication and computing resources. User privacy data is stored in the form of ciphertext on the cloud server to prevent third parties from stealing and tampering with user data, and provide security for users to use the cloud server platform.
[0121] The method for encrypting data includes the following process:
[0122] Step S241. Generate a random key, generate corresponding encryption noise for the random key and obtain sequential ciphertext.
[0123] In this embodiment, the generation of the secret key is a multi-process process. The initial secret key generated first is a random secret key. In the subsequent process, the random secret key is converted into a multi-process and the secret key structure is deformed. Among them, the generation process of the random secret key is:
[0124] Suppose the key infrastructure k i ∈R,s i ∈R, the symmetric key is K(n)=[(k1,s1),…,(k n ,s n )], where n>3, and the infrastructure for the symmetric key meets the following requirements:
[0125]
[0126] The symmetric key is the initial basic key structure, and the processing for this structure key includes:
[0127] Configure n-1 pairs of encryption noise P = [(r1, p1),…, (r n-1 ,p n-1 )], in this embodiment, the security of the secret key is improved by increasing the encryption noise, wherein the essence of the encryption noise is a set of floating-point numbers, that is, the security of the secret key is improved by increasing the floating-point numbers.
[0128] The sequential ciphertext is determined based on the encryption noise and the symmetric key. The specific calculation process for the sequential ciphertext is as follows:
[0129]
[0130] Among them, m is plain text, that is, the data plain text of the file to be encrypted.
[0131] Step S242: Based on the mapping relationship, the first sub-ciphertext in the sequential ciphertext is sequentially adjusted to generate a second ciphertext.
[0132] In this embodiment, the sequential ciphertext generated in step S241 is encrypted twice based on the mapping encryption method to form the corresponding first sub-ciphertext, and the order of the first sub-ciphertext is adjusted to form the second ciphertext, wherein the purpose of the order adjustment is to disrupt the order of the keys in the ciphertext, thereby increasing the cost of the keys being decrypted externally and improving the security of the ciphertext. The specific process is as follows: c The jth sub-ciphertext mapped to the random ciphertext by the function is denoted as j dc , so d j =i.
[0133] In this embodiment, the mapping function is: Π(i)=j, 1≤i, j≤n.
[0134] For i to be a natural number set, specifically i∈[1,2,…,n], the set of mapped results is defined as j, so ci and jdc satisfy:
[0135]
[0136] Where C' is the sequential ciphertext, C" is the random ciphertext, where the random ciphertext C" is: C" = (c d1 ,…c dn ), in this embodiment, the disordered ciphertext is the second ciphertext.
[0137] Step S243: Encrypt the second ciphertext based on the mapping relationship to obtain a second sub-ciphertext.
[0138] In this embodiment, the mapping relationship in this step is specifically to encrypt the second ciphertext, i.e., the disordered ciphertext, based on the AES encryption algorithm and the mapping relationship in the above step to obtain the second sub-ciphertext. In this embodiment, the encryption algorithm is the AES encryption algorithm, and the mapping relationship is the mapping function in the above step. After this process, the corresponding second sub-ciphertext is c n+1 The processing process is to use the AES encryption algorithm to encrypt the array J and generate the ciphertext c n+1 As a part of the ciphertext, the AES encryption algorithm is an existing encryption algorithm and will not be described again in this embodiment.
[0139] Step S244: Encrypt the second ciphertext and the second sub-ciphertext as the final ciphertext.
[0140] In this embodiment, the second ciphertext is a random ciphertext, that is, the random ciphertext and the second sub-ciphertext are used as encrypted data, and encrypting them is equivalent to encrypting the plaintext m, and the final generated ciphertext is: C = [c d1 ,…,c dn ,c n+1 ].
[0141] In this embodiment, steps S241 to S244 are an encryption process, and a decryption process is configured for the user end. The decryption process is described in detail below. The specific process includes:
[0142] Step S245. Decrypt the sub-ciphertext c based on the AES algorithm n+1 , get the mapping array J, restore the sub-ciphertext i corresponding to the sequential ciphertext C' c , thus obtaining i c with i k and s The corresponding relationship between them.
[0143] Step S246: Determine the key set.
[0144] Among them, the key set is:
[0145] Step S247. Calculate plaintext m.
[0146] The plaintext m is expressed as:
[0147] The derivation process of the plaintext m can be expressed as follows based on the sequential ciphertext:
[0148]
[0149] Step S240 is a process for encrypting and decrypting data to form encrypted data. If the pledge agreement file to be encrypted has a large amount of data, the encryption cost is high if only real-time encryption is performed, so a corresponding encryption processing method needs to be provided for the encryption process of large amounts of data.
[0150] Step S250: Split the pledge agreement file into multiple data blocks, and independently encrypt the multiple data blocks.
[0151] Step S251. Obtain a comparison result based on the comparison between the pledge agreement file and a preset data threshold, and divide the pledge agreement file into a plurality of data blocks of similar size based on the comparison result.
[0152] Step S252: Allocate the plurality of data blocks to a plurality of corresponding encryption units, and encrypt the data blocks based on the encryption units to obtain a plurality of encrypted data.
[0153] Step S253: Aggregate the plurality of encrypted data to obtain spliced target encrypted data.
[0154] In this embodiment, the process includes the following steps:
[0155] The text offsets of the encrypted data of the plurality of data blocks are obtained, and the encrypted data of the plurality of data blocks are sorted based on the offsets to obtain the sorted encrypted data of the plurality of data blocks.
[0156] The encrypted data of the plurality of data blocks are concatenated in sequence to form the target encrypted data.
[0157] See also Figure 3 This embodiment also provides a warehouse receipt pledge data processing device 300, including: a request receiving module 310, used to receive an electronic warehouse receipt pledge application request. A target electronic warehouse receipt determination module 320, used to determine the target electronic warehouse receipt to be pledged according to the first tag of the pledge application request. An evaluation module 330, used to evaluate the target electronic warehouse receipt. An encryption module 340, used to encrypt the target electronic warehouse receipt during transmission.
[0158] The technical solution provided in this embodiment implements risk assessment of financial information related to warehouse receipt pledge based on knowledge graph and machine learning, and encrypts, decrypts, sends and stores the assessed financial data through homomorphic encryption based on the business process, thereby reducing the risk of information leakage caused by external attacks and improving the overall level of informatization in the warehouse receipt pledge business process.
[0159] It should be understood that, for technical terms that are not explained in the above content, those skilled in the art can unambiguously determine their meanings by deducing from the above disclosed content and are not limited here.
[0160] Those skilled in the art can unambiguously determine some preset, benchmark, predetermined, set and preferred labeled technical features / technical terms based on the above disclosed content, such as thresholds, threshold intervals, threshold ranges, etc. For some unexplained technical feature terms, those skilled in the art are fully capable of reasonably and unambiguously deducing based on the logical relationship of the context, so as to clearly and completely implement the above technical solutions. The prefixes of unexplained technical feature terms, such as "first", "second", "example", "target", etc., can be unambiguously deduced and determined based on the context. The suffixes of unexplained technical feature terms, such as "set", "list", etc., can also be unambiguously deduced and determined based on the context.
[0161] The above contents disclosed in the embodiments of the present application are clear and complete for those skilled in the art. It should be understood that the process of deducing and analyzing the unexplained technical terms based on the above disclosed contents by those skilled in the art is based on the contents recorded in the present application, and therefore the above contents are not a judgment on the creativity of the overall solution.
[0162] The basic concepts have been described above. Obviously, for those skilled in the art, the above detailed disclosure is only for example and does not constitute a limitation of the present application. Although not explicitly stated herein, those skilled in the art may make various modifications, improvements and amendments to the present application. Such modifications, improvements and amendments are suggested in the present application, so such modifications, improvements and amendments still belong to the spirit and scope of the exemplary embodiments of the present application.
[0163] At the same time, the present application uses specific terms to describe the embodiments of the present application. For example, "one embodiment", "an embodiment", and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of the present application. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more in different parts of this specification does not necessarily refer to the same embodiment. In addition, some features, structures or characteristics in at least one embodiment of the present application can be appropriately combined.
[0164] In addition, it will be appreciated by those skilled in the art that various aspects of the present application may be illustrated and described by a number of patentable categories or situations, including any new and useful process, machine, product or combination of substances, or any new and useful improvements thereto. Accordingly, various aspects of the present application may be performed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The above hardware or software may be referred to as a "unit", "component" or "system". In addition, various aspects of the present application may be represented as a computer product located in at least one computer-readable medium, the product including a computer-readable program code.
[0165] A computer readable signal medium may include a propagated data signal containing computer program code, such as in baseband or as part of a carrier wave. The propagated signal may have a variety of manifestations, including electromagnetic, optical, etc., or a suitable combination. A computer readable signal medium may be any computer readable medium other than a computer readable storage medium, which may be connected to an instruction execution system, device or apparatus to communicate, propagate or transmit a program for use. The program code on the computer readable signal medium may be propagated through any suitable medium, including radio, cable, fiber optic cable, RF, or similar medium, or a combination of any of the above mediums.
[0166] The computer program code required for the execution of various aspects of the present application can be written in any combination of one or more programming languages, including object-oriented programming, such as Java, Scala, Smalltalk, Eiffel, JADE, Emerald, C++, C#, VB.NET, Python, etc., or similar conventional programming languages, such as "C" programming language, Visual Basic, Fortran2003, Perl, COBOL 2002, PHP, ABAP, dynamic programming languages such as Python, Ruby and Groovy or other programming languages. The programming code can be executed entirely on the user's computer, or as an independent software package on the user's computer, or partially on the user's computer and partially on the remote computer, or completely on the remote computer or server. In the latter case, the remote computer can be connected to the user's computer through any network form, such as a local area network (LAN) or a wide area network (WAN), or connected to an external computer (e.g., via the Internet), or in a cloud computing environment, or used as a service such as software as a service (SaaS).
[0167] In addition, unless expressly stated in the scope of the patent application, the order of the processing elements and sequences described in this application, the use of digital letters, or the use of other names are not intended to limit the order of the processes and methods of this application. Although the above disclosure discusses some invention embodiments that are currently considered useful through various examples, it should be understood that such details are only for illustrative purposes, and the attached patent scope is not limited to the disclosed embodiments. On the contrary, the scope of the patent application is intended to cover all modifications and equivalent combinations that are consistent with the essence and scope of the embodiments of the present application. For example, although the system components described above can be implemented by hardware devices, they can also be implemented only by software solutions, such as installing the described system on an existing server or mobile device.
[0168] It should also be understood that in order to simplify the description disclosed in this application and thus help understand at least one embodiment of the invention, in the above description of the embodiments of the application, multiple features are sometimes combined into one embodiment, figure or description thereof. However, this disclosure method does not mean that the features required by the object of the application are more than the features mentioned in the claims. In fact, the features of the embodiment are less than all the features of the single embodiment disclosed above.
Claims
1. A warehouse receipt pledge data processing method, characterized in that: Applicable to servers, including: Receive electronic warehouse receipt pledge application requests; Determine the target electronic warehouse receipt to be pledged according to the first tag of the pledge application request; Extracting characteristic information from the target electronic warehouse receipt, and evaluating the characteristic information based on a preset risk assessment model to obtain an evaluation result; Based on the evaluation result, the pledge result information is sent, and a signed pledge agreement file corresponding to the target electronic warehouse receipt is generated, and the signed pledge agreement file is sent to the corresponding user's account through encryption processing, specifically including: obtaining a comparison result based on the comparison of the pledge agreement file with a preset data threshold, and dividing the pledge agreement file into multiple data blocks of similar size based on the comparison result; allocating the multiple data blocks to multiple corresponding encryption units, and encrypting the data blocks based on the encryption units to obtain multiple encrypted data, specifically including: generating a random key, and generating corresponding encryption noise for the random key and obtaining sequential ciphertext, the generation of the key is a plurality of processes, the initial key generated first is a random key, and in the subsequent process, the random key is subjected to a multi-process conversion and a deformation of the key structure, wherein the generation process of the random key is: assuming the basic structure K of the key i ∈R,S i ∈R, the symmetric key is K(n)=[(k i ,s i ),…,(k n ,s n )], where n>3, and the infrastructure for symmetric keys meets the following requirements: The symmetric key is the initial key structure, and the key structure is processed, including: configuring n-1 pairs of encryption noise P = [(r1, p1), ..., (r n-1 ,p n-1 )], based on the encryption noise and the symmetric key, the sequential ciphertext is determined. The specific calculation process for the sequential ciphertext is as follows: Wherein m is plaintext, i.e., the data plaintext of the file to be encrypted; based on the mapping relationship, the first sub-ciphertext in the sequential ciphertext is sequentially adjusted to generate the second ciphertext, specifically including: based on the mapping relationship, the multiple sub-ciphertexts in the sequential ciphertext are randomly encrypted to obtain multiple first sub-ciphertexts; the multiple first sub-ciphertexts are placed at the end of the sequential ciphertext arrangement order, and finally multiple second ciphertexts are obtained, specifically including: the i-th sub-ciphertext i in the sequential ciphertext is randomly encrypted to obtain multiple first sub-ciphertexts; the i-th sub-ciphertext i in the sequential ciphertext is randomly encrypted to obtain multiple second ciphertexts; the i-th sub-ciphertext i in the sequential ciphertext is randomly encrypted to obtain multiple first sub- ... first sub-ciphertexts; the i-th sub-ciphertext i in the sequential ciphertext is randomly encrypted to obtain multiple second ciphertexts; the i-th sub-ciphertext i c According to the function mapping, the jth sub-ciphertext of the random ciphertext is denoted as j dc , so d j =1, where the mapping function is: Π(i) = j, 1≤i, j≤n, where i is a natural number set, specifically i∈[1,2,…,n], and the combination of the mapping results is defined as j, so c i With j dc satisfy: Where C′ is the sequential ciphertext, C″ is the random ciphertext, where the random ciphertext C″ is: C″=(c d1 ,…c dn ), wherein the disordered ciphertext is the second ciphertext; encrypting the second ciphertext based on the mapping relationship to obtain a second sub-ciphertext, specifically comprising: encrypting the second ciphertext based on the AES encryption algorithm and the mapping relationship to obtain a second sub-ciphertext, encrypting the second ciphertext and the second sub-ciphertext as the final ciphertext, the second ciphertext is a disordered ciphertext, and encrypting the disordered ciphertext and the second sub-ciphertext as encrypted data is equivalent to encrypting the plaintext m, and the final generated ciphertext is: C = [c d1 ,…,c dn ,c n+1 ], where the plaintext m is expressed as: The derivation process of plaintext m is based on the expression of sequential ciphertext, which can be the following process: Aggregating the plurality of encrypted data to obtain the spliced target encrypted data specifically includes: obtaining text offsets of the encrypted data of the plurality of data blocks, sorting the data based on the offsets to obtain the sorted encrypted data of the plurality of data blocks; splicing the encrypted data of the plurality of data blocks based on the order to form the target encrypted data; Extracting characteristic information from the target electronic warehouse receipt, and evaluating the characteristic information based on a preset risk assessment model to obtain an evaluation result, including: Processing the feature information to be processed based on a preset knowledge graph template to obtain a target knowledge graph containing the information to be processed; The target knowledge graph is learned and represented to obtain initial data; an evaluation system is set in the knowledge graph template, and specific scoring weights are set in the scoring system in the knowledge graph template; the evaluation system adopts a three-layer indicator structure: overall goal, sub-goal layer, indicator layer, wherein the specific indicator structure for the third layer is set as: operating profit margin, return on total assets, current ratio, quick ratio, asset-liability ratio, total asset turnover rate, net profit growth rate, leadership credit information, pledge liquidity, pledge price stability, pledge legality, pledge anti-loss ability, insurance amount, insurance period, commodity price fluctuations, exchange rate fluctuations, relevant economic policies, regional development, number of professional and technical personnel, information management system, organizational structure, warehousing and storage system, and goods evaluation system; and according to the characteristics of scientific research activities, the selected indicator elements are homogeneously classified to form 10 secondary indicators, namely: basic conditions for pledge, applicant team members, credit level, product situation, economic policy situation, International monetary policy, insurance capacity, operating conditions, management level, and loss-bearing capacity; 10 secondary indicators are classified and summarized to form 4 primary indicators, namely: support indicators, input indicators, output indicators, and benefit indicators; the structure of the knowledge graph is: the entity type set is X = {pledge basic conditions, applicant team members, credit level, product conditions, insurance capacity, operating conditions, management level}, and then the attribute characteristics of each entity are constructed, pledge basic conditions = {pledge liquidity, pledge price stability, pledge legality, pledge anti-loss ability}, applicant team members = {number of professional and technical personnel, organizational structure}, credit level = {leadership credit information}, product conditions = {commodity price fluctuations}, insurance capacity = {insurance amount, insurance years, insurance company}, operating conditions = {operating profit margin, total asset return rate, current ratio, quick ratio, asset load ratio, total asset turnover rate, net profit growth rate}, management level = {information management system, warehousing and storage system}; The data to be processed is input into the trained BP neural network to obtain the expected output; the BP neural network includes an input layer, a hidden layer and an output layer, the number of the input layer is the same as the number of evaluation indicators, and the setting of the hidden layer is obtained by any of the following formulas: Wherein, k is the number of hidden layer nodes, n is the number of output layer nodes, l is the number of output layer nodes, a is any constant between 1 and 10, and the number of hidden layer nodes is determined based on the number of three-level evaluation indicators in the evaluation system; the evaluation indicators are set corresponding to the entity characteristics of the target electronic warehouse receipt; the training process of the BP neural network includes two parts, the first part is the conversion of the data structure of the knowledge graph template, and the second part is the specific process of training the BP neural network based on the data after the data structure conversion; the conversion of the data structure of the knowledge graph template includes: extracting the entities, relations and relation planes of the triple structure in the knowledge graph for vector initialization, constructing negative triples based on positive triples, and performing vector initialization on the positive triples and the negative triples; The negative triples are trained by adopting the optimization method of random gradient descent, and the entities, relations and relational plane vectors are updated according to the direction of loss function reduction until the iteration is stopped when the loss function tends to be stable, and the optimized entities, relations and relational plane vector representations are obtained; the negative triples are obtained by randomly replacing the head entity or the tail entity in the positive triples; data extraction and annotation are required for the acquired structural transformation data, specifically: after data conversion, each entity in the target knowledge graph has a corresponding entity vector, and each relationship has a corresponding relationship vector and hyperplane, and the projection vector set Er of all entity vectors in the scoring relationship hyperplane is extracted using the following formula, where the formula is as follows: E r =E i -w r T ×E i × r , where Eri∈Er represents the projection vector of an entity vector in the hyperplane corresponding to the "scoring" relationship; Ei represents the entity vector; wr represents the normal vector of the hyperplane corresponding to the scoring relationship; the third-layer evaluation index in the evaluation system is determined, and the entity is labeled, and the labeled data is used as training input to the corresponding input layer; the trained BP neural network is tested accordingly, and the testing method includes: obtaining the target expected output based on the evaluation system, and obtaining the real-time expected output based on the BP neural network, comparing the relationship between the two, and determining the trained BP neural network based on the set threshold. The training of BP neural network includes the following process: The construction method of evaluation system includes: constructing evaluation system based on the above one-layer, two-layer and three-layer evaluation indicators, specifically: establishing the importance influence relationship between levels, that is, assuming that m factors have relative importance to a factor in the upper layer, according to a specific scaling law, the i-th factor (i=1,2,3,…,m) is compared and judged with the j-th factor (j=1,2,3,…m), and its relative importance is aij. The constructed m-order matrix can be used to solve the priority weights of each factor with respect to certain criteria, which is called the judgment matrix, denoted as: A=(a ij ) m*m , establish a judgment matrix through the "1-9 scale method", specifically, scale a jm The j and m in it represent the jth and mth factors. By using the expert interview method and the hierarchical analysis method, it is necessary to construct the judgment matrix for the first-level index and the 10 second-level indexes respectively, as follows: The matrices for the 10 secondary indicators are: The pledge basic conditions matrix is: The applicant team member matrix is: The credit level matrix is: The product situation matrix is: The economic policy situation matrix is: The operating status matrix is: The international monetary policy matrix is: The management level matrix is: The damage tolerance matrix is: The insurance capacity matrix is: Based on the above matrix, find the maximum characteristic root λ of each matrix max And the corresponding eigenvector W, that is, AiW = λ max The specific process of this process includes: calculating the eigenvector W corresponding to each judgment matrix, the components of W (W1, W2, ..., Wm) are the relative importance of the m elements, that is, the weight coefficient. There are two methods for calculating the weight coefficient: the sum-product method and the square root method. The sum-product method is used, so only the sum-product method is described: normalize each column of the judgment matrix: For the judgment matrix normalized by column, Sum the sum and obtain the normalized vector of the sum result. Then W = [W1, W2, W3, ... Wm] is the desired result, according to the calculation formula of the maximum characteristic root: Where Awi represents the i-th component of the vector AW. According to the above formula, the weights of the corresponding secondary indicators and the maximum eigenvalue of the corresponding indicators can be calculated, and the eigenvector W and the single ranking matrix P of each indicator can be obtained. The eigenvector matrix is as follows: W = (0.0231, 0.01165, 0.0331, 0.1521, 0.0616, 0.2090, 0.0816, 0.1109, 0.2680, 0.0440) T ; The single ranking matrix for the secondary level is as follows: The pledge basic condition matrix is: P2 = (0.8000, 0.2000) T , the applicant team member matrix is: P3 = (0.8000, 0.2000) T , the credit level matrix is: P4 = (0.2000, 0.8000) T , the product situation matrix is: P5 = (0.1782, 0.7514, 0.0704) T , the economic policy situation matrix is: P6 = (0.7500, 0.2500) T , the operating matrix is: P7 = (0.4402, 0.0920, 0.1470, 0.0368, 0.2350, 0.0491) T , the international monetary policy matrix is: P8 = (0.2000, 0.8000) T , the management level matrix is: P9 = (0.1667, 0.8333) T , the damage bearing capacity matrix is: P 10 =(0.1667,0.8333) T , the insurance capacity matrix is: P 11 =(0.1667,0.8333) T .
2. The warehouse receipt pledge data processing method according to claim 1 is characterized in that: The method further includes performing a decryption process based on the second sub-ciphertext and the second sub-ciphertext, including: Decrypting the second sub-ciphertext to obtain a first mapping relationship; Processing the second ciphertext based on the mapping relationship to obtain the sequential ciphertext; Summing the sequential ciphertexts based on the random key to obtain a set of the random keys; The plain text is obtained by deducing based on the set.
3. A warehouse receipt pledge data processing device, executing the method according to claim 1, characterized in that: include: A request receiving module, used to receive an electronic warehouse receipt pledge application request; A target electronic warehouse receipt determination module, used to determine the target electronic warehouse receipt to be pledged according to the first tag of the pledge application request; An evaluation module, used for evaluating the target electronic warehouse receipt; An encryption module, used for encrypting the target electronic warehouse receipt during transmission; The BP neural network includes an input layer, a hidden layer and an output layer, wherein the number of the input layer is the same as the number of the evaluation indicators; the evaluation indicators are set corresponding to the entity characteristics of the target electronic warehouse receipt; The training process of the BP neural network includes two parts: the first part is the conversion of the data structure of the knowledge graph template, and the second part is the specific process of training the BP neural network based on the data after the data structure conversion; The conversion of the data structure of the knowledge graph template includes: extracting entities, relationships and relationship planes of the triple structure in the knowledge graph for vector initialization, constructing negative triples based on the positive triples, training the positive triples and the negative triples, using the random gradient descent optimization method, updating the entity, relationship and relationship plane vectors according to the direction of loss function reduction, and stopping the iteration when the loss function tends to be stable, and obtaining the optimized vector representation of the entity, relationship and relationship plane; the negative triple is obtained by randomly replacing the head entity or the tail entity in the positive triple; data extraction and annotation are required for the acquired structural conversion data, specifically: after data conversion, each entity in the target knowledge graph has a corresponding entity vector, each relationship has a corresponding relationship vector and hyperplane, and the following formula is used to extract the projection vector set Er of all entity vectors in the scoring relationship hyperplane, where the formula is as follows: Among them, Eri∈Er represents the projection vector of an entity vector in the hyperplane corresponding to the "scoring" relationship; Ei represents the entity vector; wr represents the normal vector of the hyperplane corresponding to the scoring relationship; the third-level evaluation index in the evaluation system is determined, and the entity is labeled, and the labeled data is used as training input to the corresponding input layer; the trained BP neural network is tested accordingly, and the testing method includes: obtaining the target expected output based on the evaluation system, and obtaining the real-time expected output based on the BP neural network, comparing the relationship between the two, and determining whether the trained BP neural network is completed based on the set threshold.
