Project processing method, device, electronic device and computer readable storage medium

By analyzing user historical data, calculating project weight values ​​and setting a predetermined order, the problem of difficulty in automatically degrading projects based on user characteristics in the prior art is solved, and targeted and automatic project degradation settings are achieved.

CN114462961BActive Publication Date: 2025-05-09INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210037759.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-13
Publication Date
2025-05-09
Estimated Expiration
2042-01-13

AI Technical Summary

Technical Problem

The prior art is difficult to automatically perform targeted project downgrading settings based on user characteristics, especially when the system crashes or the business volume increases dramatically.

Method used

By determining the multiple target items to be restricted, the affected ratio of influencing factors and usage frequency is determined based on the historical use data of the target object, the weight values ​​of each target item are calculated, and a predetermined order of restricted use is set.

Benefits of technology

It realizes automatic targeted degradation settings based on user characteristics to ensure that the use of projects can be effectively restricted under system pressure and avoid system crashes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114462961B_ABST
    Figure CN114462961B_ABST
Patent Text Reader

Abstract

The present invention discloses a project processing method, device, electronic device and computer-readable storage medium. The method includes: determining multiple target projects to be restricted; determining the influencing factors that affect the frequency of use of the target objects using the multiple target projects based on the historical use data of the target objects, and the influence ratio of the degree of influence of the frequency of use of any two target projects in the multiple target projects under the influencing factors; determining multiple weight values ​​corresponding to the multiple target projects under the influencing factors based on the influence ratio, wherein the multiple target projects correspond to the multiple weight values ​​one by one; and setting a predetermined order for restricting the use of one or more projects in the multiple target projects based on the multiple weight values ​​corresponding to the multiple target projects. The present invention solves the technical problem in the related art that it is difficult to automatically perform targeted downgrade settings according to the characteristics of the user when downgrading the project.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and in particular to a project processing method, device, electronic device and computer-readable storage medium. Background Art

[0002] When a user's special operation or special data locks the system, or the system crashes due to a sharp increase in business volume, it is necessary to urgently stop the use of certain functions and projects. The current implementation method is to develop a temporary change plan or a technical emergency plan, and manually change the production switch or parameters. When performing this operation, it is necessary to restart the server or modify the project parameters through the console to temporarily disable one or more projects in the system to achieve the purpose. However, when using the above manual operation to perform downgrade settings, it is difficult to perform downgrade settings based on the user's characteristics.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a project processing method, device, electronic device and computer-readable storage medium to at least solve the technical problem in the related art that it is difficult to automatically perform targeted downgrade settings according to user characteristics when downgrading a project.

[0005] According to one aspect of an embodiment of the present invention, there is provided a project processing method, comprising: determining a plurality of target projects to be restricted in use; determining, based on historical use data of the target object, influencing factors that affect the frequency of use of the plurality of target projects by the target object, and an influence ratio of the degree of influence on the frequency of use of any two target projects among the plurality of target projects under the influencing factors; determining, based on the influence ratio, a plurality of weight values ​​corresponding to the plurality of target projects under the influencing factors, wherein the plurality of target projects correspond one-to-one to the plurality of weight values; and setting a predetermined order for restricting the use of one or more of the plurality of target projects based on the plurality of weight values ​​corresponding to the plurality of target projects.

[0006] Optionally, based on the influence ratio, multiple weight values ​​corresponding to the multiple target projects under the influence factors are determined, including: based on the influence ratio, establishing a project matrix corresponding to the multiple target projects under the influence factors; based on the project matrix, determining multiple weight values ​​corresponding to the multiple target projects under the influence factors.

[0007] Optionally, it also includes: determining the number of the multiple target projects; when the number of the multiple target projects exceeds a predetermined number, verifying the rationality of the project matrix corresponding to the multiple target projects; when the rationality is greater than the predetermined degree, re-determining the influencing factors that affect the frequency of use of the multiple target projects by the target object based on the historical usage data of the target object, and the influence ratio of the degree of influence on the usage frequency of any two target projects among the multiple target projects under the influencing factors.

[0008] Optionally, verifying the rationality of the project matrix corresponding to the multiple target projects includes: multiplying the project matrix corresponding to the multiple target projects by multiple weight values ​​corresponding to the multiple target projects to obtain a column matrix corresponding to the multiple target projects; determining a rationality index of the project matrix corresponding to the multiple target projects based on the column matrix and the multiple weight values ​​corresponding to the multiple target projects; and verifying the rationality of the project matrix corresponding to the multiple target projects based on the rationality index.

[0009] Optionally, based on the historical usage data of the target object, determining the influencing factors that affect the frequency of use of the multiple target items by the target object, and the influence ratio of the degree of influence on the usage frequency of any two target items among the multiple target items under the influencing factors, including: acquiring the historical usage data of the target object at a predetermined period; based on the historical usage data of the target object, determining the influencing factors that affect the frequency of use of the multiple target items by the target object, and the influence ratio of the degree of influence on the usage frequency of any two target items among the multiple target items under the influencing factors.

[0010] Optionally, after setting a predetermined order for limiting the use of one or more items among the multiple target items based on multiple weight values ​​corresponding to the multiple target items, it also includes: determining the load level that the server bears; and when the load level is greater than a first predetermined threshold, limiting the use of one or more items among the multiple target items according to the predetermined order.

[0011] According to one aspect of an embodiment of the present invention, there is provided a project processing device, comprising: a first determination module, for determining a plurality of target projects to be restricted in use; a second determination module, for determining, based on historical usage data of the target object, influencing factors that affect the frequency of use of the plurality of target projects by the target object, and an influence ratio of the degree of influence on the frequency of use of any two target projects among the plurality of target projects under the influencing factors; a third determination module, for determining, based on the influence ratio, a plurality of weight values ​​corresponding to the plurality of target projects under the influencing factors, wherein the plurality of target projects correspond one-to-one to the plurality of weight values; and a setting module, for setting a predetermined order for restricting the use of one or more of the plurality of target projects based on the plurality of weight values ​​corresponding to the plurality of target projects.

[0012] According to one aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement any one of the project processing methods described above.

[0013] According to one aspect of an embodiment of the present invention, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any one of the project processing methods described above.

[0014] According to one aspect of an embodiment of the present invention, there is provided a computer program product, including a computer program, wherein when the computer program is executed by a processor, the project processing method described in any one of the above items is implemented.

[0015] In an embodiment of the present invention, by determining multiple items to be restricted, determining the influencing factors that affect the frequency of use of multiple target items by the target object based on the historical use data of the target object, and the influence ratio of the degree of influence on the frequency of use of any two target items in the multiple target items under the influencing factors, so as to determine multiple weight values ​​corresponding to the multiple target items under the influencing factors according to the above-mentioned influence ratio, and then being able to set a predetermined order for restricting the use of one or more items in the multiple target items. Because the set predetermined order is determined based on the weight values ​​corresponding to the multiple target items under specific influencing factors, the obtained order is in line with people's expectations and is set specifically according to the target object, thereby solving the technical problem in the related art that it is difficult to automatically perform targeted downgrade settings according to the characteristics of the user when downgrading the project. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0017] Figure 1 is a flowchart of a project processing method according to an embodiment of the present invention;

[0018] Figure 2 is a flowchart of a hierarchical downgrading method provided in an optional embodiment of the present invention;

[0019] Figure 3 It is a schematic diagram of an actual scenario application provided by an optional embodiment of the present invention;

[0020] Figure 4 It is a schematic diagram of the overall process of the hierarchical degradation method provided by an optional embodiment of the present invention;

[0021] Figure 5 4 is a structural block diagram of a project processing device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0024] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following explanations:

[0025] AHP: The analytic hierarchy process, a qualitative and quantitative evaluation method through mathematical modeling.

[0026] Feature vector: A collection of attributes, represented by a vector, attached to an instance. Each instance has its own different attributes, and different attributes are represented by different attribute values. Multiple attribute values ​​combined together can be represented by a vector. This vector is called a feature vector.

[0027] Service downgrade: also known as project downgrade. When the server pressure increases dramatically, some services and pages are strategically not processed or processed in a simpler way according to the actual business situation and traffic, thereby releasing server resources to ensure the normal or efficient operation of core transactions.

[0028] Example 1

[0029] According to an embodiment of the present invention, an embodiment of a project processing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0030] Figure 1 is a flowchart of a project processing method according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0031] Step S102, determining a plurality of target items to be restricted;

[0032] Step S104, determining, based on the historical usage data of the target object, influencing factors that affect the usage frequency of the target object using the multiple target items, and an influence ratio of the degree of influence on the usage frequency of any two target items among the multiple target items under the influencing factors;

[0033] Step S106, determining a plurality of weight values ​​corresponding to a plurality of target items under the influencing factors according to the influencing proportions;

[0034] Step S108 , setting a predetermined order for limiting the use of one or more items among the plurality of target items according to the plurality of weight values ​​corresponding to the plurality of target items.

[0035] Through the above steps, by determining multiple items to be restricted, determining the influencing factors that affect the frequency of use of multiple target items by the target object based on the historical use data of the target object, and the influence ratio of the degree of influence on the frequency of use of any two target items in the multiple target items under the influencing factors, so as to determine the multiple weight values ​​corresponding to the multiple target items under the influencing factors according to the above influence ratio, and then set the predetermined order of restricting the use of one or more items in the multiple target items. Because the set predetermined order is determined based on the weight values ​​corresponding to the multiple target items under specific influencing factors, the obtained order is in line with people's expectations and is set specifically according to the target object, thereby solving the technical problem in the related technology that it is difficult to automatically perform targeted downgrade settings according to the characteristics of the user when downgrading the project.

[0036] It should be noted that the above-mentioned target objects can be users who use the projects. The above-mentioned projects can be a variety of services, which should not be the same in different application scenarios. Taking the scenario of currency transactions as an example, in the transaction page, there may be account management, detailed query, balance query, transfer and remittance and other services, which are displayed in the transaction page in the form of controls. The above-mentioned various services are the projects referred to in this application. In the detailed query, it may also include monthly detailed query, weekly detailed query, daily detailed query and other services. The above-mentioned various services can also refer to the projects referred to in this application. Degrading the project can be understood as when the load exceeds the preset upper limit threshold or the upcoming traffic is expected to exceed the preset threshold, in order to ensure that important or basic services can operate normally, it is necessary to limit the use of some projects to ensure that important or basic services can operate normally.

[0037] As an optional embodiment, because the habits and behaviors of the target object should not be the same, it is necessary to determine the influencing factors that affect the frequency of use of multiple target items by the target object based on the historical use data of the target object, as well as the influence ratio of the degree of influence of the frequency of use of any two target items in the multiple target items under the influencing factors. This can better perform subsequent processing based on the characteristics of the target object.

[0038] As an optional embodiment, the historical usage data of the target object is obtained at a predetermined period, and based on the historical usage data of the target object, the influencing factors that affect the frequency of use of multiple target items by the target object, as well as the influence ratio of the degree of influence of the frequency of use of any two target items in the multiple target items under the influencing factors, are determined. Because the user's behavior habits may change over time, therefore, the historical usage data of the target object is obtained at a predetermined period, so that the influencing factors that affect the frequency of use of multiple target items by the target object, as well as the influence ratio of the degree of influence of the frequency of use of any two target items in the multiple target items under the influencing factors, are regularly updated. Then, multiple weight values ​​corresponding to the multiple target items under the influencing factors are updated, and the predetermined order of limiting the use of one or more items in the multiple target items is updated. This allows the predetermined order to always meet the user's expectations, ensuring that there will be no lag or inaccurate specification of the predetermined order.

[0039] As an optional embodiment, when determining the influencing factors that affect the frequency of use of multiple target items by the target object based on the historical use data of the target object, and the influence ratio of the degree of influence of the frequency of use of any two target items in the multiple target items under the influencing factors, the AI ​​program can be used to self-identify the influencing factors and the influence ratio. The following example is given. Without considering the influencing factors, taking the influence ratio as an example, the user of Group A first logs in to the account management to query the details, then queries the balance and then remits money. The automatic learning program will think that the weight of the transaction for the current logged-in user is: detail query> balance query> transfer remittance. The AI ​​program can be used to self-identify that the ratio between detail query and balance query is 1:2; the ratio between balance query and transfer remittance is 1:3, and so on. For Group B, the most frequently used and largest transaction volume of Group B users after logging in is international business and group financial management. After each transaction, they will spend 20% of their time browsing the account details and fund net value chart. The system thinks that the weight importance is: international business> group financial management> account details> fund query. The AI ​​program can self-identify that the ratio between international business and group financial management is 1:2; the ratio between group financial management and account details is 1:3, and so on. It should be noted that the above defines the impact ratio of the degree of impact of the use frequency of any two target items among multiple target items, rather than the impact ratio of the degree of impact of the use frequency between multiple target items, because in multiple target items, the impact ratio between multiple items is often difficult to determine. By determining the impact ratio between two target items, it is not only convenient to determine, but also conducive to calculation, making the obtained weight value more accurate, greatly improving the convenience of the system processing process.

