A data acquisition method, server and related system
Through the server cluster and master selection mechanism, the single point problem when a single machine receives data is solved, ensuring timely acquisition and processing of data in the event of failure, avoiding data loss, and achieving data reliability and real-time performance.
Patent Information
- Application Number
- CN201910267904.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-04-03
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2039-04-03
AI Technical Summary
In the existing technology, when a single machine serves as a client to receive a full amount of data, a single point problem is likely to occur, resulting in machine downtime or network failure leading to data loss.
Using the server cluster method, the unique client task is determined as the main process through the main selection mechanism, connects to the third-party server to obtain data, and monitors the process status in real time during the data processing process to ensure that only one process processes data to avoid data loss.
Through the server cluster and master selection mechanism, single point problems are avoided, ensuring that when the machine is down or the network fails, it can be discovered and switched in time, ensuring the acquisition of real-time data and preventing data loss.
Smart Images

Figure CN111782412B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a data acquisition method, a server and a related system. Background Art
[0002] In the prior art, there are generally two ways for a navigation service provider that provides navigation services to obtain data (such as real-time bus data, real-time traffic flow data, etc.) from a data provider's server (also called a third-party server). Taking real-time bus data as an example, one is that the navigation service provider itself acts as a server, and the real-time bus data provider acts as a client to receive data sent by the client; the other is that the navigation service provider itself acts as a client, and the real-time bus data provider acts as a server, and the navigation service provider actively connects to the server to receive data.
[0003] Among them, in the latter method, that is, when receiving data as a client, since the server will synchronize a copy of real-time bus data for each connected client, the currently commonly used architecture is: using a client in a single machine to connect to the server to receive the full amount of data.
[0004] However, under the premise of ensuring that a single machine receives the full amount of data, since a single machine involves a single point problem, whether it is machine downtime, network failure or other problems affecting the connection will lead to the loss of all data. Summary of the invention
[0005] In view of the above problems, the present invention is proposed to provide a data acquisition method, a server and a related system that overcome the above problems or at least partially solve the above problems.
[0006] In a first aspect, an embodiment of the present invention provides a method for acquiring data, which is applied to a single server in a server cluster, comprising:
[0007] After the client task itself is started, it is determined whether the client task itself is the main process currently obtaining data from the third-party server; the main process is the only process that can obtain data from the third-party server at the current moment;
[0008] When the judgment result is yes, connecting to the third-party server and requesting to obtain data;
[0009] When each data message arrives, it is determined whether the client task itself is still the main process; if it is determined to be yes, the data is obtained and processed.
[0010] In one embodiment, determining whether the client task is the main process currently acquiring data from the third-party server includes:
[0011] Query the main process ID in the main process list to determine whether the main process is the main process.
[0012] The main process in the main process list is obtained in advance in the following way:
[0013] In the list of currently online client tasks, query the time when each client task was online;
[0014] The client task with the latest online time is determined to be the main process.
[0015] In one embodiment, the data acquisition method further includes: the list of each client task is obtained by:
[0016] Subscribe to the master election service from the master election server;
[0017] Receive and record the ID and online time of each client task that has been online on each server in the cluster sent by the selected master server.
[0018] In one embodiment, after the client task itself is started, the method further includes: issuing an identifier of the client task itself to the master selection server.
[0019] In one embodiment, when each data message arrives, after obtaining and processing the data, the method further includes:
[0020] Determine whether the processing time of the current client task exceeds the preset first time threshold. If not, turn to the step of obtaining the next data message. If yes, exit.
[0021] In one embodiment, after connecting to the third-party server and requesting to obtain data, the method further includes:
[0022] Determine whether the time for waiting for the arrival of the data message exceeds a preset second time threshold. If so, exit; if not, turn to execute the step of determining whether the client task itself is still the main process.
[0023] In one embodiment, the client task is started in the following way:
[0024] The process is started by scheduling from the server cluster by a preset scheduling server; or the process is started by scheduling again from the cluster server after the preset scheduling server determines that the client task as the main process is completed or exits.
[0025] In a second aspect, an embodiment of the present invention provides a data acquisition server, comprising:
[0026] A judgment module is used to judge whether the client task itself is the main process currently obtaining data from the third-party server after the client task itself is started; the main process is the only process that can obtain data from the third-party server at the current moment; and when each data message arrives, judge whether the client task itself is still the main process;
[0027] A connection module, used for connecting to the third-party server;
[0028] A request module, used to obtain data from the third-party server;
[0029] The data acquisition module is used to acquire and process the data when the judgment module determines that its own client task is still the main process.
[0030] In one embodiment, it further includes:
[0031] A query module, used to query the main process for the main process identifier in the main process list saved by itself, to determine whether it is the main process;
[0032] The main process determination module is used to query the online time of each client task in the list of currently online client tasks saved by itself; and determine the client task with the latest online time as the main process.
[0033] In one embodiment, the judgment module is further used to obtain and process each data message when it arrives, and then judge whether the client task of the current client task exceeds a preset first duration threshold;
[0034] The data acquisition module is also used to execute the step of acquiring the next data message when the judgment module judges that the result is no, otherwise, exit.
[0035] In one embodiment, the judgment module is further used to judge whether the time for waiting for the arrival of the data message exceeds a preset second time threshold after connecting to the third-party server and requesting to obtain data;
[0036] The main process determination module is also used to exit when the judgment module determines that the time waiting for the arrival of the data message exceeds a preset second time threshold; if the judgment module determines that it does not exceed the second time threshold, execute the step of determining whether its own client task is still the main process.
[0037] In a third aspect, an embodiment of the present invention provides a data acquisition server, comprising: a processor and a memory for storing processor executable commands; wherein the processor is configured to execute the above-mentioned data acquisition method.
[0038] In a fourth aspect, an embodiment of the present invention provides a non-temporary computer-readable storage medium, which, when instructions in the storage medium are executed by a processor, can implement the above-mentioned method for acquiring data.
[0039] In a fifth aspect, an embodiment of the present invention provides a data acquisition system, including: a data acquisition server cluster and a scheduling server; the data acquisition server cluster includes a plurality of the above-mentioned data acquisition servers;
[0040] The scheduling server is used to select a server from the server cluster to call the client task therein, and when the client task as the main process in the server cluster ends, continue to select other servers to call the client task therein.
[0041] In one embodiment, the invention further comprises: selecting a master server; the master server is connected to the data acquisition server cluster and the scheduling server;
[0042] The master selection server is used to send the identification and online time of each online client task to each server in the data acquisition server cluster according to the online and offline messages of the client tasks in each server in the data acquisition server cluster.
[0043] The beneficial effects of the above technical solution provided by the embodiment of the present invention include at least:
[0044] The data acquisition method, server and related system provided by the embodiment of the present invention use a server cluster method. After the client task of each server in the server cluster is started, it is determined by the master selection service that it is the only process for obtaining the data of the third-party server, that is, the main process, and then it connects to the third-party server and requests to obtain data; and when processing each data message, it still determines whether it is the main process. Only when it is, it will receive and process the data. The server cluster method can avoid the single point problem existing in the prior art by scheduling the client tasks in each server, and ensure that the real-time data can be obtained in time when the machine crashes, the network fails or other problems that affect the connection occur. In addition, the above-mentioned master selection mechanism also fully ensures that there is only one process to obtain and process data at a time, and ensures that a single machine receives data.
[0045] In addition, each server in the cluster server also provides a self-monitoring mechanism. After connecting to a third-party server, while waiting for data to arrive, it also determines whether the waiting time for the data message to arrive exceeds the preset second time threshold. If so, it exits and is rescheduled by the scheduling server. In addition, after receiving and processing the data message, it also determines whether the client task of its own client task exceeds the preset first time threshold. If so, it also exits and is rescheduled by the scheduling server. This self-monitoring mechanism ensures that when a downtime, network failure or other impact occurs, it can be discovered and exited in time, and the client tasks in other servers will continue to execute the data acquisition process, further ensuring that data is not lost.
[0046] The above-mentioned data acquisition system also obtains the online and offline information of the client tasks of each server in the server cluster by setting up a master election server, and then sends the identification and online time of the currently online client task to each server, so that each server in the server cluster can select a unique client task according to the preset master election logic to execute the data acquisition process.
[0047] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0048] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0050] Figure 1 A flowchart of a method for acquiring data provided by an embodiment of the present invention;
[0051] Figure 2 This is a flowchart of obtaining and processing each data message when it arrives in an embodiment of the present invention;
[0052] Figure 3 This is a flow chart after connecting to the third-party server and requesting to obtain data in an embodiment of the present invention;
[0053] Figure 4 This is a schematic diagram of the structure of a data acquisition server in an embodiment of the present invention;
[0054] Figure 5 Schematic diagram of the structure of the data acquisition system in an embodiment of the present invention. DETAILED DESCRIPTION
[0055] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0056] In order to solve the single point problem in the prior art when a client in a single machine connects to a server to receive full data when receiving data as a client, the embodiment of the present invention adopts a server cluster to solve the above problem. In the network architecture applicable to the embodiment of the present invention, in addition to the server cluster, it also includes a scheduling server and a master selection server. The scheduling server is used to select a server from the server cluster to start the client task therein (can be random), or when it is determined that the client task as the main process is completed or exited, re-select a server from the cluster server to schedule and start the client task therein. The master selection server is used to provide relevant information of the online client task so that each server in the server cluster can determine whether its own client task is the only process that can currently obtain data.
[0057] The specific implementation methods of the data acquisition method, server and related systems provided by the present invention are described in detail below in conjunction with the accompanying drawings.
[0058] A data acquisition method provided by an embodiment of the present invention, for a single server in a server cluster, refers to Figure 1 As shown, the execution process includes:
[0059] S11, after the client task itself is started, determine whether the client task itself is the main process currently obtaining data from the third-party server; the main process is the only process that can obtain data from the third-party server at the current moment; when the judgment result is yes, execute the following step S12; otherwise, execute the following step S15;
[0060] S12, connecting to a third-party server and requesting to obtain data;
[0061] S13, when each data message arrives, determine whether the client task is still the main process; if it is determined to be yes, execute the following step S14; if not, execute step S15;
[0062] S14: Obtain and process the data.
[0063] S15. Exit the current process.
[0064] The data acquisition method provided by the embodiment of the present invention can be applied to each server in the server cluster. After the client task of each server in the server cluster is started, it is determined by the master selection service that it is the only process for obtaining the data of the third-party server, that is, the main process, and then it connects to the third-party server and requests to obtain data; and when processing each data message, it still determines whether it is the main process. Only when it is, it will receive and process the data. The server cluster method can avoid the single point problem existing in the prior art by scheduling the client tasks in each server, and ensure that the real-time data can be obtained in time when the machine crashes, the network fails or other problems that affect the connection occur. In addition, the master selection mechanism also fully ensures that there is only one process to obtain and process data at a time, and ensures that a single machine receives data.
[0065] In one embodiment, the aforementioned determination of whether the client task itself is the main process currently acquiring data from the third-party server can be achieved by: querying the identifier of the main process in the main process list to determine whether the client task itself is the main process;
[0066] The main process in the main process list is obtained in advance in the following manner: in the list of currently online client tasks, query the online time of each client task; and determine the client task with the latest online time as the main process.
[0067] The reason why the client task with the latest online time is selected as the main process is that when the network connection fails or a machine in the server cluster fails, the client task that needs to be replaced to obtain data is often the earliest. If an earlier client task is selected as the main process, the newly started client task cannot run to replace the failed client task. Therefore, in order to ensure that the failed client task can be replaced in time when a failure occurs, in an embodiment of the present invention, the client task with the latest online time is selected as the main thread for obtaining data according to the early and late online time.
[0068] Of course, the embodiment of the present invention is not limited to other methods of selecting the main process, and can be set according to actual needs.
[0069] A single server can maintain a master process list locally and save it locally. The master process list contains the identifier of the master process. This master process list can be obtained by, for example, pre-subscribing to the master election service from the master election server and determining the master process according to the preset master election rules. Because the master process may change for some reason, the master process in this master process list may change at any time.
[0070] Similarly, a single server can also maintain a list of currently online client tasks locally. This list can also be published by selecting a master server and obtained by a single server through subscription.
[0071] In one embodiment, after the client task itself is started, the server can also publish the identifier of its client task to the master election server, so that the master election server can know that the client task is online.
[0072] For each server, the main program running on it can subscribe to the master election service from the master election server in advance. At the same time, after its own client task is started, it executes the step of publishing the identifier of its own client task to the master election server.
[0073] After subscribing to the master election service, each server in the server cluster can receive and record the identifier and online time of each client task that has been online on each server in the cluster, which is sent by the master election server.
[0074] For example, each server can use its own main program to parse all currently online client tasks, query the online time of each client task, and then determine the client task with the latest online time as the main process, and then maintain the main process in the local main process list so that it can be queried at any time, thereby improving query efficiency.
[0075] In addition, each server in the cluster server also provides a self-monitoring mechanism to ensure that it can exit in time when it fails or the network fails, so as to reschedule other client tasks. Figure 2 As shown, in the above S13, when each data message arrives, after obtaining and processing the data, the above method may further perform the following steps:
[0076] S21, determining whether the client task of the current client task exceeds the preset first duration threshold, if not, executing S22; if yes, executing the following step S23;
[0077] S22, get the next data message;
[0078] S23. Exit this process.
[0079] If there is a problem with the server itself, the time it takes to process the data message will be abnormal, so it can be determined whether there is a problem with its own processing process by judging whether the arrival time of its own processing task exceeds the set second time threshold, such as 30 minutes.
[0080] In one embodiment, referring to Figure 3 As shown, after connecting to the third-party server and requesting to obtain data in step S12, the above method may further perform the following steps:
[0081] S31, determining whether the time for waiting for the arrival of the data message exceeds a preset second time threshold, if so, executing S33; if not, executing S32;
[0082] S32, executing the step of determining whether the client task itself is still the main process;
[0083] S33. Exit this process.
[0084] After establishing a connection with a third-party server, the connection may be disconnected, so whether a problem occurs in the connection is determined by determining whether the time for waiting for the arrival of the data message exceeds a set second time threshold, such as 30 seconds.
[0085] Initially, a preset scheduling server can randomly select a server from the server cluster and schedule and start the client task therein. When the preset scheduling server determines that the client task as the main process is completed or exited, it is necessary to re-select a server from the cluster server to schedule and start the client task therein. In specific implementation, the scheduling server can check regularly (for example, with a period of 1 second) whether the current main process has completed the task of acquiring data or exited. If not, it will wait. If the main process completes the task of acquiring data or exits, it will schedule and start a new client task. In some cases, the number of scheduling may be multiple times, which may result in the scheduling and starting of multiple online client tasks in succession. In order to ensure that only one main process is acquiring data at each moment, the above scheme provided by the embodiment of the present invention provides a master selection mechanism. No matter how many online client tasks there are currently, only one will be selected to perform the data acquisition operation.
[0086] Based on the same inventive concept, the embodiments of the present invention also provide a data acquisition server and a data acquisition system. Since the principles of the problems solved by these servers and systems are similar to those of the aforementioned data acquisition method, the implementation of the device and the client can refer to the implementation of the aforementioned method, and the repeated parts will not be repeated.
[0087] A data acquisition server provided by an embodiment of the present invention refers to Figure 4 As shown, including:
[0088] The judging module 41 is used to judge whether the client task itself is the main process currently acquiring data from the third-party server after the client task itself is started; the main process is the only process that can acquire data from the third-party server at the current moment; and when each data message arrives, judge whether the client task itself is still the main process;
[0089] A connection module 42, used for connecting to the third-party server;
[0090] A request module 43, used to obtain data from the third-party server;
[0091] The data acquisition module 44 is used to acquire and process the data when the judgment module determines that its own client task is still the main process.
[0092] The connection module 42, request module 43 and data acquisition module 44 mentioned above can be executed by the client task module in the server during specific implementation.
[0093] In one embodiment, the data acquisition server, referring to Figure 4 As shown, it may also include:
[0094] A query module 45 is used to query the main process for the main process identifier in the main process list saved by the main process itself to determine whether the main process itself is the main process;
[0095] The main process determination module 46 is used to query the online time of each client task in the list of currently online client tasks saved by itself, and determine the client task with the latest online time as the main process.
[0096] In one embodiment, the judgment module 41 is further used to obtain and process each data message when it arrives, and then judge whether the client task of the current client task exceeds a preset first duration threshold;
[0097] The data acquisition module 44 is also used to execute the step of acquiring the next data message when the judgment module 41 judges that the result is no, otherwise, exit.
[0098] In one embodiment, the above-mentioned determination module 41 is further used to determine whether the time for waiting for the arrival of the data message exceeds a preset second time threshold after connecting to the third-party server and requesting to obtain data;
[0099] Correspondingly, the main process determination module 46 is also used to exit when the judgment module 41 determines that the time waiting for the arrival of the data message exceeds the preset second time threshold; if the judgment module 41 determines that it does not exceed the second time threshold, execute the step of determining whether its own client task is still the main process.
[0100] An embodiment of the present invention provides a data acquisition server, comprising: a processor and a memory for storing processor executable commands; wherein the processor is configured to execute the aforementioned data acquisition method.
[0101] A data acquisition system provided by an embodiment of the present invention refers to Figure 5 As shown, it includes: a data acquisition server cluster 51 and a scheduling server 52; the data acquisition server cluster 51 includes multiple data acquisition servers as described above; wherein:
[0102] The scheduling server 52 is used to select a server from the server cluster to call the client task therein, and when the client task as the main process in the server cluster ends, continue to select other servers to call the client task therein.
[0103] The above data acquisition system refers to Figure 5 As shown, it also includes: selecting a main server 53; the selecting main server 53 is connected to the data acquisition server cluster 51 and the scheduling server 52; wherein:
[0104] The main server 53 is selected to send the identification and online time of each online client task to each server in the data acquisition server cluster according to the online and offline messages of the client tasks in each server in the data acquisition server cluster.
[0105] The above-mentioned data acquisition system also obtains the online and offline information of the client tasks of each server in the server cluster by setting up a master election server, and then sends the identification and online time of the currently online client task to each server, so that each server in the server cluster can select a unique client task according to the preset master election logic to execute the data acquisition process.
[0106] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0107] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0108] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0109] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0110] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for acquiring data, characterized in that: include: After the client task itself is started, it is determined whether the client task itself is the main process currently obtaining data from the third-party server; the main process is the only process that can obtain data from the third-party server at the current moment; When the judgment result is yes, connecting to the third-party server and requesting to obtain data; When each data message arrives, it is determined whether the client task itself is still the main process; if it is determined to be yes, the data is obtained and processed.
2. The method according to claim 1, characterized in that The determining whether the client task is the main process currently obtaining data from the third-party server includes: Query the main process ID in the main process list to determine whether the main process is the main process. The main process in the main process list is obtained in advance in the following way: In the list of currently online client tasks, query the time when each client task was online; The client task with the latest online time is determined to be the main process.
3. The method according to claim 2, characterized in that Also includes: The list of client tasks is obtained in the following way: Subscribe to the master election service from the master election server; Receive and record the ID and online time of each client task that has been online on each server in the server cluster sent by the selected master server.
4. The method according to claim 3, characterized in that After the client task itself is started, the method further includes: issuing an identifier of the client task itself to the master selection server.
5. The method according to claim 1, characterized in that When each data message arrives, the data is obtained and processed, including: Determine whether the processing time of the current client task exceeds the preset first time threshold. If not, turn to the step of obtaining the next data message. If yes, exit.
6. The method according to claim 1, characterized in that After connecting to the third-party server and requesting to obtain data, it also includes: Determine whether the time for waiting for the arrival of the data message exceeds a preset second time threshold. If so, exit; if not, turn to execute the step of determining whether the client task itself is still the main process.
7. The method according to any one of claims 1 to 6, characterized in that: The client task itself is started in the following way: It is started by scheduling from a server cluster by a preset scheduling server; or it is started by scheduling again from the server cluster after the preset scheduling server determines that the client task as the main process is completed or exits.
8. A data acquisition server, characterized in that: include: A judgment module, used to judge whether the client task itself is the main process currently acquiring data from the third-party server after the client task itself is started; the main process is the only process that can acquire data from the third-party server at the current moment; And when each data message arrives, determine whether the client task itself is still the main process; A connection module, used for connecting to the third-party server; A request module, used to obtain data from the third-party server; The data acquisition module is used to acquire and process the data when the judgment module determines that its own client task is still the main process.
9. The data acquisition server according to claim 8, characterized in that: Also includes: A query module, used to query the main process list to determine the main process identifier, and determine whether the main process itself is the main process; The main process determination module is used to query the online time of each client task in the list of currently online client tasks; and determine the client task with the latest online time as the main process.
10. The data acquisition server according to claim 8, characterized in that: The judgment module is also used to obtain and process each data message when it arrives, and then judge whether the client task of the current client task exceeds a preset first duration threshold; The data acquisition module is also used to execute the step of acquiring the next data message when the judgment module judges that the result is no, otherwise, exit.
11. The data acquisition server according to claim 8, characterized in that: The judgment module is further used to judge whether the time for waiting for the arrival of the data message exceeds a preset second time threshold after connecting to the third-party server and requesting to obtain data; The main process determination module is also used to exit when the judgment module determines that the time waiting for the arrival of the data message exceeds a preset second time threshold; if the judgment module determines that it does not exceed the second time threshold, execute the step of determining whether its own client task is still the main process.
12. A data acquisition server, characterized in that: include: A processor and a memory for storing processor executable commands; wherein the processor is configured to execute the data acquisition method as described in any one of claims 1-7.
13. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor, the method for acquiring data as described in any one of claims 1 to 7 can be implemented.
14. A data acquisition system, characterized in that: include: A data acquisition server cluster and a scheduling server; the data acquisition server cluster comprises a plurality of data acquisition servers as claimed in claim 12; The scheduling server is used to select a data acquisition server from the data acquisition server cluster to call up the client task therein, and when the client task as the main process in the data acquisition server cluster ends, continue to select other data acquisition servers to call up the client tasks therein.
15. The system of claim 14, wherein: Also includes: Select the primary server; The master selection server is connected to the data acquisition server cluster and the scheduling server; The master selection server is used to send the identification and online time of each online client task to each data acquisition server in the data acquisition server cluster according to the online and offline messages of the client tasks in each data acquisition server in the data acquisition server cluster.
