Movatterモバイル変換


[0]ホーム

URL:


CN112231168B - Micro server control method, device, equipment and storage medium - Google Patents

Micro server control method, device, equipment and storage medium
Download PDF

Info

Publication number
CN112231168B
CN112231168BCN202010920499.3ACN202010920499ACN112231168BCN 112231168 BCN112231168 BCN 112231168BCN 202010920499 ACN202010920499 ACN 202010920499ACN 112231168 BCN112231168 BCN 112231168B
Authority
CN
China
Prior art keywords
information
micro
server
target
configuration information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010920499.3A
Other languages
Chinese (zh)
Other versions
CN112231168A (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.)
Ping An Trust Co Ltd
Original Assignee
Ping An Trust 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 Ping An Trust Co LtdfiledCriticalPing An Trust Co Ltd
Priority to CN202010920499.3ApriorityCriticalpatent/CN112231168B/en
Publication of CN112231168ApublicationCriticalpatent/CN112231168A/en
Application grantedgrantedCritical
Publication of CN112231168BpublicationCriticalpatent/CN112231168B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明涉及微服务器技术领域,揭露了一种微服务器管控方法、装置、设备及存储介质,所述方法包括:在接收到微服务器的业务请求时,根据所述业务请求得到相应的配置文件信息;根据所述配置文件信息对当前的各个微服务器的配置信息进行调整,得到目标配置信息;获取用户访问数据,根据所述用户访问数据得到对应的目标微服务器;根据所述目标配置信息对所述用户访问数据进行动态验证;在接收到验证成功的验证结果时,将所述用户访问数据发送至对应的目标微服务器,从而可实现对微服务器基于业务场景的灵活管控。本方案还涉及区块链技术,其中,所述配置文件信息存储于区块链中。

The present invention relates to the field of microserver technology, and discloses a microserver management and control method, device, equipment and storage medium, wherein the method comprises: upon receiving a business request of a microserver, obtaining corresponding configuration file information according to the business request; adjusting the current configuration information of each microserver according to the configuration file information to obtain target configuration information; obtaining user access data, and obtaining the corresponding target microserver according to the user access data; dynamically verifying the user access data according to the target configuration information; upon receiving a successful verification result, sending the user access data to the corresponding target microserver, thereby realizing flexible management and control of the microserver based on business scenarios. The present solution also relates to blockchain technology, wherein the configuration file information is stored in the blockchain.

Description

