CN109358983A - Server data processing method, device and storage medium - Google Patents

Server data processing method, device and storage medium Download PDF

Info

Publication number
CN109358983A
CN109358983A CN201811028356.0A CN201811028356A CN109358983A CN 109358983 A CN109358983 A CN 109358983A CN 201811028356 A CN201811028356 A CN 201811028356A CN 109358983 A CN109358983 A CN 109358983A
Authority
CN
China
Prior art keywords
processor
server
data
sent
follow
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811028356.0A
Other languages
Chinese (zh)
Inventor
华娜
李强
牛辉
蔡坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Baode Computer system Co Ltd
Original Assignee
Shenzhen Baode Computer system Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Baode Computer system Co Ltd filed Critical Shenzhen Baode Computer system Co Ltd
Priority to CN201811028356.0A priority Critical patent/CN109358983A/en
Publication of CN109358983A publication Critical patent/CN109358983A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1456Hardware arrangements for backup
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1466Management of the backup or restore process to make the backup process non-disruptive

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Hardware Redundancy (AREA)

Abstract

Present disclose provides a kind of server data processing method, device and storage mediums.Wherein, this method comprises: first server obtains the status information of the working condition about first processor, and determine whether first processor exception occurs according to status information, wherein first processor is set in first server;First server determines whether first processor is handling data in the case where determining that exception occurs in first processor;First server executes following operation: according to preset rules, selecting second server from other servers in the case where determining that first processor is handling data;And it will need to be sent to the second processor in second server by the follow-up data that first processor is handled and handle.When the disclosure solves abnormal due to the processor work appearance in server, server data pause processing, thus the technical issues of causing user to lose.

Description

Server data processing method, device and storage medium
Technical field
This disclosure relates to server technology field, in particular to a kind of server data processing method, device and Storage medium.
Background technique
At work, processor will appear exception to server once in a while, this is caused greatly to the use of server user Influence, in the prior art, when processor occurs abnormal, it will usually flashed and alarmed by warning light, wait repaired, Waiting time, processor work placed in a suspend state.If this will be to clothes at this point, server user is dealing with urgent work Business device user brings about great losses.
When occurring abnormal for the processor work in above-mentioned server, server data pause processing, to cause The problem of user loses, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the present disclosure provides a kind of server data processing method, device and storage medium, at least to solve When occurring abnormal due to the processor work in server, server data pause processing, thus the technology for causing user to lose Problem.
According to the one aspect of the embodiment of the present disclosure, a kind of server data processing method is provided, comprising: first service Device obtains the status information of the working condition about first processor, and determines whether first processor goes out according to status information Now abnormal, wherein first processor is set in first server;First server is determining first processor appearance exception In the case of, determine whether first processor is handling data;First server is handling data in judgement first processor In the case where, it executes following operation: according to preset rules, selecting second server from other servers;And will need by The follow-up data of first processor processing is sent to the second processor in second server and is handled.
Optionally, preset rules include rule described in following any one: according to the work of the processor of other servers Make intensity, the minimum server of selection processor working strength is as second server;According to preset priority, from other clothes Select the server of highest priority as second server in business device;And go out out of in other servers the selection predetermined time Now the minimum server of abnormal frequency is as second server.
Optionally, further includes: first server, will in the case where the working strength of second processor is more than preset threshold The untreated follow-up data of second processor is sent at the third processor in the third server in other servers Reason, or the untreated follow-up data of second processor is sent to the fourth processor in Cloud Server and is handled.
Optionally, further includes: first server in the case where the working condition for detecting first processor restores normal situation, Treated data are received from second processor, third processor or fourth processor.
Optionally, further includes: first server is in the case where being sent to second processor for follow-up data, according to state Information diagnoses the exception of first processor, and the abnormal cause being diagnosed to be is sent to default device.
Optionally, the operation exception of first processor diagnosed, comprising: according to status information, using setting in advance That sets is used to indicate the data of the corresponding relationship between the status information of processor and the abnormal cause of processor, determines exception Abnormal cause.
In addition, second processor is multiple processors.And include: by the operation that follow-up data is sent to second processor Determine the working strength of multiple second processors;According to identified working strength, determine follow-up data in multiple second processings Allocation proportion between device;And follow-up data is sent to multiple second processors according to allocation proportion.
According to the another aspect of the embodiment of the present disclosure, a kind of storage medium is additionally provided, the program including storage, wherein Above-mentioned server data processing method is executed by processor in program operation.
According to the another aspect of the embodiment of the present disclosure, a kind of server data processing unit is additionally provided, device includes: to obtain Modulus block determines at first for obtaining the status information of the working condition about first processor, and according to status information Whether reason device there is exception, and wherein first processor is set in first server;Determination module, for determining the first processing In the case that exception occurs in device, determine whether first processor is handling data;And execution module, for determining first In the case that processor is handling data, following operation is executed: according to preset rules, the second clothes are selected from other servers Business device;And it will need to be sent to the second processor in second server by the follow-up data that first processor is handled and carry out Reason.
According to the other side of the embodiment of the present disclosure, a kind of server data processing unit, including processing are additionally provided Device;And memory, it is connect with processor, for providing the instruction for handling following processing step: first server for processor The status information of the working condition about first processor is obtained, and determines whether first processor occurs according to status information It is abnormal;First server determines whether first processor is handling number in the case where determining that exception occurs in first processor According to;And first server executes following operation: according to default rule in the case where determining that first processor is handling data Then, second server is selected from other servers;And it will need to be sent to the by the follow-up data that first processor is handled Second processor in two servers is handled.
In the embodiments of the present disclosure, in such a way that first server data are shifted and handled, pass through the first clothes Business device obtains the status information of the working condition about the first processor being set in first server, and believes according to state It ceases and determines whether first processor exception occurs, wherein first processor is set in first server;First server is true Determine to determine whether first processor is handling data in the case that exception occurs in first processor;First server is determining In the case that first processor is handling data, following operation is executed: according to preset rules, the is selected from other servers Two servers;And it will need to be sent to the second processor in second server by the follow-up data that first processor is managed and carry out Processing.When having reached the first processor operation irregularity in first server, the data in first server still are able to pre- If second processor in the purpose that is handled, thus realize when first processor work occur abnormal when, first service The technical effect that the data of device jointless can be calculated and be handled, and then solve due to the processor work in server When making to occur abnormal, server data pause processing, thus the technical issues of causing user to lose.
Detailed description of the invention
Attached drawing described herein is used to provide further understanding of the disclosure, constitutes part of this application, this public affairs The illustrative embodiments and their description opened do not constitute the improper restriction to the disclosure for explaining the disclosure.In the accompanying drawings:
Fig. 1 shows the hardware structure diagram for realizing the server of the first aspect according to the embodiment of the present disclosure 1;
Fig. 2 shows a kind of schematic diagrames of server data processing method according to the embodiment of the present disclosure 1;
Fig. 3 shows a kind of schematic diagram of server data processing unit according to the embodiment of the present disclosure 2;And
Fig. 4 shows a kind of schematic diagram of server data processing unit according to the embodiment of the present disclosure 3.
Specific embodiment
In order to make those skilled in the art more fully understand disclosure scheme, below in conjunction in the embodiment of the present disclosure The technical solution in the embodiment of the present disclosure is clearly and completely described in attached drawing, it is clear that described embodiment is only The embodiment of disclosure a part, instead of all the embodiments.Based on the embodiment in the disclosure, ordinary skill people Member's every other embodiment obtained without making creative work, all should belong to the model of disclosure protection It encloses.
It should be noted that the specification and claims of the disclosure and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to embodiment of the disclosure described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
Embodiment 1
According to the embodiment of the present disclosure, a kind of embodiment of the method for server data processing is additionally provided, it should be noted that Step shown in the flowchart of the accompanying drawings can execute in a computer system such as a set of computer executable instructions, and It, in some cases, can be to be different from sequence execution institute herein and although logical order is shown in flow charts The step of showing or describing.
Embodiment of the method provided by the embodiment of the present application one can execute in the arithmetic unit of servers, like.Fig. 1 Show a kind of hardware block diagram of server for realizing server data processing method.As shown in Figure 1, server 10 It may include that (processor 102 can be with for one or more (using 102a, 102b ... ... in figure, 102n to show) processors 102 The including but not limited to processing unit of Micro-processor MCV or programmable logic device FPGA etc.), memory for storing data 104 and for communication function transmitting device 106.It in addition to this, can also include: display, input/output interface (I/ O Interface), the port universal serial bus (USB) (a port that can be used as in the port of I/O interface is included), network connect Mouth, power supply and/or camera.It will appreciated by the skilled person that structure shown in FIG. 1 is only to illustrate, not to upper The structure for stating electronic device causes to limit.For example, server 10 may also include the more or less component than shown in Fig. 1, Or with the configuration different from shown in Fig. 1.For example, server 10 can be not provided with the devices such as keyboard, cursor, display screen, and Reservation host.
It is to be noted that said one or multiple processors 102 and/or other data processing circuits lead to herein Can often " data processing circuit " be referred to as.The data processing circuit all or part of can be presented as software, hardware, firmware Or any other combination.In addition, data processing circuit for single independent processing module or all or part of can be integrated to clothes It is engaged in any one in the other elements in device 10.As involved in the embodiment of the present application, which makees (such as the selection for the variable resistance end path connecting with interface) is controlled for a kind of processor.
Memory 104 can be used for storing the software program and module of application software, such as the service in the embodiment of the present disclosure Corresponding program instruction/the data storage device of device data processing method, processor 102 are stored in memory 104 by operation Software program and module realized at above-mentioned server data thereby executing various function application and data processing Reason method.Memory 104 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.In some instances, memory 104 can further comprise The memory remotely located relative to processor 102, these remote memories can pass through network connection to server 10.It is above-mentioned The example of network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include The wireless network that the communication providers of server 10 provide.In an example, transmitting device 106 includes a network adapter (Network Interface Controller, NIC), can be connected by base station with other network equipments so as to interconnection Net is communicated.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, be used for Wirelessly communicated with internet.
Under above-mentioned running environment, this application provides server data processing methods as shown in Figure 2.Fig. 2 is basis The flow chart of the server data processing method of the embodiment of the present disclosure one.
S201, first server obtain the status information of the working condition about first processor, and believe according to state It ceases and determines whether first processor exception occurs;
S202, first server determine that first processor is in the case where determining that exception occurs in the first processor It is no to handle data;And
S203, first server execute following operation: from it in the case where determining that first processor is handling data He selects second server in server, wherein the second processor in second server be other servers in working strength most Low processor;And the second processor that will need to be sent to by the follow-up data that first processor is handled in second server It is handled.
Wherein, wherein first processor is set in first server.
As described in the background art, when first server detects that the first processor work appearance of itself is different Chang Shi, during waiting maintenance personal to repair, first server can suspend first processor, so as to cause first Server data pause calculates.If this will make to first server at this point, first server user is dealing with urgent work User brings about great losses.When therefore in order to make first processor work occur abnormal, the data of first server can be seamless It is meshingly calculated, according to the technical solution of the present embodiment, first server obtains the working condition about first processor Status information, and determine whether first processor exception occurs according to status information.First server is determining at first In the case that exception occurs in reason device, determine whether first processor is handling data.Also, first server is determining first In the case that processor is handling data, second server is selected from other servers according to pre-defined rule;And first Server, which will need to be sent to the second processor in second server by the follow-up data that first processor is handled, to be handled.
To in this way, the present disclosure ensure that when first processor operation irregularity in first server, first Data in server still are able to be calculated in second processor.And then solves the work of the processor in first server When occurring abnormal, the pause of first server data is calculated, thus the problem of bringing loss to user.And enable data into The unremitting calculating of row, and then ensured continuity and high efficiency that data calculate.
Wherein, first server can determine whether it is locating by whether working for detection first processor Manage data.Such as, but not limited to, first processor but has little time to be counted after receiving data transmitted by first server When calculating and handling, first server detects that exception occurs in the working condition of first processor.
In addition, first server can be according to the processing of the secrecy depth, data of the type of follow-up data, size, data Speed etc. is transferred in the second processor in the second server with respective performances and is calculated.
Optionally, the preset rules include rule described in following any one: according to the processor of other servers Working strength, the processor for selecting working strength minimum is as second processor;According to preset priority, from other services Select the server of highest priority as second server in device;And from other servers select the predetermined time in occur The minimum server of abnormal frequency is as second server.
For example, the processor for selecting working strength minimum is as according to the working strength of the processor of other servers Two processors.Since the processor for selecting working strength minimum is as second processor, thus at the first of first server In the case that exception occurs in reason device, it can send the data at the processor of the server of most capable processing data Reason.To so that the transmission of data is more reasonable.
According to pre-set priority, selected from multiple servers the processor of the server of highest priority as Second processor receives the follow-up data sent from first server.So as to be realized according to preset priority to service The rational management of the processor of device.
Further, it is also possible to select to occur in the predetermined time from other servers the minimum server of abnormal frequency as Second server, to increase the reliability and safety of follow-up data processing.
Optionally, first server is in the case where the working strength of second processor is more than preset threshold, at second The third processor in third server that the reason untreated follow-up data of device is sent in other servers is handled, or The untreated follow-up data of the second processor is sent to the fourth processor in Cloud Server to handle.Example Such as: the data volume that first server is transferred to the follow-up data of second processor is larger, even if the work of current second processor Intensity is minimum, and during second processor receives first server and shifts the data to come, the work of second processor is strong Degree has been more than preset threshold, it is more likely that causes the work of second processor to occur abnormal.At this point, first server will be more than the Third processor of the subsequent data transfer of two processor preset thresholds into other servers is handled, and guarantees the first clothes The data of business device are able to carry out unremitting calculating.In addition, alternatively, work of the first server in second processor Make intensity more than the 4th in the case where preset threshold, the untreated follow-up data of second processor is sent in Cloud Server Processor is handled.
Optionally, first server is in the case where the working condition for detecting first processor restores normal situation, from second Data that processor, third processor or fourth processor receive that treated.Such as: restore normal in the work of first processor In the case where, by second processor, third processor or the untreated subsequent data transfer of fourth processor to first processor, It is handled by first processor, so that user is not felt by the switching of processor, ensure that data processing work at each place Manage the seamless connection between device.
Optionally, first server suspends first processor in the case where follow-up data is sent to second processor Work.To be handled since follow-up data is sent to second processor, server can suspend first processor Work, and maintenance personal is waited to repair.It is thus possible to guarantee while being repaired to first processor subsequent The processing of data is not affected, to avoid causing damages to user.
Optionally, method further include: first server in the case where follow-up data is sent to second processor, according to Status information diagnoses the exception of first processor, and the abnormal cause being diagnosed to be is sent to default device.To, The administrator of first server can obtain the abnormal cause for the first processor that first server is diagnosed to be from default device, and And first processor is safeguarded according to the abnormal cause.
Optionally, the operation exception of first processor diagnosed, comprising: according to status information, using setting in advance That sets is used to indicate the data of the corresponding relationship between the status information of processor and the abnormal cause of processor, determines exception Abnormal cause.For example, being previously stored with look-up table in first server, first server can be using status information as look-up table Entrance, find abnormal cause using look-up table.To in this way, can use pre-set corresponding relationship, The reason of first processor exception is determined according to status information.
Optionally, first server suspends first processor in the case where determining first processor untreatment data Work.To due to first processor untreatment data, so even being to suspend first processor in this case and wait Member to be repaired repairs, and will not influence the processing of data, to avoid causing damages to user.
In addition, second processor is multiple processors.And include: by the operation that follow-up data is sent to second processor Determine the working strength of multiple second processors;According to identified working strength, determine follow-up data in multiple second processings Allocation proportion between device;And follow-up data is sent to multiple second processors according to allocation proportion.Such as: in first service In the biggish situation of the data volume of device, data first can be divided into multiple groups, then multiple be transferred in second server respectively Two processors.This greatly improves the processing speed of server data.Meanwhile in order to ensure follow-up data is in multiple second processings Reasonable distribution between device, first server determine the working strength of multiple second processors first, then according to determining work It measures, to determine allocation proportion of the follow-up data between multiple second processors, and thus can reasonably distribute multiple The workload of second processor realizes reasonable configuration.
Method described in first aspect to the present embodiment is in the case where first processor operation irregularity, by the One server will need the data handled on first processor to be transferred to the second service being connected with first server Jointless calculating is carried out in second processor in device, once thus solve in the prior art first processor work it is different Often, first processor just suspends the problem of calculating first server data.
In addition, according to the second aspect of the present embodiment, providing a kind of storage medium 104, storage medium with reference to Fig. 1 Program including storage, wherein the side described in equipment execution any of the above one where control storage medium in program operation Method.
To which the present embodiment is by obtaining the status information of the working condition about first processor, and believe according to state It ceases after determining that exception occurs in first processor, determines whether first processor is handling data by server.Also, it services Device is in the case where determining that first processor is handling data, extremely by the subsequent data transfer for needing to be handled by first processor Preset second processor is handled.To in this way it is ensured that first processor operation irregularity in server When, the data in server still are able to be handled in preset second processor.And then solves the processing in server When device work occurs abnormal, server data pause processing, thus the problem of bringing loss to user.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the disclosure is not limited by the described action sequence because According to the disclosure, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, the related actions and modules not necessarily disclosure It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, the technical solution of the disclosure is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the disclosure.
Embodiment 2
According to the embodiment of the present disclosure, a kind of server data processing unit 300 is additionally provided, as shown in figure 3, the device packet It includes:
Module 310 is obtained, is believed for obtaining the status information of the working condition about first processor, and according to state It ceases and determines whether first processor exception occurs, wherein first processor is set in first server;
Determination module 320, for whether just to determine first processor in the case where determining that exception occurs in first processor In processing data;
Execution module 330, in the case where determining that first processor is handling data, according to preset rules, from Second server is selected in other servers;And it will need to be sent to second service by the follow-up data that first processor is handled Second processor in device is handled.
Optionally, further includes: sending module, for the working strength in second processor be more than preset threshold the case where Under, by the untreated follow-up data of second processor be sent to the third processor in the third server in other servers into Row processing, or the untreated follow-up data of second processor is sent to the fourth processor in Cloud Server and is handled.
Optionally, further includes: receiving module, for restoring normal situation in the working condition for detecting first processor Under, treated data are received from second processor, third processor or fourth processor.
Optionally, further includes: the first pause module, in the case where follow-up data is sent to second processor, Suspend the work of first processor.
Optionally, further includes: the second pause module is used in the case where determining first processor untreatment data, temporarily Stop the work of first processor.
Optionally, further includes: diagnostic module, in the case where follow-up data is sent to second processor, according to Status information diagnoses the exception of first processor, and the abnormal cause being diagnosed to be is sent to default device.
Optionally, diagnostic module includes: that abnormal cause determines submodule, for according to status information, using presetting For indicating the data of corresponding relationship between the status information of processor and the abnormal cause of processor, determine abnormal different Normal reason.
Optionally, in addition, second processor is multiple processors.Execution module 330 includes: that working strength determines submodule Block, for determining the working strength of multiple second processors;Ratio-dependent submodule is used for according to identified working strength, Determine allocation proportion of the follow-up data between multiple second processors;And sending submodule, for according to allocation proportion to Multiple second processors send follow-up data.
So that the state that the device of the present embodiment obtains the working condition about first processor by first server is believed Breath, and determine that exception occurs in first processor according to status information, wherein first processor is set in first server;The One server determines whether first processor is handling data;First server is handling data in judgement first processor In the case where, second server is selected from other servers, wherein the second processor in second server is other services The minimum processor of working strength in device;And first server will need to be sent to by the follow-up data that first processor is handled Second processor in second server is handled.When having reached the first processor operation irregularity in first server, Data in first server still are able to the purpose handled in preset second processor, to realize at first When managing device work appearance exception, the technical effect that the data of first server jointless can be calculated and be handled, in turn When solving abnormal due to the processor work appearance in server, server data pause processing, so that user be caused to lose The technical issues of.
Herein it should be noted that above-mentioned acquisition module 310, determination module 320 and execution module 330 correspond to implementation Step S201 to step S203 in example 1, three modules are identical as example and application scenarios that corresponding step is realized, but not It is limited to one disclosure of that of above-described embodiment.It should be noted that above-mentioned module may operate in as a part of device In the server 10 that embodiment one provides.
Embodiment 3
According to the embodiment of the present disclosure, a kind of server data processing unit 400, including processor 410 are additionally provided;And Memory 420 is connect with processor 410, for providing the instruction for handling following processing step: first service for processor 410 Device obtains the status information of the working condition about first processor, and determines whether first processor goes out according to status information It is now abnormal;First server determines whether first processor is being handled in the case where determining that exception occurs in first processor Data;And first server executes following operation: according to default in the case where determining that first processor is handling data Rule selects second server from other servers;And it will need to be sent to by the follow-up data that first processor is handled Second processor in second server is handled.
Optionally, memory provides the instruction for handling following any one processing step also for processor: according to other clothes The working strength of the processor of business device, the processor for selecting working strength minimum is as second processor;According to preset preferential Grade, selects the server of highest priority as second server from other servers;And it is selected from other servers Occurs the minimum server of abnormal frequency in predetermined time as second server.
Optionally, memory provides the instruction for handling following processing step also for processor: in the work of second processor Intensity is more than the third in the case where preset threshold, the untreated follow-up data of second processor being sent in other servers Third processor in server is handled, or the untreated follow-up data of second processor is sent in Cloud Server Fourth processor handled.
Optionally, memory provides the instruction for handling following processing step for processor further include: is detecting at first The working condition for managing device is restored in normal situation, after second processor, third processor or fourth processor reception processing Data.
Optionally, memory provides the instruction for handling following processing step for processor: follow-up data is being sent to It in the case where two processors, is diagnosed according to exception of the status information to first processor, and the exception being diagnosed to be is former Because being sent to default device.
Optionally, the operation diagnosed to the exception of first processor includes: according to status information, using presetting For indicating the data of corresponding relationship between the status information of processor and the abnormal cause of processor, determine abnormal different Normal reason.
Optionally, second processor is multiple processors, and follow-up data is sent to the operation of second processor also Comprise determining that the working strength of multiple second processors;According to identified working strength, determine follow-up data multiple second Allocation proportion between processor;And the follow-up data is sent to multiple second processors according to allocation proportion.
As described in the background art, when first server detects that the first processor work appearance of itself is different Chang Shi, during waiting maintenance personal to repair, first server can suspend first processor, so as to cause first Server data pause calculates.If this will make to first server at this point, first server user is dealing with urgent work User brings about great losses.When therefore in order to make first processor work occur abnormal, the data of first server can be seamless It is meshingly calculated, according to the technical solution of the present embodiment, first server obtains the working condition about first processor Status information, and determine whether first processor exception occurs according to status information.First server is determining at first In the case that exception occurs in reason device, determine whether first processor is handling data.Also, first server is determining first In the case that processor is handling data, second server is selected from other servers according to pre-defined rule;And first Server, which will need to be sent to the second processor in second server by the follow-up data that first processor is handled, to be handled.
To which in this way, embodiment of the disclosure ensures the first processor operation irregularity in first server In the case where, the data in first server still are able to be calculated in second processor.And then solves first server In processor work when occurring abnormal, the pause of first server data calculates, thus the problem of bringing loss to user.And It enables data to carry out unremitting calculating, and then has ensured continuity and high efficiency that data calculate.
Above-mentioned embodiment of the present disclosure serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
In above-described embodiment of the disclosure, all emphasizes particularly on different fields to the description of each embodiment, do not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the disclosure can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the disclosure is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the disclosure whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
The above is only the preferred embodiment of the disclosure, it is noted that for the ordinary skill people of the art For member, under the premise of not departing from disclosure principle, several improvements and modifications can also be made, these improvements and modifications are also answered It is considered as the protection scope of the disclosure.

Claims (10)

1. a kind of server data processing method characterized by comprising
First server obtains the status information of the working condition about first processor, and determines according to the status information Whether the first processor there is exception, wherein the first processor is set in the first server;
Whether the first server determines the first processor in the case where determining that exception occurs in the first processor Handling data;
The first server executes following operation in the case where determining that the first processor is handling data:
According to preset rules, second server is selected from other servers;And
Will need by the follow-up data that the first processor is handled be sent to the second processor in the second server into Row processing.
2. the method according to claim 1, wherein the preset rules include rule described in following any one Then:
According to the working strength of the processor of other servers, the minimum server of selection processor working strength is as institute State second server;
According to preset priority, select the server of highest priority as the second service from other described servers Device;And
It selects to occur the minimum server of abnormal frequency in the predetermined time from other described servers as second clothes Business device.
3. the method according to claim 1, wherein further include:
The first server is in the case where the working strength of the second processor is more than preset threshold, at described second The third processor in third server that the reason untreated follow-up data of device is sent in other described servers carries out Processing, or the untreated follow-up data of the second processor is sent to the fourth processor in Cloud Server and is carried out Processing.
4. server data processing method as claimed in any of claims 1 to 3, which is characterized in that further include:
The first server is in the case where the working condition for detecting the first processor restores normal situation, from described second Data that processor, the third processor or the fourth processor receive that treated.
5. server data processing method according to claim 1, which is characterized in that further include: the first server In the case where the follow-up data is sent to the second processor, according to the state information to the first processor Exception diagnosed, and the abnormal cause being diagnosed to be is sent to default device.
6. server data processing method according to claim 5, which is characterized in that the exception of the first processor The operation diagnosed, comprising:
According to the state information, using pre-set for indicating the abnormal cause of the status information and processor of processor Between corresponding relationship data, determine the abnormal abnormal cause.
7. server data processing method according to claim 1, which is characterized in that the second processor is multiple places Device is managed, and includes: by the operation that the follow-up data is sent to the second processor
Determine the working strength of the multiple second processor;
According to identified working strength, allocation proportion of the follow-up data between the multiple second processor is determined; And
The follow-up data is sent to the multiple second processor according to the allocation proportion.
8. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program When as processor perform claim require any one of 1 to 7 described in server data processing method.
9. a kind of server data processing unit (300), which is characterized in that described device includes:
It obtains module (310), for obtaining the status information of the working condition about first processor, and according to the state Information determines whether the first processor exception occurs, wherein the first processor is set in first server;
Determination module (320), for determining the first processor in the case where determining that exception occurs in the first processor Whether data are being handled;
Execution module (330), in the case where determining that the first processor is handling data, executing following operation: According to preset rules, second server is selected from other servers;And after needing to be handled by the first processor Continuous data are sent to the second processor in the second server and are handled.
10. a kind of server data processing unit (400) characterized by comprising processor (410);And memory (420), it is connect with the processor (410), for providing the instruction for handling following processing step for the processor (410):
The status information of the working condition about first processor is obtained, and is determined at described first according to the status information Whether reason device there is exception, wherein the first processor is set in the first server;
In the case where determining that exception occurs in the first processor, determine whether the first processor is handling data;
In the case where determining that the first processor is handling data, following operation is executed:
According to preset rules, second server is selected from other servers;And
Will need by the follow-up data that the first processor is handled be sent to the second processor in the second server into Row processing.
CN201811028356.0A 2018-09-04 2018-09-04 Server data processing method, device and storage medium Pending CN109358983A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811028356.0A CN109358983A (en) 2018-09-04 2018-09-04 Server data processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811028356.0A CN109358983A (en) 2018-09-04 2018-09-04 Server data processing method, device and storage medium

Publications (1)

Publication Number Publication Date
CN109358983A true CN109358983A (en) 2019-02-19

Family

ID=65350223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811028356.0A Pending CN109358983A (en) 2018-09-04 2018-09-04 Server data processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN109358983A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026048A (en) * 2019-11-13 2020-04-17 深圳市华星光电半导体显示技术有限公司 Data processing method, device and storage medium
CN111770316A (en) * 2020-07-22 2020-10-13 广州芯象科技有限公司 Audio and video encoder

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977124A (en) * 2010-11-05 2011-02-16 山东中创软件工程股份有限公司 Service clustering method and system based on ZooKeeper technology
US20130166706A1 (en) * 2011-12-22 2013-06-27 International Business Machines Corporation Extending a dhcp relay to backup a dhcp server
CN104901834A (en) * 2015-05-20 2015-09-09 广东睿江科技有限公司 Method and system for automatically switching between network servers
CN106411585A (en) * 2016-09-21 2017-02-15 深圳市智物联网络有限公司 Server switching method, adapter, server and scheduling device
CN107819605A (en) * 2016-09-14 2018-03-20 北京百度网讯科技有限公司 Method and apparatus for the switching server in server cluster
CN107959705A (en) * 2016-10-18 2018-04-24 阿里巴巴集团控股有限公司 The distribution method and control server of streaming computing task
CN108092836A (en) * 2016-11-21 2018-05-29 深圳市蓝希领地科技有限公司 The monitoring method and device of a kind of server

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977124A (en) * 2010-11-05 2011-02-16 山东中创软件工程股份有限公司 Service clustering method and system based on ZooKeeper technology
US20130166706A1 (en) * 2011-12-22 2013-06-27 International Business Machines Corporation Extending a dhcp relay to backup a dhcp server
CN104901834A (en) * 2015-05-20 2015-09-09 广东睿江科技有限公司 Method and system for automatically switching between network servers
CN107819605A (en) * 2016-09-14 2018-03-20 北京百度网讯科技有限公司 Method and apparatus for the switching server in server cluster
CN106411585A (en) * 2016-09-21 2017-02-15 深圳市智物联网络有限公司 Server switching method, adapter, server and scheduling device
CN107959705A (en) * 2016-10-18 2018-04-24 阿里巴巴集团控股有限公司 The distribution method and control server of streaming computing task
CN108092836A (en) * 2016-11-21 2018-05-29 深圳市蓝希领地科技有限公司 The monitoring method and device of a kind of server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐雅斌,等: "《计算机网络》", 31 December 2011, 西安交通大学出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026048A (en) * 2019-11-13 2020-04-17 深圳市华星光电半导体显示技术有限公司 Data processing method, device and storage medium
CN111770316A (en) * 2020-07-22 2020-10-13 广州芯象科技有限公司 Audio and video encoder

Similar Documents

Publication Publication Date Title
CN108370341B (en) Resource allocation method, virtual network function manager and network element management system
CN105721535A (en) Parallel processing of service functions in service function chains
CN105930191B (en) The overloaded method and device of system service
CN104468547B (en) Establish the method, apparatus and system of long connection
CN107404740B (en) Method for switching network, device and the terminal device of safety
CN109284199A (en) Server exception processing method, equipment and processor
CN110442450A (en) Image processing equipment, method, apparatus and material calculate the system with rendering
CN103257694A (en) Monitoring power source redundancy via power distribution unit
CN110391880A (en) Access request processing method and equipment based on terminal-server framework
CN109358983A (en) Server data processing method, device and storage medium
CN108683528A (en) A kind of data transmission method, central server, server and data transmission system
CN107547301A (en) A kind of master/slave device switching method and device
CN110493736A (en) Note transmission method, device and storage medium
CN109445995A (en) Server data processing method, device and storage medium
CN109343944A (en) Data processing method, device, terminal and the storage medium of eSIM card
CN108062247A (en) A kind of EMS memory management process and system
US20130090760A1 (en) Apparatus and method for managing robot components
CN108667640B (en) Communication method and device, and network access system
CN111123728A (en) Unmanned vehicle simulation method, device, equipment and computer readable medium
CN108170545A (en) A kind of method for message transmission and device based on message-oriented middleware
CN102917370B (en) Method, device and system for determining corresponding near-end unit of far-end unit and far-end unit
CN109299195A (en) Data processing method, device and storage medium
CN105704773B (en) A kind of method, mobile communication system and mobile terminal switching mobile telecommunication channel
CN109451025A (en) Information push method, device and storage medium
CN104468337A (en) Message transmission method and device, message management center device and data centers

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190219

WD01 Invention patent application deemed withdrawn after publication