Business grading method and device, equipment, medium and product

By building user portraits and time series predictions, we optimize the business classification of cloud resource pools, solve the problem of low classification accuracy in existing technologies, and achieve more accurate resource allocation and user experience.

CN118656207APending Publication Date: 2024-09-17CHINA MOBILE GROUP DESIGN INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410712617.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

The service classification accuracy of cloud resource pools in the existing technology is low, and user needs and resource requirements are not fully considered, resulting in unreasonable resource allocation.

Method used

By obtaining users' business usage information, build user portraits, and conduct business classification based on time series predictions. Combine user portraits and classification sequences to determine regional business classification sequences, and optimize resource allocation to improve classification accuracy.

Benefits of technology

It improves the accuracy of business classification, can better meet user needs, conform to user usage habits and logic, ensure user experience, reflect business characteristics and differences, and improve resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656207A
    Figure CN118656207A
Patent Text Reader

Abstract

The invention provides a service grading method and device, equipment, a medium and a product, and belongs to the technical field of cloud computing, and the method comprises the steps: obtaining first service use information of a plurality of users in a first preset time period; constructing a user portrait of each user based on the first service use information; performing time sequence prediction based on the first service use information to obtain a service use prediction sequence of each user for a plurality of target services in a second preset time period in the future; grading the plurality of target services based on the service use prediction sequence of each user to obtain an individual service grading sequence of each user; and determining a regional service grading sequence in the target cloud resource pool based on the user portrait of each user and the individual service grading sequence. According to the service grading method provided by the invention, the specific requirements of the user can be better met, and the characteristics and differences of the service can be better reflected while the user experience is guaranteed, so that the accuracy of service grading is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud computing technology, and in particular to a service classification method, device, equipment, medium and product. Background Art

[0002] The progress of science and technology and the times has given rise to the development of cloud computing services. Among them, the data center of integrated resources that provides services to users is the cloud resource pool. With the improvement of technology, the business content and coverage that the cloud resource pool can provide are gradually increasing, in order to better serve users. In the prior art, the service model of the cloud resource pool takes the Software as a Service (SaaS) model as an example. The service node of the cloud resource pool is a specific application service. Users can directly use these applications through cloud services without having to install, configure or manage the software version of the application; and for cloud service providers, since the frequency and content of user use of the provided program services are different, how to provide reasonable resource allocation for these business programs has become an important issue. It is necessary to ensure the normal operation of the program and also consider the resource utilization of the cloud resource pool. This requires reasonable grading of the services provided by the cloud resource pool, that is, dividing the priority of the services.

[0003] In the prior art, a service classification method for cloud native platform service execution is proposed, which divides services into online services, offline services, and hybrid services, and then divides services with the same label into the same resource pool, thereby obtaining multiple resource pools with different service types, and thereby establishing a hierarchical pooling model, and determining the priority of each resource pool through the hierarchical pooling model, thereby also realizing the priority classification of services. However, in the prior art, services are only classified based on whether the services are online or not, without considering the specific user needs and resource requirements of the services, resulting in low accuracy of service classification results. Summary of the invention

[0004] The present invention provides a service classification method, device, equipment, medium and product, which are used to solve the problem of low service classification accuracy in the prior art.

[0005] In a first aspect, the present invention provides a service classification method, comprising: Acquire first service usage information of multiple users within a first preset time period; the first service usage information is data generated when each user uses multiple target services in a target cloud resource pool; Building a user profile of each user based on the first service usage information; Performing time series prediction based on the first service usage information to obtain a service usage prediction sequence for each user for multiple target services within a second preset time period in the future; Based on the service usage prediction sequence of each user, multiple target services are graded to obtain an individual service grade sequence for each user; Based on the user profile and individual service classification sequence of each user, a regional service classification sequence within the target cloud resource pool is determined.

[0006] In one embodiment, the user profile of each user includes the user's preference for each target service. When constructing the user profile of each user based on the first service usage information, the following steps are performed for each target service used by each user: Calculating similarities between the user and multiple other users respectively to obtain multiple similarities; the other users refer to users other than the user among the multiple users; Sorting in descending order based on the multiple similarities to obtain a sorting result; Starting from the first similarity in the sorting result, a preset number of similarities are selected; Determine the other users corresponding to the preset number of similarities as first similar users; Based on the first service usage information, determining the usage frequency of the target service by each second similar user; the second similar user refers to a user who has evaluated the target service among the plurality of first similar users; The user's preference for the target service is determined based on the similarity between the user and each second similar user and the frequency of use of the target service by each second similar user.

[0007] In one embodiment, the user profile of each user includes the importance of the user to the target cloud resource pool. When constructing the user profile of each user based on the first service usage information, the following steps are performed for each user: based on the first service usage information, the computing resource usage, network resource usage, and storage resource usage of the user are determined; Determine the total amount of computing resource usage, total amount of network resource usage, and total amount of storage resource usage in the target cloud resource pool based on the first business usage information; Dividing the computing resource usage of the user by the total computing resource usage in the target cloud resource pool to obtain a first ratio; Dividing the network resource usage of the user by the total network resource usage in the target cloud resource pool to obtain a second ratio; Dividing the storage resource usage of the user by the total storage resource usage in the target cloud resource pool to obtain a third ratio; The first ratio, the second ratio, and the third ratio are summed to obtain the importance of the user to the target cloud resource pool.

[0008] In one embodiment, based on the service usage prediction sequence of each user, multiple target services are graded to obtain an individual service grade sequence for each user, and the following steps are performed for each user: Based on the predicted first use time of each target service in the service use prediction sequence of the user, each target service is graded to obtain a priority of each target service; Counting the predicted usage times of each target service in the service usage prediction sequence of the user; Based on the predicted usage times of each target service, each target service is weighted to obtain the service weight of each target service; based on the priority and service weight of each target service, a fusion calculation is performed to obtain the individual service classification sequence of the user.

[0009] In one embodiment, determining the regional service classification sequence in the target cloud resource pool based on the user profile and individual service classification sequence of each user includes: Based on each user's preference for each target service, preference matching is performed on the individual service classification sequences to obtain an initial service classification sequence for each user; Based on the importance of each user to the target cloud resource pool, weight matching is performed on the initial service classification sequence to obtain a target service classification sequence for each user; The target service classification sequence of each user is integrated to obtain the regional service classification sequence in the target cloud resource pool.

[0010] In one embodiment, after determining the regional service classification sequence in the target cloud resource pool, the method includes: optimizing the resources in the target cloud resource pool based on the regional service classification sequence to obtain a resource configuration plan; Based on the resource allocation scheme, re-allocate resources for each target service used by each user; After reconfiguring the resources, obtaining the second service usage information of the plurality of users within a third preset time period; Determining, based on the second service usage information, an actual first usage time and an actual usage count of each target service used by each user; Based on the actual first use time and the predicted first use time of each target service used by each user, a difference calculation is performed to obtain a first deviation value of each user using each target service; A difference calculation is performed based on the actual usage times and the predicted usage times of each target service used by each user to obtain a second deviation value of each user using each target service; Based on the first deviation value and the second deviation value of each target service used by each user, a total deviation value of multiple target services used by each user is determined.

[0011] In one embodiment, after determining the total deviation value of each user using multiple target services, the method includes: If the total deviation values ​​of the multiple target services used by each user all meet the preset deviation range, the regional service classification sequence is determined as the target service classification result; If the total deviation value of multiple target services used by any user does not meet the preset deviation range, the service response time of each target service used by each user at the current moment and the resource utilization rate of the target cloud resource pool at the current moment are obtained; based on the service response time of each target service used by each user, the first deviation value, the second deviation value and the resource utilization rate of the target cloud resource pool, weight calculation is performed to obtain the priority correction value of each target service used by each user; based on the priority correction value of each target service used by each user, the regional service classification sequence is corrected to obtain a corrected regional service classification sequence; Iteratively execute the step of optimizing the configuration of resources in the target cloud resource pool based on the regional service classification sequence until the total deviation values ​​of multiple target services used by each user meet the preset deviation range, thereby obtaining a target service classification result.

[0012] In a second aspect, the present invention further provides a service classification device, comprising: An acquisition module, used to acquire first service usage information of multiple users within a first preset time period; the first service usage information is data generated when each user uses multiple target services in a target cloud resource pool; A user portrait building module, used to build a user portrait of each user based on the first service usage information; A time series prediction module, configured to perform time series prediction based on the first service usage information to obtain a service usage prediction sequence for each user for multiple target services within a second preset time period in the future; A first grading module is used to grade multiple target services based on the service usage prediction sequence of each user to obtain an individual service grading sequence for each user; The second classification module is used to determine the regional business classification sequence in the target cloud resource pool based on the user portrait and individual business classification sequence of each user.

[0013] In a third aspect, the present invention provides a device, comprising an electronic device, wherein the electronic device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-mentioned service classification methods are implemented.

[0014] In a fourth aspect, the present invention further provides a medium, comprising a non-transitory computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above-mentioned service classification methods are implemented.

[0015] In a fifth aspect, the present invention also provides a product, comprising a computer program product, wherein the computer program product comprises a computer program, wherein the computer program can be stored on a non-transitory computer-readable storage medium, and wherein when the computer program is executed by the processor, the steps of any of the above-mentioned service classification methods are implemented.

[0016] The service classification method, device, equipment, medium and product provided by the present invention analyze the service usage behavior of users provided with services by the target cloud resource pool, construct a user portrait of the user, further predict the user's service usage prediction sequence for multiple target services in the future, first implement preliminary classification of multiple target services based on the service usage prediction sequence, and obtain the user's individual service classification sequence, and then implement accurate classification of multiple target services by integrating the user portrait and the individual service classification sequence of the user, and obtain the regional service classification sequence of all target services used in the target cloud resource pool, which can better meet the user's specific needs, conform to the user's usage habits and usage logic, ensure the user experience, and better reflect the characteristics and differences of the service, thereby improving the accuracy of service classification. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 It is a flowchart of the service classification method provided by the present invention.

[0019] Figure 2 It is a structural schematic diagram of the service classification device provided by the present invention.

[0020] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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 are within the scope of protection of the present invention.

[0022] The terms "first", "second", etc. in the present invention are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein.

[0023] Combine the following Figure 1-Figure 3 The service classification method, device, equipment, medium and product provided by the present invention are described.

[0024] Combination Figure 1 , Figure 1 FIG. 1 is a flow chart of the service classification method provided by the present invention. Figure 1 As shown, the service classification method provided by the present invention includes but is not limited to the following steps 101, 102, 103, 104 and 105.

[0025] Step 101: Obtain first service usage information of multiple users within a first preset time period.

[0026] Step 102: Build a user profile for each user based on the first business usage information.

[0027] Step 103: Perform time series prediction based on the first service usage information to obtain a service usage prediction sequence for each user for multiple target services within a second preset time period in the future.

[0028] Step 104: Based on the service usage prediction sequence of each user, multiple target services are classified to obtain an individual service classification sequence for each user.

[0029] Step 105: Based on the user profile and individual service classification sequence of each user, determine the regional service classification sequence in the target cloud resource pool.

[0030] It should be noted that the service classification method provided in the embodiment of the present invention is implemented based on the service classification device. The embodiment of the present invention describes the service classification method by taking the service classification device as the execution subject as an example.

[0031] Specifically, the service classification device retrieves the access log of the target cloud resource pool within a first preset time period by accessing the main console, wherein the first preset time period is set according to actual conditions.

[0032] It should be noted that, for a cloud service provider, the main console is usually an online platform provided by the cloud service provider to service users, and the main console can manage multiple cloud resource pools in specific regions or places. Therefore, when accessing the main console, a cloud resource pool in a specific region or place can be selected as the target cloud resource pool according to actual needs, and the access log of the target cloud resource pool within the first preset time period can be retrieved.

[0033] It should be further explained that the embodiments of the present invention involve the use of user business usage information and user data. In actual applications, the user's business usage information and user data can be used in the scheme described in this article in compliance with the applicable laws and regulations of the country.

[0034] Furthermore, the service classification device selects a service object that uses the target cloud resource pool to provide services according to the access log of the target cloud resource pool within the first preset time period, and obtains service usage records of multiple service objects.

[0035] Furthermore, the business classification device screens multiple service objects according to their business usage records, that is, eliminates inactive service objects, service objects with too little business usage, etc., and finally determines multiple relatively active users with high business usage, and obtains the first business usage information of multiple users served by the target cloud resource pool within the first preset time period.

[0036] It should be noted that, within the first preset time period, each user will use multiple target services in the target cloud resource pool, and therefore, the first service usage information is data generated when each user uses multiple target services.

[0037] Furthermore, the service classification device performs information preprocessing on the first service usage information, which may include information preprocessing methods such as screening and cleaning. Therefore, the first service usage information described below is all preprocessed.

[0038] Furthermore, the service classification device performs preference calculation based on the first service usage information to obtain each user's preference for each target service, and performs importance calculation based on the first service usage information to obtain each user's importance for the target cloud resource pool.