[0040] As an optional embodiment, by using the historical usage data of the target object, the influence ratio of the degree of influence of the usage frequency of any two target items in the multiple target items is determined, and the different influences on the multiple target items can be accurately determined. On this basis, the influencing factors that affect the frequency of use of the target object using multiple target items, as well as the influence ratio of the degree of influence of the usage frequency of any two target items in the multiple target items under the influencing factors, are determined, and a deeper level of consideration is given to the different degrees of influence of the usage frequency of the multiple target items under different influencing factors. The obtained downgrade result can better meet the user's expectations, making the downgrade more reasonable and more effective.

[0041] As an optional embodiment, multiple weight values ​​corresponding to multiple target projects under the influencing factors are determined based on the influence ratio, wherein the multiple target projects correspond to the multiple weight values ​​one by one. That is, each target project in the multiple target projects can determine a corresponding weight value. Instead of directly taking the influence ratio of the degree of influence of the use frequency of any two target projects in the multiple target projects as the weight value, the relationship between each target project in the multiple target projects is coordinated based on the influence ratio of the degree of influence of the use frequency of any two target projects in the multiple target projects, and determining the multiple weight values ​​corresponding to the multiple target projects under the influencing factors. The mutual influence between the target projects is taken into account, and the above-mentioned multiple weight values ​​are obtained after more comprehensive consideration.

[0042] As an optional embodiment, when determining the multiple weight values ​​corresponding to multiple target projects under the influencing factors based on the influence ratio, a matrix calculation can be performed. For example, the following method can be used: based on the influence ratio, a project matrix corresponding to multiple target projects under the influencing factors is established, and then based on the project matrix, multiple weight values ​​corresponding to multiple target projects under the influencing factors are determined. Among them, the project matrix method can better reflect the relationship between the influence ratios of the degree of influence between the two target projects, and can better perform comprehensive calculations to determine the multiple weight values ​​corresponding to the multiple target projects under the influencing factors.

[0043] As an optional embodiment, the number of multiple target projects is determined. When the number of multiple target projects exceeds a predetermined number, the rationality of the project matrix corresponding to the multiple target projects is verified. When the rationality is greater than the predetermined degree, the influencing factors that affect the frequency of use of the multiple target projects by the target object are determined again based on the historical use data of the target object, as well as the influence ratio of the degree of influence of the frequency of use of any two target projects in the multiple target projects under the influencing factors. Because in multiple comparisons, contradictory conclusions may be drawn. For example, the influence ratio of a to the degree of influence of b is 8:1, and the influence ratio of b to the degree of influence of c is 2:1. Then the influence ratio of a to the degree of influence of c is obviously greater than or equal to 9:1. This is easy to find artificially in the case of three target projects a, b, and c, but if there are more target projects, a, b, c, d, e.... It is difficult to identify contradictions artificially. This is more likely to occur when the number of target projects considered is larger. Therefore, consistency verification is required. It is ensured that the influencing factors that affect the frequency of use of the multiple target projects by the target object, as well as the influence ratio of the degree of influence of the frequency of use of any two target projects in the multiple target projects under the influencing factors, are accurate and reliable.

[0044] As an optional embodiment, when verifying the rationality of the project matrix corresponding to multiple target projects, the following steps can be performed: the project matrix corresponding to the multiple target projects is multiplied by the multiple weight values ​​corresponding to the multiple target projects to obtain the column matrix corresponding to the multiple target projects, and the rationality index of the project matrix corresponding to the multiple target projects is determined according to the column matrix and the multiple weight values ​​corresponding to the multiple target projects, and the rationality of the project matrix corresponding to the multiple target projects is verified according to the rational index. Through calculation, the rationality index is accurately calculated, and then the rationality of the project matrix corresponding to the multiple target projects is verified, so that the verification process is more accurate.

[0045] It should be noted that, when the above-mentioned influencing factors include multiple factors, the influence ratio between each influencing factor on the frequency of use of multiple target projects can be determined first, and then the weight value of each influencing factor can be determined. For example, when the influencing factors are business transaction volume, audience customer importance, and code stability, the influence ratio between the three influencing factors of business transaction volume, audience customer importance, and code stability on the frequency of use of the above-mentioned target projects is obtained, and then the weight values ​​of the three influencing factors are obtained through the influence ratio: 0.398: 0.218: 0.085. Subsequent calculations are performed based on this weight value. By considering the influence ratio between the influencing factors on the frequency of use of the above-mentioned target projects, more influences are considered in a more comprehensive and multi-dimensional manner, so that the final result is more accurate. As for how to use the weight values ​​between the above-mentioned multiple influencing factors specifically. It will not be explained in detail here. For a detailed explanation of this part, please see the optional implementation method described below.

[0046] As an optional embodiment, after setting a predetermined order for limiting the use of one or more items in the multiple target items according to the multiple weight values ​​corresponding to the multiple target items, the load degree of the server can also be determined. When the load degree is greater than the first predetermined threshold, the use of one or more items in the multiple target items is limited in accordance with the predetermined order, wherein the first predetermined threshold can be customized according to the actual application and scenario. That is, when there is a fault in the server, or too much traffic is received per unit time, etc., the load amount borne may be too large, which has an impact on the server. Therefore, in this case, the use of one or more items in the multiple target items can be limited in accordance with the predetermined order to reduce the load borne by the server. Among them, the predetermined order can be divided into multiple levels, and the use of target items of different levels is limited by the different load degrees of the server, and progressive restriction is performed. Under the premise that the server does not collapse, the target items are retained to the greatest extent, so that users can use the target items that are not restricted to use, so as to meet basic needs, and all items in the entire system will not be unusable.

[0047] Based on the above embodiments and optional embodiments, an optional implementation is provided, which is described in detail below.

[0048] In the related technology, when an online project is about to fail, we select which projects should be downgraded and which projects cannot be downgraded one by one. However, there are hundreds of projects online. When a project is blocked, the background thread pool may be fully occupied. Other projects will be waiting in line and unable to proceed, resulting in an avalanche phenomenon. That is, the application will be dragged down if it does not have time to downgrade.

[0049] In view of this, an optional implementation of the present invention provides a hierarchical degradation method based on model analysis. When the project architecture is under different degrees of pressure, it can automatically perform selective abandonment based on the importance comparison of the project level, thereby further ensuring the normal operation of the core project. The optional implementation of the present invention establishes an evaluation model for the importance of the project from a global perspective, and uses the mathematical modeling model of the analytic hierarchy process (AHP) to perform qualitative and quantitative evaluation. The optional implementation of the present invention is described in detail below:

[0050] Figure 2 is a flow chart of a hierarchical downgrading method provided in an optional embodiment of the present invention, such as Figure 2 As shown, taking the scenario based on currency transactions, the influencing factors are: 1) business transaction volume, 2) the importance of the target customers, and 3) code stability; the items to be restricted are: 1) transfer and remittance, 2) account details, and 3) account balance. For example, the following is an expanded explanation:

[0051] First of all, it should be noted that for business transaction volume, the conclusion can be drawn by directly querying the production log table from the operation and maintenance; the importance of the target user is determined by querying the user group ID used for the transaction to determine whether it is a key user; the code stability is determined by the amount of code modified in the current period and the unit test coverage.

[0052] S1, determining multiple target items to be restricted, that is, determining three target items: transfer and remittance, account details, and account balance.

[0053] S2, based on the historical usage data of the target object, determining multiple influencing factors that affect the usage frequency of the target object using the multiple target items, and the influence ratio of the degree of influence on the usage frequency of any two target items in the multiple target items under the above multiple influencing factors.

[0054] That is, based on the historical usage data of the target object, the three influencing factors of business transaction volume, importance of target customers, and code stability are determined, as well as the impact ratio of the impact degree of the use frequency of any two target items in multiple target items under the above three influencing factors. Taking the influencing factor of business transaction volume as an example, under this influencing factor, the impact ratio of the impact degree of the use frequency of the two target items of transfer and remittance and account details is 1:2; the impact ratio of the impact degree of the use frequency of the two target items of transfer and remittance and account balance is 1:8; the impact ratio of the impact degree of the use frequency of the two target items of transfer details and account balance is 1:6.

[0055] S3, taking the business transaction volume as an influencing factor as an example, according to the above-mentioned influencing ratio, a project matrix corresponding to multiple target projects under the influencing factors of the business transaction volume is established:

[0056] For the three target items of remittance transactions, account details, and account balance, the following matrix is ​​obtained: It is called a pairwise comparison matrix, which is equivalent to the above-mentioned project matrix, and the numbers therein are called elements in the pairwise comparison matrix. Among them, the pairwise comparison matrix can also be expressed in the form of a table. In the subsequent processing, for the convenience of explanation, it is explained in the form of a table. Table 1 is a table showing the proportional relationship between any two target items in each target item when the influencing factor is the business transaction volume. As shown in Table 1, it reflects the proportional relationship between any two target items in the three target items of transfer and remittance transactions, account details, and account balance.

[0057] Table 1

[0058]

[0059] S3, based on the project matrix, determine the multiple weight values ​​corresponding to the multiple target projects under the influencing factors. The calculation process is as follows:

[0060] S3.1, standard column average, Table 2 is a table for calculating the column average when the influencing factor is business transaction volume, as shown in Table 2, the last row is the column average:

[0061] Table 2

[0062]

[0063] S3.2, divide each element of the pairwise comparison matrix by the sum of its corresponding column, and the new matrix formed by the quotient is called the standard pairwise comparison matrix. Table 3 is a table of each element of the pairwise comparison matrix divided by the sum of its corresponding column when the influencing factor is the business transaction volume, as shown in Table 3.

[0064] Table 3

[0065]

[0066] S3.3, calculate the average value of each row of the pairwise comparison matrix, that is, the row average value, which can also be called a eigenvector in the matrix. That is, the eigenvector represents the weight value of the three target items under the influencing factor of business transaction volume. Table 4 is a table for calculating the average value of each row of the pairwise comparison matrix when the influencing factor is business transaction volume. As shown in Table 4, the last column is the row average value.

[0067] Table 4

[0068]

[0069] It should be noted that other calculation methods that can calculate the weight values ​​of the three target items under the influencing factor of business transaction volume can also be applied to the optional implementation mode of the present invention. The optional implementation mode of the present invention can achieve more accurate calculation of weight values ​​through the above method.

[0070] S4, determine the influence ratio of each influencing factor on the frequency of use of multiple target projects, and then determine the weight value of each influencing factor. That is, the weight value of the three influencing factors of business transaction volume, customer importance, and code stability on the frequency of use of the above target projects is obtained, and the weight value is: 0.398: 0.218: 0.085. ...

[0071] Consistent with the calculation method using business transaction volume as an influencing factor, the weight values ​​corresponding to multiple target projects under the importance of target customers and code stability are calculated respectively. Table 5 is a table of weight values ​​corresponding to multiple target projects under multiple influencing factors, as shown in Table 5.

[0072] Table 5

[0073]

[0074] S5, further calculating the multiple weight values ​​corresponding to the multiple target items under the multiple influencing factors according to the multiple weight values ​​corresponding to the multiple target items, and setting a predetermined order for limiting the use of one or more items among the multiple target items.

[0075] Transfer remittance: 0.398*0.593+0.218*0.123+0.085*0.087=0.270223 (important);

[0076] Account details: 0.398*0.341+0.218*0.320+0.085*0.274=0.228768 (medium);

[0077] Account balance: 0.398*0.066+0.218*0.557+0.085*0.639=0.202009 (secondary).

[0078] The priority level of the target project for this restriction is: account balance > account details > transfer and remittance. The use can be restricted in layers according to the severity of the fault. Among them, when evaluating the severity of the fault, the typhoon warning (which belongs to the storm warning) model can be used as a reference. The typhoon warning model includes four evaluation models: blue storm, indicating that non-core projects need to be downgraded on a small scale; yellow storm, indicating that non-core projects need to be downgraded on a medium scale; orange storm, indicating that non-core projects need to be downgraded on a large scale, and red storm, indicating that all non-core projects must be downgraded. The severity of the fault is: blue < yellow < orange < red. According to the 80 / 20 principle, the services are divided into: 20% of the core services include login, transfer and remittance, account management detail query, balance query, plus 80% of other non-core services. This principle is also used as a reference standard for establishing a model library in the database. When implementing it, you only need to enter the relevant services to derive the final downgrade plan, that is, output the service list that needs to be downgraded when a blue storm occurs and the service list that needs to be downgraded when a yellow storm occurs. In addition, the list can be manually confirmed.

[0079] Figure 3 is a schematic diagram of an actual scenario application provided by an optional embodiment of the present invention, such as Figure 3 As shown, the degradation weights (weight values ​​for limiting usage) of different column names (target items) can be analyzed so as to be processed in actual scenarios and applications.

[0080] It should also be noted that because the ratio of the pairwise comparison matrix is ​​obtained by comparing the degree of influence of the use frequency of two target items under the same influencing factor, contradictory conclusions may be drawn in multiple comparisons. For example, the influence ratio of a to b is 8:1, and the influence ratio of b to c is 2:1. Then the influence ratio of a to c is obviously greater than or equal to 9:1. This is easy to find manually in the case of three target items a, b, and c, but if there are more target items, a, b, c, d, e..., it is difficult to identify the contradiction manually. This is more likely to happen when the number of target items considered is larger. Therefore, pairwise comparison consistency test is required. Among them, consistency verification is also required when the number of influencing factors is large.

