[go: up one dir, main page]

CN114090293B - Service providing method and electronic equipment - Google Patents

Service providing method and electronic equipment Download PDF

Info

Publication number
CN114090293B
CN114090293B CN202111387156.6A CN202111387156A CN114090293B CN 114090293 B CN114090293 B CN 114090293B CN 202111387156 A CN202111387156 A CN 202111387156A CN 114090293 B CN114090293 B CN 114090293B
Authority
CN
China
Prior art keywords
service node
service
terminal type
terminal
node
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
CN202111387156.6A
Other languages
Chinese (zh)
Other versions
CN114090293A (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.)
Ecarx Hubei Tech Co Ltd
Original Assignee
Ecarx Hubei Tech 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 Ecarx Hubei Tech Co Ltd filed Critical Ecarx Hubei Tech Co Ltd
Priority to CN202111387156.6A priority Critical patent/CN114090293B/en
Publication of CN114090293A publication Critical patent/CN114090293A/en
Application granted granted Critical
Publication of CN114090293B publication Critical patent/CN114090293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention provides a service providing method and electronic equipment, which are applied to the technical field of data processing, wherein the service providing method is applied to a management node in a service cluster and comprises the steps of receiving a service request sent by a terminal and used for requesting stateful service; determining a target service node responding to the service request from online service nodes according to the corresponding relation between the preset terminal type and the online service nodes and the type of the terminal; forwarding the service request to the target service node so that the target service node responds to the service request. By applying the scheme provided by the embodiment of the invention, the quality of the provided service can be improved.

Description

Service providing method and electronic equipment
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a service providing method and an electronic device.
Background
The service node may provide various services to the terminal, wherein the services may be classified into stateful services and stateless services. For a stateful service, the service node needs to generate response data based on state data of the terminal device, and respond to a service request of the stateful service based on the response data, where the state data includes attribute information, operation conditions, and the like of the terminal device.
In the prior art, stateful services are typically provided by a single service node. However, as the number of terminals increases, the number of service requests sent by the terminals increases, and it is difficult for a single service node to support a large number of service requests and to concurrently make it possible to seriously affect the quality of service of the provided service.
Disclosure of Invention
The embodiment of the invention aims to provide a service providing method and electronic equipment so as to improve service quality. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a service providing method, which is applied to a management node in a service cluster, where the service cluster further includes a plurality of service nodes, and the method includes:
receiving a service request sent by a terminal and used for requesting stateful services;
Determining a target service node responding to the service request from online service nodes according to the corresponding relation between the preset terminal type and the online service nodes and the type of the terminal;
Forwarding the service request to the target service node so that the target service node responds to the service request.
In one embodiment of the invention, the correspondence between the terminal type and the online service node is determined in the following way:
determining an online service node;
And determining the terminal type corresponding to the online service node based on the weight corresponding to each terminal type to obtain the corresponding relation between the terminal type and the online service node, wherein the weight corresponding to the terminal type represents the number of terminals of the terminal type.
In one embodiment of the present invention, the method further includes:
if a first service node on the new line is detected, judging whether a first terminal type with undetermined corresponding relation exists or not;
if the first terminal type exists, determining the first terminal type as the terminal type corresponding to the first service node;
And if the terminal type does not exist, determining a second terminal type from the terminal types corresponding to the online service nodes, and taking the second terminal type as the terminal type corresponding to the first service node.
In one embodiment of the present invention, the determining the second terminal type from the terminal types corresponding to the online service nodes includes:
And determining a second terminal type from the terminal types corresponding to the online service nodes based on the determination moment of determining the terminal type corresponding to the online service node.
In one embodiment of the present invention, the determining time based on determining the terminal type corresponding to the online service node includes:
determining the latest moment from the determined moments of the terminal types corresponding to the online service nodes;
And determining the terminal type determined by the latest moment as a second terminal type.
In one embodiment of the invention, a first service node that is newly on-line is detected in the following manner:
Receiving a heartbeat packet of a service node;
and if the heartbeat packet does not contain the terminal type corresponding to the service node, determining that the service node is the first service node on the new line.
In one embodiment of the present invention, the method further includes:
If the second service node which is in the off-line state is detected, determining the service node corresponding to the third terminal type from the other online service nodes according to the weight of the third terminal type corresponding to the second service node and the weight of the terminal types corresponding to the other online service nodes except the second service node.
In one embodiment of the present invention, determining the service node corresponding to the third terminal type from the other online service nodes according to the weight of the third terminal type corresponding to the second service node and the weight of the terminal type corresponding to the other online service nodes except the second service node includes:
calculating the total weight of the terminal types corresponding to each other online service node;
determining a service node with the minimum total weight of a target number, wherein the target number is the number of the third terminal types;
And respectively determining the determined service nodes as the service nodes corresponding to the third terminal type.
In one embodiment of the invention, the second service node down-line is detected as follows:
Receiving an offline packet representing the offline of a service node, and determining the service node sending the offline packet as a second offline service node;
Or (b)
And determining the service node with the interval duration of sending the heartbeat packet exceeding the preset interval duration as the second service node which is offline.
In one embodiment of the present invention, the terminal type is a train type of a vehicle.
In a second aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and a processor, configured to implement the method steps described in the first aspect when executing the program stored in the memory.
As can be seen from the above, in the solution provided by the embodiment of the present invention, the service cluster includes a management node and a plurality of service nodes, and there is a correspondence between online service nodes and terminal types, after the management node receives a service request sent by a terminal, an online target service node for responding to the service request is determined according to the correspondence and the terminal type, so that stateful service is provided to the terminal based on the target service node. When the terminals sending the service request are different, the target service nodes for responding to the service request may be different, so that the service nodes provide stateful services for the terminals, and compared with the prior art that a single node provides stateful services for the terminals, the service quality is remarkably improved.
Of course, it is not necessary for any one product or method of practicing the invention to achieve all of the advantages set forth above at the same time.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the invention, and other embodiments may be obtained according to these drawings to those skilled in the art.
Fig. 1 is a schematic structural diagram of a service cluster according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a service providing method according to an embodiment of the present invention;
Fig. 3 is a flow chart of a first correspondence determining method according to an embodiment of the present invention;
fig. 4a is a flow chart of a second correspondence determining method according to an embodiment of the present invention;
Fig. 4b is a signaling interaction diagram of a first correspondence sending method according to an embodiment of the present invention;
fig. 4c is a signaling interaction diagram of a second correspondence sending method according to an embodiment of the present invention;
Fig. 5 is a flow chart of a third correspondence determining method according to an embodiment of the present invention;
fig. 6 is a signaling interaction diagram of a correspondence determining method according to an embodiment of the present invention;
fig. 7a is a schematic diagram of a functional module of a management node according to an embodiment of the present invention;
FIG. 7b is an interaction block diagram of interactions between a management node and a service node provided by an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. Based on the embodiments of the present application, all other embodiments obtained by the person skilled in the art based on the present application are included in the scope of protection of the present application.
First, a service cluster according to an embodiment of the present invention will be described with reference to fig. 1.
Fig. 1 is a schematic structural diagram of a service cluster according to an embodiment of the present invention. The service cluster shown in fig. 1 includes a plurality of service nodes and management nodes. Wherein,
A service node for providing stateful services to the terminal;
And the management node is used for managing each service node. Specifically, the management node has a node monitoring function, monitors the running condition of the service node in real time, and executes exception handling operation under the condition that the service node fails, so that the stability of the whole service cluster is ensured.
The management node may run code written in different programming languages including Java, C++, and the like.
The management node can comprise a plurality of management nodes, the plurality of management nodes can be subjected to clustered deployment, and the efficiency and the quality of managing the service nodes are improved.
The service providing method provided by the embodiment of the invention is specifically described below.
Referring to fig. 2, a flow chart of a service providing method is provided, which is applied to a management node in a service cluster, and the method includes the following steps S201 to S203.
Step S201, a service request for requesting a stateful service is received from a terminal.
The terminal may be a smart phone, a computer, a wearable device, an intelligent vehicle, etc.
When a service node needs to respond to a service request for a certain service based on state data of a terminal, the service is referred to as a stateful service.
In one embodiment of the invention, the stateful service may be a shadow service when the terminal is an intelligent vehicle. The shadow service is used for controlling the vehicle in real time, can realize the functions of connection between the vehicle and the cloud, vehicle control, vehicle real-time data reporting and the like, and is a key service in an intelligent vehicle scene.
Step S202, determining a target service node responding to the service request from the online service nodes according to the corresponding relation between the preset terminal type and the online service nodes and the terminal type.
An online service node refers to a service node capable of providing a service. An online service node may also be referred to as an active service node.
The terminal types have different meanings under different application scenes, and specifically, the following three application scenes are taken as examples:
When the application scenario is an intelligent vehicle scenario, the terminal type may be a train type of the vehicle. The vehicle system type may be a type classified according to a brand type of the vehicle, such as a brand 1 vehicle system, a brand 2 vehicle system, and a brand 3 vehicle system, and may be a type classified according to an appearance style of the vehicle, such as a japanese style vehicle system, and an american style vehicle system.
When the application scenario is a weather service scenario, the terminal type may be the type of the terminal location. The type of the terminal location may be a type obtained by dividing the province of the terminal, for example, the type a, the type B, and the type C are types of the terminal location obtained by dividing the province of the terminal.
When the application scenario is a violation service scenario, the terminal type may be a service type of a violation service corresponding to the terminal, for example, the violation service N1 type, the violation service N2 type, and the violation service N3 type are respectively different terminal types obtained by dividing according to the violation type corresponding to the terminal.
If the online service node has a corresponding relation with the terminal type, the online service node can provide the state service for the terminal of the terminal type, and if the online service node does not have a corresponding relation with the terminal type, the online service node does not provide the state service for the terminal of the terminal type. The manner of determining the correspondence relationship may be referred to an embodiment shown in fig. 3, and will not be described in detail herein.
The type of the terminal refers to a type of a terminal that transmits a service request.
Specifically, the type of obtaining the above terminal may be implemented in the following two ways:
In the first embodiment, the service request may carry the type of the terminal that sends the service request, in which case the service request may be parsed to obtain the type of the terminal that sends the service request.
In a second embodiment, the management node locally stores the types of the respective terminals, in which case, after the management node receives the service request sent by the terminal, the type of the terminal sending the service request is determined from the locally stored types of the respective terminals.
The target service node refers to a service node for responding to a service request. In one embodiment, an online service node corresponding to the type of the terminal sending the service request may be determined from a preset correspondence between the type of the terminal and the online service node, and may be used as the target service node.
For example, table 1 shows the correspondence between terminal types and online service nodes.
TABLE 1
When the type of the terminal that transmits the service request is the type Tc, the service node corresponding to the type Tc is determined to be the service node S2 from the correspondence shown in the above table 1, and therefore, the service node S2 is determined to be the target service node.
Step S203, forwarding the service request to the target service node, so that the target service node responds to the service request.
In particular, the service request may be forwarded to the target service node in the following two ways.
In a first embodiment, the service request is routed directly to the target service node.
Specifically, the management node may send a service request to the service node through a preset protocol, where the preset protocol may be http (Hyper Text Transfer Protocol ), and since http is high in availability and relatively mature, data interaction is performed through http, so that reliability of data transmission can be ensured.
In a second embodiment, the service request is added to a target message queue, where the target message queue is used to store the service request sent by a terminal of a terminal type corresponding to a target service node, and the target service node obtains the service request from the target message queue.
Since the target service node is a service node corresponding to the type of the terminal, the state data transmitted by the terminal eventually reaches the target service node, that is, the target service node locally stores the state data of the terminal transmitting the service request. Thus, after the target service node receives the service request, response data can be generated based on the locally stored state data, and the service request is responded based on the response data without acquiring the state data from other nodes, so that the occupation of network transmission resources is reduced, and the utilization rate of the network transmission resources is improved.
Taking a terminal as an intelligent vehicle as an example, a target service node locally stores state data of the intelligent vehicle, such as current running mileage of the intelligent vehicle, CPU (Central processing Unit) utilization rate, air-conditioning temperature and the like, when the service request is for acquiring the current running mileage of the vehicle, the target service node can acquire the locally stored current running mileage of the intelligent vehicle, package the running mileage according to a preset format, the packaged data is used as response data, the response data is sent to the intelligent vehicle, and after the intelligent vehicle receives the response data, the response data is unpacked, so that the current running mileage of the intelligent vehicle is obtained.
As can be seen from the above, in the solution provided by the embodiment of the present invention, the service cluster includes a management node and a plurality of service nodes, and there is a correspondence between online service nodes and terminal types, after the management node receives a service request sent by a terminal, an online target service node for responding to the service request is determined according to the correspondence and the terminal type, so that stateful service is provided to the terminal based on the target service node. When the terminals sending the service request are different, the target service nodes for responding to the service request may be different, so that the service nodes provide stateful services for the terminals, and compared with the prior art that a single node provides stateful services for the terminals, the service quality is remarkably improved.
And because the corresponding relation reflects the association relation between the terminal type and the online service node, the target service node for responding to the service request can be accurately determined according to the terminal type for sending the service request and the corresponding relation, so that after the service request is forwarded to the target service node, the service request is directly responded by the target service node without further determining the service node for responding to the service request by the target service node, and the service request is forwarded to a new service node through a network, the occupation of network transmission resources is reduced, and the utilization rate of the network transmission resources is improved.
In addition, since the terminal type and the online service node have a corresponding relationship, the state data sent by the terminal of the terminal type is stored in the corresponding service node, so that each service node locally stores the state data of the terminal of the corresponding terminal type. When the service node receives the service request, the service node only needs to read the state data for responding to the service request from the locally stored state data, and does not need to acquire the state data from other nodes through the network, so that the occupation of network transmission resources is reduced, and the utilization rate of the network transmission resources is improved. In addition, the service node locally stores the state data of the terminals of the corresponding terminal types only, and the state data of all the terminals are not required to be stored, so that the situation that the memory of the service node is occupied in a large amount is avoided, and the memory utilization rate of the service node is improved.
If a plurality of service nodes are added to the service cluster, a larger number of service requests can be responded, and the throughput of the service cluster increases with the number of service nodes. And under the condition that the number of the terminals of the terminal type is not changed greatly, the state data of the terminals locally stored by each service node is reduced linearly along with the increase of the service nodes, and the memory utilization rate of the service nodes is further improved.
The correspondence between the terminal type and the online service node in step S202 may be determined according to the determination method of the correspondence mentioned in the embodiment shown in fig. 3. In an embodiment of the present invention, referring to fig. 3, a flowchart of a first correspondence determining method is provided, and the embodiment shown in fig. 3 includes the following steps S301 to S302.
Step S301, determining an online service node.
In one embodiment, the service node may send a heartbeat packet to the management node at a preset time interval, when the management node receives the heartbeat packet sent by the service node, it indicates that the service node is an online service node, and when the associated node does not receive the heartbeat packet sent by the service node, it indicates that the service node is not an online service node.
The preset time interval may be 10ms, 20ms, etc.
Specifically, the service node can integrate the client module corresponding to the management node, and the service node sends the heartbeat packet to the service node at regular time through the integrated client module. The management node has a service node monitoring function and a heartbeat detection function, and can receive the heartbeat packet sent by the service node based on the service node monitoring function and detect the heartbeat packet based on the heartbeat detection function.
The service node can also register the service node in the management node through the client module, and the management node can uniformly manage the registered nodes. In addition, the client module can be quickly integrated in the existing service node in different application scenes without changing the architecture of the existing service node, and is called as an intrusion-free client module.
Step S302, based on the weight corresponding to each terminal type, determining the terminal type corresponding to the online service node, and obtaining the corresponding relation between the terminal type and the online service node.
The weight corresponding to the terminal type characterizes the number of terminals of the terminal type. Taking the vehicle type with the terminal type as the vehicle as an example, the number of vehicles of the vehicle type T1 is 1000, the number of vehicles of the vehicle type T2 is 500, the number of vehicles of the vehicle type T3 is 500, the weight corresponding to the vehicle type T1 is 2, the weight corresponding to the vehicle type T2 is 1, and the weight corresponding to the vehicle type T3 is 1.
Specifically, an input frame for inputting the weight corresponding to the terminal type is displayed in a user interface provided by the management node, and a worker inputs the weight corresponding to the terminal type in advance through the input frame in the user interface, so that the management node obtains the weight corresponding to the terminal type input by the worker.
In one embodiment, each online service node and each terminal type may be combined, for each combination, a total weight of terminal types corresponding to each service node in the combination is calculated, a target combination in which a difference between the total weights of the service nodes included in each combination is smaller than a preset difference is determined from each combination, and a terminal type corresponding to each service node included in the target combination is determined as a terminal type corresponding to each online service node.
For example, the online service node comprises Sa and Sb, each terminal type comprises T1, T2 and T3, wherein the weight corresponding to T1 is 10, the weight corresponding to T2 is 5, the weight corresponding to T3 is 5, and the preset difference is 1.
Each online service node is combined with each terminal type to obtain a plurality of combinations, as shown in table 2.
TABLE 2
In table 2, each row represents a combination, and taking the combination of the first row as an example, the terminal type corresponding to Sa in the combination is T1, and the terminal type corresponding to Sb is T2 and T3.
The total weights of the terminal types corresponding to the service nodes included in each combination are also shown in table 2, and since the total weights of the service nodes in the first row of combinations are equal, the difference between the total weights of the service nodes is smaller than a preset difference 1, and the total weights of the service nodes in the sixth row of combinations are also equal, and the difference between the total weights of the service nodes is smaller than the preset difference 1, the terminal type corresponding to the service nodes in the first row of combinations can be determined as the terminal type corresponding to the service nodes on line, and the terminal type corresponding to the service nodes in the sixth row of combinations can be determined as the terminal type corresponding to the service nodes on line.
From the above, since the terminal type corresponding to the online service node is determined based on the weight corresponding to each terminal type, and the weight corresponding to the terminal type characterizes the number of terminals of the terminal type, the determined terminal type corresponding to the service node is associated with the number of terminals of the terminal type. And when the number of the terminals of the terminal type is related to the number of the service requests, the determined terminal type corresponding to each service node is related to the number of the service requests, so that the subsequent service node can be suitable for the number of the service requests when providing services for the terminals of the corresponding terminal type, and the problem of unbalanced load of the service node is effectively reduced.
After determining the correspondence between the online service nodes and the terminal types in step S302, there may be a case of a new online service node, and for the newly online service nodes, the terminal types corresponding to these service nodes need to be determined. Based on this, in one embodiment of the present invention, referring to fig. 4a, a flow chart of a second correspondence determination method is provided.
Specifically, the embodiment shown in FIG. 4a includes the following steps S401-S405.
Step S401, determining an online service node.
Step S402, based on the weight corresponding to each terminal type, determining the terminal type corresponding to the online service node, and obtaining the corresponding relation between the terminal type and the online service node.
The weight corresponding to the terminal type characterizes the number of terminals of the terminal type.
The steps S401 to S402 are the same as the steps S301 to S302 in the embodiment shown in fig. 3, and are not described herein.
Step S403, if the first service node on the new line is detected, judging whether the first terminal type with the undetermined corresponding relation exists. If yes, trigger step S404, if not, trigger step S405.
And when the service node is a newly-online service node, the corresponding terminal type is not determined for the newly-online service node, so that the heartbeat packet sent by the service node does not contain the terminal type. Based on the above, in one embodiment of the present invention, a heartbeat packet of a service node may be received, and if the heartbeat packet does not include a terminal type corresponding to the service node, the service node is determined to be a first service node that is newly on line, and if the heartbeat packet includes a terminal type corresponding to the service node, the service node is determined not to be the first service node that is newly on line.
The service node can send the heartbeat packet to indicate that the service node is in an online state, and when the heartbeat packet does not contain the terminal type corresponding to the service node, the service node on line is the service node on line newly, and the corresponding terminal type is not determined, so that whether the service node is the service node on line newly can be determined relatively by detecting whether the heartbeat packet contains the terminal type corresponding to the service node.
And the management node determines the current life cycle state of the service node by receiving the heartbeat packet of the service node, and adopts different operations based on different states of the service node, so that the management node can effectively manage the service node in different life cycles.
The first terminal type of which the corresponding relation is not determined refers to the terminal type of which the corresponding service node is not determined. For example, the terminal types include C1, C2, and C3, and the preset correspondence includes a correspondence between C1 and the service node S1, and a correspondence between C2 and the service node S1, but no correspondence between C3 and the service node exists, so C3 is a terminal type of which the corresponding service node is not determined, that is, a first terminal type of which the correspondence is not determined.
In one embodiment, the management node records information indicating whether each terminal type has a corresponding service node, based on which it can be determined whether there is a terminal type that does not have a corresponding service node from the information recorded locally by the management node, if there is a first terminal type, if there is no, there is no first terminal type.
And step S404, determining the first terminal type as the terminal type corresponding to the first service node.
Since the first service node is a newly online service node, the first service node is a service node with no corresponding relation determined, and the first terminal type is also a terminal type with no corresponding relation determined, the first terminal type can be determined as the terminal type corresponding to the first service node.
Step S405, determining a second terminal type from terminal types corresponding to the online service nodes, and taking the second terminal type as the terminal type corresponding to the first service node.
Specifically, the second terminal type may be determined in the following two ways.
In a first embodiment, the second terminal type is determined from the terminal types corresponding to the online service nodes based on the determination time of the terminal type corresponding to the online service node.
The above-mentioned determining time represents a time of determining a terminal type corresponding to the online service node, that is, a time of determining a correspondence between the online service node and the terminal type.
The second terminal type may be determined based on the determination time in the following two ways:
In one mode, the latest time can be determined from the determination time of the terminal type corresponding to the online service node, and the terminal type determined by the latest time is determined as the second terminal type.
In step S402, the determination time of the terminal type corresponding to each online service node is determined to be the same, and when there is a case that a service node is down in each online service node, the terminal type corresponding to the down service node needs to be determined to be the terminal type corresponding to another online service node, so that the terminal type is added to the other online service node on the basis of the determined terminal type corresponding to the other online service node, and in this case, the determination time of the post-added terminal type is relatively newer than the determination time of the determined terminal type. Based on this, the terminal type determined at the latest time is a terminal type corresponding to the service node that has been disconnected, and when there is a service node that has been disconnected newly, the terminal type determined at the latest time may be used as the terminal type corresponding to the service node that has been disconnected newly.
Specifically, the management node locally records the determination time of each terminal type corresponding to the online service node, and can determine the latest time from the locally recorded determination time.
In another mode, a preset number of latest times can be determined from the determining times for determining the terminal types corresponding to the online service nodes, and the terminal types determined by the preset number of latest times are determined to be the second terminal types. The preset number may be 2,4, etc.
In a second embodiment, a total weight of terminal types corresponding to each online service node is calculated, service nodes with total weights larger than an average weight value are determined, and a second terminal type is determined from the determined terminal types corresponding to the service nodes. The average weight value is an average value of total weights of terminal types corresponding to the online service nodes.
When there are service nodes with total weights greater than the average weight value, the number of service requests that the service node needs to respond to is larger than the number of service requests that other service nodes need to respond to, so that a larger load pressure is caused on the service node, therefore, the service node on the new line can share the load pressure that the service node may generate subsequently, so that the second terminal type can be determined from the terminal types corresponding to the service nodes with total weights greater than the average weight value, and is used as the terminal type corresponding to the first service node on the new line.
Specifically, the second terminal type may be determined from the terminal types according to the determined weight value of each terminal type corresponding to the service node. For example, the terminal type with the smallest weight value may be determined from the terminal types corresponding to the determined service nodes, or the terminal type with the largest weight value may be determined from the terminal types corresponding to the determined service nodes.
For example, assuming that each online service node is an SA and an SB, the type of terminal and the total weight corresponding to each online service node can be referred to in table 3.
TABLE 3 Table 3
As can be calculated from table 3, the average weight value= (12+6)/2=9, and it can be seen that the total weight 12 of SA is greater than the average weight value 9, so that the second terminal type is determined from the terminal types corresponding to SA, for example, the terminal type C2 with the largest weight value can be selected as the second terminal type.
After determining that the first terminal type is the terminal type corresponding to the first service node in step S404, the corresponding relationship between the first service node and the first terminal type needs to be sent to the first service node, the gateway server and the backup library. After determining that the second terminal type is the terminal type corresponding to the first service node in step S405, the corresponding relationship between the first service node and the first terminal type needs to be sent to the first service node, the gateway server and the backup library. It can be seen from the above procedure that after the correspondence is newly added, the correspondence needs to be sent to the first service node, the gateway server and the backup repository.
Based on the above, after the correspondence relation for the first service node is newly added, in one embodiment of the present invention, the management node sends the correspondence relation for the first service node to the first service node, the gateway server, and the backup repository, so that the first service node, the gateway server, and the backup repository store the correspondence relation.
The backup library is used for storing terminal types corresponding to the service nodes. The backup library may be Redis (Remote Dictionary Server, remote dictionary service), mysql (relational database management system), or the like.
Specifically, the corresponding relationship may be sequentially sent to the first service node, the gateway server and the backup repository according to a first preset sequence. The first preset sequence may be a sequence of first serving node, then gateway server, and finally backup library.
The above process is described below with reference to fig. 4 b.
After determining the newly added corresponding relation, the management node needs to perform health check on the service node and the terminal type in the newly added corresponding relation. The health check includes checking whether the service node is on line, and checking whether the terminal type is the terminal type corresponding to other service nodes. When the health check passes, the management node transmits the correspondence relation to the first service node.
And the first service node records the terminal type in the corresponding relation into a local cache (cache), and sends the operation result to the management node.
The management node synchronously waits for the operation result of the first service node, after the operation result of the first service node is obtained, whether the first service node stores the corresponding relation is determined, and if so, the corresponding relation is sent to the gateway server.
After the gateway server stores the corresponding relation successfully, the corresponding relation is written into Redis, and after the Redis is written successfully, the corresponding relation is stored locally.
In the step S405, the second terminal type is determined from the terminal types corresponding to the online service nodes, and the second terminal type is determined as the terminal type corresponding to the first service node, that is, the correspondence between the second terminal type and the online service node is cancelled in the existing correspondence, in which case, the cancelled correspondence needs to be notified to the online service node, the gateway server, and the backup library, so that the online service node, the gateway server, and the backup library delete the stored correspondence.
The original online service node refers to a service node originally corresponding to the second terminal type.
Specifically, the corresponding relationship may be sequentially sent to the original online service node, the gateway server and the backup library according to a second preset sequence. The second preset sequence may be a sequence of first the original online service node, then the gateway server, and finally the backup library.
The above process is described below with reference to fig. 4 c.
After the management node determines the cancelled corresponding relation, the first service node needs to be checked to judge whether the first service node is online, if so, the management node informs the service node of the original online service node of cancelling the second terminal type.
And after the original online service node cancels the local cache of the second terminal type, sending the operation result to the management node.
The management node synchronously waits for the operation result of the original online service node, after the operation result of the original online service node is obtained, the management node determines whether the original online service node successfully cancels the local cache of the second terminal type, and if so, the management node informs the gateway server of canceling the corresponding relationship.
After the gateway server successfully cancels the corresponding relation, the gateway server informs the Redis to cancel the corresponding relation, and after the Redis successfully cancels the corresponding relation, the gateway server locally cancels the corresponding relation.
After determining the correspondence between the online service node and the terminal type in step S302, there is a case that the service node is disconnected, and for the disconnected service node, the terminal type corresponding to the disconnected service node needs to be transferred to other online service nodes. Based on this, in one embodiment of the present invention, referring to fig. 5, a flowchart of a third correspondence determining method is provided.
Specifically, the embodiment shown in fig. 5 includes the following steps S501 to S503.
Step S501, determining an online service node.
Step S502, based on the weight corresponding to each terminal type, determining the terminal type corresponding to the online service node, and obtaining the corresponding relation between the terminal type and the online service node.
The weight corresponding to the terminal type characterizes the number of terminals of the terminal type.
The steps S501 to S502 are the same as the steps S301 to S302 in the embodiment shown in fig. 3, and are not described herein.
Step S503, if the second service node is detected, determining the service node corresponding to the third terminal type from the other online service nodes according to the weight of the third terminal type corresponding to the second service node and the weight of the terminal type corresponding to the other online service nodes except the second service node.
Specifically, the second service node that is offline may be detected in the following two ways:
In the first way, when the service node is about to be off-line, an off-line packet representing the off-line of the service node is sent to the management node so as to inform the management node of the state of the service node. Based on this, the management node may receive an offline packet characterizing the offline of the service node, determine the service node that sent the offline packet, as the second service node to be offline.
Specifically, the management node may parse the offline packet, determine a service node that sends the offline packet, and use the service node as the offline second service node.
In a second mode, a service node with the interval duration of sending the heartbeat packet exceeding the preset interval duration is determined and used as a second service node which is offline.
When the interval duration of sending the heartbeat packet exceeds the preset interval duration, the heartbeat packet is overtime, and when the heartbeat packet is overtime, the service node sending the heartbeat packet is in a offline state with high probability, so that the service node can be determined to be the offline second service node.
When the second service node is offline, the service node corresponding to the third terminal type needs to be redetermined. Specifically, the service node corresponding to the third terminal type may be determined according to the following two embodiments.
In the first embodiment, the total weight of the terminal types corresponding to each other online service node may be calculated, the service node with the minimum total weight of the target number may be determined, and the determined service nodes may be respectively determined as the service nodes corresponding to the third terminal type. The target number is the number of the third terminal types.
Specifically, the service nodes with the smallest total weight of the target number can be arranged according to the sequence from small to large, the third terminal types are arranged according to the sequence from small to large, and the service nodes corresponding to the third terminal types are determined to be the service nodes at the same position.
For example, the service nodes with the minimum target number of 3 and 3 total weights comprise S1, S2 and S3, the service nodes are arranged in order from small to large in total weights to obtain S1, S3 and S2, the third terminal types comprise Ca, cb and Cc, and the third terminal types are arranged in order from small to large in corresponding weights to obtain Ca, cb and Cc. For the third terminal type Ca, the service node at the same position as Ca is S1, so S1 is defined as the service node corresponding to Ca, for the third terminal type Cb, the service node at the same position as Cb is S2, so S2 is defined as the service node corresponding to Cb, and for the third terminal type Cc, the service node at the same position as Cc is S3, so S3 is defined as the service node corresponding to Cc.
In a second embodiment, the total weight of the terminal types corresponding to each other online service node is calculated, the service node with the smallest total weight is determined, and the determined service node is determined as the service node corresponding to the third terminal type.
For example, the foregoing example is followed, where the service node with the smallest total weight is S1, and S1 is determined as the service node corresponding to the third terminal type.
When the service node is offline, the service node is represented to have a fault in a large probability, and when the condition exists, the management node redetermines the corresponding service node for the third terminal type corresponding to the offline service node, so that the third terminal type is ensured to have the corresponding service node as far as possible even if the service node has the fault, and the terminal type corresponding to the fault service node is transferred under the condition of the service node fault, so that the service can be stably provided for the terminals of all the terminal types.
After determining the service node corresponding to the third terminal type in step S503, the management node sends the corresponding relationship between the first service node of the service node and the corresponding terminal type to the first service node, the gateway server and the backup repository, so that the first service node, the gateway server and the backup repository store the corresponding relationship. The backup library is used for storing terminal types corresponding to the service nodes. The backup library may be Redis, mysql, etc. The specific implementation process can be seen in the embodiment shown in fig. 4 b.
The service node is connected to the network in a network mode.
Assume that there are three online service nodes, A, B, C respectively.
According to the above-mentioned determining manner of determining the terminal types corresponding to the online service nodes in the embodiment shown in fig. 3, the terminal types corresponding to the three online service nodes are determined. This determination of the terminal type may be referred to as a first allocation scenario.
In the service node operation process, when the network disconnection A is abnormal, the network disconnection A is offline, the service cluster is offline, and under the condition, the following four scenes can appear:
If the first scene is that the preset duration after the A is offline is stored in the online service node D.
In the preset duration after the offline of a, the corresponding service node is not determined again for the terminal type a corresponding to a, where the terminal type a is a terminal type for which the corresponding relationship is not determined yet, and in this case, the terminal type a may be determined as the terminal type corresponding to D in the manner of the foregoing step S404.
And if the second scene is that the online service node does not exist in the preset time after the offline A.
In this case, the corresponding service node may be redetermined for the terminal type a corresponding to a in the manner of the aforementioned step S503.
In the second scenario, it is assumed that the service node corresponding to the terminal type a is determined to be B again, the B has a correspondence with the plurality of terminal types, and the determining time of the terminal type a is newer than the determining time of the other terminal types corresponding to B, in this case, if there is a newly online service node E, the terminal type a may be determined as the terminal type corresponding to E according to the determining manner of the second terminal type mentioned in the foregoing step S405.
The following describes a correspondence determining method provided in the embodiment of the present invention with reference to fig. 6.
Referring to fig. 6, a signaling interaction diagram of a correspondence determination method is provided. The service node and the management node are included in fig. 6.
The service node sends a heartbeat packet to the management node, the management node receives the heartbeat packet sent by the service node, judges whether a terminal type with undetermined corresponding relation exists or not under the condition that the heartbeat packet does not contain the terminal type corresponding to the service node, determines the terminal type as the terminal type corresponding to the newly-online service node if the terminal type exists, and determines the terminal type corresponding to the newly-online service node from the terminal types corresponding to the newly-online service nodes if the terminal type does not exist.
When the service node sends an offline packet to the management node, or the management node determines that the heartbeat packet of a certain service node is overtime, the management node determines the service node which is offline, and determines the terminal type corresponding to the service node which is offline from the terminal types corresponding to the service node which is online.
In one embodiment of the invention, the management node integrates various functional modules and has various different functions, such as a heartbeat detection function, a service node monitoring function, a correspondence determination function and the like. As shown in fig. 7a, fig. 7a illustrates various functional modules that the management node has. The second layer in fig. 7a includes a terminal type management module, an online service node management module, a correspondence determination module, and a service node monitoring and failover module.
The terminal type management module is used for recording various terminal types and information of the terminals of the various terminal types. Under this module, a plurality of functional sub-modules, such as a terminal type increasing sub-module, a terminal type decreasing sub-module, a terminal type recording sub-module, etc., may be included.
And the online service node management module is used for managing all online service nodes.
And the corresponding relation determining module is used for determining the corresponding relation between the online service node and the terminal type. Under this module, a plurality of functional sub-modules, such as a cancel correspondence sub-module, a correspondence record sub-module, and the like, may be included.
And the service node monitoring and fault transfer module is used for monitoring, heartbeat detection, abnormal alarm and the like for each service node.
The above-described abnormality alarm may be triggered by at least the following two different conditions.
In the first case, when the management node detects that the types of the terminals corresponding to different service nodes are the same, an abnormal alarm function is triggered, and abnormal alarm is carried out according to the first case.
And in the second case, when the management node detects that the terminal type corresponding to the terminal type reported by the service node is different from the terminal type corresponding to the service node stored in the backup library, triggering an abnormal alarm function, and carrying out abnormal alarm on the condition.
Because the management node has the functions, compared with other management nodes, the management node has more comprehensive and rich functions, thereby effectively managing each service node and enabling each service node to stably and reliably provide stateful service.
In one embodiment of the present invention, the service node may integrate a client module corresponding to the management node, and the service node may send information, such as sending a heartbeat packet, an offline packet, etc., to the management node through the client module.
FIG. 7b shows an interaction block diagram of interactions between a management node and a service node. In fig. 7b, a service node sends a heartbeat packet to a management node through an integrated client module, the management node receives the heartbeat packet sent by the service node, detects the heartbeat packet, determines online service nodes based on the received heartbeat packet, monitors the online service nodes, determines corresponding relations between the online service nodes and terminal types, and determines the terminal type corresponding to the service node based on the corresponding relations when the received heartbeat packet does not contain the terminal type corresponding to the service node.
The management node locally stores information of various terminal types, including the identification of the terminal type and the weight corresponding to the terminal type, stores information of various online service nodes, and stores information of terminal types with undetermined corresponding relations. And the management node determines the terminal type corresponding to the service node based on the locally stored information.
The embodiment of the present invention further provides an electronic device, as shown in fig. 8, including a processor 801, a communication interface 802, a memory 803, and a communication bus 804, where the processor 801, the communication interface 802, and the memory 803 complete communication with each other through the communication bus 804,
A memory 803 for storing a computer program;
the processor 801, when executing the program stored in the memory 803, implements the following steps:
receiving a service request sent by a terminal and used for requesting stateful services;
determining a target service node responding to the service request from the online service nodes according to the corresponding relation between the preset terminal type and the online service nodes and the type of the terminal;
the service request is forwarded to the target service node such that the target service node responds to the service request.
The communication bus mentioned above for the electronic device may be a peripheral component interconnect standard (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the electronic device and other devices.
The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The Processor may be a general-purpose Processor including a central processing unit (Central Processing Unit, CPU), a network Processor (Network Processor, NP), etc., or may be a digital signal Processor (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components.
In yet another embodiment of the present invention, there is also provided a computer-readable storage medium having stored therein a computer program which, when executed by a processor, implements the steps of the service providing method described above.
In yet another embodiment of the present invention, a computer program product containing instructions that, when run on a computer, cause the computer to perform the above-described service providing method is also provided.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk Solid STATE DISK (SSD)), etc.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, 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 an element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the electronic device, since it is substantially similar to the method embodiment, the description is relatively simple, and reference is made to the partial description of the method embodiment for relevant points.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (10)

1. A service providing method, applied to a management node in a service cluster, where the service cluster further includes a plurality of service nodes, the method comprising:
receiving a service request sent by a terminal and used for requesting stateful services;
Determining a target service node responding to the service request from online service nodes according to the corresponding relation between the preset terminal type and the online service nodes and the type of the terminal;
Forwarding the service request to the target service node so that the target service node responds to the service request;
the method further comprises the steps of:
if the second service node which is offline is detected, judging whether a new service node which is online exists in a preset time length;
If a newly-online service node exists in the preset time length, taking the third terminal type corresponding to the second service node as the terminal type corresponding to the newly-online service node;
If no newly online service node exists in the preset time period, determining the service node corresponding to the third terminal type from the other online service nodes according to the weight of the third terminal type corresponding to the second service node and the weight of the terminal types corresponding to the other online service nodes except the second service node;
in case that the determined service node has a correspondence with a plurality of terminal types and the determined time of the third terminal type is later than the determined time of the other terminal types corresponding to the determined service node, and if the third service node on the new line is detected, determining the third terminal type as the terminal type corresponding to the third service node on the new line.
2. The method according to claim 1, characterized in that the correspondence between the terminal type and the online service node is determined in the following way:
determining an online service node;
And determining the terminal type corresponding to the online service node based on the weight corresponding to each terminal type to obtain the corresponding relation between the terminal type and the online service node, wherein the weight corresponding to the terminal type represents the number of terminals of the terminal type.
3. The method according to claim 2, wherein the method further comprises:
if a first service node on the new line is detected, judging whether a first terminal type with undetermined corresponding relation exists or not;
if the first terminal type exists, determining the first terminal type as the terminal type corresponding to the first service node;
And if the terminal type does not exist, determining a second terminal type from the terminal types corresponding to the online service nodes, and taking the second terminal type as the terminal type corresponding to the first service node.
4. A method according to claim 3, wherein said determining a second terminal type from terminal types corresponding to respective online service nodes comprises:
And determining a second terminal type from the terminal types corresponding to the online service nodes based on the determination moment of determining the terminal type corresponding to the online service node.
5. The method according to claim 4, wherein the determining time based on determining the terminal type corresponding to the online service node includes:
determining the latest moment from the determined moments of the terminal types corresponding to the online service nodes;
And determining the terminal type determined by the latest moment as a second terminal type.
6. A method according to claim 3, characterized in that the first service node that is newly on-line is detected in the following way:
Receiving a heartbeat packet of a service node;
and if the heartbeat packet does not contain the terminal type corresponding to the service node, determining that the service node is the first service node on the new line.
7. The method according to claim 1, wherein the determining, from the other online service nodes, the service node corresponding to the third terminal type according to the weight of the third terminal type corresponding to the second service node and the weight of the terminal type corresponding to the other online service nodes except the second service node includes:
calculating the total weight of the terminal types corresponding to each other online service node;
determining a service node with the minimum total weight of a target number, wherein the target number is the number of the third terminal types;
And respectively determining the determined service nodes as the service nodes corresponding to the third terminal type.
8. The method according to claim 1, characterized in that the second service node down-line is detected in the following way:
Receiving an offline packet representing the offline of a service node, and determining the service node sending the offline packet as a second offline service node;
Or (b)
And determining the service node with the interval duration of sending the heartbeat packet exceeding the preset interval duration as the second service node which is offline.
9. The method according to any one of claims 1-8, wherein the terminal type is a train type of a vehicle.
10. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
A processor for carrying out the method steps of any one of claims 1-9 when executing a program stored on a memory.
CN202111387156.6A 2021-11-22 2021-11-22 Service providing method and electronic equipment Active CN114090293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111387156.6A CN114090293B (en) 2021-11-22 2021-11-22 Service providing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111387156.6A CN114090293B (en) 2021-11-22 2021-11-22 Service providing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN114090293A CN114090293A (en) 2022-02-25
CN114090293B true CN114090293B (en) 2024-11-29

Family

ID=80302813

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111387156.6A Active CN114090293B (en) 2021-11-22 2021-11-22 Service providing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN114090293B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117336213B (en) * 2023-12-01 2024-02-27 四川才子软件信息网络有限公司 Subsystem monitoring method, system and equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111567010A (en) * 2017-12-22 2020-08-21 普络西思Opc有限公司 Method, system and computer program product for managing OPC UA server capacity

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003105004A1 (en) * 2002-06-06 2003-12-18 Crescendo Networks Ltd. System and method for connecting multiple slow connections to multiple fast connections
CN101635635B (en) * 2009-08-25 2011-12-07 北京原力创新科技有限公司 Cloud mode streaming media service platform
US9054943B2 (en) * 2009-12-23 2015-06-09 Citrix Systems, Inc. Systems and methods for mixed mode handling of IPv6 and IPv4 traffic by a virtual server
CN108667913B (en) * 2018-04-23 2021-08-17 广州热点软件科技股份有限公司 Method, device, computer equipment and storage medium for access management of shared terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111567010A (en) * 2017-12-22 2020-08-21 普络西思Opc有限公司 Method, system and computer program product for managing OPC UA server capacity

Also Published As

Publication number Publication date
CN114090293A (en) 2022-02-25

Similar Documents

Publication Publication Date Title
CN110213068B (en) Message middleware monitoring method and related equipment
CN113190423B (en) Method, device and system for monitoring service data
CN110851311A (en) Service failure identification method, device, equipment and storage medium
CN106502874A (en) A kind of call chain tracking
CN112965879A (en) Data processing method and device, electronic equipment and readable storage medium
CN110275815A (en) A system abnormal alarm processing method and device
CN114090293B (en) Service providing method and electronic equipment
CN114138522A (en) Micro-service fault recovery method and device, electronic equipment and medium
CN112148508B (en) Information processing method and related device
US20140200041A1 (en) Evaluation of overall performance of interactive application service
CN112737945B (en) Server connection control method and device
CN115103007A (en) Distributed cloud-based service discovery method, device and readable storage medium
CN114598622A (en) Data monitoring method and device, storage medium and computer equipment
CN109510730A (en) Distributed system and its monitoring method, device, electronic equipment and storage medium
CN115037653B (en) Service flow monitoring method, device, electronic equipment and storage medium
CN111708689B (en) Method and device for modifying AB experiment and electronic equipment
US11153769B2 (en) Network fault discovery
CN115150253B (en) Fault root cause determining method and device and electronic equipment
CN108234658B (en) Method and device for sensing health condition of server cluster and server
CN115277362A (en) Fault diagnosis method, fault diagnosis device, electronic equipment and computer readable medium
CN113965447B (en) Online cloud diagnosis method, device, system, equipment and storage medium
CN111506446B (en) Interface fault detection method and server
CN115333917A (en) CDN anomaly detection method and device
CN111681397A (en) Distribution network automation short message sending method, sending system and storage medium
CN116263696A (en) Machine room task notification processing method, device and task notification processing system

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220322

Address after: 430051 No. b1336, chuanggu startup area, taizihu cultural Digital Creative Industry Park, No. 18, Shenlong Avenue, Wuhan Economic and Technological Development Zone, Hubei Province

Applicant after: Yikatong (Hubei) Technology Co.,Ltd.

Address before: 430056 building B (qdxx-f7b), No.7 building, qiedixiexin science and Technology Innovation Park, South taizihu innovation Valley, Wuhan Economic and Technological Development Zone, Hubei Province

Applicant before: HUBEI ECARX TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant