CN115858293A - Virtualization-based data processing method, device and system - Google Patents

Virtualization-based data processing method, device and system Download PDF

Info

Publication number
CN115858293A
CN115858293A CN202211593994.3A CN202211593994A CN115858293A CN 115858293 A CN115858293 A CN 115858293A CN 202211593994 A CN202211593994 A CN 202211593994A CN 115858293 A CN115858293 A CN 115858293A
Authority
CN
China
Prior art keywords
target
server
virtual space
information
application
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.)
Granted
Application number
CN202211593994.3A
Other languages
Chinese (zh)
Other versions
CN115858293B (en
Inventor
王舒洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202211593994.3A priority Critical patent/CN115858293B/en
Publication of CN115858293A publication Critical patent/CN115858293A/en
Application granted granted Critical
Publication of CN115858293B publication Critical patent/CN115858293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Computer And Data Communications (AREA)

Abstract

One or more embodiments of the specification disclose a virtualization-based data processing method, apparatus, and system. The method comprises the following steps: receiving an index monitoring instruction for a target application, wherein the index monitoring instruction comprises space identification information of a target virtual space and application identification information of the target application, the target virtual space is at least one of a plurality of virtual spaces created in advance, and each virtual space is respectively used for isolating corresponding server information from other server information. And based on the monitoring instruction, determining target server information corresponding to the target virtual space according to target server aggregation information corresponding to the target application, wherein the target server aggregation information comprises server information isolated by each virtual space corresponding to the target application. And monitoring indexes of the target application server corresponding to the target server information.

Description

Virtualization-based data processing method, device and system
Technical Field
The present disclosure relates to the field of virtualization technologies, and in particular, to a data processing method, device, and system based on virtualization.
Background
The virtual space is a virtualization technology, and various capabilities of the simulation server such as hosting, planning and returning, flow forwarding, database virtualization and cache virtualization can be realized by relying on the virtual space. In the simulation drilling scene, concurrent drilling is usually realized by means of the isolation capability of a virtual space, so that the drilling does not interfere with each other, and the drilling does not interfere with the daily flow environment. The indexes are not interfered with each other, one important index is the index of the drilling effect, and one of the important ways for observing the drilling effect is monitoring and observing. In the related art, only the monitoring items can be collected based on the environment, but the monitoring and collection of the server for virtual space management cannot be performed in the virtual space dimension, which causes different effects generated by parallel drilling to be presented in the same monitoring index, and causes mutual influence. Moreover, when an abnormality is detected, it is difficult to determine whether the abnormality is triggered by a drill or caused by other drills or daily traffic, and it is necessary to further combine various other means to determine the cause of the triggering abnormality. Therefore, a scheme for monitoring indexes of a server for managing a virtual space in a virtual space dimension is needed.
Disclosure of Invention
In one aspect, one or more embodiments of the present specification provide a virtualization-based data processing method, including: receiving an index monitoring instruction for a target application, wherein the index monitoring instruction comprises space identification information of a target virtual space and application identification information of the target application, the target virtual space is at least one of a plurality of virtual spaces created in advance, and each virtual space is used for isolating corresponding server information from other server information. And based on the monitoring instruction, determining target server information corresponding to the target virtual space according to target server aggregation information corresponding to the target application, wherein the target server aggregation information comprises server information isolated by each virtual space corresponding to the target application. And monitoring indexes of the target application server corresponding to the target server information.
In another aspect, one or more embodiments of the present specification provide a virtualization-based data processing apparatus, including: the receiving module is used for receiving an index monitoring instruction for target application, wherein the index monitoring instruction comprises space identification information of a target virtual space and application identification information of the target application, the target virtual space is at least one of a plurality of virtual spaces which are created in advance, and each virtual space is respectively used for isolating the corresponding server information from other server information. The first determining module is used for determining target server information corresponding to the target virtual space according to target server aggregation information corresponding to the target application based on the monitoring instruction, wherein the target server aggregation information comprises server information isolated by each virtual space corresponding to the target application. And the monitoring module is used for monitoring indexes of the target application server corresponding to the target server information.
In another aspect, one or more embodiments of the present specification provide a virtualization-based data processing system, comprising: the system comprises a virtual space management platform and a monitoring platform. Wherein: the virtual space management platform receives a creation instruction of a target virtual space, wherein the creation instruction comprises target virtual space information of the target virtual space, the target virtual space is created based on the creation instruction, target server identification information of a target application server corresponding to the target virtual space is acquired, a target association relationship between the target server identification information and the target space identification information is established, the target association relationship is stored in a virtual space association information set, and the target virtual space is used for isolating the target server information corresponding to the target server identification information from other server information. The monitoring platform receives an index monitoring instruction for a target application, the index monitoring instruction comprises target space identification information of the target virtual space and application identification information of the target application, the target server information corresponding to the target virtual space is determined according to target server aggregation information corresponding to the target application based on the monitoring instruction, the target server aggregation information comprises server information isolated by each virtual space corresponding to the target application, and index monitoring is carried out on a target application server corresponding to the target server information.
In yet another aspect, one or more embodiments of the present specification provide an electronic device comprising a processor and a memory electrically connected to the processor, the memory storing a computer program, the processor being configured to invoke and execute the computer program from the memory to implement: receiving an index monitoring instruction for a target application, wherein the index monitoring instruction comprises space identification information of a target virtual space and application identification information of the target application, the target virtual space is at least one of a plurality of virtual spaces created in advance, and each virtual space is respectively used for isolating corresponding server information from other server information. And based on the monitoring instruction, determining target server information corresponding to the target virtual space according to target server aggregation information corresponding to the target application, wherein the target server aggregation information comprises server information isolated by each virtual space corresponding to the target application. And monitoring indexes of the target application server corresponding to the target server information.
In another aspect, the present specification provides a storage medium for storing a computer program, where the computer program is executable by a processor to implement the following processes: receiving an index monitoring instruction for a target application, wherein the index monitoring instruction comprises space identification information of a target virtual space and application identification information of the target application, the target virtual space is at least one of a plurality of virtual spaces created in advance, and each virtual space is respectively used for isolating corresponding server information from other server information. And based on the monitoring instruction, determining target server information corresponding to the target virtual space according to target server aggregation information corresponding to the target application, wherein the target server aggregation information comprises server information isolated by each virtual space corresponding to the target application. And monitoring indexes of the target application server corresponding to the target server information.
Drawings
In order to more clearly illustrate one or more embodiments or prior art solutions of the present specification, the drawings used in the description of the embodiments or prior art will be briefly described below, it is obvious that the drawings in the description below are only some of the embodiments described in one or more embodiments of the present specification, and that other drawings may be obtained by those skilled in the art without inventive effort.
FIG. 1 is a schematic flow chart diagram of a virtualization-based data processing method according to one embodiment of the present description;
fig. 2 is a schematic flow chart of adding an association relationship in a virtual space association information set according to an embodiment of the present specification;
FIG. 3 is a block diagram of an exemplary architecture for establishing an association between a virtual space and a server in accordance with one embodiment of the present description;
FIG. 4 is a schematic block diagram of a virtual space management server according to one embodiment of the present description;
FIG. 5 is a schematic block diagram of a virtualization-based data processing system in accordance with one embodiment of the present description;
FIG. 6 is a schematic block diagram of a virtualization-based data processing system in accordance with another embodiment of the present description;
FIG. 7 is a schematic swimlane diagram of a virtualization-based data processing method in accordance with an embodiment of the present description;
FIG. 8 is a schematic block diagram of a virtualization-based data processing apparatus according to an embodiment of the present description;
FIG. 9 is a schematic block diagram of an electronic device in accordance with an embodiment of the present description.
Detailed Description
One or more embodiments of the present specification provide a data processing method, apparatus, and system based on virtualization, so as to solve a problem that, in the prior art, index monitoring cannot be performed on a server managed by a virtual space in a virtual space dimension.
In order to make those skilled in the art better understand the technical solutions in one or more embodiments of the present disclosure, the technical solutions in one or more embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in one or more embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from one or more of the embodiments of the present disclosure without making any creative effort shall fall within the protection scope of one or more of the embodiments of the present disclosure.
Fig. 1 is a schematic flow chart of a virtualization-based data processing method according to an embodiment of the present specification, which is applicable to a virtualization-based data processing system, as shown in fig. 1, and includes the following steps:
s102, receiving an index monitoring instruction applied to a target; the index monitoring instruction comprises space identification information of a target virtual space and application identification information of a target application; the target virtual space is at least one of a plurality of virtual spaces created in advance, and each virtual space is used for isolating the corresponding server information from other server information.
The space identification information of the target virtual space refers to information that can uniquely identify the target virtual space, and may be, for example, a number, a name, and the like of the target virtual space. The application identification information of the target application refers to information capable of uniquely identifying the target application, and may be, for example, a name, an icon, or the like of the target application. The server information may include at least one of server identification information, service information served by the server, a server IP address, and the like.
Each of the plurality of virtual spaces created in advance may isolate at least one server information. The virtual space may be understood as a management of a server corresponding to the server information by the virtual space. The plurality of server information isolated by each virtual space may be server information corresponding to different applications or server information corresponding to the same application. For example, for one of the virtual spaces, the virtual space may isolate server information of the server a1 and the server a2 of the application a, that is, the virtual space is used for managing the server a1 and the server a2; the server information of the server a1 of the application a and the server information of the server B1 of the application B, i.e., the virtual space, may be isolated and used for managing the server a1 and the server B1.
Based on the virtual space technology, after the server information corresponding to the virtual space is isolated from other server information by using the virtual space, the server traffic corresponding to other server information except the virtual space cannot be transmitted through the virtual space, that is, the server traffic corresponding to other server information cannot enter the server corresponding to the isolated server information in the virtual space. For example, the server a1 is defined (i.e., isolated) in the virtual space1 to isolate the server a1 from the server b1, so that the server traffic corresponding to the server b1 does not enter the server a1, and the index monitoring result of the server a1 is not affected by the server traffic corresponding to the server b1.
S104, determining target server information corresponding to a target virtual space according to target server aggregation information corresponding to a target application based on the monitoring instruction; the target server aggregation information includes server information isolated by each virtual space corresponding to the target application.
In this embodiment, each application corresponds to respective server aggregation information, and the server aggregation information includes server information that is obtained by isolating each virtual space corresponding to the application. For example, the server information corresponding to the application includes server information of a server a1 and a server a2, where the server a1 is isolated by the virtual space1, and the server a2 is isolated by the virtual space2, and then each virtual space corresponding to the application includes the virtual space1 and the virtual space2. The target virtual space may be one or more of all virtual spaces to which the target application corresponds.
And S106, performing index monitoring on the target application server corresponding to the target server information.
By adopting the technical scheme of one or more embodiments of the specification, when an index monitoring instruction for a target application is received, the index monitoring instruction comprises space identification information of a target virtual space and application identification information of the target application, and target server information corresponding to the target virtual space can be determined according to target server aggregation information corresponding to the target application, so that index monitoring is performed on a target application server corresponding to the target server information. The virtual spaces can isolate the corresponding server information from other server information, so that the virtual spaces are independent and do not interfere with each other, and the flow of other servers outside the management and control of the virtual spaces cannot enter the servers corresponding to the isolated server information in the virtual spaces, thereby avoiding the condition that the index monitoring result is inaccurate due to the influence of other servers in the index monitoring process of the servers, and realizing the effect of index monitoring on the servers managed by the virtual spaces under the dimension of the virtual spaces. In addition, when the target virtual space manages a plurality of application servers, the index monitoring is performed on the target application server corresponding to the target virtual space, and the index monitoring results of the plurality of application servers can be gathered together, so that the aggregation of the index monitoring results of the plurality of application servers in the virtual space dimension is realized. In addition, according to the technical scheme, an additional resource server is not required to be applied, so that a large amount of resources can be saved on the basis of realizing the effect of index monitoring on the server managed by the virtual space under the virtual space dimension.
In one embodiment, before receiving the index monitoring instruction for the target application, server aggregation information corresponding to each application may be predetermined, where the server aggregation information includes server information that is obtained by respectively isolating virtual spaces corresponding to the applications. Specifically, a pre-created virtual space associated information set is first obtained, where the virtual space associated information set includes an association relationship between a plurality of pieces of space identification information and server identification information. Then, for each application (i.e., for any application), according to the virtual space association information set, aggregating the server information corresponding to the server identification information associated with the same space identification information to obtain server aggregation information for the application in the virtual space dimension.
In this embodiment, the virtual space association information set may include not only the association relationship between a plurality of pieces of space identification information and server identification information, but also the association relationship between the pieces of space identification information, the pieces of server identification information, the pieces of application identification information, the pieces of server information, and the like. The server information may include at least one of server identification information, service information served by the server, a server IP address, and the like. Through the virtual space association information set, the virtual space and the server information respectively associated with each application can be determined. Specifically, assuming that the virtual space associated information set includes space identification information, an association relationship between application identification information and server identification information, the virtual space associated information set may first determine an association relationship between the space identification information corresponding to the same application identification information and the server identification information, and then aggregate server information corresponding to the server identification information associated with the same space identification information according to the association relationship between the space identification information corresponding to the same application identification information and the server identification information, so as to obtain server aggregation information applied to the virtual space dimension.
In one embodiment, before determining the server aggregation information corresponding to each application, a virtual space and a virtual space association information set are first created.
Alternatively, the virtual space may be created in advance by the virtual space management platform. When a target virtual space needs to be created, a creation instruction for the target virtual space is received first, and the creation instruction includes target space identification information of the target virtual space. Second, a target virtual space is created based on the creation instruction. If the association relationship between the target virtual space and the target application server needs to be established while the target virtual space is created, the target server identification information of the target application server corresponding to the target virtual space can be acquired, then the association relationship between the target server identification information and the target space identification information is established, and the association relationship is stored in the virtual space association information set. The target application server may be one or more application servers corresponding to the same application, or the target application server may also be one or more application servers (also referred to as a server for short) corresponding to a plurality of applications.
Alternatively, the virtual space associated information set may be created in advance by the virtual space management platform. The association relationship between the application identification information, the server identification information, and the space identification information (or the association relationship between the server identification information and the space identification information) included in the virtual space association information set may be determined by a user, or may be automatically determined by a computer. When the association relationship is determined by the user, the user can associate the server identification information of the server corresponding to the index to be aggregated and monitored with the same virtual space according to the requirement of index monitoring, so that the server corresponding to the index to be aggregated and monitored is managed by the same virtual space. Alternatively, servers that are susceptible to mutual interference may be associated with different virtual spaces, such that the server identification information of the servers that are susceptible to mutual interference is managed by the different virtual spaces.
When the association relationship is automatically determined by the computer, the computer can determine whether the relationship between the servers belongs to an index aggregation relationship or a mutual interference relationship by analyzing historical index monitoring information of the plurality of servers, and then allocate a virtual space for each server according to the determined relationship between the servers. If the two servers belong to the index aggregation relationship, and the indexes of the two servers need to be aggregated and monitored, the server identification information of the two servers can be associated with the same virtual space, so that the servers corresponding to the indexes needing to be aggregated and monitored are managed by the same virtual space. If the two servers belong to a mutual interference relationship, which indicates that the two servers are easy to interfere with each other in the index monitoring process, so that the index monitoring result is inaccurate, the server identification information of the two servers can be associated with different virtual spaces, so that the servers easy to interfere with each other are managed by the different virtual spaces. Optionally, according to historical index monitoring information of the servers, if aggregation monitoring is performed between two servers for at least N times, it can be determined that the two servers belong to an index aggregation relationship; if the two servers have at least M times of mutual interference, the mutual interference relationship between the two servers can be determined, and N and M are integers which are larger than or equal to 1. The aggregation monitoring of the plurality of servers means that the index monitoring results of each server are aggregated, and finally an integrated index monitoring result is obtained.
In one embodiment, before the association relationship between the target server identification information and the target space identification information is established, it may be determined that the virtualization permission of the target application corresponding to the target application server is opened. And if the virtualization permission of the target application is determined to be opened, storing the association relationship to the virtual space association information set. After storing the association relationship to the virtual space association information set, the association relationship in the virtual space association information set may be updated, including updating the server identification information and/or the space identification information in the association relationship. Optionally, before updating the association relationship between the target server identification information and the target space identification information in the virtual space association information set, it may be determined that the virtualization permission of the target application corresponding to the target application server is opened. And if the virtualization authority of the target application is determined to be opened, correspondingly updating the association relation.
Fig. 2 is a schematic flow chart of adding an association relationship in a virtual space association information set according to an embodiment.
As shown in fig. 2, the method comprises the following steps:
s201, receiving a creating instruction of the target virtual space, wherein the creating instruction comprises target virtual space information of the target virtual space.
S202, a target virtual space is created, and target server identification information of a target application server corresponding to the target virtual space is obtained.
And the target application server is a server corresponding to the target application. The target application server corresponding to the target virtual space refers to a target application server to be managed by the target virtual space, or target server identification information isolated by the target virtual space, which may also be understood as a target application service that establishes an association relationship with the target virtual space. The determination of the target application server will be described in detail in the following examples, which are not repeated herein.
S203, judging whether the virtualization authority of the target application is opened or not; if yes, executing S204; if not, the process ends, or S205 is executed.
S204, establishing an association relationship between the target server identification information and the target space identification information, and storing the association relationship to a virtual space association information set.
S205, sending out prompt information used for identifying that the virtualization permission of the target application is not opened.
In this embodiment, when the association relationship is newly added to the virtual space association information set, a target virtual space is created. In another case, if the target virtual space associated with the target application server has been created in advance, that is, the virtual space management platform already includes the target virtual space, the creation does not need to be repeated, and only the target server identification information of the target application server corresponding to the target virtual space needs to be directly acquired, and the subsequent S203-S205 are further performed.
FIG. 3 is a schematic block diagram of an association between a virtual space and a server, according to an embodiment. Assume that two virtual spaces are created: namespace1 and namespace2. The two virtual spaces are associated with the servers corresponding to the application app1 and the application app 2. As shown in fig. 3, an association relationship is established between the virtual space namespace1 and the following servers: server apps 1-94-1 and apps 1-96-1 to which app1 is applied, and server apps 2-94-1, apps 2-94-2, apps 2-96-1 and apps 2-96-2 to which app2 is applied. An association relation is established between the virtual space namespace2 and the following servers: server apps 1-94-2 and apps 1-96-2 to which app1 is applied, and server apps 2-94-3, apps 2-94-4, apps 2-96-3 and apps 2-96-4 to which app2 is applied. It can be seen that the structure of the virtual space management service shown in fig. 3 is divided by taking a virtual space as a dimension, and business relevance between servers is not considered, for example, there is business relevance between the servers app1-94-1 and app1-94-2 of the application app1, and aggregation monitoring is required when index monitoring is performed, whereas the management structure shown in fig. 3 cannot perform aggregation monitoring. For another example, if the server app1-94-1 of the application app1 and the server app2-94-1 of the application app2 interfere with each other, if the two servers are divided into the same virtual space namespace1 according to the management structure shown in fig. 3, an interference problem will occur during index monitoring. Therefore, it is necessary to convert the association structure shown in fig. 3 into an association structure with the applications and the virtual space as dimensions, that is, each application is managed according to the server aggregation information corresponding to each application.
After determining the association relationship between the application identification information, the server identification information, and the space identification information, the association relationship may be stored in a virtual space association information set.
Table 1 below schematically shows a way of characterizing a set of virtual space correlation information. As shown in table 1, the virtual space namespace1 is used to manage the following servers: the server app1-94-1 and app1-96-1 of the application app1, and the server app2-94-1, app2-94-2, app2-96-1 and app2-96-2 of the application app 2. The virtual space namespace2 is used for managing the following servers: server apps 1-94-2 and apps 1-96-2 to which app1 is applied, and server apps 2-94-3, apps 2-94-4, apps 2-96-3 and apps 2-96-4 to which app2 is applied.
TABLE 1
Application identification information Server identification information Spatial identification information
app1 app1-94-1 namespace1
app1 app1-96-1 namespace1
app2 app2-94-1 namespace1
app2 app2-94-2 namespace1
app2 app2-96-1 namespace1
app2 app2-96-2 namespace1
app1 app1-94-2 namespace2
app1 app1-96-2 namespace2
app2 app2-94-3 namespace2
app2 app2-94-4 namespace2
app2 app2-96-3 namespace2
app2 app2-96-4 namespace2
It should be noted that table 1 is only an example of a virtual space associated information set, and in practical applications, the virtual space associated information set may further include other richer information, such as a server IP address, creation time of an association, update time of the association, and the like.
In one embodiment, after the virtual space association information set is created, the virtual space association information set may be persistently stored in a specified database. In determining the server aggregation information corresponding to each application, a virtual space association information set may be retrieved from a designated database.
In an embodiment, after the virtual space management platform creates the virtual space associated information set, the data subscription platform may subscribe the virtual space associated information set from the virtual space management platform periodically and push the virtual space associated information set to the monitoring platform, and the monitoring platform receives the virtual space associated information set pushed by the data subscription platform, and further determines server aggregation information corresponding to each application according to the virtual space associated set.
Still taking table 1 as an example, when determining the server aggregation information corresponding to the application app1, first determining, according to table 1, an association relationship between the space identification information corresponding to the application app1 and the server identification information includes: app1-94-1 and namespace1, app1-96-1 and namespace1, app1-94-2 and namespace2, app1-96-2 and namespace2. Then, according to the determined association relationship, it can be further determined that the virtual space corresponding to the application app1 includes namespace1 and namespace2, and the server aggregation information corresponding to the application app1 is: virtual space namespace1 is used for isolating server information of server apps 1-94-1 and apps 1-96-1, and virtual space namespace2 is used for isolating server information of server apps 1-94-2 and apps 1-96-2. Similarly, it may be determined that the corresponding virtual space corresponding to app2 includes namespace1 and namespace2, and the server aggregation information corresponding to app2 is: virtual space namespace1 is used for isolating server information of server apps 2-94-1, apps 2-94-2, apps 2-96-1 and apps 2-96-2, and virtual space namespace2 is used for isolating server information of server apps 2-94-3, apps 2-94-4, apps 2-96-3 and apps 2-96-4.
Taking the example of determining the server aggregation information by the monitoring platform as an example, fig. 4 schematically shows a structure diagram of a virtual space management server. As can be seen from fig. 4, the management structure takes the application and the virtual space as dimensions, so that different applications can be accurately isolated, and multiple servers of the same application can also be isolated by different virtual spaces. In this way, when index monitoring is performed on the application app1, aggregate monitoring can be performed on the server apps 1-94-1 and apps 1-96-1 in the virtual space namespace1, and monitoring is not interfered by the virtual space namespace2. Similarly, when index monitoring is carried out on the application app2, aggregate monitoring can be carried out on the servers app2-94-1, app2-94-2, app2-96-1 and app2-96-2 in the virtual space namespace1, and monitoring cannot be interfered by the virtual space namespace2.
In one embodiment, after index monitoring is performed on a target application server corresponding to target server information, an index monitoring result corresponding to the target application server may be determined. Wherein the index monitoring result comprises at least one of the following: and the sub-monitoring results of each application index corresponding to the target application server are summarized according to each sub-monitoring result to obtain a first comprehensive monitoring result. And further, displaying the index monitoring result on a front-end interface of the monitoring platform.
In this embodiment, one application server (or server for short) corresponds to one or more application indexes. If the application server only corresponds to one application index, that is, only one application index of the application server is monitored, the monitoring result of the application index can be directly displayed on the front-end interface of the monitoring platform. If the application server corresponds to a plurality of application indexes, that is, a plurality of application indexes of the application server need to be monitored, the sub-monitoring results corresponding to each application index can be displayed on the front-end interface of the monitoring platform, and/or the sub-monitoring results are summarized to obtain a first comprehensive monitoring result, and the first comprehensive monitoring result is displayed on the front-end interface of the monitoring platform.
In one embodiment, the target application servers include a plurality of target application servers, and when the index monitoring results corresponding to the target application servers are determined, the index monitoring results corresponding to the target application servers can be summarized to obtain a second comprehensive monitoring result corresponding to the target application, where the index monitoring results include the second comprehensive monitoring result.
Taking the virtual space management structure shown in fig. 4 as an example, assuming that index monitoring is performed on a server managed by a virtual space namespace1 corresponding to an application app1, since the virtual space namespace1 is managed by two server apps 1-94-1 and apps 1-96-1 (i.e., target application servers), after index monitoring is performed, index monitoring results corresponding to the server apps 1-94-1 and index monitoring results corresponding to the server apps 1-96-1 are obtained, and further, index monitoring results corresponding to the server apps 1-94-1 and the server apps 1-96-1 respectively can be summarized to obtain a second comprehensive monitoring result, and then the index monitoring results corresponding to the server apps 1-94-1, the index monitoring results corresponding to the server apps 1-96-1 and/or the second comprehensive monitoring result are displayed on a front-end interface of the monitoring platform.
It can be seen from the above embodiments that, no matter monitoring is performed on multiple application indexes of the same application server or monitoring is performed on application indexes of different application servers, as long as the monitored servers are managed by the same virtual space, the monitoring results can be displayed on the same front-end interface, so that a user can clearly view the monitoring results, including a single application index, a single server and/or a summarized comprehensive monitoring result, which brings great convenience for the user to view the monitoring results of the server indexes.
In one embodiment, to ensure that other server traffic outside of the virtual space enters the servers managed by the virtual space, server data input to the virtual space may be monitored during index monitoring for the servers managed by the virtual space. If the virtual space subjected to index monitoring is a target virtual space, judging whether server data carries space identification information of the target virtual space or not when the server data of the target virtual space to be input is monitored; if not, preventing the server data from being input into the target virtual space; and if so, allowing the server data to be input into the target virtual space.
In this embodiment, the server data input into the target virtual space needs to carry the space identification information of the target virtual space. If the server data does not carry the space identification information of the target virtual space, it is indicated that the server data does not belong to data generated by the server managed by the target virtual space, and interference is easily caused to the index monitoring result of the server managed by the target virtual space.
In one embodiment, updates may also be made to the created virtual space. If the created first virtual space needs to be updated, the following steps can be executed: first, an update instruction for a first virtual space is received, where the update instruction includes first space identification information and an update mode of the first virtual space. And secondly, acquiring first server identification information of the first application server to be updated based on the updating instruction. And thirdly, according to the first server identification information, performing updating operation matched with the updating mode on the first virtual space. Wherein, the updating method may include: a new addition mode or a deletion mode.
Optionally, when an update operation matching the update mode is performed on the first virtual space according to the first server identification information, if the update mode is a new addition mode, a first association relationship between the first server identification information and the first space identification information is established, and the first association relationship is stored in the virtual space association information set. And if the updating mode is a deleting mode, updating the state of the first association relation corresponding to the first service identification information in the virtual space association information set to be an unavailable state, or deleting the first association relation corresponding to the first service identification information in the virtual space association information set.
Optionally, before performing the update operation matched with the update mode on the first virtual space according to the first server identification information, it is determined that the virtualization permission of the first application corresponding to the first application server is opened.
In addition, if a certain created virtual space is desired to be deleted, a delete instruction may be directly issued to the system. Specifically, if it is desired to delete the created second virtual space, the system first receives a deletion instruction for the second virtual space, the deletion instruction including second space identification information of the second virtual space. And then updating the state of the second association relation corresponding to the second space identification information in the virtual space association information set to be in an unavailable state or deleting the second association relation corresponding to the second space identification information in the virtual space association information set based on the deleting instruction.
Optionally, after receiving the delete instruction for the second virtual space, all the second application servers corresponding to the second space identification information may be determined according to the virtual space association information set, and then, it is determined whether the virtualization authority of the second application corresponding to the second application server is opened. If the virtual space identification information is started, the state of the second association relation corresponding to the second space identification information in the virtual space association information set can be further updated to be an unavailable state, or the second association relation corresponding to the second space identification information in the virtual space association information set is deleted.
In the above embodiment, if the data subscription platform subscribes to the virtual space associated information set created by the virtual space management platform, after the virtual space is newly added, updated and/or deleted or the association relationship in the virtual space associated information set is newly added, updated and/or deleted, the virtual space management platform may send the newly added, updated and/or deleted information to the data subscription platform, and then the data subscription platform sends the newly added, updated and/or deleted information to the monitoring platform. And the monitoring platform re-determines the server aggregation information corresponding to each application according to the new, updated and/or deleted information.
FIG. 5 is a schematic block diagram of a virtualization-based data processing system in accordance with an embodiment. As shown in fig. 5, a virtualization-based data processing system includes a virtual space management platform and a monitoring platform. Wherein:
the virtual space management platform receives a creation instruction of a target virtual space, wherein the creation instruction comprises target virtual space information of the target virtual space; creating a target virtual space based on the creation instruction, and acquiring target server identification information of a target application server corresponding to the target virtual space; establishing a target association relation between target server identification information and target space identification information, and storing the target association relation to a virtual space association information set; the target virtual space is used for isolating the target server information corresponding to the target server identification information from other server information.
The monitoring platform receives an index monitoring instruction for the target application, wherein the index monitoring instruction comprises target space identification information of a target virtual space and application identification information of the target application; based on the monitoring instruction, determining target server information corresponding to the target virtual space according to target server aggregation information corresponding to the target application, wherein the target server aggregation information comprises server information isolated by each virtual space corresponding to the target application; and monitoring indexes of the target application server corresponding to the target server information.
In one embodiment, as shown in fig. 6, the virtualization-based data processing system further comprises a data subscription platform that subscribes to the virtual space association information set created by the virtual space management platform and forwards the virtual space association information set to the monitoring platform.
FIG. 7 is a schematic swim lane diagram of a virtualization-based data processing method according to an embodiment. As shown in fig. 7, the method is applied to the virtualization-based data processing system shown in fig. 6, and includes the following steps:
s7.1, the virtual platform management platform creates at least one virtual space and a virtual space associated information set.
The virtual platform management platform can create a virtual space according to a creation instruction aiming at the virtual space sent by a user, wherein the creation instruction comprises space identification information of the virtual space. When the virtual space associated information set is initially created, the virtual space associated information set is empty, that is, the association relationship between the server identification information and the space identification information is not stored.
And S7.2, the virtual platform management platform determines the application server to be managed in each virtual space.
S7.3, the virtual platform management platform according to the application server to be managed in each virtual space, and establishing the association relationship between the space identification information of each virtual space and the server identification information and the application identification information of the corresponding application server.
And S7.4, the virtual platform management platform stores the established association relationship in a virtual space association information set.
And S7.5, the virtual space management platform sends the virtual space associated information set to the data subscription platform regularly.
In this embodiment, the virtual space management platform periodically sends the virtual space associated information set to the data subscription platform, and in other embodiments, the data subscription platform may also periodically actively obtain the virtual space associated information set from the virtual space management platform.
And S7.6, the data subscription platform sends the virtual space association information set to the monitoring platform.
And S7.7, the monitoring platform determines server aggregation information corresponding to each application according to the virtual space association information set.
Optionally, the monitoring platform aggregates, for each application, server information corresponding to server identification information associated with the same space identification information according to the virtual space association information set, where the server aggregation information includes server information that is isolated by each virtual space corresponding to the application. The manner of determining the server aggregation information has been described in detail in the above embodiments, and is not repeated here.
And S7.8, when the monitoring platform receives the index monitoring instruction of the target application, determining target server information corresponding to the target virtual space according to the space identification information of the target virtual space and the application identification information of the target application included in the index monitoring instruction and according to target server aggregation information corresponding to the target application.
And S7.9, the monitoring platform carries out index monitoring on the target application server corresponding to the target server information and displays an index monitoring result on a front-end interface of the monitoring platform.
Wherein the index monitoring result comprises at least one of the following items: the method comprises the steps of obtaining sub-monitoring results of each application index corresponding to a target application server, obtaining a first comprehensive monitoring result after summarizing according to each sub-monitoring result, and obtaining a second comprehensive monitoring result after summarizing according to index monitoring results corresponding to each target application server.
Therefore, by adopting the technical scheme provided by this embodiment, the virtual space and the virtual space associated information set are created in advance, the server aggregation information of each application is established according to the virtual space associated information set, and then when index monitoring is performed on a target application, target server information corresponding to the target virtual space can be determined according to the target server aggregation information corresponding to the target application, and then index monitoring is performed on the target application server corresponding to the target server information. The virtual spaces can isolate the corresponding server information from other server information, so that the virtual spaces are independent and do not interfere with each other, and the flow of other servers outside the management and control of the virtual spaces cannot enter the servers corresponding to the isolated server information in the virtual spaces, thereby avoiding the condition that the index monitoring result is inaccurate due to the influence of other servers in the index monitoring process of the servers, and realizing the effect of index monitoring on the servers managed by the virtual spaces under the dimension of the virtual spaces. Moreover, when the target virtual space manages a plurality of application servers, the index monitoring is performed on the target application server corresponding to the target virtual space, and the index monitoring results of the plurality of application servers can be summarized, so that the aggregation of the index monitoring results of the plurality of application servers in the virtual space dimension is realized. In addition, the monitoring platform can collect the index monitoring results of a plurality of servers managed by the same virtual space and display the index monitoring results on the front-end interface, so that a user can clearly view a single application index, a single server and/or a comprehensive monitoring result after collection, and great convenience is brought to the user for viewing the monitoring result of the server index. In addition, the technical scheme does not need to apply for an additional resource server, so that a large amount of resources can be saved on the basis of realizing the effect of index monitoring on the server managed by the virtual space under the virtual space dimension.
In summary, particular embodiments of the present subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may be advantageous.
Based on the same idea, the virtualization-based data processing method provided in one or more embodiments of the present specification further provides a virtualization-based data processing apparatus.
Fig. 8 is a schematic flow chart of a virtualization-based data processing apparatus according to an embodiment of the present specification, as shown in fig. 8, the apparatus including:
a first receiving module 81, which receives an index monitoring instruction for a target application; the index monitoring instruction comprises space identification information of a target virtual space and application identification information of the target application; the target virtual space is at least one of a plurality of virtual spaces created in advance, and each virtual space is used for isolating the corresponding server information from other server information;
a first determining module 82, configured to determine, based on the monitoring instruction, target server information corresponding to the target virtual space according to target server aggregation information corresponding to the target application; the target server aggregation information comprises server information isolated by each virtual space corresponding to the target application;
and a monitoring module 83, configured to perform index monitoring on the target application server corresponding to the target server information.
In one embodiment, the apparatus further comprises:
the first acquisition module is used for acquiring a pre-created virtual space association information set before receiving an index monitoring instruction for a target application; the virtual space associated information set comprises a plurality of associated relations between space identification information and server identification information;
the aggregation module aggregates server information corresponding to the server identification information associated with the same space identification information according to the virtual space associated information set for each application to obtain server aggregation information of the application in a virtual space dimension; the server aggregation information includes server information that is respectively isolated by each virtual space corresponding to the application.
In one embodiment, the apparatus further comprises:
the second determination module is used for determining an index monitoring result corresponding to the target application server after the index monitoring is carried out on the target application server corresponding to the target server information; the indicator monitoring result comprises at least one of the following: the sub-monitoring results of each application index corresponding to the target application server are summarized according to each sub-monitoring result to obtain a first comprehensive monitoring result;
and the display module is used for displaying the index monitoring result on a front-end interface of the monitoring platform.
In one embodiment, the target application server comprises a plurality of;
the second determining module comprises:
the summarizing unit summarizes the index monitoring results respectively corresponding to the target application servers to obtain a second comprehensive monitoring result corresponding to the target application; wherein the indicator monitoring result comprises the second integrated monitoring result.
In one embodiment, the first obtaining module comprises:
the receiving unit is used for receiving the virtual space associated information set sent by the data subscription platform; the data subscription platform is used for subscribing the virtual space associated information set created by the virtual space management platform.
In one embodiment, the apparatus further comprises:
the judging module is used for judging whether the server data carries the space identification information of the target virtual space or not when the server data of the target virtual space to be input is monitored;
and if not, the blocking module blocks the server data from being input into the target virtual space.
In one embodiment, the apparatus further comprises:
the second receiving module is used for receiving a creation instruction of the target virtual space before receiving an index monitoring instruction of a target application; the creation instruction includes target space identification information of the target virtual space;
the creating and acquiring module is used for creating the target virtual space based on the creating instruction and acquiring target server identification information of the target application server corresponding to the target virtual space;
and the establishing and storing module is used for establishing an incidence relation between the target server identification information and the target space identification information and storing the incidence relation to a virtual space incidence information set.
In one embodiment, the target application server comprises:
one or more application servers corresponding to the same application; or,
and the plurality of applications respectively correspond to one or more application servers.
In one embodiment, the apparatus further comprises:
and a third determining module, configured to determine that the virtualization permission of the target application corresponding to the target application server is opened before establishing the association between the target server identification information and the target space identification information.
In one embodiment, the apparatus further comprises:
the third receiving module is used for receiving an updating instruction of the first virtual space; the updating instruction comprises first space identification information and an updating mode of the first virtual space;
the second acquisition module is used for acquiring first server identification information of the first application server to be updated based on the updating instruction;
and the first updating module executes updating operation matched with the updating mode on the first virtual space according to the first server identification information.
In one embodiment, the updating method includes: adding or deleting modes;
the first update module includes:
an establishing unit, configured to establish a first association relationship between the first server identification information and the first space identification information if the update mode is the new addition mode, and store the first association relationship to the virtual space association information set;
and if the updating mode is the deleting mode, updating the state of the first association relation corresponding to the first service identification information in the virtual space association information set to be an unavailable state.
In one embodiment, the apparatus further comprises:
a fourth determining module, configured to determine, according to the first server identification information, that the virtualization permission of the first application corresponding to the first application server is opened before performing the update operation matched with the update mode on the first virtual space.
In one embodiment, the apparatus further comprises:
the fourth receiving module is used for receiving a deleting instruction of the second virtual space; the deletion instruction includes second space identification information of the second virtual space;
and the second updating module updates the state of the second association relation corresponding to the second space identification information in the virtual space association information set to an unavailable state based on the deleting instruction.
By adopting the organization in one or more embodiments of the present specification, when an index monitoring instruction for a target application is received, the index monitoring instruction includes space identification information of a target virtual space and application identification information of the target application, and target server information corresponding to the target virtual space can be determined according to target server aggregation information corresponding to the target application, so as to perform index monitoring on a target application server corresponding to the target server information. The virtual spaces can isolate the corresponding server information from other server information, so that the virtual spaces are independent and do not interfere with each other, and the flow of other servers outside the management and control of the virtual spaces cannot enter the servers corresponding to the isolated server information in the virtual spaces, thereby avoiding the condition that the index monitoring result is inaccurate due to the influence of other servers in the index monitoring process of the servers, and realizing the effect of index monitoring on the servers managed by the virtual spaces under the dimension of the virtual spaces. In addition, when the target virtual space manages a plurality of application servers, the index monitoring is performed on the target application server corresponding to the target virtual space, and the index monitoring results of the plurality of application servers can be gathered together, so that the aggregation of the index monitoring results of the plurality of application servers in the virtual space dimension is realized. In addition, the device does not need to apply for an additional resource server, so that a large amount of resources can be saved on the basis of realizing the effect of index monitoring on the server managed by the virtual space under the virtual space dimension.
It should be understood by those skilled in the art that the virtualization-based data processing apparatus can be used to implement the virtualization-based data processing method described above, and the detailed description thereof should be similar to that of the method described above, and therefore, in order to avoid complexity, no further description is provided herein.
Along the same lines, one or more embodiments of the present specification further provide an electronic device, as shown in fig. 9. Electronic devices may vary widely in configuration or performance and may include one or more processors 901 and memory 902, where the memory 902 may store one or more stored applications or data. Memory 902 may be, among other things, transient storage or persistent storage. The application program stored in memory 902 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for the electronic device. Still further, the processor 901 may be configured to communicate with the memory 902 to execute a series of computer-executable instructions in the memory 902 on the electronic device. The electronic device may also include one or more power supplies 903, one or more wired or wireless network interfaces 904, one or more input-output interfaces 905, one or more keyboards 906.
In particular, in this embodiment, the electronic device includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the electronic device, and the one or more programs configured to be executed by the one or more processors include computer-executable instructions for:
receiving an index monitoring instruction for target application; the index monitoring instruction comprises space identification information of a target virtual space and application identification information of the target application; the target virtual space is at least one of a plurality of virtual spaces created in advance, and each virtual space is used for isolating the corresponding server information from other server information;
based on the monitoring instruction, determining target server information corresponding to the target virtual space according to target server aggregation information corresponding to the target application; the target server aggregation information comprises server information isolated by each virtual space corresponding to the target application;
and monitoring indexes of the target application server corresponding to the target server information.
By adopting the technical scheme of one or more embodiments of the specification, when an index monitoring instruction for a target application is received, the index monitoring instruction comprises space identification information of a target virtual space and application identification information of the target application, and target server information corresponding to the target virtual space can be determined according to target server aggregation information corresponding to the target application, so that index monitoring is performed on a target application server corresponding to the target server information. The virtual spaces can isolate the corresponding server information from other server information, so that the virtual spaces are independent and do not interfere with each other, and the flow of other servers outside the control of the virtual spaces cannot enter the servers corresponding to the isolated server information in the virtual spaces, thereby avoiding the condition that the index monitoring result is inaccurate due to the influence of other servers in the index monitoring process of the servers, and realizing the effect of index monitoring on the servers managed by the virtual spaces under the dimension of the virtual spaces. In addition, when the target virtual space manages a plurality of application servers, the index monitoring is performed on the target application server corresponding to the target virtual space, and the index monitoring results of the plurality of application servers can be gathered together, so that the aggregation of the index monitoring results of the plurality of application servers in the virtual space dimension is realized. In addition, according to the technical scheme, an additional resource server does not need to be applied, so that a large amount of resources can be saved on the basis of realizing the effect of index monitoring on the server managed by the virtual space under the virtual space dimension.
One or more embodiments of the present specification also propose a storage medium storing one or more computer programs, the one or more computer programs comprising instructions, which, when executed by an electronic device comprising a plurality of application programs, are capable of causing the electronic device to perform the respective processes of the above-mentioned electronic method embodiments, and in particular to perform:
receiving an index monitoring instruction for target application; the index monitoring instruction comprises space identification information of a target virtual space and application identification information of the target application; the target virtual space is at least one of a plurality of virtual spaces created in advance, and each virtual space is used for isolating the corresponding server information from other server information;
based on the monitoring instruction, determining target server information corresponding to the target virtual space according to target server aggregation information corresponding to the target application; the target server aggregation information comprises server information isolated by each virtual space corresponding to the target application;
and monitoring indexes of the target application server corresponding to the target server information.
By adopting the technical scheme of one or more embodiments of the specification, when an index monitoring instruction for a target application is received, the index monitoring instruction comprises space identification information of a target virtual space and application identification information of the target application, and target server information corresponding to the target virtual space can be determined according to target server aggregation information corresponding to the target application, so that index monitoring is performed on a target application server corresponding to the target server information. The virtual spaces can isolate the corresponding server information from other server information, so that the virtual spaces are independent and do not interfere with each other, and the flow of other servers outside the management and control of the virtual spaces cannot enter the servers corresponding to the isolated server information in the virtual spaces, thereby avoiding the condition that the index monitoring result is inaccurate due to the influence of other servers in the index monitoring process of the servers, and realizing the effect of index monitoring on the servers managed by the virtual spaces under the dimension of the virtual spaces. In addition, when the target virtual space manages a plurality of application servers, index monitoring is performed on the target application server corresponding to the target virtual space, and index monitoring results of the plurality of application servers can be summarized, so that aggregation of the index monitoring results of the plurality of application servers in the virtual space dimension is realized. In addition, according to the technical scheme, an additional resource server is not required to be applied, so that a large amount of resources can be saved on the basis of realizing the effect of index monitoring on the server managed by the virtual space under the virtual space dimension.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more pieces of software and/or hardware in implementing one or more embodiments of the present description.
One skilled in the art will recognize that one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
One or more embodiments of the present specification are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the specification. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or apparatus comprising the element.
One or more embodiments of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
All the embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for relevant points.
The above description is only one or more embodiments of the present disclosure, and is not intended to limit the present disclosure. Various modifications and alterations to one or more embodiments described herein will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of the present specification should be included in the scope of claims of one or more embodiments of the present specification.

Claims (18)

1. A virtualization-based data processing method, comprising:
receiving an index monitoring instruction for target application; the index monitoring instruction comprises space identification information of a target virtual space and application identification information of the target application; the target virtual space is at least one of a plurality of virtual spaces created in advance, and each virtual space is used for isolating the corresponding server information from other server information;
based on the monitoring instruction, determining target server information corresponding to the target virtual space according to target server aggregation information corresponding to the target application; the target server aggregation information comprises server information isolated by each virtual space corresponding to the target application;
and monitoring indexes of the target application server corresponding to the target server information.
2. The method of claim 1, prior to receiving the target application metric monitoring instruction, further comprising:
acquiring a pre-created virtual space associated information set; the virtual space associated information set comprises a plurality of associated relations between space identification information and server identification information;
for each application, according to the virtual space association information set, aggregating server information corresponding to server identification information associated with the same space identification information to obtain server aggregation information of the application in a virtual space dimension; the server aggregation information includes server information that is respectively isolated by each virtual space corresponding to the application.
3. The method of claim 1, further comprising, after the index monitoring is performed on the target application server corresponding to the target server information:
determining an index monitoring result corresponding to the target application server; the indicator monitoring result comprises at least one of the following: the sub-monitoring results of each application index corresponding to the target application server are summarized according to each sub-monitoring result to obtain a first comprehensive monitoring result;
and displaying the index monitoring result on a front-end interface of a monitoring platform.
4. The method of claim 3, the target application server comprising a plurality;
the determining of the index monitoring result corresponding to the target application server includes:
summarizing the index monitoring results respectively corresponding to each target application server to obtain a second comprehensive monitoring result corresponding to the target application; wherein the indicator monitoring result comprises the second integrated monitoring result.
5. The method of claim 2, wherein the obtaining a pre-created virtual space association information set comprises:
receiving the virtual space associated information set sent by a data subscription platform; the data subscription platform is used for subscribing the virtual space associated information set created by the virtual space management platform.
6. The method of claim 1, further comprising:
when monitoring that server data of the target virtual space is to be input, judging whether the server data carries space identification information of the target virtual space;
and if not, preventing the server data from being input into the target virtual space.
7. The method of claim 2, prior to receiving the target application metric monitoring instruction, further comprising:
receiving a creation instruction of the target virtual space; the creation instruction comprises target space identification information of the target virtual space;
creating the target virtual space based on the creation instruction, and acquiring target server identification information of the target application server corresponding to the target virtual space;
and establishing an association relation between the target server identification information and the target space identification information, and storing the association relation to a virtual space association information set.
8. The method of claim 7, the target application server comprising:
one or more application servers corresponding to the same application; or,
and the plurality of applications respectively correspond to one or more application servers.
9. The method of claim 7, before establishing the association between the target server identification information and the target space identification information, further comprising:
and determining that the virtualization permission of the target application corresponding to the target application server is opened.
10. The method of claim 2, further comprising:
receiving an updating instruction of a first virtual space; the updating instruction comprises first space identification information and an updating mode of the first virtual space;
acquiring first server identification information of a first application server to be updated based on the updating instruction;
and executing the updating operation matched with the updating mode on the first virtual space according to the first server identification information.
11. The method of claim 10, the update mode comprising: a new adding mode or a deleting mode;
the executing, according to the first server identification information, an update operation matched with the update mode on the first virtual space includes:
if the updating mode is the new adding mode, establishing a first association relationship between the first server identification information and the first space identification information, and storing the first association relationship to the virtual space association information set;
and if the updating mode is the deleting mode, updating the state of the first association relation corresponding to the first service identification information in the virtual space association information set to be an unavailable state.
12. The method of claim 10, wherein before performing the update operation matching the update manner on the first virtual space according to the first server identification information, the method further comprises:
and determining that the virtualization permission of the first application corresponding to the first application server is opened.
13. The method of claim 2, further comprising:
receiving a deletion instruction of the second virtual space; the deletion instruction includes second space identification information of the second virtual space;
and updating the state of the second association relation corresponding to the second space identification information in the virtual space association information set to be an unavailable state based on the deleting instruction.
14. A virtualization-based data processing apparatus comprising:
the first receiving module is used for receiving an index monitoring instruction for target application; the index monitoring instruction comprises space identification information of a target virtual space and application identification information of the target application; the target virtual space is at least one of a plurality of virtual spaces created in advance, and each virtual space is used for isolating the corresponding server information from other server information;
the first determining module is used for determining target server information corresponding to the target virtual space according to the target server aggregation information corresponding to the target application based on the monitoring instruction; the target server aggregation information comprises server information isolated by each virtual space corresponding to the target application;
and the monitoring module is used for monitoring indexes of the target application server corresponding to the target server information.
15. A virtualization-based data processing system comprising: a virtual space management platform and a monitoring platform; wherein:
the virtual space management platform receives a creation instruction of a target virtual space, wherein the creation instruction comprises target virtual space information of the target virtual space; creating the target virtual space based on the creation instruction, and acquiring target server identification information of a target application server corresponding to the target virtual space; establishing a target association relationship between the target server identification information and the target space identification information, and storing the target association relationship to a virtual space association information set; the target virtual space is used for isolating target server information corresponding to the target server identification information from other server information;
the monitoring platform receives an index monitoring instruction for a target application, wherein the index monitoring instruction comprises target space identification information of the target virtual space and application identification information of the target application; based on the monitoring instruction, determining the target server information corresponding to the target virtual space according to target server aggregation information corresponding to the target application, wherein the target server aggregation information comprises server information isolated by each virtual space corresponding to the target application; and monitoring indexes of the target application server corresponding to the target server information.
16. The system of claim 15, further comprising: a data subscription platform;
the data subscription platform subscribes the virtual space associated information set created by the virtual space management platform; forwarding the virtual space association information set to the monitoring platform.
17. An electronic device comprising a processor and a memory electrically connected to the processor, the memory storing a computer program for calling from the memory and executing the computer program to implement the virtualization-based data processing method of any one of claims 1-13.
18. A storage medium storing a computer program executable by a processor to implement a virtualization-based data processing method as claimed in any one of claims 1-13.
CN202211593994.3A 2022-12-13 2022-12-13 Data processing method, device and system based on virtualization Active CN115858293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211593994.3A CN115858293B (en) 2022-12-13 2022-12-13 Data processing method, device and system based on virtualization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211593994.3A CN115858293B (en) 2022-12-13 2022-12-13 Data processing method, device and system based on virtualization

Publications (2)

Publication Number Publication Date
CN115858293A true CN115858293A (en) 2023-03-28
CN115858293B CN115858293B (en) 2024-09-03

Family

ID=85672301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211593994.3A Active CN115858293B (en) 2022-12-13 2022-12-13 Data processing method, device and system based on virtualization

Country Status (1)

Country Link
CN (1) CN115858293B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110219385A1 (en) * 2010-03-04 2011-09-08 Microsoft Corporation Virtual environment for server applications, such as web applications
EP2680181A1 (en) * 2012-06-29 2014-01-01 Orange System and method of securely creating and controlling access to a virtualised space
CN109783314A (en) * 2018-12-26 2019-05-21 广州裕鼎信息科技有限公司 Information technoloy equipment method for managing and monitoring and server
WO2019095448A1 (en) * 2017-11-17 2019-05-23 深圳市鹰硕技术有限公司 Monitoring system for remote education system server farm
JP2021081929A (en) * 2019-11-18 2021-05-27 株式会社アイ・アイ・エム Monitoring device, monitoring system and monitoring program
CN113553178A (en) * 2021-07-15 2021-10-26 北京字跳网络技术有限公司 Task processing method and device and electronic equipment
KR102338425B1 (en) * 2021-09-28 2021-12-10 (주)제너럴데이타 Method, device and system for automatically setting up and monitoring application of monitoring target server based on artificial intelligence
US20220278927A1 (en) * 2021-03-01 2022-09-01 Juniper Networks, Inc. Data interfaces with isolation for containers deployed to compute nodes

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110219385A1 (en) * 2010-03-04 2011-09-08 Microsoft Corporation Virtual environment for server applications, such as web applications
EP2680181A1 (en) * 2012-06-29 2014-01-01 Orange System and method of securely creating and controlling access to a virtualised space
WO2019095448A1 (en) * 2017-11-17 2019-05-23 深圳市鹰硕技术有限公司 Monitoring system for remote education system server farm
CN109783314A (en) * 2018-12-26 2019-05-21 广州裕鼎信息科技有限公司 Information technoloy equipment method for managing and monitoring and server
JP2021081929A (en) * 2019-11-18 2021-05-27 株式会社アイ・アイ・エム Monitoring device, monitoring system and monitoring program
US20220278927A1 (en) * 2021-03-01 2022-09-01 Juniper Networks, Inc. Data interfaces with isolation for containers deployed to compute nodes
CN113553178A (en) * 2021-07-15 2021-10-26 北京字跳网络技术有限公司 Task processing method and device and electronic equipment
KR102338425B1 (en) * 2021-09-28 2021-12-10 (주)제너럴데이타 Method, device and system for automatically setting up and monitoring application of monitoring target server based on artificial intelligence

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡得旺;: "探究服务器虚拟化技术在电力系统中的应用", 中国新通信, no. 14, 20 July 2020 (2020-07-20), pages 128 *

Also Published As

Publication number Publication date
CN115858293B (en) 2024-09-03

Similar Documents

Publication Publication Date Title
US10560465B2 (en) Real time anomaly detection for data streams
US10885007B2 (en) Custom metadata extraction across a heterogeneous storage system environment
CN105760199B (en) A kind of application resource loading method and its equipment
US9703787B2 (en) Data storage management apparatus and data storage management method
CN110659259B (en) Database migration method, server and computer storage medium
CN107103011B (en) Method and device for realizing terminal data search
CN111600746A (en) Network fault positioning method, device and equipment
CN106034138A (en) Remote service calling method and remote service calling device
CN111258680B (en) Resource loading method and device, storage medium and electronic device
CN113392158A (en) Service data processing method and device and data center
CN111506613A (en) Method, system, device and equipment for querying incidence relation of data record
CN112860412A (en) Service data processing method and device, electronic equipment and storage medium
JP2016053886A (en) Information device, information system, and method for evaluating access right
CN109286532B (en) Management method and device for alarm information in cloud computing system
CN115858293B (en) Data processing method, device and system based on virtualization
CN107451229B (en) Database query method and device
US10467193B1 (en) Real-time ad hoc querying of data records
CN111722783B (en) Data storage method and device
CN113760863A (en) Database configuration method and device, computer equipment and readable storage medium
CN111782588A (en) File reading method, device, equipment and medium
CN116820354B (en) Data storage method, data storage device and data storage system
CN114268540B (en) Rule engine optimization method, device and equipment
CN112579314A (en) Data information issuing method and device, storage medium and electronic equipment
CN116909684A (en) Deployment method and device of low-code application, computer equipment and storage medium
CN111966507A (en) WEB-based event response method and device, computer equipment and storage medium

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