WO2021184211A1 - Risk evaluation method and apparatus, electronic device, and storage medium - Google Patents

Risk evaluation method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2021184211A1
WO2021184211A1 PCT/CN2020/079761 CN2020079761W WO2021184211A1 WO 2021184211 A1 WO2021184211 A1 WO 2021184211A1 CN 2020079761 W CN2020079761 W CN 2020079761W WO 2021184211 A1 WO2021184211 A1 WO 2021184211A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
risk
feature
evaluation
score
Prior art date
Application number
PCT/CN2020/079761
Other languages
French (fr)
Chinese (zh)
Inventor
程肯
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市欢太科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Priority to CN202080096711.7A priority Critical patent/CN115088007A/en
Priority to PCT/CN2020/079761 priority patent/WO2021184211A1/en
Publication of WO2021184211A1 publication Critical patent/WO2021184211A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Definitions

  • the embodiments of the present application relate to computer technology, and in particular to a risk assessment method, device, electronic equipment, and storage medium.
  • electronic devices perform risk assessment on tasks to be performed to solve safety problems caused by the diversified functions of electronic devices.
  • risk assessment of tasks to be performed requires manual manual operations, such as manual manual assessment of task data and warnings to users who perform high-risk services.
  • the subjectiveness of the assessment criteria leads to low risk assessment accuracy.
  • This application provides a risk assessment method, device, electronic equipment, and storage medium, which can improve the accuracy of risk assessment.
  • an embodiment of the present application provides a risk assessment method, including:
  • Score the data to be evaluated according to the first feature vector and the first risk evaluation model to obtain a first evaluation score
  • Score the data to be evaluated according to the first feature vector and the second risk evaluation model to obtain a second evaluation score
  • the target risk type of the data to be evaluated is determined.
  • an embodiment of the present application also provides a risk assessment device, including:
  • the first acquisition module is configured to acquire the data to be evaluated, and extract the first feature vector from the data to be evaluated through a feature extraction algorithm
  • the first scoring module is configured to score the data to be evaluated according to the first feature vector and the first risk evaluation model to obtain a first evaluation score
  • the second scoring module is configured to score the data to be evaluated according to the first feature vector and the second risk evaluation model to obtain a second evaluation score
  • the determining module is configured to determine the target risk type of the data to be evaluated according to the first evaluation score and the second evaluation score.
  • an embodiment of the present application also provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and running on the processor, and the processor implements the risk when the computer program is executed. assessment method:
  • Score the data to be evaluated according to the first feature vector and the first risk evaluation model to obtain a first evaluation score
  • Score the data to be evaluated according to the first feature vector and the second risk evaluation model to obtain a second evaluation score
  • the target risk type of the data to be evaluated is determined.
  • an embodiment of the present application also provides a storage medium containing executable instructions of an electronic device.
  • the executable instructions of the electronic device are used to perform the risk assessment described in the embodiments of the present application when executed by the processor of the electronic device. method.
  • Fig. 1 is a schematic diagram of a first scenario of a risk assessment method provided by an embodiment of the present application.
  • Fig. 2 is a schematic diagram of a second scenario of a risk assessment method provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of the first process of a risk assessment method provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a third scenario of a risk assessment method provided by an embodiment of the present application.
  • Fig. 5 is a schematic structural diagram of a self-encoder provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of the second process of the risk assessment method provided by the embodiment of the present application.
  • Fig. 7 is a schematic structural diagram of a risk assessment device provided by an embodiment of the present application.
  • FIG. 8 is a first structural schematic diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a second structure of an electronic device provided by an embodiment of the present application.
  • the embodiment of the present application provides a risk assessment method, which is applied to an electronic device.
  • the execution subject of the risk assessment method may be the risk assessment device provided in the embodiment of the present application, or an electronic device integrated with the risk assessment device.
  • the risk assessment device may be implemented in hardware or software, and the electronic device may be a smart device. Mobile phones, tablet computers, handheld computers, notebook computers, or desktop computers are equipped with processors and have processing capabilities.
  • FIG. 1 is a schematic diagram of a first scenario of a risk assessment method provided by an embodiment of the application.
  • the client detects a payment request based on payment task A triggered by the user, the client sends a payment request for payment task A to the server.
  • the server After receiving the payment request sent by the client, the server combines the first risk assessment model and the second risk assessment model to perform risk assessment on payment task A. If the risk of payment task A is not high, the server responds to the payment request of payment task A, processes payment task A, and sends a "payment successful" notification to the client. If the risk of payment task A is high, in order to improve security, the server prohibits responding to the payment request of payment task A and sends an identity verification request to the client.
  • FIG. 2 is a schematic diagram of a second scenario of the risk assessment method provided by an embodiment of the application.
  • the client terminal detects a payment request based on the payment task B triggered by the user, the client terminal performs risk assessment on the payment task B in combination with the first risk assessment model and the second risk assessment model. If the risk of payment task B is not high, the client sends the payment request of payment task B to the server, so that the server can process payment task B according to the payment request. If the risk of payment task B is high, the client requires the user to reconfirm whether payment task B is executed, and requires the user to provide identity verification. After the user reconfirms and the identity verification is qualified, the client sends the payment request of payment task B to the server, so that the server can process payment task B according to the payment request.
  • FIG. 3 is a schematic diagram of the first process of the risk assessment method provided by an embodiment of the application.
  • the process of this risk assessment method is as follows:
  • the electronic device when a task to be executed is detected, the electronic device obtains the data to be evaluated corresponding to the task to be executed, and extracts the first feature vector from the data to be evaluated through a feature extraction algorithm for the risk assessment model to perform risk scoring .
  • the task to be performed is different, and the corresponding data to be evaluated is also different.
  • the to-be-evaluated data corresponding to the to-be-executed task "application A's membership recharge” is different from the to-be-evaluated data corresponding to the to-be-executed task "download application A”.
  • the data to be evaluated may be multi-dimensional data, and the data to be evaluated includes at least task data, account data, and device data.
  • the data to be evaluated corresponding to the task to be performed includes at least task data (e.g., downloaded application name, download time, download location, etc.), account data (e.g., total number of account logins to the app store, account login to the app store) The collection of time, the collection of login locations for the account to log in to the application store, the total number of times the account has downloaded applications, the type of applications downloaded by the account, etc.), device data (such as the total number of device logins to the application store, the collection of time devices log in to the application store) , The set of login locations where the device logs in to the application store, the total number of times the device has downloaded applications, the type of applications downloaded by the device, etc.).
  • task data e.g., downloaded application name, download time, download location, etc.
  • account data e.g., total number of account logins to the app store, account login to the app store
  • the collection of time e.g., the collection of login locations for the account to log in to the application store,
  • multiple accounts can be logged in to the same device, and one account can also be logged in to multiple devices. Therefore, when the electronic device obtains the data to be evaluated, it obtains both the account data and the device data, which can make the data to be evaluated more comprehensive, thereby improving the accuracy of the risk assessment.
  • the feature extraction algorithm is used to extract features from the data and generate feature vectors based on the features. For example, suppose that an electronic device extracts 1,000 features from the data to be evaluated through a feature extraction algorithm, and then generates a 1,000-dimensional first feature vector based on the 1,000 features for risk assessment by the risk assessment model.
  • the electronic device cleans and completes the data to be evaluated, and then uses a feature extraction algorithm to extract the first feature vector from the processed data to be evaluated.
  • the electronic device after obtaining the first feature vector, inputs the first feature vector into the first risk assessment model, and scores the data to be assessed through the first risk assessment model to obtain the first assessment score.
  • the first risk assessment model uses an unsupervised algorithm, which can be used to score the risk of the data to be assessed.
  • the first risk assessment model can be obtained by training a pre-built cluster analysis model.
  • the first risk assessment model can be obtained by training a pre-built isolated forest model.
  • the first risk assessment model may also be another model that can perform risk scoring on the data to be assessed through an unsupervised algorithm, which is not specifically limited in the embodiment of the present application.
  • the electronic device after obtaining the first feature vector, inputs the first feature vector into the second risk assessment model, and scores the data to be assessed through the second risk assessment model to obtain the second assessment score.
  • the second risk assessment model uses a supervised algorithm, which can be used to score the risk of the data to be assessed.
  • the second risk assessment model can be obtained by training a pre-built classification model.
  • the second risk assessment model can be obtained by training a neural network model built in advance.
  • the second risk assessment model may also be another model that can perform risk scoring on the data to be assessed through a supervised algorithm, which is not specifically limited in the embodiment of the present application.
  • the electronic device may determine the target evaluation score of the data to be evaluated according to the first evaluation score and the second evaluation score, and then set the target evaluation score corresponding to a preset The risk type is determined as the target risk type of the data to be evaluated.
  • the electronic device may use the sum of the first evaluation score and the second evaluation score as the target evaluation score of the data to be evaluated.
  • the electronic device may determine the first weight coefficient corresponding to the first evaluation score and the corresponding value corresponding to the second evaluation score according to the type of the data to be evaluated.
  • the second weight coefficient Based on the first weight coefficient, the second weight coefficient, the first evaluation score, and the second evaluation score, the target evaluation score of the data to be evaluated is calculated.
  • the first weight coefficient corresponding to the first assessment score is greater than the second assessment score corresponding to the second Weight coefficient.
  • the first weight coefficient corresponding to the first assessment score is smaller than the second weight coefficient corresponding to the second assessment score .
  • the electronic device may directly determine the target risk type of the data to be evaluated according to the first evaluation score.
  • the value range of the first assessment score is between 0 and 1. The smaller the first evaluation score, the lower the risk degree of the target risk type of the data to be evaluated, and the larger the first evaluation score, the higher the risk degree of the target risk type of the data to be evaluated.
  • the electronic device may directly determine the target risk type of the data to be evaluated according to the second evaluation score. For example, when the second risk assessment model is trained by a pre-built classification model, the size of the second assessment score is positively correlated or negatively correlated with the risk degree of the target risk type of the data to be evaluated.
  • the electronic device scores the evaluation data in two ways: the first risk evaluation model is used to score the evaluation data, the second risk evaluation model is used to score the evaluation data, and finally the two methods are combined. Method of scoring results to comprehensively determine the target risk type of the data to be assessed, which can improve the accuracy of risk assessment.
  • FIG. 4 is a schematic diagram of a third scenario of a risk assessment method provided by an embodiment of the application.
  • the electronic device may perform the following:
  • the encoding algorithm is used to encode the feature vector, so that the vector elements of the feature vector are changed from discrete features to continuous features.
  • the encoding algorithm in this solution is based on pre-built autoencoder (AE) training.
  • the electronic device obtains multiple sample vectors to form the first training set. Then use the first training set to train the autoencoder to update the model parameters of the autoencoder. Finally, based on the encoder in the autoencoder after updating the model parameters, an encoding algorithm is constructed.
  • the self-encoder includes an encoder (encoder) and a decoder (decoder).
  • FIG. 5 is a schematic structural diagram of a self-encoder according to an embodiment of the application.
  • the autoencoder will perform encoding and decoding operations on each sample vector X.
  • the encoding operation refers to mapping the sample vector X to the feature space through the encoder to obtain the abstract feature vector Z.
  • Decoding operation refers to mapping the abstract feature vector Z back to the original space through the decoder to obtain the reconstructed vector It is understandable that when the sample vector X and the reconstruction vector When the error of is the smallest, the autoencoder training is completed.
  • an encoding algorithm is used to convert the eigenvectors whose vector elements are discrete features into eigenvectors whose vector elements are continuous features. Make it suitable for risk scoring using the first risk assessment model, thereby improving the accuracy of risk assessment.
  • FIG. 6 is a schematic diagram of the second process of the risk assessment method provided by the embodiment of the application.
  • the process of this risk assessment method is as follows:
  • the first numerical feature refers to a feature represented by a numerical value.
  • the electronic device uses a feature extraction algorithm to extract the feature of "the number of times the device downloads the application C: 5" to obtain the first numerical feature: "5".
  • the text feature refers to the feature represented by the text.
  • the electronic device uses the feature extraction algorithm to extract the feature of "the location where the device downloads the application C: Beijing" to obtain the text feature: "Beijing".
  • the purpose of the normalization processing is to normalize the value representing the first numerical feature, so that the value representing the first numerical feature is within a specified numerical range (for example, within a numerical range of 0 to 1).
  • the purpose of the conversion process in this solution is to convert text features into second numerical features.
  • the second numerical characteristic also refers to a characteristic expressed by a numerical value.
  • an electronic device converts the text feature "Beijing” into a second numerical feature, it determines whether the electronic device is located in Beijing. If the electronic device is located in Beijing, it converts the text feature "Beijing" into a second numerical feature: " 1", if the electronic device is not located in Beijing, the text feature "Beijing" is converted into a second numerical feature: "0".
  • the electronic device after obtaining the first numerical feature and the second numerical feature, the electronic device generates the first feature vector according to the preset order of each feature according to the first numerical feature and the second numerical feature.
  • the electronic device obtains 2 first numerical characteristics and 1 second numerical characteristic.
  • the two first numerical features are respectively: 0.05 (obtained from the number of times the account has downloaded application D "5"), 0.1 (obtained from the number of account logins "100"), and one second numerical characteristic is: 1 (by downloading Get the location "Beijing").
  • the preset order of the first numerical feature "0.05” is 2.
  • the preset order of the first numerical feature "0.1” is 1, and the preset order of the second numerical feature "1" is 3.
  • the first feature vector generated by the electronic device is (0.1, 0.05, 1).
  • the electronic device determines the weight value corresponding to each vector element in the second risk assessment model according to the arrangement order of the vector elements in the first feature vector. For example, for vector elements arranged in the second dimension in the first feature vector, their corresponding weight values in the second risk assessment model are also arranged in the second dimension.
  • the weight value can represent the importance of the feature represented by the vector element.
  • the larger the weight value the more important the feature represented by the vector element.
  • the smaller the weight value the less important the feature represented by the vector element.
  • the weight value corresponding to each vector element in the second risk assessment model can represent the importance of the feature represented by the vector element.
  • the size of each vector element is adjusted according to the size of the corresponding weight value.
  • the electronic device can increase the value of the vector element so that the vector element can be distinguished from other vector elements.
  • the electronic device may increase the value of the preset number of vector elements with the largest corresponding weight value. For example, assuming that the weight values corresponding to 7 vector elements are recorded as: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, and the preset number is 3, the electronic device sets the vector element corresponding to the weight value 0.5 and the vector element corresponding to 0.6 The value of the vector element corresponding to 0.7 increases.
  • the preset number is preset in the electronic device, and the preset number can be determined autonomously by the electronic device or manually determined by the user.
  • the electronic device after obtaining the third feature vector, inputs the third feature vector into the first risk assessment model, and scores the data to be assessed through the first risk assessment model to obtain the first assessment score.
  • the electronic device After obtaining the third feature vector, the electronic device inputs the third feature vector into the first risk assessment model to determine the average path length corresponding to each vector element in the second risk assessment model, according to the average path length of each vector element , Get and output the first evaluation score.
  • the first risk assessment model includes at least two isolated trees. The number of nodes traversed by a vector element in each isolated tree is used as the path length of the vector element in the isolated tree.
  • the average path length corresponding to the vector elements in the second risk assessment model is the average of the path lengths of the vector elements in each isolated tree.
  • the electronic device may use the sub-score obtained based on the vector element as an important component of the first evaluation score.
  • the electronic device after obtaining the first feature vector, inputs the first feature vector into the second risk assessment model, and scores the data to be assessed through the second risk assessment model to obtain the second assessment score.
  • the electronic device After obtaining the first feature vector, the electronic device inputs the first feature vector into the second risk assessment model, and then, according to the arrangement order of the vector elements in the first feature vector, determines the corresponding value of each vector element in the second risk assessment model.
  • the weight value is weighted and summed based on the weight value and the vector elements to obtain and output the second evaluation score.
  • the electronic device may determine the target evaluation score of the data to be evaluated according to the first evaluation score and the second evaluation score, and then set the target evaluation score to a preset
  • the risk type is determined as the target risk type of the data to be evaluated.
  • the electronic device may execute the task to be performed corresponding to the data to be evaluated.
  • the electronic device may prohibit the task to be performed corresponding to the data to be evaluated, and output prompt information to the user, such as a prompt message of "the task to be performed has a high risk level".
  • the electronic device before processing the task to be performed, the electronic device first performs risk assessment through the to-be-evaluated data corresponding to the task to be performed, and executes the task to be performed when the risk level is lower than or equal to the preset level When the risk level is higher than the preset level, the execution of the task to be performed is prohibited and the prompt information is output to the user, which can improve the safety of the electronic device.
  • the second risk assessment model is a classification model
  • the electronic device may also perform the following:
  • the specific implementation manner of extracting the fourth feature vector from the sample evaluation data through the feature extraction algorithm can refer to the above specific implementation manner of extracting the first feature vector from the data to be evaluated through the feature extraction algorithm. It should be noted that a fourth feature vector can be extracted from one sample evaluation data. A fourth feature vector corresponds to a sample risk type.
  • the method for obtaining the sample risk type in this solution is not specifically limited in the embodiment of the present application.
  • the electronic device can obtain the sample risk type by receiving the sample risk type set by the user for the sample evaluation data.
  • the electronic device can automatically determine the sample risk type of the sample evaluation data, etc.
  • the electronic device when acquiring the sample risk type of each sample evaluation data, the electronic device may perform the following:
  • the sample assessment data is scored to obtain the third assessment score, and the sample risk type of the sample assessment data is determined according to the third assessment score.
  • the electronic device automatically determines the sample risk type of the sample evaluation data through the first risk assessment model, which can reduce manual operations and save the time for determining the sample risk type, thereby shortening the training time of the second risk assessment model and increasing the second risk Evaluate the training efficiency of the model.
  • the first risk assessment model automatically determines the sample risk type of the sample assessment data, which improves the training efficiency of the second risk assessment model.
  • the electronic device can train the second risk assessment model in a short time. For example, the electronic device trains the second risk assessment model every preset time interval (for example, 30 minutes), thereby improving the real-time performance of the second risk assessment model.
  • the electronic device when determining the sample risk type of the sample evaluation data according to the third evaluation score, the electronic device may perform the following:
  • the sample risk type set by the user for the sample evaluation data is acquired.
  • the electronic device presets at least two preset intervals. Different preset intervals correspond to different sample risk types.
  • the sample risk type corresponding to the preset interval of the third evaluation score is the sample risk type of the sample evaluation data.
  • the electronic device is setting the preset When setting the interval, only the third evaluation score of the corresponding sample risk type is considered stable. For the third evaluation score that corresponds to the unstable risk type of the sample, the user manually determines the risk type of the sample.
  • the training effect of the second risk assessment model can be improved, and the training efficiency of the second risk assessment model can be improved to a certain extent.
  • the sample risk types include non-risk types and risky types.
  • the first risk assessment model is trained by the pre-built isolated forest model, and the value range of the third assessment score is 0 to 1. Because the sample evaluation data with the third evaluation score near 0.5 is difficult to distinguish between the risk-free type and the risky type, the preset interval preset by the electronic device includes the risk-free interval (such as [0, 0.2]) and the risky interval (such as [0.8, 1]).
  • FIG. 7 is a schematic structural diagram of a risk assessment device provided by an embodiment of the present application.
  • the device is used to implement the risk assessment method provided in the above-mentioned embodiment, and has functional modules and beneficial effects corresponding to the execution method.
  • the risk assessment device 300 specifically includes: a first obtaining module 301, a first scoring module 302, a second scoring module 303, and a determining module 304, wherein:
  • the first acquisition module 301 is configured to acquire data to be evaluated, and extract a first feature vector from the data to be evaluated by a feature extraction algorithm;
  • the first scoring module 302 is configured to score the data to be evaluated according to the first feature vector and the first risk evaluation model to obtain a first evaluation score
  • the second scoring module 303 is configured to score the data to be evaluated according to the first feature vector and the second risk evaluation model to obtain a second evaluation score
  • the determining module 304 is configured to determine the target risk type of the data to be evaluated according to the first evaluation score and the second evaluation score.
  • the data to be evaluated is scored according to the first feature vector and the first risk assessment model, and when the first evaluation score is obtained, the first scoring module 302 may be used to:
  • Score the data to be assessed based on the second feature vector and the first risk assessment model to obtain a first assessment score.
  • the first acquisition module 301 may be used to:
  • a first feature vector is generated.
  • the first risk assessment model is obtained by training a pre-built isolated forest model, and the second risk assessment model is obtained by a pre-built classification model;
  • the data to be evaluated is scored, and when the first evaluation score is obtained, the first scoring module 302 can be used to:
  • the weight value corresponding to each vector element in the second risk assessment model is determined, wherein the vector element includes the first numerical feature and the second Numerical characteristics;
  • the third feature vector and the first risk assessment model score the data to be assessed to obtain a first assessment score.
  • the first scoring module 302 when adjusting the size of each vector element according to the size of the corresponding weight value, the first scoring module 302 may be used to:
  • the risk evaluation device 300 after determining the target risk type of the data to be evaluated according to the first evaluation score and the second evaluation score, the risk evaluation device 300 further includes:
  • the execution module is configured to execute the task to be executed corresponding to the data to be evaluated when the risk level of the target risk type is lower than or equal to the preset level.
  • the second risk assessment model is a classification model
  • the risk assessment device 300 further includes:
  • the second acquisition module is used to acquire multiple sample evaluation data
  • An extraction module configured to extract a fourth feature vector from the sample evaluation data through the feature extraction algorithm
  • the third acquisition module is used to acquire the sample risk type of each sample evaluation data, and form a training set according to the fourth feature vector and the sample risk type;
  • the training module is configured to use the training set to train the classification model to update the model parameters of the classification model.
  • the third obtaining module when obtaining the sample risk type of each sample evaluation data, the third obtaining module may be used to:
  • the sample assessment data is scored to obtain a third assessment score, and the sample risk type of the sample assessment data is determined according to the third assessment score.
  • the third acquisition module when determining the sample risk type of the sample evaluation data according to the third evaluation score, the third acquisition module may be used to:
  • the first acquisition module 301 acquires the data to be evaluated, and extracts the first feature vector from the data to be evaluated through the feature extraction algorithm, and then the first scoring module 302 uses the first feature
  • the vector and the first risk evaluation model are used to score the data to be evaluated to obtain the first evaluation score
  • the second scoring module 303 scores the data to be evaluated according to the first feature vector and the second risk evaluation model to obtain the second evaluation score
  • the final determination module 304 determines the target risk type of the data to be evaluated according to the first evaluation score and the second evaluation score. Combining the scoring results of the first risk assessment model and the second risk assessment model to comprehensively determine the target risk type of the data to be assessed can improve the accuracy of risk assessment.
  • the risk assessment device provided in the embodiment of this application belongs to the same concept as the risk assessment method in the above embodiment. Any method provided in the risk assessment method embodiment can be run on the risk assessment device, and its specific implementation For details of the process, refer to the embodiment of the risk assessment method, which will not be repeated here.
  • FIG. 8 is a first schematic structural diagram of the electronic device provided by the embodiment of the present application.
  • the electronic device 400 includes a processor 401 and a memory 402. Wherein, the processor 401 and the memory 402 are electrically connected.
  • the processor 401 is the control center of the electronic device 400. It uses various interfaces and lines to connect various parts of the entire electronic device. Various functions of the device 400 and processing data.
  • the memory 402 may be used to store software programs and modules.
  • the processor 401 executes various functional applications and data processing by running the computer programs and modules stored in the memory 402.
  • the memory 402 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, a computer program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of electronic equipment, etc.
  • the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
  • the processor 401 in the electronic device 400 will load the instructions corresponding to the process of one or more computer programs into the memory 402 according to the following steps, and run the instructions by the processor 401 and store them in the memory 402.
  • the processor 401 in the electronic device 400 will load the instructions corresponding to the process of one or more computer programs into the memory 402 according to the following steps, and run the instructions by the processor 401 and store them in the memory 402.
  • Score the data to be evaluated according to the first feature vector and the first risk evaluation model to obtain a first evaluation score
  • Score the data to be evaluated according to the first feature vector and the second risk evaluation model to obtain a second evaluation score
  • the target risk type of the data to be evaluated is determined.
  • FIG. 9 is a schematic diagram of a second structure of an electronic device provided by an embodiment of the application.
  • the electronic device further includes: a radio frequency circuit 403, a display screen 404, a control circuit 405, Input unit 406, audio circuit 407, sensor 408, and power supply 409.
  • the processor 401 is electrically connected to the radio frequency circuit 403, the display screen 404, the control circuit 405, the input unit 406, the audio circuit 407, the sensor 408, and the power supply 409, respectively.
  • the radio frequency circuit 403 is used to transmit and receive radio frequency signals to communicate with network equipment or other electronic equipment through wireless communication.
  • the display screen 404 may be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device. These graphical user interfaces may be composed of images, text, icons, videos, and any combination thereof.
  • the control circuit 405 is electrically connected to the display screen 404 for controlling the display screen 404 to display information.
  • the input unit 406 can be used to receive inputted numbers, character information, or user characteristic information (such as fingerprints), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
  • the input unit 406 may include a fingerprint recognition module.
  • the audio circuit 407 can provide an audio interface between the user and the electronic device through a speaker and a microphone.
  • the audio circuit 407 includes a microphone.
  • the microphone is electrically connected to the processor 401.
  • the microphone is used to receive voice information input by the user.
  • the sensor 408 is used to collect external environmental information.
  • the sensor 408 may include one or more of sensors such as an environmental brightness sensor, an acceleration sensor, and a gyroscope.
  • the power supply 409 is used to supply power to various components of the electronic device 400.
  • the power supply 409 may be logically connected to the processor 401 through a power management system, so that functions such as charging, discharging, and power consumption management can be managed through the power management system.
  • the electronic device 400 may also include a camera, a Bluetooth module, etc., which will not be repeated here.
  • the processor 401 in the electronic device 400 will load the instructions corresponding to the process of one or more computer programs into the memory 402 according to the following steps, and run the instructions by the processor 401 and store them in the memory 402.
  • the processor 401 in the electronic device 400 will load the instructions corresponding to the process of one or more computer programs into the memory 402 according to the following steps, and run the instructions by the processor 401 and store them in the memory 402.
  • Score the data to be evaluated according to the first feature vector and the first risk evaluation model to obtain a first evaluation score
  • Score the data to be evaluated according to the first feature vector and the second risk evaluation model to obtain a second evaluation score
  • the target risk type of the data to be evaluated is determined.
  • the data to be evaluated is scored according to the first feature vector and the first risk assessment model, and when the first evaluation score is obtained, the processor 401 is configured to execute:
  • Score the data to be assessed based on the second feature vector and the first risk assessment model to obtain a first assessment score.
  • the processor 401 when the first feature vector is extracted from the data to be evaluated by a feature extraction algorithm, the processor 401 is configured to execute:
  • a first feature vector is generated.
  • the first risk assessment model is obtained by training a pre-built isolated forest model, and the second risk assessment model is obtained by a pre-built classification model;
  • the processor 401 is configured to execute:
  • the weight value corresponding to each vector element in the second risk assessment model is determined, wherein the vector element includes the first numerical feature and the second Numerical characteristics;
  • the third feature vector and the first risk assessment model score the data to be assessed to obtain a first assessment score.
  • the processor 401 when the size of each vector element is adjusted according to the size of the corresponding weight value, the processor 401 is configured to execute:
  • the processor 401 is further configured to execute:
  • the task to be performed corresponding to the data to be evaluated is executed.
  • the second risk assessment model is a classification model
  • the processor 401 is further configured to execute:
  • the training set is used to train the classification model to update the model parameters of the classification model.
  • the processor 401 when obtaining the sample risk type of each sample evaluation data, the processor 401 is configured to execute:
  • the sample assessment data is scored to obtain a third assessment score, and the sample risk type of the sample assessment data is determined according to the third assessment score.
  • the processor 401 when determining the sample risk type of the sample evaluation data according to the third evaluation score, is configured to execute:
  • the electronic device uses a feature extraction algorithm to extract a first feature vector from the data to be evaluated, and then, according to the first feature vector and the first risk assessment model, the electronic device extracts the first feature vector from the data to be evaluated.
  • the data is scored to obtain the first evaluation score, and the evaluation data is scored according to the first feature vector and the second risk evaluation model, and the second evaluation score is obtained. Finally, according to the first evaluation score and the second evaluation score, the evaluation is determined The target risk type of the data. Combining the scoring results of the first risk assessment model and the second risk assessment model to comprehensively determine the target risk type of the data to be assessed can improve the accuracy of risk assessment.
  • An embodiment of the present application also provides a storage medium that stores a computer program, and when the computer program runs on a computer, the computer is caused to execute the risk assessment method in any of the above embodiments, such as: obtaining data to be assessed , And extract a first feature vector from the data to be evaluated by a feature extraction algorithm; score the data to be evaluated according to the first feature vector and the first risk assessment model to obtain a first evaluation score; The first feature vector and the second risk evaluation model are used to score the data to be evaluated to obtain a second evaluation score; according to the first evaluation score and the second evaluation score, the target risk of the data to be evaluated is determined type.
  • the storage medium may be a magnetic disk, an optical disk, a read only memory (Read Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
  • the computer program can be stored in a computer readable storage medium, such as stored in the memory of an electronic device, and executed by at least one processor in the electronic device.
  • the execution process can include, for example, the implementation of a risk assessment method Example process.
  • the storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, and the like.

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Disclosed are a risk evaluation method and apparatus, an electronic device, and a storage medium. The method comprises: extracting a first feature vector from acquired data to be evaluated; determining, according to the first feature vector and a first risk evaluation model, a first evaluation score of the data to be evaluated; determining, according to the first feature vector and a second risk evaluation model, a second evaluation score of the data to be evaluated; and determining, according to the first evaluation score and the second evaluation score, a target risk type of the data to be evaluated.

Description

风险评估方法、装置、电子设备及存储介质Risk assessment method, device, electronic equipment and storage medium 技术领域Technical field
本申请实施例涉及计算机技术,尤其涉及一种风险评估方法、装置、电子设备及存储介质。The embodiments of the present application relate to computer technology, and in particular to a risk assessment method, device, electronic equipment, and storage medium.
背景技术Background technique
随着电子设备的不断发展,电子设备的功能更加多样化。这在方便用户使用的同时,也会大大增加电子设备的安全管理难度。例如,随着电子设备支付功能的使用,用户可以通过电子设备的支付码来进行支付。虽然支付功能给用户生活带来便捷,但是用户在执行支付任务时存在一定风险,如支付码泄露等。With the continuous development of electronic devices, the functions of electronic devices have become more diversified. While this is convenient for users to use, it will also greatly increase the difficulty of security management of electronic equipment. For example, with the use of electronic device payment functions, users can make payments through the payment code of the electronic device. Although the payment function brings convenience to users' lives, there are certain risks when users perform payment tasks, such as the disclosure of payment codes.
相关技术中,电子设备通过对待执行任务进行风险评估,以解决因电子设备功能多样化导致的安全性问题。目前,待执行任务的风险评估需要依赖人工手动操作,如人工手动对任务数据进行评估,对执行高风险业务的用户进行警示,因评估标准主观性强而导致风险评估准确度低。In related technologies, electronic devices perform risk assessment on tasks to be performed to solve safety problems caused by the diversified functions of electronic devices. Currently, the risk assessment of tasks to be performed requires manual manual operations, such as manual manual assessment of task data and warnings to users who perform high-risk services. The subjectiveness of the assessment criteria leads to low risk assessment accuracy.
发明内容Summary of the invention
本申请提供了一种风险评估方法、装置、电子设备及存储介质,可以提高风险评估的准确度。This application provides a risk assessment method, device, electronic equipment, and storage medium, which can improve the accuracy of risk assessment.
第一方面,本申请实施例提供了一种风险评估方法,包括:In the first aspect, an embodiment of the present application provides a risk assessment method, including:
获取待评估数据,并通过特征提取算法从所述待评估数据提取第一特征向量;Acquiring data to be evaluated, and extracting a first feature vector from the data to be evaluated through a feature extraction algorithm;
根据所述第一特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数;Score the data to be evaluated according to the first feature vector and the first risk evaluation model to obtain a first evaluation score;
根据所述第一特征向量和第二风险评估模型,对所述待评估数据进行评分,得到第二评估分数;Score the data to be evaluated according to the first feature vector and the second risk evaluation model to obtain a second evaluation score;
根据所述第一评估分数和所述第二评估分数,确定所述待评估数据的目标风险类型。According to the first evaluation score and the second evaluation score, the target risk type of the data to be evaluated is determined.
第二方面,本申请实施例还提供了一种风险评估装置,包括:In the second aspect, an embodiment of the present application also provides a risk assessment device, including:
第一获取模块,用于获取待评估数据,并通过特征提取算法从所述待评估数据提取第一特征向量;The first acquisition module is configured to acquire the data to be evaluated, and extract the first feature vector from the data to be evaluated through a feature extraction algorithm;
第一评分模块,用于根据所述第一特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数;The first scoring module is configured to score the data to be evaluated according to the first feature vector and the first risk evaluation model to obtain a first evaluation score;
第二评分模块,用于根据所述第一特征向量和第二风险评估模型,对所述待评估数据进行评分,得到第二评估分数;The second scoring module is configured to score the data to be evaluated according to the first feature vector and the second risk evaluation model to obtain a second evaluation score;
确定模块,用于根据所述第一评估分数和所述第二评估分数,确定所述待评估数据的目标风险类型。The determining module is configured to determine the target risk type of the data to be evaluated according to the first evaluation score and the second evaluation score.
第三方面,本申请实施例还提供了一种电子设备,包括:处理器、存储器以及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现风险评估方法:In a third aspect, an embodiment of the present application also provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and running on the processor, and the processor implements the risk when the computer program is executed. assessment method:
获取待评估数据,并通过特征提取算法从所述待评估数据提取第一特征向量;Acquiring data to be evaluated, and extracting a first feature vector from the data to be evaluated through a feature extraction algorithm;
根据所述第一特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数;Score the data to be evaluated according to the first feature vector and the first risk evaluation model to obtain a first evaluation score;
根据所述第一特征向量和第二风险评估模型,对所述待评估数据进行评分,得到第二评估分数;Score the data to be evaluated according to the first feature vector and the second risk evaluation model to obtain a second evaluation score;
根据所述第一评估分数和所述第二评估分数,确定所述待评估数据的目标风险类型。According to the first evaluation score and the second evaluation score, the target risk type of the data to be evaluated is determined.
第四方面,本申请实施例还提供了一种包含电子设备可执行指令的存储介质,所述电子设备可执行指令在由电子设备处理器执行时用于执行本申请实施例所述的风险评估方法。In a fourth aspect, an embodiment of the present application also provides a storage medium containing executable instructions of an electronic device. The executable instructions of the electronic device are used to perform the risk assessment described in the embodiments of the present application when executed by the processor of the electronic device. method.
附图说明Description of the drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显。By reading the detailed description of the non-limiting embodiments with reference to the following drawings, other features, purposes, and advantages of the present application will become more apparent.
图1是本申请实施例提供的风险评估方法的第一场景示意图。Fig. 1 is a schematic diagram of a first scenario of a risk assessment method provided by an embodiment of the present application.
图2是本申请实施例提供的风险评估方法的第二场景示意图。Fig. 2 is a schematic diagram of a second scenario of a risk assessment method provided by an embodiment of the present application.
图3是本申请实施例提供的风险评估方法的第一流程示意图。FIG. 3 is a schematic diagram of the first process of a risk assessment method provided by an embodiment of the present application.
图4是本申请实施例提供的风险评估方法的第三场景示意图。FIG. 4 is a schematic diagram of a third scenario of a risk assessment method provided by an embodiment of the present application.
图5是本申请实施例提供的自编码器的结构示意图。Fig. 5 is a schematic structural diagram of a self-encoder provided by an embodiment of the present application.
图6是本申请实施例提供的风险评估方法的第二流程示意图。FIG. 6 is a schematic diagram of the second process of the risk assessment method provided by the embodiment of the present application.
图7是本申请实施例提供的风险评估装置的结构示意图。Fig. 7 is a schematic structural diagram of a risk assessment device provided by an embodiment of the present application.
图8是本申请实施例提供的电子设备的第一结构示意图。FIG. 8 is a first structural schematic diagram of an electronic device provided by an embodiment of the present application.
图9是本申请实施例提供的电子设备的第二结构示意图。FIG. 9 is a schematic diagram of a second structure of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The application will be further described in detail below with reference to the drawings and embodiments. It is understandable that the specific embodiments described here are used to explain the application, but not to limit the application. In addition, it should be noted that, for ease of description, the drawings only show a part of the structure related to the present application instead of all of the structure.
本申请实施例提供一种风险评估方法,该风险评估方法应用于电子设备。其中,该风险评估方法的执行主体可以是本申请实施例提供的风险评估装置,或者集成了该风险评估装置的电子设备,该风险评估装置可以采用硬件或者软件的方式实现,电子设备可以是智能手机、平板电脑、掌上电脑、笔记本电脑、或者 台式电脑等配置有处理器而具有处理能力的设备。The embodiment of the present application provides a risk assessment method, which is applied to an electronic device. Wherein, the execution subject of the risk assessment method may be the risk assessment device provided in the embodiment of the present application, or an electronic device integrated with the risk assessment device. The risk assessment device may be implemented in hardware or software, and the electronic device may be a smart device. Mobile phones, tablet computers, handheld computers, notebook computers, or desktop computers are equipped with processors and have processing capabilities.
请参阅图1,图1为本申请实施例提供的风险评估方法的第一场景示意图。当客户端检测到基于用户触发的支付任务A的支付请求时,客户端向服务端发送支付任务A的支付请求。服务端在接收到客户端发送的支付请求后,结合第一风险评估模型和第二风险评估模型对支付任务A进行风险评估。如果支付任务A的风险不高,服务端响应支付任务A的支付请求,对支付任务A进行处理,并向客户端发送“支付成功”通知。如果支付任务A的风险高,为了提高安全性,服务端禁止响应支付任务A的支付请求,并向客户端发送身份验证请求。Please refer to FIG. 1. FIG. 1 is a schematic diagram of a first scenario of a risk assessment method provided by an embodiment of the application. When the client detects a payment request based on payment task A triggered by the user, the client sends a payment request for payment task A to the server. After receiving the payment request sent by the client, the server combines the first risk assessment model and the second risk assessment model to perform risk assessment on payment task A. If the risk of payment task A is not high, the server responds to the payment request of payment task A, processes payment task A, and sends a "payment successful" notification to the client. If the risk of payment task A is high, in order to improve security, the server prohibits responding to the payment request of payment task A and sends an identity verification request to the client.
请参阅图2,图2为本申请实施例提供的风险评估方法的第二场景示意图。当客户端检测到基于用户触发的支付任务B的支付请求时,客户端结合第一风险评估模型和第二风险评估模型对支付任务B进行风险评估。如果支付任务B的风险不高,客户端将支付任务B的支付请求发送给服务端,以让服务端根据支付请求对支付任务B进行处理。如果支付任务B的风险高,客户端需要用户重新确认支付任务B是否执行,并要求用户提供身份验证。在用户重新确认并身份验证合格后,客户端才将支付任务B的支付请求发送给服务端,以让服务端根据支付请求对支付任务B进行处理。Please refer to FIG. 2, which is a schematic diagram of a second scenario of the risk assessment method provided by an embodiment of the application. When the client terminal detects a payment request based on the payment task B triggered by the user, the client terminal performs risk assessment on the payment task B in combination with the first risk assessment model and the second risk assessment model. If the risk of payment task B is not high, the client sends the payment request of payment task B to the server, so that the server can process payment task B according to the payment request. If the risk of payment task B is high, the client requires the user to reconfirm whether payment task B is executed, and requires the user to provide identity verification. After the user reconfirms and the identity verification is qualified, the client sends the payment request of payment task B to the server, so that the server can process payment task B according to the payment request.
请参阅图3,图3为本申请实施例提供的风险评估方法的第一流程示意图。该风险评估方法的流程如下:Please refer to FIG. 3, which is a schematic diagram of the first process of the risk assessment method provided by an embodiment of the application. The process of this risk assessment method is as follows:
101、获取待评估数据,并通过特征提取算法从待评估数据提取第一特征向量。101. Obtain data to be evaluated, and extract a first feature vector from the data to be evaluated through a feature extraction algorithm.
本申请实施例中,当检测到待执行任务时,电子设备获取与待执行任务对应的待评估数据,并通过特征提取算法从待评估数据提取第一特征向量,以供风险评估模型进行风险评分。In this embodiment of the application, when a task to be executed is detected, the electronic device obtains the data to be evaluated corresponding to the task to be executed, and extracts the first feature vector from the data to be evaluated through a feature extraction algorithm for the risk assessment model to perform risk scoring .
其中,待执行任务不同,对应的待评估数据也不同。例如,待执行任务“应用程序A的会员充值”对应的待评估数据不同于待执行任务“下载应用程序A”对应的待评估数据。此外,待评估数据可以是多维数据,待评估数据至少包括任务数据、账号数据以及设备数据。Among them, the task to be performed is different, and the corresponding data to be evaluated is also different. For example, the to-be-evaluated data corresponding to the to-be-executed task "application A's membership recharge" is different from the to-be-evaluated data corresponding to the to-be-executed task "download application A". In addition, the data to be evaluated may be multi-dimensional data, and the data to be evaluated includes at least task data, account data, and device data.
例如,假设电子设备现有一待执行任务:在应用商店下载应用程序B。关于该待执行任务对应的待评估数据,至少包括:任务数据(如:下载的应用程序名称、下载时间、下载地点等)、账号数据(如:账号登录应用商店的总次数、账号登录应用商店的时间集合、账号登录应用商店的登录地点集合、账号下载应用程序的总次数、账号下载的应用程序类型等)、设备数据(如:设备登录应用商店的总次数、设备登录应用商店的时间集合、设备登录应用商店的登录地点集合、设备下载应用程序的总次数、设备下载的应用程序类型等)。For example, suppose that the electronic device has a task to be performed: downloading application B in the application store. The data to be evaluated corresponding to the task to be performed includes at least task data (e.g., downloaded application name, download time, download location, etc.), account data (e.g., total number of account logins to the app store, account login to the app store) The collection of time, the collection of login locations for the account to log in to the application store, the total number of times the account has downloaded applications, the type of applications downloaded by the account, etc.), device data (such as the total number of device logins to the application store, the collection of time devices log in to the application store) , The set of login locations where the device logs in to the application store, the total number of times the device has downloaded applications, the type of applications downloaded by the device, etc.).
可以理解的是,同一台设备可以登录多个账号,一个账号也可以在多台设备上登录。因此,电子设备在获取待评估数据时,既获取账号数据,又获取设备数据,可以使待评估数据更加全面,从而提高风险评估的准确度。It is understandable that multiple accounts can be logged in to the same device, and one account can also be logged in to multiple devices. Therefore, when the electronic device obtains the data to be evaluated, it obtains both the account data and the device data, which can make the data to be evaluated more comprehensive, thereby improving the accuracy of the risk assessment.
其中,特征提取算法用于从数据中提取特征以及根据特征生成特征向量。例如,假设电子设备通过特征提取算法从待评估数据中提取到1000个特征,然后根据该1000个特征生成一个1000维的第一特征向量,以供风险评估模型进行风险评估。Among them, the feature extraction algorithm is used to extract features from the data and generate feature vectors based on the features. For example, suppose that an electronic device extracts 1,000 features from the data to be evaluated through a feature extraction algorithm, and then generates a 1,000-dimensional first feature vector based on the 1,000 features for risk assessment by the risk assessment model.
在一些实施例中,电子设备获取待评估数据之后,电子设备对待评估数据进行清洗处理和补全处理,然后再通过特征提取算法从处理后的待评估数据中提取第一特征向量。In some embodiments, after the electronic device obtains the data to be evaluated, the electronic device cleans and completes the data to be evaluated, and then uses a feature extraction algorithm to extract the first feature vector from the processed data to be evaluated.
102、根据第一特征向量和第一风险评估模型,对待评估数据进行评分,得到第一评估分数。102. According to the first feature vector and the first risk evaluation model, score the data to be evaluated to obtain a first evaluation score.
本申请实施例中,在得到第一特征向量之后,电子设备将第一特征向量输入至第一风险评估模型中,通过第一风险评估模型对待评估数据进行评分,得到第一评估分数。In the embodiment of the present application, after obtaining the first feature vector, the electronic device inputs the first feature vector into the first risk assessment model, and scores the data to be assessed through the first risk assessment model to obtain the first assessment score.
其中,第一风险评估模型采用的是无监督算法,可用于对待评估数据进行风险评分。例如,第一风险评估模型可以通过预先搭建的聚类分析模型训练得到。例如,第一风险评估模型可以通过预先搭建的孤立森林模型训练得到。或者,第一风险评估模型还可以是其他能够通过无监督算法对待评估数据进行风险评分的模型,本申请实施例不作具体限定。Among them, the first risk assessment model uses an unsupervised algorithm, which can be used to score the risk of the data to be assessed. For example, the first risk assessment model can be obtained by training a pre-built cluster analysis model. For example, the first risk assessment model can be obtained by training a pre-built isolated forest model. Alternatively, the first risk assessment model may also be another model that can perform risk scoring on the data to be assessed through an unsupervised algorithm, which is not specifically limited in the embodiment of the present application.
103、根据第一特征向量和第二风险评估模型,对待评估数据进行评分,得到第二评估分数。103. According to the first feature vector and the second risk evaluation model, score the data to be evaluated to obtain a second evaluation score.
本申请实施例中,在得到第一特征向量之后,电子设备将第一特征向量输入至第二风险评估模型中,通过第二风险评估模型对待评估数据进行评分,得到第二评估分数。In the embodiment of the present application, after obtaining the first feature vector, the electronic device inputs the first feature vector into the second risk assessment model, and scores the data to be assessed through the second risk assessment model to obtain the second assessment score.
其中,第二风险评估模型采用的是有监督算法,可用于对待评估数据进行风险评分。例如,第二风险评估模型可以通过预先搭建的分类模型训练得到。例如,第二风险评估模型可以通过预先搭建的神经网络模型训练得到。或者,第二风险评估模型还可以是其他能够通过有监督算法对待评估数据进行风险评分的模型,本申请实施例不作具体限定。Among them, the second risk assessment model uses a supervised algorithm, which can be used to score the risk of the data to be assessed. For example, the second risk assessment model can be obtained by training a pre-built classification model. For example, the second risk assessment model can be obtained by training a neural network model built in advance. Alternatively, the second risk assessment model may also be another model that can perform risk scoring on the data to be assessed through a supervised algorithm, which is not specifically limited in the embodiment of the present application.
104、根据第一评估分数和第二评估分数,确定待评估数据的目标风险类型。104. Determine the target risk type of the data to be evaluated according to the first evaluation score and the second evaluation score.
本申请实施例中,在得到第一评估分数和第二评估分数之后,电子设备可以根据第一评估分数和第二评估分数确定待评估数据的目标评估分数,然后将目标评估分数对应的预设风险类型确定为待评估数据的目标风险类型。In the embodiment of the present application, after obtaining the first evaluation score and the second evaluation score, the electronic device may determine the target evaluation score of the data to be evaluated according to the first evaluation score and the second evaluation score, and then set the target evaluation score corresponding to a preset The risk type is determined as the target risk type of the data to be evaluated.
例如,在根据第一评估分数和第二评估分数确定待评估数据的目标评估分数时,电子设备可以将第一评估分数和第二评估分数的和作为待评估数据的目标评估分数。For example, when determining the target evaluation score of the data to be evaluated based on the first evaluation score and the second evaluation score, the electronic device may use the sum of the first evaluation score and the second evaluation score as the target evaluation score of the data to be evaluated.
例如,在根据第一评估分数和第二评估分数确定待评估数据的目标评估分数时,电子设备可以根据待评估数据的类型确定第一评估分数对应的第一权重系数和第二评估分数对应的第二权重系数。基于第一权重系数、第二权重系数、第一评估分数以及第二评估分数,计算待评估数据的目标评估分数。For example, when determining the target evaluation score of the data to be evaluated according to the first evaluation score and the second evaluation score, the electronic device may determine the first weight coefficient corresponding to the first evaluation score and the corresponding value corresponding to the second evaluation score according to the type of the data to be evaluated. The second weight coefficient. Based on the first weight coefficient, the second weight coefficient, the first evaluation score, and the second evaluation score, the target evaluation score of the data to be evaluated is calculated.
其中,相比于第二风险评估模型,当该种类型的待评估数据使用第一风险评估模型准确度更高时,第一评估分数对应的第一权重系数大于第二评估分数对应的第二权重系数。相比于第一风险评估模型,当该种类型的待评估数据使用第二风险评估模型准确度更高时,第一评估分数对应的第一权重系数小于第二评估分数对应的第二权重系数。Wherein, compared with the second risk assessment model, when this type of data to be assessed uses the first risk assessment model with higher accuracy, the first weight coefficient corresponding to the first assessment score is greater than the second assessment score corresponding to the second Weight coefficient. Compared with the first risk assessment model, when this type of data to be assessed uses the second risk assessment model with higher accuracy, the first weight coefficient corresponding to the first assessment score is smaller than the second weight coefficient corresponding to the second assessment score .
另一种实施方式中,在得到第一评估分数之后,电子设备可以直接根据第一评估分数确定待评估数据的目标风险类型。例如,当第一风险评估模型由预先搭建的孤立森林模型训练得到时,此时第一评估分数的取值范围在0至1之间。第一评估分数越小,待评估数据的目标风险类型的风险程度越低,第一评估分数越大,待评估数据的目标风险类型的风险程度越高。In another implementation manner, after obtaining the first evaluation score, the electronic device may directly determine the target risk type of the data to be evaluated according to the first evaluation score. For example, when the first risk assessment model is trained by a pre-built isolated forest model, the value range of the first assessment score is between 0 and 1. The smaller the first evaluation score, the lower the risk degree of the target risk type of the data to be evaluated, and the larger the first evaluation score, the higher the risk degree of the target risk type of the data to be evaluated.
又一种实施方式中,在得到第二评估分数之后,电子设备可以直接根据第二评估分数确定待评估数据的目标风险类型。例如,当第二风险评估模型由预先搭建的分类模型训练得到时,第二评估分数的大小与待评估数据的目标风险类型的风险程度成正相关或负相关。In another implementation manner, after obtaining the second evaluation score, the electronic device may directly determine the target risk type of the data to be evaluated according to the second evaluation score. For example, when the second risk assessment model is trained by a pre-built classification model, the size of the second assessment score is positively correlated or negatively correlated with the risk degree of the target risk type of the data to be evaluated.
由上可知,本申请实施例中,电子设备通过两种方式对待评估数据进行评分:通过第一风险评估模型对待评估数据进行评分、通过第二风险评估模型对待评估数据进行评分,最后结合两种方式的评分结果来综合确定待评估数据的目标风险类型,可以提高风险评估的准确度。As can be seen from the above, in the embodiment of the application, the electronic device scores the evaluation data in two ways: the first risk evaluation model is used to score the evaluation data, the second risk evaluation model is used to score the evaluation data, and finally the two methods are combined. Method of scoring results to comprehensively determine the target risk type of the data to be assessed, which can improve the accuracy of risk assessment.
请参阅图4,图4为本申请实施例提供的风险评估方法的第三场景示意图。在一些实施例中,根据第一特征向量和第一风险评估模型,对待评估数据进行评分,得到第一评估分数时,电子设备可以执行如下:Please refer to FIG. 4, which is a schematic diagram of a third scenario of a risk assessment method provided by an embodiment of the application. In some embodiments, according to the first feature vector and the first risk evaluation model, the data to be evaluated is scored, and when the first evaluation score is obtained, the electronic device may perform the following:
通过编码算法对第一特征向量进行编码处理,得到第二特征向量,其中,第一特征向量为离散特征,第二特征向量为连续特征;Encoding the first feature vector by an encoding algorithm to obtain a second feature vector, where the first feature vector is a discrete feature and the second feature vector is a continuous feature;
基于第二特征向量和第一风险评估模型,对待评估数据进行评分,得到第一评估分数。Based on the second feature vector and the first risk evaluation model, score the data to be evaluated to obtain the first evaluation score.
其中,编码算法用于对特征向量进行编码处理,以使特征向量的向量元素由离散特征变为连续特征。该方案中的编码算法是基于预先搭建的自编码器 (autoencoder,AE)训练得到。Among them, the encoding algorithm is used to encode the feature vector, so that the vector elements of the feature vector are changed from discrete features to continuous features. The encoding algorithm in this solution is based on pre-built autoencoder (AE) training.
例如,电子设备获取多个样本向量,构成第一训练集。然后使用第一训练集对自编码器进行训练,以更新自编码器的模型参数。最后,基于更新模型参数后的自编码器中的编码器,构建编码算法。其中,自编码器包括编码器(encoder)和解码器(decoder)。For example, the electronic device obtains multiple sample vectors to form the first training set. Then use the first training set to train the autoencoder to update the model parameters of the autoencoder. Finally, based on the encoder in the autoencoder after updating the model parameters, an encoding algorithm is constructed. Among them, the self-encoder includes an encoder (encoder) and a decoder (decoder).
请参阅图5,图5为本申请实施例提供的自编码器的结构示意图。自编码器在训练时,会对每个样本向量X进行编码操作和解码操作。编码操作是指通过编码器将样本向量X映射到特征空间,得到抽象特征向量Z。解码操作是指通过解码器将抽象特征向量Z映射回原始空间,得到重构向量
Figure PCTCN2020079761-appb-000001
可以理解的是,当样本向量X与重构向量
Figure PCTCN2020079761-appb-000002
的误差最小时,自编码器训练完成。
Please refer to FIG. 5, which is a schematic structural diagram of a self-encoder according to an embodiment of the application. During training, the autoencoder will perform encoding and decoding operations on each sample vector X. The encoding operation refers to mapping the sample vector X to the feature space through the encoder to obtain the abstract feature vector Z. Decoding operation refers to mapping the abstract feature vector Z back to the original space through the decoder to obtain the reconstructed vector
Figure PCTCN2020079761-appb-000001
It is understandable that when the sample vector X and the reconstruction vector
Figure PCTCN2020079761-appb-000002
When the error of is the smallest, the autoencoder training is completed.
需要说明的是,因为向量元素为离散特征的特征向量不适合使用第一风险评估模型进行风险评分,所以通过编码算法将向量元素为离散特征的特征向量转化成向量元素为连续特征的特征向量,使其适合使用第一风险评估模型进行风险评分,从而提高风险评估的准确度。It should be noted that because the eigenvectors whose vector elements are discrete features are not suitable for risk scoring using the first risk assessment model, an encoding algorithm is used to convert the eigenvectors whose vector elements are discrete features into eigenvectors whose vector elements are continuous features. Make it suitable for risk scoring using the first risk assessment model, thereby improving the accuracy of risk assessment.
请参阅图6,图6为本申请实施例提供的风险评估方法的第二流程示意图。该风险评估方法的流程如下:Please refer to FIG. 6. FIG. 6 is a schematic diagram of the second process of the risk assessment method provided by the embodiment of the application. The process of this risk assessment method is as follows:
201、获取待评估数据,并通过特征提取算法对待评估数据进行特征提取,得到第一数值特征和文本特征。201. Obtain data to be evaluated, and perform feature extraction on the data to be evaluated through a feature extraction algorithm to obtain first numerical features and text features.
其中,第一数值特征是指用数值表示的特征,如:电子设备通过特征提取算法对“设备下载应用程序C的次数:5”进行特征提取,得到第一数值特征:“5”。文本特征是指用文本表示的特征,如:电子设备通过特征提取算法对“设备下载应用程序C的地点:北京”进行特征提取,得到文本特征:“北京”。Among them, the first numerical feature refers to a feature represented by a numerical value. For example, the electronic device uses a feature extraction algorithm to extract the feature of "the number of times the device downloads the application C: 5" to obtain the first numerical feature: "5". The text feature refers to the feature represented by the text. For example, the electronic device uses the feature extraction algorithm to extract the feature of "the location where the device downloads the application C: Beijing" to obtain the text feature: "Beijing".
202、对第一数值特征进行归一化处理,并对文本特征进行转换处理,以将文本特征转换成第二数值特征。202. Perform normalization processing on the first numerical feature, and perform conversion processing on the text feature, so as to convert the text feature into a second numerical feature.
其中,归一化处理目的是将表示第一数值特征的数值进行规范化,使表示第一数值特征的数值在规定的数值范围内(如0至1数值范围内)。Among them, the purpose of the normalization processing is to normalize the value representing the first numerical feature, so that the value representing the first numerical feature is within a specified numerical range (for example, within a numerical range of 0 to 1).
该方案中的转换处理的目的是将文本特征转换成第二数值特征。其中,第二数值特征也是指用数值表示的特征。The purpose of the conversion process in this solution is to convert text features into second numerical features. Among them, the second numerical characteristic also refers to a characteristic expressed by a numerical value.
例如,电子设备在将文本特征“北京”转换成第二数值特征时,判断该电子设备是否正位于北京,若电子设备正位于北京,则将文本特征“北京”转换成第二数值特征:“1”,若电子设备正不位于北京,则将文本特征“北京”转换成第二数值特征:“0”。For example, when an electronic device converts the text feature "Beijing" into a second numerical feature, it determines whether the electronic device is located in Beijing. If the electronic device is located in Beijing, it converts the text feature "Beijing" into a second numerical feature: " 1", if the electronic device is not located in Beijing, the text feature "Beijing" is converted into a second numerical feature: "0".
203、基于第一数值特征和第二数值特征,生成第一特征向量。203. Generate a first feature vector based on the first numerical feature and the second numerical feature.
本申请实施例中,得到第一数值特征和第二数值特征之后,电子设备按照每 个特征的预设顺序,根据第一数值特征和第二数值特征生成第一特征向量。In the embodiment of the present application, after obtaining the first numerical feature and the second numerical feature, the electronic device generates the first feature vector according to the preset order of each feature according to the first numerical feature and the second numerical feature.
例如,假设电子设备得到2个第一数值特征和1个第二数值特征。2个第一数值特征分别为:0.05(由账号下载应用程序D的次数“5”得到)、0.1(由账号登录次数“100”得到),1个第二数值特征分别为:1(由下载地点“北京”得到)。如果账号登录次数是作为第一维的向量元素,账号下载应用程序D是作为第二维的向量元素,下载地点是作为第三维的向量元素,那么第一数值特征“0.05”的预设顺序是2,第一数值特征“0.1”的预设顺序是1,第二数值特征“1”的预设顺序是3。电子设备生成的第一特征向量为(0.1,0.05,1)。For example, suppose that the electronic device obtains 2 first numerical characteristics and 1 second numerical characteristic. The two first numerical features are respectively: 0.05 (obtained from the number of times the account has downloaded application D "5"), 0.1 (obtained from the number of account logins "100"), and one second numerical characteristic is: 1 (by downloading Get the location "Beijing"). If the number of account logins is the first-dimensional vector element, the account download application D is the second-dimensional vector element, and the download location is the third-dimensional vector element, then the preset order of the first numerical feature "0.05" is 2. The preset order of the first numerical feature "0.1" is 1, and the preset order of the second numerical feature "1" is 3. The first feature vector generated by the electronic device is (0.1, 0.05, 1).
204、根据第一特征向量中向量元素的排列顺序,确定每一向量元素在第二风险评估模型对应的权重值,其中,向量元素包括第一数值特征和第二数值特征。204. Determine the weight value corresponding to each vector element in the second risk assessment model according to the arrangement order of the vector elements in the first feature vector, where the vector element includes the first numerical feature and the second numerical feature.
本申请实施例中,在生成第一特征向量之后,电子设备根据第一特征向量中向量元素的排列顺序,确定每一向量元素在第二风险评估模型对应的权重值。例如,对于第一特征向量中排列在第二维的向量元素,其在第二风险评估模型对应的权重值也排列在第二维。In the embodiment of the present application, after the first feature vector is generated, the electronic device determines the weight value corresponding to each vector element in the second risk assessment model according to the arrangement order of the vector elements in the first feature vector. For example, for vector elements arranged in the second dimension in the first feature vector, their corresponding weight values in the second risk assessment model are also arranged in the second dimension.
其中,权重值可以表征该向量元素所表示特征的重要程度。权重值越大,表示该向量元素所表示特征越重要。权重值越小,表示该向量元素所表示特征越次要。Among them, the weight value can represent the importance of the feature represented by the vector element. The larger the weight value, the more important the feature represented by the vector element. The smaller the weight value, the less important the feature represented by the vector element.
需要说明的是,因为用于训练第二风险评估模型的第四特征向量和第一特征向量在同一维向量元素表示的内容相同,如第四特征向量和第一特征向量的第二维向量元素都表示的是账号登录次数。所以每一向量元素在第二风险评估模型对应的权重值可以表征该向量元素所表示特征的重要程度。It should be noted that because the fourth feature vector used to train the second risk assessment model and the first feature vector have the same content in the same dimension vector element, such as the fourth feature vector and the second dimension vector element of the first feature vector Both indicate the number of account logins. Therefore, the weight value corresponding to each vector element in the second risk assessment model can represent the importance of the feature represented by the vector element.
205、根据对应的权重值的大小,调整每一向量元素的大小,以得到第三特征向量。205. Adjust the size of each vector element according to the size of the corresponding weight value to obtain the third feature vector.
本申请实施例中,在确定每一向量元素在第二风险评估模型对应的权重值之后,根据对应权重值的大小,调整每一向量元素的大小。其中,如果对应权重值大,说明这个权重值对应的向量元素比较重要,电子设备可以将该向量元素的数值变大,使该向量元素能和其他向量元素区别开来。In the embodiment of the present application, after determining the weight value of each vector element corresponding to the second risk assessment model, the size of each vector element is adjusted according to the size of the corresponding weight value. Among them, if the corresponding weight value is large, it indicates that the vector element corresponding to the weight value is more important, and the electronic device can increase the value of the vector element so that the vector element can be distinguished from other vector elements.
在一些实施例中,根据对应的权重值的大小,调整每一向量元素的大小时,电子设备可以将对应的权重值最大的预设数量的向量元素的值增大。例如,假设7个向量元素对应的权重值记为:0.1、0.2、0.3、0.4、0.5、0.6、0.7,预设数量为3,电子设备将权重值0.5对应的向量元素、0.6对应的向量元素、0.7对应的向量元素的值增大。其中,预设数量预先设置在电子设备中,预设数量可以由电子设备自主确定或用户手动确定。In some embodiments, when the size of each vector element is adjusted according to the size of the corresponding weight value, the electronic device may increase the value of the preset number of vector elements with the largest corresponding weight value. For example, assuming that the weight values corresponding to 7 vector elements are recorded as: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, and the preset number is 3, the electronic device sets the vector element corresponding to the weight value 0.5 and the vector element corresponding to 0.6 The value of the vector element corresponding to 0.7 increases. The preset number is preset in the electronic device, and the preset number can be determined autonomously by the electronic device or manually determined by the user.
206、根据第三特征向量和第一风险评估模型,对待评估数据进行评分,得 到第一评估分数。206. According to the third feature vector and the first risk assessment model, score the data to be assessed, and obtain the first assessment score.
本申请实施例中,在得到第三特征向量之后,电子设备将第三特征向量输入至第一风险评估模型中,通过第一风险评估模型对待评估数据进行评分,得到第一评估分数。In the embodiment of the present application, after obtaining the third feature vector, the electronic device inputs the third feature vector into the first risk assessment model, and scores the data to be assessed through the first risk assessment model to obtain the first assessment score.
例如,假设第一风险评估模型由预先搭建的孤立森林模型训练得到。在得到第三特征向量之后,电子设备将第三特征向量输入至第一风险评估模型中,确定每一向量元素在第二风险评估模型对应的平均路径长度,根据每一向量元素的平均路径长度,得到并输出第一评估分数。其中,第一风险评估模型中包括至少两棵孤立树。向量元素在每棵孤立树中遍历的节点数作为该向量元素在该棵孤立树的路径长度。向量元素在第二风险评估模型对应的平均路径长度是向量元素在每棵孤立树的路径长度的平均值。For example, suppose that the first risk assessment model is trained by a pre-built isolated forest model. After obtaining the third feature vector, the electronic device inputs the third feature vector into the first risk assessment model to determine the average path length corresponding to each vector element in the second risk assessment model, according to the average path length of each vector element , Get and output the first evaluation score. Among them, the first risk assessment model includes at least two isolated trees. The number of nodes traversed by a vector element in each isolated tree is used as the path length of the vector element in the isolated tree. The average path length corresponding to the vector elements in the second risk assessment model is the average of the path lengths of the vector elements in each isolated tree.
需要说明的是,因为第三特征向量对大的权重值对应的向量元素的值进行调整,使得该向量元素与其他向量元素区别开来,所以通过第一风险评估模型对待评估数据进行评分时,电子设备可以将基于该向量元素得到的子分数作为第一评估分数的重要组成部分。It should be noted that because the third feature vector adjusts the value of the vector element corresponding to the large weight value to distinguish the vector element from other vector elements, when scoring the evaluation data through the first risk assessment model, The electronic device may use the sub-score obtained based on the vector element as an important component of the first evaluation score.
207、根据第一特征向量和第二风险评估模型,对待评估数据进行评分,得到第二评估分数。207. According to the first feature vector and the second risk evaluation model, score the data to be evaluated to obtain a second evaluation score.
本申请实施例中,在得到第一特征向量之后,电子设备将第一特征向量输入至第二风险评估模型中,通过第二风险评估模型对待评估数据进行评分,得到第二评估分数。In the embodiment of the present application, after obtaining the first feature vector, the electronic device inputs the first feature vector into the second risk assessment model, and scores the data to be assessed through the second risk assessment model to obtain the second assessment score.
例如,假设第二风险评估模型由预先搭建的分类模型得到。在得到第一特征向量之后,电子设备将第一特征向量输入至第二风险评估模型中,然后根据第一特征向量中向量元素的排列顺序,确定每一向量元素在第二风险评估模型对应的权重值,基于权重值和向量元素进行加权求和处理,以得到并输出第二评估分数。For example, suppose that the second risk assessment model is obtained from a pre-built classification model. After obtaining the first feature vector, the electronic device inputs the first feature vector into the second risk assessment model, and then, according to the arrangement order of the vector elements in the first feature vector, determines the corresponding value of each vector element in the second risk assessment model. The weight value is weighted and summed based on the weight value and the vector elements to obtain and output the second evaluation score.
208、根据第一评估分数和第二评估分数,确定待评估数据的目标风险类型。208. Determine the target risk type of the data to be evaluated according to the first evaluation score and the second evaluation score.
本申请实施例中,在得到第一评估分数和第二评估分数之后,电子设备可以根据第一评估分数和第二评估分数确定待评估数据的目标评估分数,然后将目标评估分数对应的预设风险类型确定为待评估数据的目标风险类型。In this embodiment of the application, after obtaining the first evaluation score and the second evaluation score, the electronic device may determine the target evaluation score of the data to be evaluated according to the first evaluation score and the second evaluation score, and then set the target evaluation score to a preset The risk type is determined as the target risk type of the data to be evaluated.
209、当目标风险类型的风险等级低于或等于预设等级时,执行待评估数据对应的待执行任务。209. When the risk level of the target risk type is lower than or equal to the preset level, execute the to-be-executed task corresponding to the to-be-assessed data.
本申请实施例中,在确定待评估数据的目标风险类型之后,当目标风险类型的风险等级低于或等于预设等级时,电子设备可以执行待评估数据对应的待执行任务。当目标风险类型的风险等级低于或等于预设等级时,电子设备可以禁止待评估数据对应的待执行任务,并向用户输出提示信息,如“待执行任务风险等级 高”的提示信息。In the embodiment of the present application, after determining the target risk type of the data to be evaluated, when the risk level of the target risk type is lower than or equal to the preset level, the electronic device may execute the task to be performed corresponding to the data to be evaluated. When the risk level of the target risk type is lower than or equal to the preset level, the electronic device may prohibit the task to be performed corresponding to the data to be evaluated, and output prompt information to the user, such as a prompt message of "the task to be performed has a high risk level".
由上可知,本申请实施例中,电子设备在处理待执行任务前,先通过该待执行任务对应的待评估数据进行风险评估,在风险等级低于或等于预设等级时执行该待执行任务,在风险等级高于预设等级时禁止执行该待执行任务以及向用户输出提示信息,可以提高电子设备的安全性。It can be seen from the above that, in the embodiment of the present application, before processing the task to be performed, the electronic device first performs risk assessment through the to-be-evaluated data corresponding to the task to be performed, and executes the task to be performed when the risk level is lower than or equal to the preset level When the risk level is higher than the preset level, the execution of the task to be performed is prohibited and the prompt information is output to the user, which can improve the safety of the electronic device.
在一些实施例中,第二风险评估模型为分类模型,电子设备还可以执行如下:In some embodiments, the second risk assessment model is a classification model, and the electronic device may also perform the following:
获取多个样本评估数据;Obtain multiple sample evaluation data;
通过特征提取算法从样本评估数据提取第四特征向量;Extract the fourth feature vector from the sample evaluation data through a feature extraction algorithm;
获取每个样本评估数据的样本风险类型,根据第四特征向量和样本风险类型构成训练集;Obtain the sample risk type of each sample evaluation data, and form a training set according to the fourth feature vector and the sample risk type;
使用训练集对分类模型进行训练,以更新分类模型的模型参数。Use the training set to train the classification model to update the model parameters of the classification model.
其中,通过特征提取算法从样本评估数据提取第四特征向量的具体实施方式可参阅上文通过特征提取算法从待评估数据提取第一特征向量的具体实施方式。需要说明的是,一个样本评估数据可以提取到一个第四特征向量。一个第四特征向量对应一个样本风险类型。Among them, the specific implementation manner of extracting the fourth feature vector from the sample evaluation data through the feature extraction algorithm can refer to the above specific implementation manner of extracting the first feature vector from the data to be evaluated through the feature extraction algorithm. It should be noted that a fourth feature vector can be extracted from one sample evaluation data. A fourth feature vector corresponds to a sample risk type.
此外,对于该方案中的样本风险类型的获取方法,本申请实施例不作具体限定。例如,电子设备可以通过接收用户为样本评估数据设置的样本风险类型来实现样本风险类型的获取。例如,电子设备可以自动确定样本评估数据的样本风险类型等。In addition, the method for obtaining the sample risk type in this solution is not specifically limited in the embodiment of the present application. For example, the electronic device can obtain the sample risk type by receiving the sample risk type set by the user for the sample evaluation data. For example, the electronic device can automatically determine the sample risk type of the sample evaluation data, etc.
在一些实施例中,获取每个样本评估数据的样本风险类型时,电子设备可以执行如下:In some embodiments, when acquiring the sample risk type of each sample evaluation data, the electronic device may perform the following:
通过第一风险评估模型和对应的第四特征向量,对样本评估数据进行评分,得到第三评估分数,并根据第三评估分数确定样本评估数据的样本风险类型。According to the first risk assessment model and the corresponding fourth feature vector, the sample assessment data is scored to obtain the third assessment score, and the sample risk type of the sample assessment data is determined according to the third assessment score.
该方案中,电子设备通过第一风险评估模型自动确定样本评估数据的样本风险类型,可以减少人工操作,节省确定样本风险类型的时间,从而缩短第二风险评估模型的训练时间,提高第二风险评估模型的训练效率。In this solution, the electronic device automatically determines the sample risk type of the sample evaluation data through the first risk assessment model, which can reduce manual operations and save the time for determining the sample risk type, thereby shortening the training time of the second risk assessment model and increasing the second risk Evaluate the training efficiency of the model.
需要说明的是,基于该方案通过第一风险评估模型自动确定样本评估数据的样本风险类型,提高了第二风险评估模型的训练效率,电子设备可以在短时间内对第二风险评估模型进行训练,如电子设备每间隔预设时长(如30分钟)对第二风险评估模型进行训练,从而提高第二风险评估模型的实时性。It should be noted that based on this solution, the first risk assessment model automatically determines the sample risk type of the sample assessment data, which improves the training efficiency of the second risk assessment model. The electronic device can train the second risk assessment model in a short time. For example, the electronic device trains the second risk assessment model every preset time interval (for example, 30 minutes), thereby improving the real-time performance of the second risk assessment model.
在一些实施例中,根据第三评估分数确定样本评估数据的样本风险类型时,电子设备可以执行如下:In some embodiments, when determining the sample risk type of the sample evaluation data according to the third evaluation score, the electronic device may perform the following:
当第三评估分数位于预设区间内时,将第三评估分数对应的预设风险类型作为样本评估数据的样本风险类型;When the third evaluation score is within the preset interval, use the preset risk type corresponding to the third evaluation score as the sample risk type of the sample evaluation data;
当第三评估分数不位于预设区间内时,获取用户为样本评估数据设置的样本风险类型。When the third evaluation score is not within the preset interval, the sample risk type set by the user for the sample evaluation data is acquired.
其中,电子设备预先设置至少两个预设区间。不同预设区间对应不同的样本风险类型。第三评估分数所在预设区间对应的样本风险类型即是样本评估数据的样本风险类型。Wherein, the electronic device presets at least two preset intervals. Different preset intervals correspond to different sample risk types. The sample risk type corresponding to the preset interval of the third evaluation score is the sample risk type of the sample evaluation data.
需要说明的是,在预先设置预设区间时,考虑一些第三评估分数对应的样本风险类型不稳定,为了提高样本风险类型的准确性以及第二风险评估模型的训练效果,电子设备在设置预设区间时只考虑对应的样本风险类型稳定的第三评估分数。对于对应的样本风险类型不稳定的第三评估分数,采取用户手动确定样本风险类型的方式。可以提高第二风险评估模型的训练效果,以及一定限度上提高第二风险评估模型的训练效率。It should be noted that when the preset interval is set in advance, some sample risk types corresponding to the third evaluation score are considered to be unstable. In order to improve the accuracy of the sample risk types and the training effect of the second risk evaluation model, the electronic device is setting the preset When setting the interval, only the third evaluation score of the corresponding sample risk type is considered stable. For the third evaluation score that corresponds to the unstable risk type of the sample, the user manually determines the risk type of the sample. The training effect of the second risk assessment model can be improved, and the training efficiency of the second risk assessment model can be improved to a certain extent.
例如,假设样本风险类型包括无风险类型和有风险类型。第一风险评估模型由预先搭建的孤立森林模型训练得到,此时第三评估分数的取值范围在0至1。因为第三评估分数在0.5附近的样本评估数据难以区分是无风险类型还是有风险类型,所以电子设备预先设置的预设区间包括无风险区间(如[0,0.2])和有风险区间(如[0.8,1])。For example, suppose that the sample risk types include non-risk types and risky types. The first risk assessment model is trained by the pre-built isolated forest model, and the value range of the third assessment score is 0 to 1. Because the sample evaluation data with the third evaluation score near 0.5 is difficult to distinguish between the risk-free type and the risky type, the preset interval preset by the electronic device includes the risk-free interval (such as [0, 0.2]) and the risky interval (such as [0.8, 1]).
图7是本申请实施例提供的风险评估装置的结构示意图,该装置用于执行上述实施例提供的风险评估方法,具备执行方法相应的功能模块和有益效果。该风险评估装置300具体包括:第一获取模块301、第一评分模块302、第二评分模块303以及确定模块304,其中:FIG. 7 is a schematic structural diagram of a risk assessment device provided by an embodiment of the present application. The device is used to implement the risk assessment method provided in the above-mentioned embodiment, and has functional modules and beneficial effects corresponding to the execution method. The risk assessment device 300 specifically includes: a first obtaining module 301, a first scoring module 302, a second scoring module 303, and a determining module 304, wherein:
第一获取模块301,用于获取待评估数据,并通过特征提取算法从所述待评估数据提取第一特征向量;The first acquisition module 301 is configured to acquire data to be evaluated, and extract a first feature vector from the data to be evaluated by a feature extraction algorithm;
第一评分模块302,用于根据所述第一特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数;The first scoring module 302 is configured to score the data to be evaluated according to the first feature vector and the first risk evaluation model to obtain a first evaluation score;
第二评分模块303,用于根据所述第一特征向量和第二风险评估模型,对所述待评估数据进行评分,得到第二评估分数;The second scoring module 303 is configured to score the data to be evaluated according to the first feature vector and the second risk evaluation model to obtain a second evaluation score;
确定模块304,用于根据所述第一评估分数和所述第二评估分数,确定所述待评估数据的目标风险类型。The determining module 304 is configured to determine the target risk type of the data to be evaluated according to the first evaluation score and the second evaluation score.
在一些实施例中,根据所述第一特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数时,第一评分模块302可以用于:In some embodiments, the data to be evaluated is scored according to the first feature vector and the first risk assessment model, and when the first evaluation score is obtained, the first scoring module 302 may be used to:
通过编码算法对所述第一特征向量进行编码处理,得到第二特征向量,其中,所述第一特征向量为离散特征,所述第二特征向量为连续特征;Performing encoding processing on the first feature vector by an encoding algorithm to obtain a second feature vector, where the first feature vector is a discrete feature, and the second feature vector is a continuous feature;
基于所述第二特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数。Score the data to be assessed based on the second feature vector and the first risk assessment model to obtain a first assessment score.
在一些实施例中,通过特征提取算法从所述待评估数据提取第一特征向量时,第一获取模块301可以用于:In some embodiments, when the first feature vector is extracted from the data to be evaluated by a feature extraction algorithm, the first acquisition module 301 may be used to:
通过特征提取算法对所述待评估数据进行特征提取,得到第一数值特征和文本特征;Performing feature extraction on the data to be evaluated by a feature extraction algorithm to obtain the first numerical feature and the text feature;
对所述第一数值特征进行归一化处理,并对所述文本特征进行转换处理,以将所述文本特征转换成第二数值特征;Performing normalization processing on the first numerical feature, and performing conversion processing on the text feature, so as to convert the text feature into a second numerical feature;
基于所述第一数值特征和所述第二数值特征,生成第一特征向量。Based on the first numerical feature and the second numerical feature, a first feature vector is generated.
在一些实施例中,所述第一风险评估模型由预先搭建的孤立森林模型训练得到,所述第二风险评估模型由预先搭建的分类模型得到;In some embodiments, the first risk assessment model is obtained by training a pre-built isolated forest model, and the second risk assessment model is obtained by a pre-built classification model;
根据所述第一特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数时,第一评分模块302可以用于:According to the first feature vector and the first risk evaluation model, the data to be evaluated is scored, and when the first evaluation score is obtained, the first scoring module 302 can be used to:
根据所述第一特征向量中向量元素的排列顺序,确定每一向量元素在所述第二风险评估模型对应的权重值,其中,所述向量元素包括所述第一数值特征和所述第二数值特征;According to the sequence of the vector elements in the first feature vector, the weight value corresponding to each vector element in the second risk assessment model is determined, wherein the vector element includes the first numerical feature and the second Numerical characteristics;
根据对应的权重值的大小,调整每一所述向量元素的大小,以得到第三特征向量;Adjusting the size of each vector element according to the size of the corresponding weight value to obtain a third feature vector;
根据所述第三特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数。According to the third feature vector and the first risk assessment model, score the data to be assessed to obtain a first assessment score.
在一些实施例中,根据对应的权重值的大小,调整每一所述向量元素的大小时,第一评分模块302可以用于:In some embodiments, when adjusting the size of each vector element according to the size of the corresponding weight value, the first scoring module 302 may be used to:
将对应的权重值最大的预设数量的向量元素的值增大。Increase the value of the preset number of vector elements corresponding to the largest weight value.
在一些实施例中,根据所述第一评估分数和所述第二评估分数,确定所述待评估数据的目标风险类型之后,风险评估装置300还包括:In some embodiments, after determining the target risk type of the data to be evaluated according to the first evaluation score and the second evaluation score, the risk evaluation device 300 further includes:
执行模块,用于当所述目标风险类型的风险等级低于或等于预设等级时,执行所述待评估数据对应的待执行任务。The execution module is configured to execute the task to be executed corresponding to the data to be evaluated when the risk level of the target risk type is lower than or equal to the preset level.
在一些实施例中,所述第二风险评估模型为分类模型,风险评估装置300还包括:In some embodiments, the second risk assessment model is a classification model, and the risk assessment device 300 further includes:
第二获取模块,用于获取多个样本评估数据;The second acquisition module is used to acquire multiple sample evaluation data;
提取模块,用于通过所述特征提取算法从所述样本评估数据提取第四特征向量;An extraction module, configured to extract a fourth feature vector from the sample evaluation data through the feature extraction algorithm;
第三获取模块,用于获取每个样本评估数据的样本风险类型,根据所述第四特征向量和样本风险类型构成训练集;The third acquisition module is used to acquire the sample risk type of each sample evaluation data, and form a training set according to the fourth feature vector and the sample risk type;
训练模块,用于使用所述训练集对所述分类模型进行训练,以更新所述分类模型的模型参数。The training module is configured to use the training set to train the classification model to update the model parameters of the classification model.
在一些实施例中,获取每个样本评估数据的样本风险类型时,所述第三获取模块可以用于:In some embodiments, when obtaining the sample risk type of each sample evaluation data, the third obtaining module may be used to:
通过所述第一风险评估模型和对应的第四特征向量,对所述样本评估数据进行评分,得到第三评估分数,并根据所述第三评估分数确定所述样本评估数据的样本风险类型。According to the first risk assessment model and the corresponding fourth feature vector, the sample assessment data is scored to obtain a third assessment score, and the sample risk type of the sample assessment data is determined according to the third assessment score.
在一些实施例中,根据所述第三评估分数确定所述样本评估数据的样本风险类型时,所述第三获取模块可以用于:In some embodiments, when determining the sample risk type of the sample evaluation data according to the third evaluation score, the third acquisition module may be used to:
当所述第三评估分数位于预设区间内时,将所述第三评估分数对应的预设风险类型作为所述样本评估数据的样本风险类型;When the third evaluation score is within a preset interval, use the preset risk type corresponding to the third evaluation score as the sample risk type of the sample evaluation data;
当所述第三评估分数不位于所述预设区间内时,获取用户为所述样本评估数据设置的样本风险类型。When the third evaluation score is not within the preset interval, acquiring the sample risk type set by the user for the sample evaluation data.
由上可知,本申请实施例提供的风险评估装置300,第一获取模块301获取待评估数据,并通过特征提取算法从待评估数据提取第一特征向量,然后第一评分模块302根据第一特征向量和第一风险评估模型,对待评估数据进行评分,得到第一评估分数,以及第二评分模块303根据第一特征向量和第二风险评估模型,对待评估数据进行评分,得到第二评估分数,最后确定模块304根据第一评估分数和第二评估分数,确定待评估数据的目标风险类型。结合第一风险评估模型和第二风险评估模型的评分结果来综合确定待评估数据的目标风险类型,可以提高风险评估的准确度。As can be seen from the above, in the risk assessment device 300 provided by the embodiment of the present application, the first acquisition module 301 acquires the data to be evaluated, and extracts the first feature vector from the data to be evaluated through the feature extraction algorithm, and then the first scoring module 302 uses the first feature The vector and the first risk evaluation model are used to score the data to be evaluated to obtain the first evaluation score, and the second scoring module 303 scores the data to be evaluated according to the first feature vector and the second risk evaluation model to obtain the second evaluation score, The final determination module 304 determines the target risk type of the data to be evaluated according to the first evaluation score and the second evaluation score. Combining the scoring results of the first risk assessment model and the second risk assessment model to comprehensively determine the target risk type of the data to be assessed can improve the accuracy of risk assessment.
应当说明的是,本申请实施例提供的风险评估装置与上文实施例中的风险评估方法属于同一构思,在风险评估装置上可以运行风险评估方法实施例中提供的任一方法,其具体实现过程详见风险评估方法实施例,此处不再赘述。It should be noted that the risk assessment device provided in the embodiment of this application belongs to the same concept as the risk assessment method in the above embodiment. Any method provided in the risk assessment method embodiment can be run on the risk assessment device, and its specific implementation For details of the process, refer to the embodiment of the risk assessment method, which will not be repeated here.
本申请实施例还提供一种电子设备,请参阅图8,本申请实施例提供的电子设备的第一结构示意图。电子设备400包括处理器401和存储器402。其中,处理器401与存储器402电性连接。An embodiment of the present application also provides an electronic device. Please refer to FIG. 8, which is a first schematic structural diagram of the electronic device provided by the embodiment of the present application. The electronic device 400 includes a processor 401 and a memory 402. Wherein, the processor 401 and the memory 402 are electrically connected.
处理器401是电子设备400的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或加载存储在存储器402内的计算机程序,以及调用存储在存储器402内的数据,执行电子设备400的各种功能并处理数据。The processor 401 is the control center of the electronic device 400. It uses various interfaces and lines to connect various parts of the entire electronic device. Various functions of the device 400 and processing data.
存储器402可用于存储软件程序以及模块,处理器401通过运行存储在存储器402的计算机程序以及模块,从而执行各种功能应用以及数据处理。存储器402可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的计算机程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据等。The memory 402 may be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the computer programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, a computer program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of electronic equipment, etc.
此外,存储器402可以包括高速随机存取存储器,还可以包括非易失性存储 器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器402还可以包括存储器控制器,以提供处理器401对存储器402的访问。In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
在本申请实施例中,电子设备400中的处理器401会按照如下的步骤,将一个或一个以上的计算机程序的进程对应的指令加载到存储器402中,并由处理器401运行存储在存储器402中的计算机程序,从而实现各种功能,如下:In the embodiment of the present application, the processor 401 in the electronic device 400 will load the instructions corresponding to the process of one or more computer programs into the memory 402 according to the following steps, and run the instructions by the processor 401 and store them in the memory 402. In order to realize various functions in the computer program, as follows:
获取待评估数据,并通过特征提取算法从所述待评估数据提取第一特征向量;Acquiring data to be evaluated, and extracting a first feature vector from the data to be evaluated through a feature extraction algorithm;
根据所述第一特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数;Score the data to be evaluated according to the first feature vector and the first risk evaluation model to obtain a first evaluation score;
根据所述第一特征向量和第二风险评估模型,对所述待评估数据进行评分,得到第二评估分数;Score the data to be evaluated according to the first feature vector and the second risk evaluation model to obtain a second evaluation score;
根据所述第一评估分数和所述第二评估分数,确定所述待评估数据的目标风险类型。According to the first evaluation score and the second evaluation score, the target risk type of the data to be evaluated is determined.
请参照图9,图9为本申请实施例提供的电子设备的第二结构示意图,与图8所示电子设备的区别在于,电子设备还包括:射频电路403、显示屏404、控制电路405、输入单元406、音频电路407、传感器408以及电源409。其中,处理器401分别与射频电路403、显示屏404、控制电路405、输入单元406、音频电路407、传感器408以及电源409电性连接。Please refer to FIG. 9. FIG. 9 is a schematic diagram of a second structure of an electronic device provided by an embodiment of the application. The difference from the electronic device shown in FIG. 8 is that the electronic device further includes: a radio frequency circuit 403, a display screen 404, a control circuit 405, Input unit 406, audio circuit 407, sensor 408, and power supply 409. The processor 401 is electrically connected to the radio frequency circuit 403, the display screen 404, the control circuit 405, the input unit 406, the audio circuit 407, the sensor 408, and the power supply 409, respectively.
射频电路403用于收发射频信号,以通过无线通信与网络设备或其他电子设备进行通信。The radio frequency circuit 403 is used to transmit and receive radio frequency signals to communicate with network equipment or other electronic equipment through wireless communication.
显示屏404可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种图形用户接口,这些图形用户接口可以由图像、文本、图标、视频和其任意组合来构成。The display screen 404 may be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device. These graphical user interfaces may be composed of images, text, icons, videos, and any combination thereof.
控制电路405与显示屏404电性连接,用于控制显示屏404显示信息。The control circuit 405 is electrically connected to the display screen 404 for controlling the display screen 404 to display information.
输入单元406可用于接收输入的数字、字符信息或用户特征信息(例如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。其中,输入单元406可以包括指纹识别模组。The input unit 406 can be used to receive inputted numbers, character information, or user characteristic information (such as fingerprints), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Wherein, the input unit 406 may include a fingerprint recognition module.
音频电路407可通过扬声器、传声器提供用户与电子设备之间的音频接口。其中,音频电路407包括麦克风。所述麦克风与所述处理器401电性连接。所述麦克风用于接收用户输入的语音信息。The audio circuit 407 can provide an audio interface between the user and the electronic device through a speaker and a microphone. Among them, the audio circuit 407 includes a microphone. The microphone is electrically connected to the processor 401. The microphone is used to receive voice information input by the user.
传感器408用于采集外部环境信息。传感器408可以包括环境亮度传感器、加速度传感器、陀螺仪等传感器中的一种或多种。The sensor 408 is used to collect external environmental information. The sensor 408 may include one or more of sensors such as an environmental brightness sensor, an acceleration sensor, and a gyroscope.
电源409用于给电子设备400的各个部件供电。在一些实施例中,电源409可以通过电源管理系统与处理器401逻辑相连,从而通过电源管理系统实现管理 充电、放电、以及功耗管理等功能。The power supply 409 is used to supply power to various components of the electronic device 400. In some embodiments, the power supply 409 may be logically connected to the processor 401 through a power management system, so that functions such as charging, discharging, and power consumption management can be managed through the power management system.
尽管图9中未示出,电子设备400还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 9, the electronic device 400 may also include a camera, a Bluetooth module, etc., which will not be repeated here.
在本申请实施例中,电子设备400中的处理器401会按照如下的步骤,将一个或一个以上的计算机程序的进程对应的指令加载到存储器402中,并由处理器401运行存储在存储器402中的计算机程序,从而实现各种功能,如下:In the embodiment of the present application, the processor 401 in the electronic device 400 will load the instructions corresponding to the process of one or more computer programs into the memory 402 according to the following steps, and run the instructions by the processor 401 and store them in the memory 402. In order to realize various functions in the computer program, as follows:
获取待评估数据,并通过特征提取算法从所述待评估数据提取第一特征向量;Acquiring data to be evaluated, and extracting a first feature vector from the data to be evaluated through a feature extraction algorithm;
根据所述第一特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数;Score the data to be evaluated according to the first feature vector and the first risk evaluation model to obtain a first evaluation score;
根据所述第一特征向量和第二风险评估模型,对所述待评估数据进行评分,得到第二评估分数;Score the data to be evaluated according to the first feature vector and the second risk evaluation model to obtain a second evaluation score;
根据所述第一评估分数和所述第二评估分数,确定所述待评估数据的目标风险类型。According to the first evaluation score and the second evaluation score, the target risk type of the data to be evaluated is determined.
在一些实施例中,根据所述第一特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数时,处理器401用于执行:In some embodiments, the data to be evaluated is scored according to the first feature vector and the first risk assessment model, and when the first evaluation score is obtained, the processor 401 is configured to execute:
通过编码算法对所述第一特征向量进行编码处理,得到第二特征向量,其中,所述第一特征向量为离散特征,所述第二特征向量为连续特征;Performing encoding processing on the first feature vector by an encoding algorithm to obtain a second feature vector, where the first feature vector is a discrete feature, and the second feature vector is a continuous feature;
基于所述第二特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数。Score the data to be assessed based on the second feature vector and the first risk assessment model to obtain a first assessment score.
在一些实施例中,通过特征提取算法从所述待评估数据提取第一特征向量时,处理器401用于执行:In some embodiments, when the first feature vector is extracted from the data to be evaluated by a feature extraction algorithm, the processor 401 is configured to execute:
通过特征提取算法对所述待评估数据进行特征提取,得到第一数值特征和文本特征;Performing feature extraction on the data to be evaluated by a feature extraction algorithm to obtain the first numerical feature and the text feature;
对所述第一数值特征进行归一化处理,并对所述文本特征进行转换处理,以将所述文本特征转换成第二数值特征;Performing normalization processing on the first numerical feature, and performing conversion processing on the text feature, so as to convert the text feature into a second numerical feature;
基于所述第一数值特征和所述第二数值特征,生成第一特征向量。Based on the first numerical feature and the second numerical feature, a first feature vector is generated.
在一些实施例中,所述第一风险评估模型由预先搭建的孤立森林模型训练得到,所述第二风险评估模型由预先搭建的分类模型得到;In some embodiments, the first risk assessment model is obtained by training a pre-built isolated forest model, and the second risk assessment model is obtained by a pre-built classification model;
根据所述第一特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数时,处理器401用于执行:According to the first feature vector and the first risk assessment model, the data to be assessed is scored, and when the first assessment score is obtained, the processor 401 is configured to execute:
根据所述第一特征向量中向量元素的排列顺序,确定每一向量元素在所述第二风险评估模型对应的权重值,其中,所述向量元素包括所述第一数值特征和所述第二数值特征;According to the sequence of the vector elements in the first feature vector, the weight value corresponding to each vector element in the second risk assessment model is determined, wherein the vector element includes the first numerical feature and the second Numerical characteristics;
根据对应的权重值的大小,调整每一所述向量元素的大小,以得到第三特征 向量;Adjusting the size of each of the vector elements according to the size of the corresponding weight value to obtain the third feature vector;
根据所述第三特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数。According to the third feature vector and the first risk assessment model, score the data to be assessed to obtain a first assessment score.
在一些实施例中,根据对应的权重值的大小,调整每一所述向量元素的大小时,处理器401用于执行:In some embodiments, when the size of each vector element is adjusted according to the size of the corresponding weight value, the processor 401 is configured to execute:
将对应的权重值最大的预设数量的向量元素的值增大。Increase the value of the preset number of vector elements corresponding to the largest weight value.
在一些实施例中,根据所述第一评估分数和所述第二评估分数,确定所述待评估数据的目标风险类型之后,处理器401还用于执行:In some embodiments, after determining the target risk type of the data to be evaluated according to the first evaluation score and the second evaluation score, the processor 401 is further configured to execute:
当所述目标风险类型的风险等级低于或等于预设等级时,执行所述待评估数据对应的待执行任务。When the risk level of the target risk type is lower than or equal to the preset level, the task to be performed corresponding to the data to be evaluated is executed.
在一些实施例中,所述第二风险评估模型为分类模型,处理器401还用于执行:In some embodiments, the second risk assessment model is a classification model, and the processor 401 is further configured to execute:
获取多个样本评估数据;Obtain multiple sample evaluation data;
通过所述特征提取算法从所述样本评估数据提取第四特征向量;Extracting a fourth feature vector from the sample evaluation data by using the feature extraction algorithm;
获取每个样本评估数据的样本风险类型,根据所述第四特征向量和样本风险类型构成训练集;Acquiring the sample risk type of each sample evaluation data, and forming a training set according to the fourth feature vector and the sample risk type;
使用所述训练集对所述分类模型进行训练,以更新所述分类模型的模型参数。The training set is used to train the classification model to update the model parameters of the classification model.
在一些实施例中,获取每个样本评估数据的样本风险类型时,处理器401用于执行:In some embodiments, when obtaining the sample risk type of each sample evaluation data, the processor 401 is configured to execute:
通过所述第一风险评估模型和对应的第四特征向量,对所述样本评估数据进行评分,得到第三评估分数,并根据所述第三评估分数确定所述样本评估数据的样本风险类型。According to the first risk assessment model and the corresponding fourth feature vector, the sample assessment data is scored to obtain a third assessment score, and the sample risk type of the sample assessment data is determined according to the third assessment score.
在一些实施例中,根据所述第三评估分数确定所述样本评估数据的样本风险类型时,处理器401用于执行:In some embodiments, when determining the sample risk type of the sample evaluation data according to the third evaluation score, the processor 401 is configured to execute:
当所述第三评估分数位于预设区间内时,将所述第三评估分数对应的预设风险类型作为所述样本评估数据的样本风险类型;When the third evaluation score is within a preset interval, use the preset risk type corresponding to the third evaluation score as the sample risk type of the sample evaluation data;
当所述第三评估分数不位于所述预设区间内时,获取用户为所述样本评估数据设置的样本风险类型。When the third evaluation score is not within the preset interval, acquiring the sample risk type set by the user for the sample evaluation data.
由上述可知,本实施例提供的电子设备,在获取待评估数据之后,电子设备通过特征提取算法从待评估数据提取第一特征向量,然后根据第一特征向量和第一风险评估模型,对待评估数据进行评分,得到第一评估分数,以及根据第一特征向量和第二风险评估模型,对待评估数据进行评分,得到第二评估分数,最后根据第一评估分数和第二评估分数,确定待评估数据的目标风险类型。结合第一风险评估模型和第二风险评估模型的评分结果来综合确定待评估数据的目标风 险类型,可以提高风险评估的准确度。It can be seen from the foregoing that, after acquiring the data to be evaluated, the electronic device uses a feature extraction algorithm to extract a first feature vector from the data to be evaluated, and then, according to the first feature vector and the first risk assessment model, the electronic device extracts the first feature vector from the data to be evaluated. The data is scored to obtain the first evaluation score, and the evaluation data is scored according to the first feature vector and the second risk evaluation model, and the second evaluation score is obtained. Finally, according to the first evaluation score and the second evaluation score, the evaluation is determined The target risk type of the data. Combining the scoring results of the first risk assessment model and the second risk assessment model to comprehensively determine the target risk type of the data to be assessed can improve the accuracy of risk assessment.
本申请实施例还提供一种存储介质,该存储介质存储有计算机程序,当该计算机程序在计算机上运行时,使得该计算机执行上述任一实施例中的风险评估方法,比如:获取待评估数据,并通过特征提取算法从所述待评估数据提取第一特征向量;根据所述第一特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数;根据所述第一特征向量和第二风险评估模型,对所述待评估数据进行评分,得到第二评估分数;根据所述第一评估分数和所述第二评估分数,确定所述待评估数据的目标风险类型。An embodiment of the present application also provides a storage medium that stores a computer program, and when the computer program runs on a computer, the computer is caused to execute the risk assessment method in any of the above embodiments, such as: obtaining data to be assessed , And extract a first feature vector from the data to be evaluated by a feature extraction algorithm; score the data to be evaluated according to the first feature vector and the first risk assessment model to obtain a first evaluation score; The first feature vector and the second risk evaluation model are used to score the data to be evaluated to obtain a second evaluation score; according to the first evaluation score and the second evaluation score, the target risk of the data to be evaluated is determined type.
在本申请实施例中,存储介质可以是磁碟、光盘、只读存储器(Read Only Memory,ROM)、或者随机存取记忆体(Random Access Memory,RAM)等。In the embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a read only memory (Read Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in an embodiment, reference may be made to related descriptions of other embodiments.
需要说明的是,对本申请实施例的风险评估方法而言,本领域普通测试人员可以理解实现本申请实施例的风险评估方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,该计算机程序可存储于一计算机可读取存储介质中,如存储在电子设备的存储器中,并被该电子设备内的至少一个处理器执行,在执行过程中可包括如风险评估方法的实施例的流程。其中,存储介质可为磁碟、光盘、只读存储器、随机存取记忆体等。It should be noted that for the risk assessment method of the embodiment of the present application, ordinary testers in the field can understand that all or part of the process of implementing the risk assessment method of the embodiment of the present application can be completed by controlling the relevant hardware through a computer program. The computer program can be stored in a computer readable storage medium, such as stored in the memory of an electronic device, and executed by at least one processor in the electronic device. The execution process can include, for example, the implementation of a risk assessment method Example process. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, and the like.

Claims (20)

  1. 一种风险评估方法,其中,包括A risk assessment method, which includes
    获取待评估数据,并通过特征提取算法从所述待评估数据提取第一特征向量;Acquiring data to be evaluated, and extracting a first feature vector from the data to be evaluated through a feature extraction algorithm;
    根据所述第一特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数;Score the data to be evaluated according to the first feature vector and the first risk evaluation model to obtain a first evaluation score;
    根据所述第一特征向量和第二风险评估模型,对所述待评估数据进行评分,得到第二评估分数;Score the data to be evaluated according to the first feature vector and the second risk evaluation model to obtain a second evaluation score;
    根据所述第一评估分数和所述第二评估分数,确定所述待评估数据的目标风险类型。According to the first evaluation score and the second evaluation score, the target risk type of the data to be evaluated is determined.
  2. 根据权利要求1所述的方法,其中,所述根据所述第一特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数,包括:The method according to claim 1, wherein the scoring the data to be evaluated according to the first feature vector and the first risk evaluation model to obtain the first evaluation score comprises:
    通过编码算法对所述第一特征向量进行编码处理,得到第二特征向量,其中,所述第一特征向量为离散特征,所述第二特征向量为连续特征;Performing encoding processing on the first feature vector by an encoding algorithm to obtain a second feature vector, where the first feature vector is a discrete feature, and the second feature vector is a continuous feature;
    基于所述第二特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数。Score the data to be assessed based on the second feature vector and the first risk assessment model to obtain a first assessment score.
  3. 根据权利要求1所述的方法,其中,所述通过特征提取算法从所述待评估数据提取第一特征向量,包括:The method according to claim 1, wherein said extracting a first feature vector from said data to be evaluated by a feature extraction algorithm comprises:
    通过特征提取算法对所述待评估数据进行特征提取,得到第一数值特征和文本特征;Performing feature extraction on the data to be evaluated by a feature extraction algorithm to obtain the first numerical feature and the text feature;
    对所述第一数值特征进行归一化处理,并对所述文本特征进行转换处理,以将所述文本特征转换成第二数值特征;Performing normalization processing on the first numerical feature, and performing conversion processing on the text feature, so as to convert the text feature into a second numerical feature;
    基于所述第一数值特征和所述第二数值特征,生成第一特征向量。Based on the first numerical feature and the second numerical feature, a first feature vector is generated.
  4. 根据权利要求1所述的方法,其中,所述第一风险评估模型由预先搭建的孤立森林模型训练得到,所述第二风险评估模型由预先搭建的分类模型得到;The method according to claim 1, wherein the first risk assessment model is obtained by training a pre-built isolated forest model, and the second risk assessment model is obtained by a pre-built classification model;
    所述根据所述第一特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数,包括:The scoring the data to be evaluated to obtain the first evaluation score according to the first feature vector and the first risk evaluation model includes:
    根据所述第一特征向量中向量元素的排列顺序,确定每一向量元素在所述第二风险评估模型对应的权重值,其中,所述向量元素包括所述第一数值特征和所述第二数值特征;According to the sequence of the vector elements in the first feature vector, the weight value corresponding to each vector element in the second risk assessment model is determined, wherein the vector element includes the first numerical feature and the second Numerical characteristics;
    根据对应的权重值的大小,调整每一所述向量元素的大小,以得到第三特征向量;Adjusting the size of each vector element according to the size of the corresponding weight value to obtain a third feature vector;
    根据所述第三特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数。According to the third feature vector and the first risk assessment model, score the data to be assessed to obtain a first assessment score.
  5. 根据权利要求4所述的方法,其中,所述根据对应的权重值的大小,调 整每一所述向量元素的大小,包括:The method according to claim 4, wherein the adjusting the size of each of the vector elements according to the size of the corresponding weight value comprises:
    将对应的权重值最大的预设数量的向量元素的值增大。Increase the value of the preset number of vector elements corresponding to the largest weight value.
  6. 根据权利要求1所述的方法,其中,所述根据所述第一评估分数和所述第二评估分数,确定所述待评估数据的目标风险类型之后,还包括:The method according to claim 1, wherein, after determining the target risk type of the data to be evaluated according to the first evaluation score and the second evaluation score, the method further comprises:
    当所述目标风险类型的风险等级低于或等于预设等级时,执行所述待评估数据对应的待执行任务。When the risk level of the target risk type is lower than or equal to the preset level, the task to be performed corresponding to the data to be evaluated is executed.
  7. 根据权利要求1所述的方法,其中,所述第二风险评估模型为分类模型,所述方法还包括:The method according to claim 1, wherein the second risk assessment model is a classification model, and the method further comprises:
    获取多个样本评估数据;Obtain multiple sample evaluation data;
    通过所述特征提取算法从所述样本评估数据提取第四特征向量;Extracting a fourth feature vector from the sample evaluation data by using the feature extraction algorithm;
    获取每个样本评估数据的样本风险类型,根据所述第四特征向量和所述样本风险类型构成训练集;Acquiring the sample risk type of each sample evaluation data, and forming a training set according to the fourth feature vector and the sample risk type;
    使用所述训练集对所述分类模型进行训练,以更新所述分类模型的模型参数。The training set is used to train the classification model to update the model parameters of the classification model.
  8. 根据权利要求7所述的方法,其中,所述获取每个样本评估数据的样本风险类型,包括:The method according to claim 7, wherein said obtaining the sample risk type of each sample evaluation data comprises:
    通过所述第一风险评估模型和对应的第四特征向量,对所述样本评估数据进行评分,得到第三评估分数,并根据所述第三评估分数确定所述样本评估数据的样本风险类型。According to the first risk assessment model and the corresponding fourth feature vector, the sample assessment data is scored to obtain a third assessment score, and the sample risk type of the sample assessment data is determined according to the third assessment score.
  9. 根据权利要求8所述的方法,其中,所述根据所述第三评估分数确定所述样本评估数据的样本风险类型,包括:The method according to claim 8, wherein the determining the sample risk type of the sample evaluation data according to the third evaluation score comprises:
    当所述第三评估分数位于预设区间内时,将所述第三评估分数对应的预设风险类型作为所述样本评估数据的样本风险类型;When the third evaluation score is within a preset interval, use the preset risk type corresponding to the third evaluation score as the sample risk type of the sample evaluation data;
    当所述第三评估分数不位于所述预设区间内时,获取用户为所述样本评估数据设置的样本风险类型。When the third evaluation score is not within the preset interval, acquiring the sample risk type set by the user for the sample evaluation data.
  10. 一种风险评估装置,其中,包括:A risk assessment device, which includes:
    第一获取模块,用于获取待评估数据,并通过特征提取算法从所述待评估数据提取第一特征向量;The first acquisition module is configured to acquire the data to be evaluated, and extract the first feature vector from the data to be evaluated through a feature extraction algorithm;
    第一评分模块,用于根据所述第一特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数;The first scoring module is configured to score the data to be evaluated according to the first feature vector and the first risk evaluation model to obtain a first evaluation score;
    第二评分模块,用于根据所述第一特征向量和第二风险评估模型,对所述待评估数据进行评分,得到第二评估分数;The second scoring module is configured to score the data to be evaluated according to the first feature vector and the second risk evaluation model to obtain a second evaluation score;
    确定模块,用于根据所述第一评估分数和所述第二评估分数,确定所述待评估数据的目标风险类型。The determining module is configured to determine the target risk type of the data to be evaluated according to the first evaluation score and the second evaluation score.
  11. 一种电子设备,包括:处理器、存储器以及存储在存储器上并可在处理 器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现风险评估方法:An electronic device comprising: a processor, a memory, and a computer program stored on the memory and running on the processor, wherein the processor implements a risk assessment method when the computer program is executed:
    获取待评估数据,并通过特征提取算法从所述待评估数据提取第一特征向量;Acquiring data to be evaluated, and extracting a first feature vector from the data to be evaluated through a feature extraction algorithm;
    根据所述第一特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数;Score the data to be evaluated according to the first feature vector and the first risk evaluation model to obtain a first evaluation score;
    根据所述第一特征向量和第二风险评估模型,对所述待评估数据进行评分,得到第二评估分数;Score the data to be evaluated according to the first feature vector and the second risk evaluation model to obtain a second evaluation score;
    根据所述第一评估分数和所述第二评估分数,确定所述待评估数据的目标风险类型。According to the first evaluation score and the second evaluation score, the target risk type of the data to be evaluated is determined.
  12. 根据权利要求11所述的电子设备,其中,所述根据所述第一特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数,所述处理器用于执行:11. The electronic device according to claim 11, wherein the data to be evaluated is scored according to the first feature vector and the first risk assessment model to obtain a first evaluation score, and the processor is configured to execute:
    通过编码算法对所述第一特征向量进行编码处理,得到第二特征向量,其中,所述第一特征向量为离散特征,所述第二特征向量为连续特征;Performing encoding processing on the first feature vector by an encoding algorithm to obtain a second feature vector, where the first feature vector is a discrete feature, and the second feature vector is a continuous feature;
    基于所述第二特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数。Score the data to be assessed based on the second feature vector and the first risk assessment model to obtain a first assessment score.
  13. 根据权利要求11所述的电子设备,其中,所述通过特征提取算法从所述待评估数据提取第一特征向量,所述处理器用于执行:The electronic device according to claim 11, wherein the first feature vector is extracted from the data to be evaluated by a feature extraction algorithm, and the processor is configured to execute:
    通过特征提取算法对所述待评估数据进行特征提取,得到第一数值特征和文本特征;Performing feature extraction on the data to be evaluated by a feature extraction algorithm to obtain the first numerical feature and the text feature;
    对所述第一数值特征进行归一化处理,并对所述文本特征进行转换处理,以将所述文本特征转换成第二数值特征;Performing normalization processing on the first numerical feature, and performing conversion processing on the text feature, so as to convert the text feature into a second numerical feature;
    基于所述第一数值特征和所述第二数值特征,生成第一特征向量。Based on the first numerical feature and the second numerical feature, a first feature vector is generated.
  14. 根据权利要求11所述的电子设备,其中,所述第一风险评估模型由预先搭建的孤立森林模型训练得到,所述第二风险评估模型由预先搭建的分类模型得到;The electronic device according to claim 11, wherein the first risk assessment model is obtained by training a pre-built isolated forest model, and the second risk assessment model is obtained by a pre-built classification model;
    所述根据所述第一特征向量和第一风险评估模型,对所述待评估数据进行评分,得到第一评估分数,所述处理器用于执行:According to the first feature vector and the first risk evaluation model, the data to be evaluated is scored to obtain a first evaluation score, and the processor is configured to execute:
    根据所述第一特征向量中向量元素的排列顺序,确定每一向量元素在所述第二风险评估模型对应的权重值,其中,所述向量元素包括所述第一数值特征和所述第二数值特征;According to the sequence of the vector elements in the first feature vector, the weight value corresponding to each vector element in the second risk assessment model is determined, wherein the vector element includes the first numerical feature and the second Numerical characteristics;
    根据对应的权重值的大小,调整每一所述向量元素的大小,以得到第三特征向量;Adjusting the size of each of the vector elements according to the size of the corresponding weight value to obtain the third feature vector;
    根据所述第三特征向量和第一风险评估模型,对所述待评估数据进行评分, 得到第一评估分数。Score the data to be assessed according to the third feature vector and the first risk assessment model to obtain a first assessment score.
  15. 根据权利要求14所述的电子设备,其中,所述根据对应的权重值的大小,调整每一所述向量元素的大小,所述处理器用于执行:The electronic device according to claim 14, wherein the size of each of the vector elements is adjusted according to the size of the corresponding weight value, and the processor is configured to execute:
    将对应的权重值最大的预设数量的向量元素的值增大。Increase the value of the preset number of vector elements corresponding to the largest weight value.
  16. 根据权利要求11所述的电子设备,其中,所述根据所述第一评估分数和所述第二评估分数,确定所述待评估数据的目标风险类型之后,所述处理器还用于执行:11. The electronic device according to claim 11, wherein, after the target risk type of the data to be evaluated is determined according to the first evaluation score and the second evaluation score, the processor is further configured to execute:
    当所述目标风险类型的风险等级低于或等于预设等级时,执行所述待评估数据对应的待执行任务。When the risk level of the target risk type is lower than or equal to the preset level, the task to be performed corresponding to the data to be evaluated is executed.
  17. 根据权利要求11所述的电子设备,其中,所述第二风险评估模型为分类模型,所述处理器还用于执行:The electronic device according to claim 11, wherein the second risk assessment model is a classification model, and the processor is further configured to execute:
    获取多个样本评估数据;Obtain multiple sample evaluation data;
    通过所述特征提取算法从所述样本评估数据提取第四特征向量;Extracting a fourth feature vector from the sample evaluation data by using the feature extraction algorithm;
    获取每个样本评估数据的样本风险类型,根据所述第四特征向量和所述样本风险类型构成训练集;Acquiring the sample risk type of each sample evaluation data, and forming a training set according to the fourth feature vector and the sample risk type;
    使用所述训练集对所述分类模型进行训练,以更新所述分类模型的模型参数。The training set is used to train the classification model to update the model parameters of the classification model.
  18. 根据权利要求17所述的电子设备,其中,所述获取每个样本评估数据的样本风险类型,所述处理器用于执行:The electronic device according to claim 17, wherein said acquiring the sample risk type of each sample evaluation data, said processor is configured to execute:
    通过所述第一风险评估模型和对应的第四特征向量,对所述样本评估数据进行评分,得到第三评估分数,并根据所述第三评估分数确定所述样本评估数据的样本风险类型。According to the first risk assessment model and the corresponding fourth feature vector, the sample assessment data is scored to obtain a third assessment score, and the sample risk type of the sample assessment data is determined according to the third assessment score.
  19. 根据权利要求18所述的电子设备,其中,所述根据所述第三评估分数确定所述样本评估数据的样本风险类型,所述处理器用于执行:The electronic device according to claim 18, wherein the determining the sample risk type of the sample evaluation data according to the third evaluation score, and the processor is configured to execute:
    当所述第三评估分数位于预设区间内时,将所述第三评估分数对应的预设风险类型作为所述样本评估数据的样本风险类型;When the third evaluation score is within a preset interval, use the preset risk type corresponding to the third evaluation score as the sample risk type of the sample evaluation data;
    当所述第三评估分数不位于所述预设区间内时,获取用户为所述样本评估数据设置的样本风险类型。When the third evaluation score is not within the preset interval, acquiring the sample risk type set by the user for the sample evaluation data.
  20. 一种包含电子设备可执行指令的存储介质,其中,所述电子设备可执行指令在由电子设备处理器执行时用于执行如权利要求1至9任一项所述的风险评估方法。A storage medium containing executable instructions of an electronic device, wherein the executable instructions of the electronic device are used to execute the risk assessment method according to any one of claims 1 to 9 when executed by an electronic device processor.
PCT/CN2020/079761 2020-03-17 2020-03-17 Risk evaluation method and apparatus, electronic device, and storage medium WO2021184211A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080096711.7A CN115088007A (en) 2020-03-17 2020-03-17 Risk assessment method and device, electronic equipment and storage medium
PCT/CN2020/079761 WO2021184211A1 (en) 2020-03-17 2020-03-17 Risk evaluation method and apparatus, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/079761 WO2021184211A1 (en) 2020-03-17 2020-03-17 Risk evaluation method and apparatus, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
WO2021184211A1 true WO2021184211A1 (en) 2021-09-23

Family

ID=77769972

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/079761 WO2021184211A1 (en) 2020-03-17 2020-03-17 Risk evaluation method and apparatus, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN115088007A (en)
WO (1) WO2021184211A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115563657A (en) * 2022-09-27 2023-01-03 冯淑芳 Data information security processing method and system and cloud platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150363567A1 (en) * 2014-06-13 2015-12-17 T.K. Pettus LLC Comprehensive health assessment system and method
EP3200188A1 (en) * 2016-01-27 2017-08-02 Telefonica Digital España, S.L.U. Computer implemented methods for assessing a disease through voice analysis and computer programs thereof
CN109657931A (en) * 2018-11-29 2019-04-19 平安科技(深圳)有限公司 Air control model modeling, business risk appraisal procedure, device and storage medium
CN110827033A (en) * 2019-10-11 2020-02-21 支付宝(杭州)信息技术有限公司 Information processing method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150363567A1 (en) * 2014-06-13 2015-12-17 T.K. Pettus LLC Comprehensive health assessment system and method
EP3200188A1 (en) * 2016-01-27 2017-08-02 Telefonica Digital España, S.L.U. Computer implemented methods for assessing a disease through voice analysis and computer programs thereof
CN109657931A (en) * 2018-11-29 2019-04-19 平安科技(深圳)有限公司 Air control model modeling, business risk appraisal procedure, device and storage medium
CN110827033A (en) * 2019-10-11 2020-02-21 支付宝(杭州)信息技术有限公司 Information processing method and device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115563657A (en) * 2022-09-27 2023-01-03 冯淑芳 Data information security processing method and system and cloud platform
CN115563657B (en) * 2022-09-27 2023-12-01 国信金宏(成都)检验检测技术研究院有限责任公司 Data information security processing method, system and cloud platform

Also Published As

Publication number Publication date
CN115088007A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
US11996091B2 (en) Mixed speech recognition method and apparatus, and computer-readable storage medium
CN112417439B (en) Account detection method, device, server and storage medium
CN109243432B (en) Voice processing method and electronic device supporting the same
KR102314241B1 (en) Method for adaptive authentication and electronic device supporting the same
CN113228064A (en) Distributed training for personalized machine learning models
US10705789B2 (en) Dynamic volume adjustment for virtual assistants
WO2022105118A1 (en) Image-based health status identification method and apparatus, device and storage medium
WO2021093380A1 (en) Noise processing method and apparatus, and system
KR102653450B1 (en) Method for response to input voice of electronic device and electronic device thereof
WO2014180121A1 (en) Systems and methods for facial age identification
CN108111399B (en) Message processing method, device, terminal and storage medium
US20230050655A1 (en) Dialog agents with two-sided modeling
KR20160104668A (en) Method and system for extracting characteristic information
WO2021184211A1 (en) Risk evaluation method and apparatus, electronic device, and storage medium
CN110945455A (en) Electronic device for processing user utterance for controlling external electronic device and control method thereof
CN113826135A (en) System and method for contactless authentication using voice recognition
CN112256975A (en) Information pushing method and device, computer equipment and storage medium
KR20190114325A (en) The apparatus for processing user voice input
CN116798129A (en) Living body detection method and device, storage medium and electronic equipment
CN114399028B (en) Information processing method, graph convolution neural network training method and electronic equipment
KR102422153B1 (en) Method and apparatus for suggestion of consultation guide information using neural networks
US11886590B2 (en) Emulator detection using user agent and device model learning
US20230109260A1 (en) Techniques for cursor trail capture using generative neural networks
CN115344839A (en) Identity authentication method and device based on user keystroke dynamics
JP2022547998A (en) Using Generative Adversarial Networks to Train Semantic Parsers for Dialogue Systems

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20926070

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16.02.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20926070

Country of ref document: EP

Kind code of ref document: A1