Business model switching method, device, electronic device and computer readable medium

Through the performance detection and weight combination processing of the user warning information generation model, the business interruption and stability problems caused by model switching are solved, the user experience and system stability are improved, and the risk of data leakage is reduced.

CN118245341BActive Publication Date: 2024-10-18PARK DO CREDIT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410230121.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-29
Publication Date
2024-10-18
Estimated Expiration
2044-02-29

AI Technical Summary

Technical Problem

During the switching process of the user warning information generation model, the differences between the original model and the new model lead to business process interruption, affecting user experience and system stability, and increasing the risk of data leakage.

Method used

Through performance testing of the model for generating the to-be-switched and target user warning information, it is determined whether fast switching conditions are met, and gradual switching is performed based on the preset result weight information group, and the output results are combined to reduce the risk of interruption.

Benefits of technology

It reduces business process interruptions, improves user experience and system stability, reduces the possibility of data leakage, and ensures the performance stability of the new model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118245341B_ABST
    Figure CN118245341B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure disclose a method, device, electronic device and computer-readable medium for switching business models. A specific implementation of the method includes: performing performance testing on a warning information generation model for a user to be switched and a warning information generation model for a target user; determining whether the warning information generation model for a user to be switched meets a preset fast switching condition; determining a preset result weight information group in a preset result weight information group sequence as a target result weight information group; inputting business data information into the warning information generation model for a user to be switched and the warning information generation model for a target user; and combining the first output result information and the second output result information. This implementation reduces the interruption of business processes due to direct switching between the original model and the new model, improves the user experience of business users, reduces the possibility of leakage of business data, and reduces the poor stability of the business system caused by switching between the old and new models.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to a method, device, electronic device, and computer-readable medium for switching a service model. Background Art

[0002] The update of the business model can better adapt to the updated business data. At present, when iterating the user warning information generation model, the method usually adopted is: first, train the latest user warning information generation model according to the latest business data information. Then, the original user warning information generation model is directly switched to the latest trained user warning information generation model, so that the latest user warning information generation model can be used to process the business data information.

[0003] However, when the user warning information generation model is switched in the above manner, the following technical problems often occur:

[0004] Directly switch the original user warning information generation model to the latest user warning information generation model. There are differences between the original user warning information generation model and the latest user warning information generation model. Directly switching between the original model and the new model is prone to business process interruption, which can easily cause business system failures, resulting in poor business user experience and a high possibility of business data leakage. Directly using the new model is likely to cause poor stability of the business system.

[0005] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the invention

[0006] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.

[0007] Some embodiments of the present disclosure propose a method, an apparatus, an electronic device, and a computer-readable medium for switching a business model to solve one or more of the technical problems mentioned in the above background technology section.

[0008] In a first aspect, some embodiments of the present disclosure provide a method for switching a business model, the method comprising: performing performance detection processing on a user warning information generation model to be switched and a target user warning information generation model to obtain business model performance information corresponding to the above-mentioned user warning information generation model to be switched and business model performance information corresponding to the above-mentioned target user warning information generation model, wherein the above-mentioned target user warning information generation model is used to replace the above-mentioned user warning information generation model to be switched; according to the business model performance information of the above-mentioned user warning information generation model to be switched, determining whether the above-mentioned user warning information generation model to be switched meets the preset fast switching condition; in response to determining that the above-mentioned user warning information generation model to be switched does not meet the above-mentioned preset fast switching condition, determining whether the preset switching requirement information corresponding to the above-mentioned user warning information generation model to be switched meets the preset fast switching requirement condition; in response to determining that the preset switching requirement information corresponding to the above-mentioned user warning information generation model to be switched does not meet the above-mentioned preset fast switching requirement condition, The preset result weight information group of the weight information order condition is determined as the target result weight information group; according to the preset result weight information group sequence and the target result weight information group, for the above-mentioned user warning information generation model to be switched, the following switching steps are performed: the target result weight information group is deleted from the preset result weight information group sequence to update the preset result weight information group sequence; in response to detecting the input request information for the business data information, and the target result weight information group meets the preset result weight condition, the above-mentioned business data information is input into the above-mentioned user warning information generation model to be switched and the above-mentioned target user warning information generation model, and the output result information of the above-mentioned user warning information generation model to be switched is obtained as the first output result information and the output result information of the above-mentioned target user warning information generation model is obtained as the second output result information; according to the target result weight information group, the first output result information and the second output result information are combined and processed to obtain the business data output result information corresponding to the business data information, so as to switch the above-mentioned user warning information generation model to be switched.

[0009] In a second aspect, some embodiments of the present disclosure provide a switching device for a business model, including a detection unit, configured to perform performance detection processing on a user warning information generation model to be switched and a target user warning information generation model, and obtain business model performance information corresponding to the above-mentioned user warning information generation model to be switched and business model performance information corresponding to the above-mentioned target user warning information generation model, wherein the above-mentioned target user warning information generation model is used to replace the above-mentioned user warning information generation model to be switched; a first determination unit, configured to determine whether the above-mentioned user warning information generation model to be switched meets the preset fast switching condition based on the business model performance information of the above-mentioned user warning information generation model to be switched; a second determination unit, configured to determine whether the preset switching requirement information corresponding to the above-mentioned user warning information generation model to be switched meets the preset fast switching requirement condition in response to determining that the above-mentioned user warning information generation model to be switched does not meet the above-mentioned preset fast switching condition; a third determination unit, configured to determine whether the preset switching requirement information corresponding to the above-mentioned user warning information generation model to be switched meets the preset fast switching requirement condition in response to determining that the preset switching requirement information corresponding to the above-mentioned user warning information generation model to be switched does not meet the above-mentioned preset fast switching requirement condition. Suppose that a preset result weight information group in a result weight information group sequence that satisfies a preset weight information order condition is determined as a target result weight information group; a switching unit is configured to, according to the preset result weight information group sequence and the target result weight information group, perform the following switching steps for the above-mentioned user warning information generation model to be switched: delete the target result weight information group from the preset result weight information group sequence to update the preset result weight information group sequence; in response to detecting input request information for business data information, and the target result weight information group satisfies the preset result weight condition, input the above-mentioned business data information into the above-mentioned user warning information generation model to be switched and the above-mentioned target user warning information generation model, obtain the output result information of the above-mentioned user warning information generation model to be switched as the first output result information and the output result information of the above-mentioned target user warning information generation model as the second output result information; according to the target result weight information group, combine the first output result information and the second output result information to obtain the business data output result information corresponding to the business data information, so as to switch the above-mentioned user warning information generation model to be switched.

[0010] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.

[0011] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method described in any one of the implementations in the first aspect above is implemented.

[0012] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through a business model switching method of some embodiments of the present disclosure, it is possible to reduce the interruption of business processes, improve the user experience of business users, reduce the possibility of leakage of business data, and improve the stability of business systems. Specifically, the reasons why business process interruptions are prone to occur, resulting in poor user experience and a high possibility of leakage of business data, and the direct use of new models is prone to poor stability of business systems are: directly switching the original user warning information generation model to the latest user warning information generation model, there are differences between the original user warning information generation model and the latest user warning information generation model, and directly switching the original model and the new model is prone to business process interruptions, which is prone to business system failures, resulting in poor user experience and a high possibility of leakage of business data, and the direct use of new models is prone to poor stability of business systems. Based on this, the switching method of the business model of some embodiments of the present disclosure, first, the performance detection processing is performed on the user warning information generation model to be switched and the target user warning information generation model, and the business model performance information corresponding to the above-mentioned user warning information generation model to be switched and the business model performance information corresponding to the above-mentioned target user warning information generation model are obtained, wherein the above-mentioned target user warning information generation model is used to replace the above-mentioned user warning information generation model to be switched. Thus, the performance information of the user warning information generation model to be switched and the target user warning information generation model can be obtained, which can be used to determine the way to switch the user warning information generation model to be switched. Then, according to the business model performance information of the above-mentioned user warning information generation model to be switched, it is determined whether the above-mentioned user warning information generation model to be switched meets the preset fast switching condition. Thus, it can be determined whether there is a need to quickly switch the above-mentioned user warning information generation model to be switched. Afterwards, in response to determining that the above-mentioned user warning information generation model to be switched does not meet the above-mentioned preset fast switching condition, it is determined whether the preset switching requirement information corresponding to the above-mentioned user warning information generation model to be switched meets the preset fast switching requirement condition. Thus, it can be determined whether the preset switching requirement information corresponding to the above-mentioned user warning information generation model to be switched is a demand for fast switching. Then, in response to determining that the preset switching requirement information corresponding to the above-mentioned user warning information generation model to be switched does not meet the above-mentioned preset fast switching requirement condition, the preset result weight information group that meets the preset weight information order condition in the preset result weight information group sequence is determined as the target result weight information group. Thus, the target result weight information group can be selected to switch the above-mentioned user warning information generation model to be switched.Then, according to the preset result weight information group sequence and the target result weight information group, for the above-mentioned user warning information generation model to be switched, the following switching steps are performed: First, the target result weight information group is deleted from the preset result weight information group sequence to update the preset result weight information group sequence. Thus, the preset result weight information group sequence can be updated, so that the above-mentioned user warning information generation model to be switched can be switched according to the updated preset result weight information group sequence. Then, in response to detecting the input request information for the business data information, and the target result weight information group meets the preset result weight condition, the above-mentioned business data information is input into the above-mentioned user warning information generation model to be switched and the above-mentioned target user warning information generation model, and the output result information of the above-mentioned user warning information generation model to be switched is obtained as the first output result information and the output result information of the above-mentioned target user warning information generation model is obtained as the second output result information. Thus, the output result information of the corresponding business data information can be obtained. Finally, according to the target result weight information group, the first output result information and the second output result information are combined and processed to obtain the business data output result information of the corresponding business data information, so as to switch the above-mentioned user warning information generation model to be switched. Therefore, the output result information of the above-mentioned user warning information generation model to be switched and the above-mentioned target user warning information generation model can be combined and processed by selecting the target result weight information group. Also, because the above-mentioned user warning information generation model to be switched is not directly switched to the target user warning information generation model, but the above-mentioned user warning information generation model to be switched is gradually switched to the target user warning information generation model by continuously selecting the target result weight information group. Thereby reducing the business process interruption caused by directly switching between the original model and the new model, improving the business user experience and reducing the possibility of business data leakage, and reducing the poor stability of the business system caused by the direct switching between the old and new models. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.

[0014] Figure 1 is a flow chart of some embodiments of a switching method of a business model according to the present disclosure;

[0015] Figure 2 is a schematic diagram of the structure of some embodiments of a switching device according to a business model of the present disclosure;

[0016] Figure 3It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION

[0017] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0018] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.

[0019] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0020] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0021] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0022] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0023] Figure 1 The process 100 of some embodiments of the method for switching a service model according to the present disclosure is shown. The method for switching a service model comprises the following steps:

[0024] Step 101 , a performance detection process is performed on a to-be-switched user warning information generation model and a target user warning information generation model to obtain business model performance information corresponding to the to-be-switched user warning information generation model and business model performance information corresponding to the target user warning information generation model.

[0025] In some embodiments, the execution subject of the business model switching method can perform performance detection processing on the user warning information generation model to be switched and the target user warning information generation model to obtain the business model performance information corresponding to the user warning information generation model to be switched and the business model performance information corresponding to the target user warning information generation model. Among them, the target user warning information generation model can be used to replace the user warning information generation model to be switched. The user warning information generation model to be switched and the target user warning information generation model are both models for generating warning information corresponding to the business user. The warning information can represent the default rate of the business user. The business user can be a borrower. The default rate can be the probability that the target user cannot repay the loan according to the loan repayment agreement. For example, the user warning information generation model to be switched and the target user warning information generation model can both be feedforward neural network models. The business model performance information of the user warning information generation model to be switched can represent the accuracy, recall and precision of the user warning information generation model to be switched. The business model performance information of the target user warning information generation model can represent the accuracy, recall and precision of the target user warning information generation model. In practice, the above-mentioned execution entity can perform performance detection processing on the to-be-switched user warning information generation model and the target user warning information generation model in various ways to obtain business model performance information corresponding to the to-be-switched user warning information generation model and business model performance information corresponding to the target user warning information generation model.

[0026] In some optional implementations of some embodiments, the execution subject may perform performance detection processing on the to-be-switched user warning information generation model and the target user warning information generation model through the following steps to obtain business model performance information corresponding to the to-be-switched user warning information generation model and business model performance information corresponding to the target user warning information generation model:

[0027] The first step is to obtain a set of historical business data information. The historical business data information in the above historical business data information set may include basic information of business users, value-related information of business users, historical credibility information of business users and market circulation environment information. The historical credibility information of the above business users may be the default rate of business users with historical records. The basic information of the above business users may include the business user's ID number, the business user's name, the business user's address, and the business user's occupation. The value-related information of the above business users may represent the value status of the business users. For example, the value-related information may be the property status of the business user (car, house, salary status). The above market circulation environment information may represent the gross domestic product. In practice, the above execution entity may obtain a set of historical business data information from a database storing historical business data information.

[0028] It should be noted that all user information involved in the above embodiments is obtained with the user's permission and complies with relevant policies and laws.

[0029] The second step is to perform data cleaning on each historical business data information in the acquired historical business data information set, and obtain the historical business data information set after data cleaning as the target historical business data information set. The above-mentioned target historical business data information set can represent the historical business data information set after data cleaning. In practice, the above-mentioned execution subject can perform data cleaning on each historical business data information in the acquired historical business data information set in various ways, and obtain the historical business data information set after data cleaning as the target historical business data information set.

[0030] In the third step, each target historical service data information in the target historical service data information set is input into the to-be-switched user warning information generation model and the target user warning information generation model respectively.

[0031] In the fourth step, each prediction result information corresponding to the above-mentioned target historical business data information set output by the above-mentioned user warning information generation model to be switched is determined as each first prediction result information. Among them, the first prediction result information in the above-mentioned first prediction result information corresponds to the target historical business data information in the above-mentioned target historical business data information set. The first prediction result information in the above-mentioned first prediction result information can be the default rate of the corresponding target historical business data information output by the above-mentioned user warning information generation model to be switched. For example, the first prediction result information can be 40%.

[0032] In the fifth step, each prediction result information corresponding to the target historical business data information set output by the target user early warning information generation model is determined as each second prediction result information. Among them, the second prediction result information in each second prediction result information corresponds to the target historical business data information in the target historical business data information set. The second prediction result information in each second prediction result information can be the default rate of the corresponding target historical business data information output by the target user early warning information generation model. For example, the second prediction result information can be 30%.

[0033] Step 6: Generate business model performance information corresponding to the to-be-switched user warning information generation model and business model performance information corresponding to the target user warning information generation model based on the actual warning result information set corresponding to the target historical business data information set, the first prediction result information and the second prediction result information. The actual warning result information in the actual warning result information set can represent the actual default rate of the corresponding target historical business data information. For example, the actual warning result information can be: "target historical business data information: xx; actual default rate: 60%".

[0034] However, it is found in practice that when the performance of the model is tested according to the historical business data information set disclosed in the present invention, the following technical problems often occur:

[0035] The historical business data information set is directly input into the warning information generation model for the user to be switched and the target user warning information generation model without considering preprocessing the historical business data information set. When there is a large amount of redundant data or a large amount of erroneous data in the historical business data information set, the accuracy of the results output by the warning information generation model for the user to be switched and the target user warning information generation model is poor, and the accuracy of judging the performance of the warning information generation model for the user to be switched and the target user warning information generation model is low.

[0036] Faced with the above technical problems, we decided to adopt the following solutions:

[0037] In some optional implementations of some embodiments, the execution subject may perform data cleaning on each historical business data information in the acquired historical business data information set through the following steps to obtain the historical business data information set after data cleaning as the target historical business data information set:

[0038] The first step is to map the historical business data information set to obtain a historical business data information vector sequence corresponding to the above historical business data information set. Among them, the length information corresponding to the above historical business data information vector sequence can be a preset window length information. The above preset window length information can be a preset length of a time series data segment used to construct a trajectory matrix. For example, the preset window length information can be 3. The above historical business data information vector sequence can be a historical business data information set after mapping. The specific value of the above preset window length information is not specifically limited here. In practice, the above execution subject can map the historical business data information set by a singular spectrum analysis method to obtain a historical business data information vector sequence.

[0039] The second step is to sort the historical business data information set according to the preset window length information to obtain a historical business data information matrix corresponding to the historical business data information set. The historical business data information matrix may be a trajectory matrix corresponding to the historical business data information. In practice, the execution subject may sort the historical business data information set by lagging arrangement to obtain a historical business data information matrix corresponding to the historical business data information set.

[0040] The third step is to decompose the above historical business data information matrix to obtain the decomposed historical business data information matrix as the target historical business data information matrix. The target historical business data information matrix can represent the decomposed historical business data information matrix. In practice, the execution subject can decompose the above historical business data information matrix by singular value decomposition.

[0041] The fourth step is to divide the subscript information set corresponding to the above-mentioned target historical business data information matrix to obtain the subscript information set after the division processing. Among them, the subscript information in the above-mentioned subscript information set can represent the subscript corresponding to the target historical data information in the above-mentioned target historical business data information matrix. For example, the subscript information set may include 1, 2, and 3. The subscript information in the above-mentioned subscript information set may correspond to the target historical business data information in the above-mentioned target historical business data information matrix. In practice, the above-mentioned execution entity may combine each preset value of subscript information in the above-mentioned subscript information set into a subscript information group, and obtain each subscript information group as the subscript information set after the division processing. Here, the specific value of the above-mentioned preset value is not specifically limited here. For example, the preset value may be 5.

[0042] The fifth step is to group the target historical business data information matrix according to the subscript information set after the division process. The subscript information set after the division process can represent each subscript information group. For example, the subscript information group can include 1, 2, 3, and 4. In practice, for each subscript information group in the subscript information set after the division process, the execution subject can determine each target historical business data information corresponding to the subscript information group in the target historical business data information matrix as a target historical business data information group, and obtain each target historical business data information group to group the target historical business data information matrix.

[0043] The sixth step is to transform the target historical business data information matrix after the grouping process to obtain the target historical business data information matrix after the transformation process. The target historical business data information matrix after the transformation process can represent a one-dimensional matrix. In practice, the execution subject can transform the target historical business data information matrix after the grouping process by diagonal averaging. Thus, the two-dimensional target historical business data information matrix after the grouping process can be transformed into a one-dimensional target historical business data information matrix.

[0044] The seventh step is to perform data reconstruction processing on the above historical business data information set, and obtain the historical business data information set after data reconstruction processing as the reconstructed historical business data information set. Among them, the above reconstructed historical business data information can represent the historical business data information set after reconstruction processing. In practice, first, the above execution subject can perform descending sorting processing on the above historical business data information set according to the singular value corresponding to each historical business data information in the above historical business data information set, and obtain the historical business data information set after descending sorting processing. Then, for each historical business data information in the historical business data information set after descending sorting processing, the above execution subject can determine the square value corresponding to each historical business data information in the above historical business data information set. After that, the square value of the singular value corresponding to the above historical business data information is determined as the target square value. Secondly, the ratio between the obtained target square value and the sum of the obtained square values ​​is determined as the contribution rate corresponding to the above historical business data information. Finally, the first t components of each historical business data information in the above historical business data information set whose corresponding contribution rate is greater than the preset contribution rate are determined as the reconstructed historical business data information set. Here, the specific value of the above-mentioned preset contribution rate is not specifically limited. For example, the preset contribution rate can be 85%. Here, the specific value of the first t component is not specifically limited.

[0045] The eighth step is to generate residual sequence information corresponding to the above-mentioned reconstructed historical business data information set and the above-mentioned historical business data information set based on the above-mentioned reconstructed historical business data information set and the above-mentioned historical business data information set. Among them, the above-mentioned residual sequence information can characterize the residual sequence. The historical business data information in the above-mentioned historical business data information set corresponds to the reconstructed historical business data information in the reconstructed historical business data information set. In practice, for each historical business data information in the above-mentioned historical business data information set, the above-mentioned execution entity can determine the difference between the above-mentioned historical business data information and the reconstructed historical business data information corresponding to the above-mentioned historical business data information in the above-mentioned reconstructed historical business data information set as the target difference. Afterwards, the obtained target differences are determined as the residual sequence information.

[0046] The ninth step is to generate sequence mean information and mean square error information corresponding to the residual sequence information according to the residual sequence information. The sequence mean information can represent the average value of the residual sequence information. The mean square error information can represent the mean square error of the residual sequence information. In practice, first, the execution subject can determine the average value of the residual sequence information as the sequence mean information corresponding to the residual sequence information. Then, the mean square error of the residual sequence information is determined as the mean square error information corresponding to the residual sequence information.

[0047] The tenth step is to perform data cleaning processing on the residual sequence information according to the sequence mean information and the mean square error information, so as to perform data cleaning processing on the acquired historical business data information set. In practice, for each residual value in the residual sequence information, the execution subject may determine the absolute value of the difference between the residual value and the mean value of the residual sequence information as the target absolute value. Then, the ratio of the target absolute value to the mean square error is determined as the target ratio. Finally, in response to determining that the target ratio is greater than a preset value, the historical business data information corresponding to the residual value corresponding to the target ratio is deleted from the historical business data information set, so as to perform data cleaning processing on the acquired historical business data information set.

[0048] The above technical solution, as an inventive point of an embodiment of the present disclosure, solves the technical problem: "Directly inputting the historical business data information set into the warning information generation model for users to be switched and the target user warning information generation model without considering preprocessing the historical business data information set. When there are more redundant data or more erroneous data in the historical business data information set, the accuracy of the results output by the warning information generation model for users to be switched and the target user warning information generation model is poor, and the accuracy of judging the performance of the warning information generation model for users to be switched and the target user warning information generation model is low". The factors that lead to the low accuracy of the results output by the warning information generation model for users to be switched and the target user warning information generation model, and the low accuracy of the model performance of the predicted warning information generation model for users to be switched and the target user warning information generation model are often as follows: directly inputting the historical business data information set into the warning information generation model for users to be switched and the target user warning information generation model, without considering preprocessing the historical business data information set. If the above factors are solved, the accuracy of the results output by the warning information generation model for users to be switched and the target user warning information generation model can be improved, and the accuracy of the performance of the predicted warning information generation model for users to be switched and the target user warning information generation model can be improved. In order to achieve this effect, when the performance of the model is tested according to the historical business data information set, the acquired historical business data information set is firstly subjected to data cleaning processing, thereby reducing redundant data and erroneous data in the historical business data information set, and then the historical business data information set after data cleaning is input into the warning information generation model for users to be switched and the target user warning information generation model, and then the model performance of the warning information generation model for users to be switched and the target user warning information generation model is determined according to the results output by the warning information generation model for users to be switched and the target user warning information generation model, thereby improving the accuracy of the results output by the warning information generation model for users to be switched and the target user warning information generation model, and improving the accuracy of determining the model performance of the warning information generation model for users to be switched and the target user warning information generation model.

[0049] In some optional implementations of some embodiments, the execution subject may generate the business model performance information corresponding to the to-be-switched user warning information generation model and the business model performance information corresponding to the target user warning information generation model according to the actual warning result information set corresponding to the target historical business data information set, the first prediction result information and the second prediction result information through the following steps:

[0050] The first step is to determine each first prediction result information output by the user warning information generation model as each target prediction result information. Wherein, each target prediction result information corresponding to the user warning information generation model can represent each prediction result information output by the user warning information generation model.

[0051] In the second step, for each target prediction result information in each target prediction result information, the following detection steps are performed:

[0052] In a first detection step, the target historical business data information corresponding to the target prediction result information in the target historical business data information set is determined as the historical business data information.

[0053] The second detection step is to determine the actual warning result information corresponding to the above-mentioned historical business data information in the above-mentioned actual warning result information set as the target actual warning result information. Among them, the actual warning result information in the above-mentioned actual warning result information set corresponds to the above-mentioned target historical business data information in the above-mentioned target historical business data information set. The above-mentioned target actual warning result information can represent the actual default rate corresponding to the above-mentioned historical business data information. In practice, the above-mentioned execution entity can determine the actual warning result information whose target historical business data information contained in the above-mentioned actual warning result information set is the same as the above-mentioned historical business data information as the target actual warning result information corresponding to the above-mentioned historical business data information.

