Base station resource deployment method and device
By generating regional application feature vectors and resource demand vectors, base station resources are allocated in a targeted manner, which solves the problem of failing to consider mobile edge computing characteristics and user usage habits in the existing technology, achieves a match between resources and needs, and improves user experience and Resource utilization efficiency.
Patent Information
- Application Number
- CN202210864727.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-21
- Publication Date
- 2024-10-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing base station deployment solutions fail to effectively consider mobile edge computing characteristics and user usage habits, resulting in resource allocation that does not meet actual needs and affecting user experience.
By generating regional application feature vectors and resource demand vectors, computing resources, storage resources and bandwidth resources are allocated according to user application feature parameters to achieve targeted base station resource deployment.
It improves user experience, ensures that resource allocation matches user needs, and improves base station resource utilization efficiency and user satisfaction.
Smart Images

Figure CN115278701B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology and can be used in the financial field. Specifically, the present application relates to a method and device for deploying base station resources based on regional user application characteristics. Background Art
[0002] In mobile Internet applications, each geographical area or hotspot corresponds to a real application scenario in real life, and the use of applications by mobile users is strongly related to the application scenario in which they are located. For example, in shopping malls, people use payment applications relatively frequently; in residential areas, people use video streaming service applications relatively frequently. Different applications and services require different resources when used.
[0003] In order to better improve the user experience, when deploying the fifth generation mobile communication technology (5th Generation Mobile Communication Technology, referred to as 5G) base stations, base stations with equivalent resource capacity should be deployed according to the actual demand for resources. At the same time, it is not enough to simply distinguish the accessible user capacity of the base station, but to consider the application characteristics of regional users and deploy base stations that meet regional needs in a targeted manner. The existing base station deployment plan does not take into account the characteristics of mobile edge computing in the fifth generation mobile communication technology, and fails to establish an association with the usage habits of users at the deployment location. Summary of the invention
[0004] In view of the problems in the prior art, the present application provides a base station resource deployment method and device based on regional user application characteristics, which can reasonably deploy base station resources based on the application characteristics of regional users.
[0005] In order to solve the above technical problems, this application provides the following technical solutions:
[0006] In a first aspect, the present application provides a base station resource deployment method based on regional user application characteristics, comprising:
[0007] Generate corresponding regional application feature vectors and application data dictionary according to application feature parameters of regional users when using application programs;
[0008] Generate a corresponding regional resource demand vector according to the regional application feature vector and the application data dictionary;
[0009] Base station resources are allocated according to the total number of application requests in the area and the regional resource demand vector obtained in advance.
[0010] Furthermore, the application characteristic parameters include: the name of each application and the number of application requests for each application by the regional users; the generating of the corresponding regional application characteristic vector according to the application characteristic parameters when the regional users use the application includes:
[0011] Determine the usage probability corresponding to each application program according to the number of application requests corresponding to each application program and the total number of application requests;
[0012] The regional application feature vector is generated according to the usage probability and name corresponding to each application program.
[0013] Furthermore, the application characteristic parameters include: the name of each application and the category to which it belongs; generating a corresponding application data dictionary according to the application characteristic parameters when the regional users use the application, including:
[0014] Building a category set for each application according to the category to which each application belongs;
[0015] The application data dictionary is generated according to the name of each application and the category set of each application.
[0016] Furthermore, the generating a corresponding regional resource demand vector according to the regional application feature vector and the application data dictionary includes:
[0017] Determine the category and number of categories corresponding to each application program according to the application data dictionary;
[0018] Generate a program resource demand vector corresponding to each application program according to the category, number of categories and resource allocation constants of each category corresponding to each application program;
[0019] The regional resource demand vector is determined according to the program resource demand vector corresponding to each application program and the usage probability corresponding to each application program.
[0020] Furthermore, the base station resources include: computing resources, storage resources and bandwidth resources; the allocation of base station resources according to the total number of application requests in the area and the regional resource demand vector obtained in advance includes:
[0021] Calculate the minimum processing rate, the minimum storage space and the narrowest required bandwidth according to the number of clock cycles required to process each request, the total number of application requests and the regional resource requirement vector;
[0022] allocating the computing resources according to the minimum processing rate;
[0023] Allocating the storage resource according to the minimum storage space;
[0024] The bandwidth resources are allocated according to the narrowest required bandwidth.
[0025] In a second aspect, the present application provides a base station resource deployment device, including:
[0026] A feature dictionary generating unit, used to generate a corresponding regional application feature vector and an application data dictionary according to application feature parameters when regional users use the application program;
[0027] A demand vector generating unit, configured to generate a corresponding regional resource demand vector according to the regional application feature vector and the application data dictionary;
[0028] The base station resource allocation unit is used to allocate base station resources according to the total number of application requests in the area and the regional resource demand vector obtained in advance.
[0029] Furthermore, the application characteristic parameters include: the name of each application and the number of application requests for each application by the users in the area; the characteristic dictionary generation unit includes:
[0030] A usage probability calculation module, used to determine the usage probability corresponding to each application according to the number of application requests corresponding to each application and the total number of application requests;
[0031] The application feature generation module is used to generate the regional application feature vector according to the usage probability and name corresponding to each application program.
[0032] Furthermore, the application feature parameters include: the name of each application and the category to which it belongs; the feature dictionary generation unit includes:
[0033] A category set building module, used to build a category set of each application according to the category to which each application belongs;
[0034] The application data dictionary generation module is used to generate the application data dictionary according to the name of each application program and the category set of each application program.
[0035] Furthermore, the demand vector generating unit includes:
[0036] A category quantity determination module, used to determine the category and the number of categories corresponding to each application program according to the application data dictionary;
[0037] A program resource requirement vector generation module, used to generate a program resource requirement vector corresponding to each application program according to the category, number of categories and resource allocation constants of each category corresponding to each application program;
[0038] The regional resource requirement vector generating module is used to determine the regional resource requirement vector according to the program resource requirement vector corresponding to each application program and the usage probability corresponding to each application program.
[0039] Furthermore, the base station resources include: computing resources, storage resources and bandwidth resources; the base station resource allocation unit includes:
[0040] A base station resource threshold determination module, configured to calculate a minimum processing rate, a minimum storage space, and a narrowest required bandwidth according to the number of clock cycles required to process each request, the total number of application requests, and the regional resource demand vector;
[0041] A computing resource allocation module, configured to allocate the computing resources according to the minimum processing rate;
[0042] A storage resource allocation module, configured to allocate the storage resource according to the minimum storage space;
[0043] The bandwidth resource allocation module is used to allocate the bandwidth resource according to the narrowest required bandwidth.
[0044] In a third aspect, the present application provides an electronic device comprising 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 the base station resource deployment method based on regional user application characteristics are implemented.
[0045] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the base station resource deployment method based on regional user application characteristics.
[0046] In a fifth aspect, the present application provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the base station resource deployment method based on regional user application characteristics.
[0047] In response to the problems in the prior art, the base station resource deployment method and device based on regional user application characteristics provided in the present application can extract the application usage characteristics of users in the region by requesting data, mainly including the application name and the corresponding usage probability, and then build an application data dictionary to save the applications and the main services provided; then calculate the mainstream applications in the area and their corresponding resource demand characteristics, and then obtain the resource demand feature vector of the area through the usage probability of each application, that is, the investment ratio of each resource deployed by the base station. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only 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.
[0049] Figure 1 This is a flowchart of a base station resource deployment method in an embodiment of the present application;
[0050] Figure 2 A flowchart for generating a corresponding regional application feature vector in an embodiment of the present application;
[0051] Figure 3 A flowchart for generating a corresponding application data dictionary in an embodiment of the present application;
[0052] Figure 4 This is a flow chart of the regional resource demand vector in an embodiment of the present application;
[0053] Figure 5 A flowchart of allocating base station resources in an embodiment of the present application;
[0054] Figure 6 This is a structural diagram of a base station resource deployment device in an embodiment of the present application;
[0055] Figure 7 This is one of the structural diagrams of the feature dictionary generation unit in the embodiment of the present application;
[0056] Figure 8 This is the second structural diagram of the feature dictionary generation unit in the embodiment of the present application;
[0057] Fig. 9 This is a structural diagram of a demand vector generating unit in an embodiment of the present application;
[0058] Fig.10 This is a structural diagram of a base station resource allocation unit in an embodiment of the present application;
[0059] Fig.11 A schematic diagram of the structure of an electronic device in an embodiment of the present application;
[0060] Fig.12 This is a schematic diagram of the user application feature extraction process in an embodiment of the present application;
[0061] Fig.13 Schematic diagram of the process of applying the feature extraction algorithm in the embodiment of the present application. DETAILED DESCRIPTION
[0062] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0063] It should be noted that the base station resource deployment method and device based on regional user application characteristics provided in the present application can be used in the financial field, and can also be used in any field other than the financial field. The application field of the base station resource deployment method and device based on regional user application characteristics provided in the present application is not limited.
[0064] The acquisition, storage, use and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.
[0065] In one embodiment, see Figure 1 In order to reasonably deploy base station resources based on application characteristics of regional users, the present application provides a base station resource deployment method based on application characteristics of regional users, including:
[0066] S101: Generate a corresponding regional application feature vector and an application data dictionary according to application feature parameters of regional users when using the application program;
[0067] It is understandable that in mobile Internet applications, each geographical area or hot spot corresponds to a real application scenario in real life, and the use of applications by mobile users is strongly related to the application scenario in which they are located.
[0068] In order to better improve the user experience, when deploying the fifth generation mobile communication technology (5th Generation Mobile Communication Technology, referred to as 5G) base stations, base stations with equivalent resource capacity should be deployed according to the actual demand for resources. At the same time, it is not enough to simply distinguish the accessible user capacity of the base station, but to consider the application characteristics of regional users and deploy base stations that meet regional needs in a targeted manner. The existing base station deployment plan does not take into account the characteristics of mobile edge computing in the fifth generation mobile communication technology, and fails to establish an association with the usage habits of users at the deployment location.
[0069] In order to solve the above technical problems, the present application provides a method for deploying base station resources based on regional user application characteristics. The so-called regional user refers to the base station to be deployed resources, and the user within the signal coverage range. The embodiment of the present application first obtains the application request data initiated by the regional user when using the application to obtain the application feature parameters of the regional user when using the application. The specific application feature parameter content can be found in the embodiment below. Then the application feature parameters of the regional user are extracted, and the extracted data items mainly include the name of the application and the corresponding usage probability (reflecting the frequency of the application being used by the regional user), and the regional application feature vector is obtained. Next, an application data dictionary is constructed to save the application and the main service types it provides (such as video service class, chat service class, computing service class, etc.). The purpose of performing the above steps is to enable the execution subject of the embodiment of the present application (a server for performing base station resource allocation calculation) to determine the resource demand feature vector of the region according to the mainstream application in the region and its corresponding resource demand characteristics, that is, the demand ratio of each resource deployed by the base station (including but not limited to computing resources, storage resources and bandwidth resources), and finally deploy the above base station resources according to the demand ratio.
[0070] Specifically, step S101 can be implemented by the following steps:
[0071] In one embodiment, see Figure 2 , the application characteristic parameters include: the name of each application and the number of application requests for each application by the regional users; the generating of the corresponding regional application characteristic vector according to the application characteristic parameters when the regional users use the application includes:
[0072] S201: Determine the usage probability corresponding to each application program according to the number of application requests corresponding to each application program and the total number of application requests;
[0073] S202: Generate the regional application feature vector according to the usage probability and name corresponding to each application program.
[0074] It can be understood that user application feature extraction is to analyze and process the request data set generated by regional users when using the mobile communication network, so as to obtain the request distribution of each application program. Fig.12 The following is a flowchart of the process. First, the request data is preprocessed to clean up the unrecognizable and erroneous data. Then, the user requests of the same application are extracted, and finally the regional user application features are generated. The following is a detailed explanation of the process.
[0075] Definition: User request data refers to the requests sent by users to their servers through the mobile communication network when using an application. The request data set generated by all users in a certain area within a period of time is represented by D, and one of the records is represented by R = {BS id ,User id ,time,User l ,Url / IP} indicates that BS id The ID of the base station to which the record belongs. User id is the ID of the user to which the request belongs, time is the time when the request was sent, User l The location of the user when sending the request, Url / IP is the target URL or IP of the request. (Note: This application embodiment only uses part of the relevant information in the real record)
[0076] Before feature extraction, the original request data set D is first preprocessed to remove unrecognizable data and erroneous data. Since the embodiment of the present application only uses part of the information in the data, the partial data pattern after preprocessing is shown in Table 1. In specific implementation, it may not be limited to the data items shown in Table 1.
[0077] Table 1 Data sample table
[0078]
[0079] Definition: Regional user application characteristics refer to the distribution of applications used by users in a specified area (generally within the coverage area of base station signals). Regional user application characteristics are represented by C = {(S1, P1), (S2, P2), …, (S n ,P n )}. Where S i Refers to an application used by users in this area. i is the probability of using the application in the area, which is calculated as:
[0080]
[0081] After preprocessing the original request data set D, the data required by the embodiment of the present application can be obtained, and then the data is processed and analyzed to obtain the application characteristics of regional users. The algorithm flow chart of this part is as follows: Fig.13 shown.
[0082] In the embodiment of the present application, it is assumed that the location of the base station to be deployed is known, and the results obtained according to the DBSCAN clustering algorithm also show that the base station coverage radius is between 300 meters and 400 meters. Therefore, the request data within this range can be obtained according to the base station deployment location L and the coverage radius r. Then, the target address in the request data is classified and counted, and the different applications and their request times in the area are counted. Then, the applications with too few requests and those that cannot be identified are filtered out, and the request probabilities of the remaining applications are calculated to obtain the final regional user application characteristics. The pseudo code of this process is shown in Table 2.
[0083] Table 2 Pseudo code for regional user application feature extraction
[0084]
[0085]
[0086] In one embodiment, see Figure 3 The application characteristic parameters include: the name of each application and its category (hereinafter also referred to as service); generating a corresponding application data dictionary according to the application characteristic parameters when the regional users use the application, including:
[0087] S301: constructing a category set of each application according to the category to which each application belongs;
[0088] S302: Generate the application data dictionary according to the name of each application and the category set of each application.
[0089] It is understandable that after feature extraction of the application request data set, the set of applications used by users in the area and the corresponding usage probability of each application can be obtained. It is foreseeable that the features obtained in each area are different, and this difference is mainly reflected in two aspects: one is the different sets of applications used, and the other is the different usage probabilities of applications. In order to facilitate the measurement of the comprehensive capability demand ratio of all applications in a region, the embodiment of the present application proposes the concept of an application data dictionary to count the main applications and their service types.
[0090] Definition: Application data dictionary refers to the mainstream applications used by users and their corresponding service types. It can be expressed as Dic = {(S1, T1), (S2, T2), …, (S n ,T n )}. Where S i Refers to the application name, T i Refers to an application S i A collection of services provided.
[0091] The embodiment of the present application can obtain a set of applications used by users in a region through the above-mentioned application feature extraction algorithm, but knowing the application name alone cannot predict the type of service it provides. Even by capturing the classification of applications in the application store, it is difficult to distinguish them. For example, a certain application is captured as a social application, but the services it contains are multiple and diverse, so its services can only be classified through manual judgment and then marking. After obtaining the application set, the applications with less usage or cannot be identified are cleaned. The number of users of such applications is very small, and the impact on subsequent analysis can be ignored. Then the services provided are manually marked and classified. After obtaining the application usage characteristics and application data dictionary of regional users, the resource demand proportion of regional requests will be measured below.
[0092] S102: Generate a corresponding regional resource demand vector according to the regional application feature vector and the application data dictionary;
[0093] Specifically, step S102 can be implemented by the following steps:
[0094] In one embodiment, see Figure 4 , the generating a corresponding regional resource demand vector according to the regional application feature vector and the application data dictionary comprises:
[0095] S401: Determine the category and number of categories corresponding to each application program according to the application data dictionary;
[0096] S402: Generate a program resource demand vector corresponding to each application program according to the category, number of categories and resource allocation constants of each category corresponding to each application program;
[0097] S403: Determine the regional resource demand vector according to the program resource demand vector corresponding to each application program and the usage probability corresponding to each application program.
[0098] In specific implementation, due to the different user behavior habits in different regions, the types of applications they use and the services they want to obtain are also different, so different regions have different application usage characteristics and application data dictionaries. For example, users in residential areas are more likely to watch videos, so the deployment should focus on deploying base stations with strong storage capabilities; while users in commercial areas may prefer tool assistants, so the deployment should focus on deploying base stations with strong computing capabilities. Therefore, when deploying base station resources in each region, its regional characteristics should be considered, that is, the overall resource demand characteristics of the region. Different regions have different resource demand characteristics, so the base stations they deploy are also different. The measurement of regional resource demand characteristics will be explained below.
[0099] Definition: Regional resource demand characteristics refer to the proportion of computing resources, storage resources, and bandwidth resources required by the application usage behavior of users in a certain region, measured by the feature vector It is obtained through the user application characteristics and application data dictionary of the area. Where c∈(0,1) represents the computing demand proportion, s∈(0,1) represents the storage demand proportion, b∈(0,1) represents the bandwidth demand proportion, and c+s+b=1.
[0100] The regional resource demand characteristics indicate the probability of demand for various resources due to the application usage habits of users in a region. It will change with the change of regional attributes and the upgrading of applications, but it can still indicate the user resource demand characteristics of the region for a long time. The regional resource demand characteristics proposed in the embodiment of the present application are intended to measure the demand proportion of different resources requested by users in the region.
[0101] The above has introduced the application characteristics of regional users and the resource demand characteristics of each application. The regional resource demand characteristics can be calculated based on these two characteristics, as shown in the formula.
[0102]
[0103] in is the resource requirement feature vector of application i, P i is the usage probability of application i, and the usage probability of the application conforms to the formula.
[0104]
[0105] When calculating the regional resource demand characteristics, first sort the regional application usage characteristics from large to small according to the usage probability, then obtain the application names in order, and search in the application data dictionary according to the name to obtain the application and the type of service it provides. Then calculate the resource demand feature vector of the application based on this and multiply it by its application usage probability. After accumulating the results, the resource demand feature vector of the region can be obtained. The pseudo code of the algorithm is shown in Table 3.
[0106] Table 3 Pseudocode for calculating regional resource demand characteristics
[0107]
[0108]
[0109] Thus, the embodiment of the present application has obtained the resource demand characteristics of regional requests by classifying application services and measuring resource demands, and analyzing the application usage characteristics of regional users. The characteristic vector indicates the demand proportion of each resource for the regional application requests.
[0110] It should be noted that the theoretical basis for constructing the regional resource demand feature vector in the embodiment of the present application is as follows:
[0111] The embodiment of the present application first divides the service types of the application, and when dividing, it should be considered that there is no overlap between the categories and the granularity of the service types should be reduced as much as possible; then the mainstream functions of the application are matched with the service types, and the resource requirements of the application are measured by measuring the requirements of the service types. The whole process will be described in detail below.
[0112] First of all, it should be explained that service type classification is the classification of service types in mobile applications. First of all, it should be made clear that service types are different from application types. In the past, application classification always classified applications according to different types or functions. However, as the complexity of each application program increases and the number of functions increases, it is difficult to use a single type to classify an application. When classifying, the resource requirements of different service types should be considered, and the service categories of applications should be divided more finely.
[0113] Resource demand measurement is to measure the resource demand of applications using the type classification results. In real scenarios, each application has its service type, but with the development of technology and the emergence of various applications, the functions of applications are becoming more and more complex, and more and more comprehensive applications have emerged. Therefore, it is difficult to judge what type of service a user has obtained based on the user's use of the application. In order to address this problem, the present invention divides all applications into two categories: comprehensive applications and single-type applications, and discusses their corresponding resource demand measurement methods respectively.
[0114] Definition 1: The service type of an application refers to the classification of the services provided by all applications. The set of classifications can be expressed as T = {t1, t2, …, t n}, where n is the number of categories. Please note that there is no overlap or intersection between the services in each category. The set of service categories provided by a single application is represented by S = {t1, t2, …, t m}, where m is the number of service types provided by the application. Note that 1≤m≤n, and S∈T.
[0115] Definition 2: The resource demand characteristics of a service refer to the resource demand characteristics of a service type t i A measure of the proportion of computing resources, storage resources, and bandwidth resources required by requests issued at runtime. is a feature vector used to represent service t i The resource demand characteristics of i ∈(0,1) represents the proportion of computing demand, s i ∈(0,1) represents the storage demand ratio, b i∈(0,1) represents the bandwidth demand ratio, and c i +s i +b i =1.
[0116] The embodiment of the present application divides the service types into 20 categories, and the specific classifications and remarks are shown in Table 4.
[0117] Table 4 Classification of service types
[0118]
[0119] Definition 3: Comprehensive application refers to an application that provides more than three main service types, that is, the application service category set S = {t1, t2, …, t m}, where m≥3.
[0120] Definition 4: A single-class application refers to an application that provides one or two main service types, that is, the service category set S of the application = {t1, t2, …, t m}, where m∈{1,2}.
[0121] Definition 5: The resource demand characteristics of an application refer to the proportion of computing resources, storage resources, and bandwidth resources required by the requests initiated by an application S during runtime, expressed as a feature vector It is obtained by the resource demand characteristics of the service provided by the application. Where c∈(0,1) represents the proportion of computing demand, s∈(0,1) represents the proportion of storage demand, b∈(0,1) represents the proportion of bandwidth demand, and c+s+b=1.
[0122] As the services provided by applications become increasingly complex, the embodiments of the present application only consider the main services provided by the applications. The resource requirements of comprehensive applications and single applications will be measured separately below.
[0123] 1) Comprehensive applications
[0124] This type of application provides three or more types of services and is a relatively complex application. Since the services it provides are diverse and the requirements for various types of resources are involved, it is believed that its requirements for computing resources, storage resources, and bandwidth resources are average. The characteristic vector of this type of application is
[0125] 2) Single-class application
[0126] This type of application provides one or two main services, which are relatively simple in function. Users have clear purposes when using this type of application and generally only use specific functions. Therefore, in this case, the resource demand of the application can be measured based on the services provided by the application.
[0127] If the application provides only one main service, that is, S={t1}, such as some game applications, the resource demand feature vector of the application is as shown in the formula.
[0128]
[0129] If the application provides two services, that is, S = {t1, t2}, where t1 is the primary service and t2 is the secondary service, and users use the two services at different frequencies, then the resource demand feature vector of the application is as shown in the formula.
[0130]
[0131] In the formula, w1 and w2 refer to the weights of services t1 and t2, which means that users use these two services at different frequencies, and the values of w1 and w2 determine the final resource demand measurement results of the application. Since application developers will not disclose the usage data of the application, and the usage of each service is closely related to the user's geographical location, it is impossible to directly obtain the usage of the two services t1 and t2. In order to conduct a comprehensive analysis of the application resource demand measurement, the embodiment of the present application introduces the hierarchical analysis method to analyze the relationship between the two services of the same application. The hierarchical analysis method is a simple and effective analysis method in operations research. It is a simple method for making decisions on some more complex and more ambiguous problems. It is particularly suitable for those problems that are difficult to fully quantify.
[0132] The AHP method uses numbers 1-9 and their reciprocals as a measure of the importance between two influencing factors. Table 5 lists the quantitative values of the AHP method and their meanings.
[0133] Table 5 Quantitative values of AHP and their meanings
[0134]
[0135] Since users have clear purposes when using a single type of application, most users will choose its primary service t1, that is, the primary service t1 is more important than the secondary service t2, so the embodiment of the present application selects w1:w2=1:5.
[0136] The quantitative values provided in Table 5 construct the comparison matrix as follows:
[0137]
[0138] After solving and standardizing the matrix A, we can get the eigenvector of A as: (0.1961, 0.9806) T. Then normalize it and get the weight vector: w = (0.17, 0.83) T . Corresponding to the formula
[0139] The weight values of primary and secondary services can be obtained as: w1=0.83, w2=0.17.
[0140] The following example illustrates the application resource demand measurement method based on fine-grained service type classification proposed in the embodiment of the present application, as shown in Table 6.
[0141] Table 6 Example of application resource requirement measurement method
[0142]
[0143] As shown in Table 6, assuming that the resource requirement feature vectors of the game service, video streaming service, and online live broadcast service requests are (0.7, 0.1, 0.2), (0.1, 0.6, 0.3), and (0.1, 0.2, 0.7), respectively. Then the resource requirement feature vector of the single application A is the resource requirement feature vector of the game service, that is, (0.7, 0.1, 0.2); the resource requirement feature vector of the application B request can be calculated by weights w1 = 0.83 and w2 = 0.17. As a comprehensive application, C has a resource requirement characteristic vector of (0.33, 0.33, 0.33).
[0144] Through the resource requirement measurement method proposed in the embodiment of the present invention, it is possible to quantify the proportion of resources required for requests issued by an application during runtime. Please note that the feature vector obtained by this measurement only measures the proportion of resource requirements when the application is running, rather than measuring the determined parameters of the resources required when the program is running.
[0145] S103: Allocate base station resources according to the total number of application requests in the area and the regional resource demand vector calculated in advance.
[0146] Specifically, step S103 can be implemented by the following steps:
[0147] In one embodiment, see Figure 5 , the base station resources include: computing resources, storage resources and bandwidth resources; the allocation of base station resources according to the total number of application requests in the area and the regional resource demand vector obtained in advance includes:
[0148] S501: Calculate the minimum processing rate, the minimum storage space and the narrowest required bandwidth according to the number of clock cycles required to process each request, the total number of application requests and the regional resource demand vector;
[0149] S502: Allocate the computing resources according to the minimum processing rate;
[0150] S503: Allocate the storage resource according to the minimum storage space;
[0151] S504: Allocate the bandwidth resources according to the narrowest required bandwidth.
[0152] The above steps can be understood as a process of differentiated deployment of base station resources.
[0153] In the above execution steps, the demand distribution of regional requests for various resources has been obtained, which is simply the probability that each user request requires various resources. Through this feature vector, the demand for resources of all requests per unit time can be obtained, and the resource configuration of the base stations deployed in the area can be obtained.
[0154] 5G base stations have the function of MEC servers, so they can process computing requests initiated by users and cache the content requested by users. In addition, the bandwidth of 5G base stations and core networks should be determined according to the needs of regional users. The previous bandwidth rate is not expected to meet the needs of massive data transmission in the 5G era. Therefore, the deployed 5G base stations should be combined with the distribution of busy-time requests in the area. If the deployed base stations can solve the requests during busy hours, there will be no problem during idle hours. Therefore, the deployed base stations should be able to meet the requests of users during busy hours and avoid idle resources as much as possible.
[0155] In the embodiment of the present application, the number of service requests initiated by all users per second during a busy period in a certain area is set to n. Then, through the resource demand characteristics of the regional requests, it is possible to determine how many of the requests per second during the busy period in the area need to be calculated, how many require data content to be cached, and how many require bandwidth for transmission. For example, if there are 500 user requests per second during a busy period in a certain area, and its characteristic vector is (0.6, 0.2, 0.2), it can be obtained that 300 requests per second need to be calculated, 100 requests require resource storage, and 100 requests require bandwidth for communication. The symbols and their definitions involved in the embodiment of the present application are shown in Table 7.
[0156] Table 7 Symbol definition table
[0157]
[0158] In the 5G edge network environment, each computing request issued by the user will be processed on the base station side. Ideally, these requests will not be uploaded to the cloud center for processing, which can reduce delivery latency. At the same time, each content request and bandwidth occupation request will also take up a small amount of computing time. If all requests generated per second in this area are processed, the minimum computing resources required are:
[0159] T=n×c×D c ×T c +n×s×T s +n×b×T b
[0160] The result T obtained from the formula is the minimum processing rate required by the base station in the area, which refers to the number of clock cycles per second of the base station, in cycles / s.
[0161] In the edge network, the content data requested by the user will be cached on the base station side, which will save the user time in obtaining resources. Bandwidth occupation requests are generally real-time communication services. The present embodiment does not consider its storage resource occupation. Therefore, the storage space required per second during the busy hour of this area is:
[0162] M=n×c×M c +n×s×M s
[0163] The result M obtained by the formula is the minimum storage space required by the base station in the area. Due to the locality principle and replacement rules of content requests, the embodiment of the present application only considers the storage space per unit time, and its unit is MB.
[0164] Since the computing request will be processed on the base station side, it does not occupy the transmission bandwidth. Therefore, the embodiment of the present application only considers the bandwidth required for content requests and the bandwidth required for bandwidth occupation requests. The bandwidth rate required for this area is:
[0165] B=n×s×B b +n×b×B b
[0166] The result B obtained from the formula is the bandwidth rate required for the area during busy hours, and its unit is kb / s.
[0167] T, M, and B obtained by the formula are the resource allocation of the base station. Different regions have different application characteristics, so the results are also different, which allows for differentiated base station deployment.
[0168] From the above description, it can be seen that the base station resource deployment method based on regional user application characteristics provided in the present application can extract the application usage characteristics of users in the region by requesting data, mainly including the application name and the corresponding usage probability, and then construct an application data dictionary to save the application and the main services provided; then calculate the mainstream applications in the area and their corresponding resource demand characteristics, and then obtain the resource demand feature vector of the area through the usage probability of each application, that is, the investment ratio of each resource deployed by the base station.
[0169] Based on the same inventive concept, the embodiment of the present application also provides a base station resource deployment device based on regional user application characteristics, which can be used to implement the method described in the above embodiment, as described in the following embodiment. Since the principle of solving the problem by the base station resource deployment device based on regional user application characteristics is similar to the base station resource deployment method based on regional user application characteristics, the implementation of the base station resource deployment device based on regional user application characteristics can refer to the implementation of the method based on software performance benchmark determination, and the repetitions are not repeated. As used below, the term "unit" or "module" can implement a combination of software and / or hardware for a predetermined function. Although the system described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0170] In one embodiment, see Figure 6 In order to reasonably deploy base station resources based on application characteristics of regional users, the present application provides a base station resource deployment device based on application characteristics of regional users, including: a feature dictionary generation unit 601, a demand vector generation unit 602 and a base station resource allocation unit 603.
[0171] A feature dictionary generating unit 601 is used to generate a corresponding regional application feature vector and an application data dictionary according to application feature parameters of regional users when using the application program;
[0172] A demand vector generating unit 602, configured to generate a corresponding regional resource demand vector according to the regional application feature vector and the application data dictionary;
[0173] The base station resource allocation unit 603 is used to allocate base station resources according to the total number of application requests in the area and the regional resource demand vector calculated in advance.
[0174] In one embodiment, see Figure 7 The application characteristic parameters include: the name of each application and the number of application requests for each application by the users in the area; the characteristic dictionary generation unit 601 includes:
[0175] A usage probability calculation module 701 is used to determine the usage probability corresponding to each application according to the number of application requests corresponding to each application and the total number of application requests;
[0176] The application feature generation module 702 is used to generate the regional application feature vector according to the usage probability and name corresponding to each application program.
[0177] In one embodiment, see Figure 8 The application feature parameters include: the name of each application and the category to which it belongs; the feature dictionary generation unit 601 includes:
[0178] A category set building module 801 is used to build a category set for each application according to the category to which each application belongs;
[0179] The application data dictionary generation module 802 is used to generate the application data dictionary according to the name of each application and the category set of each application.
[0180] In one embodiment, see Fig. 9 , the demand vector generating unit 602 comprises:
[0181] A category quantity determination module 901, configured to determine the category and the number of categories corresponding to each application program according to the application data dictionary;
[0182] A program resource requirement vector generating module 902, for generating a program resource requirement vector corresponding to each application program according to the category, number of categories and resource allocation constants of each category corresponding to each application program;
[0183] The regional resource requirement vector generating module 903 is used to determine the regional resource requirement vector according to the program resource requirement vector corresponding to each application program and the usage probability corresponding to each application program.
[0184] In one embodiment, see Fig.10 , the base station resources include: computing resources, storage resources and bandwidth resources; the base station resource allocation unit 603 includes:
[0185] The base station resource threshold determination module 1001 is used to calculate the minimum processing rate, the minimum storage space and the narrowest required bandwidth according to the number of clock cycles required to process each request, the total number of application requests and the regional resource demand vector;
[0186] A computing resource allocation module 1002, configured to allocate the computing resources according to the minimum processing rate;
[0187] A storage resource allocation module 1003, configured to allocate the storage resource according to the minimum storage space;
[0188] The bandwidth resource allocation module 1004 is configured to allocate the bandwidth resource according to the narrowest required bandwidth.
[0189] From a hardware perspective, in order to reasonably deploy base station resources based on application characteristics of regional users, the present application provides an embodiment of an electronic device for implementing all or part of the content of the base station resource deployment method based on regional user application characteristics, and the electronic device specifically includes the following content:
[0190] Processor, memory, communication interface and bus; wherein the processor, memory and communication interface communicate with each other through the bus; the communication interface is used to realize information transmission between the base station resource deployment device based on regional user application characteristics and related equipment such as core business systems, user terminals and related databases; the logic controller can be a desktop computer, a tablet computer and a mobile terminal, etc., and this embodiment is not limited to this. In this embodiment, the logic controller can be implemented with reference to the embodiment of the base station resource deployment method based on regional user application characteristics and the embodiment of the base station resource deployment device based on regional user application characteristics in the embodiment, and the contents thereof are incorporated herein, and the repeated parts are not repeated.
[0191] It is understandable that the user terminal may include a smart phone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a personal digital assistant (PDA), a vehicle-mounted device, a smart wearable device, etc. Among them, the smart wearable device may include smart glasses, a smart watch, a smart bracelet, etc.
[0192] In practical applications, part of the base station resource deployment method based on regional user application characteristics can be executed on the electronic device side as described above, or all operations can be completed in the client device. The specific selection can be based on the processing capability of the client device and the limitations of the user's usage scenario. This application does not limit this. If all operations are completed in the client device, the client device may also include a processor.
[0193] The client device may have a communication module (i.e., a communication unit) that can communicate with a remote server to achieve data transmission with the server. The server may include a server on the task scheduling center side, and other implementation scenarios may also include a server on an intermediate platform, such as a server on a third-party server platform that has a communication link with the task scheduling center server. The server may include a single computer device, or a server cluster consisting of multiple servers, or a server structure of a distributed device.
[0194] Fig.11 FIG. 9 is a schematic block diagram of the system structure of the electronic device 9600 according to an embodiment of the present application. Fig.11 As shown, the electronic device 9600 may include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. It is worth noting that Fig.11 is exemplary; other types of structures may also be used to supplement or replace this structure to implement telecommunication functions or other functions.
[0195] In one embodiment, the base station resource deployment method function based on regional user application characteristics may be integrated into the central processor 9100. The central processor 9100 may be configured to perform the following control:
[0196] S101: Generate a corresponding regional application feature vector and an application data dictionary according to application feature parameters of regional users when using the application program;
[0197] S102: Generate a corresponding regional resource demand vector according to the regional application feature vector and the application data dictionary;
[0198] S103: Allocate base station resources according to the total number of application requests in the area and the regional resource demand vector calculated in advance.
[0199] From the above description, it can be seen that the base station resource deployment method based on regional user application characteristics provided in the present application can extract the application usage characteristics of users in the region by requesting data, mainly including the application name and the corresponding usage probability, and then construct an application data dictionary to save the application and the main services provided; then calculate the mainstream applications in the area and their corresponding resource demand characteristics, and then obtain the resource demand feature vector of the area through the usage probability of each application, that is, the investment ratio of each resource deployed by the base station.
[0200] In another embodiment, the base station resource deployment device based on regional user application characteristics can be configured separately from the central processor 9100. For example, the base station resource deployment device based on regional user application characteristics of the data composite transmission device can be configured as a chip connected to the central processor 9100, and the function of the base station resource deployment method based on regional user application characteristics is realized through the control of the central processor.
[0201] like Fig.11 As shown, the electronic device 9600 may also include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is worth noting that the electronic device 9600 does not necessarily have to include Fig.11 In addition, the electronic device 9600 may also include Fig.11 For components not shown, reference may be made to the prior art.
[0202] like Fig.11 As shown, the central processing unit 9100 is sometimes also referred to as a controller or an operation control, and may include a microprocessor or other processor device and / or logic device, which receives input and controls the operation of various components of the electronic device 9600.
[0203] The memory 9140 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices. The above-mentioned information related to the failure may be stored, and a program for executing the relevant information may also be stored. The CPU 9100 may execute the program stored in the memory 9140 to implement information storage or processing, etc.
[0204] The input unit 9120 provides input to the central processing unit 9100. The input unit 9120 is, for example, a key or a touch input device. The power supply 9170 is used to provide power to the electronic device 9600. The display 9160 is used to display display objects such as images and texts. The display may be, for example, an LCD display, but is not limited thereto.
[0205] The memory 9140 may be a solid-state memory, such as a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It may also be a memory that saves information even when the power is off, can be selectively erased, and is provided with more data, examples of which are sometimes referred to as EPROMs, etc. The memory 9140 may also be some other type of device. The memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application / function storage unit 9142, which is used to store application programs and function programs or processes for executing the operation of the electronic device 9600 through the central processor 9100.
[0206] The memory 9140 may also include a data storage unit 9143 for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit 9144 of the memory 9140 may include various drivers for communication functions of the electronic device and / or for executing other functions of the electronic device (such as messaging applications, address book applications, etc.).
[0207] The communication module 9110 is a transmitter / receiver 9110 that sends and receives signals via an antenna 9111. The communication module (transmitter / receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as the case of a conventional mobile communication terminal.
[0208] Based on different communication technologies, multiple communication modules 9110 may be provided in the same electronic device, such as a cellular network module, a Bluetooth module and / or a wireless LAN module. The communication module (transmitter / receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide an audio output via the speaker 9131 and receive an audio input from the microphone 9132, thereby realizing a common telecommunication function. The audio processor 9130 may include any suitable buffer, decoder, amplifier, etc. In addition, the audio processor 9130 is also coupled to the central processor 9100, so that recording can be performed on the local machine through the microphone 9132, and the sound stored on the local machine can be played through the speaker 9131.
[0209] The embodiments of the present application also provide a computer-readable storage medium capable of implementing all steps in the method for deploying base station resources based on regional user application features in the above embodiments, where the execution subject is a server or a client. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, all steps of the method for deploying base station resources based on regional user application features in the above embodiments are implemented. For example, when the processor executes the computer program, the following steps are implemented:
[0210] S101: Generate a corresponding regional application feature vector and an application data dictionary according to application feature parameters of regional users when using the application program;
[0211] S102: Generate a corresponding regional resource demand vector according to the regional application feature vector and the application data dictionary;
[0212] S103: Allocate base station resources according to the total number of application requests in the area and the regional resource demand vector calculated in advance.
[0213] From the above description, it can be seen that the base station resource deployment method based on regional user application characteristics provided in the present application can extract the application usage characteristics of users in the region by requesting data, mainly including the application name and the corresponding usage probability, and then construct an application data dictionary to save the application and the main services provided; then calculate the mainstream applications in the area and their corresponding resource demand characteristics, and then obtain the resource demand feature vector of the area through the usage probability of each application, that is, the investment ratio of each resource deployed by the base station.
[0214] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0215] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (apparatus), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0216] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0217] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0218] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A base station resource deployment method, characterized in that: include: Generate a corresponding regional application feature vector and an application data dictionary according to application feature parameters of regional users when using the application; the region refers to the area within the coverage of the base station signal; Generate a corresponding regional resource demand vector according to the regional application feature vector and the application data dictionary; Allocate base station resources according to the total number of application requests in the area and the resource demand vector of the area calculated in advance; The application characteristic parameters include: the name of the application and the number of application requests for the application by the regional users; the generating of the corresponding regional application characteristic vector according to the application characteristic parameters when the regional users use the application includes: Determine the usage probability corresponding to each application program according to the number of application requests corresponding to each application program and the total number of application requests; Generate the regional application feature vector according to the usage probability and name corresponding to each application program; The application characteristic parameters include: the name of each application and its category; the corresponding application data dictionary is generated according to the application characteristic parameters when the regional users use the application, including: Building a category set for each application according to the category to which each application belongs; Generating the application data dictionary according to the name of each application and the category set of each application; The base station resources include computing resources, storage resources and bandwidth resources; the allocation of base station resources according to the total number of application requests in the area and the regional resource demand vector obtained in advance includes: Calculate the minimum processing rate, the minimum storage space and the narrowest required bandwidth according to the number of clock cycles required to process each request, the total number of application requests and the regional resource requirement vector; allocating the computing resources according to the minimum processing rate; Allocating the storage resource according to the minimum storage space; The bandwidth resources are allocated according to the narrowest required bandwidth.
2. The base station resource deployment method according to claim 1, characterized in that: The generating a corresponding regional resource demand vector according to the regional application feature vector and the application data dictionary includes: Determine the category and number of categories corresponding to each application program according to the application data dictionary; Generate a program resource demand vector corresponding to each application program according to the category, number of categories and resource allocation constants of each category corresponding to each application program; The regional resource demand vector is determined according to the program resource demand vector corresponding to each application program and the usage probability corresponding to each application program.
3. A base station resource deployment device, characterized in that: include: A feature dictionary generating unit, used to generate a corresponding regional application feature vector and an application data dictionary according to application feature parameters when regional users use the application program; A demand vector generating unit, configured to generate a corresponding regional resource demand vector according to the regional application feature vector and the application data dictionary; A base station resource allocation unit, configured to allocate base station resources according to the total number of application requests in the area and the regional resource demand vector calculated in advance; The application characteristic parameters include: the name of each application and the number of application requests for each application by users in the area; the characteristic dictionary generation unit includes: A usage probability calculation module, used to determine the usage probability corresponding to each application program according to the number of application requests corresponding to each application program and the total number of application requests; An application feature generation module, used to generate the regional application feature vector according to the usage probability and name corresponding to each application program; The application characteristic parameters include: the name of each application and the category to which it belongs; the characteristic dictionary generation unit includes: A category set building module, used to build a category set of each application according to the category to which each application belongs; An application data dictionary generation module, used to generate the application data dictionary according to the name of each application and the category set of each application; The base station resources include computing resources, storage resources and bandwidth resources; the base station resource allocation unit includes: A base station resource threshold determination module, configured to calculate a minimum processing rate, a minimum storage space, and a narrowest required bandwidth according to the number of clock cycles required to process each request, the total number of application requests, and the regional resource demand vector; A computing resource allocation module, configured to allocate the computing resources according to the minimum processing rate; A storage resource allocation module, configured to allocate the storage resource according to the minimum storage space; The bandwidth resource allocation module is used to allocate the bandwidth resource according to the narrowest required bandwidth.
4. The base station resource deployment device according to claim 3, characterized in that: The demand vector generating unit includes: A category quantity determination module, used to determine the category and the number of categories corresponding to each application program according to the application data dictionary; A program resource requirement vector generation module, used to generate a program resource requirement vector corresponding to each application program according to the category, number of categories and resource allocation constants of each category corresponding to each application program; The regional resource requirement vector generating module is used to determine the regional resource requirement vector according to the program resource requirement vector corresponding to each application program and the usage probability corresponding to each application program.
5. An 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 program, the steps of the base station resource deployment method described in any one of claims 1 to 2 are implemented.
6. A 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 base station resource deployment method described in any one of claims 1 to 2 are implemented.
7. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the steps of the base station resource deployment method described in any one of claims 1 to 2 are implemented.
