CN110445636B - Management platform-based micro-service early warning method and device and computer equipment - Google Patents

Management platform-based micro-service early warning method and device and computer equipment Download PDF

Info

Publication number
CN110445636B
CN110445636B CN201910596482.4A CN201910596482A CN110445636B CN 110445636 B CN110445636 B CN 110445636B CN 201910596482 A CN201910596482 A CN 201910596482A CN 110445636 B CN110445636 B CN 110445636B
Authority
CN
China
Prior art keywords
service
preset
micro
calling
specified
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
CN201910596482.4A
Other languages
Chinese (zh)
Other versions
CN110445636A (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 Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910596482.4A priority Critical patent/CN110445636B/en
Priority to PCT/CN2019/103549 priority patent/WO2021000416A1/en
Publication of CN110445636A publication Critical patent/CN110445636A/en
Application granted granted Critical
Publication of CN110445636B publication Critical patent/CN110445636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0604Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

The application discloses a management platform-based micro-service early warning method, a management platform-based micro-service early warning device, computer equipment and a storage medium, wherein the method comprises the following steps: receiving a calling message which is sent by a first micro service and is accompanied with calling information and used for calling a specified micro service; if the specified communication protocol is the same as the preset communication protocol of the specified micro service, acquiring a calling message header; calculating the similarity value of the calling message header and a preset standard calling message header; if the similarity value is larger than the similarity threshold value, replacing the calling message header with a standard calling message header; if the called times are larger than a preset first early warning time threshold value, generating early warning information, sending the early warning information and the replaced calling message to the specified micro-service, and adding the specified micro-service into a monitoring list by using a preset monitoring plug-in. Therefore, the message is corrected while the micro service is early warned, and the usability and the use efficiency of the micro service message are improved.

Description

Management platform-based micro-service early warning method and device and computer equipment
Technical Field
The present application relates to the field of computers, and in particular, to a management platform-based micro-service early warning method, apparatus, computer device, and storage medium.
Background
The micro-service framework is used for replacing the original single large-scale enterprise application, and can solve the problems of high complexity, serious coupling and the like. With the increase of services, the number of micro services is increasing day by day, which brings inconvenience to management of micro services, such as mutual call among a plurality of micro services, and interaction between internal micro services and the outside world. And sometimes, a message error occurs in a calling message called between micro services, and the traditional technology cannot identify the message with the error, can only report the error and cannot correct the error of a request message header. Moreover, the modification of the early warning setting in the aspects of micro service invocation and the like in the conventional technology relates to the aspects of a server container, a load, a network and the like, namely, the setting in the early warning aspect is solidified on the server container, and flexible adjustment is difficult to carry out.
Disclosure of Invention
The main purpose of the present application is to provide a management platform-based micro-service early warning method, apparatus, computer device and storage medium, which aim to implement message correction while early warning on a micro-service, so as to improve availability and utilization efficiency of a micro-service message.
In order to achieve the above purpose, the present application provides a micro-service early warning method based on a management platform, including the following steps:
receiving a calling message which is sent by a first micro service and carries calling information and is used for calling a specified micro service, wherein the calling message is formed by packaging based on a specified communication protocol, and the calling information comprises at least one of a service name, a service URL (uniform resource locator) address or a service function of the specified micro service;
judging whether the specified communication protocol is the same as a preset communication protocol of the specified micro-service or not;
if the specified communication protocol is the same as the preset communication protocol of the specified micro-service, analyzing the calling message according to the format of the specified communication protocol so as to obtain a calling message header;
calculating the similarity value of the calling message header and a preset standard calling message header by adopting a preset similarity algorithm, and judging whether the similarity value is greater than a preset similarity threshold value or not;
if the similarity value is larger than a preset similarity threshold value, replacing a calling message header in the calling message with the standard calling message header so as to obtain a replaced calling message;
acquiring the called times of the specified micro service within preset time according to the calling information, and judging whether the called times are greater than a preset first early warning time threshold value or not;
if the called times are larger than a preset first early warning time threshold value, generating early warning information, sending the early warning information and the replaced calling message to the specified micro-service, and adding the specified micro-service into a preset monitoring list by using a preset monitoring plug-in.
Further, before the step of determining whether the specified communication protocol is the same as the preset communication protocol of the specified micro-service, the method includes:
judging whether the first micro service and the specified micro service belong to the same micro service cluster;
if the first micro service and the specified micro service do not belong to the same micro service cluster, judging whether the calling message carries an identity token, wherein the identity token is identity authentication information generated by the management platform for the first micro service;
if the calling message carries the identity token, judging whether the identity token carried by the calling message has the authority for calling the specified micro-service according to the preset corresponding relation between the identity token and the authority;
if the identity token carried by the calling message has the authority of calling the specified micro-service, judging whether the calling parameter of the calling message is matched with the preset parameter of the specified micro-service;
and if the calling parameter of the calling message is matched with the preset parameter of the specified micro service, generating a communication protocol judgment instruction, wherein the communication protocol judgment instruction is used for indicating whether the specified communication protocol is the same as the preset communication protocol of the specified micro service or not.
Further, the step of analyzing the call packet according to the format of the designated communication protocol if the designated communication protocol is the same as the preset communication protocol of the designated micro service, so as to obtain a call packet header includes:
if the specified communication protocol is the same as the preset communication protocol of the specified micro-service, determining the position of a message header in the calling message according to the format of the preset specified communication protocol;
judging whether the content in the position of the message header conforms to the preset format of the message header;
and if the content in the position of the message header conforms to the preset format of the message header, extracting the content in the position of the message header and recording the content as a calling message header.
Further, the step of calculating a similarity value between the call packet header and a preset standard call packet header by using a preset similarity algorithm, and determining whether the similarity value is greater than a preset similarity threshold value includes:
the formula is adopted:
Figure DEST_PATH_IMAGE001
calculating the similarity value of the calling message header and a preset standard calling message header; wherein A is the character frequency vector of the calling message header, B is the character frequency vector of the preset standard calling message header, Ai、BiThe ith component vectors of the vectors A and B are respectively, n is the component quantity value with the largest component vector quantity in the vectors A and B, and whether the similarity value is larger than a preset similarity threshold value or not is judged.
Further, before the step of obtaining the called times of the specified micro service within a predetermined time according to the calling information and judging whether the called times is greater than a preset first early warning time threshold, the method includes:
executing the identification command of the replaced calling message;
judging whether the process of executing the identification command is error;
and if the process of executing the identification command is not wrong, generating an early warning judgment instruction, wherein the early warning judgment instruction is used for indicating that the called times of the specified micro service within the preset time are obtained according to the calling information, and judging whether the called times are greater than a preset first early warning time threshold value or not.
Further, after the step of obtaining the called times of the specified micro service within a predetermined time according to the calling information and judging whether the called times is greater than a preset first early warning time threshold, the method includes:
if the called times are not greater than a preset first early warning time threshold, counting flow data of specified micro-services within preset time, and judging whether the distribution of the flow data along with time change is within a preset flow data distribution range;
and if the distribution of the flow data along with the change of time is in a preset flow data distribution range, sending the replaced call message to the specified micro-service.
Further, if the called number of times is greater than a preset first early warning number threshold, generating early warning information, sending the early warning information and the replaced call packet to the specified micro-service, and adding the specified micro-service to a preset monitoring list by using a preset monitoring plug-in, the method includes:
if the called times are larger than a preset first early warning time threshold value, generating early warning information, and sending the early warning information and the replaced calling message to the specified micro-service;
and modifying byte codes by using a preset monitoring plug-in based on the java agent technology to add data embedding points at the communication port of the specified micro-service, so that the specified micro-service is added into a preset monitoring list.
The application provides a little service early warning device based on management platform includes:
the calling message receiving unit is used for receiving a calling message which is sent by a first micro service and is attached with calling information and used for calling a specified micro service, wherein the calling message is formed by packaging based on a specified communication protocol, and the calling information comprises at least one of a service name, a service URL (uniform resource locator) address or a service function of the specified micro service;
the communication protocol judging unit is used for judging whether the specified communication protocol is the same as a preset communication protocol of the specified micro service or not;
the analysis unit is used for analyzing the calling message according to the format of the specified communication protocol if the specified communication protocol is the same as the preset communication protocol of the specified micro-service, so as to obtain a calling message header;
a similarity threshold judgment unit, configured to calculate a similarity value between the call packet header and a preset standard call packet header by using a preset similarity algorithm, and judge whether the similarity value is greater than a preset similarity threshold;
a replacing unit, configured to replace a calling packet header in the calling packet with the standard calling packet header if the similarity value is greater than a preset similarity threshold value, so as to obtain a replaced calling packet;
the called frequency judging unit is used for acquiring the called frequency of the specified micro service within preset time according to the calling information and judging whether the called frequency is greater than a preset first early warning frequency threshold value or not;
and the early warning information generating unit is used for generating early warning information if the called times are greater than a preset first early warning time threshold value, sending the early warning information and the replaced calling message to the specified micro-service, and adding the specified micro-service into a preset monitoring list by using a preset monitoring plug-in.
The present application provides a computer device comprising a memory storing a computer program and a processor implementing the steps of any of the above methods when the processor executes the computer program.
The present application provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of any of the above.
The management platform-based micro-service early warning method, device, computer equipment and storage medium receive a calling message which is sent by a first micro-service and is accompanied with calling information and used for calling a specified micro-service; if the specified communication protocol is the same as the preset communication protocol of the specified micro service, acquiring a calling message header; calculating the similarity value of the calling message header and a preset standard calling message header; if the similarity value is larger than the similarity threshold value, replacing the calling message header with a standard calling message header; if the called times are larger than a preset first early warning time threshold value, generating early warning information, sending the early warning information and the replaced calling message to the specified micro-service, and adding the specified micro-service into a preset monitoring list by using a preset monitoring plug-in. Therefore, the message is corrected while the micro service is early warned, and the usability and the use efficiency of the micro service message are improved.
Drawings
Fig. 1 is a schematic flowchart of a management platform-based micro-service early warning method according to an embodiment of the present application;
fig. 2 is a schematic block diagram of a micro-service warning device based on a management platform according to an embodiment of the present application;
fig. 3 is a block diagram illustrating a structure of a computer device according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, an embodiment of the present application provides a micro-service early warning method based on a management platform, including the following steps:
s1, receiving a call message which is sent by a first micro service and is accompanied with call information and used for calling a specified micro service, wherein the call message is formed by packaging based on a specified communication protocol, and the call information comprises at least one of a service name, a service URL address or a service function of the specified micro service;
s2, judging whether the specified communication protocol is the same as the preset communication protocol of the specified micro service;
s3, if the specified communication protocol is the same as the preset communication protocol of the specified micro-service, analyzing the calling message according to the format of the specified communication protocol, so as to obtain a calling message header;
s4, calculating the similarity value of the calling message header and a preset standard calling message header by adopting a preset similarity algorithm, and judging whether the similarity value is greater than a preset similarity threshold value;
s5, if the similarity value is larger than a preset similarity threshold value, replacing the calling message header in the calling message with the standard calling message header so as to obtain a replaced calling message;
s6, acquiring the called times of the specified micro service within a preset time according to the calling information, and judging whether the called times are larger than a preset first early warning time threshold value;
and S7, if the called times are larger than a preset first early warning time threshold value, generating early warning information, sending the early warning information and the replaced calling message to the specified micro-service, and adding the specified micro-service into a preset monitoring list by using a preset monitoring plug-in.
As described in step S1, a call packet for calling a specified micro-service and attached with call information is received, where the call packet is encapsulated based on a specified communication protocol, and the call information includes at least one of a service name, a service URL address, or a service function of the specified micro-service. A microservice is the breakdown of an application into small, interconnected microservices, as opposed to monolithic applications (which centralize all functionality in one application). One microservice generally performs a specific function, and can also call or be called by other microservices, thereby collectively performing all or part of the functions of an application. The management platform of the present application refers to a platform for managing microservices, wherein management includes management in any feasible manner, such as microservices registration, microservices discovery, gateway control, data monitoring, and the like. According to the method and the system, management of the micro-services is carried out through the management platform, so that the micro-services do not need to expose too much information to the outside, only one of the service names, the service URL addresses or the service functions needs to be exposed, when one of the information is attached to the calling message, the management platform can determine the accurate micro-services from the pre-stored corresponding table, the method and the system are more convenient and faster, and the information safety is improved.
As described in the above step S2, it is determined whether the specified communication protocol is the same as the preset communication protocol of the specified micro-service. And if the specified communication protocol is different from the preset communication protocol of the specified micro-service, the specified micro-service cannot be directly sent to the specified micro-service according to the calling request. Therefore, whether the specified communication protocol is the same as the preset communication protocol of the specified micro service is judged. The determining whether the specified communication protocol is the same as the preset communication protocol of the specified micro service may be performed in any manner, for example, the determining may include: judging whether the first micro service and the specified micro service belong to a preset micro service cluster; if the first micro service does not belong to a preset micro service cluster and the specified micro service belongs to the preset micro service cluster, checking whether the calling request is legal or not according to a preset validity check rule; and if the calling request is legal, judging whether the communication protocol of the calling request is the same as the preset communication protocol of the specified micro service. Thereby determining whether a conversion between communication protocols is required.
As described in step S3, if the specified communication protocol is the same as the preset communication protocol of the specified micro service, the call packet is parsed according to the format of the specified communication protocol, so as to obtain a call packet header. Generally, a message is composed of a header and a message body, and the headers of different communication protocols are different, for example, the format of an HTTP request message is: a request line, a request HEADER (HTTP request HEADER, also known as HEADER), and a requestor. Accordingly, the calling message is analyzed according to the format of the specified communication protocol, and a calling message header is obtained.
As described in step S4, a preset similarity algorithm is used to calculate a similarity value between the call packet header and a preset standard call packet header, and determine whether the similarity value is greater than a preset similarity threshold. In some situations, a small number of errors may occur in the header, such as partial character errors, for example, a Content-Type: application/json, a charset = utf-8 error is written as association/json, a charset = utf-8, and so on. The conventional technology cannot identify the wrong message header, so that the rejection operation is performed. According to the method and the device, the correct message header is replaced by the wrong message header, so that the network overhead is reduced, and the information transmission efficiency is improved. The standard calling message header can be called from a preset message header library. The method for calculating the similarity value between the calling message header and the preset standard calling message header by using the preset similarity algorithm can adopt any algorithm, such as an overlapped word algorithm and the like. Therefore, whether the calling message header is wrong or not, only the correct message header needs to be replaced.
As described in step S5, if the similarity value is greater than the preset similarity threshold, the call packet header in the call packet is replaced with the standard call packet header, so as to obtain a replaced call packet. If the similarity value is greater than a preset similarity threshold value, it is indicated that the preset standard calling message header is the same as the calling message header, and if the calling message header is replaced by the preset standard calling message header, the recognition of the calling message is not affected no matter whether the calling message header is wrong or not.
As described in step S6, according to the calling information, the called times of the specified micro service within a predetermined time are obtained, and it is determined whether the called times are greater than a preset first warning time threshold. The calling information comprises at least one of a service name, a service URL address or a service function of the specified micro service, and the management platform can determine the specified micro service according to the calling information, further can obtain the called times of the specified micro service within preset time, and judges whether the called times are larger than a preset first early warning time threshold value or not so as to determine whether the specified micro service is in an abnormal state or not.
As described in step S7, if the called number of times is greater than the preset first warning number threshold, generating warning information, sending the warning information and the replaced call packet to the specified micro-service, and adding the specified micro-service to a preset monitoring list using a preset monitoring plug-in. If the called times are larger than a preset first early warning time threshold value, indicating that the specified micro service is possibly in an abnormal state, generating early warning information according to the early warning information, and meanwhile adding the specified micro service into a preset monitoring list by using a preset monitoring plug-in. The management platform adopts a monitoring stripping mode, and functions such as data embedding points of monitoring and the like are realized through the monitoring plug-in, so that the influence on aspects such as server containers, loads, networks and the like when the monitoring setting is required to be adjusted is avoided. Wherein, the adding of the specified micro-service into the preset monitoring list can be realized by modifying byte codes through java agent. Further, still include: if the called times are greater than a preset second early warning time threshold value, rejecting the calling message, wherein the second early warning time threshold value is greater than the first early warning time threshold value, carrying out classification processing on the calling application in an abnormal condition, and when the called times are higher but are still in a tolerable state (namely the first early warning time threshold value), generating early warning information, sending the early warning information and the replaced calling message to the specified micro-service, and adding the specified micro-service into a preset monitoring list by using a preset monitoring plug-in; and when the called times are higher but in an intolerable state (namely a second early warning time threshold), rejecting the calling message.
In one embodiment, before the step S2 of determining whether the specified communication protocol is the same as the preset communication protocol of the specified micro service, the method includes:
s11, judging whether the first micro service and the specified micro service belong to the same micro service cluster;
s12, if the first micro service and the specified micro service do not belong to the same micro service cluster, judging whether the calling message carries an identity token, wherein the identity token is identity authentication information generated by the management platform for the first micro service;
s13, if the calling message carries an identity token, judging whether the identity token carried by the calling message has the authority to call the specified micro-service according to the corresponding relation between the preset identity token and the authority;
s14, if the identity token carried by the calling message has the authority of calling the specified micro-service, judging whether the calling parameter of the calling message is matched with the preset parameter of the specified micro-service;
and S15, if the calling parameter of the calling message is matched with the preset parameter of the specified micro service, generating a communication protocol judgment instruction, wherein the communication protocol judgment instruction is used for indicating whether the specified communication protocol is the same as the preset communication protocol of the specified micro service.
As described above, generation of the communication protocol determination instruction is realized. In order to ensure correct message identification, the method also judges whether the first micro service and the specified micro service belong to the same micro service cluster before judging whether the specified communication protocol is the same as the preset communication protocol of the specified micro service; judging whether the calling message carries an identity token or not; judging whether the identity token carried by the calling message has the authority of calling the specified micro-service or not; and a multi-step judgment process for judging whether the calling parameters of the calling message are matched with the preset parameters of the specified micro-service or not so as to ensure that the calling message has a recognized basis, and generating a communication protocol judgment instruction on the basis. The process of generating the identity token in advance comprises the following steps: the first micro service sends an identity authentication application to the management platform; the management platform sends and generates identity authentication information and sends the identity authentication information to the first micro service; the first microservice receives and stores the identity token. The fact that the calling parameter of the calling request is matched with the preset parameter of the specified micro service means that the calling parameter does not exceed the range specified by the preset parameter of the specified micro service, for example, the length of the storage field is in the preset range.
In an embodiment, the step S3 of, if the specified communication protocol is the same as the preset communication protocol of the specified micro service, parsing the call packet according to the format of the specified communication protocol to obtain a call packet header, includes:
s301, if the specified communication protocol is the same as the preset communication protocol of the specified micro-service, determining the position of a message header in the calling message according to the format of the preset specified communication protocol;
s302, judging whether the content in the position of the message header conforms to a preset format of the message header;
s303, if the content in the position of the message header conforms to the preset format of the message header, extracting the content in the position of the message header and recording the content as a calling message header.
As described above, obtaining a call header is achieved. The call message generally includes a message header and a message body, wherein if the format of the message header does not match the format that the preset message does not have, the call message is definitely not recognized, and because the formats do not match, the call message cannot be corrected to determine the correct message header. Therefore, the scheme of firstly judging whether the content in the position of the message header conforms to the preset format of the message header is adopted in the application. In which, a format of a communication protocol is exemplified: the format of the predetermined communication protocol is a request line, a request header and a request body (for example, the format of the HTTP communication protocol), wherein a first line break exists between the request line and the request header, and an empty line exists between the request header and the request body, for example. The position of the message header in the calling message can be determined only by finding the first line feed character and finding the first empty line in the calling message. Then, whether the Content in the position of the message header conforms to the preset format of the message header is judged, for example, whether the Content-Type: [ Type ]/[ subtype ]; and the format of the parameter exist is judged.
In one embodiment, the step S4 of calculating a similarity value between the call packet header and a preset standard call packet header by using a preset similarity algorithm, and determining whether the similarity value is greater than a preset similarity threshold value includes:
s401, adopting a formula:
Figure 656872DEST_PATH_IMAGE001
calculating the similarity value of the calling message header and a preset standard calling message header; wherein A is the character frequency vector of the calling message header, B is the character frequency vector of the preset standard calling message header, Ai、BiThe ith component vectors of the vectors A and B are respectively, n is the component quantity value with the largest component vector quantity in the vectors A and B, and whether the similarity value is larger than a preset similarity threshold value or not is judged.
As described above, the similarity value between the calling message header and the preset standard calling message header is calculated by using the preset similarity algorithm, and whether the similarity value is greater than the preset similarity threshold is determined. And calculating the similarity value of the calling message header and a preset standard calling message header by adopting a cosine similarity calculation method. And the character frequency vector of the calling message header refers to the occurrence frequency of characters in the calling message header. For example, the character frequency vector of Content is (1,1,2,2,1), that is, except n and t appearing 2 times, other characters appear only 1 time, where 2 in (1,1,2,2,1) is the component vector of n and t. Therefore, the similarity value of the calling message header and the preset standard calling message header is calculated by adopting a cosine similarity calculation method. Further, the calculating a similarity value between the calling header and a preset standard calling header by using a preset similarity algorithm, and determining whether the similarity value is greater than a preset similarity threshold value further includes: calculating similarity values of the calling message header and a plurality of preset standard calling message headers by adopting a preset similarity algorithm so as to obtain a plurality of similarity values, and judging whether the maximum value of the similarity values is greater than a preset similarity threshold value or not; and if the maximum value of the similarity values is larger than a preset similarity threshold value, taking the standard call message header corresponding to the maximum value of the similarity values as a correct call message header.
In an embodiment, before the step S6 of acquiring, according to the call information, the number of times of calls of the specified micro service in a predetermined time and determining whether the number of times of calls is greater than a preset first warning number threshold, the method includes:
s51, executing the recognition command of the replaced call message;
s52, judging whether the process of executing the identification command is error;
and S53, if the process of executing the identification command is not wrong, generating an early warning judgment instruction, wherein the early warning judgment instruction is used for indicating that the called times of the specified micro service within the preset time are obtained according to the calling information, and judging whether the called times are larger than a preset first early warning time threshold value.
As described above, the recognition command is executed, so that whether the replaced call packet is correct or not is judged. Although the call message is subjected to replacement processing, in order to further ensure that the call message can be identified, the application also executes an identification command of the call message after replacement; and judging whether the process of executing the identification command reports an error or not so as to ensure that the calling message can be correctly identified. And if the process of executing the identification command is not wrong, generating an early warning judgment instruction, wherein the early warning judgment instruction is used for indicating that the called times of the specified micro service within the preset time are obtained according to the calling information, and judging whether the called times are greater than a preset first early warning time threshold value or not.
In an embodiment, after the step S6 of acquiring, according to the invocation information, the invoked number of times of the specified micro service within a predetermined time, and determining whether the invoked number of times is greater than a preset first warning number threshold, the method includes:
s61, if the called times are not larger than a preset first early warning time threshold value, counting the flow data of the specified micro service within preset time, and judging whether the distribution of the flow data along with the change of time is within a preset flow data distribution range;
and S62, if the distribution of the flow data along with the change of time is in a preset flow data distribution range, sending the replaced call message to the specified micro service.
As described above, the transmission of the replaced call packet to the specified microservice is realized. The specified micro service is in an abnormal state and may be related to factors such as time, so that only the calling times within the preset time are judged to possibly cause inaccurate judgment, and accordingly, the mode of counting the traffic data of the specified micro service within the preset time and judging whether the distribution of the traffic data along with the change of time is within the preset traffic data distribution range is adopted to determine whether the traffic data of the specified micro service is normal. If the distribution of the flow data along with the change of time is in a preset flow data distribution range, the flow data is not abnormal, and therefore the replaced call message is sent to the specified micro service. The flow data distribution range may be set in any manner, for example, set as the real value of the flow data in the previous period multiplied by (-M%, + M%), where M is greater than 0.
In one embodiment, the step S7 of generating warning information, sending the warning information and the replaced call packet to the specified micro-service, and adding the specified micro-service to a preset monitoring list using a preset monitoring plug-in if the called number is greater than a preset first warning number threshold, includes:
s701, if the called times are larger than a preset first early warning time threshold value, generating early warning information, and sending the early warning information and the replaced calling message to the specified micro-service;
s702, byte code modification is carried out by using a preset monitoring plug-in based on the java agent technology, so that data embedding points are added at a communication port of the specified micro-service, and the specified micro-service is added into a preset monitoring list.
As described above, the early warning information and the replaced call packet are sent to the specified micro-service, and the specified micro-service is added to a preset monitoring list by using a preset monitoring plug-in. The java agent technology is a computer system packaged in a certain environment based on java language, and can flexibly and autonomously act in the environment for realizing the design purpose. The common mode needs manual restart to be effective when the code is changed, and the Java agent technology frees some functions of Java from the local code, so that only partial restart is needed, namely, only the modified code is reloaded, and the defect that the specified micro-service has to be completely restarted when added into a preset monitoring list in the traditional technology is overcome. The monitoring plug-in based on the java agent technology is the monitoring plug-in realized by the java agent, so that monitoring stripping is realized, when a monitoring list needs to be adjusted, the monitoring plug-in is realized only by modifying byte codes by the java agent, and only partial restarting is needed.
The micro-service early warning method based on the management platform receives a calling message which is sent by a first micro-service and is accompanied with calling information and used for calling a specified micro-service; if the specified communication protocol is the same as the preset communication protocol of the specified micro service, acquiring a calling message header; calculating the similarity value of the calling message header and a preset standard calling message header; if the similarity value is larger than the similarity threshold value, replacing the calling message header with a standard calling message header; if the called times are larger than a preset first early warning time threshold value, generating early warning information, sending the early warning information and the replaced calling message to the specified micro-service, and adding the specified micro-service into a preset monitoring list by using a preset monitoring plug-in. Therefore, the message is corrected while the micro service is early warned, and the usability and the use efficiency of the micro service message are improved.
Referring to fig. 2, an embodiment of the present application provides a micro-service early warning device based on a management platform, including:
a call message receiving unit 10, configured to receive a call message, which is sent by a first micro service and used for calling a specified micro service and attached with call information, where the call message is formed by encapsulating based on a specified communication protocol, and the call information includes at least one of a service name, a service URL address, or a service function of the specified micro service;
a communication protocol determining unit 20, configured to determine whether the specified communication protocol is the same as a preset communication protocol of the specified micro service;
the analysis unit 30 is configured to, if the specified communication protocol is the same as the preset communication protocol of the specified micro-service, analyze the call packet according to the format of the specified communication protocol, so as to obtain a call packet header;
a similarity threshold judgment unit 40, configured to calculate a similarity value between the call packet header and a preset standard call packet header by using a preset similarity algorithm, and judge whether the similarity value is greater than a preset similarity threshold;
a replacing unit 50, configured to replace a call packet header in the call packet with the standard call packet header if the similarity value is greater than a preset similarity threshold value, so as to obtain a replaced call packet;
a called number judging unit 60, configured to obtain, according to the calling information, the called number of the specified micro service within a predetermined time, and judge whether the called number is greater than a preset first warning number threshold;
and an early warning information generating unit 70, configured to generate early warning information if the called number of times is greater than a preset first early warning number threshold, send the early warning information and the replaced call packet to the specified micro-service, and add the specified micro-service to a preset monitoring list by using a preset monitoring plug-in.
The operations respectively executed by the above units correspond to the steps of the management platform-based micro-service early warning method of the foregoing embodiment one to one, and are not described herein again.
In one embodiment, the apparatus comprises:
a micro service cluster judging unit, configured to judge whether the first micro service and the specified micro service belong to the same micro service cluster;
an identity token judging unit, configured to judge whether the call packet carries an identity token if the first micro service and the specified micro service do not belong to the same micro service cluster, where the identity token is identity authentication information generated by the management platform for the first micro service;
the authority judgment unit is used for judging whether the identity token carried by the calling message has the authority to call the specified micro-service or not according to the corresponding relation between the preset identity token and the authority if the calling message carries the identity token;
a parameter matching judgment unit, configured to judge whether a calling parameter of the calling packet matches a predetermined parameter of the specified micro-service if the identity token carried by the calling packet has the authority to call the specified micro-service;
and the judgment instruction generating unit is used for generating a communication protocol judgment instruction if the calling parameter of the calling message is matched with the preset parameter of the specified micro service, wherein the communication protocol judgment instruction is used for indicating whether the specified communication protocol is the same as the preset communication protocol of the specified micro service or not.
The operations respectively executed by the above units correspond to the steps of the management platform-based micro-service early warning method of the foregoing embodiment one to one, and are not described herein again.
In one embodiment, the parsing unit 30 includes:
a message header position determining subunit, configured to determine, according to a format of a preset specified communication protocol, a position of a message header in the call message if the specified communication protocol is the same as the preset communication protocol of the specified micro service;
a format judging subunit, configured to judge whether content in the position of the packet header conforms to a preset format of the packet header;
and the calling message header marking subunit is used for extracting the content in the position of the message header and marking as the calling message header if the content in the position of the message header conforms to the preset format of the message header.
The operations respectively executed by the sub-units correspond to the steps of the management platform-based micro-service early warning method of the foregoing embodiment one to one, and are not described herein again.
In one embodiment, the similarity threshold determining unit 40 includes:
a similarity threshold judgment subunit, configured to adopt a formula:
Figure 940086DEST_PATH_IMAGE001
calculating the similarity value of the calling message header and a preset standard calling message header; wherein A is the character frequency vector of the calling message header, B is the character frequency vector of the preset standard calling message header, Ai、BiThe ith component vectors of the vectors A and B are respectively, n is the component quantity value with the largest component vector quantity in the vectors A and B, and whether the similarity value is larger than a preset similarity threshold value or not is judged.
The operations respectively executed by the sub-units correspond to the steps of the management platform-based micro-service early warning method of the foregoing embodiment one to one, and are not described herein again.
In one embodiment, the apparatus comprises:
the identification command execution unit is used for executing the identification command of the replaced calling message;
an error reporting judgment unit for judging whether the process of executing the identification command is error reporting;
and the early warning judgment instruction generating unit is used for generating an early warning judgment instruction if the process of executing the identification command is not wrong, wherein the early warning judgment instruction is used for indicating that the called times of the specified micro service within the preset time are acquired according to the calling information, and judging whether the called times are greater than a preset first early warning time threshold value or not.
The operations respectively executed by the above units correspond to the steps of the management platform-based micro-service early warning method of the foregoing embodiment one to one, and are not described herein again.
In one embodiment, the apparatus comprises:
the flow data judging unit is used for counting flow data of specified micro-services in preset time and judging whether the distribution of the flow data along with time change is in a preset flow data distribution range or not if the called times are not larger than a preset first early warning time threshold value;
and the calling message sending unit is used for sending the replaced calling message to the specified micro-service if the distribution of the flow data along with the change of time is within a preset flow data distribution range.
The operations respectively executed by the above units correspond to the steps of the management platform-based micro-service early warning method of the foregoing embodiment one to one, and are not described herein again.
In one embodiment, the warning information generating unit 70 includes:
the early warning information generation subunit is configured to generate early warning information if the called number of times is greater than a preset first early warning number threshold, and send the early warning information and the replaced call packet to the specified microservice;
and the monitoring list adding subunit is used for modifying byte codes by using a preset monitoring plug-in based on the java agent technology so as to add data embedding points at the communication port of the specified micro-service, thereby adding the specified micro-service into a preset monitoring list.
The operations respectively executed by the sub-units correspond to the steps of the management platform-based micro-service early warning method of the foregoing embodiment one to one, and are not described herein again.
The management platform-based micro-service early warning device receives a calling message which is sent by a first micro-service and is accompanied with calling information and used for calling a specified micro-service; if the specified communication protocol is the same as the preset communication protocol of the specified micro service, acquiring a calling message header; calculating the similarity value of the calling message header and a preset standard calling message header; if the similarity value is larger than the similarity threshold value, replacing the calling message header with a standard calling message header; if the called times are larger than a preset first early warning time threshold value, generating early warning information, sending the early warning information and the replaced calling message to the specified micro-service, and adding the specified micro-service into a preset monitoring list by using a preset monitoring plug-in. Therefore, the message is corrected while the micro service is early warned, and the usability and the use efficiency of the micro service message are improved.
Referring to fig. 3, an embodiment of the present invention further provides a computer device, where the computer device may be a server, and an internal structure of the computer device may be as shown in the figure. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used for storing data used by the micro-service early warning method based on the management platform. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a management platform based microservice early warning method.
The processor executes the management platform-based micro-service early-warning method, wherein the steps of the method are in one-to-one correspondence with the steps of the management platform-based micro-service early-warning method of the foregoing embodiment, and are not described herein again.
It will be understood by those skilled in the art that the structures shown in the drawings are only block diagrams of some of the structures associated with the embodiments of the present application and do not constitute a limitation on the computer apparatus to which the embodiments of the present application may be applied.
The computer equipment receives a calling message which is sent by a first micro service and is accompanied with calling information and used for calling a specified micro service; if the specified communication protocol is the same as the preset communication protocol of the specified micro service, acquiring a calling message header; calculating the similarity value of the calling message header and a preset standard calling message header; if the similarity value is larger than the similarity threshold value, replacing the calling message header with a standard calling message header; if the called times are larger than a preset first early warning time threshold value, generating early warning information, sending the early warning information and the replaced calling message to the specified micro-service, and adding the specified micro-service into a preset monitoring list by using a preset monitoring plug-in. Therefore, the message is corrected while the micro service is early warned, and the usability and the use efficiency of the micro service message are improved.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored thereon, and when the computer program is executed by a processor, the management platform-based micro-service early-warning method is implemented, where steps included in the method correspond to steps of the management platform-based micro-service early-warning method implemented in the foregoing embodiment one to one, and are not described herein again.
The computer-readable storage medium receives a calling message which is sent by a first micro service and is accompanied with calling information and used for calling a specified micro service; if the specified communication protocol is the same as the preset communication protocol of the specified micro service, acquiring a calling message header; calculating the similarity value of the calling message header and a preset standard calling message header; if the similarity value is larger than the similarity threshold value, replacing the calling message header with a standard calling message header; if the called times are larger than a preset first early warning time threshold value, generating early warning information, sending the early warning information and the replaced calling message to the specified micro-service, and adding the specified micro-service into a preset monitoring list by using a preset monitoring plug-in. Therefore, the message is corrected while the micro service is early warned, and the usability and the use efficiency of the micro service message are improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
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, apparatus, article, or method 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, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (9)

1. A micro-service early warning method based on a management platform is characterized by comprising the following steps:
receiving a calling message which is sent by a first micro service and carries calling information and is used for calling a specified micro service, wherein the calling message is formed by packaging based on a specified communication protocol, and the calling information comprises at least one of a service name, a service URL (uniform resource locator) address or a service function of the specified micro service;
judging whether the specified communication protocol is the same as a preset communication protocol of the specified micro-service or not;
if the specified communication protocol is the same as the preset communication protocol of the specified micro-service, analyzing the calling message according to the format of the specified communication protocol so as to obtain a calling message header;
calculating the similarity value of the calling message header and a preset standard calling message header by adopting a preset similarity algorithm, and judging whether the similarity value is greater than a preset similarity threshold value or not;
if the similarity value is larger than a preset similarity threshold value, replacing a calling message header in the calling message with the standard calling message header so as to obtain a replaced calling message;
acquiring the called times of the specified micro service within preset time according to the calling information, and judging whether the called times are greater than a preset first early warning time threshold value or not;
if the called times are larger than a preset first early warning time threshold value, generating early warning information, sending the early warning information and the replaced calling message to the specified micro-service, and adding the specified micro-service into a preset monitoring list by using a preset monitoring plug-in;
before the step of judging whether the specified communication protocol is the same as the preset communication protocol of the specified micro-service, the method comprises the following steps:
judging whether the first micro service and the specified micro service belong to the same micro service cluster;
if the first micro service and the specified micro service do not belong to the same micro service cluster, judging whether the calling message carries an identity token, wherein the identity token is identity authentication information generated by the management platform for the first micro service;
if the calling message carries the identity token, judging whether the identity token carried by the calling message has the authority for calling the specified micro-service according to the preset corresponding relation between the identity token and the authority;
if the identity token carried by the calling message has the authority of calling the specified micro-service, judging whether the calling parameter of the calling message is matched with the preset parameter of the specified micro-service;
and if the calling parameter of the calling message is matched with the preset parameter of the specified micro service, generating a communication protocol judgment instruction, wherein the communication protocol judgment instruction is used for indicating whether the specified communication protocol is the same as the preset communication protocol of the specified micro service or not.
2. The management platform-based micro-service early warning method according to claim 1, wherein the step of parsing the call packet according to the format of the designated communication protocol to obtain a call packet header if the designated communication protocol is the same as a preset communication protocol of the designated micro-service comprises:
if the specified communication protocol is the same as the preset communication protocol of the specified micro-service, determining the position of a message header in the calling message according to the format of the preset specified communication protocol;
judging whether the content in the position of the message header conforms to the preset format of the message header;
and if the content in the position of the message header conforms to the preset format of the message header, extracting the content in the position of the message header and recording the content as a calling message header.
3. The management platform-based micro-service early warning method according to claim 1, wherein the step of calculating the similarity value between the calling message header and a preset standard calling message header by using a preset similarity algorithm and judging whether the similarity value is greater than a preset similarity threshold value comprises:
the formula is adopted:
Figure 294439DEST_PATH_IMAGE001
calculating the similarity value of the calling message header and a preset standard calling message header; wherein A is the character frequency vector of the calling message header, B is the character frequency vector of the preset standard calling message header, Ai、BiThe ith component vectors of the vectors A and B are respectively, n is the component quantity value with the largest component vector quantity in the vectors A and B, and whether the similarity value is larger than a preset similarity threshold value or not is judged.
4. The management platform-based micro-service early warning method according to claim 1, wherein before the step of obtaining the called times of the specified micro-service within a predetermined time according to the calling information and determining whether the called times is greater than a preset first early warning time threshold, the method comprises:
executing the identification command of the replaced calling message;
judging whether the process of executing the identification command is error;
and if the process of executing the identification command is not wrong, generating an early warning judgment instruction, wherein the early warning judgment instruction is used for indicating that the called times of the specified micro service within the preset time are obtained according to the calling information, and judging whether the called times are greater than a preset first early warning time threshold value or not.
5. The management platform-based micro-service early warning method according to claim 1, wherein the step of obtaining the called times of the specified micro-service within a predetermined time according to the calling information and determining whether the called times is greater than a preset first early warning time threshold value comprises:
if the called times are not greater than a preset first early warning time threshold, counting flow data of specified micro-services within preset time, and judging whether the distribution of the flow data along with time change is within a preset flow data distribution range;
and if the distribution of the flow data along with the change of time is in a preset flow data distribution range, sending the replaced call message to the specified micro-service.
6. The management platform-based micro-service early warning method according to claim 1, wherein the step of generating early warning information if the called number of times is greater than a preset first early warning number threshold, sending the early warning information and the replaced call packet to the specified micro-service, and adding the specified micro-service to a preset monitoring list using a preset monitoring plug-in includes:
if the called times are larger than a preset first early warning time threshold value, generating early warning information, and sending the early warning information and the replaced calling message to the specified micro-service;
and modifying byte codes by using a preset monitoring plug-in based on the java agent technology to add data embedding points at the communication port of the specified micro-service, so that the specified micro-service is added into a preset monitoring list.
7. The utility model provides a little service early warning device based on management platform which characterized in that includes:
the calling message receiving unit is used for receiving a calling message which is sent by a first micro service and is attached with calling information and used for calling a specified micro service, wherein the calling message is formed by packaging based on a specified communication protocol, and the calling information comprises at least one of a service name, a service URL (uniform resource locator) address or a service function of the specified micro service;
the communication protocol judging unit is used for judging whether the specified communication protocol is the same as a preset communication protocol of the specified micro service or not;
the analysis unit is used for analyzing the calling message according to the format of the specified communication protocol if the specified communication protocol is the same as the preset communication protocol of the specified micro-service, so as to obtain a calling message header;
a similarity threshold judgment unit, configured to calculate a similarity value between the call packet header and a preset standard call packet header by using a preset similarity algorithm, and judge whether the similarity value is greater than a preset similarity threshold;
a replacing unit, configured to replace a calling packet header in the calling packet with the standard calling packet header if the similarity value is greater than a preset similarity threshold value, so as to obtain a replaced calling packet;
the called frequency judging unit is used for acquiring the called frequency of the specified micro service within preset time according to the calling information and judging whether the called frequency is greater than a preset first early warning frequency threshold value or not;
the early warning information generating unit is used for generating early warning information if the called times are larger than a preset first early warning time threshold value, sending the early warning information and the replaced calling message to the specified micro-service, and adding the specified micro-service into a preset monitoring list by using a preset monitoring plug-in;
the device further comprises:
a micro service cluster judging unit, configured to judge whether the first micro service and the specified micro service belong to the same micro service cluster;
an identity token judging unit, configured to judge whether the call packet carries an identity token if the first micro service and the specified micro service do not belong to the same micro service cluster, where the identity token is identity authentication information generated by the management platform for the first micro service;
the authority judgment unit is used for judging whether the identity token carried by the calling message has the authority to call the specified micro-service or not according to the corresponding relation between the preset identity token and the authority if the calling message carries the identity token;
a parameter matching judgment unit, configured to judge whether a calling parameter of the calling packet matches a predetermined parameter of the specified micro-service if the identity token carried by the calling packet has the authority to call the specified micro-service;
and the judgment instruction generating unit is used for generating a communication protocol judgment instruction if the calling parameter of the calling message is matched with the preset parameter of the specified micro service, wherein the communication protocol judgment instruction is used for indicating whether the specified communication protocol is the same as the preset communication protocol of the specified micro service or not.
8. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201910596482.4A 2019-07-03 2019-07-03 Management platform-based micro-service early warning method and device and computer equipment Active CN110445636B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910596482.4A CN110445636B (en) 2019-07-03 2019-07-03 Management platform-based micro-service early warning method and device and computer equipment
PCT/CN2019/103549 WO2021000416A1 (en) 2019-07-03 2019-08-30 Micro-service early warning method and apparatus based on management platform, and computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910596482.4A CN110445636B (en) 2019-07-03 2019-07-03 Management platform-based micro-service early warning method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN110445636A CN110445636A (en) 2019-11-12
CN110445636B true CN110445636B (en) 2022-03-18

Family

ID=68429386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910596482.4A Active CN110445636B (en) 2019-07-03 2019-07-03 Management platform-based micro-service early warning method and device and computer equipment

Country Status (2)

Country Link
CN (1) CN110445636B (en)
WO (1) WO2021000416A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113194057B (en) * 2020-01-14 2023-06-27 北京京东振世信息技术有限公司 AS 2-based data receiving, transmitting and interacting method and client
CN111371840B (en) * 2020-02-14 2021-05-11 平安科技(深圳)有限公司 Micro-service deployment method, device, computer equipment and storage medium
CN111427557A (en) * 2020-04-06 2020-07-17 中信银行股份有限公司 Application microservice method and device, electronic equipment and readable storage medium
CN113472794B (en) * 2021-07-05 2023-08-15 福州数据技术研究院有限公司 Multi-application system authority unified management method based on micro-service and storage medium
CN115086394A (en) * 2022-06-15 2022-09-20 亚信科技(中国)有限公司 Service information processing method and device and electronic equipment
CN116094178B (en) * 2023-04-11 2023-06-16 浙江德塔森特数据技术有限公司 Fault early warning control method and device for precise train head cabinet, machine room and medium
CN117146521B (en) * 2023-09-21 2024-04-16 北京快行线冷链物流有限公司 Quality management system and method for cold chain transportation based on temperature

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103701669A (en) * 2013-12-30 2014-04-02 北京邮电大学 Service type detection method and device
CN107528853A (en) * 2017-09-12 2017-12-29 上海艾融软件股份有限公司 The implementation method of micro services control of authority
CN107682321A (en) * 2017-09-14 2018-02-09 广州西麦科技股份有限公司 A kind of method and device of SDN controllers cluster single-sign-on
CN108964987A (en) * 2018-06-15 2018-12-07 平安科技(深圳)有限公司 Data monitoring method, device, computer equipment and storage medium
US10171623B1 (en) * 2017-07-18 2019-01-01 International Business Machines Corporation Identifying application preemptive requests
CN109474685A (en) * 2018-11-16 2019-03-15 中国银行股份有限公司 Service monitoring method and system under a kind of framework based on micro services
CN109542718A (en) * 2018-10-22 2019-03-29 中国平安人寿保险股份有限公司 Monitoring method, device, storage medium and the server of service call
CN109617750A (en) * 2019-01-31 2019-04-12 国网电子商务有限公司 A kind of service method for early warning and gateway
CN109672612A (en) * 2018-12-13 2019-04-23 中国电子科技集团公司电子科学研究院 API gateway system
CN109728969A (en) * 2018-05-18 2019-05-07 平安普惠企业管理有限公司 Abnormal user method for detecting, monitoring service end and the storage medium of application software
CN109739727A (en) * 2019-01-03 2019-05-10 优信拍(北京)信息科技有限公司 Service monitoring method and device in micro services framework
CN109936624A (en) * 2019-01-31 2019-06-25 平安科技(深圳)有限公司 Adaptation method, device and the computer equipment of HTTP request heading

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100125474A1 (en) * 2008-11-19 2010-05-20 Harmon J Scott Service evaluation assessment tool and methodology
CN103580937B (en) * 2012-07-24 2016-11-23 阿里巴巴集团控股有限公司 A kind of Web services the method and system thereof and service broker system simulated
CN106850832A (en) * 2017-03-01 2017-06-13 郑州云海信息技术有限公司 A kind of cloud management system based on micro services framework
CN107070889B (en) * 2017-03-10 2020-04-07 中国电建集团成都勘测设计研究院有限公司 Unified security defense system based on cloud platform

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103701669A (en) * 2013-12-30 2014-04-02 北京邮电大学 Service type detection method and device
US10171623B1 (en) * 2017-07-18 2019-01-01 International Business Machines Corporation Identifying application preemptive requests
CN107528853A (en) * 2017-09-12 2017-12-29 上海艾融软件股份有限公司 The implementation method of micro services control of authority
CN107682321A (en) * 2017-09-14 2018-02-09 广州西麦科技股份有限公司 A kind of method and device of SDN controllers cluster single-sign-on
CN109728969A (en) * 2018-05-18 2019-05-07 平安普惠企业管理有限公司 Abnormal user method for detecting, monitoring service end and the storage medium of application software
CN108964987A (en) * 2018-06-15 2018-12-07 平安科技(深圳)有限公司 Data monitoring method, device, computer equipment and storage medium
CN109542718A (en) * 2018-10-22 2019-03-29 中国平安人寿保险股份有限公司 Monitoring method, device, storage medium and the server of service call
CN109474685A (en) * 2018-11-16 2019-03-15 中国银行股份有限公司 Service monitoring method and system under a kind of framework based on micro services
CN109672612A (en) * 2018-12-13 2019-04-23 中国电子科技集团公司电子科学研究院 API gateway system
CN109739727A (en) * 2019-01-03 2019-05-10 优信拍(北京)信息科技有限公司 Service monitoring method and device in micro services framework
CN109617750A (en) * 2019-01-31 2019-04-12 国网电子商务有限公司 A kind of service method for early warning and gateway
CN109936624A (en) * 2019-01-31 2019-06-25 平安科技(深圳)有限公司 Adaptation method, device and the computer equipment of HTTP request heading

Also Published As

Publication number Publication date
WO2021000416A1 (en) 2021-01-07
CN110445636A (en) 2019-11-12

Similar Documents

Publication Publication Date Title
CN110445636B (en) Management platform-based micro-service early warning method and device and computer equipment
CN111401903B (en) Block chain message processing method, device, computer and readable storage medium
CN109474578B (en) Message checking method, device, computer equipment and storage medium
CN110138741B (en) Micro-service management method and device based on unified management platform and computer equipment
CN109936624B (en) Adaptation method and device for HTTP request message header and computer equipment
CN107360261B (en) HTTP request processing method and device and electronic equipment
CN110224855B (en) Registration method and device of micro service instance, computer equipment and storage medium
CN114500690B (en) Interface data processing method and device, electronic equipment and storage medium
CN110138669B (en) Interface access processing method and device, computer equipment and storage medium
CN110650186A (en) Interface calling method and device, computer equipment and storage medium
CN111641658A (en) Request intercepting method, device, equipment and readable storage medium
CN112613993B (en) Transaction data processing method and device, computer equipment and storage medium
CN114500358B (en) Gateway message distribution method, device, equipment and storage medium
CN110333957B (en) Remote Procedure Call (RPC) service calling method, device and computer equipment
CN112953745A (en) Service calling method, system, computer device and storage medium
CN112600801A (en) Flow access control method, equipment and storage medium
CN114598750B (en) Data request processing method, device and storage medium
CN110727588A (en) Network application testing method, system, computer equipment and readable storage medium
CN111176882A (en) Specific data processing method, specific data processing device, computer equipment and storage medium
CN114070624B (en) Message monitoring method, device, electronic equipment and medium
CN111008377A (en) Account monitoring method and device, computer equipment and storage medium
CN111245913A (en) Message sending method and device based on gateway, computer equipment and storage medium
EP3174246B1 (en) Method and device for sending bulk data acquisition request
CN113660266B (en) Processing method, device, equipment and storage medium for login failure
CN110166528B (en) Method and device for preventing node change notification from being lost and computer equipment

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