[0054] The third detection step is to perform similarity detection processing on the determined target actual warning result information and the above target prediction result information to obtain the similarity information corresponding to the determined target actual warning result information and the above target prediction result information. Among them, the above similarity information can represent the similarity between the determined target actual warning result information and the above target prediction result information. In practice, first, the above execution subject can determine the difference between the default rate represented by the above target actual warning result information and the default rate represented by the above target prediction result information as the target difference. Then, it is determined whether the above target difference is greater than the preset default rate difference. Here, the specific value of the above preset default rate difference is not specifically limited. Afterwards, in response to determining that the above target difference is greater than the above preset default rate difference, the first preset similarity is determined as the similarity information corresponding to the determined target actual warning result information and the above target prediction result information. Here, the specific value of the above first preset similarity is not specifically limited. For example, the first preset similarity can be 20%. Secondly, in response to determining that the target difference is less than or equal to the preset default rate difference, the second preset similarity is determined as the similarity information corresponding to the determined target actual warning result information and the target prediction result information. Here, the specific value of the second preset similarity is not specifically limited. For example, the second preset similarity can be 80%.

[0055] In the third step, each second prediction result information output by the target user warning information generation model is used as each target prediction result information, and for each target prediction result information in each target prediction result information, the above detection step is performed again to obtain each similarity information corresponding to the target user warning information generation model. Among them, the similarity information in each similarity information corresponding to the target user warning information generation model can represent the similarity between the second prediction result information output by the target user warning information generation model and the corresponding target actual warning result information.

[0056] The fourth step is to generate the business model performance information corresponding to the warning information generation model of the user to be switched and the business model performance information corresponding to the warning information generation model of the target user according to the respective similarity information corresponding to the warning information generation model of the user to be switched, the respective similarity information corresponding to the warning information generation model of the target user and the set of actual warning result information. In practice, the execution subject may generate the business model performance information corresponding to the warning information generation model of the user to be switched and the business model performance information corresponding to the warning information generation model of the target user according to the respective similarity information corresponding to the warning information generation model of the user to be switched, the respective similarity information corresponding to the warning information generation model of the target user and the set of actual warning result information in various ways.

[0057] However, it is found in practice that when switching between the old and new models in the manner disclosed herein, the following technical problems often occur:

[0058] The warning information generation model for the user to be switched is directly switched according to the target user warning information generation model based on the switching demand, without considering the model performance of the target user warning information generation model and the warning information generation model for the user to be switched. If a new model with poor performance is used, the accuracy of the results predicted by the new model will be low.

[0059] Faced with the above technical problems, we decided to adopt the following solutions:

[0060] In some optional implementations of some embodiments, the execution subject may generate the business model performance information corresponding to the to-be-switched user warning information generation model and the business model performance information corresponding to the target user warning information generation model according to each similarity information corresponding to the to-be-switched user warning information generation model, each similarity information corresponding to the target user warning information generation model and the actual warning result information set through the following steps:

[0061] In the first step, each similarity information corresponding to the user warning information generation model to be switched is determined as each target similarity information. The target similarity information in each target similarity information can represent the similarity between the prediction result information output by the user warning information generation model to be switched and the actual warning result information.

[0062] In the second step, according to the above actual warning result information set, for each target similarity information in each target similarity information, the following warning steps are performed:

[0063] In the first warning step, in response to determining that the target similarity information satisfies the preset similarity condition, and the target prediction result information corresponding to the target similarity information satisfies the preset warning information condition, the preset prediction result category information group representing the category requiring warning processing in the preset prediction result category information group set is determined as the target preset prediction result category information group corresponding to the target similarity information. Wherein, the preset warning information condition may be that the default rate represented by the target prediction result information is greater than or equal to the preset default rate value. Here, the specific value of the preset default rate value is not specifically limited. For example, the preset default rate value may be 70%. The preset prediction result category information group set may include a preset number of preset prediction result category information groups. The preset number may be 4. The preset prediction result category information group set may include a preset prediction result category information group representing the category requiring warning processing, a preset prediction result category information group representing the category not requiring warning processing, a preset prediction result category information group representing the category not requiring warning processing and actually requiring warning processing, and a preset prediction result category information group representing the category requiring warning processing and actually not requiring warning processing. The preset similarity condition may be that the similarity represented by the target similarity information is equal to the second preset similarity. The preset prediction result category information group representing the category requiring early warning processing may include each similarity information whose default rate represented by the corresponding actual early warning result information and the corresponding target prediction result information is greater than or equal to the preset default rate value.

[0064] In the second early warning step, in response to determining that the target similarity information satisfies the preset similarity condition, and the target prediction result information corresponding to the target similarity information does not satisfy the preset early warning information condition, the preset prediction result category information group representing the category not requiring early warning processing in the preset prediction result category information group set is determined as the target preset prediction result category information group corresponding to the target similarity information. The preset prediction result category information group representing the category not requiring early warning processing may include each similarity information whose default rate represented by the corresponding actual early warning result information and the corresponding target prediction result information is less than the preset default rate value.

[0065] The third warning step, in response to determining that the target similarity information does not meet the preset similarity condition, and the target prediction result information corresponding to the target similarity information does not meet the preset warning information condition, the preset prediction result category information group representing the category of prediction that does not require warning processing and actually requires warning processing in the preset prediction result category information group set is determined as the target preset prediction result category information group corresponding to the target similarity information. The preset prediction result category information group representing the category of prediction that does not require warning processing and actually requires warning processing may include each similarity information whose default rate represented by the corresponding actual warning result information is greater than the preset default rate value, and whose default rate represented by the corresponding target prediction result information is less than or equal to the preset default rate value.

[0066] In the fourth warning step, in response to determining that the target similarity information does not meet the preset similarity condition, and the target prediction result information corresponding to the target similarity information meets the preset warning information condition, the preset prediction result category information group in the preset prediction result category information group set that represents the category of prediction that requires warning processing but does not actually require warning processing is determined as the target preset prediction result category information group corresponding to the target similarity information. The preset prediction result category information group that represents the category of prediction that requires warning processing but does not actually require warning processing may include each similarity information whose default rate represented by the corresponding target prediction result information is greater than the preset default rate value, and whose default rate represented by the corresponding actual warning result information is less than or equal to the preset default rate value.

[0067] The fifth early warning step is to update the quantity information of the target similarity information corresponding to the determined target preset prediction result category information group to obtain the updated target preset prediction result category information group. The above quantity information can represent the number of target similarity information represented by the above target preset prediction result category information group. In practice, the above execution subject can add 1 to the number represented by the above quantity information to obtain the updated target preset prediction result category information group.

[0068] The third step is to construct the warning matrix information corresponding to the above-mentioned user warning information generation model to be switched according to each target preset prediction result category information group after the update process. Among them, the above-mentioned warning matrix information can be a matrix used to warn the above-mentioned user warning information generation model to be switched. The above-mentioned warning matrix information corresponding to the above-mentioned user warning information generation model to be switched can be a matrix used to generate the performance of the above-mentioned user warning information generation model to be switched. The above-mentioned warning matrix information corresponding to the above-mentioned user warning information generation model to be switched can be a 2×2 two-dimensional matrix. In practice, firstly, the above-mentioned execution subject can replace each preset prediction result category information group corresponding to each target preset prediction result category information group after the update process in the above-mentioned preset prediction result category information group set with each target preset prediction result category information group after the update process, so as to update the above-mentioned preset prediction result category information group set. Finally, each preset prediction result category information group in the preset prediction result category information group set after the update process is randomly combined into a 2×2 matrix corresponding to the above-mentioned user warning information generation model to be switched.

[0069] In the fourth step, each similarity information corresponding to the above-mentioned target user warning information generation model is used as each target similarity information. According to the above-mentioned actual warning result information set, for each target similarity information in each target similarity information, the above-mentioned warning step is executed again to obtain each target preset prediction result category information group after the update processing corresponding to the above-mentioned target user warning information generation model.

[0070] The fifth step is to generate the warning matrix information corresponding to the target user warning information generation model according to each target preset prediction result category information group after the update processing of the target user warning information generation model. Among them, the warning matrix information corresponding to the target user warning information generation model can be a matrix used to generate the performance of the target user warning information generation model. The warning matrix information corresponding to the warning matrix information of the target user warning information generation model can be a 2×2 two-dimensional matrix. In practice, first, the execution subject can replace each preset prediction result category information group corresponding to each target preset prediction result category information group in the preset prediction result category information group set with each target preset prediction result category information group after the update processing, so as to update the preset prediction result category information group set. Finally, the preset prediction result category information groups in the preset prediction result category information group set after the update processing are randomly combined into a 2×2 matrix corresponding to the target user warning information generation model.

[0071] The sixth step is to generate the business model performance information corresponding to the above-mentioned user warning information generation model to be switched according to the warning matrix information corresponding to the above-mentioned user warning information generation model to be switched. In practice, first, the above-mentioned execution subject can add the number of each similarity information contained in the preset prediction result category information group representing the category requiring warning processing in the above-mentioned warning matrix information and the number of each similarity information contained in the preset prediction result category information group representing the category not requiring warning processing to obtain a first value. Then, the number of similarity information represented by the preset prediction result category information group representing the category requiring warning processing in the above-mentioned warning matrix information, the number of each similarity information contained in the preset prediction result category information group representing the category not requiring warning processing, the number of each similarity information contained in the preset prediction result category information group representing the category requiring warning processing and actually not requiring warning processing, and the number of each similarity information contained in the preset prediction result category information group representing the category requiring warning processing and actually requiring warning processing can be added to obtain a second value. Afterwards, the ratio of the above-mentioned first value to the above-mentioned second value is determined as the accuracy rate of the corresponding user warning information generation model to be switched. Secondly, the number of each similarity information contained in the preset prediction result category information group representing the category requiring early warning processing is added to the number of each similarity information contained in the preset prediction result category information group representing the category requiring early warning processing but actually not requiring early warning processing, to obtain a third value. Then, the ratio of the number of each similarity information contained in the preset prediction result category information group representing the category requiring early warning processing to the third value is determined as the precision rate of the above-mentioned user warning information generation model to be switched. Secondly, the number of each similarity information contained in the preset prediction result category information group representing the category requiring early warning processing is added to the number of each similarity information contained in the preset prediction result category information group representing the category requiring early warning processing but actually not requiring early warning processing, to obtain a fourth value. Afterwards, the ratio between the number of each similarity information contained in the preset prediction result category information group representing the category requiring early warning processing and the fourth value is determined as the recall rate of the above-mentioned user warning information generation model to be switched. Finally, the obtained accuracy, precision and recall rates are determined as the business model performance information corresponding to the above-mentioned user warning information generation model to be switched.

[0072] The seventh step is to generate the business model performance information corresponding to the target user warning information generation model according to the warning matrix information corresponding to the target user warning information generation model. In practice, the execution subject can generate the accuracy, precision and recall rate of the target user warning information generation model according to the warning matrix information corresponding to the target user warning information generation model. It should be noted that the method of generating the business model performance information corresponding to the target user warning information generation model according to the warning matrix information corresponding to the target user warning information generation model is the same as the method of generating the business model performance information corresponding to the user warning information generation model to be switched according to the warning matrix information corresponding to the user warning information generation model to be switched. Therefore, the method of generating the business model performance information corresponding to the target user warning information generation model will not be repeated here.

[0073] In the eighth step, the warning matrix information of the warning information generation model of the user to be switched and the warning matrix information of the target user warning information generation model are displayed in real time. In practice, the obtained warning matrix information of the warning information generation model of the user to be switched and the warning matrix information of the target user warning information generation model are displayed in real time on the associated display device.

[0074] The above technical solution, as an inventive point of an embodiment of the present disclosure, solves the technical problem that "the warning information generation model of the user to be switched is directly switched according to the target user warning information generation model according to the switching demand, without considering the model performance of the target user warning information generation model and the warning information generation model of the user to be switched to switch the warning information generation model of the user to be switched. If a new model with poor performance is used, the accuracy of the result predicted by the new model is low". The factors that lead to the poor performance stability of the new model after switching and the low accuracy of the result predicted by the new model are often as follows: the warning information generation model of the user to be switched is directly switched according to the switching demand, without considering the model performance of the target user warning information generation model and the warning information generation model of the user to be switched to switch the warning information generation model of the user to be switched. If the above factors are solved, the effect of improving the performance stability of the new model after switching and improving the accuracy of the result predicted by the new model can be achieved. In order to achieve this effect, when the warning information generation model of the user to be switched is switched, the performance of the warning information generation model of the user to be switched and the target user warning information generation model are firstly detected, and then the method of switching the warning information generation model of the user to be switched is determined according to the performance of the model. This can further improve the performance stability of the new model after switching and improve the accuracy of the results predicted by the new model.

[0075] Step 102 : determining whether the user warning information generation model to be switched satisfies a preset fast switching condition according to the service model performance information of the user warning information generation model to be switched.

[0076] In some embodiments, the execution subject may determine whether the user warning information generation model to be switched meets the preset fast switching condition based on the business model performance information of the user warning information generation model to be switched. The preset fast switching condition may be that the accuracy, precision and recall of the business model performance information of the user warning information generation model to be switched are less than or equal to the preset value. Here, the specific value of the preset value is not specifically limited. For example, the preset value may be 60%. In practice, the execution subject may determine whether the accuracy, recall and precision of the business model performance information of the switching user risk prediction business model are all greater than or equal to the preset value. Then, in response to determining that the accuracy, recall and precision of the business model performance information of the switching user risk prediction business model are all greater than or equal to the preset value, it is determined that the user warning information generation model to be switched does not meet the preset fast switching condition. Afterwards, in response to determining that the accuracy, recall and precision of the business model performance information of the switching user risk prediction business model are all less than the preset value, it is determined that the user warning information generation model to be switched meets the preset fast switching condition.

[0077] Step 103 , in response to determining that the user warning information generation model to be switched does not meet the preset fast switching condition, determine whether the preset switching requirement information corresponding to the user warning information generation model to be switched meets the preset fast switching requirement condition.

[0078] In some embodiments, in response to determining that the above-mentioned user warning information generation model to be switched does not meet the above-mentioned preset fast switching condition, the above-mentioned execution subject may determine whether the preset switching requirement information corresponding to the above-mentioned user warning information generation model to be switched meets the preset fast switching requirement condition. Among them, the above-mentioned preset switching requirement information may represent the manner in which the user warning information generation model to be switched is required to be switched. The above-mentioned preset switching requirement information may be a fast switching requirement or a smooth switching requirement. The above-mentioned preset fast switching requirement condition may be that the preset switching requirement information is a fast switching requirement.

[0079] Step 104, in response to determining that the preset switching requirement information corresponding to the user warning information generation model to be switched does not meet the preset fast switching requirement condition, the preset result weight information group that meets the preset weight information order condition in the preset result weight information group sequence is determined as the target result weight information group.

[0080] In some embodiments, in response to determining that the preset switching requirement information corresponding to the above-mentioned user warning information generation model to be switched does not meet the above-mentioned preset fast switching requirement condition, the above-mentioned execution entity may determine the preset result weight information group that meets the preset weight information order condition in the preset result weight information group sequence as the target result weight information group. The above-mentioned preset weight information order condition may be that the preset result weight information group has the smallest sequence number in the preset result weight information group sequence. The above-mentioned target result weight information group may represent the preset result weight information group with the smallest sequence number in the preset result weight information group sequence. The above-mentioned target result weight information group may represent the weight of the result output by the target user warning information generation model and the weight of the result output by the user warning information generation model to be switched. For example, the target result weight information group may represent that the weight of the result output by the target user warning information generation model is 20% and the weight of the result output by the user warning information generation model to be switched is 80%.

[0081] Step 105, according to the preset result weight information group sequence and the target result weight information group, for the user warning information generation model to be switched, the following switching steps are performed:

[0082] Step 1051, deleting the target result weight information group from the preset result weight information group sequence to update the preset result weight information group sequence.

[0083] In some embodiments, the execution subject may delete the target result weight information group from the preset result weight information group sequence to update the preset result weight information group sequence. Thus, the preset result weight information group sequence may be updated.

[0084] Step 1052, in response to detecting input request information for business data information, and the target result weight information group satisfies the preset result weight condition, the business data information is input into the to-be-switched user warning information generation model and the target user warning information generation model, and the output result information of the to-be-switched user warning information generation model is obtained as the first output result information and the output result information of the target user warning information generation model is obtained as the second output result information.

[0085] In some embodiments, in response to detecting input request information for business data information, and the target result weight information group satisfies the preset result weight condition, the execution subject may input the business data information into the to-be-switched user warning information generation model and the target user warning information generation model, and obtain the output result information of the to-be-switched user warning information generation model as the first output result information and the output result information of the target user warning information generation model as the second output result information. The preset result weight condition may be that the weight of the result output by the target user warning information generation model represented by the target result weight information group and the weight of the result output by the to-be-switched user warning information generation model are both non-zero.

[0086] Step 1053, combining the first output result information and the second output result information according to the target result weight information group to obtain the business data output result information corresponding to the business data information, so as to switch the user warning information generation model to be switched.

[0087] In some embodiments, the execution subject may combine the first output result information and the second output result information according to the target result weight information group to obtain the business data output result information of the corresponding business data information, so as to switch the above-mentioned user warning information generation model to be switched. The above-mentioned business data output result information may be the output result of the corresponding business data information. In practice, the execution subject may combine the first output result information and the second output result information according to the target result weight information group in various ways to obtain the business data output result information of the corresponding business data information, so as to switch the above-mentioned user warning information generation model to be switched.

[0088] In some optional implementations of some embodiments, the execution subject may combine the first output result information and the second output result information according to the target result weight information group through the following steps to obtain the business data output result information corresponding to the business data information, so as to switch the user warning information generation model to be switched:

[0089] The first step is to determine the target result weight information corresponding to the first output result information from the target result weight information group as the first target result weight information. The first target result weight information can represent the weight of the output result of the user warning information generation model to be switched. In practice, the execution entity can determine the weight of the output result of the user warning information generation model to be switched in the target result weight information group as the first target result weight information.

[0090] The second step is to determine the target result weight information corresponding to the second output result information from the target result weight information group as the second target result weight information. The second target result weight information can represent the weight of the output result of the user warning information generation model to be switched. In practice, the execution entity can determine the weight of the output result of the target user warning information generation model in the target result weight information group as the second target result weight information.

[0091] The third step is to generate business data output result information corresponding to the business data information based on the determined first target result weight information and the determined second target result weight information. In practice, the above-mentioned execution entity can multiply the weight represented by the above-mentioned first target result weight information with the first output result information corresponding to the above-mentioned business data information to obtain a first product. Then, the weight represented by the determined second target result weight information is multiplied by the second output result information corresponding to the above-mentioned business data information to obtain a second product. Finally, the average value of the obtained first product and the second product is determined as the business data output result information corresponding to the business data information.

[0092] Optionally, after step 1053, the execution subject may also, in response to detecting that the change interval information of the corresponding target result weight information group satisfies the preset time interval condition, and the updated preset result weight information group sequence is not empty, use the preset result weight information group in the updated preset result weight information group sequence that satisfies the preset weight information order condition as the target result weight information group, and use the updated preset result weight information group sequence as the preset result weight information group sequence, and perform the switching step again. The change interval information may represent the time interval from the last update of the target result weight information. For example, the change interval information may be 10 minutes. The preset time interval condition may be that the time interval represented by the change interval information is the same as the preset time interval. Here, the specific value of the preset time interval is not specifically limited.

[0093] Optionally, after step 1053, the execution subject may also, in response to detecting input request information for business data information and the target result weight information group not satisfying the preset result weight condition, input the business data information into the target user warning information generation model, and obtain the output result information of the target user warning information generation model as the business data output result information corresponding to the business data information, so as to complete the switching process of the user warning information generation model to be switched. The input request information may be a request for inputting business data information.

[0094] Optionally, after step 1053, first, the execution subject may determine whether the business data output result information satisfies a preset warning condition according to the business data output result information. The preset warning condition may be that the default rate represented by the business data output result information is greater than a preset default rate value. Here, the specific value of the preset default rate value is not specifically limited.

[0095] Then, in response to determining that the above-mentioned business data output result information meets the above-mentioned preset warning conditions, the warning level information corresponding to the above-mentioned business data information can be determined according to the preset warning level information set. Among them, the above-mentioned warning level information can characterize the warning level corresponding to the above-mentioned business data output result information. The preset warning level information in the above-mentioned preset warning level information set can characterize the correspondence between the business data output result information and the warning level. For example, the warning level information can be: "Business data output result information: 70%, warning level information: Level 2 warning". The above-mentioned warning level information can characterize the warning level of the business data output result information. In practice, in response to determining that the above-mentioned business data output result information meets the above-mentioned preset warning conditions, the above-mentioned execution entity can determine the warning level information included in the above-mentioned preset warning level information set, which is the same as the business data output result information corresponding to the above-mentioned business data information, as the warning level information corresponding to the above-mentioned business data information.

[0096] Afterwards, the preset warning level method information corresponding to the above warning level information in the preset warning level method information set can be determined as the target preset warning level method information. Among them, the preset warning level method information in the above preset warning level method information set can characterize the correspondence between the warning level information and the warning method. For example, the preset warning level method information can be: "Warning level information: Level 2 warning; Warning method: SMS warning". In practice, the above execution entity can determine the preset warning level method information that is the same as the above warning level information and included in the above preset warning level method information set as the target preset warning level method information.

[0097] Finally, the business data information can be processed for early warning according to the target preset early warning level information. In practice, the execution subject can process the business data information for early warning according to the early warning method included in the target preset early warning level information. For example, the early warning method included in the target preset early warning level information can be a text message early warning, and the execution subject can send the preset text message template information to the terminal device for early warning processing. For example, the preset text message template information can be: "Business data information: xx has a high risk, please be vigilant."

[0098] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through a business model switching method of some embodiments of the present disclosure, it is possible to reduce the interruption of business processes, improve the user experience of business users, reduce the possibility of leakage of business data, and improve the stability of business systems. Specifically, the reasons why business process interruptions are prone to occur, resulting in poor user experience and a high possibility of leakage of business data, and the direct use of new models is prone to poor stability of business systems are: directly switching the original user warning information generation model to the latest user warning information generation model, there are differences between the original user warning information generation model and the latest user warning information generation model, and directly switching the original model and the new model is prone to business process interruptions, which is prone to business system failures, resulting in poor user experience and a high possibility of leakage of business data, and the direct use of new models is prone to poor stability of business systems. Based on this, the switching method of the business model of some embodiments of the present disclosure, first, the performance detection processing is performed on the user warning information generation model to be switched and the target user warning information generation model, and the business model performance information corresponding to the above-mentioned user warning information generation model to be switched and the business model performance information corresponding to the above-mentioned target user warning information generation model are obtained, wherein the above-mentioned target user warning information generation model is used to replace the above-mentioned user warning information generation model to be switched. Thus, the performance information of the user warning information generation model to be switched and the target user warning information generation model can be obtained, which can be used to determine the way to switch the user warning information generation model to be switched. Then, according to the business model performance information of the above-mentioned user warning information generation model to be switched, it is determined whether the above-mentioned user warning information generation model to be switched meets the preset fast switching condition. Thus, it can be determined whether there is a need to quickly switch the above-mentioned user warning information generation model to be switched. Afterwards, in response to determining that the above-mentioned user warning information generation model to be switched does not meet the above-mentioned preset fast switching condition, it is determined whether the preset switching requirement information corresponding to the above-mentioned user warning information generation model to be switched meets the preset fast switching requirement condition. Thus, it can be determined whether the preset switching requirement information corresponding to the above-mentioned user warning information generation model to be switched is a demand for fast switching. Then, in response to determining that the preset switching requirement information corresponding to the above-mentioned user warning information generation model to be switched does not meet the above-mentioned preset fast switching requirement condition, the preset result weight information group that meets the preset weight information order condition in the preset result weight information group sequence is determined as the target result weight information group. Thus, the target result weight information group can be selected to switch the above-mentioned user warning information generation model to be switched.Then, according to the preset result weight information group sequence and the target result weight information group, for the above-mentioned user warning information generation model to be switched, the following switching steps are performed: First, the target result weight information group is deleted from the preset result weight information group sequence to update the preset result weight information group sequence. Thus, the preset result weight information group sequence can be updated, so that the above-mentioned user warning information generation model to be switched can be switched according to the updated preset result weight information group sequence. Then, in response to detecting the input request information for the business data information, and the target result weight information group meets the preset result weight condition, the above-mentioned business data information is input into the above-mentioned user warning information generation model to be switched and the above-mentioned target user warning information generation model, and the output result information of the above-mentioned user warning information generation model to be switched is obtained as the first output result information and the output result information of the above-mentioned target user warning information generation model is obtained as the second output result information. Thus, the output result information of the corresponding business data information can be obtained. Finally, according to the target result weight information group, the first output result information and the second output result information are combined and processed to obtain the business data output result information of the corresponding business data information, so as to switch the above-mentioned user warning information generation model to be switched. Therefore, the output result information of the above-mentioned user warning information generation model to be switched and the above-mentioned target user warning information generation model can be combined and processed by selecting the target result weight information group. Also, because the above-mentioned user warning information generation model to be switched is not directly switched to the target user warning information generation model, but the above-mentioned user warning information generation model to be switched is gradually switched to the target user warning information generation model by continuously selecting the target result weight information group. Thereby reducing the business process interruption caused by directly switching between the original model and the new model, improving the business user experience and reducing the possibility of business data leakage, and reducing the poor stability of the business system caused by the direct switching between the old and new models.

[0099] Further references Figure 2 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a method for switching a service model. These device embodiments are similar to Figure 1 Corresponding to the method embodiments shown, the device can be specifically applied to various electronic devices.

[0100] like Figure 2As shown, the device 200 for switching a business model in some embodiments includes: a detection unit 201 , a first determination unit 202 , a second determination unit 203 , a third determination unit 204 and a switching unit 205 . Among them, the detection unit 201 is configured to perform performance detection processing on the user warning information generation model to be switched and the target user warning information generation model, and obtain the business model performance information corresponding to the above-mentioned user warning information generation model to be switched and the business model performance information corresponding to the above-mentioned target user warning information generation model, wherein the above-mentioned target user warning information generation model is used to replace the above-mentioned user warning information generation model to be switched; the first determination unit 202 is configured to determine whether the above-mentioned user warning information generation model to be switched meets the preset fast switching condition according to the business model performance information of the above-mentioned user warning information generation model to be switched; the second determination unit 203 is configured to determine whether the preset switching requirement information corresponding to the above-mentioned user warning information generation model to be switched meets the preset fast switching requirement condition in response to determining that the above-mentioned user warning information generation model to be switched does not meet the above-mentioned preset fast switching condition; the third determination unit 204 is configured to determine whether the preset result weight information group sequence The preset result weight information group that meets the preset weight information order condition is determined as the target result weight information group; the switching unit 205 is configured to perform the following switching steps for the above-mentioned user warning information generation model to be switched according to the preset result weight information group sequence and the target result weight information group: delete the target result weight information group from the preset result weight information group sequence to update the preset result weight information group sequence; in response to detecting the input request information for the business data information, and the target result weight information group meets the preset result weight condition, input the above-mentioned business data information into the above-mentioned user warning information generation model to be switched and the above-mentioned target user warning information generation model, and obtain the output result information of the above-mentioned user warning information generation model to be switched as the first output result information and the output result information of the above-mentioned target user warning information generation model as the second output result information; according to the target result weight information group, the first output result information and the second output result information are combined and processed to obtain the business data output result information corresponding to the business data information, so as to switch the above-mentioned user warning information generation model to be switched.

[0101] It is understood that the units described in the device 200 are similar to those described in the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the device 200 and the units included therein, and will not be described in detail here.

[0102] Reference below Figure 3, which shows a schematic structural diagram of an electronic device 300 (eg, a computing device) suitable for implementing some embodiments of the present disclosure. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0103] like Figure 3 As shown, the electronic device 300 may include a processing device 301 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 to a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0104] Typically, the following devices may be connected to the I / O interface 305: an input device 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 308 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 309. The communication device 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0105] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.

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

[0107] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0108] The computer-readable medium may be included in the electronic device; or it may exist independently without being installed in the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: performs performance detection processing on the warning information generation model for the user to be switched and the warning information generation model for the target user, and obtains the business model performance information corresponding to the warning information generation model for the user to be switched and the business model performance information corresponding to the warning information generation model for the target user, wherein the warning information generation model for the target user is used to replace the warning information generation model for the user to be switched; determines whether the warning information generation model for the user to be switched meets the preset fast switching condition based on the business model performance information of the warning information generation model for the user to be switched; in response to determining that the warning information generation model for the user to be switched does not meet the preset fast switching condition, determines whether the preset switching requirement information corresponding to the warning information generation model for the user to be switched meets the preset fast switching requirement condition; in response to determining that the preset switching requirement information corresponding to the warning information generation model for the user to be switched does not meet the preset fast switching requirement condition, sets the preset result weight information The preset result weight information group that meets the preset weight information order condition in the group sequence is determined as the target result weight information group; according to the preset result weight information group sequence and the target result weight information group, for the above-mentioned user warning information generation model to be switched, the following switching steps are performed: the target result weight information group is deleted from the preset result weight information group sequence to update the preset result weight information group sequence; in response to detecting the input request information for the business data information, and the target result weight information group meets the preset result weight condition, the above-mentioned business data information is input into the above-mentioned user warning information generation model to be switched and the above-mentioned target user warning information generation model, and the output result information of the above-mentioned user warning information generation model to be switched is obtained as the first output result information and the output result information of the above-mentioned target user warning information generation model is obtained as the second output result information; according to the target result weight information group, the first output result information and the second output result information are combined and processed to obtain the business data output result information corresponding to the business data information, so as to switch the above-mentioned user warning information generation model to be switched.

[0109] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

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

[0111] The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The described units may also be arranged in a processor, for example, they may be described as: a detection unit, a first determination unit, a second determination unit, a third determination unit, and a switching unit. Among them, the names of these units do not constitute limitations on the units themselves under certain circumstances. For example, the detection unit may also be described as "a unit that performs performance detection processing on the to-be-switched user warning information generation model and the target user warning information generation model, and obtains the business model performance information corresponding to the above-mentioned to-be-switched user warning information generation model and the business model performance information corresponding to the above-mentioned target user warning information generation model".

[0112] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0113] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure.

Claims

