Distributed application system

By dividing the application software into multiple sub-function software and recording the service address in the cluster center, the problem of low functional service stability under a single application architecture is solved, and the stability and efficiency of the distributed application system are achieved.

CN119065890APending Publication Date: 2024-12-03XIAN QINGSONG PHOTOELECTRIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310609796.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-26
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

Existing applications are based on a single application architecture, which causes the application to fail to provide services stably when functional modules are abnormal, and the stability of functional services is low.

Method used

Using a distributed application system, through the cluster center and multiple clients, the application software is divided into multiple sub-function software, and the service addresses of each sub-function software are recorded in the cluster center, and the appropriate service addresses are determined based on service requests and load conditions. Ensure that functional services are still available in abnormal situations.

Benefits of technology

It effectively improves the stability of the application's functional services, ensures that the sub-function software can still provide services normally when there are abnormalities, reduces the risk of application crashes, and improves the processing efficiency of service calls.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065890A_ABST
    Figure CN119065890A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a distributed application system. According to the technical scheme provided by the embodiment of the invention, the application software is divided into multiple pieces of sub-function software according to different sub-functions, and the sub-function software is installed in the first client, so that the second client can send the service request to the cluster center; the cluster center determines a second service address corresponding to the service request in the recorded first service address and sends the second service address to the second client, the second client can request a sub-function service from the corresponding sub-function software based on the received second service address, and each sub-function can correspond to one or more pieces of sub-function software. According to the method, corresponding sub-function services can be provided based on different first service addresses, when one piece of sub-function software is abnormal, other sub-function software can still provide the same sub-function service, it is effectively guaranteed that the application program stably provides various functions, and the stability of providing the function services by the application program is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular, to a distributed application system. Background Art

[0002] With the continuous development of computer technology, the functions that applications can provide are becoming more and more abundant. At present, applications are generally single application architectures, that is, various functions are integrated into one application, and the client can realize multiple functions by running the application.

[0003] Since the application is built based on a single application architecture, all functions of the application are integrated together. When an exception occurs in a functional module in the application, most of the functions of the application will not be able to provide services normally, and the application will not be able to stably provide all the functions it has. The stability of the functional services provided by the application is low. Summary of the invention

[0004] The embodiment of the present application provides a distributed application system to solve the technical problem in the related technology that the application program cannot stably provide the various functions it possesses and the stability of the functional services provided by the application program is low, effectively ensure that the application program stably provides the various functions it possesses and improve the stability of the functional services provided by the application program.

[0005] In a first aspect, an embodiment of the present application provides a distributed application system, including a cluster center, a plurality of first clients and a second client, wherein the plurality of first clients and the second clients are communicatively connected to the cluster center, wherein:

[0006] The first client is installed with a plurality of sub-function software, wherein the sub-function software is obtained based on different sub-functions of the application software, wherein each sub-function corresponds to one or more sub-function software;

[0007] The cluster center records the first service addresses corresponding to the sub-function software. When receiving a service request from the second client, the cluster center determines the second service address corresponding to the service request from the recorded first service addresses, and sends the second service address to the second client.

[0008] The second client is used to send a service request to the cluster center based on the sub-function service that needs to be called, and to request the corresponding sub-function service from the sub-function software based on the second service address provided by the cluster center.

[0009] Optionally, the sub-function software includes key sub-function software, and a plurality of the key sub-function software are installed in the same first client, or a plurality of the first clients are installed with the key sub-function software.

[0010] Optionally, when starting the sub-function software, the first client registers the first service address corresponding to the sub-function software with the cluster center.

[0011] Optionally, the cluster center determines the second service address corresponding to the second service request from each of the recorded first service addresses in the following manner:

[0012] If there is a first service address that satisfies the service request among the first service addresses recorded, determining the first service address as the second service address corresponding to the second service request;

[0013] When there are multiple first service addresses satisfying the service request among the recorded first service addresses, a second service address corresponding to the second service request is determined from the multiple first service addresses based on a load balancing calling method.

[0014] Optionally, the cluster center determines the second service address corresponding to the second service request from the plurality of first service addresses based on a load balancing calling method in the following manner:

[0015] Determine the client load and / or sub-function service load corresponding to each first service address that satisfies the service request based on the load balancing calling mode;

