CN109787802B - Resource operation method and console - Google Patents
Resource operation method and console Download PDFInfo
- Publication number
- CN109787802B CN109787802B CN201711128832.1A CN201711128832A CN109787802B CN 109787802 B CN109787802 B CN 109787802B CN 201711128832 A CN201711128832 A CN 201711128832A CN 109787802 B CN109787802 B CN 109787802B
- Authority
- CN
- China
- Prior art keywords
- resource
- attribute
- modification information
- expected value
- operation plan
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Computer And Data Communications (AREA)
- Stored Programmes (AREA)
Abstract
The application provides a resource operation method and a console, which are used for acquiring resource modification information, generating and executing an operation plan according to an expected value and a real value of a resource and an operation type corresponding to the resource indicated by the resource modification information, and can improve efficiency compared with the manual setting of the operation plan by a user.
Description
Technical Field
The application relates to the field of cloud computing, in particular to a resource operation method and a console.
Background
With the development of cloud computing technology, cloud platforms are favored by more and more enterprise users. In the existing cloud platform, a user rents a plurality of servers, and the servers and various software and hardware on the servers, such as examples, images, disks, snapshots and the like, are resources of the user. The console on the cloud platform provides resource management and maintenance functions for enterprise users, and the users can manage and maintain rented resources on the console. For example, a user modifies the name of a server on the console.
However, at present, the efficiency of operating resources through a console is not high, and is mainly reflected in: 1. the user can only perform one type of operation through the console at a time, for example, only the name of the server can be modified at this time, and after the name is modified, the bandwidth value of the server can be modified, but the name and the bandwidth value of the server cannot be modified in parallel. 2. The user cannot easily find the resource items to be maintained on the console, for example, the resource items owned by the user may be thousands, and the user can only search the resource items to be maintained one by one on the console.
Therefore, how to improve the operation efficiency of resources on the cloud platform becomes a problem to be solved urgently at present.
Disclosure of Invention
The present application provides a method and apparatus directed to solving the problem.
In order to achieve the above object, the present application provides the following technical solutions:
a resource operation method is applied to a console of a cloud platform and comprises the following steps:
acquiring resource modification information, wherein the resource modification information comprises: at least one of an identification of a resource on the cloud platform, a name of an attribute of the resource, and an expected value of the attribute;
determining an operation plan for the resource indicated by the resource modification information according to the expected value of the attribute and a real value of the attribute of the resource on the cloud platform, wherein the operation plan is used for indicating that the attribute of the resource is changed into the expected value under the condition that the expected value is different from the real value;
and executing the operation in the operation plan.
Optionally, the determining, according to the expected value of the attribute and the actual value of the attribute of the resource on the cloud platform, an operation plan for the resource indicated by the resource modification information includes:
determining a first operation item according to the attribute under the condition that the expected value and the real value of the attribute are different;
and under the condition that the operation item corresponding to the resource indicated by the resource modification information comprises the first operation item, determining an operation plan of the resource indicated by the resource modification information according to the expected value and the actual value.
Optionally, the determining, according to the expected value of the attribute and the actual value of the attribute of the resource on the cloud platform, an operation plan for the resource indicated by the resource modification information includes:
and under the condition that the resources indicated by the resource modification information exist on the cloud platform, determining an operation plan for the resources indicated by the resource modification information at least according to the expected value of the attribute and the actual value of the attribute of the resources on the cloud platform.
Optionally, the method further includes:
and under the condition that the resources indicated by the resource modification information do not exist on the cloud platform, discarding the resource modification information or sending out a prompt message that the resources do not exist.
Optionally, the operation plan includes:
an identification of the operated resource, an operation performed on an attribute of the operated resource, and a desired value of the attribute.
Optionally, the operation plan includes:
and each operation item arranged by taking the resource as a dimension, wherein any operation item of any resource comprises an operation indication field and an expected value, the operation indication field is used for indicating that a first operation is performed on the first attribute of the resource, and the expected value is the expected value of the first attribute.
Optionally, the method further includes:
displaying the operation plan;
receiving modification information of the operation plan, wherein the modification information is input by a user according to the displayed operation plan, and the modification information comprises at least one of modification of an identifier of the resource, a name of the attribute of the resource, the expected value of the attribute and deletion of the operation plan in the operation plan.
Optionally, the obtaining the resource modification information includes:
receiving a data table uploaded by a user, wherein the data table comprises the resource, the name of the attribute of the resource and an expected value;
and analyzing the data table to obtain the resource modification information.
Optionally, after the executing the operation in the operation plan, the method further includes:
and displaying the execution result of each operation item in the operation plan, wherein the execution result is used for indicating the success or failure of the operation.
A console, for use in a cloud platform, comprising:
an obtaining module, configured to obtain resource modification information, where the resource modification information includes: at least one of an identification of a resource on the cloud platform, a name of an attribute of the resource, and an expected value of the attribute;
a determining module, configured to determine, according to the expected value of the attribute and a real value of the attribute of the resource on the cloud platform, an operation plan for a resource indicated by resource modification information, where, when the expected value is different from the real value, the operation plan is used to indicate that the attribute of the resource is changed to the expected value;
and the execution module is used for executing the operation in the operation plan.
Optionally, the determining module is specifically configured to:
determining a first operation item according to the attribute under the condition that the expected value and the real value of the attribute are different;
and under the condition that the operation item corresponding to the resource indicated by the resource modification information comprises the first operation item, determining an operation plan of the resource indicated by the resource modification information according to the expected value and the actual value.
Optionally, the determining module is specifically configured to:
and under the condition that the resources indicated by the resource modification information exist on the cloud platform, determining an operation plan for the resources indicated by the resource modification information at least according to the expected value of the attribute and the actual value of the attribute of the resources on the cloud platform.
Optionally, the determining module is further configured to:
and under the condition that the resources indicated by the resource modification information do not exist on the cloud platform, discarding the resource modification information or sending out a prompt message that the resources do not exist.
Optionally, the operation plan includes:
an identification of the operated resource, an operation performed on an attribute of the operated resource, and a desired value of the attribute.
Optionally, the operation plan includes:
and each operation item arranged by taking the resource as a dimension, wherein any operation item of any resource comprises an operation indication field and an expected value, the operation indication field is used for indicating that a first operation is performed on the first attribute of the resource, and the expected value is the expected value of the first attribute.
Optionally, the method further includes:
a modification module for displaying the operation plan; and receiving modification information of the operation plan, wherein the modification information is input by a user according to the displayed operation plan, and the modification information comprises at least one of modification of an identifier of the resource, a name of the attribute of the resource, the expected value of the attribute and deletion of the operation plan in the operation plan.
Optionally, the obtaining module is specifically configured to:
receiving a data table uploaded by a user, wherein the data table comprises the resource, the name of the attribute of the resource and an expected value; and analyzing the data table to obtain the resource modification information.
Optionally, the execution module is further configured to:
and displaying the execution result of each operation item in the operation plan, wherein the execution result is used for indicating the success or failure of the operation.
A computer-readable storage medium having instructions stored therein which, when executed on a computer, cause the computer to perform the functions of: acquiring resource modification information, wherein the resource modification information comprises: at least one of an identification of a resource on the cloud platform, a name of an attribute of the resource, and an expected value of the attribute; determining an operation plan for the resource indicated by the resource modification information according to the expected value of the attribute and a real value of the attribute of the resource on the cloud platform, wherein the operation plan is used for indicating that the attribute of the resource is changed into the expected value under the condition that the expected value is different from the real value; and executing the operation in the operation plan.
According to the resource operation method and the console, the operation plan is generated and executed according to the expected value and the real value of the resource and the operation type corresponding to the resource indicated by the resource modification information, and compared with the operation plan manually set by a user, the efficiency can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of an architecture of a cloud platform;
FIG. 2 is a flow chart of a resource operation method disclosed in an embodiment of the present application;
FIG. 3 is a flowchart illustrating further operations of a resource according to embodiments of the present disclosure;
4(a) -4 (d) are flow charts of resource operation methods disclosed in embodiments of the present application;
fig. 5 is a schematic structural diagram of a console disclosed in an embodiment of the present application.
Detailed Description
The resource operation method disclosed in the embodiment of the present application can be applied to a console of a cloud platform shown in fig. 1. In fig. 1, it is assumed that user a rents several servers. According to the resource operation method, the operation plans comprising multiple operation types are automatically generated according to the resource modification information uploaded by the user, and the multiple operation plans can be executed in parallel, so that the efficiency of resource operation on the cloud platform is improved.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 2 is a resource operation method disclosed in an embodiment of the present application, including the following steps:
s201: and acquiring resource modification information.
The resource modification information is modification information for the attribute of the resource (including a server on the cloud platform and software and hardware resources on the server).
Specifically, the resource modification information includes: an identification of the resource, a name of an attribute of the resource, and an expected value of the attribute. The expected value is a modified value set by the user.
For example, a piece of resource modification information includes: service1 (identification of server 1), name (name of a piece of property of server 1): test (expected value for name).
In the case where the number of pieces of resource modification information is plural, the resource modification information may be uploaded in the form of a data table.
The resource modification information can be uploaded by the user or can be acquired from the user through other equipment.
S202: and judging whether the resources indicated by the resource modification information exist on the cloud platform, if so, executing S203, and if not, discarding the resource modification information or sending a prompt message that the resources do not exist.
S202 is an optional step, and aims to filter the resource modification information to ensure effective subsequent processing, so as to save computing resources of the cloud platform.
S203: and inquiring the real value of the attribute of the resource indicated by the resource modification information on the cloud platform.
The real value is the current attribute value of the resource attribute on the cloud platform. For example, currently on the cloud level, the name of server 1 is prefire test.
S204: and determining the operation plan of the resource indicated by the resource modification information according to the expected value and the actual value of the attribute and the operation item (optional item) corresponding to the resource indicated by the resource modification information.
The operation item corresponding to the resource refers to an operation allowed to be performed by the resource.
The operation plan includes the identification of the operated resource, the operation performed on the attribute of the operated resource, and the expected value of the attribute, and optionally, the actual value of the attribute.
Specifically, under the condition that the expected value of the attribute is different from the actual value, determining a first operation item according to the attribute;
and under the condition that the operation item corresponding to the resource indicated by the resource modification information comprises the first operation item, determining an operation plan of the resource indicated by the resource modification information according to the expected value and the actual value.
In the above example, the expected value of the name of the server 1 is "test", and the actual value is "pre-test", and since the expected value is different from the actual value, the following is determined according to the attribute: name, determine the action item "modify name".
It should be noted that the operation item corresponding to the resource is an optional basis for determining the operation plan. If the operation items corresponding to the resources comprise the determined operation items, finally determining that the operation plan is as follows: "identification of service1, name, 'test', 'Pre-test'," otherwise, the resource modification information is discarded. For example, if the expected value of the name of the server 1 is "test", the actual value is "pre-test", and the determined operation item is "modification name", but the operation item of "modification name" is not included in the operation items allowed by the server 1, the operation plan is not generated.
The purpose of setting the optional basis is to preset the allowed operation type of the resource, and the operation type which is not allowed forbids the user to remotely execute the operation so as to improve the safety of the resource in the cloud platform.
S205: different types of operations in the operation plan are performed.
Specifically, the operation plans are classified according to operation types and are sent to applications related to the operation types so as to execute the operation plans in parallel.
As can be seen from the process shown in fig. 2, the console automatically generates the operation plan according to the expected value and the actual value of the resource and the operation type corresponding to the resource indicated by the resource modification information, which can improve efficiency compared with the manual setting of the operation plan by the user, and further improve efficiency of resource operation by classifying according to the operation types and executing each operation plan in parallel.
The method shown in fig. 2 will be exemplified in more detail below from the point of view of user interaction with the console, as shown in fig. 3, comprising the following steps:
s301: and recording the owned resources and the attributes thereof in an excel table by the user, and recording resource modification information in the excel table.
The storage format of the information of each resource in the excel table includes but is not limited to json, csv and xls.
Based on the strong statistical function of excel, the user searches the resources to be modified and the attributes of the resources in the excel and marks the expected values of the attributes. Of course, other data tables may be used by the user.
In this embodiment, an excel table shown in table 1 is taken as an example:
TABLE 1
In table 1, the numerical values of the attributes are expected values set by the user. Where the unit of bandwidth is mega, 1 indicates joining the security group, and correspondingly, 0 indicates not joining the security group.
S302: and the console receives the excel table uploaded by the user.
S303: analyzing the received excel table to obtain the information with the following format:
InstanceA:Property1,Property2&InstanceB:Property1,Property2
wherein, Instance refers to the identifier of the resource, and Property refers to the information of the Property of the resource, including the name and the value of the Property.
Taking table 1 as an example, the following information is obtained by analysis:
the server 1: bandwidth 80, password 12345& server 2: bandwidth 40, password 56789& server 4: bandwidth 40, whether to join security group 1.
S304: the console inquires that there are server 1 and server 2 in the cloud platform, but there is no server 4.
S305: the console queries that the current bandwidth values of the server 1 and the server 2 on the cloud platform are both 40, the passwords are both 123, and discards the resource modification information of the server 4 in table 1, so as to generate the comparison result shown in table 2.
TABLE 2
S306: the console determines the operating plan, as shown in table 3:
TABLE 3
Server 1 |
Bandwidth modification- > 4080 |
Modified password- > 12312345 |
Server 2 |
Modified password- > 12356789 |
As can be seen from table 3, the operation plan arranges the operation items by taking the resource as a dimension, and any one operation item of any one resource includes an operation indication field and an expected value, and the operation indication field is used to indicate that a first operation is performed on a first attribute of the resource, for example, in table 3, an indication field in the first operation item of the server 1 is "modify (first operation) bandwidth (first attribute)". The expected value is an expected value of the first attribute, for example, in table 3, the expected value in the first operation item of the server 1 is 80. Optionally, the actual value is also included, for example, in table 3, the actual value in the first operation item of the server 1 is 40.
S307: the console displays the operating plan.
Arranging the operation plan with the resource as the dimension is beneficial to the view of the user.
S308: the user inputs modification information for the operation plan.
That is, the user can view the displayed operation plan, i.e., the user can see which resources, which attributes, the attribute values before modification and the attribute values after modification, and can modify the operation plan on the console.
Modifications include, but are not limited to: modifying the identification of the resource, the name of the attribute of the resource, the expected value of the attribute and deleting the operation plan in the operation plan.
For example, the user views an operation plan: if the password-modified- > 12356789 is desired to change the modified password 56789, the modified password 56789 can be changed to 12345 on the console.
S308 is an optional step, and the user can only view the operation plan without making a change.
S309: the console classifies the operation plan by operation type as shown in table 4.
TABLE 4
Modifying passwords |
Server 1- > 12312345 |
Server 2- > 12356789 |
Modifying bandwidth |
Server 1- > 4080 |
S310: and the console sends the operation items shown in the table 4 to corresponding APPs according to the operation types so as to execute the operation items shown in the table 4.
Taking table 4 as an example, the console sends a password modification instruction to the APP for modifying the password, for instructing:
1. the password of the resource server 1 is modified, the password 123 before modification, and the password 12345 after modification.
2. The password of the resource server 2 is modified, the password 123 before modification, and the password 56789 after modification.
The control station sends a bandwidth password modification instruction to the APP for modifying the bandwidth, and the bandwidth password modification instruction is used for indicating that:
the bandwidth of the resource server 1, the bandwidth before modification 40 and the bandwidth after modification 80 are modified.
It can be seen that for different types of operations, instructions may be sent to and operations performed in parallel by the respective APPs.
S311: the execution result of the operation is obtained from the APP performing the operation, and is displayed with the resource as a dimension, as shown in table 5.
TABLE 5
Server 1 |
Modifying Bandwidth- > success |
Password modification- > success |
Server 2 |
Modified password- > failure |
As can be seen from fig. 3, a user can use a powerful Excel table to efficiently complete modification information on resources, a console of the cloud platform automatically generates a resource operation plan based on the Excel table uploaded by the user and displays the resource operation plan to the user, the user can view and modify the operation plan, the console executes the operation plan in parallel, and an execution result of the operation plan is returned. The console displays the operation plan and the execution result by taking the resources as dimensions, so that the user can conveniently view the operation plan and the execution result. Therefore, for a user, it is more convenient to input and change operation modification information and view operation execution results, and for a cloud platform, operations of multiple operation types can be executed in parallel.
Based on fig. 3, the interaction between the console and the user terminal can be summarized as shown in fig. 4:
fig. 4(a) is an overall process, wherein the input refers to the user uploading the resource modification requirement (S301). The parsing means that the console parses the resource modification requirement to obtain information in a preset format (S302-S303). The pre-check means that the console generates an operation plan according to the analyzed information, and the user views or modifies the operation plan by interacting with the user (S304-S308). The task management means that the console classifies the operation plan to execute (S309 to S310). The APP output is that the console outputs the execution result to the client (S311).
Fig. 4(b) is a schematic diagram of the parsing process, wherein json, csv, xls are formats of resource modification requirements uploaded by the user. The common format information is parsed information, and has a predetermined uniform format, for example, table 1.
Fig. 4(c) is a schematic diagram of the pre-inspection process, and it can be seen that the pre-inspection process includes three steps: 1. the presence check is to check whether the resource indicated in the common format information exists. 2. The comparison result refers to a comparison result of obtaining the expected value of the resource indicated in the common format information and the actual value of the resource in the cloud system, for example, table 2. 3. The operation plan is generated according to the comparison result, for example, as shown in table 3.
FIG. 4(d) is a schematic diagram of a task management process, which includes two steps: 1. the classification means to classify the operation plan. 2. And controlling execution, namely controlling a corresponding APP to execute the operation plan.
Fig. 5 is a structure of a console, including: the device comprises an acquisition module, a determination module and an execution module, and optionally, the device also comprises a modification module.
The acquisition module is used for acquiring the resource modification information.
The determining module is used for determining an operation plan for the resource indicated by the resource modification information according to the expected value of the attribute and a real value of the attribute of the resource on the cloud platform, and the operation plan is used for indicating that the attribute of the resource is changed into the expected value under the condition that the expected value is different from the real value. The determining module is further configured to discard the resource modification information or send a prompt message that the resource does not exist, when the resource indicated by the resource modification information does not exist on the cloud platform.
The execution module is used for executing the operation in the operation plan. The execution module is further configured to display an execution result of each operation item in the operation plan, where the execution result is used to indicate success or failure of an operation.
The modification module is used for displaying the operation plan and receiving modification information of the operation plan, wherein the modification information is input by a user according to the displayed operation plan, and the modification information comprises at least one of an identifier for modifying the resource in the operation plan, a name of the attribute of the resource, the expected value of the attribute and deleting the operation plan.
The console can be arranged in the cloud system and used for modifying software and hardware resources in the cloud system in batches by a user, and higher operation efficiency can be realized.
The functions described in the method of the embodiment of the present application, if implemented in the form of software functional units and sold or used as independent products, may be stored in a storage medium readable by a computing device. Based on such understanding, part of the contribution to the prior art of the embodiments of the present application or part of the technical solution may be embodied in the form of a software product stored in a storage medium and including several instructions for causing a computing device (which may be a personal computer, a server, a mobile computing device or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (19)
1. A resource operation method is applied to a console of a cloud platform, and is characterized by comprising the following steps:
acquiring resource modification information, wherein the resource modification information comprises: at least one of an identification of a resource on the cloud platform, a name of an attribute of the resource, and an expected value of the attribute;
determining an operation plan for the resource indicated by the resource modification information according to the expected value of the attribute, the real value of the attribute of the resource on the cloud platform and the operation item corresponding to the resource indicated by the resource modification information, wherein the operation item corresponding to the resource refers to the operation allowed to be performed by the resource; in the case that the expected value is different from the actual value, the operation plan is used to instruct to change the attribute of the resource to the expected value;
and executing the operation in the operation plan.
2. The method of claim 1, wherein determining the operation plan for the resource indicated by the resource modification information based on the expected value of the attribute and a real value of the attribute of the resource on the cloud platform comprises:
determining a first operation item according to the attribute under the condition that the expected value and the real value of the attribute are different;
and under the condition that the operation item corresponding to the resource indicated by the resource modification information comprises the first operation item, determining an operation plan of the resource indicated by the resource modification information according to the expected value and the actual value.
3. The method of claim 1, wherein determining the operation plan for the resource indicated by the resource modification information based on the expected value of the attribute and a real value of the attribute of the resource on the cloud platform comprises:
and under the condition that the resources indicated by the resource modification information exist on the cloud platform, determining an operation plan for the resources indicated by the resource modification information at least according to the expected value of the attribute and the actual value of the attribute of the resources on the cloud platform.
4. The method of claim 3, further comprising:
and under the condition that the resources indicated by the resource modification information do not exist on the cloud platform, discarding the resource modification information or sending out a prompt message that the resources do not exist.
5. The method of any of claims 1-4, wherein the operation plan comprises:
an identification of the operated resource, an operation performed on an attribute of the operated resource, and a desired value of the attribute.
6. The method of claim 5, wherein the operation plan comprises:
and each operation item arranged by taking the resource as a dimension, wherein any operation item of any resource comprises an operation indication field and an expected value, the operation indication field is used for indicating that a first operation is performed on the first attribute of the resource, and the expected value is the expected value of the first attribute.
7. The method of claim 6, further comprising:
displaying the operation plan;
receiving modification information of the operation plan, wherein the modification information is input by a user according to the displayed operation plan, and the modification information comprises at least one of modification of an identifier of the resource, a name of the attribute of the resource, the expected value of the attribute and deletion of the operation plan in the operation plan.
8. The method of claim 1, wherein the obtaining resource modification information comprises:
receiving a data table uploaded by a user, wherein the data table comprises the resource, the name of the attribute of the resource and an expected value;
and analyzing the data table to obtain the resource modification information.
9. The method of claim 1, after the performing the operation in the operation plan, further comprising:
and displaying the execution result of each operation item in the operation plan, wherein the execution result is used for indicating the success or failure of the operation.
10. A console, for use in a cloud platform, comprising:
an obtaining module, configured to obtain resource modification information, where the resource modification information includes: at least one of an identification of a resource on the cloud platform, a name of an attribute of the resource, and an expected value of the attribute;
a determining module, configured to determine an operation plan for the resource indicated by the resource modification information according to the expected value of the attribute, a real value of the attribute of the resource on the cloud platform, and an operation item corresponding to the resource indicated by the resource modification information, where the operation item corresponding to the resource is an operation that the resource is allowed to perform; in the case that the expected value is different from the actual value, the operation plan is used to instruct to change the attribute of the resource to the expected value;
and the execution module is used for executing the operation in the operation plan.
11. The console of claim 10, wherein the determination module is specifically configured to:
determining a first operation item according to the attribute under the condition that the expected value and the real value of the attribute are different;
and under the condition that the operation item corresponding to the resource indicated by the resource modification information comprises the first operation item, determining an operation plan of the resource indicated by the resource modification information according to the expected value and the actual value.
12. The console of claim 10, wherein the determination module is specifically configured to:
and under the condition that the resources indicated by the resource modification information exist on the cloud platform, determining an operation plan for the resources indicated by the resource modification information at least according to the expected value of the attribute and the actual value of the attribute of the resources on the cloud platform.
13. The console of claim 12, wherein the determination module is further configured to:
and under the condition that the resources indicated by the resource modification information do not exist on the cloud platform, discarding the resource modification information or sending out a prompt message that the resources do not exist.
14. The console of any of claims 10-12, wherein the operation plan comprises:
an identification of the operated resource, an operation performed on an attribute of the operated resource, and a desired value of the attribute.
15. The console of claim 14, wherein the operating plan comprises:
and each operation item arranged by taking the resource as a dimension, wherein any operation item of any resource comprises an operation indication field and an expected value, the operation indication field is used for indicating that a first operation is performed on the first attribute of the resource, and the expected value is the expected value of the first attribute.
16. The console of claim 15, further comprising:
a modification module for displaying the operation plan; and receiving modification information of the operation plan, wherein the modification information is input by a user according to the displayed operation plan, and the modification information comprises at least one of modification of an identifier of the resource, a name of the attribute of the resource, the expected value of the attribute and deletion of the operation plan in the operation plan.
17. The console of claim 10, wherein the acquisition module is specifically configured to:
receiving a data table uploaded by a user, wherein the data table comprises the resource, the name of the attribute of the resource and an expected value; and analyzing the data table to obtain the resource modification information.
18. The console of claim 10, wherein the execution module is further configured to:
and displaying the execution result of each operation item in the operation plan, wherein the execution result is used for indicating the success or failure of the operation.
19. A computer-readable storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the functions of: acquiring resource modification information, wherein the resource modification information comprises: at least one of an identification of a resource on a cloud platform, a name of an attribute of the resource, and an expected value of the attribute; determining an operation plan for the resource indicated by the resource modification information according to the expected value of the attribute, the real value of the attribute of the resource on the cloud platform and the operation item corresponding to the resource indicated by the resource modification information, wherein the operation item corresponding to the resource refers to the operation allowed to be performed by the resource; in the case that the expected value is different from the actual value, the operation plan is used to instruct to change the attribute of the resource to the expected value; and executing the operation in the operation plan.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711128832.1A CN109787802B (en) | 2017-11-15 | 2017-11-15 | Resource operation method and console |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711128832.1A CN109787802B (en) | 2017-11-15 | 2017-11-15 | Resource operation method and console |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109787802A CN109787802A (en) | 2019-05-21 |
CN109787802B true CN109787802B (en) | 2022-04-29 |
Family
ID=66494622
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711128832.1A Active CN109787802B (en) | 2017-11-15 | 2017-11-15 | Resource operation method and console |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109787802B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104346185A (en) * | 2013-08-01 | 2015-02-11 | 腾讯科技(深圳)有限公司 | Application object attribute updating method and device and application platform |
CN106354796A (en) * | 2016-08-25 | 2017-01-25 | 乐视控股(北京)有限公司 | Method, device and server for browser home page resource updating processing |
CN106648787A (en) * | 2016-12-28 | 2017-05-10 | 平安科技(深圳)有限公司 | Resource updating method and terminal |
CN106716926A (en) * | 2014-09-25 | 2017-05-24 | 微软技术许可有限责任公司 | Automated standalone bootstrapping of hardware inventory |
CN106990974A (en) * | 2016-01-21 | 2017-07-28 | 阿里巴巴集团控股有限公司 | A kind of APP applications update method, device and electronic equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101850817B1 (en) * | 2011-11-17 | 2018-04-23 | 삼성전자주식회사 | The method and apparatus for auto installing applications into different terminal |
CN106658348A (en) * | 2015-10-28 | 2017-05-10 | 西安中兴新软件有限责任公司 | Method and device for managing monitoring resources and CSE |
CN106101179B (en) * | 2016-05-27 | 2020-02-18 | 腾讯科技(深圳)有限公司 | Resource processing method, device and system |
-
2017
- 2017-11-15 CN CN201711128832.1A patent/CN109787802B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104346185A (en) * | 2013-08-01 | 2015-02-11 | 腾讯科技(深圳)有限公司 | Application object attribute updating method and device and application platform |
CN106716926A (en) * | 2014-09-25 | 2017-05-24 | 微软技术许可有限责任公司 | Automated standalone bootstrapping of hardware inventory |
CN106990974A (en) * | 2016-01-21 | 2017-07-28 | 阿里巴巴集团控股有限公司 | A kind of APP applications update method, device and electronic equipment |
CN106354796A (en) * | 2016-08-25 | 2017-01-25 | 乐视控股(北京)有限公司 | Method, device and server for browser home page resource updating processing |
CN106648787A (en) * | 2016-12-28 | 2017-05-10 | 平安科技(深圳)有限公司 | Resource updating method and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN109787802A (en) | 2019-05-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109726103B (en) | Test report generation method, device, equipment and storage medium | |
US9350749B2 (en) | Application attack monitoring | |
CN110347716B (en) | Log data processing method, device, terminal equipment and storage medium | |
WO2018120721A1 (en) | Method and system for testing user interface, electronic device, and computer readable storage medium | |
CN107870849B (en) | Processing method and device of test log | |
CN107168844B (en) | Performance monitoring method and device | |
CN111352846A (en) | Test system number making method, device, equipment and storage medium | |
CN105719072B (en) | System and method for associating multi-segment component transactions | |
CN112948224A (en) | Data processing method, device, terminal and storage medium | |
CN107908525B (en) | Alarm processing method, equipment and readable storage medium | |
CN111130867A (en) | Intelligent household equipment alarm method and device based on Internet of things | |
WO2016037489A1 (en) | Method, device and system for monitoring rcs spam messages | |
CN113238935A (en) | Application testing method, system, device, medium, and computer program product | |
CN111209266B (en) | Audit method and device based on Redis database and electronic equipment | |
CN109787802B (en) | Resource operation method and console | |
CN111625528A (en) | Configuration management database verification method and device and readable storage medium | |
CN115080979A (en) | Security vulnerability management and control platform and method | |
US9485315B2 (en) | System and method for generating a customized singular activity stream | |
CN114371866A (en) | Version reconfiguration test method, device and equipment of service system | |
CN106547679B (en) | Script management method and script management platform | |
CN117057786B (en) | Intelligent operation and maintenance management method, system and storage medium for data center | |
CN111562982B (en) | Method and device for processing request data, computer readable storage medium and electronic equipment | |
CN115437891A (en) | Method and device for generating alarm mail, storage medium and computer equipment | |
CN117389590A (en) | Alarm upgrading processing method and device | |
CN106951424B (en) | Input processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |