Server demand processing method, electronic equipment, storage medium and program product
By determining the target dimensions and correlation relationships from multiple preset dimensions, generating and evaluating server requirements, the problem of users having difficulty configuring cloud server requirements is solved, and generation efficiency and trust are improved.
Patent Information
- Application Number
- CN202410304023.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-15
- Publication Date
- 2025-09-16
AI Technical Summary
It is difficult for users to configure cloud servers according to their own needs, and they need to understand a lot of professional knowledge.
Determine the target dimension from multiple preset dimensions of server requirements, obtain dimension information and associations, generate and evaluate server requirements, and quickly meet user needs.
It reduces the difficulty of users configuring server requirements, improves generation efficiency and reliability, and reduces the need for repeated verification.
Smart Images

Figure CN120653519A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of cloud computing, and in particular to a method for processing server requirements, an electronic device, a storage medium, and a program product. Background Art
[0002] Elastic Compute Service (ECS) is a key foundational product for cloud computing. Its core elasticity provides users with ready-to-use resource provisioning, significantly reducing user costs compared to traditional Internet Data Center (IDC) solutions. However, with the rapid development of cloud server technology and the emergence of new technologies, users require extensive expertise to configure cloud server requirements, making it difficult for users to tailor their server configuration to their needs. Summary of the Invention
[0003] The embodiments of the present application provide a method for processing server requirements, an electronic device, a storage medium, and a program product, so as to at least solve the technical problem in the related art that it is difficult for users to configure server requirements according to their own needs.
[0004] According to one aspect of an embodiment of the present application, a method for processing server requirements is provided, including: determining at least one target dimension from multiple preset dimensions of server requirements, and obtaining dimensional information of the target dimension, and the association relationship between the target dimensions; generating a first server requirement based on the dimensional information of the target dimension and the association relationship between the target dimensions; evaluating the first server requirement to obtain a first evaluation result of the first server requirement, wherein the first evaluation result is used to characterize whether the server resources meet the first server requirement.
[0005] According to one aspect of an embodiment of the present application, a method for processing server requirements is also provided, including: responding to an input instruction acting on an operation interface, displaying at least one target dimension, dimensional information of the target dimension, and the association relationship between the target dimensions on the operation interface, wherein the target dimension is a dimension determined from multiple preset dimensions of the server requirements; responding to a demand evaluation instruction acting on the operation interface, displaying a first evaluation result of a first server requirement on the operation interface, wherein the first evaluation result is used to characterize whether the server resources meet the first server requirement, the first evaluation result is a result obtained by evaluating the first server requirement, and the first server requirement is a requirement generated based on the dimensional information of the target dimension and the association relationship between the target dimensions.
[0006] According to one aspect of an embodiment of the present application, a method for processing server requirements is also provided, including: determining at least one target dimension from multiple preset dimensions of cloud server requirements, and obtaining dimensional information of the target dimension, and the association relationship between the target dimensions, wherein the cloud server requirements are used to characterize cloud server resources; generating a first cloud server requirement based on the dimensional information of the target dimension and the association relationship between the target dimensions; evaluating the first cloud server requirement to obtain a first evaluation result of the first cloud server requirement, wherein the first evaluation result is used to characterize whether the cloud server resources meet the first cloud server requirement.
[0007] According to another aspect of an embodiment of the present application, a device for processing server requirements is also provided, including: a first acquisition module, used to determine at least one target dimension from multiple preset dimensions of server requirements, and obtain dimensional information of the target dimension, and the association relationship between the target dimensions; a first generation module, used to generate a first server requirement based on the dimensional information of the target dimension and the association relationship between the target dimensions; a first evaluation module, used to evaluate the first server requirement and obtain a first evaluation result of the first server requirement, wherein the first evaluation result is used to characterize whether the server resources meet the first server requirement.
[0008] According to one aspect of an embodiment of the present application, a server demand processing device is also provided, including: a second acquisition module, used to determine at least one target dimension from multiple preset dimensions of cloud server demand, and obtain dimensional information of the target dimension, and the association relationship between the target dimensions, wherein the cloud server demand is used to characterize cloud server resources; a second generation module, used to generate a first cloud server demand based on the dimensional information of the target dimension and the association relationship between the target dimensions; a second evaluation module, used to evaluate the first cloud server demand and obtain a first evaluation result of the first cloud server demand, wherein the first evaluation result is used to characterize whether the cloud server resources meet the first cloud server demand.
[0009] According to one aspect of an embodiment of the present application, a server requirement processing device is also provided, including: a third acquisition module, used to obtain at least one target dimension, dimension information of the target dimension, and the association relationship between the target dimensions by calling a first interface, wherein the first interface includes a first parameter, and the parameter value of the first parameter includes the target dimension, dimension information and the association relationship, and the target dimension is a dimension determined from multiple preset dimensions of the server requirement; a third generation module, used to generate the first server requirement based on the dimension information of the target dimension and the association relationship between the target dimensions; a third evaluation module, used to evaluate the first server requirement and obtain a first evaluation result of the first server requirement, wherein the first evaluation result is used to characterize whether the server resources meet the first server requirement; a result output module, used to output the first evaluation result by calling a second interface, wherein the second interface includes a second parameter, and the parameter value of the second parameter includes the first evaluation result.
[0010] According to another aspect of the embodiments of the present application, an electronic device is provided, including: a memory storing an executable program; and a processor for running the program, wherein the program executes the methods in the various embodiments of the present application when running.
[0011] According to another aspect of an embodiment of the present application, a computer-readable storage medium is also provided, which includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the methods in various embodiments of the present application.
[0012] According to another aspect of the embodiments of the present application, a computer program product is further provided, including a computer program, which implements the methods in various embodiments of the present application when executed by a processor.
[0013] According to another aspect of an embodiment of the present application, a computer program product is also provided, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method in each embodiment of the present application is implemented.
[0014] According to another aspect of the embodiments of the present application, a computer program is further provided, which implements the methods in various embodiments of the present application when executed by a processor.
[0015] In an embodiment of the present application, at least one target dimension is determined from multiple preset dimensions of server requirements, and dimension information of the target dimension and the correlation relationship between the target dimensions are obtained; based on the dimension information of the target dimension and the correlation relationship between the target dimensions, a first server requirement is generated; the first server requirement is evaluated to obtain a first evaluation result of the first server requirement, and the corresponding first server requirement is quickly generated according to parameters such as the target dimension, dimension information and correlation relationship of the user requirement, while reducing the difficulty of the user configuring the server requirement and improving the efficiency of the first server requirement generation, and then the first server requirement is evaluated according to whether the server resources can meet the generation of the first server requirement to obtain the feasibility of the first server requirement, which can improve the user's trust in the first server requirement, so that the user does not need to repeatedly verify the rationality of the first server requirement, reducing the difficulty of the user configuring the server requirement, and thus solving the technical problem in the related art that it is difficult for the user to configure the server requirement according to his own needs.
[0016] It is easy to notice that the above general description and the following detailed description are merely for the purpose of exemplifying and explaining the present application, and do not constitute a limitation to the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0018] Figure 1 A hardware structure block diagram of an electronic device (or mobile device) for implementing a processing method for server requirements according to Example 1 of the present application;
[0019] Figure 2 This is a structural block diagram of a computing environment according to Example 1 of the present application;
[0020] Figure 3 This is a structural block diagram of a service grid according to Example 1 of the present application;
[0021] Figure 4 This is a flowchart of a method for processing server requirements according to Example 1 of the present application;
[0022] Figure 5 is a schematic diagram illustrating a first server requirement according to Example 1 of the present application;
[0023] Figure 6 is a schematic diagram of an expression concatenation result shown in Example 1 of the present application;
[0024] Figure 7 is a schematic diagram of a server requirement evaluation process according to Example 1 of the present application;
[0025] Figure 8 is a flowchart of another method for processing server requirements according to Example 2 of the present application;
[0026] Figure 9 is a flowchart of another method for processing server requirements according to Example 3 of the present application;
[0027] Figure 10 This is a structural block diagram of a server demand processing device according to Example 4 of the present application;
[0028] Figure 11 This is a structural block diagram of a processing device for server requirements according to Example 5 of the present application;
[0029] Figure 12 This is a structural block diagram of a processing device for server requirements according to Example 6 of the present application;
[0030] Figure 13 This is a structural block diagram of an electronic device according to Example 7 of the present application. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0033] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following interpretations:
[0034] Cloud Server: A cloud server is a simple, efficient, secure, reliable, and elastically scalable computing service. Cloud servers are simpler and more efficient to manage than physical servers. Users do not need to purchase hardware in advance when using cloud servers and can create or release as many servers as they want in a short period of time.
[0035] Example 1
[0036] According to an embodiment of the present application, a method for processing server requirements is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0037] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, an electronic device or a similar computing device. Figure 1 The hardware structure block diagram of an electronic device (or mobile device) for implementing a processing method for server requirements is shown in Example 1 of the present application. Figure 1 As shown, the electronic device 10 (or mobile device) may include one or more (illustrated as 102a, 102b, ..., 102n in the figure) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It will be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components than shown, or with Figure 1 Different configurations shown.
[0038] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuitry may be a single independent processing module, or may be incorporated in whole or in part into any of the other components of the electronic device 10 (or mobile device). As described in the embodiments of the present application, the data processing circuitry serves as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0039] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the methods in the embodiments of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, implementing the methods in the above embodiments. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories may be connected to the electronic device 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0040] The transmission device 106 is used to receive or send data via a network. Specific examples of the aforementioned network may include a wireless network provided by the communications provider of the electronic device 10. In one embodiment, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In one embodiment, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0041] The display may be, for example, a touch screen liquid crystal display (LCD), which may enable a user to interact with a user interface of the electronic device 10 (or mobile device).
[0042] Figure 1 The hardware structure block diagram shown can be used not only as an exemplary block diagram of the electronic device 10 (or mobile device), but also as an exemplary block diagram of the server. In an optional embodiment, Figure 2 The block diagram shows the use of the above Figure 1 The electronic device 10 (or mobile device) is shown as an embodiment of a computing node in the computing environment 201. Figure 2 This is a structural block diagram of a computing environment according to Example 1 of the present application. Figure 2 As shown, computing environment 201 includes multiple computing nodes (e.g., servers) (illustrated as 210-1, 210-2, ...) running on a distributed network. Each computing node includes local processing and memory resources, and end user 202 can remotely run applications or store data in computing environment 201. Applications can be provided as multiple services 220-1, 220-2, 220-3, and 220-4 in computing environment 201, representing services "A," "D," "E," and "H," respectively.
[0043] End user 202 can provide and access services through a web browser or other software application on a client. In some embodiments, the provisioning and / or request of end user 202 can be provided to the ingress gateway 230. The ingress gateway 230 may include a corresponding agent to handle the provisioning and / or request for services (one or more services provided in the computing environment 201).
[0044] Services are provided or deployed based on various virtualization technologies supported by the computing environment 201. In some embodiments, services can be provided based on virtual machine (VM)-based virtualization, container-based virtualization, and / or similar methods. Virtual machine-based virtualization can be to simulate a real computer by initializing a virtual machine, executing programs and applications without directly contacting any actual hardware resources. While the virtual machine virtualizes the machine, according to container-based virtualization, a container can be started to virtualize the entire operating system (OS) so that multiple workloads can run on a single operating system instance.
[0045] In an embodiment based on container virtualization, several containers of a service can be assembled into a Pod (e.g., a Kubernetes Pod). Figure 2 As shown, service 220-2 can be equipped with one or more Pods 240-1, 240-2, ..., 240-N (collectively, Pods). A Pod can include a proxy 245 and one or more containers 242-1, 242-2, ..., 242-M (collectively, containers). One or more containers in a Pod handle requests related to one or more corresponding functions of the service. Proxy 245 typically controls network functions related to the service, such as routing and load balancing. Other services can also be equipped with similar Pods.
[0046] During operation, executing a user request from the end user 202 may require calling one or more services in the computing environment 201, and executing one or more functions of a service may require calling one or more functions of another service. Figure 2 As shown, service “A” 220 - 1 receives a user request from end user 202 from ingress gateway 230 , service “A” 220 - 1 may call service “D” 220 - 2 , and service “D” 220 - 2 may request service “E” 220 - 3 to perform one or more functions.
[0047] This computing environment can be a cloud computing environment, where resource allocation is managed by the cloud service provider, allowing for feature development without having to worry about implementing, adjusting, or scaling servers. This computing environment allows developers to execute code in response to events without building or maintaining complex infrastructure. Services can be partitioned to perform a set of functions that can scale independently and automatically, rather than scaling a single hardware device to handle the potential load.
[0048] In another optional embodiment, Figure 3 The block diagram shows the use of the above Figure 1 The electronic device 10 (or mobile device) is shown as an embodiment of a service mesh. Figure 3 This is a structural diagram of a service grid according to Example 1 of the present application. Figure 3 As shown, the service grid 300 is mainly used to facilitate secure and reliable communication between multiple microservices. Microservices refer to decomposing an application into multiple smaller services or instances and distributing them to run on different clusters / machines.
[0049] like Figure 3 As shown, the microservices may include application service instance A and application service instance B, which form the functional application layer of the service grid 300. In one embodiment, application service instance A runs in the form of container / process 308 on machine / workload container group 314 (Pod), and application service instance B runs in the form of container / process 310 on machine / workload container group 316 (Pod).
[0050] In one implementation, application service instance A may be a product query service, and application service instance B may be a product ordering service.
[0051] like Figure 3As shown, application service instance A and grid proxy (sidecar) 303 coexist in machine workload container group 314, while application service instance B and grid proxy 305 coexist in machine workload container 316. Grid proxy 303 and grid proxy 305 form the data plane layer (dataplane) of service grid 300. Grid proxy 303 and grid proxy 305 run as container / process 304 and container / process 306, respectively, and can receive requests 312 for product query services. Bidirectional communication is possible between grid proxy 303 and application service instance A, and between grid proxy 305 and application service instance B. Furthermore, bidirectional communication is possible between grid proxy 303 and grid proxy 305.
[0052] In one embodiment, the traffic of application service instance A is routed to the appropriate destination via grid proxy 303, and the network traffic of application service instance B is routed to the appropriate destination via grid proxy 305. It should be noted that the network traffic mentioned herein includes, but is not limited to, Hypertext Transfer Protocol (HTTP), Representational State Transfer (REST), the high-performance, general-purpose open source framework (Google Remote Procedure Call, gRPC), the open source in-memory data structure storage system (Redis), and other forms.
[0053] In one embodiment, the data plane layer's functionality can be extended by writing custom filters for the proxy (Envoy) in service mesh 300. Service mesh proxy configuration can be designed to enable the service mesh to correctly proxy service traffic, enabling service interoperability and service governance. Mesh proxy 303 and mesh proxy 305 can be configured to perform at least one of the following functions: service discovery, health checking, routing, load balancing, authentication and authorization, and observability.
[0054] like Figure 3 As shown, the service grid 300 also includes a control plane layer. The control plane layer can be a group of services running in a dedicated namespace, and these services are hosted by a hosting control plane component 301 in a machine / workload container group (machine / Pod) 302. Figure 3As shown, managed control plane component 301 communicates bidirectionally with mesh proxy 303 and mesh proxy 305. Managed control plane component 301 is configured to perform certain control and management functions. For example, managed control plane component 301 receives telemetry data transmitted by mesh proxy 303 and mesh proxy 305 and can further aggregate this telemetry data. Managed control plane component 301 also provides user-oriented application programming interfaces (APIs) to facilitate manipulation of network behavior and to provide configuration data to mesh proxy 303 and mesh proxy 305.
[0055] Under the above operating environment, this application provides Figure 4 The server requirements are handled as shown. Figure 4 This is a flow chart of a method for processing server requirements according to Example 1 of the present application, as shown in FIG. Figure 4 As shown, the steps of the method include:
[0056] Step S402: determining at least one target dimension from a plurality of preset dimensions required by the server, and acquiring dimension information of the target dimension and association relationships between the target dimensions.
[0057] The multiple preset dimensions of server requirements mentioned above may refer to parameters set for the server and used to describe the configuration and selection of the server. By setting the dimensional information of different preset dimensions, corresponding server requirements can be generated. The preset dimensions may include, but are not limited to, parameters such as availability zone, tier-3 product, network type, model, specification group, and specifications. Availability zone may refer to the physical location of a data center, tier-3 product may refer to the classification level of products provided by a service provider, network type may refer to the network access method of the server, model may refer to different configurations and specifications of the server, specification group may refer to different specification combinations of a specific product or service, and specification may refer to other features or configurations of a specific product or service. Users can select from the preset multiple dimensions to set up cloud server resources that meet their needs. The above-mentioned dimensional information may refer to relevant information that users can select under the target dimension. For example, the dimensional information corresponding to the availability zone may include regional information such as region 1, region 2, and region 3, and the network type may include public network, private network, etc. The above-mentioned association relationship may refer to the logical relationship between different target dimensions, which may include but is not limited to: the dimension information of multiple target dimensions needs to be added together to meet the requirements, which can be represented by all(); meeting them at the same time can be represented by patch(); meeting any one of them can be represented by any(); meeting them in order can be represented by Order(), etc.
[0058] In an optional solution of this embodiment, in order to reasonably formulate server requirements for users, the server requirement processing system (hereinafter referred to as the processing system) can first determine at least one target dimension from multiple preset dimensions corresponding to the server requirements, and obtain dimension information matching the user requirements under the target dimension, as well as the correlation relationship between different target dimensions.
[0059] In an optional solution of this embodiment, considering that different users may have different degrees of understanding of different dimensions of the server, in order to facilitate users to select target dimensions and configure the dimensional information of the target dimensions and the association between the target dimensions, the processing system can first obtain the user's degree of understanding of the server. For example, the processing system can send a prompt question to the user "Do you understand this server?", and then determine the degree of understanding based on the user's reply content through a preset semantic understanding model. Finally, the processing system can select an appropriate method to determine the above-mentioned target dimensions, as well as the dimensional information of the target dimensions and the association between the target dimensions based on the degree of understanding. For example, if the user is familiar with the server, then when determining the target dimension, the processing system can display these multiple preset dimensions to the user in a preset user interaction interface, and upon receiving a dimension selection instruction input by the user, select a dimension that matches the dimension selection instruction from multiple preset dimensions as the target dimension, and display the dimension information, association relationships, and other content corresponding to the target dimension that can be selected by the user to the user. Finally, based on the dimension information, association relationships, and other content input by the user, the dimension information of the above-mentioned target dimension and the association relationships between the target dimensions are obtained, thereby ensuring that the generated server requirements can fully meet the user's needs and improve the user's usage experience. If the user does not understand the server, then when determining the target dimension, target dimension, and target When processing the dimension information of the server and the correlation relationship between the target dimensions, the processing system can select at least one easy-to-understand dimension as the target dimension based on the difficulty of splitting the multiple preset dimensions, so as to facilitate the user to select the dimension information corresponding to the target dimension, the correlation relationship between the target dimensions and other contents according to the needs, or can recommend to the user the target dimension-dimensional information-correlation relationship selection method commonly used by other users based on the selection of the target dimension of the server by other users. The user can use the selection method recommended by the processing system as a reference to select the required target dimension, as well as the dimension information of the target dimension, the correlation relationship between the target dimensions and other contents from multiple preset dimensions, thereby reducing the user's operation difficulty and improving the user's usage experience.
[0060] Step S404: Generate a first server requirement based on the dimension information of the target dimension and the association relationship between the target dimensions.
[0061] In an optional scheme of this embodiment, after obtaining the dimensional information of the target dimension and the association relationship between the target dimensions, the processing system can generate a first server requirement that can meet the user's demand for using the server based on the dimensional information and the association relationship. For example, the processing system can first summarize the dimensional information of the target dimension and the dimensional information of other dimensions in multiple preset dimensions except the target dimension, and according to the default association relationship, such as the relationship of simultaneous satisfaction, preliminarily generate an initial server requirement based on the summarized dimensional information, and then update the association relationship in the initial server requirement based on the obtained association relationship between the target dimensions, thereby obtaining the above-mentioned first server requirement.
[0062] Step S406: Evaluate the first server requirement to obtain a first evaluation result of the first server requirement.
[0063] The first evaluation result is used to indicate whether the server resources meet the first server requirement.
[0064] In an optional scheme of this embodiment, in addition to considering whether the generated first server demand can fully meet the user's demand for using the server, the generated first server demand can also be evaluated to determine whether the corresponding server group members can meet the first server demand. For example, the processing system can determine the target resources to be used from the existing server resources based on the dimension information and association relationship configured in the first server demand, and simulate the use process of the target resources according to the association relationship to determine whether the existing server resources can meet the normal execution of the first server demand, and generate corresponding execution results. The execution results may include but are not limited to: response speed, stability, load processing status, resource utilization ratio, etc. Different evaluation weights can be set for different execution results. The processing system selects an appropriate method to evaluate different execution results to obtain evaluation results corresponding to different execution results, and then generates the above-mentioned first evaluation result based on the evaluation results and the corresponding evaluation weights.
[0065] In an optional solution of this embodiment, after generating the above-mentioned first evaluation result, the processing system can also display the first evaluation result to the user in the interactive interface, and the user can determine whether to continue to use the corresponding server according to the first server requirement, thereby improving the user's usage experience.
[0066] In an embodiment of the present application, at least one target dimension is determined from multiple preset dimensions of server requirements, and dimension information of the target dimension and the correlation relationship between the target dimensions are obtained; based on the dimension information of the target dimension and the correlation relationship between the target dimensions, a first server requirement is generated; the first server requirement is evaluated to obtain a first evaluation result of the first server requirement, and the corresponding first server requirement is quickly generated according to parameters such as the target dimension, dimension information and correlation relationship of the user requirement, while reducing the difficulty of the user configuring the server requirement and improving the efficiency of the first server requirement generation, and then the first server requirement is evaluated according to whether the server resources can meet the generation of the first server requirement to obtain the feasibility of the first server requirement, which can improve the user's trust in the first server requirement, so that the user does not need to repeatedly verify the rationality of the first server requirement, reducing the difficulty of the user configuring the server requirement, and thus solving the technical problem in the related art that it is difficult for the user to configure the server requirement according to his own needs.
[0067] In an embodiment of the present application, at least one target dimension is determined from multiple preset dimensions required by the server, and dimension information of the target dimension and the association relationship between the target dimensions are obtained, including: displaying multiple preset dimensions in an interactive interface; responding to selection operations acting on multiple preset dimensions, obtaining the target dimensions corresponding to the selection operations; responding to a first input operation acting on the target dimension, obtaining dimension information of the target dimension corresponding to the first input operation; responding to a second input operation acting between the target dimensions, obtaining the association relationship between the target dimensions corresponding to the second input operation.
[0068] The first input operation may refer to an operation in which a user inputs dimension information of a target dimension, and may include but is not limited to: selecting specified dimension information from multiple dimension information provided by the processing system, entering text related to the dimension information in a preset input box, etc. The second input operation may refer to an operation in which a user inputs an association relationship between target dimensions, and may include but is not limited to: selecting a specified association relationship from multiple association relationships provided by the processor, entering text related to the association relationship in a preset input box, etc.
[0069] In an optional solution of this embodiment, in order to ensure the accuracy of the acquired target dimension, the dimensional information of the target dimension, and the association relationship between the target dimensions, the processing system may first display the above-mentioned multiple preset dimensions in a preset interactive interface, and the user may select multiple preset dimensions in the interactive interface according to needs. The processing system may determine the target dimension from the above-mentioned multiple preset dimensions based on the user's selection operation, wherein the user's selection operation may include but is not limited to: selection, removal, retention and other operations. The corresponding processing system may determine the preset dimension selected or retained by the user as the target dimension, and determine the preset dimension removed by the user as other dimensions. After the user selects the target dimension, the processing system may further detect the above-mentioned first input operation and the second input operation. When the first input operation acting on the target dimension is detected, the processing system may use the dimensional information corresponding to the first input operation as the dimensional information of the target dimension. When the second input operation acting on the target dimension is detected, the processing system may use the association relationship corresponding to the second input operation as the association relationship between the target dimensions.
[0070] For example, when determining dimensional information and association relationships, the processing system can display to the user the dimensional information corresponding to the target dimension that the user can select, as well as the association relationships between different target dimensions that the user can select. The user can quickly select the dimensional information of the target dimension and the association relationship between the target dimensions from the dimensional information and association relationships displayed by the processing system according to his or her own needs, so as to improve the accuracy of the processing system in obtaining dimensional information and association relationships; or an input box can be preset in the above-mentioned interactive interface, and the user can enter the text corresponding to the need to use the server into the input box. The processing system can use the preset semantic model to analyze the content input by the user, determine the dimensional information of the target dimension and the association relationship between the target dimensions, so as to improve the efficiency of the processor in obtaining dimensional information and association relationships.
[0071] Figure 5 is a schematic diagram illustrating a first server requirement according to Example 1 of the present application. Figure 5 The upper part represents the server requirements corresponding to a single specification and a single availability zone, and the lower part represents the server requirements corresponding to a single specification and a region. Among them, the region, availability zone, specification, quantity, specification ratio, etc. represent the target dimensions selected by the user. AreaA, AreaB, AreaC, etc. represent the dimension information of the region dimension. n, 1000, 3000, etc. represent the dimension information of the quantity dimension. A-1 represents the dimension information of the availability zone dimension. SpeA represents the dimension information of the specification dimension. In represents the sum of multiple solutions, that is, in the server requirements corresponding to a single specification and a single availability, at least the SpeA specification parameters must be met at the same time. R represents the dimension information of the specification ratio dimension. It represents the selection button of the association relationship. Users can click this button to select the association relationship between target dimensions. It represents the button for expanding options. Users can click the button to view the available relationships. Represents the delete button. Users can delete redundant target dimensions by clicking this button. The symbol "&&" represents the add button, which allows users to add additional target dimensions and their dimensional information. The symbol "&&" represents the simultaneous satisfaction relationship selected by the user. The relationships selected by the user may include, but are not limited to, simultaneous satisfaction, single satisfaction, and sequential satisfaction. It should be noted that the above symbols and data are for illustrative purposes only. Staff can customize these symbols and data based on their needs and are not limited here.
[0072] like Figure 5 As shown in the figure, the server requirements for a single specification and a single availability zone include: region AreaA, availability zone A-1, specification SpeA, and quantity n. The association between different dimensions can be selected by the user. The server requirements for a single specification and region include: specification ratio R, quantity 1000, and regions AreaA, AreaB, and AreaC. These multiple regions must be met simultaneously, and the quantity for each region must be greater than 3000 for AreaA, AreaB, and AreaC.
[0073] In an optional solution of this embodiment, taking into account that users have different degrees of understanding of different server preset dimensions, in order to facilitate users to understand the meanings represented by different preset dimensions, the meanings corresponding to different preset dimensions can be displayed to users near different preset dimensions to improve the user experience of using the processing system. Furthermore, in order to avoid user confusion, multiple display boxes can be additionally set in the above-mentioned interactive interface to display the meanings corresponding to different preset dimensions. When the user clicks on a preset dimension, the processing system can display the display box corresponding to the preset dimension in the preset area of the interactive interface to show the meaning of the preset dimension to the user.
[0074] In an embodiment of the present application, a first server requirement is generated based on the dimensional information of the target dimension and the association relationship between the target dimensions, including: generating at least one expression based on the dimensional information of the target dimension; splicing the expressions based on the association relationship between the target dimensions to generate the first server requirement.
[0075] The above expression may refer to an expression used to characterize the relationship between the target dimension and the dimension information, and may include but is not limited to: regular expressions, wildcard expressions, syntax tree expressions, etc. Taking the target dimension as region as an example, the expression corresponding to the region dimension may include but is not limited to: specification == SpeA, quantity == 1000, etc.
[0076] In an optional scheme of this embodiment, when generating the first server requirement, the processing system can first generate at least one corresponding expression according to the preset format of the expression based on the dimension information of the acquired target dimension, and then apply the association relationship between the acquired target dimensions to the generated expression, that is, connect the at least one generated expression according to the association relationship between the target dimensions to generate the above-mentioned first server requirement.
[0077] For ease of understanding, Figure 6 is a schematic diagram of an expression concatenation result shown in Example 1 of the present application, such as Figure 6 As shown, && represents the association relationship between target dimensions that is satisfied at the same time. InstanceType, NeedAmount, IzNo / IzNo / , etc. represent the target dimensions. T1 represents the dimension information of InstanceType, 3000 represents the dimension information of NeedAmount, and AZ1, AZ2, AZ3, etc. represent the dimension information of InstanceType. Correspondingly, in Figure 6 The expressions included in include: InstanceType==T1, IzNo / IzNo / …==AZ1, IzNo / IzNo / …==AZ2, IzNo / IzNo / …==AZ3, NeedAmount==3000. The processing system connects the above multiple expressions according to the association relationship between the target dimensions, i.e. &&, to obtain the corresponding first server demand. In order to facilitate users to adjust the generated first server demand according to their own needs, you can also reserve the addition of relationships, addition of relationship layers, addition of conditions, etc. when splicing expressions. Expand the Options button and Options such as the delete button are provided to facilitate users to adjust the first server requirements, thereby reducing the difficulty for users to configure server requirements according to their own needs.
[0078] In an embodiment of the present application, the above method also includes: displaying the first server requirement in an interactive interface; responding to a modification operation acting on the interactive interface, modifying the first server requirement based on the modification operation to obtain a second server requirement; evaluating the second server requirement to obtain a second evaluation result of the second server requirement, wherein the second evaluation result is used to characterize whether the server resources meet the second server requirement.
[0079] In an optional solution of this embodiment, after generating the first server requirement, the processing system can display the first server requirement to the user in the interactive interface, and the user can determine whether the server resources can be used according to the first server requirement. If the user agrees to the first server requirement, the processing system can evaluate the first server requirement and use the corresponding server according to the first server requirement based on the evaluation result. If the user has other requirements or modifications to the first server requirement, the processing system can adjust the target dimension, the dimensional information of the target dimension, the association between the target dimensions, etc. based on the first server requirement according to the user's requirements or modifications to obtain a server requirement that can meet the user's requirements, and then use the corresponding server resources according to the adjusted server requirement. Correspondingly, when a modification operation of the user acting on the interactive interface is detected, that is, an operation to modify the first server requirement, the processing system can adjust the first server according to the modification operation to obtain the above-mentioned second server requirement, and then evaluate the second server requirement to obtain the above-mentioned second evaluation result, that is, determine whether the existing server resources can meet the second server requirement, and display the second evaluation result to the user in the preset interactive interface.
[0080] In an embodiment of the present application, the first server demand is evaluated to obtain a first evaluation result of the first server demand, including: converting the first server demand to generate a first scheduling strategy corresponding to the server resources; and evaluating the first server demand based on the first scheduling strategy to obtain a first evaluation result.
[0081] The first scheduling strategy may refer to a strategy for scheduling existing server resources of the server. To meet the user's demand for using server resources, the first scheduling strategy may refer to a scheduling strategy constructed according to the generated first server demand.
[0082] In an optional scheme of this embodiment, in order to ensure the accuracy of the evaluation of the generated server demand, when evaluating the first server demand, the processing system can first convert the first server demand to obtain a first scheduling strategy for scheduling the current server resources of the server, and then use the first scheduling strategy to evaluate the first server demand. For example, the processing system can determine the type of resources, quantity of resources, order and process of resource consumption, etc. that need to be scheduled according to the first server demand to construct the above-mentioned first scheduling strategy, and then perform scheduling simulation on the existing server resources according to the first scheduling strategy to simulate the corresponding server resource utilization, server load and other parameters when using the server resources according to the first server demand to obtain the simulation results of the scheduling simulation process. Finally, based on the simulation results, a first evaluation result corresponding to the first server demand can be generated.
[0083] In an embodiment of the present application, the above method also includes: determining the current division granularity of the first server demand; when the current division granularity meets the preset division granularity, evaluating the first server demand to obtain a first evaluation result; when the current division granularity meets the preset division granularity, dividing the first server demand according to the preset division granularity to obtain multiple sub-server demands, and evaluating the multiple sub-server demands to obtain a first evaluation result.
[0084] The preset division granularity may refer to the minimum granularity corresponding to the dimension information of the target dimension and the association relationship between the target dimensions.
[0085] In an optional solution of this embodiment, in order to improve the accuracy of the evaluation of the first server demand, the processing system may first determine the current division granularity of the first server demand, that is, determine whether the current format of the first server demand is a preset format composed of multiple basic target dimensions, wherein the preset format may be: specification + available zone + quantity + network type. If the current division granularity of the first server demand meets the preset division granularity, the processing system may directly evaluate the first server demand to obtain the corresponding first evaluation result; if the current division granularity of the first server demand does not meet the preset division granularity, the processing system may divide the first server demand according to the preset division granularity to obtain multiple sub-server demands that meet the preset division granularity, and then evaluate the divided sub-server demands to obtain evaluation results corresponding to the multiple sub-server demands, and summarize these evaluation results to obtain the corresponding first evaluation result.
[0086] In an embodiment of the present application, the first server demand is divided according to a preset division granularity to obtain multiple sub-server demands, including: dividing the first server demand to obtain multiple initial server demands; performing demand simulation on the initial server demand to obtain an initial simulation result of the initial server demand, wherein the initial simulation result is used to characterize whether the server resources meet the initial server demand; summarizing the initial server demand based on the initial simulation result, or dividing the initial server demand to obtain multiple sub-server demands.
[0087] In an optional solution of this embodiment, when dividing the first server demand, the first server demand can be divided according to the preset division granularity to obtain multiple initial server demands that meet the preset division granularity, and then the demand simulation is performed according to the divided initial server demand in the aforementioned manner to obtain an initial simulation result of the initial server demand, that is, to determine whether the existing server resources can meet the divided initial server demand, and finally the initial server demand is summarized according to the obtained initial simulation result, or after the initial server demand is divided, the above-mentioned multiple sub-server demands can be obtained. For example, if the initial simulation result shows If it is shown that the existing server resources can meet the divided initial server demand, the initial server demand can be directly determined as a sub-server demand, or the initial server demand can be further divided to obtain a server demand with a smaller division granularity, and the demand simulation operation can be performed on the newly divided server demand to obtain the above-mentioned sub-server demand; if the initial simulation result shows that the existing server resources cannot meet the divided initial server demand, the initial server demand that cannot be normally executed under the existing server resources can be summarized to obtain a new server demand with a higher division granularity that can be normally executed under the existing server resources, thereby obtaining the above-mentioned sub-server demand.
[0088] In an embodiment of the present application, a demand simulation is performed on the initial server demand to obtain an initial simulation result of the initial server demand, including: determining the initial association relationship contained in the initial server demand; when the initial association relationship is a preset association relationship, a demand simulation is performed on the initial server demand to obtain an initial simulation result.
[0089] The aforementioned preset association relationship may refer to an association relationship that needs to be satisfied simultaneously.
[0090] In an optional scheme of this embodiment, in order to ensure the accuracy of the initial simulation results, when performing demand simulation, the processing system can first detect the association relationship contained in the initial server to obtain the above-mentioned initial association relationship, and then determine whether the initial association relationship is the above-mentioned preset association relationship. In the case that the initial association relationship is the preset association relationship, the demand simulation operation can be performed on the initial server demand to obtain the above-mentioned initial simulation results.
[0091] In an embodiment of the present application, multiple sub-server demands are evaluated to obtain a first evaluation result, including: summarizing the multiple sub-server demands to obtain a third server demand; converting the third server demand to generate a second scheduling strategy corresponding to the server resources; and evaluating the third server demand based on the second scheduling strategy to obtain a first evaluation result.
[0092] In an optional solution of this embodiment, when evaluating the requirements of multiple sub-servers, the data processing system can first summarize the requirements of multiple sub-servers to construct the above-mentioned third server requirement, and then convert the third server requirement as shown above to obtain a new second scheduling strategy for scheduling the current server resources. Finally, the processing system can evaluate the third server requirement according to the second scheduling strategy to obtain an evaluation result of the third server requirement, which can be the above-mentioned first evaluation result.
[0093] In an embodiment of the present application, the above method also includes: outputting a first evaluation result in an interactive interface; responding to an adjustment operation acting on the interactive interface, adjusting the target dimension, dimensional information and / or association relationship based on the adjustment operation; responding to a re-evaluation operation acting on the interactive interface, evaluating the first server demand based on the re-evaluation operation, and obtaining a re-evaluation result of the first server demand.
[0094] In an optional scheme of this embodiment, the processing system can display the generated first evaluation result to the user in the interactive interface, and the user can also determine whether the current first server requirement can be adopted to use the corresponding server based on the first evaluation result. For example, if the first evaluation result shows that the current first server requirement can be executed smoothly, the user can directly adopt the first server requirement; if the first evaluation result shows that the current first server requirement cannot be executed smoothly, the user can adjust the first server based on the first evaluation result, for example, adjust one or more of the target dimensions, dimension information, and association relationships contained in the first server requirement. Correspondingly, when the processing system detects an adjustment operation acting on the interactive interface, the above-mentioned target dimensions, dimension information, and association relationships can be adjusted according to the adjustment operation to obtain a new server requirement, and when the processing system receives an operation to evaluate the new server requirement, that is, the above-mentioned re-evaluation operation, the new server requirement can be evaluated according to the re-evaluation operation to obtain the above-mentioned re-evaluation result.
[0095] To understand the above equation for estimating server requirements, Figure 7 is a schematic diagram of a server requirement evaluation process according to Example 1 of the present application, such as Figure 7As shown, the processing system can first evaluate the current online resources of the cloud server to determine whether the current online resources can meet the current server demand, such as the aforementioned first server demand. If it can be met, the processing system can cut the current server demand according to the smallest sku (Stock Keeping Unit) granularity, that is, the aforementioned division granularity, to obtain multiple server demands that can be smoothly processed, and then perform demand conversion operations on the cut server demands according to the aforementioned process to obtain corresponding scheduling strategies, and finally perform demand simulation operations on the server demands according to the scheduling strategies to obtain corresponding evaluation results; if it cannot be met, the processing system can adopt a parallel structure division method, use a preset AZ division module to divide the first server demand, and use MapReduce (a distributed computing model for processing large-scale data sets) task distribution to process the multiple divided initial server demands in parallel, and respectively process different processing server demands, such as AZ1, AZ2 and AZ3, according to the rules. The specifications of the server requirements are uniformly divided by grid operator division, specification preprocessing, specification screening and other operations, and then the initial association relationship contained in the initial server requirements is determined. When the initial association relationship is a preset association relationship, the initial server requirements are subjected to demand simulation packing operations to obtain the corresponding initial simulation results to determine whether the current server resources can meet the divided initial server requirements, and further the results obtained by demand simulation packing are aggregated and cut according to the specification operators to organize the demand simulation packing results corresponding to different initial server requirements, and finally, according to the initial simulation results, the above-mentioned initial server requirements are aggregated according to the AZ operator (any / all / order) to obtain the maximum inventory capacity, or the requirements under the AZ granularity are cut to obtain multiple sub-server requirements. After obtaining the sub-server requirements, the processing system can perform demand conversion operations on the sub-server requirements to obtain the corresponding scheduling strategy, and then perform demand simulation on the server requirements according to the scheduling strategy to perform accurate evaluation operations, thereby obtaining the corresponding evaluation results.
[0096] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0097] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0098] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.
[0099] Example 2
[0100] According to an embodiment of the present application, a method for processing server requirements is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0101] Figure 8 is a flowchart of another method for processing server requirements according to Example 2 of the present application, such as Figure 8 As shown, the method may include the following steps:
[0102] Step S802: determine at least one target dimension from a plurality of preset dimensions required by the cloud server, and obtain dimension information of the target dimension and the association relationship between the target dimensions.
[0103] Among them, cloud server demand is used to represent the demand for cloud server resources.
[0104] The multiple preset dimensions of cloud server requirements may refer to parameters set for cloud servers and used to describe cloud server resources, including but not limited to availability zone, tier 3 product, network type, machine model, specification group, and specifications. The aforementioned dimensional information may refer to relevant information that a user can select under a target dimension. The aforementioned associations may refer to logical relationships between different target dimensions.
[0105] In an optional solution of this embodiment, in a cloud computing scenario, in order to reasonably generate requirements for users to use cloud server resources, the processing system can first determine at least one target dimension from multiple preset dimensions corresponding to the above-mentioned cloud server requirements, and obtain parameters such as dimension information matching the user requirements, the correlation relationship between different target dimensions, etc. under the target dimension.
[0106] In an optional solution of this embodiment, considering that the update and iteration speed of the cloud server is relatively fast, different users may have different levels of understanding of different dimensions of the cloud server. Therefore, in order to facilitate the user to select the target dimension and configure the dimensional information of the target dimension and the association relationship between the target dimensions, the processing system can first obtain the user's understanding of the cloud server, and select an appropriate method to determine the above-mentioned target dimension, as well as the dimensional information of the target dimension and the association relationship between the target dimensions based on the understanding. For example, if the user understands the cloud server, when determining the target dimension, the processing system can display these multiple preset dimensions to the user in a preset user interaction interface, and when receiving the dimension selection instruction input by the user, select the dimension that matches the dimension selection instruction from the multiple preset dimensions as the target dimension, and display the dimension information, association relationship, etc. corresponding to the target dimension that can be selected by the user to the user. Finally, based on the dimension information, association relationship, etc. input by the user, the dimensional information of the above-mentioned target dimension and the association relationship between the target dimensions are obtained, thereby ensuring that the generated cloud server requirements can fully meet the user's needs and improve the user's usage experience; if the user does not understand the cloud server, when determining the target dimension, ... When processing the dimension information of the target dimension and the correlation between the target dimensions, the processing system can select at least one easy-to-understand dimension as the target dimension based on the difficulty of splitting the multiple preset dimensions, so as to facilitate the user to select the dimension information corresponding to the target dimension, the correlation between the target dimensions and other contents according to the needs, or can recommend to the user the target dimension-dimensional information-correlation selection method commonly used by other users based on the selection of the target dimension of the cloud server by other users. The user can use the selection method recommended by the processing system as a reference to select the required target dimension, as well as the dimension information of the target dimension, the correlation between the target dimensions and other contents from multiple preset dimensions, thereby reducing the user's operation difficulty and improving the user's usage experience.
[0107] Step S804: Generate a first cloud server requirement based on the dimension information of the target dimension and the association relationship between the target dimensions.
[0108] In an optional scheme of this embodiment, after obtaining the dimensional information of the target dimension and the association relationship between the target dimensions, the processing system can generate a first cloud server requirement that can meet the user's demand for using the cloud server based on the dimensional information and the association relationship. For example, the processing system can first summarize the dimensional information of the target dimension and the dimensional information of other dimensions in multiple preset dimensions except the target dimension, and according to the default association relationship, such as the relationship of simultaneous satisfaction, preliminarily generate an initial cloud server requirement based on the summarized dimensional information, and then update the association relationship in the initial cloud server requirement based on the obtained association relationship between the target dimensions, thereby obtaining the above-mentioned first cloud server requirement.
[0109] Step S806: Evaluate the first cloud server demand to obtain a first evaluation result of the first cloud server demand.
[0110] The first evaluation result is used to indicate whether the cloud server resources meet the first cloud server requirements.
[0111] In an optional scheme of this embodiment, in addition to considering whether the generated first cloud server demand can fully meet the user's demand for using the cloud server, the generated first cloud server demand can also be evaluated to determine whether the corresponding cloud server member can meet the first cloud server demand. For example, the processing system can determine the target resources to be used from the existing cloud server resources based on the dimension information and association relationship configured in the first cloud server demand, and simulate the use process of the target resources according to the association relationship to determine whether the existing cloud server resources can meet the normal execution of the first cloud server demand, and generate corresponding execution results. The execution results may include but are not limited to: response speed, stability, load processing status, resource utilization ratio, etc. Different evaluation weights can be set for different execution results. The processing system selects an appropriate method to evaluate different execution results to obtain evaluation results corresponding to different execution results, and then generates the above-mentioned first evaluation result based on the evaluation results and the corresponding evaluation weights.
[0112] In an optional solution of this embodiment, after generating the above-mentioned first evaluation result, the processing system can also display the first evaluation result to the user in the interactive interface, and the user can determine whether to continue to use the corresponding cloud server according to the first cloud server requirements, thereby improving the user's usage experience.
[0113] In an embodiment of the present application, at least one target dimension is determined from multiple preset dimensions required by the cloud server, and dimension information of the target dimension and the association relationship between the target dimensions are obtained, including: displaying multiple preset dimensions in an interactive interface; responding to selection operations acting on multiple preset dimensions, obtaining the target dimensions corresponding to the selection operations; responding to a first input operation acting on the target dimension, obtaining dimension information of the target dimension corresponding to the first input operation; responding to a second input operation acting between the target dimensions, obtaining the association relationship between the target dimensions corresponding to the second input operation.
[0114] The first input operation may refer to an operation in which a user inputs dimension information of a target dimension. The second input operation may refer to an operation in which a user inputs an association relationship between target dimensions.
[0115] In an optional solution of this embodiment, in order to ensure the accuracy of the acquired target dimension, the dimensional information of the target dimension, and the association relationship between the target dimensions, the processing system may first display the above-mentioned multiple preset dimensions in a preset interactive interface, and the user may select multiple preset dimensions in the interactive interface according to needs. The processing system may determine the target dimension from the above-mentioned multiple preset dimensions based on the user's selection operation, wherein the user's selection operation may include but is not limited to: selection, removal, retention and other operations. The corresponding processing system may determine the preset dimension selected or retained by the user as the target dimension, and determine the preset dimension removed by the user as other dimensions. After the user selects the target dimension, the processing system may further detect the above-mentioned first input operation and the second input operation. When the first input operation acting on the target dimension is detected, the processing system may use the dimensional information corresponding to the first input operation as the dimensional information of the target dimension. When the second input operation acting on the target dimension is detected, the processing system may use the association relationship corresponding to the second input operation as the association relationship between the target dimensions.
[0116] In an embodiment of the present application, a first server requirement is generated based on the dimensional information of the target dimension and the association relationship between the target dimensions, including: generating at least one expression based on the dimensional information of the target dimension; splicing the expressions based on the association relationship between the target dimensions to generate the first cloud server requirement.
[0117] The above expression may refer to an expression used to characterize the relationship between the target dimension and the dimension information, and may include but is not limited to: a regular expression, a wildcard expression, a syntax tree expression, etc.
[0118] In an optional scheme of this embodiment, when generating the first cloud server requirement, the processing system can first generate at least one corresponding expression according to an expression in a preset format based on the dimension information of the acquired target dimension, and then apply the association relationship between the acquired target dimensions to the generated expression, that is, connect the at least one generated expression according to the association relationship between the target dimensions to generate the above-mentioned first cloud server requirement.
[0119] It should be noted that the preferred implementation scheme involved in the above embodiments of this application is the same as the scheme provided in Example 1, as well as the application scenario and implementation process, but is not limited to the scheme provided in Example 1.
[0120] Example 3
[0121] According to an embodiment of the present application, a method for processing server requirements is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0122] Figure 9 is a flowchart of another method for processing server requirements according to Example 3 of the present application, such as Figure 9 As shown, the method may include the following steps:
[0123] Step S902: acquiring at least one target dimension, dimension information of the target dimension, and association relationships between target dimensions by calling a first interface.
[0124] The first interface includes a first parameter, and the parameter value of the first parameter includes a target dimension, dimension information, and an association relationship. The target dimension is a dimension determined from multiple preset dimensions required by the server.
[0125] In an optional solution of this embodiment, in order to reasonably formulate server requirements for users, the processing system can first determine at least one target dimension from multiple preset dimensions corresponding to the server requirements by calling the first parameter of the first interface, and obtain dimension information matching the user requirements under the target dimension, as well as the correlation relationship between different target dimensions.
[0126] Step S904: Generate a first server requirement based on the dimension information of the target dimension and the association relationship between the target dimensions.
[0127] In an optional solution of this embodiment, after obtaining the dimension information of the target dimension and the association relationship between the target dimensions, the processing system can generate a first server requirement that can meet the user's demand for using the server based on the dimension information and the association relationship.
[0128] Step S906: Evaluate the first server requirement to obtain a first evaluation result of the first server requirement.
[0129] The first evaluation result is used to indicate whether the server resources meet the first server requirement.
[0130] In an optional solution of this embodiment, in addition to considering whether the generated first server demand can fully meet the user's demand for using the server, the generated first server demand can also be evaluated to determine whether the corresponding server group members can meet the first server demand.
[0131] Step S908: Output the first evaluation result by calling the second interface.
[0132] The second interface includes a second parameter, and a parameter value of the second parameter includes the first evaluation result.
[0133] In an optional solution of this embodiment, after obtaining the first evaluation result, the processing system may output the second parameter, that is, output the first evaluation result, through the second interface mentioned above, for the convenience of user viewing.
[0134] It should be noted that the preferred implementation scheme involved in the above embodiments of this application is the same as the scheme provided in Example 1, as well as the application scenario and implementation process, but is not limited to the scheme provided in Example 1.
[0135] Example 4
[0136] According to an embodiment of the present application, a server demand processing device for implementing the above-mentioned server demand processing method is also provided. Figure 10 This is a structural block diagram of a processing device for server requirements according to Example 4 of the present application. Figure 10 As shown, the apparatus includes: a first acquisition module 1002 , a first generation module 1004 and a first evaluation module 1006 .
[0137] Among them, the first acquisition module 1002 is used to determine at least one target dimension from multiple preset dimensions of server requirements, and obtain dimensional information of the target dimension, as well as the correlation relationship between the target dimensions; the first generation module 1004 is used to generate the first server requirement based on the dimensional information of the target dimension and the correlation relationship between the target dimensions; the first evaluation module 1006 is used to evaluate the first server requirement and obtain a first evaluation result of the first server requirement, wherein the first evaluation result is used to characterize whether the server resources meet the first server requirement.
[0138] Optionally, the first acquisition module 1002 includes: a dimension display unit, used to display multiple preset dimensions in the interactive interface; a dimension acquisition unit, used to respond to selection operations acting on multiple preset dimensions, and obtain target dimensions corresponding to the selection operations; an information acquisition unit, used to respond to a first input operation acting on the target dimension, and obtain dimension information of the target dimension corresponding to the first input operation; and a relationship acquisition unit, used to respond to a second input operation acting between target dimensions, and obtain the association relationship between the target dimensions corresponding to the second input operation.
[0139] Optionally, the first generation module 1004 includes: an expression generation unit, configured to generate at least one expression based on dimension information of the target dimension; and an expression splicing unit, configured to splice expressions based on associations between target dimensions to generate the first server requirement.
[0140] Optionally, the above-mentioned device also includes: a demand display module, used to display the first server demand in the interactive interface; a demand modification module, used to respond to the modification operation acting on the interactive interface, modify the first server demand based on the modification operation, and obtain the second server demand; a demand evaluation module, used to evaluate the second server demand and obtain a second evaluation result of the second server demand, wherein the second evaluation result is used to characterize whether the server resources meet the second server demand.
[0141] Optionally, the first evaluation module 1006 includes: a demand conversion unit, used to convert the first server demand and generate a first scheduling policy corresponding to the server resources; a demand evaluation unit, used to evaluate the first server demand based on the first scheduling policy and obtain a first evaluation result.
[0142] Optionally, the above-mentioned device also includes: a granularity determination module, used to determine the current division granularity of the first server demand; a first evaluation module, used to evaluate the first server demand when the current division granularity meets the preset division granularity, and obtain a first evaluation result; a second evaluation module, used to divide the first server demand according to the preset division granularity when the current division granularity meets the preset division granularity, obtain multiple sub-server demands, and evaluate the multiple sub-server demands to obtain a first evaluation result.
[0143] Optionally, the second evaluation module includes: a demand division unit, used to divide the first server demand to obtain multiple initial server demands; a demand simulation unit, used to simulate the initial server demand to obtain an initial simulation result of the initial server demand, wherein the initial simulation result is used to characterize whether the server resources meet the initial server demand; a sub-server demand determination unit, used to summarize the initial server demand based on the initial simulation result, or to divide the initial server demand to obtain multiple sub-server demands.
[0144] Optionally, the demand simulation unit is further configured to: determine an initial association relationship included in the initial server demand; and when the initial association relationship is a preset association relationship, perform demand simulation on the initial server demand to obtain an initial simulation result.
[0145] Optionally, the second evaluation module includes: a demand aggregation unit, used to aggregate the demands of multiple sub-servers to obtain the demand of a third server; a demand conversion unit, used to convert the demand of the third server to generate a second scheduling strategy corresponding to the server resources; and a demand evaluation unit, used to evaluate the demand of the third server based on the second scheduling strategy to obtain a first evaluation result.
[0146] Optionally, the above-mentioned device also includes: a result output module, which is used to output the first evaluation result in the interactive interface; a dimension adjustment module, which is used to respond to the adjustment operation acting on the interactive interface, and adjust the target dimension, dimension information and / or association relationship based on the adjustment operation; a secondary evaluation module, which is used to respond to the re-evaluation operation acting on the interactive interface, and evaluate the first server demand based on the re-evaluation operation to obtain a re-evaluation result of the first server demand.
[0147] It should be noted that the first acquisition module 1002, the first generation module 1004, and the first evaluation module 1006 correspond to steps S402 to S406 in Example 1. The examples and application scenarios implemented by the three modules and the corresponding steps are the same, but are not limited to the contents disclosed in Example 1. It should be noted that the above modules or units can be hardware components or software components stored in a memory and processed by one or more processors. The above modules can also be part of the device and can be run in the server 10 provided in Example 1.
[0148] It should be noted that the preferred implementation scheme involved in the above embodiments of this application is the same as the scheme provided in Example 1, as well as the application scenario and implementation process, but is not limited to the scheme provided in Example 1.
[0149] Example 5
[0150] According to an embodiment of the present application, a server demand processing device for implementing the above-mentioned server demand processing method is also provided. Figure 11 This is a structural block diagram of a processing device for server requirements according to Example 5 of the present application. Figure 11 As shown, the apparatus includes: a second acquisition module 1202 , a second generation module 1204 , a second evaluation module 1206 and a result output module 1208 .
[0151] Among them, the second acquisition module 1202 is used to determine at least one target dimension from multiple preset dimensions of cloud server requirements, and obtain dimensional information of the target dimension, and the association relationship between the target dimensions, wherein the cloud server requirements are used to characterize cloud server resources; the second generation module 1204 is used to generate a first cloud server requirement based on the dimensional information of the target dimension and the association relationship between the target dimensions; the second evaluation module 1206 is used to evaluate the first cloud server requirement and obtain a first evaluation result of the first cloud server requirement, wherein the first evaluation result is used to characterize whether the cloud server resources meet the first cloud server requirement.
[0152] Optionally, the second acquisition module 1202 includes: a preset dimension display unit, used to display multiple preset dimensions in the interactive interface; a target dimension acquisition unit, used to respond to selection operations acting on multiple preset dimensions, and obtain target dimensions corresponding to the selection operations; a dimension information acquisition unit, used to respond to a first input operation acting on the target dimension, and obtain dimension information of the target dimension corresponding to the first input operation; and an association relationship acquisition unit, used to respond to a second input operation acting between target dimensions, and obtain the association relationship between the target dimensions corresponding to the second input operation.
[0153] The feasible point is that the second generation module 1204 includes: an expression generation unit, which is used to generate at least one expression based on the dimension information of the target dimension; and an expression splicing unit, which is used to splice the expressions based on the association relationship between the target dimensions to generate the first cloud server demand.
[0154] It should be noted that the first display module 1102 and the second display module 1104 correspond to steps S802 to S804 in Example 2. The examples and application scenarios implemented by the two modules and the corresponding steps are the same, but are not limited to the contents disclosed in Example 1. It should be noted that the above modules or units can be hardware components or software components stored in a memory and processed by one or more processors. The above modules can also be run as part of the device in the server 10 provided in Example 1.
[0155] It should be noted that the preferred implementation scheme involved in the above embodiments of this application is the same as the scheme provided in Example 1, as well as the application scenario and implementation process, but is not limited to the scheme provided in Example 1.
[0156] Example 6
[0157] According to an embodiment of the present application, a server demand processing device for implementing the above-mentioned server demand processing method is also provided. Figure 12 This is a structural block diagram of a processing device for server requirements according to Example 6 of the present application. Figure 12 As shown, the apparatus includes: a third acquisition module 1202 , a third generation module 1204 , a third evaluation module 1206 and a result output module 1208 .
[0158] Among them, the third acquisition module 1202 is used to obtain at least one target dimension, dimension information of the target dimension, and the association relationship between the target dimensions by calling the first interface, wherein the first interface includes a first parameter, and the parameter value of the first parameter includes the target dimension, dimension information and the association relationship, and the target dimension is a dimension determined from multiple preset dimensions of the server requirement; the third generation module 1204 is used to generate the first server requirement based on the dimension information of the target dimension and the association relationship between the target dimensions; the third evaluation module 1206 is used to evaluate the first server requirement and obtain a first evaluation result of the first server requirement, wherein the first evaluation result is used to characterize whether the server resources meet the first server requirement; the result output module 1208 is used to output the first evaluation result by calling the second interface, wherein the second interface includes a second parameter, and the parameter value of the second parameter includes the first evaluation result.
[0159] Example 7
[0160] The embodiment of the present application may provide an electronic device, which may be any electronic device in a group of electronic devices. Optionally, in this embodiment, the electronic device may also be replaced by a terminal device such as a mobile terminal.
[0161] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.
[0162] In this embodiment, the electronic device can execute the program code in the method.
[0163] Optionally, Figure 13 This is a structural block diagram of an electronic device according to embodiment 7 of the present application. Figure 7 As shown, the electronic device A may include: one or more (only one is shown in the figure) processors 1302, a memory 1304, a storage controller, and a peripheral interface, wherein the peripheral interface is connected to a radio frequency module, an audio module and a display.
[0164] Among them, the memory can be used to store software programs and modules, such as program instructions / modules corresponding to the methods and devices in the embodiments of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, implementing the methods in the above embodiments. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely located relative to the processor, and these remote memories may be connected to terminal A via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0165] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: determine at least one target dimension from multiple preset dimensions of server requirements, and obtain dimension information of the target dimension, and the association relationship between the target dimensions; generate a first server requirement based on the dimension information of the target dimension and the association relationship between the target dimensions; evaluate the first server requirement to obtain a first evaluation result of the first server requirement, wherein the first evaluation result is used to characterize whether the server resources meet the first server requirement.
[0166] Optionally, the processor may also execute the program code of the following steps: displaying multiple preset dimensions in the interactive interface; responding to selection operations on multiple preset dimensions, obtaining target dimensions corresponding to the selection operations; responding to a first input operation on the target dimension, obtaining dimension information of the target dimension corresponding to the first input operation; responding to a second input operation between target dimensions, obtaining the association relationship between the target dimensions corresponding to the second input operation.
[0167] Optionally, the processor may further execute program code of the following steps: generating at least one expression based on dimension information of the target dimension; and generating a first server requirement by combining the expressions based on the association relationship between the target dimensions.
[0168] Optionally, the processor may also execute program code for the following steps: displaying a first server requirement in an interactive interface; responding to a modification operation applied to the interactive interface, modifying the first server requirement based on the modification operation to obtain a second server requirement; and evaluating the second server requirement to obtain a second evaluation result of the second server requirement, wherein the second evaluation result is used to characterize whether the server resources meet the second server requirement.
[0169] Optionally, the processor may further execute program codes of the following steps: converting the first server demand to generate a first scheduling policy corresponding to the server resources; and evaluating the first server demand based on the first scheduling policy to obtain a first evaluation result.
[0170] Optionally, the processor may also execute the program code of the following steps: determining the current division granularity of the first server demand; when the current division granularity satisfies the preset division granularity, evaluating the first server demand to obtain a first evaluation result; when the current division granularity satisfies the preset division granularity, dividing the first server demand according to the preset division granularity to obtain multiple sub-server demands, and evaluating the multiple sub-server demands to obtain a first evaluation result.
[0171] Optionally, the processor may also execute the program code of the following steps: dividing the first server demand to obtain multiple initial server demands; performing demand simulation on the initial server demand to obtain an initial simulation result of the initial server demand, wherein the initial simulation result is used to characterize whether the server resources meet the initial server demand; summarizing the initial server demand based on the initial simulation result, or dividing the initial server demand to obtain multiple sub-server demands.
[0172] Optionally, the processor may further execute program code of the following steps: determining an initial association relationship included in the initial server demand; and when the initial association relationship is a preset association relationship, performing demand simulation on the initial server demand to obtain an initial simulation result.
[0173] Optionally, the processor may also execute the program code of the following steps: aggregating the demands of multiple sub-servers to obtain the demands of a third server; converting the demands of the third server to generate a second scheduling strategy corresponding to the server resources; and evaluating the demands of the third server based on the second scheduling strategy to obtain a first evaluation result.
[0174] Optionally, the processor may also execute the program code of the following steps: outputting a first evaluation result in the interactive interface; responding to an adjustment operation on the interactive interface, adjusting the target dimension, dimension information and / or association relationship based on the adjustment operation; responding to a re-evaluation operation on the interactive interface, evaluating the first server requirement based on the re-evaluation operation, and obtaining a re-evaluation result of the first server requirement.
[0175] In an embodiment of the present application, at least one target dimension is determined from multiple preset dimensions of server requirements, and dimension information of the target dimension and the correlation relationship between the target dimensions are obtained; based on the dimension information of the target dimension and the correlation relationship between the target dimensions, a first server requirement is generated; the first server requirement is evaluated to obtain a first evaluation result of the first server requirement, and the corresponding first server requirement is quickly generated according to parameters such as the target dimension, dimension information and correlation relationship of the user requirement, while reducing the difficulty of the user configuring the server requirement and improving the efficiency of the first server requirement generation, and then the first server requirement is evaluated according to whether the server resources can meet the generation of the first server requirement to obtain the feasibility of the first server requirement, which can improve the user's trust in the first server requirement, so that the user does not need to repeatedly verify the rationality of the first server requirement, reducing the difficulty of the user configuring the server requirement, and thus solving the technical problem in the related art that it is difficult for the user to configure the server requirement according to his own needs.
[0176] Those skilled in the art will appreciate that the structure shown in the figure is for illustrative purposes only, and the electronic device may also be a smartphone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile internet device (MID), a PAD, or other terminal device. This figure does not limit the structure of the above-mentioned electronic device. For example, electronic device A may include more or fewer components (such as a network interface, a display device, etc.) than shown in the figure, or have a configuration different from that shown in the figure.
[0177] A person skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0178] Example 8
[0179] The embodiments of the present application also provide a computer-readable storage medium. Optionally, in this embodiment, the computer-readable storage medium includes a stored executable program. When the executable program is executed, the device containing the storage medium is controlled to execute the program code executed by the target monitoring method provided in the first embodiment. The specific execution process is as described above and will not be repeated here.
[0180] Optionally, in this embodiment, the computer-readable storage medium may be located in any electronic device in a group of electronic devices in a computer network, or in any mobile terminal in a group of mobile terminals.
[0181] Example 9
[0182] The embodiment of the present application further provides a computer program product. Optionally, in this embodiment, the computer program product may include a computer program, and when the computer program is executed by a processor, the method provided in the embodiment is implemented.
[0183] Example 10
[0184] The embodiments of the present application further provide a computer program product. Optionally, the computer program product may include a non-volatile computer-readable storage medium, which may be used to store a computer program that, when executed by a processor, implements the method provided in the embodiments above.
[0185] Example 11
[0186] The embodiment of the present application further provides a computer program. Optionally, in this embodiment, when the computer program is executed by a processor, the method provided in the above embodiment is implemented.
[0187] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0188] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0189] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0190] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0191] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0192] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program code.
[0193] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for processing server requirements, characterized in that: include: Determine at least one target dimension from a plurality of preset dimensions required by the server, and obtain dimension information of the target dimension and association relationships between the target dimensions; generating a first server requirement based on the dimension information of the target dimension and the association relationship between the target dimensions; The first server requirement is evaluated to obtain a first evaluation result of the first server requirement, wherein the first evaluation result is used to indicate whether server resources meet the first server requirement.
2. The method according to claim 1, characterized in that The step of determining at least one target dimension from a plurality of preset dimensions required by the server, and obtaining dimension information of the target dimension and associations between the target dimensions includes: Displaying the multiple preset dimensions in an interactive interface; In response to a selection operation on the plurality of preset dimensions, obtaining the target dimension corresponding to the selection operation; In response to a first input operation acting on the target dimension, obtaining dimension information of the target dimension corresponding to the first input operation; In response to a second input operation acting between the target dimensions, an association relationship between the target dimensions corresponding to the second input operation is obtained.
3. The method according to claim 1, characterized in that The generating a first server requirement based on the dimension information of the target dimension and the association relationship between the target dimensions includes: generating at least one expression based on the dimension information of the target dimension; The expressions are concatenated based on the association relationship between the target dimensions to generate the first server requirement.
4. The method according to claim 1 or 3, characterized in that The method further comprises: Displaying the first server requirement in an interactive interface; In response to a modification operation performed on the interactive interface, modifying the first server requirement based on the modification operation to obtain a second server requirement; The second server requirement is evaluated to obtain a second evaluation result of the second server requirement, wherein the second evaluation result is used to indicate whether the server resources meet the second server requirement.
5. The method according to claim 1, wherein The evaluating the first server requirement to obtain a first evaluation result of the first server requirement includes: Converting the first server demand to generate a first scheduling policy corresponding to the server resources; The first server demand is evaluated based on the first scheduling strategy to obtain the first evaluation result.
6. The method according to claim 1 or 5, characterized in that The method further comprises: Determining a current partitioning granularity of the first server requirements; When the current partitioning granularity satisfies a preset partitioning granularity, evaluating the first server demand to obtain a first evaluation result; When the current division granularity satisfies the preset division granularity, the first server demand is divided according to the preset division granularity to obtain multiple sub-server demands, and the multiple sub-server demands are evaluated to obtain the first evaluation result.
7. The method according to claim 6, characterized in that The dividing the first server requirement according to the preset division granularity to obtain multiple sub-server requirements includes: Dividing the first server requirement to obtain multiple initial server requirements; Performing a demand simulation on the initial server demand to obtain an initial simulation result of the initial server demand, wherein the initial simulation result is used to indicate whether the server resources meet the initial server demand; The initial server requirements are summarized based on the initial simulation results, or the initial server requirements are divided to obtain the multiple sub-server requirements.
8. The method according to claim 7, characterized in that The performing demand simulation on the initial server demand to obtain an initial simulation result of the initial server demand includes: Determining an initial association relationship included in the initial server requirement; In a case where the initial association relationship is a preset association relationship, a demand simulation is performed on the initial server demand to obtain the initial simulation result.
9. The method according to claim 6, characterized in that The evaluating the requirements of the multiple sub-servers to obtain the first evaluation result includes: Summarizing the requirements of the multiple sub-servers to obtain a third server requirement; Converting the third server demand to generate a second scheduling policy corresponding to the server resources; The third server demand is evaluated based on the second scheduling strategy to obtain the first evaluation result.
10. The method according to claim 1, characterized in that The method further comprises: Outputting the first evaluation result in an interactive interface; In response to an adjustment operation performed on the interactive interface, adjusting the target dimension, the dimension information and / or the association relationship based on the adjustment operation; In response to a re-evaluation operation performed on the interactive interface, the first server requirement is evaluated based on the re-evaluation operation to obtain a re-evaluation result of the first server requirement.
11. A method for processing server requirements, characterized in that: include: Determining at least one target dimension from a plurality of preset dimensions of cloud server requirements, and obtaining dimension information of the target dimension and associations between the target dimensions, wherein the cloud server requirements are used to represent requirements for cloud server resources; Generate a first cloud server requirement based on the dimension information of the target dimension and the association relationship between the target dimensions; The first cloud server requirement is evaluated to obtain a first evaluation result of the first cloud server requirement, wherein the first evaluation result is used to indicate whether the cloud server resources meet the first cloud server requirement.
12. The method according to claim 11, characterized in that The step of determining at least one target dimension from a plurality of preset dimensions required by the cloud server and obtaining dimension information of the target dimension and the association relationship between the target dimensions includes: Displaying the multiple preset dimensions in an interactive interface; In response to a selection operation on the plurality of preset dimensions, obtaining the target dimension corresponding to the selection operation; In response to a first input operation acting on the target dimension, obtaining dimension information of the target dimension corresponding to the first input operation; In response to a second input operation acting between the target dimensions, an association relationship between the target dimensions corresponding to the second input operation is obtained.
13. The method according to claim 11, characterized in that The generating a first server requirement based on the dimension information of the target dimension and the association relationship between the target dimensions includes: generating at least one expression based on the dimension information of the target dimension; The expressions are concatenated based on the association relationship between the target dimensions to generate the first cloud server requirement.
14. A method for processing server requirements, characterized in that: include: Acquire at least one target dimension, dimension information of the target dimension, and associations between the target dimensions by calling a first interface, wherein the first interface includes a first parameter, a parameter value of the first parameter includes the target dimension, the dimension information, and the associations, and the target dimension is a dimension determined from multiple preset dimensions required by the server; generating a first server requirement based on the dimension information of the target dimension and the association relationship between the target dimensions; Evaluate the first server requirement to obtain a first evaluation result of the first server requirement, wherein the first evaluation result is used to indicate whether server resources meet the first server requirement; The first evaluation result is output by calling a second interface, wherein the second interface includes a second parameter, and a parameter value of the second parameter includes the first evaluation result.
15. An electronic device, characterized in that: include: a memory storing an executable program; A processor, configured to run the program, wherein the program executes the method according to any one of claims 1 to 14 when running.
16. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored executable program, wherein when the executable program is run, the device where the storage medium is located is controlled to execute the method according to any one of claims 1 to 14.
17. A computer program product, characterized in that A computer program is included which, when executed by a processor, implements the method according to any one of claims 1 to 14.