Micro-server management and control method, device, equipment and storage medium
Technical Field
The present invention relates to the field of micro servers, and in particular, to a method, an apparatus, a device, and a storage medium for managing and controlling a micro server.
Background
The micro-service monitoring management platform is based on SpringBootActuator, springCloudConsul and other basic components to expand and provide functions such as service management, service monitoring, problem positioning, configuration management, log management and the like, and can assist in rapidly positioning problems or carrying out service management configuration change and the like when production problems occur.
SpringBootAdmin provided by Spring is a visual monitoring component, relies on SpringBootActuator to collect running information of each service, and can conveniently check Health information, memory information, JVM information, configuration information, garbage collection information and the like of each micro service through SpringBootActuator, but cannot be flexibly managed and controlled according to actual service scenes.
Disclosure of Invention
The invention mainly aims to provide a micro-server management and control method, a device, equipment and a storage medium, aiming at improving the flexibility of micro-server management and control.
In order to achieve the above object, the present invention provides a micro-server management and control method, which includes the following steps:
when a service request of a micro server is received, corresponding configuration file information is obtained according to the service request;
adjusting the configuration information of each current micro server according to the configuration file information to obtain target configuration information;
Acquiring user access data, and acquiring a corresponding target micro-server according to the user access data;
dynamically verifying the user access data according to the target configuration information;
and when a verification result of successful verification is received, the user access data is sent to a corresponding target micro server.
Optionally, before the adjusting the configuration information of each current micro server according to the configuration file information to obtain the target configuration information, the method further includes:
Acquiring current configuration information of the micro server;
Comparing the current configuration information with the configuration file information;
And when the current configuration information is inconsistent with the configuration file information, executing the step of adjusting the configuration information of each current micro server according to the configuration file information to obtain target configuration information.
Optionally, the profile information includes at least one of traffic configuration information, degradation configuration information, connection configuration information, and timeout configuration information.
Optionally, the obtaining the user access data, and obtaining the corresponding target micro server according to the user access data, includes:
Acquiring user access data, and classifying the user access data to obtain corresponding data types;
obtaining service information according to the data type;
Searching corresponding micro server number information in a preset number relation mapping table according to the service information;
and determining a corresponding target micro server according to the micro server number information.
Optionally, before the dynamic verification of the user access data according to the target configuration information, the method further includes:
acquiring a configuration file adjustment instruction, and extracting adjustment type information in the configuration file adjustment instruction;
Obtaining corresponding adjustment strategy information according to the adjustment type information;
Adjusting the target configuration information according to the adjustment strategy information to obtain adjusted target configuration information;
the dynamically verifying the user access data according to the target configuration information comprises the following steps:
And dynamically verifying the user access data according to the adjusted target configuration information.
Optionally, after the user access data is sent to the corresponding target micro server when the verification result of successful verification is received, the method further includes:
acquiring flow interactive data between the target micro server and a request client through a preset link, wherein the flow interactive data comprises response time information of the target micro server and request time-consuming information of the request client;
performing flow pressure analysis on the response time information of the target micro server and the time-consuming information of the request client to obtain target flow pressure;
comparing the target flow pressure with a flow pressure threshold value to obtain a target flow pressure level;
and visually displaying by adopting a corresponding pressure display mode according to the target flow pressure level.
Optionally, after the user access data is sent to the corresponding target micro server when the verification result of successful verification is received, the method further includes:
Server interaction data between the target micro servers are obtained, and client interaction data between a client and the target micro servers are obtained;
obtaining corresponding service interface information and service interaction authority information according to the server interaction data and the client interaction data;
Acquiring service interface state information in the service interface information, and generating a global network topological relation according to the service interface state information;
and acquiring a dynamic control authority instruction, and adjusting the service interaction authority information according to the dynamic control authority instruction.
In addition, in order to achieve the aim, the invention also provides micro-server control equipment, which comprises a memory, a processor and a micro-server control program stored on the memory and capable of running on the processor, wherein the micro-server control program is configured to realize the steps of the micro-server control method.
In addition, in order to achieve the above object, the present invention also proposes a storage medium having stored thereon a micro server management program which, when executed by a processor, implements the steps of the micro server management method as described above.
In addition, in order to achieve the above object, the present invention also provides a micro server management and control device, including:
the acquisition module is used for acquiring corresponding configuration file information according to the service request when the service request of the micro server is received;
the adjustment module is used for adjusting the current configuration information of each micro server according to the configuration file information to obtain target configuration information;
The acquisition module is also used for acquiring user access data and obtaining a corresponding target micro-server according to the user access data;
The verification module is used for dynamically verifying the user access data according to the target configuration information;
And the sending module is used for sending the user access data to the corresponding target micro server when receiving the verification result of successful verification.
The micro server management and control method provided by the invention obtains corresponding configuration file information according to the service request when the service request of the micro server is received, adjusts the current configuration information of each micro server according to the configuration file information to obtain target configuration information, obtains user access data, obtains a corresponding target micro server according to the user access data, dynamically verifies the user access data according to the target configuration information, and sends the user access data to the corresponding target micro server when a verification result of successful verification is received, so that the configuration information of the micro server can be flexibly adjusted according to the service request, and the access data of the user can be dynamically verified through the configuration file information, thereby realizing flexible management and control based on service scenes.
Drawings
FIG. 1 is a schematic diagram of a device architecture of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart of a micro-server management and control method according to a first embodiment of the present invention;
FIG. 3 is a schematic diagram of an overall flow framework of a search phase according to an embodiment of the micro server management method of the present invention;
FIG. 4 is a flowchart of a micro-server management and control method according to a second embodiment of the present invention;
FIG. 5 is a flowchart of a third embodiment of a micro-server management and control method according to the present invention;
fig. 6 is a schematic functional block diagram of a first embodiment of a micro server management and control device according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic device structure diagram of a hardware running environment according to an embodiment of the present invention.
As shown in fig. 1, the device may include a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as keys, and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the device structure shown in fig. 1 is not limiting of the device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a micro server management program may be included in the memory 1005 as one type of storage medium.
In the device shown in fig. 1, the network interface 1004 is mainly used for connecting to an external network and performing data communication with other network devices, the user interface 1003 is mainly used for connecting to user devices and performing data communication with devices, and the device invokes a micro server management and control program stored in the memory 1005 through the processor 1001 and executes the implementation method of micro server management and control provided by the embodiment of the invention.
Based on the above hardware structure, the embodiments of the micro server management and control method of the present invention are provided.
Referring to fig. 2, fig. 2 is a flowchart of a first embodiment of a micro server management method according to the present invention.
In a first embodiment, the micro server management and control method includes the steps of:
Step S10, when a service request of a micro server is received, corresponding configuration file information is obtained according to the service request.
It should be noted that, the execution body of the embodiment is a micro-service monitoring management platform, and the micro-service monitoring management platform can flexibly regulate and control according to service requirements, and the monitoring management platform services include web-config, web-actuator, web-umpgate, web-umpdac and web-config, a configuration center, a main function is to obtain micro-service configuration files in NAS (Network Attached Storage ), the web-actuator is a monitoring service responsible for processing related services of the operation and maintenance monitoring platform, the web-umpgate is an operation and maintenance monitoring front-end micro-service, and mainly provides related functions of a user login, authority and the like, wherein the user can use a web client and related access filtering, and the web-umpdac is a authority service. The configuration file information comprises at least one of traffic configuration information, degradation configuration information, connection configuration information and timeout configuration information.
In this embodiment, the service request of the micro server may be a service request generated when the micro server access is received, or may be a service request generated in other manners, which is not limited in this embodiment, and it should be emphasized that, in order to further ensure the privacy and security of the configuration file information, the configuration file information may also be stored in a node of a blockchain.
And step S20, adjusting the current configuration information of each micro server according to the configuration file information to obtain target configuration information.
In this embodiment, the micro-service monitoring management platform is provided with a corresponding visual operation interface, through which the operation requirements of each service can be performed, for example, the configuration of the micro-server can be performed through the visual operation interface, where the configuration information includes authority management, and may further include settings of related parameters such as flow, for example, flow restriction, degradation, connection setting, timeout setting, and other configuration parameter information, which is not limited in this embodiment.
It can be appreciated that, in order to implement service governance, service governance operations may be performed, where the micro-service monitoring management platform further provides configuration management, and may use the visual interface to perform operations such as querying, adding, modifying, deleting, publishing, etc. of application configuration items, where the application is synchronized and validated without restarting.
In a specific implementation, since the micro-service monitoring management platform includes a web-executor component, each piece of micro-server information under the current network system can be obtained through the web-executor component monitoring service, the micro-server information is managed in a cluster manner, when a configuration file is obtained and configured through the configuration file, each piece of micro-server information can be checked through the micro-service monitoring management platform, the corresponding micro-server is selected for file configuration, and the micro-server information can be managed through names, such as micro 1, micro 2, and the like, and can also be managed through other manners.
As shown in FIG. 3, the micro-service monitoring and managing platform system structure is a configuration center, and the main function of the web-config is to obtain micro-service configuration files in NAS, and the web-executor is a monitoring service, which is responsible for processing related services of the operation and maintenance monitoring platform, storing monitoring data in a database oracle DB, generating log content by collecting user data through the web-config, the web-executor, the web-umpgate and the web-umpdac, and managing and filtering the generated log content.
And step S30, acquiring user access data, and obtaining a corresponding target micro-server according to the user access data.
It should be noted that, the access data includes destination address information accessed by the user, and corresponding service information can be obtained through the destination address information, so as to obtain a corresponding target micro server, for example, the user accesses the database to inquire about the service, so as to obtain the corresponding target micro server, that is, the server for managing the database.
And step S40, dynamically verifying the user access data according to the target configuration information.
In this embodiment, since the microservice monitoring management platform includes a web-umpgate component, the front end microservice is monitored through the web-umpgate component, the user can mainly use the web client and related access filtering, corresponding microservice information can be obtained through access data of the user, dynamic filtering is performed on the access data according to the microservice information, and since configuration information of each microserver is inconsistent, the user can be verified through corresponding configuration information, for example, the user a accesses the microserver B, an authorized user of the microserver B is ID110-120, so that ID information of the current user is obtained, if the ID information of the current user is within the ID range of the authorized user, access is allowed to the user a, and conversely, if the ID information of the current user is not within the ID range of the authorized user, access to the user a is not allowed, so that dynamic verification is performed on the access data according to the target configuration information, and dynamic data management and control are realized.
And step S50, when a verification result of successful verification is received, the user access data is sent to a corresponding target micro server.
In a specific implementation, since the micro-service monitoring and managing platform comprises a web-umpdac component, authority service can be carried out through the web-umpdac component, and related functions such as user login, authority and the like are responsible.
It should be noted that, service monitoring may be performed according to collected user data, user data of a client may be collected through a gateway disposed between the client and a server, and access data may be analyzed to obtain health information, memory information, JVM information, configuration information, garbage collection information, process information, call links, dependencies, traffic, etc. of each micro service, and problem location may be performed according to the collected user data, specifically, using a call link visualization interface to view parameters, response results, request time, request client address, process number, thread number, etc. of all requests, using a traffic monitoring visualization interface may see the current application overall traffic pressure, so as to perform problem location according to the collected data, and may perform service interaction management according to the collected user data, and may perform service interface issue, authorization, offline, etc. functions to perform service interaction management, monitoring, and display global topology, and dynamic management service interaction authority.
In this embodiment, log management may be further performed on the collected data, specifically, an application log query may be performed using a visual interface, a log of a specified time window or level may be screened, and an application output log level may be dynamically managed.
According to the technical scheme, when a service request of a micro server is received, corresponding configuration file information is obtained according to the service request, wherein the configuration file information is stored in a blockchain, current configuration information of each micro server is adjusted according to the configuration file information to obtain target configuration information, user access data is obtained according to the user access data to obtain corresponding target micro servers, dynamic verification is conducted on the user access data according to the target configuration information, when a verification result of successful verification is received, the user access data is sent to the corresponding target micro servers, so that the configuration information of the micro servers can be flexibly adjusted according to the service request, dynamic verification is conducted on the access data of the users through the configuration file information, and flexible management and control based on service scenes are achieved.
In an embodiment, as shown in fig. 4, a second embodiment of the micro server management method according to the present invention is provided based on the first embodiment, and in this embodiment, before the step S20, the method further includes:
step S201, obtaining current configuration information of the micro server.
In this embodiment, the current configuration information of the micro server includes at least one of traffic configuration information, degradation configuration information, connection configuration information, and timeout configuration information, and may further include other configuration information, which is not limited in this embodiment.
Step S202, comparing the current configuration information with the configuration file information.
It should be noted that, in order to ensure the configuration efficiency of the micro server, the configuration information of the micro server is not adjusted when the configuration information is acquired, but the current configuration information of the micro server is judged, when the current configuration information of the micro server is consistent with the configuration file information, the reconfiguration is not needed, and when the current configuration information of the micro server is inconsistent with the configuration file information, the configuration information of the micro server is reconfigured, thereby improving the configuration efficiency.
And when the current configuration information is inconsistent with the configuration file information, executing the step S20.
In one embodiment, the step S30 includes:
Obtaining user access data, classifying the user access data to obtain corresponding data types, obtaining service information according to the data types, searching corresponding micro server number information in a preset number relation mapping table according to the service information, and determining a corresponding target micro server according to the micro server number information.
In this embodiment, the data type may be a data format type, and because the data format corresponding to each different service request is different, corresponding service type information may be obtained according to the data format, so that corresponding service data may be sent to a corresponding micro server according to the data type, thereby implementing effective management of user access data.
It can be understood that, for example, when the data type is the health information of the micro server, the corresponding service information can be obtained according to the health information of the micro server.
It should be noted that the preset number relation mapping table may be a mapping table established in advance, for example, the micro server code corresponding to the health data service information is the ID110, so that the corresponding micro server code information may be determined according to the current service information, and the corresponding target micro server may be determined according to the micro server code information.
The proposal provided by the embodiment obtains the corresponding data type by obtaining the user access data and classifying the user access data, obtains the service information according to the data type, searches the corresponding micro-server number information in the preset number relation mapping table according to the service information, and determines the corresponding target micro-server according to the micro-server number information, thereby determining the corresponding target micro-server through the user access data and realizing the accuracy of micro-server identification.
In an embodiment, as shown in fig. 5, a third embodiment of the micro server management and control method according to the present invention is provided based on the first embodiment or the second embodiment, in this embodiment, the method further includes, before the step S40, explaining based on the first embodiment:
step S401, a configuration file adjustment instruction is acquired, and adjustment type information in the configuration file adjustment instruction is extracted.
It should be noted that, the configuration file adjustment instruction includes operations such as configuration item query, addition, modification, deletion, and issue, and other operation information, which is not limited in this embodiment, and the configuration file adjustment instruction in this embodiment may be of various types, for example, query, addition, modification, deletion, and issue of configuration information adjustment types, and limit flow, degradation, connection setting, and timeout setting in function adjustment types, so that corresponding adjustment type information may be obtained through the configuration file adjustment instruction, for example, by querying the instruction, a current configuration file adjustment instruction may be obtained as a type for adjusting configuration information, thereby implementing effective classification of configuration file adjustment instructions.
Step S402, corresponding adjustment strategy information is obtained according to the adjustment type information.
In this embodiment, corresponding adjustment policy information is set according to different adjustment types, so that adjustment of the target configuration information can be achieved according to the adjustment policy information, for example, when the adjustment type is a configuration information adjustment type, that is, a configuration file adding instruction, the target configuration information can be added with new configuration information by adopting a new control policy according to the configuration file adding instruction, so that flexible adjustment of the target configuration information is achieved.
Step S403, adjusting the target configuration information according to the adjustment policy information, to obtain adjusted target configuration information.
In a specific implementation, when the adjustment type is a configuration information adjustment type, that is, a configuration file newly-added instruction, the target configuration information is newly-added with configuration information, and configuration content information in the target configuration information is newly-added to obtain adjusted target configuration information.
The step S40 includes:
And dynamically verifying the user access data according to the adjusted target configuration information.
In an embodiment, after step S50, the method further comprises:
And acquiring flow interaction data between the target micro server and the request client through a preset link, wherein the flow interaction data comprises response time information of the target micro server and request time-consuming information of the request client.
It should be noted that, in this embodiment, the target micro server and the request client are managed by a link, and as shown in fig. 3, the Kafka cluster and the operation and maintenance monitoring micro server are connected by a link, so that link data between the Kafka cluster and the operation and maintenance monitoring micro server can be obtained, and log analysis is performed by log stack, which is a platform for transmitting, processing, managing and searching application program logs and events, so as to improve the data analysis capability of the micro server.
In a specific implementation, a preset link is established between the target micro server and the request client, so that the network processing capacity of each micro server is obtained through the response time information of the target micro server and the request time-consuming information of the request client, and the fine management of the micro server is realized.
The method comprises the steps of carrying out flow pressure analysis on response time information of the target micro server and time-consuming information of a request client to obtain target flow pressure, comparing the target flow pressure with a flow pressure threshold to obtain a target flow pressure grade, and carrying out visual display according to the target flow pressure grade by adopting a corresponding pressure display mode.
In this embodiment, the pressure display manner may be a preset color display, for example, when the flow processing pressure is high, a dark red visual display appears, so that the micro-service with high pressure can be more intuitively positioned, and the call link visual interface can be used to check all the parameters of the request, the response result and the time consumption of the request, so that the problem positioning is performed according to the acquired data.
In an embodiment, after step S50, the method further comprises:
Server interaction data between the target micro servers are obtained, and client interaction data between a client and the target micro servers are obtained; and obtaining corresponding service interface information and service interaction authority information according to the server interaction data and the client interaction data. The service interface information is used for acquiring service interface state information in the service interface information, generating a global network topological relation according to the service interface state information, acquiring a dynamic control authority instruction, and adjusting the service interaction authority information according to the dynamic control authority instruction.
In this embodiment, service interaction management may be performed according to the collected user data, and functions such as service interface publishing, authorization, offline, etc. may be performed by using a service management interface to perform service interaction management and monitoring, and a global topological relationship and dynamic management and control service interaction authority may be displayed.
According to the scheme provided by the embodiment, the effective positioning of the problem and the display of the global topological relation are realized by acquiring the target flow pressure of each micro server, the server interaction data between the target micro servers and the client interaction data between the client and the target micro servers, and the flexibility of management and control of the micro servers is improved.
The invention further provides a micro-server management and control device.
Referring to fig. 6, fig. 6 is a schematic functional block diagram of a first embodiment of a micro server management and control device according to the present invention.
In a first embodiment of the micro server management and control device of the present invention, the micro server management and control device includes:
and the acquisition module 10 is used for acquiring corresponding configuration file information according to the service request when the service request of the micro server is received.
It should be noted that, the micro-service monitoring management platform can flexibly regulate and control according to service requirements, the monitoring management platform services comprise web-config, web-actuator, web-umpgate, web-umpdac and web-config, the configuration center mainly has the functions of acquiring micro-service configuration files in NAS (Network Attached Storage ), the web-actuator is a monitoring service responsible for processing related services of the operation and maintenance monitoring platform, the web-umpgate is an operation and maintenance monitoring front-end micro-service and mainly provides related functions of a user such as a web client and related access filtering, and the web-umpdac is a permission service mainly responsible for user login, permission and the like. The configuration file information comprises at least one of traffic configuration information, degradation configuration information, connection configuration information and timeout configuration information.
In this embodiment, the service request of the micro server may be a service request generated when the micro server access is received, or may be a service request generated in other manners, which is not limited in this embodiment, and it should be emphasized that, in order to further ensure the privacy and security of the configuration file information, the configuration file information may also be stored in a node of a blockchain.
And the adjusting module 20 is configured to adjust the current configuration information of each micro server according to the configuration file information to obtain target configuration information.
In this embodiment, the micro-service monitoring management platform is provided with a corresponding visual operation interface, through which the operation requirements of each service can be performed, for example, the configuration of the micro-server can be performed through the visual operation interface, where the configuration information includes authority management, and may further include settings of related parameters such as flow, for example, flow restriction, degradation, connection setting, timeout setting, and other configuration parameter information, which is not limited in this embodiment.
It can be appreciated that, in order to implement service governance, service governance operations may be performed, where the micro-service monitoring management platform further provides configuration management, and may use the visual interface to perform operations such as querying, adding, modifying, deleting, publishing, etc. of application configuration items, where the application is synchronized and validated without restarting.
In a specific implementation, since the micro-service monitoring management platform includes a web-executor component, each piece of micro-server information under the current network system can be obtained through the web-executor component monitoring service, the micro-server information is managed in a cluster manner, when a configuration file is obtained and configured through the configuration file, each piece of micro-server information can be checked through the micro-service monitoring management platform, the corresponding micro-server is selected for file configuration, and the micro-server information can be managed through names, such as micro 1, micro 2, and the like, and can also be managed through other manners.
As shown in FIG. 3, the micro-service monitoring and managing platform system structure is a configuration center, and the main function of the web-config is to obtain micro-service configuration files in NAS, and the web-executor is a monitoring service, which is responsible for processing related services of the operation and maintenance monitoring platform, storing monitoring data in a database oracle DB, generating log content by collecting user data through the web-config, the web-executor, the web-umpgate and the web-umpdac, and managing and filtering the generated log content.
The obtaining module 10 is further configured to obtain user access data, and obtain a corresponding target micro server according to the user access data.
It should be noted that, the access data includes destination address information accessed by the user, and corresponding service information can be obtained through the destination address information, so as to obtain a corresponding target micro server, for example, the user accesses the database to inquire about the service, so as to obtain the corresponding target micro server, that is, the server for managing the database.
And the verification module 30 is used for dynamically verifying the user access data according to the target configuration information.
In this embodiment, since the microservice monitoring management platform includes a web-umpgate component, the front end microservice is monitored through the web-umpgate component, the user can mainly use the web client and related access filtering, corresponding microservice information can be obtained through access data of the user, dynamic filtering is performed on the access data according to the microservice information, and since configuration information of each microserver is inconsistent, the user can be verified through corresponding configuration information, for example, the user a accesses the microserver B, an authorized user of the microserver B is ID110-120, so that ID information of the current user is obtained, if the ID information of the current user is within the ID range of the authorized user, access is allowed to the user a, and conversely, if the ID information of the current user is not within the ID range of the authorized user, access to the user a is not allowed, so that dynamic verification is performed on the access data according to the target configuration information, and dynamic data management and control are realized.
And the sending module 40 is configured to send the user access data to a corresponding target micro server when receiving a verification result of successful verification.
In a specific implementation, since the micro-service monitoring and managing platform comprises a web-umpdac component, authority service can be carried out through the web-umpdac component, and related functions such as user login, authority and the like are responsible.
It should be noted that, service monitoring may be performed according to collected user data, user data of a client may be collected through a gateway disposed between the client and a server, and access data may be analyzed to obtain health information, memory information, JVM information, configuration information, garbage collection information, process information, call links, dependencies, traffic, etc. of each micro service, and problem location may be performed according to the collected user data, specifically, using a call link visualization interface to view parameters, response results, request time, request client address, process number, thread number, etc. of all requests, using a traffic monitoring visualization interface may see the current application overall traffic pressure, so as to perform problem location according to the collected data, and may perform service interaction management according to the collected user data, and may perform service interface issue, authorization, offline, etc. functions to perform service interaction management, monitoring, and display global topology, and dynamic management service interaction authority.
In this embodiment, log management may be further performed on the collected data, specifically, an application log query may be performed using a visual interface, a log of a specified time window or level may be screened, and an application output log level may be dynamically managed.
According to the technical scheme, when a service request of a micro server is received, corresponding configuration file information is obtained according to the service request, wherein the configuration file information is stored in a blockchain, current configuration information of each micro server is adjusted according to the configuration file information to obtain target configuration information, user access data is obtained according to the user access data to obtain corresponding target micro servers, dynamic verification is conducted on the user access data according to the target configuration information, when a verification result of successful verification is received, the user access data is sent to the corresponding target micro servers, so that the configuration information of the micro servers can be flexibly adjusted according to the service request, dynamic verification is conducted on the access data of the users through the configuration file information, and flexible management and control based on service scenes are achieved.
In an embodiment, the adjusting module 20 is further configured to obtain current configuration information of the micro server;
Comparing the current configuration information with the configuration file information;
And when the current configuration information is inconsistent with the configuration file information, executing the step of adjusting the configuration information of each current micro server according to the configuration file information to obtain target configuration information.
In an embodiment, the obtaining module 10 is further configured to obtain user access data, and classify the user access data to obtain a corresponding data type;
obtaining service information according to the data type;
Searching corresponding micro server number information in a preset number relation mapping table according to the service information;
and determining a corresponding target micro server according to the micro server number information.
In an embodiment, the verification module 30 is further configured to obtain a profile adjustment instruction, and extract adjustment type information in the profile adjustment instruction;
Obtaining corresponding adjustment strategy information according to the adjustment type information;
Adjusting the target configuration information according to the adjustment strategy information to obtain adjusted target configuration information;
And dynamically verifying the user access data according to the adjusted target configuration information.
In one embodiment, the micro server management and control device further comprises a display module;
The display module is used for acquiring flow interactive data between the target micro server and the request client through a preset link, wherein the flow interactive data comprises response time information of the target micro server and request time-consuming information of the request client;
performing flow pressure analysis on the response time information of the target micro server and the time-consuming information of the request client to obtain target flow pressure;
comparing the target flow pressure with a flow pressure threshold value to obtain a target flow pressure level;
and visually displaying by adopting a corresponding pressure display mode according to the target flow pressure level.
In an embodiment, the adjustment module 20 is further configured to obtain server interaction data between the target micro servers, and obtain client interaction data between a client and the target micro servers;
obtaining corresponding service interface information and service interaction authority information according to the server interaction data and the client interaction data;
Acquiring service interface state information in the service interface information, and generating a global network topological relation according to the service interface state information;
and acquiring a dynamic control authority instruction, and adjusting the service interaction authority information according to the dynamic control authority instruction.
The micro server management and control device adopts all the technical schemes of all the embodiments, so that the micro server management and control device at least has all the beneficial effects brought by the technical schemes of the embodiments, and the technical schemes of the embodiments are not repeated herein.
In addition, in order to achieve the aim, the invention also provides micro-server control equipment, which comprises a memory, a processor and a micro-server control program stored on the memory and capable of running on the processor, wherein the micro-server control program is configured to realize the steps of the micro-server control method.
In addition, the embodiment of the invention also provides a storage medium, wherein the storage medium is stored with a micro-server control program, and the micro-server control program is executed by a processor to perform the steps of the micro-server control method.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The blockchain (Blockchain), essentially a de-centralized database, is a string of data blocks that are generated in association using cryptographic methods, each of which contains information from a batch of network transactions for verifying the validity (anti-counterfeit) of its information and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
It should be noted that, in this document, 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 phrase "comprising one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a computer readable storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising several instructions for causing a smart terminal device (which may be a mobile phone, a computer, a terminal device, an air conditioner, or a network terminal device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description of the preferred embodiments of the present invention should not be taken as limiting the scope of the invention, but rather should be understood to cover all modifications, equivalents, and alternatives falling within the scope of the invention as defined by the following description and drawings, or by direct or indirect application to other relevant art(s).