[0016] Based on the client load condition and / or the sub-function service load condition, determine a second service address corresponding to the second service request from multiple first service addresses.

[0017] Optionally, the client load situation and / or the sub-function service load situation corresponding to the first service address is determined based on the number of service requests received by the first client and / or the sub-function software.

[0018] Optionally, when the cluster center detects abnormal sub-function software, the cluster center removes the first service address corresponding to the sub-function software.

[0019] Optionally, when the cluster center receives a service request from the second client and the first service address of the corresponding sub-function service is not recorded, it notifies the first client on which the corresponding sub-function software is installed to start the sub-function software, and based on the first service address corresponding to the sub-function software started by the first client, sends the second service address to the second client.

[0020] Optionally, the cluster center notifies the first client having the corresponding sub-function software installed to start the sub-function software in the following manner:

[0021] Each first client having the corresponding sub-function software installed is notified by broadcasting to start the sub-function software.

[0022] Optionally, the second client requests the corresponding sub-function service from the sub-function software based on the second service address provided by the cluster center in the following manner:

[0023] Establishing a communication connection with the corresponding sub-function software based on the second service address provided by the cluster center;

[0024] A corresponding sub-function service is requested from the sub-function software based on the communication connection established with the sub-function software.

[0025] The embodiment of the present application divides the application software into multiple sub-function software according to different sub-functions, and installs the sub-function software into the first client. The second client can send a service request to the cluster center, and the cluster center determines the second service address corresponding to the service request from the recorded first service address and sends it to the second client. The second client can request the sub-function service from the corresponding sub-function software based on the received second service address, and each sub-function can correspond to one or more sub-function software. At this time, there are sub-functions corresponding to multiple first service addresses, and corresponding sub-function services can be provided based on different first service addresses. When one of the sub-function software has an abnormality, the same sub-function service can still be provided by other sub-function software, effectively ensuring that the application program can stably provide various functions and improving the stability of the application program in providing functional services. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a structural block diagram of a distributed application system provided by an embodiment of the present application;

[0027] Figure 2 This is a schematic diagram of a second service address determination process provided by an embodiment of the present application;

[0028] Figure 3 The present invention is a schematic diagram of a flow chart of determining a second service address based on a load balancing calling method. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical scheme and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for the convenience of description, only the part related to the present application but not all the contents are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow chart describes each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. The above process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The above process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc. In the description of the embodiments of the present application, unless otherwise clearly specified and limited, the terms "connected", "connected", and "fixed" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0030] Figure 1 A structural block diagram of a distributed application system provided in an embodiment of the present application is given, referring to Figure 1 , the distributed application system includes a cluster center 1, a plurality of first clients 2 and a second client 3, and the plurality of first clients 2 and the second client 3 are connected to the cluster center 1 in communication. Optionally, the cluster center 1, the plurality of first clients 2 and the second client 3 provided in this solution can be built based on the same or different terminal devices, wherein the first client 2 can be understood as a client running the sub-function software and providing the corresponding sub-function service, and the second client 3 can be understood as a client that needs to call the corresponding sub-function service based on the service address of the sub-function software. It can be understood that the same client can provide sub-function services as the first client 2 and request sub-function services as the second client 3.

[0031] The first client 2 provided by the present solution is installed with a plurality of sub-function software, and these sub-function software are obtained based on the different sub-functions of the application software. It needs to be explained that the application software provided by the present solution can be built based on a single application architecture, and multiple sub-functions are integrated in the application software. The present solution splits the application software into a plurality of sub-function software according to the different sub-functions provided by the software application, and installs these sub-function software in the first client 2. The first client 2 can independently run each sub-function software, and realize the distributed arrangement of the application software on the distributed application system.

[0032] Among them, each sub-function provided by this solution may correspond to one or more sub-function software. Each sub-function may install multiple sub-function software in a first client 2, for example, multiple sub-function software for providing the sub-function may be backed up in the same first client 2, and these sub-function software may be independent of each other. When one of the sub-function software in the first client 2 is abnormal or crashes, it does not affect the operation of other sub-function software of the same sub-function in the same first client 2. In addition, each sub-function may also have one or more sub-function software installed in different first clients 2, and the sub-function software running on different first clients 2 may be independent of each other. When one of the first clients 2 is abnormal or crashes, the same sub-function service may still be provided by the sub-function software running on other first clients 2. Optionally, the sub-function software may be configured to coexist on the same client, and the first client 2 may simultaneously pass multiple sub-function software providing the same sub-function service.

[0033] Optionally, for important or core sub-functions in the application, multiple sub-function software may be installed in one first client 2, and / or one or more sub-function software may be installed in multiple first clients 2. Based on this, in a possible embodiment, the sub-function software provided by this solution includes key sub-function software, and multiple key sub-function software may be installed in the same first client 2, or multiple first clients 2 may all have key sub-function software installed. Among them, the key sub-function software provided by this solution may be used to provide important or core sub-function services in the application software. For a key sub-function, multiple key sub-function software providing the same key sub-function service may be installed in one first client 2, in which case one first client 2 may provide multiple key sub-function services through multiple key sub-function software at the same time. Alternatively, one or more key sub-function software providing the same key sub-function service may be installed in multiple first clients 2, in which case the distributed application system may provide multiple identical key sub-function services through one or more first clients 2.

[0034] Optionally, different sub-function software distribution methods may be adopted according to the importance of different sub-functions, and the higher the importance of the sub-function, the more sub-function software is deployed and / or the more locations are deployed. For example, the sub-functions are divided into the first level, the second level and the third level with increasing importance, and the sub-function software of the first level can be installed in only one first client 2, the sub-function software of the second level can be installed in multiple first clients 2, or one sub-function software is installed in multiple first clients 2 respectively, and the sub-function software of the third level can be installed in multiple first clients 2, and each first client 2 installs one or more sub-function software of the same sub-function.

[0035] like Figure 1 As shown, five first clients 2 (first clients S1-S5) are illustrated, wherein sub-function software A is installed in the first client S1 and the first client S2, sub-function software B is installed in the first client S3, three sub-function software C providing the same sub-functions are installed in the first client S4, and two sub-function software C providing the same sub-functions are installed in the first client S5.

[0036] This solution copies the key sub-function software into multiple pieces and installs them in the first client 2, and / or installs the key sub-function software in multiple first clients 2. When one of the key sub-function software is abnormal or crashes, other key sub-function software can still provide the corresponding key sub-function service, thereby ensuring that the second client 3 can call the key sub-function service normally.

[0037] In one embodiment, the cluster center 1 provided by the present solution can be a background service running on a distributed application system, such as a background service built on an Android system, which can provide a netty-based TCP service and establish a communication connection with a first client 2 and a second client 3, and can be used to receive a first service address registered by an application in the first client 2, receive a service request from the second client 3, and send a service address to the second client 3.

[0038] The cluster center 1 records the first service addresses corresponding to each sub-function software and the sub-function services that can be provided by the sub-function software corresponding to each first service address. When the second client 3 needs to call a sub-function service, it can send a service request to the cluster center 1 based on the sub-function service that needs to be called. When the cluster center 1 receives the service request sent by the second client 3, it can determine the second service address corresponding to the service request from the recorded first service addresses based on the sub-function service that needs to be called by the service request, and send the determined second service address to the second client 3.

[0039] In one possible embodiment, Figure 2As shown in a schematic diagram of a second service address determination process, the cluster center 1 provided in this solution can determine the second service address corresponding to the second service request from each recorded first service address in the following manner:

[0040] S110: When there is a first service address that satisfies the service request among the recorded first service addresses, determine the first service address as the second service address corresponding to the second service request.

[0041] S120: When there are multiple first service addresses satisfying the service request among the recorded first service addresses, determine a second service address corresponding to the second service request from the multiple first service addresses based on a load balancing calling method.

[0042] Exemplarily, when the cluster center 1 receives the service request sent by the second client 3, it searches for a first service address that can provide a sub-function service for the service request among the recorded first service addresses. When there is only one first service address that satisfies the service request among the first service addresses recorded by the cluster center 1, the first service address can be directly determined as the second service address corresponding to the second service request and returned to the second client 3.

[0043] When there are multiple first service addresses satisfying the service request among the recorded first service addresses, a second service address corresponding to the second service request is determined from the multiple first service addresses satisfying the service request based on a preset balanced load calling method, and the second service address is returned to the second client 3. The balanced load calling method is used to reduce the situation where the same service request calls the same sub-function service to complete when there are multiple first service addresses satisfying the service request. When there are multiple available first service addresses, the service requests can be evenly distributed to the corresponding sub-function software for completion according to the number of service requests, thereby reducing the service pressure of each second client 3. This solution directly returns the second service address when there is only one first service address satisfying the service request, and determines the second service address based on the balanced load calling method when there are multiple first service addresses satisfying the service request. While ensuring the service request response efficiency, it balances the processing pressure of each second client 3 in processing the sub-function service request, thereby improving the processing efficiency of the service call.

[0044] In one possible embodiment, Figure 3 As shown in the schematic diagram of a second service address determination process based on a load balancing calling method, the cluster center 1 provided in this solution can determine the second service address corresponding to the second service request from multiple first service addresses based on the load balancing calling method in the following manner:

[0045] S121: Based on the load balancing calling mode, determine the client load conditions and / or sub-function service load conditions corresponding to each first service address that satisfies the service request.

[0046] S122: Based on the client load condition and / or the sub-function service load condition, determine a second service address corresponding to the second service request from multiple first service addresses.

[0047] Exemplarily, when there are multiple first service addresses that satisfy the service request among the recorded first service addresses, the client load status and / or sub-function service load status corresponding to each first service address that satisfies the service request is determined based on the load balancing calling method, wherein the client load status can be used to indicate the current processing pressure of the second client 3 on the service request, and the sub-function service load status can be used to indicate the current processing pressure of the sub-function software on the service request.

[0048] In one embodiment, the client load condition and / or sub-function service load condition corresponding to the first service address can be determined based on the number of service requests received by the first client 2 and / or the sub-function software. For example, the first client 2 and / or the sub-function software synchronizes the number of service requests (sub-function service requests) received and processed to the cluster center 1 in real time, and the cluster center 1 can determine the client load condition and / or sub-function service load condition in real time based on the current number of service requests of the first client 2 and / or the sub-function software. This solution accurately and evenly distributes service requests to different sub-function software by accurately determining the client load condition and / or sub-function service load condition based on the number of service requests, thereby improving the service call processing efficiency.

[0049] Furthermore, according to the client load situation and / or the sub-function service load situation, multiple first service addresses that meet the service request are sorted, and the first service address with the smallest load pressure reflected by the load situation is determined as the second service address corresponding to the second service request. This solution accurately and evenly distributes service requests to different sub-function software by determining the second service address according to the client load situation and / or the sub-function service load situation, thereby improving the service call processing efficiency.

[0050] In a possible embodiment, when the cluster center 1 provided by the present solution receives a service request from the second client 3 and the first service address of the corresponding sub-function service is not recorded, the cluster center 1 notifies the first client 2 on which the corresponding sub-function software is installed to start the sub-function software, and based on the first service address corresponding to the sub-function software started by the first client 2, sends the second service address to the second client 3.

[0051] Exemplarily, after receiving the service request sent by the second client 3, the cluster center 1 searches whether there is a record of the first service address providing the corresponding sub-function service. If there is a first service address providing the corresponding sub-function service, one of the first service addresses is used as the second service address and returned to the second client 3. If there is no first service address providing the corresponding sub-function service, the sub-function software is started for the first client 2 currently connected online and installed with the corresponding sub-function software, and the first service address corresponding to the sub-function software is obtained. The corresponding first service address can be used as the second service address and returned to the second client 3. Optionally, when multiple second clients 3 start the sub-function software providing the corresponding sub-function service and return the first service address, one of the first service addresses can be used as the second service address and returned to the second client 3. In this solution, when the first service address providing the sub-function service required by the second client 3 is not found, the first client 2 installed with the corresponding sub-function software is notified to start the corresponding sub-function software, so as to obtain the corresponding first service address in time, so as to ensure that the second client 3 calls the corresponding sub-function service in time, and effectively improve the function calling efficiency.

[0052] Optionally, the cluster center 1 notifies the first client 2 installed with the corresponding sub-function software to start the corresponding sub-function software. The sub-function software installed by each first client 2 may be pre-recorded and synchronized in the cluster center 1, and the corresponding first client 2 may be determined and notified to start the sub-function software based on the record. The cluster center 1 notifies the first client 2 to start the sub-function software, or it may notify each first client 2 installed with the corresponding sub-function software to start the sub-function software by broadcasting. When each first client 2 receives the notification of starting the sub-function software corresponding to the sub-function service broadcasted by the cluster center 1, it detects whether it has installed the corresponding sub-function software. If so, it starts the corresponding sub-function software and feeds back the corresponding first service address to the cluster center 1. This solution notifies each first client 2 to start the required sub-function software by broadcasting, and obtains the corresponding first service address, so as to ensure that the second client 3 calls the corresponding sub-function service in time, and effectively improves the function calling efficiency.

[0053] In a possible embodiment, the first client 2 provided by this solution registers the first service address corresponding to the sub-function software with the cluster center 1 when starting the sub-function software. For example, when each sub-function software is started, the first client 2 (the operating system of the first client 2) can allocate the corresponding first service address (such as an IP address) to the sub-function software, and other clients can request the sub-function software to provide the corresponding sub-function service based on the first service address. At the same time, the first client 2 registers the first service address corresponding to the sub-function software with the cluster center 1, and the cluster center 1 can record the first service address and the corresponding sub-function service. This solution allows the first client 2 to register the first service address of the sub-function software with the cluster center 1 when starting the sub-function software, so that the cluster center 1 can record the currently available sub-function services and the corresponding first service addresses in real time, and can facilitate the timely and effective calling of appropriate sub-function software for the second client 3, thereby improving the efficiency and flexibility of function calling.

[0054] In a possible embodiment, the cluster center 1 provided by the present solution removes the first service address corresponding to the sub-function software when an abnormal sub-function software is detected. Exemplarily, the cluster center 1 monitors the running status of the sub-function software that records the first service address in real time, and removes the first service address of the sub-function software when an abnormality or crash is detected in the sub-function software, so as to ensure that the second client 3 can obtain the correct and available second service address, and ensure the availability of the sub-function service. At the same time, for key sub-function software, multiple sub-function software that implements the corresponding sub-function service can be run in the first client 2, and the sub-function software corresponding to the sub-function service can also be run in multiple first clients 2 respectively. When one of the sub-function services is abnormal or crashes, the sub-function service can still be provided by other sub-function software to ensure the normal operation of the program. Even if one of the sub-function services is abnormal or crashes, it will not affect the overall function, and effectively improve the function call efficiency.

[0055] The second client 3 provided in this solution can be used to send a service request to the cluster center 1 based on the sub-function service that needs to be called, and receive the second service address provided by the cluster center 1, and request the corresponding sub-function service from the sub-function software based on the second service address provided by the cluster center 1. For example, the second client 3 establishes a communication connection with the sub-function software running in the corresponding first client 2 based on the second service address, and requests the sub-function software to call the corresponding sub-function service. When the sub-function software receives the service call request sent by the second client 3, it analyzes and processes the data provided by the second client 3 based on the set sub-function processing logic and returns the corresponding sub-function processing result to the second client 3.

[0056] In a possible embodiment, the second client 3 provided by the present solution requests the corresponding sub-function service from the sub-function software based on the second service address provided by the cluster center 1 in the following manner: establishing a communication connection with the corresponding sub-function software based on the second service address provided by the cluster center 1; and requesting the corresponding sub-function service from the sub-function software based on the communication connection established with the sub-function software.

[0057] Exemplarily, after receiving the second service address provided by the cluster center 1, the second client 3 establishes a communication connection (e.g., establishes a TCP connection) with the sub-function software corresponding to the second service address, and after successfully establishing the communication connection, it can request the corresponding sub-function service from the sub-function software based on the communication connection established with the sub-function software. The sub-function software can perform corresponding data processing in response to the sub-function service request of the second client 3 and obtain the sub-function processing result, and return the corresponding sub-function processing result to the second client 3 based on the communication connection. The second client 3 provided in this solution establishes a communication connection with the sub-function software based on the second service address, and can correctly request the corresponding sub-function service, thereby ensuring the normal call of the service.

[0058] As described above, by dividing the application software into multiple sub-function software according to different sub-functions, and installing the sub-function software into the first client 2, the second client 3 can send a service request to the cluster center 1, and the cluster center 1 determines the second service address corresponding to the service request in the recorded first service address and sends it to the second client 3. The second client 3 can request the sub-function service from the corresponding sub-function software based on the received second service address, and each sub-function can correspond to one or more sub-function software. At this time, there are sub-functions corresponding to multiple first service addresses, and the corresponding sub-function services can be provided based on different first service addresses. When one of the sub-function software is abnormal, the same sub-function service can still be provided by other sub-function software, effectively ensuring that the application program stably provides various functions and improving the stability of the application program in providing functional services. In addition, through clear functional division between different sub-function software, the coupling of application development can be effectively reduced, and the efficiency of application development can be improved. The functional division of different sub-function programs is clear, and the iterative update of the application is faster and more efficient. And by using a distributed method to arrange each sub-function software, each sub-function software can be applied independently, effectively reducing the risk of application crash.

[0059] The above are only preferred embodiments of the present application and the technical principles used. The present application is not limited to the specific embodiments provided herein, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not deviate from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the claims.

Claims

1. A distributed application system, characterized in that: The system comprises a cluster center, a plurality of first clients and a second client, wherein the plurality of first clients and the second clients are communicatively connected with the cluster center, wherein: The first client is installed with a plurality of sub-function software, wherein the sub-function software is obtained based on different sub-functions of the application software, wherein each sub-function corresponds to one or more sub-function software; The cluster center records the first service addresses corresponding to the sub-function software. When receiving a service request from the second client, the cluster center determines the second service address corresponding to the service request from the recorded first service addresses, and sends the second service address to the second client. The second client is used to send a service request to the cluster center based on the sub-function service that needs to be called, and to request the corresponding sub-function service from the sub-function software based on the second service address provided by the cluster center.

2. The distributed application system according to claim 1, characterized in that: The sub-function software includes key sub-function software, and a plurality of the key sub-function software are installed in the same first client, or a plurality of the first clients are installed with the key sub-function software.

3. The distributed application system according to claim 1, characterized in that: When starting the sub-function software, the first client registers the first service address corresponding to the sub-function software with the cluster center.

4. The distributed application system according to claim 1, characterized in that: The cluster center determines the second service address corresponding to the second service request from each of the recorded first service addresses in the following manner: If there is a first service address that satisfies the service request among the first service addresses recorded, determining the first service address as the second service address corresponding to the second service request; When there are multiple first service addresses satisfying the service request among the recorded first service addresses, a second service address corresponding to the second service request is determined from the multiple first service addresses based on a load balancing calling method.

5. The distributed application system according to claim 4, characterized in that: The cluster center determines the second service address corresponding to the second service request from the plurality of first service addresses based on a load balancing calling method in the following manner: Determine the client load and / or sub-function service load corresponding to each first service address that satisfies the service request based on the load balancing calling mode; Based on the client load condition and / or the sub-function service load condition, determine a second service address corresponding to the second service request from multiple first service addresses.

6. The distributed application system according to claim 5, characterized in that: The client load situation and / or the sub-function service load situation corresponding to the first service address are determined based on the number of service requests received by the first client and / or the sub-function software.

7. The distributed application system according to claim 1, characterized in that: When detecting abnormal sub-function software, the cluster center removes the first service address corresponding to the sub-function software.

8. The distributed application system according to claim 1, characterized in that: When the cluster center receives the service request sent by the second client and the first service address of the corresponding sub-function service is not recorded, it notifies the first client on which the corresponding sub-function software is installed to start the sub-function software, and based on the first service address corresponding to the sub-function software started by the first client, sends the second service address to the second client.

9. The distributed application system according to claim 8, characterized in that: The cluster center notifies the first client having the corresponding sub-function software installed to start the sub-function software in the following manner: Each first client having the corresponding sub-function software installed is notified by broadcasting to start the sub-function software.

10. The distributed application system according to claim 1, characterized in that: The second client requests the corresponding sub-function service from the sub-function software based on the second service address provided by the cluster center in the following manner: Establishing a communication connection with the corresponding sub-function software based on the second service address provided by the cluster center; A corresponding sub-function service is requested from the sub-function software based on the communication connection established with the sub-function software.