[0081] The following is an introduction to the consistency check method:

[0082] S1, multiply the project matrices corresponding to the multiple target projects by the multiple weight values ​​corresponding to the multiple target projects to obtain the column matrices corresponding to the multiple target projects, which can also be called column vectors, and weighted sum vectors:

[0083]

[0084] S2, each component of the weighted sum vector is divided by the component of the corresponding eigenvector, that is, the column matrix is ​​divided by the multiple weight values ​​corresponding to the multiple target items:

[0085] 1.803 / 0.593=3.040;

[0086] 1.034 / 0.341=3.032;

[0087] 0.197 / 0.066=2.985.

[0088] S3, calculate the average value of the results of S2, recorded as λmax:

[0089] That is, λmax=(3.040+3.032+2.985) / 3=3.019.

[0090] S4, calculate the consistency index CI, where CI = (λmax-n) / (n-1):

[0091] That is, CI=(3.019-3) / (3-1)=0.010.

[0092] S4, calculate the consistency rate CR, where CR = CI / RI. When CR < 0.1, it is considered that the consistency of the matrix is ​​acceptable, that is, the affected ratios among multiple target items are appropriate and acceptable.

[0093] That is, CR = 0.01 / 0.58 = 0.017 < 0.1, which means that the affected ratio among multiple target projects is appropriate and acceptable.

[0094] Among them, RI is the degree of freedom index (corrected value). Table 6 is a query table of RI is the degree of freedom index (corrected value), which can be obtained by querying Table 6:

[0095] Table 6

[0096]

[0097] Through the above steps, the consistency check can be completed. Figure 4 is a schematic diagram of the overall process of the hierarchical degradation method provided by an optional embodiment of the present invention, such as Figure 4 As shown, Figure 4 A consistency check is included to ensure the consistency of the matrix, further improving the hierarchical degradation method in the optional implementation mode of the present invention.

[0098] Through the above optional implementation, at least the following beneficial effects can be achieved:

[0099] (1) When the project architecture is under different levels of pressure, it can be selectively abandoned based on the importance of the project, thereby further ensuring the normal operation of the core project;

[0100] (2) After applying the method proposed in the optional implementation mode of the present invention, the task can be completed by simply checking and clicking buttons on the client, which greatly reduces the difficulty of operation;

[0101] (3) Greatly reduces the risk of downgrading transactions based on experience. It ensures the smoothness of customer use of the system and greatly improves the stability of the system under peak pressure.

[0102] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0103] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention.

[0104] Example 2

[0105] According to an embodiment of the present invention, a device for implementing the above-mentioned project processing method is also provided. Figure 5 is a structural block diagram of a project processing device according to an embodiment of the present invention. Figure 5 As shown, the device includes: a first determination module 502, a second determination module 504, a third determination module 506 and a setting module 508. The device is described in detail below.

[0106] The first determination module 502 is used to determine multiple target items to be restricted in use; the second determination module 504 is connected to the above-mentioned first determination module 502, and is used to determine the influencing factors that affect the frequency of use of multiple target items by the target object, and the influence ratio of the degree of influence on the frequency of use of any two target items among the multiple target items under the influencing factors based on the historical use data of the target object; the third determination module 506 is connected to the above-mentioned second determination module 504, and is used to determine multiple weight values ​​corresponding to the multiple target items under the influencing factors based on the influence ratio; the setting module 508 is connected to the above-mentioned third determination module 506, and is used to set a predetermined order for restricting the use of one or more items among the multiple target items based on the multiple weight values ​​corresponding to the multiple target items.

[0107] It should be noted here that the above-mentioned first determination module 502, second determination module 504, third determination module 506 and setting module 508 correspond to steps S102 to S108 in the implementation project processing method, and the instances and application scenarios implemented by the multiple modules are the same as the corresponding steps, but are not limited to the contents disclosed in the above-mentioned embodiment 1.

[0108] Example 3

[0109] According to another aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor, wherein the processor is configured to execute the instructions to implement any one of the above-mentioned project processing methods.

[0110] Example 4

[0111] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute any of the above-mentioned project processing methods.

[0112] Example 5

[0113] According to another aspect of an embodiment of the present invention, there is further provided a computer program product, including a computer program, characterized in that when the computer program is executed by a processor, the project processing method described in any one of the above items is implemented.