Claims (9)

CN202010920499.3A2020-09-032020-09-03 Micro server control method, device, equipment and storage mediumActiveCN112231168B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010920499.3ACN112231168B (en)2020-09-032020-09-03 Micro server control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010920499.3ACN112231168B (en)2020-09-032020-09-03 Micro server control method, device, equipment and storage medium

Publications (2)

Publication NumberPublication Date
CN112231168A CN112231168A (en)2021-01-15
CN112231168Btrue CN112231168B (en)2025-05-27

Family

ID=74116045

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010920499.3AActiveCN112231168B (en)2020-09-032020-09-03 Micro server control method, device, equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN112231168B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112860235B (en)*2021-02-042023-09-05北京百度网讯科技有限公司 Method, device, device and storage medium for processing text
CN112925584A (en)*2021-02-262021-06-08北京百度网讯科技有限公司Scene-based file configuration method, device, storage medium, and program product
CN113032419B (en)*2021-04-212022-08-30上海微盟企业发展有限公司Multi-source data aggregation search method, device, equipment and storage medium
CN113312242B (en)*2021-06-292024-05-17中国农业银行股份有限公司Interface information management method, device, equipment and storage medium
CN117193956A (en)*2021-07-132023-12-08上海携宁计算机科技股份有限公司Distributed data processing system, method, server, and readable storage medium
CN114323023B (en)*2021-12-292024-10-29国网陕西省电力有限公司电力科学研究院Distributed pulse positioning monitoring method and system
CN114461359B (en)*2021-12-302025-03-07江苏苏州农村商业银行股份有限公司 Microservice-based unified interface management method and application platform
CN114415916B (en)*2022-01-052025-03-21阿里云计算有限公司 Data processing method, device, equipment and storage medium
CN114489856B (en)*2022-01-282025-01-10中国农业银行股份有限公司 Method, device and equipment for obtaining application configuration file
CN120066607B (en)*2025-01-092025-08-29北京联讯星烨科技有限公司 A microprogram configuration method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108427581A (en)*2018-02-072018-08-21平安普惠企业管理有限公司System micro services method and terminal device
CN110602208A (en)*2019-09-122019-12-20北京笔新互联网科技有限公司Distributed micro-service management system and construction method thereof
CN111130939A (en)*2019-12-262020-05-08深圳前海环融联易信息科技服务有限公司Flow control method and device, computer equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20020147929A1 (en)*2001-04-102002-10-10Rose Mark E.Access control for distributed content servers
US9838376B1 (en)*2016-05-112017-12-05Oracle International CorporationMicroservices based multi-tenant identity and data security management cloud service
CN109194760A (en)*2018-09-142019-01-11深圳市佰仟金融服务有限公司Method for processing business, network system and server
CN110362341B (en)*2019-07-242023-03-03上海钧正网络科技有限公司Business management method, device, equipment and storage medium based on micro-service architecture
CN111600930B (en)*2020-04-092022-12-09网宿科技股份有限公司Micro-service request traffic management method, device, server and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108427581A (en)*2018-02-072018-08-21平安普惠企业管理有限公司System micro services method and terminal device
CN110602208A (en)*2019-09-122019-12-20北京笔新互联网科技有限公司Distributed micro-service management system and construction method thereof
CN111130939A (en)*2019-12-262020-05-08深圳前海环融联易信息科技服务有限公司Flow control method and device, computer equipment and storage medium

Also Published As

Publication numberPublication date
CN112231168A (en)2021-01-15

Similar Documents

PublicationPublication DateTitle
CN112231168B (en) Micro server control method, device, equipment and storage medium
CN112380093B (en) Operation and maintenance processing method, device and computer equipment
US10623472B2 (en)Maintaining control over restricted data during deployment to cloud computing environments
US9344371B1 (en)Dynamic throttling systems and services
US10560463B2 (en)Incident management to maintain control of restricted data in cloud computing environments
CN102968600B (en)Full life-cycle management method for sensitive data file based on fingerprint information implantation
KR102095334B1 (en) Log information generating device and recording medium and log information extraction device and recording medium
US8838679B2 (en)Providing state service for online application users
CN112104617B (en)Rights management method, device, equipment and storage medium for micro-service
US11696110B2 (en)Distributed, crowdsourced internet of things (IoT) discovery and identification using Block Chain
US20110016528A1 (en)Method and Device for Intrusion Detection
CN105187392B (en)Mobile terminal from malicious software detecting method and its system based on Network Access Point
US20070078841A1 (en)System and method for network resource management
CN102932391A (en)Method and device for processing data in peer to server/peer (P2SP) system, and P2SP system
US20120072589A1 (en)Information Processing Apparatus and Method of Operating the Same
JP2017220112A (en)Data management system, control method and program
US10027686B2 (en)Parameter adjustment for pattern discovery
US8374320B2 (en)Environment information transmission method, service controlling system, and computer product
JP2008015733A (en) Log management computer
KR101395830B1 (en)Session checking system via proxy and checkhing method thereof
CN115941224A (en)Network access information management method and device and computer readable storage medium
JP5697557B2 (en) Server system, control method thereof, and program.
US10997287B2 (en)Real-time monitoring and alerting for directory object update processing
JP2009260846A (en)Network operation monitoring system, manager device, and network operation monitoring method
CN113590913B (en)Data resource display method and device, storage medium and electronic device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp