Disclosure of Invention
Accordingly, the present invention is directed to a maintenance method and system for an ERP server, so as to solve the problem of poor maintenance effect of the ERP server in the prior art.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical scheme:
a maintenance method for an ERP server, comprising:
Performing state monitoring processing on a target ERP server to output server state data corresponding to the target ERP server, wherein the server state data is used for representing whether the target ERP server currently has a phenomenon of discarding a received data access request;
if the server state data represents that the target ERP server currently has the phenomenon of discarding the received data access request, carrying out state prediction processing on the target ERP server to output state prediction data corresponding to the target ERP server, wherein the state prediction data is used for representing the number of the data access requests received by the target ERP server within a preset duration;
and maintaining the target ERP server according to the state prediction data.
In some preferred embodiments, in the maintenance method for an ERP server, the step of performing a status monitoring process on a target ERP server to output server status data corresponding to the target ERP server includes:
Monitoring a pre-configured target communication port to output a corresponding first monitoring result, wherein the target communication port is used for receiving a data access request processing result reported by a target ERP server, and the target ERP server is used for outputting the corresponding data access request processing result to the target communication port under the condition that the received data access request is discarded;
If the first monitoring result is a data access request processing result reported by the target ERP server, configuring server state data corresponding to the target ERP server as a phenomenon that the target ERP server discards the received data access request currently exists;
and if the first monitoring result is that the data access request processing result reported by the target ERP server is not received, configuring the server state data corresponding to the target ERP server as that the target ERP server does not discard the received data access request currently.
In some preferred embodiments, in the above maintenance method for an ERP server, the step of performing, in case that the server status data indicates that the target ERP server currently has a phenomenon of discarding the received data access request, status prediction processing on the target ERP server to output status prediction data corresponding to the target ERP server includes:
extracting a plurality of historical data sets corresponding to the target ERP server if the server state data represents that the target ERP server currently has the phenomenon of discarding the received data access request, wherein each historical data set in the plurality of historical data sets comprises each historical data access request received by the target ERP server in a corresponding historical time period, and the time length of the historical time period is equal to the preset time length;
And carrying out state prediction processing on the target ERP server according to the plurality of historical data sets so as to output state prediction data corresponding to the target ERP server.
In some preferred embodiments, in the maintenance method for an ERP server, the step of performing, according to the plurality of historical data sets, a state prediction process on the target ERP server to output state prediction data corresponding to the target ERP server includes:
sequencing the plurality of historical data sets according to the sequence of the corresponding historical time periods from the morning to the evening so as to form a historical set sequence corresponding to the plurality of historical data sets;
Performing set construction processing on the received data access request with the current length being the preset duration to form a corresponding current data set;
And carrying out state prediction processing on the target ERP server according to the historical set sequence and the current data set so as to output state prediction data corresponding to the target ERP server.
In some preferred embodiments, in the maintenance method for an ERP server, the step of performing a state prediction process on the target ERP server according to the historical set sequence and the current data set to output state prediction data corresponding to the target ERP server includes:
Selecting a last first number of historical data sets from the historical set sequence, and sorting the first number of historical data sets and the current data set according to the sequence from the morning to the evening of the corresponding time period to form a corresponding first set sequence, wherein the number of data sets included in the first set sequence is a second number;
Performing sliding window processing on the historical set sequences according to the second quantity to form a plurality of second set sequences corresponding to the historical set sequences, wherein the quantity of historical data sets included in each second set sequence in the plurality of second set sequences is the second quantity;
For each second set sequence in the plurality of second set sequences, performing sequence similarity calculation processing on the second set sequence and the first set sequence to output sequence similarity corresponding to the second set sequence, and performing size comparison on the sequence similarity corresponding to the second set sequence to output a size comparison result corresponding to the second set sequence;
For each of the second set sequences, if the comparison result of the size corresponding to the second set sequence indicates that the sequence similarity corresponding to the second set sequence is greater than or equal to the preset similarity, determining the second set sequence as a candidate second set sequence, and performing positive correlation coefficient determination processing according to the sequence similarity corresponding to the candidate second set sequence so as to output a first matching coefficient corresponding to the candidate second set sequence;
For each candidate second set sequence, performing matching processing according to a time period corresponding to the candidate second set sequence and a time period corresponding to the second set sequence to output a second matching coefficient corresponding to the candidate second set sequence, and performing fusion processing on the second matching coefficient corresponding to the candidate second set sequence and the first matching coefficient corresponding to the candidate second set sequence to output a fusion matching coefficient corresponding to the candidate second set sequence;
Extracting a fusion matching coefficient with the maximum value from fusion matching coefficients corresponding to each candidate second set sequence, configuring the fusion matching coefficient as a target fusion matching coefficient, configuring the candidate second set sequence corresponding to the target fusion matching coefficient as a target second set sequence, and carrying out state prediction processing on the target ERP server according to the target second set sequence so as to output a state prediction number corresponding to the target ERP server.
In some preferred embodiments, in the above maintenance method for an ERP server, for each of the candidate second set sequences, performing matching processing according to a time period corresponding to the candidate second set sequence and a time period corresponding to the second set sequence to output a second matching coefficient corresponding to the candidate second set sequence, and performing fusion processing on the second matching coefficient corresponding to the candidate second set sequence and the first matching coefficient corresponding to the candidate second set sequence to output a fusion matching coefficient corresponding to the candidate second set sequence, where the step includes:
For each candidate second set sequence, carrying out matching processing according to a time period corresponding to the candidate second set sequence and a time period corresponding to the second set sequence so as to output a second matching coefficient corresponding to the candidate second set sequence;
And for each candidate second set sequence, carrying out weighted summation calculation processing on a second matching coefficient corresponding to the candidate second set sequence and a first matching coefficient corresponding to the candidate second set sequence so as to output a fusion matching coefficient corresponding to the candidate second set sequence.
In some preferred embodiments, in the maintenance method for an ERP server, the step of performing maintenance processing on the target ERP server according to the state prediction data includes:
Comparing the state prediction data with pre-configured standard state data to determine whether maintenance processing is required for the target ERP server, wherein if the state prediction data is greater than or equal to the standard state data, maintenance processing is required for the target ERP server, and if the state prediction data is less than the standard state data, maintenance processing is not required for the target ERP server;
And under the condition that maintenance processing is required to be carried out on the target ERP server, a pre-configured standby data access thread and a data access thread in current use are used for processing the data access request in a later preset time period.
The embodiment of the invention also provides a maintenance system for the ERP server, which comprises the following steps:
The state monitoring module is used for carrying out state monitoring processing on a target ERP server so as to output server state data corresponding to the target ERP server, wherein the server state data is used for representing whether the target ERP server currently has a phenomenon of discarding a received data access request;
The state prediction module is used for carrying out state prediction processing on the target ERP server to output state prediction data corresponding to the target ERP server in case that the server state data represents that the target ERP server currently has the phenomenon of discarding the received data access request, wherein the state prediction data is used for representing the number of the data access requests received by the target ERP server within a preset duration;
and the server maintenance processing module is used for carrying out maintenance processing on the target ERP server according to the state prediction data.
In some preferred embodiments, in the maintenance system for an ERP server, the state prediction module is specifically configured to:
extracting a plurality of historical data sets corresponding to the target ERP server if the server state data represents that the target ERP server currently has the phenomenon of discarding the received data access request, wherein each historical data set in the plurality of historical data sets comprises each historical data access request received by the target ERP server in a corresponding historical time period, and the time length of the historical time period is equal to the preset time length;
And carrying out state prediction processing on the target ERP server according to the plurality of historical data sets so as to output state prediction data corresponding to the target ERP server.
In some preferred embodiments, in the maintenance system for an ERP server, the server maintenance processing module is specifically configured to:
Comparing the state prediction data with pre-configured standard state data to determine whether maintenance processing is required for the target ERP server, wherein if the state prediction data is greater than or equal to the standard state data, maintenance processing is required for the target ERP server, and if the state prediction data is less than the standard state data, maintenance processing is not required for the target ERP server;
And under the condition that maintenance processing is required to be carried out on the target ERP server, a pre-configured standby data access thread and a data access thread in current use are used for processing the data access request in a later preset time period.
The maintenance method and system for the ERP server provided by the embodiment of the invention firstly, the state monitoring processing is carried out on the target ERP server, and outputting server state data corresponding to the target ERP server, wherein the server state data is used for representing whether the target ERP server currently has the phenomenon of discarding the received data access request. Then, if the server state data represents that the target ERP server currently has the phenomenon of discarding the received data access request, state prediction processing is performed on the target ERP server so as to output state prediction data corresponding to the target ERP server, wherein the state prediction data is used for representing the number of the data access requests received by the target ERP server within a preset duration. And finally, maintaining the target ERP server according to the state prediction data. The target ERP server is maintained according to the state prediction data obtained by predicting the state in a period of time in the future, so that the maintained target ERP server can be adapted to the period of time in the future, and compared with the conventional technical scheme for carrying out maintenance according to the current state data, the maintenance effect can be improved, so that the problem of poor maintenance effect of the ERP server in the prior art is solved.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
As shown in fig. 1, an embodiment of the present invention provides an ERP server management platform. Wherein, the ERP server management platform can include a memory and a processor.
In detail, the memory and the processor are electrically connected directly or indirectly to realize transmission or interaction of data. For example, electrical connection may be made to each other via one or more communication buses or signal lines. The memory may store at least one software functional module (computer program) that may exist in the form of software or firmware. The processor may be configured to execute the executable computer program stored in the memory, so as to implement the maintenance method for the ERP server provided by the embodiment of the present invention.
Alternatively, in some embodiments, the Memory may be, but is not limited to, random access Memory (Random Access Memory, RAM), read Only Memory (ROM), programmable Read Only Memory (Programmable Read-Only Memory, PROM), erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), and the like. The processor may be a general purpose processor including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), a System on Chip (SoC), etc., or may be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
Alternatively, in some embodiments, the ERP server management platform may be one or more servers with data processing capabilities.
With reference to fig. 2, the embodiment of the invention also provides a maintenance method for the ERP server, which can be applied to the ERP server management platform. The method steps defined by the flow related to the maintenance method for the ERP server can be realized by the ERP server management platform.
The specific flow shown in fig. 2 will be described in detail.
Step 110, performing state monitoring processing on a target ERP server to output server state data corresponding to the target ERP server.
In the embodiment of the invention, the ERP server management platform can perform state monitoring processing on the target ERP server so as to output server state data corresponding to the target ERP server. The server state data is used for representing whether the target ERP server currently has a phenomenon of discarding the received data access request.
Step 120, if the server status data indicates that the target ERP server currently has a phenomenon of discarding the received data access request, performing status prediction processing on the target ERP server, so as to output status prediction data corresponding to the target ERP server.
In the embodiment of the invention, the ERP server management platform can perform state prediction processing on the target ERP server under the condition that the server state data represents that the target ERP server currently has the phenomenon of discarding the received data access request so as to output state prediction data corresponding to the target ERP server. The state prediction data is used for representing the number of data access requests received by the target ERP server within a preset duration.
And step 130, maintaining the target ERP server according to the state prediction data.
In the embodiment of the invention, the ERP server management platform can maintain the target ERP server according to the state prediction data.
Based on the maintenance method for the ERP server, firstly, state monitoring processing is performed on the target ERP server to output server state data corresponding to the target ERP server, wherein the server state data is used for representing whether the target ERP server currently discards the received data access request or not. Then, if the server state data represents that the target ERP server currently has the phenomenon of discarding the received data access request, state prediction processing is performed on the target ERP server so as to output state prediction data corresponding to the target ERP server, wherein the state prediction data is used for representing the number of the data access requests received by the target ERP server within a preset duration. And finally, maintaining the target ERP server according to the state prediction data. The target ERP server is maintained according to the state prediction data obtained by predicting the state in a period of time in the future, so that the maintained target ERP server can be adapted to the period of time in the future, and compared with the conventional technical scheme for carrying out maintenance according to the current state data, the maintenance effect can be improved, so that the problem of poor maintenance effect of the ERP server in the prior art is solved.
Alternatively, in some embodiments, step 110 may include the following:
Monitoring a pre-configured target communication port to output a corresponding first monitoring result, wherein the target communication port is used for receiving a data access request processing result reported by a target ERP server, and the target ERP server is used for outputting the corresponding data access request processing result to the target communication port under the condition that the received data access request is discarded;
If the first monitoring result is a data access request processing result reported by the target ERP server, configuring server state data corresponding to the target ERP server as a phenomenon that the target ERP server discards the received data access request currently exists;
and if the first monitoring result is that the data access request processing result reported by the target ERP server is not received, configuring the server state data corresponding to the target ERP server as that the target ERP server does not discard the received data access request currently.
Alternatively, in some embodiments, step 120 may include the following:
extracting a plurality of historical data sets corresponding to the target ERP server if the server state data represents that the target ERP server currently has the phenomenon of discarding the received data access request, wherein each historical data set in the plurality of historical data sets comprises each historical data access request received by the target ERP server in a corresponding historical time period, and the time length of the historical time period is equal to the preset time length;
And carrying out state prediction processing on the target ERP server according to the plurality of historical data sets so as to output state prediction data corresponding to the target ERP server.
Optionally, in some embodiments, the step of performing a state prediction process on the target ERP server according to the plurality of historical data sets to output state prediction data corresponding to the target ERP server may include the following:
sequencing the plurality of historical data sets according to the sequence of the corresponding historical time periods from the morning to the evening so as to form a historical set sequence corresponding to the plurality of historical data sets;
Performing set construction processing on the received data access request with the current length being the preset duration to form a corresponding current data set;
And carrying out state prediction processing on the target ERP server according to the historical set sequence and the current data set so as to output state prediction data corresponding to the target ERP server.
Optionally, in some embodiments, the step of performing a state prediction process on the target ERP server according to the historical set sequence and the current data set to output state prediction data corresponding to the target ERP server may include the following:
Selecting a last first number of historical data sets from the historical set sequence, and sorting the first number of historical data sets and the current data set according to the sequence from the morning to the evening of the corresponding time period to form a corresponding first set sequence, wherein the number of data sets included in the first set sequence is a second number;
Performing sliding window processing on the historical set sequences according to the second quantity to form a plurality of second set sequences corresponding to the historical set sequences, wherein the quantity of historical data sets included in each second set sequence in the plurality of second set sequences is the second quantity;
For each second set sequence in the plurality of second set sequences, performing sequence similarity calculation processing on the second set sequence and the first set sequence to output sequence similarity corresponding to the second set sequence, and performing size comparison on the sequence similarity corresponding to the second set sequence to output a size comparison result corresponding to the second set sequence;
For each of the second set sequences, if the comparison result of the size corresponding to the second set sequence indicates that the sequence similarity corresponding to the second set sequence is greater than or equal to the preset similarity, determining the second set sequence as a candidate second set sequence, and performing positive correlation coefficient determination processing according to the sequence similarity corresponding to the candidate second set sequence so as to output a first matching coefficient corresponding to the candidate second set sequence;
For each candidate second set sequence, performing matching processing according to a time period corresponding to the candidate second set sequence and a time period corresponding to the second set sequence to output a second matching coefficient corresponding to the candidate second set sequence, and performing fusion processing (such as weighted summation calculation) on the second matching coefficient corresponding to the candidate second set sequence and the first matching coefficient corresponding to the candidate second set sequence to output a fusion matching coefficient corresponding to the candidate second set sequence;
Extracting a fusion matching coefficient with the maximum value from fusion matching coefficients corresponding to each candidate second set sequence, configuring the fusion matching coefficient as a target fusion matching coefficient, configuring the candidate second set sequence corresponding to the target fusion matching coefficient as a target second set sequence, and performing state prediction processing on the target ERP server according to the target second set sequence to output state prediction data corresponding to the target ERP server (for example, the number of data access requests included in a data set after the last data set in the target second set sequence can be used as the state prediction data).
Optionally, in some embodiments, the step of performing, for each of the second set sequences in the plurality of second set sequences, a sequence similarity calculation process on the second set sequence and the first set sequence to output a sequence similarity corresponding to the second set sequence may include the following:
For each sequence ordering position, calculating the coincidence degree of a data set of the sequence ordering position in the first set sequence and a data set of the sequence ordering position in the second set sequence to output the coincidence degree of a set corresponding to the sequence ordering position, and then carrying out first similarity calculation processing according to the coincidence degree of a set corresponding to each sequence ordering position to output the first similarity between the first set sequence and the second set sequence;
for each data set in the first set sequence, classifying the plurality of data access requests included in the data set according to the similarity of request objects among the plurality of data access requests included in the data set to form at least one first data subset corresponding to the data set, wherein each first data subset in the at least one first data subset comprises at least one data access request;
For each data set in the second set sequence, classifying the plurality of data access requests included in the data set according to the similarity of the plurality of data access requests related to the request object, so as to form at least one second data subset corresponding to the data set, wherein each second data subset in the at least one second data subset comprises at least one data access request;
For each first data subset, according to the similarity of the data access requests included in the first data subset with respect to the request object, extracting one data access request with the maximum similarity with other data access requests from the first data subset, and configuring the data access request as a first data access request corresponding to the first data subset;
For each second data subset, according to the similarity of the data access requests included in the second data subset with respect to the request object, extracting one data access request with the maximum similarity with other data access requests from the second data subset, and configuring the data access request as a second data access request corresponding to the second data subset;
For each data set in the first set sequence, performing set construction processing according to a first data access request corresponding to each first data subset in at least one first data subset corresponding to the data set, so as to output a first updated data set corresponding to the data set, and for each data set in the second set sequence, performing set construction processing according to a second data access request corresponding to each second data subset in at least one second data subset corresponding to the data set, so as to output a second updated data set corresponding to the data set;
For each sequence ordering position, performing contact ratio calculation on a first updated data set corresponding to a data set of the sequence ordering position in the first set sequence and a second updated data set corresponding to a data set of the sequence ordering position in the second set sequence to output an updated set contact ratio corresponding to the sequence ordering position, and performing second similarity calculation processing according to the updated set contact ratio corresponding to each sequence ordering position to output a second similarity between the first set sequence and the second set sequence;
And carrying out weighted summation calculation on the first similarity and the second similarity between the first set sequence and the second set sequence so as to output the sequence similarity between the first set sequence and the second set sequence.
Optionally, in some embodiments, the step of performing, for each of the candidate second set sequences, matching processing according to a time period corresponding to the candidate second set sequence and a time period corresponding to the second set sequence to output a second matching coefficient corresponding to the candidate second set sequence, and performing fusion processing on the second matching coefficient corresponding to the candidate second set sequence and the first matching coefficient corresponding to the candidate second set sequence to output a fusion matching coefficient corresponding to the candidate second set sequence may include:
For each candidate second set sequence, carrying out matching processing according to a time period corresponding to the candidate second set sequence and a time period corresponding to the second set sequence so as to output a second matching coefficient corresponding to the candidate second set sequence;
And for each candidate second set sequence, carrying out weighted summation calculation processing on a second matching coefficient corresponding to the candidate second set sequence and a first matching coefficient corresponding to the candidate second set sequence so as to output a fusion matching coefficient corresponding to the candidate second set sequence.
Alternatively, in some embodiments, step 130 may include the following:
Comparing the state prediction data with pre-configured standard state data to determine whether maintenance processing is required for the target ERP server, wherein if the state prediction data is greater than or equal to the standard state data, maintenance processing is required for the target ERP server, and if the state prediction data is less than the standard state data, maintenance processing is not required for the target ERP server;
And under the condition that maintenance processing is required to be carried out on the target ERP server, a pre-configured standby data access thread and a data access thread in current use are used for processing the data access request in a later preset time period.
With reference to fig. 3, the embodiment of the invention also provides a maintenance system for the ERP server, which can be applied to the ERP server management platform. The maintenance system for the ERP server can comprise the following modules:
The state monitoring module is used for carrying out state monitoring processing on a target ERP server so as to output server state data corresponding to the target ERP server, wherein the server state data is used for representing whether the target ERP server currently has a phenomenon of discarding a received data access request;
The state prediction module is used for carrying out state prediction processing on the target ERP server to output state prediction data corresponding to the target ERP server in case that the server state data represents that the target ERP server currently has the phenomenon of discarding the received data access request, wherein the state prediction data is used for representing the number of the data access requests received by the target ERP server within a preset duration;
and the server maintenance processing module is used for carrying out maintenance processing on the target ERP server according to the state prediction data.
Alternatively, in some embodiments, the state monitoring module is specifically configured to:
Monitoring a pre-configured target communication port to output a corresponding first monitoring result, wherein the target communication port is used for receiving a data access request processing result reported by a target ERP server, and the target ERP server is used for outputting the corresponding data access request processing result to the target communication port under the condition that the received data access request is discarded;
If the first monitoring result is a data access request processing result reported by the target ERP server, configuring server state data corresponding to the target ERP server as a phenomenon that the target ERP server discards the received data access request currently exists;
and if the first monitoring result is that the data access request processing result reported by the target ERP server is not received, configuring the server state data corresponding to the target ERP server as that the target ERP server does not discard the received data access request currently.
Alternatively, in some embodiments, the state prediction module is specifically configured to:
extracting a plurality of historical data sets corresponding to the target ERP server if the server state data represents that the target ERP server currently has the phenomenon of discarding the received data access request, wherein each historical data set in the plurality of historical data sets comprises each historical data access request received by the target ERP server in a corresponding historical time period, and the time length of the historical time period is equal to the preset time length;
And carrying out state prediction processing on the target ERP server according to the plurality of historical data sets so as to output state prediction data corresponding to the target ERP server.
Optionally, in some embodiments, the server maintenance processing module is specifically configured to:
Comparing the state prediction data with pre-configured standard state data to determine whether maintenance processing is required for the target ERP server, wherein if the state prediction data is greater than or equal to the standard state data, maintenance processing is required for the target ERP server, and if the state prediction data is less than the standard state data, maintenance processing is not required for the target ERP server;
And under the condition that maintenance processing is required to be carried out on the target ERP server, a pre-configured standby data access thread and a data access thread in current use are used for processing the data access request in a later preset time period.
In summary, according to the maintenance method and system for the ERP server provided by the invention, firstly, the state monitoring process is performed on the target ERP server to output the server state data corresponding to the target ERP server, where the server state data is used to characterize whether the target ERP server currently has a phenomenon of discarding the received data access request. Then, if the server state data represents that the target ERP server currently has the phenomenon of discarding the received data access request, state prediction processing is performed on the target ERP server so as to output state prediction data corresponding to the target ERP server, wherein the state prediction data is used for representing the number of the data access requests received by the target ERP server within a preset duration. And finally, maintaining the target ERP server according to the state prediction data. The target ERP server is maintained according to the state prediction data obtained by predicting the state in a period of time in the future, so that the maintained target ERP server can be adapted to the period of time in the future, and compared with the conventional technical scheme for carrying out maintenance according to the current state data, the maintenance effect can be improved, so that the problem of poor maintenance effect of the ERP server in the prior art is solved.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.