[0039] Furthermore, the service classification device constructs a user profile for each user based on each user's preference for each target service and the importance of each user to the target cloud resource pool. Therefore, the user profile can fully reflect the user's characteristics and needs, providing an important reference for personalized services and resource allocation.

[0040] It should be noted that users' use of services has a certain periodicity. The periodic characteristics can be used to predict users' service usage in the future, and the periodic characteristics can be integrated to perform subsequent service classification.

[0041] Further, the service grading device determines the service usage information of each user based on the first service usage information. Further, the service grading device establishes a daily service time series for each user based on the service usage information of each user, with days as the unit of division, and establishes a weekly service time series for each user based on the service usage information of each user, with weeks as the unit of division.

[0042] Furthermore, the service classification device integrates the daily service time series and the weekly service time series of each user to obtain a prediction data set for each user.

[0043] Furthermore, the service classification device inputs the predicted data set of each user into the time series prediction model respectively to output a service usage prediction sequence for multiple target services of each user within a second preset time period in the future, wherein the second preset time period is set according to actual conditions, and each component in the service usage prediction sequence of each user represents a target service to be used in the future and is arranged in chronological order. Therefore, the earlier the component in the service usage prediction sequence, the earlier the target service referred to by the component will be used, and the later the component in the service usage prediction sequence, the later the target service referred to by the component will be used.

[0044] It should be noted that the time series prediction model is an existing model, and the Double Seasonal Auto Regressive Integrated Moving Average (DSARIMA) model can be used to predict the user's business usage behavior. The basic idea of ​​the Auto Regressive Integrated Moving Average (ARIMA) model is to describe the data sequence formed by the prediction object over time as a random sequence, and then predict the future value based on the past and present values ​​of the time series. The DSARIMA model takes into account the periodicity of the time series on the basis of the ARIMA model, and adopts a short seasonal cycle in days and a long seasonal cycle in weeks in the model.

[0045] Furthermore, the service classification device classifies multiple target services based on the service usage prediction sequence of each user to obtain an individual service classification sequence for each user, wherein the earlier the target service is in the individual service classification sequence, the higher its priority.

[0046] Furthermore, the service classification device performs preference matching on individual service classification sequences based on each user's preference for each target service to obtain an initial classification sequence.

[0047] Furthermore, the service classification device performs weight matching based on the importance of each user to the target cloud resource pool to obtain a target service classification sequence.

[0048] Furthermore, the service classification device integrates the target service classification sequence of each user to obtain the regional service classification sequence in the target cloud resource pool.

[0049] The service classification method provided by the present invention constructs a user portrait of the user by analyzing the service usage behavior of the user provided by the target cloud resource pool, and further predicts the user's service usage prediction sequence for multiple target services in the future. First, a preliminary classification of multiple target services is implemented based on the service usage prediction sequence to obtain the user's individual service classification sequence, and then a precise classification of multiple target services is implemented by integrating the user portrait and the individual service classification sequence of the user, and a regional service classification sequence of all target services used in the target cloud resource pool is obtained. This method can better meet the user's specific needs, conform to the user's usage habits and usage logic, ensure the user experience, and better reflect the characteristics and differences of the service, thereby improving the accuracy of service classification.

[0050] Furthermore, when constructing a user profile of each user based on the first service usage information, the following steps are performed for each target service used by each user: Calculating similarities between the user and multiple other users respectively to obtain multiple similarities; the other users refer to users other than the user among the multiple users; Sorting in descending order based on the multiple similarities to obtain a sorting result; Starting from the first similarity in the sorting result, a preset number of similarities are selected; Determine the other users corresponding to the preset number of similarities as first similar users; Based on the first service usage information, determining the usage frequency of the target service by each second similar user; the second similar user refers to a user who has evaluated the target service among the plurality of first similar users; The user's preference for the target service is determined based on the similarity between the user and each second similar user and the frequency of use of the target service by each second similar user.

[0051] Specifically, the service classification device calculates similarities between the current user and multiple other users respectively to obtain the similarities between the current user and each other user, wherein the other users refer to users other than the current user among the multiple users.

[0052] It should be noted that the similarity calculation method can be cosine similarity, Jaccard similarity, Pearson similarity and other calculation methods. The following examples use cosine similarity and Pearson similarity as two calculation methods: Assume that there are user A and user B, I = {I1, I2...I n} is the target service set used by user A and user B; j represents the jth target service; the interaction set between user A and the target service set can be expressed as I A ={a1, a2, ..., a n}, where a j represents the use of the jth target service by user A. Similarly, the interaction set between user B and the target service set can be expressed as I B ={b1, b2, ..., b n}, where b j Represents user B's use of the jth target service.

[0053] The formula for calculating cosine similarity is as follows:

[0054] The formula for calculating Pearson similarity is as follows:

[0055] Furthermore, the service classification device performs descending sorting based on multiple similarities to obtain a sorting result.

[0056] Further, starting from the first similarity in the sorting result, a preset number of similarities are selected, wherein the preset number is set according to actual conditions. Further, the service classification device determines other users corresponding to the preset number of similarities as first similar users.

[0057] Therefore, it can be understood that the service classification device determines other users corresponding to the top k similarities as first similar users based on the sorting result, where k is the preset number as described above.

[0058] Furthermore, the service classification device determines the users who have evaluated the current target service among the multiple first similar users based on the first service usage information, and determines them all as second similar users.

[0059] Furthermore, the service classification device determines the usage frequency of the current target service by each second similar user based on the first service usage information.

[0060] Furthermore, the service classification device determines the current user's preference for the current target service based on the similarity between the current user and each second similar user and the usage frequency of the current target service by each second similar user.

[0061] In one embodiment, the current user A has a request for the current target service I j The preference of is calculated as follows:

[0062] Among them, S(A, k) represents the set of k users with high similarity to the current user A; N(I) represents the set of users with high similarity to the current service I j The set of users who have made evaluations; User B represents the second most similar user; ω AB Represents the similarity between the current user A and user B; Represents user B to the current business I j The frequency of use; p(A, I j ) represents the current user A's response to the current target service I j preference.

[0063] It should be noted that user portrait is a target user model based on a series of real data, that is, a virtual image is formed by abstracting corresponding labels and assigning corresponding weights based on the user's attributes and various characteristics. Therefore, the following example shows a method of constructing a labeled user portrait.

[0064] In one embodiment, as shown in Table 1, Table 1 is a feature tag table, and the selected feature tags are mainly divided into three feature tags: natural tags, business tags, and behavioral tags. Natural tags mainly reflect the type and scale of users, including but not limited to enterprise scale, geographical location, and enterprise type (state-owned / private); business tags mainly reflect the development prospects and business status of users, including but not limited to business scope, past financial reports, and litigation records; behavioral tags mainly reflect the user's business usage, including but not limited to computing resource usage records, network resource usage records, and storage resource usage records.

[0065] Table 1 Feature label table Assume that a user-service usage matrix has been obtained, that is, the services used by the user within the first preset time and their corresponding times, as shown in Table 2, which is a user-service usage matrix.

[0066] Table 2 User-service usage matrix User\Business Business 1 Business 2 Business 3 Business 4 User 1 3 0 2 4 User 2 1 3 4 1 User 3 3 4 2 1 User 4 2 3 2 0 Assume that the user's enterprise type is known, as shown in Table 3. Table 3 is the user-enterprise type matrix. The user-enterprise type matrix is ​​obtained by combining the enterprise type labels, where G represents state-owned enterprises and M represents private enterprises, that is, the enterprise type of the business used in the most recent period of time and the user who used the business.

[0067] Table 3 User-Enterprise Type Matrix User\Business Business 1 Business 2 Business 3 Business 4 User 1 G 0 G G User 2 M M M M User 3 G G G G User 4 M M M 0 G y Defined as the set of state-owned users who have used service y, M y Define it as the set of private users who have used service y. According to Table 3, we can get: G1 = {1, 3}; G2 = {3}; G3 = {1, 3}; G4 = {1, 3}; M1 = {2, 4}; M2 = {2, 4}; M3 = {2, 4}; M4 = {2}.

[0068]

[0069] in, The nationalization index of business y, The privatization index of business y; card(G y ) represents the number of state-owned enterprises used for business y, card(M y ) represents the number of private enterprises used for business y; card(U y ) represents the number of all enterprises used for business y.

[0070] Based on all the business sets used by the user, the calculated nationalization index and privatization index are used to calculate the user-enterprise type weight using the following formula:

[0071] Among them, r u,y From Table 2, it indicates the number of times user u has used service y in the recent period; YWSet u A collection of services used by user u; is the nationalization characteristic of user u, are the privatization characteristics of user u, which are used to measure the preference of user u for privatized services and nationalized services. Taking user 1 as an example, the following is further explained after normalization:

[0072] From this formula, we can get that for user 1, under the classification of the enterprise type label, his preference for privatized business and state-owned enterprise business; similarly, we can calculate the business preferences of user 1 under the other feature labels and build a complete user portrait, which can be used in subsequent applications to assign corresponding weights when evaluating the priority of feature-labeled businesses for user 1.

[0073] It is worth noting that for user 1 (generally referred to as user u), even the actual business preferences of enterprises of the same type are different. The stable business of state-owned enterprises and the profit-oriented business of private enterprises are often mixed, so comprehensive consideration should be given.

[0074] The embodiment of the present invention identifies other users with high similarity to each user through similarity calculation, and calculates the preference for the target service used by each user in combination with other users with high similarity. This can fully reflect the characteristics of the service, prove that it has a high preference in a user group, and can construct user portraits in a more detailed manner, thereby improving the accuracy of user needs.

[0075] Furthermore, when constructing a user profile of each user based on the first service usage information, the following steps are performed for each user: Determine the computing resource usage, network resource usage, and storage resource usage of the user based on the first service usage information; Determine the total amount of computing resource usage, total amount of network resource usage, and total amount of storage resource usage in the target cloud resource pool based on the first business usage information; Dividing the computing resource usage of the user by the total computing resource usage in the target cloud resource pool to obtain a first ratio; Dividing the network resource usage of the user by the total network resource usage in the target cloud resource pool to obtain a second ratio; Dividing the storage resource usage of the user by the total storage resource usage in the target cloud resource pool to obtain a third ratio; The first ratio, the second ratio, and the third ratio are summed to obtain the importance of the user to the target cloud resource pool.

[0076] Specifically, the service classification device determines the computing resource usage, network resource usage and storage resource usage of the current user based on the first service usage information.

[0077] Furthermore, the service classification device determines the total usage of computing resources, the total usage of network resources and the total usage of storage resources in the target cloud resource pool based on the first service usage information.

[0078] Furthermore, the service classification device determines the importance of the current user to the target cloud resource pool based on resource usage, total computing resource usage, network resource usage, total network resource usage, storage resource usage and total storage resource usage.

[0079] In one embodiment, the importance of the current user u to the target cloud resource pool is calculated as follows:

[0080] Among them, W(u) represents the importance of the current user u to the target cloud resource pool; com(u) represents the computing resource usage of the current user u; net(u) represents the network resource usage of the current user u; sto(u) represents the storage resource usage of the current user u; com(allu) represents the total computing resource usage in the target cloud resource pool; net(allu) represents the total network resource usage in the target cloud resource pool; sto(allu) represents the total storage resource usage in the target cloud resource pool.

[0081] It can be further promoted according to actual conditions:

[0082] Among them, θ u The coefficient that represents the actual time duration of resource usage by the current user u; time(u) represents the actual resource usage time of the current user u using the resources in the target cloud resource pool; time(allu) represents the actual total working time of the target cloud resource pool.

[0083] The embodiment of the present invention analyzes the user's usage of computing resources, network resources and storage resources and compares them with the usage of the entire target cloud resource pool to determine the user's relative importance to the target cloud resource pool. This can maintain the regional stability within the coverage of the target cloud resource pool, achieve more accurate business classification, and thus achieve accurate resource allocation.

[0084] Further, based on step 104, the multiple target services are graded based on the service usage prediction sequence of each user to obtain an individual service grade sequence of each user, and the following steps are performed for each user: Based on the predicted first use time of each target service in the service use prediction sequence of the user, each target service is graded to obtain a priority of each target service; Counting the predicted usage times of each target service in the service usage prediction sequence of the user; Based on the predicted usage times of each target service, each target service is weighted to obtain the service weight of each target service; based on the priority and service weight of each target service, a fusion calculation is performed to obtain the individual service classification sequence of the user.

[0085] It should be noted that each target service in the service usage prediction sequence may be used by the user at different time points, and each component in the service usage prediction sequence has a time sequence, so for target services used by the user at multiple time points, the priority can be determined according to the first time of use. Therefore, it can be understood that the shorter the first time of use of each target service in the service usage prediction sequence is, the higher the priority is.

[0086] Specifically, the service classification device classifies each target service based on the predicted first use time of each target service in the service use prediction sequence of the current user, and obtains the priority of each target service.

[0087] It can also be understood that the service classification device generates a first-used service sequence based on the predicted first-used time of each target service in the service usage prediction sequence of the current user, and further performs priority mapping on the first-used service sequence to obtain a priority sequence. Then, in one embodiment, the first-used service sequence is represented as JFY, and the priority sequence is represented as YwT, and the mapping relationship between the priority sequence and the first-used service sequence is as follows: YwT=f(JFY).

[0088] Furthermore, the service classification device counts the predicted usage times of each target service in the service usage prediction sequence of the current user.

[0089] Furthermore, the service classification device assigns weights to each target service based on the predicted number of times each target service is used, and obtains the service weight of each target service. It should be noted that the weight assignment process of each target service is carried out according to the rule that the more predicted times of use, the higher the assigned service weight. Therefore, the more predicted times of use of the target service, the higher the assigned service weight. The specific assigned service weight is set according to the actual situation.

[0090] Furthermore, the service classification device performs fusion calculation based on the priority and service weight of each target service to obtain an individual service classification sequence of the current user.

[0091] It can also be understood that the service classification device rearranges the service weights of each target service based on the order of each target service in the priority sequence to generate a service weight sequence, and further performs fusion calculation based on the service weight sequence and the priority sequence to obtain the individual service classification sequence of the current user. In one embodiment, the service weight sequence is represented by θ(yw), the priority sequence is represented by YwT, and the calculation method of the individual service classification sequence PYW of the current user is as follows: PYW=θ(yw)×YwT.

[0092] The embodiment of the present invention predicts the future use of services in a time series prediction manner, thereby obtaining a service use prediction sequence, and based on the predicted first use time and predicted number of uses of each target service in the service use prediction sequence, the target services are initially classified, and a user-personalized individual service classification sequence can be obtained. The priority obtained in this way can better reflect the target services that are most likely to be used and most frequently used in the future, and more resources are allocated to the target services, giving priority to their normal operation, which can greatly improve their concurrency, reduce system failures or service failures caused by high concurrency, maintain the stability of the system, and improve resource utilization. At the same time, adjusting the resources allocated to the services in this way can better meet the specific needs of users, conform to the user's usage habits and usage logic, and better reflect the characteristics and differences of the services while ensuring user experience.

[0093] Further, based on step 105, determining the regional service classification sequence in the target cloud resource pool based on the user profile and individual service classification sequence of each user includes: Based on each user's preference for each target service, preference matching is performed on the individual service classification sequences to obtain an initial service classification sequence for each user; Based on the importance of each user to the target cloud resource pool, weight matching is performed on the initial service classification sequence to obtain a target service classification sequence for each user; The target service classification sequence of each user is integrated to obtain the regional service classification sequence in the target cloud resource pool.

[0094] Specifically, the service classification device performs preference matching on individual service classification sequences based on the preference of each user for each target service, and obtains an initial service classification sequence for each user.

[0095] In one embodiment, taking user A as an example, the calculation method of the initial service classification sequence of user A is as follows:

[0096] Among them, P(A,I j) represents the preference of user A for target service j; PYW j Represents service j in the individual service classification sequence of user A; PYW P Characterizes the initial service ranking sequence after matching based on user preferences.

[0097] Furthermore, the service classification device performs weight matching on the initial service classification sequence based on the importance of each user to the target cloud resources to obtain the target service classification sequence for each user. This process can reflect the influence of each user's target service classification sequence on the regional service classification sequence of the target cloud resource pool.

[0098] In one embodiment, taking user A as an example, the target service classification sequence of user A is calculated as follows:

[0099] Where W(A) is the importance of user A to the target cloud resources, PYW P Characterize the initial service classification sequence after matching based on user preference; Characterizes the target service classification sequence based on user importance matching.

[0100] Furthermore, the service classification device integrates the target service classification sequence of each user to obtain the regional service classification sequence in the target cloud resource pool.

[0101] In one embodiment, the calculation method of the regional service classification sequence in the target cloud resource pool is as follows:

[0102] in, Represents the target business classification sequence after matching based on user importance; U represents all users with recorded user portraits in the target cloud resource pool; QYW represents the regional business classification sequence in the target cloud resource pool.

[0103] The embodiment of the present invention performs secondary classification of each target business according to the importance and preference of the user, which can assist in reasonable resource scheduling, thereby better ensuring the business usage experience of important users and majority users, and at the same time, analyzes the user portraits of users in the region, so as to better understand the needs of users in the region. While meeting the different needs of different users, it can maintain the regional stability within the coverage of the target cloud resource pool and ensure the reliability and stability of the target business during operation.

[0104] Further, after determining the regional service classification sequence in the target cloud resource pool, the method includes: Based on the regional business classification sequence, optimizing the resources in the target cloud resource pool to obtain a resource configuration plan; Based on the resource allocation scheme, re-allocate resources for each target service used by each user; After reconfiguring the resources, obtaining the second service usage information of the plurality of users within a third preset time period; Determining, based on the second service usage information, an actual first usage time and an actual usage count of each target service used by each user; Based on the actual first use time and the predicted first use time of each target service used by each user, a difference calculation is performed to obtain a first deviation value of each user using each target service; A difference calculation is performed based on the actual usage times and the predicted usage times of each target service used by each user to obtain a second deviation value of each user using each target service; Based on the first deviation value and the second deviation value of each target service used by each user, a total deviation value of multiple target services used by each user is determined.

[0105] Specifically, the service classification device matches the required resources for each target service used by each user according to the regional service classification sequence, that is, optimizes the resources in the target cloud resource pool to obtain a resource configuration plan.

[0106] Furthermore, the service classification device adopts automatic expansion components to increase or decrease resources according to business needs, that is, based on the resource allocation plan, the resources of each target service used by each user are re-configured. Among them, the automatic expansion component can select automation tools and orchestration systems, such as K8S (Kubernetes), to realize automatic management and optimization of resources.

[0107] It should be noted that, according to the regional service classification sequence, more resources are allocated to high-priority services, and resources are reduced for low-priority services. In the case of a known regional service classification sequence, there are multiple methods for resource allocation and management, and an appropriate method can be selected according to actual usage, which will not be explained in detail here.

[0108] Furthermore, after reconfiguring resources, the service classification device waits for multiple target services to which resources are reallocated to be used by users. When the usage time reaches a third preset time period, the main console is accessed again to retrieve the access log of the target cloud resource pool within the third preset time period, wherein the third preset time period needs to be greater than or equal to the second preset time period, and is set specifically according to actual conditions.

[0109] It should be noted that after the access logs of the target cloud resource pool within the third preset time period are retrieved, the access logs may be pre-processed by screening, cleaning, and the like.

[0110] Furthermore, the service classification device determines the second service usage information of the above-mentioned multiple users within the third preset time period according to the access log of the target cloud resource pool within the third preset time period and based on the access log.

[0111] It should be noted that, in addition to applying the multiple target services used above, each user also applies other services during the third preset time period, but the embodiment of the present invention does not consider other service situations for the time being, and takes the example that each user still uses multiple target services during the third preset time period for explanation.

[0112] Furthermore, the service classification device determines the actual first use time and the actual use times of each target service used by each user based on the second service use information.

[0113] Furthermore, the service classification device calculates the difference based on the actual first use time and the predicted first use time of each target service used by each user, and obtains a first deviation value of each user using each target service, which can be regarded as the difference in the number of days of first use.

[0114] In one embodiment, taking user A as an example, the first deviation value of user A using target service y is calculated as follows:

[0115] in, Indicates the actual first usage time of the target service y used by user A; Characterizes the predicted first usage time of the target service y used by user A; C y A first deviation value representing the target service y used by user A.

[0116] Furthermore, the service classification device calculates the difference based on the actual usage times and the predicted usage times of each target service used by each user, and obtains a second deviation value of each user's use of each target service, which can be regarded as the usage times difference.

[0117] In one embodiment, taking user A as an example, the second deviation value of user A using target service y is calculated as follows:

[0118] in, Indicates the actual usage times of target service y used by user A; represents the predicted usage times of target service y used by user A; T y A second deviation value representing the target service y used by user A.

[0119] Furthermore, the service classification device determines a total deviation value of multiple target services used by each user based on the first deviation value and the second deviation value of each target service used by each user.

[0120] In one embodiment, taking user A as an example, the total deviation value of multiple target services used by user A is calculated as follows:

[0121] Among them, i represents the i-th target service; C represents the vector composed of the first deviation values ​​of the i target services used by user A; T represents the vector composed of the second deviation values ​​of the i target services used by user A; σ represents the total deviation value of the i target services used by user A.

[0122] The embodiment of the present invention optimizes the configuration of resources of the target cloud resource pool according to the regional business classification sequence after secondary classification, and then revisits multiple users to retrieve the target business actually used by them and compare them with the predicted target business used, so as to obtain the total deviation value between the actual business usage and the predicted business usage, which can reflect the error of the prediction model. According to this total deviation value, each target business is corrected again to obtain the final target business classification result, so as to achieve dynamic improvement, make the business classification more scientific and reasonable, and thus better meet the actual needs of users, thereby improving the reliability of business classification and the scientific nature of resource scheduling.

[0123] Further, after determining the total deviation value of each user using multiple target services, the method includes: If the total deviation values ​​of the multiple target services used by each user all meet the preset deviation range, the regional service classification sequence is determined as the target service classification result; If the total deviation value of multiple target services used by any user does not meet the preset deviation range, the service response time of each target service used by each user at the current moment and the resource utilization rate of the target cloud resource pool at the current moment are obtained; based on the service response time of each target service used by each user, the first deviation value, the second deviation value and the resource utilization rate of the target cloud resource pool, weight calculation is performed to obtain the priority correction value of each target service used by each user; based on the priority correction value of each target service used by each user, the regional service classification sequence is corrected to obtain a corrected regional service classification sequence; Iteratively execute the step of optimizing the configuration of resources in the target cloud resource pool based on the regional service classification sequence until the total deviation values ​​of multiple target services used by each user meet the preset deviation range, thereby obtaining a target service classification result.

[0124] Specifically, if the total deviation values ​​of multiple target services used by each user meet the preset deviation range, the service classification device does not need to correct the regional service classification sequence, and the resource allocation plan does not need to be modified at this time, wherein the preset deviation range is set according to actual conditions.

[0125] Furthermore, if the total deviation value of multiple target services used by any user does not meet the preset deviation range, the service classification device sorts each target service according to the total deviation value of each target service used by each user, and tests each sorted target service to obtain the service response time of each target service used by each user at the current moment and the resource utilization rate of the target cloud resource pool at the current moment.

[0126] Furthermore, the service classification device performs weight calculation based on the service response time of each target service used by each user, the first deviation value, the second deviation value and the resource utilization rate of the target cloud resource pool to obtain the priority correction value of each target service used by each user.

[0127] Furthermore, the service classification device modifies the regional service classification sequence based on the priority correction value of each target service used by each user to obtain a modified regional service classification sequence.

[0128] In one embodiment, taking user A as an example, the method of modifying the target service i used by user A in the regional service classification sequence is as follows:

[0129] in, A first deviation value representing the target service i used by user A; A second deviation value representing the target service i used by user A; δ i Indicates the service response time of target service i used by user A; ε indicates the resource utilization rate of the target cloud resource pool; α, β, γ, and τ are the weights of the set first deviation value, second deviation value, service response time, and resource utilization rate, respectively, and these weights can be adjusted according to actual conditions; Characterizes the priority of target service i used by user A in the regional service classification sequence; Δρ i A priority correction value representing the target service i used by user A; The modified priority of the target service i used by user A is represented, so that a modified regional service classification sequence can be further obtained.

[0130] Furthermore, the service classification device iteratively executes steps such as optimizing resources according to the revised regional salesperson classification sequence and correcting priorities after the resource optimization configuration, until the total deviation values ​​of multiple target services used by each user meet the preset deviation range, obtains the target service classification result, and ends the iterative process.

[0131] The embodiment of the present invention further corrects the target business with a large total deviation value and a large impact based on the total deviation value of the target business, combined with parameters such as the resource utilization rate of the target cloud resource pool after optimization and configuration and the service response time of the target business, to obtain the final target business classification result, realize dynamic optimization, make the business classification more scientific and reasonable, and thus better meet the actual needs of users, thereby improving the reliability of business classification and the scientific nature of resource scheduling.

[0132] Furthermore, the present invention also provides a service classification device.

[0133] Reference Figure 2 , Figure 2 It is a structural schematic diagram of the service classification device provided by the present invention.

[0134] The service classification device is used for: An acquisition module 210 is used to acquire first service usage information of multiple users within a first preset time period; the first service usage information is data generated when each user uses multiple target services in a target cloud resource pool; A user portrait building module 220, configured to build a user portrait of each user based on the first service usage information; A time series prediction module 230 is used to perform time series prediction based on the first service usage information to obtain a service usage prediction sequence for each user for multiple target services within a second preset time period in the future; A first classification module 240 is used to classify multiple target services based on the service usage prediction sequence of each user to obtain an individual service classification sequence for each user; The second classification module 250 is used to determine the regional service classification sequence in the target cloud resource pool based on the user profile and individual service classification sequence of each user.