[0114] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0115] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0116] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0117] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0118] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0119] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0120] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A project processing method, characterized in that: include: Identify multiple target projects for restricted use; Determine, based on the historical usage data of the target object, the influencing factors that affect the usage frequency of the target object using the multiple target items, and the influence ratio of the degree of influence on the usage frequency of any two target items among the multiple target items under the influencing factors; Determining, according to the influence ratio, a plurality of weight values ​​corresponding to the plurality of target items under the influence factor, wherein the plurality of target items correspond to the plurality of weight values ​​one by one; According to a plurality of weight values ​​corresponding to the plurality of target items, setting a predetermined order for limiting the use of one or more items among the plurality of target items; Wherein, according to the influence ratio, determining a plurality of weight values ​​corresponding to the plurality of target items under the influence factor includes: According to the impact ratio, a project matrix corresponding to the plurality of target projects under the impact factors is established; Determining, according to the project matrix, a plurality of weight values ​​corresponding to the plurality of target projects under the influencing factors; determining a quantity of the plurality of target items; When the number of the plurality of target projects exceeds a predetermined number, verifying the rationality of the project matrices corresponding to the plurality of target projects; When the reasonable degree is greater than the predetermined degree, the influencing factors affecting the frequency of use of multiple target items by the target object and the influence ratio of the degree of influence on the frequency of use of any two target items among the multiple target items under the influencing factors are determined again based on the historical usage data of the target object.

2. The method according to claim 1, characterized in that: Verifying the rationality of the project matrix corresponding to the multiple target projects includes: Multiplying the item matrices corresponding to the multiple target items by the multiple weight values ​​corresponding to the multiple target items to obtain column matrices corresponding to the multiple target items; Determining a reasonable index of an item matrix corresponding to the plurality of target items according to a plurality of weight values ​​corresponding to the column matrix and the plurality of target items; The rationality of the project matrix corresponding to the multiple target projects is verified based on the rationality index.

3. The method according to claim 1, characterized in that Determining, based on the historical usage data of the target object, the influencing factors that affect the usage frequency of the target object using the multiple target items, and the influence ratio of the degree of influence on the usage frequency of any two target items among the multiple target items under the influencing factors, includes: Acquiring historical usage data of the target object at a predetermined period; According to the historical usage data of the target object, determining the influencing factors affecting the usage frequency of the target object using the multiple target items, and the influence ratio of the degree of influence on the usage frequency of any two target items among the multiple target items under the influencing factors.

4. The method according to claim 1, characterized in that After setting a predetermined order of limiting the use of one or more items among the plurality of target items according to the plurality of weight values ​​corresponding to the plurality of target items, the method further includes: Determine the degree of load that the server is experiencing; In a case where the load level is greater than a first predetermined threshold, use of one or more of the plurality of target items is restricted in accordance with the predetermined order.

5. A project processing device, characterized in that: include: A first determination module is used to determine a plurality of target items to be restricted in use; A second determination module is used to determine, based on the historical usage data of the target object, an influencing factor that affects the usage frequency of the target object using the multiple target items, and an influence ratio of the degree of influence on the usage frequency of any two target items among the multiple target items under the influencing factor; A third determination module is used to determine a plurality of weight values ​​corresponding to the plurality of target items under the influencing factors according to the influencing proportion, wherein the plurality of target items correspond to the plurality of weight values ​​one by one; A setting module, used for setting a predetermined order of limiting the use of one or more items among the multiple target items according to multiple weight values ​​corresponding to the multiple target items; The third determination module is further used to establish a project matrix corresponding to the multiple target projects under the influencing factors according to the influencing ratio; and determine multiple weight values ​​corresponding to the multiple target projects under the influencing factors according to the project matrix; Among them, the setting module is also used to determine the number of the multiple target projects; when the number of the multiple target projects exceeds the predetermined number, verify the rationality of the project matrix corresponding to the multiple target projects; when the rationality is greater than the predetermined degree, re-determine the influencing factors that affect the frequency of use of the multiple target projects by the target object based on the historical usage data of the target object, and the influence ratio of the degree of influence on the usage frequency of any two target projects among the multiple target projects under the influencing factors.

6. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the project processing method as described in any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the project processing method as described in any one of claims 1 to 4.

8. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the project processing method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • System task automatic scheduling method and device, computer equipment and storage medium

    CN111475267A

  • Medical image processing method and device based on artificial intelligence, equipment and medium

    CN113744845A