1. A method for switching a service model, comprising: The performance detection processing is performed on the warning information generation model of the user to be switched and the target user warning information generation model to obtain the business model performance information corresponding to the warning information generation model of the user to be switched and the business model performance information corresponding to the target user warning information generation model, wherein the target user warning information generation model is used to replace the warning information generation model of the user to be switched, and the performance detection processing is performed on the warning information generation model of the user to be switched and the target user warning information generation model to obtain the business model performance information corresponding to the warning information generation model of the user to be switched and the business model performance information corresponding to the target user warning information generation model, including: Get a collection of historical business data information; Performing data cleaning on each piece of historical business data information in the acquired historical business data information set, and obtaining the historical business data information set after data cleaning as the target historical business data information set; Input each target historical service data information in the target historical service data information set into the to-be-switched user warning information generation model and the target user warning information generation model respectively; Determine each prediction result information corresponding to the target historical business data information set output by the to-be-switched user warning information generation model as each first prediction result information, wherein the first prediction result information in each first prediction result information corresponds to the target historical business data information in the target historical business data information set; Determining each prediction result information corresponding to the target historical business data information set output by the target user warning information generation model as each second prediction result information, wherein the second prediction result information in each second prediction result information corresponds to the target historical business data information in the target historical business data information set; According to the actual warning result information set corresponding to the target historical business data information set, the respective first prediction result information and the respective second prediction result information, business model performance information corresponding to the warning information generation model for the user to be switched and business model performance information corresponding to the warning information generation model for the target user are generated, wherein, according to the actual warning result information set corresponding to the target historical business data information set, the respective first prediction result information and the respective second prediction result information, business model performance information corresponding to the warning information generation model for the user to be switched and business model performance information corresponding to the warning information generation model for the target user are generated, including: Determine each first prediction result information output by the to-be-switched user warning information generation model as each target prediction result information; For each target prediction result information in each target prediction result information, the following detection steps are performed: Determining the target historical business data information corresponding to the target prediction result information in the target historical business data information set as the historical business data information; Determine the actual warning result information corresponding to the historical business data information in the actual warning result information set as the target actual warning result information; Performing similarity detection processing on the determined target actual warning result information and the target prediction result information to obtain similarity information corresponding to the determined target actual warning result information and the target prediction result information; Using each second prediction result information output by the target user warning information generation model as each target prediction result information, and for each target prediction result information in each target prediction result information, performing the detection step again to obtain each similarity information corresponding to the target user warning information generation model; Generate business model performance information corresponding to the to-be-switched user warning information generation model and business model performance information corresponding to the target user warning information generation model according to each similarity information corresponding to the to-be-switched user warning information generation model, each similarity information corresponding to the target user warning information generation model and the actual warning result information set; Determining whether the user warning information generation model to be switched meets a preset fast switching condition according to the business model performance information of the user warning information generation model to be switched; In response to determining that the to-be-switched user warning information generation model does not meet the preset fast switching condition, determining whether the preset switching requirement information corresponding to the to-be-switched user warning information generation model meets the preset fast switching requirement condition; In response to determining that the preset switching requirement information corresponding to the to-be-switched user warning information generation model does not meet the preset fast switching requirement condition, determining a preset result weight information group that meets the preset weight information order condition in the preset result weight information group sequence as a target result weight information group; According to the preset result weight information group sequence and the target result weight information group, for the user warning information generation model to be switched, the following switching steps are performed: Deleting the target result weight information group from the preset result weight information group sequence to update the preset result weight information group sequence; In response to detecting input request information for business data information, and the target result weight information group satisfies a preset result weight condition, inputting the business data information into the to-be-switched user warning information generation model and the target user warning information generation model, obtaining output result information of the to-be-switched user warning information generation model as first output result information and output result information of the target user warning information generation model as second output result information; According to the target result weight information group, the first output result information and the second output result information are combined and processed to obtain the business data output result information of the corresponding business data information, so as to switch the user warning information generation model to be switched, wherein, according to the target result weight information group, the first output result information and the second output result information are combined and processed to obtain the business data output result information of the corresponding business data information, so as to switch the user warning information generation model to be switched, including: Determining the target result weight information corresponding to the first output result information from the target result weight information group as the first target result weight information; Determining the target result weight information corresponding to the second output result information from the target result weight information group as the second target result weight information; Business data output result information corresponding to the business data information is generated according to the determined first target result weight information and the determined second target result weight information.

2. The method according to claim 1, wherein: The switching step further comprises: In response to detecting that the change interval time information of the corresponding target result weight information group satisfies the preset time interval condition, and the updated preset result weight information group sequence is not empty, the preset result weight information group that satisfies the preset weight information order condition in the updated preset result weight information group sequence is used as the target result weight information group, and the updated preset result weight information group sequence is used as the preset result weight information group sequence, and the switching step is performed again.

3. The method according to claim 1, wherein: The switching step further comprises: In response to detecting input request information for business data information, and the target result weight information group does not meet the preset result weight conditions, the business data information is input into the target user warning information generation model, and the output result information of the target user warning information generation model is obtained as the business data output result information corresponding to the business data information, so as to complete the switching process of the user warning information generation model to be switched.

4. The method according to claim 1, wherein: The method further comprises: Determining whether the business data output result information meets a preset warning condition according to the business data output result information; In response to determining that the business data output result information meets the preset warning condition, determining the warning level information corresponding to the business data information according to the preset warning level information set; Determine the preset warning level mode information corresponding to the warning level information in the preset warning level mode information set as the target preset warning level mode information; According to the target preset warning level method information, the business data information is warned.

5. A device for switching a business model, comprising: The detection unit is configured to perform performance detection processing on the to-be-switched user warning information generation model and the target user warning information generation model to obtain business model performance information corresponding to the to-be-switched user warning information generation model and business model performance information corresponding to the target user warning information generation model, wherein the target user warning information generation model is used to replace the to-be-switched user warning information generation model, and the to-be-switched user warning information generation model and the target user warning information generation model are performed performance detection processing to obtain business model performance information corresponding to the to-be-switched user warning information generation model and business model performance information corresponding to the target user warning information generation model, including: obtaining historical business data The method comprises the steps of: performing data cleaning on each historical business data information in the acquired historical business data information set, obtaining the historical business data information set after data cleaning as the target historical business data information set; inputting each target historical business data information in the target historical business data information set into the to-be-switched user warning information generation model and the target user warning information generation model respectively; determining each prediction result information corresponding to the target historical business data information set output by the to-be-switched user warning information generation model as each first prediction result information, wherein the first prediction result information in each first prediction result information corresponds to the target historical business data information set. The target historical business data information in the target user early warning information generation model; determining each prediction result information corresponding to the target historical business data information set output by the target user early warning information generation model as each second prediction result information, wherein the second prediction result information in each second prediction result information corresponds to the target historical business data information in the target historical business data information set; based on the actual warning result information set corresponding to the target historical business data information set, the each first prediction result information and the each second prediction result information, generating the business model performance information corresponding to the to-be-switched user early warning information generation model and the business model performance information corresponding to the target user early warning information generation model, wherein the root According to the actual warning result information set corresponding to the target historical business data information set, the respective first prediction result information and the respective second prediction result information, business model performance information corresponding to the to-be-switched user warning information generation model and business model performance information corresponding to the target user warning information generation model are generated, including: determining the respective first prediction result information output by the to-be-switched user warning information generation model as respective target prediction result information; for each target prediction result information in each target prediction result information, performing the following detection steps: determining the target historical business data information corresponding to the target prediction result information in the target historical business data information set as the historical business data information;Determine the actual warning result information corresponding to the historical business data information in the actual warning result information set as the target actual warning result information; perform similarity detection processing on the determined target actual warning result information and the target prediction result information to obtain similarity information corresponding to the determined target actual warning result information and the target prediction result information; use each second prediction result information output by the target user warning information generation model as each target prediction result information, and for each target prediction result information in each target prediction result information, perform the detection step again to obtain each similarity information corresponding to the target user warning information generation model; generate business model performance information corresponding to the to-be-switched user warning information generation model and business model performance information corresponding to the target user warning information generation model according to each similarity information corresponding to the to-be-switched user warning information generation model, each similarity information corresponding to the target user warning information generation model and the actual warning result information set; A first determining unit is configured to determine whether the user warning information generation model to be switched meets a preset fast switching condition according to the service model performance information of the user warning information generation model to be switched; A second determining unit is configured to determine whether the preset switching requirement information corresponding to the user warning information generation model to be switched meets the preset fast switching requirement condition in response to determining that the user warning information generation model to be switched does not meet the preset fast switching condition; A third determining unit is configured to, in response to determining that the preset switching requirement information corresponding to the to-be-switched user warning information generation model does not meet the preset fast switching requirement condition, determine the preset result weight information group that meets the preset weight information order condition in the preset result weight information group sequence as the target result weight information group; The switching unit is configured to perform the following switching steps for the to-be-switched user warning information generation model according to a preset result weight information group sequence and a target result weight information group: deleting the target result weight information group from the preset result weight information group sequence to update the preset result weight information group sequence; in response to detecting input request information for business data information and the target result weight information group meeting the preset result weight condition, inputting the business data information into the to-be-switched user warning information generation model and the target user warning information generation model to obtain the output result information of the to-be-switched user warning information generation model as the first output result information and the output result information of the target user warning information generation model as the second output result information; and grouping the first output result information and the second output result information according to the target result weight information group. Combined processing is performed to obtain business data output result information corresponding to the business data information, so as to switch the user warning information generation model to be switched, wherein the first output result information and the second output result information are combined and processed according to the target result weight information group to obtain business data output result information corresponding to the business data information, so as to switch the user warning information generation model to be switched, including: determining the target result weight information corresponding to the first output result information from the target result weight information group as the first target result weight information; determining the target result weight information corresponding to the second output result information from the target result weight information group as the second target result weight information; generating the business data output result information corresponding to the business data information according to the determined first target result weight information and the determined second target result weight information.

6. An electronic device comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 4.

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

Citation Information

Patent Citations

  • Controller switching early warning method and device, electronic equipment and readable storage medium

    CN115757056A

  • Traffic switching method and apparatus, and computer device

    WO2019144769A1