[0135] The service grading device provided by the present invention constructs a user portrait of the user by analyzing the service usage behavior of the user provided by the target cloud resource pool, and further predicts the user's service usage prediction sequence for multiple target services in the future. First, a preliminary classification of multiple target services is implemented based on the service usage prediction sequence to obtain the user's individual service grading sequence, and then a precise classification of multiple target services is implemented by integrating the user portrait and the individual service grading sequence of the user, and a regional service grading sequence of all target services used in the target cloud resource pool is obtained. This device can better meet the user's specific needs, conform to the user's usage habits and usage logic, and ensure the user experience while better reflecting the characteristics and differences of the service, thereby improving the accuracy of service grading.

[0136] Furthermore, the user portrait building module 220 is also used for: Calculating similarities between the user and multiple other users respectively to obtain multiple similarities; the other users refer to users other than the user among the multiple users; Sorting in descending order based on the multiple similarities to obtain a sorting result; Starting from the first similarity in the sorting result, a preset number of similarities are selected; Determine the other users corresponding to the preset number of similarities as first similar users; Based on the first service usage information, determining the usage frequency of the target service by each second similar user; the second similar user refers to a user who has evaluated the target service among the plurality of first similar users; The user's preference for the target service is determined based on the similarity between the user and each second similar user and the frequency of use of the target service by each second similar user.

[0137] Furthermore, the user portrait building module 220 is also used for: Determine the computing resource usage, network resource usage, and storage resource usage of the user based on the first service usage information; Determine the total amount of computing resource usage, total amount of network resource usage, and total amount of storage resource usage in the target cloud resource pool based on the first business usage information; Dividing the computing resource usage of the user by the total computing resource usage in the target cloud resource pool to obtain a first ratio; Dividing the network resource usage of the user by the total network resource usage in the target cloud resource pool to obtain a second ratio; Dividing the storage resource usage of the user by the total storage resource usage in the target cloud resource pool to obtain a third ratio; The first ratio, the second ratio, and the third ratio are summed to obtain the importance of the user to the target cloud resource pool.

[0138] Furthermore, the first classification module 240 is also used for: Based on the predicted first use time of each target service in the service use prediction sequence of the user, each target service is graded to obtain a priority of each target service; Counting the predicted usage times of each target service in the service usage prediction sequence of the user; Based on the predicted usage times of each target service, each target service is weighted to obtain the service weight of each target service; based on the priority and service weight of each target service, a fusion calculation is performed to obtain the individual service classification sequence of the user.

[0139] Furthermore, the second classification module 250 is also used for: Based on each user's preference for each target service, preference matching is performed on the individual service classification sequences to obtain an initial service classification sequence for each user; Based on the importance of each user to the target cloud resource pool, weight matching is performed on the initial service classification sequence to obtain a target service classification sequence for each user; The target service classification sequence of each user is integrated to obtain the regional service classification sequence in the target cloud resource pool.

[0140] Furthermore, the service classification device is also used for: Based on the regional business classification sequence, optimizing the resources in the target cloud resource pool to obtain a resource configuration plan; Based on the resource allocation scheme, re-allocate resources for each target service used by each user; After reconfiguring the resources, obtaining the second service usage information of the plurality of users within a third preset time period; Determining, based on the second service usage information, an actual first usage time and an actual usage count of each target service used by each user; Based on the actual first use time and the predicted first use time of each target service used by each user, a difference calculation is performed to obtain a first deviation value of each user using each target service; A difference calculation is performed based on the actual usage times and the predicted usage times of each target service used by each user to obtain a second deviation value of each user using each target service; Based on the first deviation value and the second deviation value of each target service used by each user, a total deviation value of multiple target services used by each user is determined.

[0141] Furthermore, the service classification device is also used for: If the total deviation values ​​of the multiple target services used by each user all meet the preset deviation range, the regional service classification sequence is determined as the target service classification result; If the total deviation value of multiple target services used by any user does not meet the preset deviation range, the service response time of each target service used by each user at the current moment and the resource utilization rate of the target cloud resource pool at the current moment are obtained; based on the service response time of each target service used by each user, the first deviation value, the second deviation value and the resource utilization rate of the target cloud resource pool, weight calculation is performed to obtain the priority correction value of each target service used by each user; based on the priority correction value of each target service used by each user, the regional service classification sequence is corrected to obtain a corrected regional service classification sequence; Iteratively execute the step of optimizing the configuration of resources in the target cloud resource pool based on the regional service classification sequence until the total deviation values ​​of multiple target services used by each user meet the preset deviation range, thereby obtaining a target service classification result.

[0142] It should be noted that the service classification device provided by the present invention can execute the service classification method described in any of the above embodiments during specific operation, which will not be described in detail in this embodiment.

[0143] Figure 3 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 3 As shown, the electronic device may include: a processor 310, a communication interface 320, a memory 330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 communicate with each other through the communication bus 340. The processor 310 may call the logic instructions in the memory 330 to execute the service classification method, which includes: obtaining first service usage information of multiple users in a first preset time period; the first service usage information is data generated when each user uses multiple target services in a target cloud resource pool; based on the first service usage information, constructing a user profile of each user; based on the first service usage information, performing time series prediction to obtain a service usage prediction sequence of each user for multiple target services in a second preset time period in the future; based on the service usage prediction sequence of each user, classifying multiple target services to obtain an individual service classification sequence of each user; based on the user profile and the individual service classification sequence of each user, determining a regional service classification sequence in the target cloud resource pool.

[0144] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the 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, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0145] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the service classification method provided by the above-mentioned embodiments, and the method includes: obtaining first service usage information of multiple users within a first preset time period; the first service usage information is data generated when each user uses multiple target services in a target cloud resource pool; based on the first service usage information, constructing a user profile of each user; based on the first service usage information, performing time series prediction to obtain a service usage prediction sequence for each user for multiple target services within a second preset time period in the future; based on the service usage prediction sequence of each user, classifying multiple target services to obtain an individual service classification sequence for each user; based on the user profile and individual service classification sequence of each user, determining a regional service classification sequence in the target cloud resource pool.

[0146] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the service classification method provided in the above-mentioned embodiments, the method comprising: obtaining first service usage information of multiple users within a first preset time period; the first service usage information is data generated when each user uses multiple target services in a target cloud resource pool; based on the first service usage information, constructing a user profile of each user; performing time series prediction based on the first service usage information to obtain a service usage prediction sequence for multiple target services for each user within a second preset time period in the future; based on the service usage prediction sequence of each user, classifying multiple target services to obtain an individual service classification sequence for each user; and determining a regional service classification sequence in the target cloud resource pool based on the user profile and the individual service classification sequence of each user.

[0147] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. Those of ordinary skill in the art may understand and implement the present invention without creative effort.

[0148] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0149] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A service classification method, characterized in that: include: Acquire first service usage information of multiple users within a first preset time period; The first service usage information is data generated when each user uses multiple target services in the target cloud resource pool; Building a user profile of each user based on the first service usage information; Performing time series prediction based on the first service usage information to obtain a service usage prediction sequence for each user for multiple target services within a second preset time period in the future; Based on the service usage prediction sequence of each user, multiple target services are graded to obtain an individual service grade sequence for each user; Based on the user profile and individual service classification sequence of each user, a regional service classification sequence within the target cloud resource pool is determined.

2. The service classification method according to claim 1, characterized in that: The user profile of each user includes the user's preference for each target service. When constructing the user profile of each user based on the first service usage information, the following steps are performed for each target service used by each user: Calculating similarities between the user and multiple other users respectively to obtain multiple similarities; the other users refer to users other than the user among the multiple users; Sorting in descending order based on the multiple similarities to obtain a sorting result; Starting from the first similarity in the sorting result, a preset number of similarities are selected; Determine the other users corresponding to the preset number of similarities as first similar users; Based on the first service usage information, determining the usage frequency of the target service by each second similar user; the second similar user refers to a user who has evaluated the target service among the plurality of first similar users; The user's preference for the target service is determined based on the similarity between the user and each second similar user and the frequency of use of the target service by each second similar user.

3. The service classification method according to claim 2, characterized in that: The user profile of each user includes the importance of the user to the target cloud resource pool. When constructing the user profile of each user based on the first service usage information, the following steps are performed for each user: Determine the computing resource usage, network resource usage, and storage resource usage of the user based on the first service usage information; Determine the total amount of computing resource usage, total amount of network resource usage, and total amount of storage resource usage in the target cloud resource pool based on the first business usage information; Dividing the computing resource usage of the user by the total computing resource usage in the target cloud resource pool to obtain a first ratio; Dividing the network resource usage of the user by the total network resource usage in the target cloud resource pool to obtain a second ratio; Dividing the storage resource usage of the user by the total storage resource usage in the target cloud resource pool to obtain a third ratio; The first ratio, the second ratio, and the third ratio are summed to obtain the importance of the user to the target cloud resource pool.

4. The service classification method according to claim 3, characterized in that: Based on the service usage prediction sequence of each user, multiple target services are graded to obtain an individual service grade sequence for each user, and the following steps are performed for each user: Based on the predicted first use time of each target service in the service use prediction sequence of the user, each target service is graded to obtain a priority of each target service; Counting the predicted usage times of each target service in the service usage prediction sequence of the user; Based on the predicted usage times of each target service, each target service is weighted to obtain the service weight of each target service; based on the priority and service weight of each target service, a fusion calculation is performed to obtain the individual service classification sequence of the user.

5. The service classification method according to claim 4, characterized in that: The determining of the regional service classification sequence in the target cloud resource pool based on the user profile and the individual service classification sequence of each user includes: Based on each user's preference for each target service, preference matching is performed on the individual service classification sequences to obtain an initial service classification sequence for each user; Based on the importance of each user to the target cloud resource pool, weight matching is performed on the initial service classification sequence to obtain a target service classification sequence for each user; The target service classification sequence of each user is integrated to obtain the regional service classification sequence in the target cloud resource pool.

6. The service classification method according to any one of claims 1 to 5, after determining the regional service classification sequence in the target cloud resource pool, comprising: Based on the regional business classification sequence, optimizing the resources in the target cloud resource pool to obtain a resource configuration plan; Based on the resource allocation scheme, re-allocate resources for each target service used by each user; After reconfiguring the resources, obtaining the second service usage information of the plurality of users within a third preset time period; Determining, based on the second service usage information, an actual first usage time and an actual usage count of each target service used by each user; Based on the actual first use time and the predicted first use time of each target service used by each user, a difference calculation is performed to obtain a first deviation value of each user using each target service; A difference calculation is performed based on the actual usage times and the predicted usage times of each target service used by each user to obtain a second deviation value of each user using each target service; Based on the first deviation value and the second deviation value of each target service used by each user, a total deviation value of multiple target services used by each user is determined.

7. The service classification method according to claim 6, after determining the total deviation value of each user using multiple target services, comprising: If the total deviation values ​​of the multiple target services used by each user all meet the preset deviation range, the regional service classification sequence is determined as the target service classification result; If the total deviation value of multiple target services used by any user does not meet the preset deviation range, the service response time of each target service used by each user at the current moment and the resource utilization rate of the target cloud resource pool at the current moment are obtained; Performing weight calculation based on the service response time of each target service used by each user, the first deviation value, the second deviation value, and the resource utilization rate of the target cloud resource pool to obtain a priority correction value of each target service used by each user; Based on the priority correction value of each target service used by each user, the regional service classification sequence is corrected to obtain a corrected regional service classification sequence; Iteratively execute the step of optimizing the configuration of resources in the target cloud resource pool based on the regional service classification sequence until the total deviation values ​​of multiple target services used by each user meet the preset deviation range, thereby obtaining a target service classification result.

8. A service classification device, characterized in that: include: An acquisition module, used to acquire first service usage information of multiple users within a first preset time period; The first service usage information is data generated when each user uses multiple target services in the target cloud resource pool; A user portrait building module, used to build a user portrait of each user based on the first service usage information; A time series prediction module, configured to perform time series prediction based on the first service usage information to obtain a service usage prediction sequence for each user for multiple target services within a second preset time period in the future; A first grading module is used to grade multiple target services based on the service usage prediction sequence of each user to obtain an individual service grading sequence for each user; The second classification module is used to determine the regional business classification sequence in the target cloud resource pool based on the user portrait and individual business classification sequence of each user.

9. A device, comprising an electronic device, the electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the service classification method according to any one of claims 1 to 7 are implemented.

10. A medium, comprising a non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the service classification method according to any one of claims 1 to 7 are implemented.

11. A product, comprising a computer program product, wherein the computer program product comprises a computer program, characterized in that: When the computer program is executed by a processor, the steps of the service classification method according to any one of claims 1 to 7 are implemented.