CN110502326A - Cloud service scheduling and recovering method based on fault detection and terminal equipment - Google Patents

Cloud service scheduling and recovering method based on fault detection and terminal equipment Download PDF

Info

Publication number
CN110502326A
CN110502326A CN201910796994.5A CN201910796994A CN110502326A CN 110502326 A CN110502326 A CN 110502326A CN 201910796994 A CN201910796994 A CN 201910796994A CN 110502326 A CN110502326 A CN 110502326A
Authority
CN
China
Prior art keywords
cloud service
fault message
fault detection
scheduling
fault
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
CN201910796994.5A
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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910796994.5A priority Critical patent/CN110502326A/en
Publication of CN110502326A publication Critical patent/CN110502326A/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/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0715Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a system implementing multitasking
    • 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/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/079Root cause analysis, i.e. error or fault diagnosis
    • 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/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Hardware Redundancy (AREA)

Abstract

The invention provides a cloud service scheduling and recovering method based on fault detection, wherein the method comprises the following steps: s1) establishing a mapping relation table of a plurality of cloud services and standby cloud services; s2) in response to receiving the detected failure information, acquiring a name of a cloud service corresponding to the failure information; s3) searching the name of the standby cloud service corresponding to the fault information based on the mapping relation table; s4) switching the request pointing to the cloud service corresponding to the failure information to the corresponding backup cloud service; and S5) performing a restart operation on the cloud service corresponding to the failure information.

Description

The method and terminal device of cloud service scheduling and recovery based on fault detection
Technical field
The present invention relates to cloud service technical field, in particular to a kind of cloud service scheduling and recovery based on fault detection Method and terminal device.
Background technique
Current each unit intellectual product is increasing, and more and more equipment are linked into the smart home net of constituent parts Network, the stability of internet cloud service and reliable sexual intercourse intelligent appliance functions of the equipments can normal use, when being responsible for some The service of function when something goes wrong, if cannot be scheduled at the first time and restore, will make the normal use of user At very big influence, it is therefore desirable to a kind of strategy come guarantee when some cloud service when something goes wrong, can timely be serviced Scheduling and recovery.
In conclusion a kind of method for constructing scheduling and recovery that can be timely serviced is reality urgently to be resolved Problem, it is therefore necessary to propose the method and terminal device of a kind of cloud service scheduling and recovery based on fault detection.
Summary of the invention
In view of this, it is an object of the invention to construct a kind of side of cloud service scheduling and recovery based on fault detection Method, this method can be dispatched timely and restore the cloud service to go wrong, largely reduced to shadow caused by user security risk It rings, to promote the usage experience of intellectual product.
To achieve the above object, the first aspect of the present invention propose it is a kind of based on fault detection cloud service scheduling with it is extensive Multiple method, wherein the described method includes:
S1 the mapping table of multiple cloud services Yu spare cloud service) is established;
S2) in response to receiving detected fault message, the name of cloud service corresponding with the fault message is obtained Claim;
S3) based on the corresponding spare cloud clothes of mapping table lookup cloud service corresponding with the fault message The title of business;
S4 the request for being directed toward cloud service corresponding with the fault message) is switched into corresponding spare cloud service;With And
S5 reboot operation) is carried out to cloud service corresponding with the fault message.
The method of cloud service scheduling and recovery based on fault detection as described above, wherein described in step S1) Cloud service and the spare cloud service correspond.
The method of cloud service scheduling and recovery based on fault detection as described above, wherein in the event detected In the step of hindering information, monitoring center is monitored to obtain the operation of the multiple cloud service in real time the multiple cloud service State then sends failure message when the monitoring center detects some services exception.
The method of cloud service scheduling and recovery based on fault detection as described above, wherein described in response to receiving The request for being directed toward cloud service corresponding with the fault message is cut by the fault message that monitoring center is sent, control centre Shift to corresponding spare cloud service.
Based on fault detection cloud service scheduling and the method restored as described above, wherein the monitoring center is to each A server interval sends the request protocol of agreement, judges its operating status according to the result that the server returns.
The method of cloud service scheduling and recovery based on fault detection as described above, wherein restart behaviour in response to described Make, sends the title of cloud service corresponding with the fault message to maintenance personal to carry out investigation processing.
The second aspect of the present invention proposes a kind of device of cloud service scheduling and recovery based on fault detection, wherein Described device includes:
Mapping block is used to establish the mapping table of multiple cloud services Yu spare cloud service;
Failure obtains module, is used to obtain and the fault message phase in response to receiving detected fault message The title of corresponding cloud service;
Searching module is used to search cloud service corresponding with the fault message based on the mapping table opposite The title for the spare cloud service answered;
Switching module is used to switch to the request for being directed toward cloud service corresponding with the fault message corresponding standby Use cloud service;And
Restart module, is used to carry out reboot operation to cloud service corresponding with the fault message.
The third aspect of the present invention proposes a kind of computer-readable medium, wherein stores on the computer-readable medium There is computer program, wherein the cloud service tune based on fault detection as described above is realized when described program is executed by processor Degree and the method restored.
The fourth aspect of the present invention proposes a kind of processor, and the processor is for running program, wherein described program The method of cloud service scheduling and recovery based on fault detection as described above is executed when operation.
The fifth aspect of the present invention proposes a kind of terminal device, wherein the terminal device includes:
One or more processors;
Storage device is stored thereon with one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of places Manage the method that device realizes cloud service scheduling and recovery based on fault detection as described above.
The cloud service scheduling based on fault detection of the invention and the method restored by detection cloud service operating status into Row automatic dispatching and recovery, to solve the problems, such as the scheduling of cloud service in abnormal cases and recovery, to pass through this hair It is bright timely to dispatch and restore the cloud service to go wrong, it largely reduces on influence caused by user security risk, from And enterprise is improved to the usage experience of intellectual product.
Detailed description of the invention
Fig. 1 is the flow chart of the cloud service scheduling and the method restored based on fault detection of the embodiment of the present invention;
Fig. 2 is the flow chart of the cloud service scheduling and the method restored based on fault detection of the embodiment of the present invention;
Fig. 3 is the structural representation of the cloud service scheduling and the device restored provided in an embodiment of the present invention based on fault detection Figure;And
Fig. 4 is the structural schematic diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with specific embodiment, and reference Attached drawing, the present invention is described in more detail.
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that when we claim element to be " connected " or " coupling Connect " to another element when, it can be directly connected or coupled to other elements, or there may also be intermediary elements.In addition, this In " connection " or " coupling " that uses may include being wirelessly connected or wireless coupling.Wording "and/or" used herein includes one A or more associated whole for listing item or any cell and all combination.
It should be noted that all statements for using " first " and " second " are for differentiation two in the embodiment of the present invention The non-equal entity of a same names or non-equal parameter, it is seen that " first " " second " only for the convenience of statement, does not answer It is interpreted as the restriction to the embodiment of the present invention, subsequent embodiment no longer illustrates this one by one.
The technical solution for embodiment that the invention will now be described in detail with reference to the accompanying drawings.
As shown in Figure 1, the invention proposes a kind of, the method with recovery is dispatched in the cloud service based on fault detection, wherein The described method includes: S1) establish the mapping tables of multiple cloud services Yu spare cloud service;S2) in response to detected by reception Fault message, obtain the title of corresponding with fault message cloud service;S3) based on mapping table lookup and fault message The title of the corresponding spare cloud service of corresponding cloud service;S4 asking for cloud service corresponding with fault message will) be directed toward It asks and switches to corresponding spare cloud service;And S5) reboot operation is carried out to cloud service corresponding with fault message.
In one embodiment, as shown in Fig. 2, the side of the cloud service scheduling and recovery of the invention based on fault detection Method includes: scheduling process and recovery process.It specifically, include multiple cloud services and spare cloud service, example in cloud service cluster It such as, include cloud service A (can also referred to as service A), spare cloud service A (can abbreviation active service A), cloud service in cloud service cluster B and spare cloud service B.It certainly can also include other cloud services and spare cloud service, such as cloud service C, spare cloud service C Deng being not limited at this to the number of cloud service and spare cloud service in cloud service cluster, in scope of the present application It is interior.
In this cloud service cluster, the number of cloud service can be greater than or equal to the number of spare cloud service, for example, working as cloud When the number of service is greater than the number of spare cloud service, two or more cloud services and a spare cloud service foundation can be reflected It penetrates, and when one of cloud service in two or more cloud services is broken down, completes cloud using the above method in time and take Business scheduling and restore, when completing to restore (service A corresponding to fault message carries out restarting recovery), by mail or short Letter notice operation maintenance personnel carries out investigation processing, after the completion of processing, after can also switching to processing to the request of active service A Service A restore so that active service restores to idle state to stand-by state.
Preferably, the number of cloud service is equal to the number of spare cloud service.I.e. in above-mentioned steps S1, cloud service with it is spare Cloud service corresponds.
As shown in Fig. 2, the realization of method of the invention needs two important nodes, one is monitoring center, responsible pair All cloud services in cluster are monitored, and can get the operating status of each service in real time;The other is in scheduling The heart is responsible for cloud service all in management and scheduling cluster, while can receive the message from monitoring center.Work as monitoring center When detecting some services exception, failure message can be sent to control centre, after receiving message, control centre is switched to standby With service A, scheduling is completed.
Specific scheduling steps are as follows:
1, the mapping table of service with active service is established;
2, control centre receives the failure message of monitoring center, gets failed services title;
3, corresponding active service title is searched according to the mapping table in step 1;
4, script is directed toward service A and (illustratively refers to failure letter herein by the parameter in control centre's change configuration file The corresponding cloud service of manner of breathing) request be switched to active service A, complete scheduling.
The step of recovery are as follows:
After completing above-mentioned scheduling steps, control centre sends messages to cloud service cluster, restart to service A extensive It is multiple, and investigation processing is carried out by mail or short massage notice operation maintenance personnel.
Monitoring center is to send agreement according to certain time interval to the monitor mode of the service of the cloud service collection masses Request protocol judges its operating status to destination service, according to returning the result for destination service.For example, monitoring center and target take Communication protocol is appointed in returning the result for business in advance, for example returning to status code is 0, then it is assumed that service operation is normal, returns the result Then think that service is abnormal for other or return of coming to nothing.When detecting that it is abnormal that some service occurs, monitoring center uses HTTP Send messages to control centre, the process of scheduling are as follows: control centre corresponding active service is searched according to the title of failed services Then title completes switching;The mistake of recovery is known as: restarting program according to the title of service, completes to restore.
As shown in figure 3, the embodiments of the present invention also provide a kind of, the cloud service based on fault detection is dispatched and recovery Device, wherein the device 1 includes: mapping block 10, failure acquisition module 20, searching module 30, switching module 40 and restarts Module 50, wherein mapping block 10 is used to establish the mapping table of multiple cloud services Yu spare cloud service, and failure obtains module 20 for obtaining the title of cloud service corresponding with fault message, searching mould in response to receiving detected fault message Block 30 is used to cut based on the title of the corresponding spare cloud service of mapping table lookup cloud service corresponding with fault message Mold changing block 40 is used to the request for being directed toward cloud service corresponding with fault message switching to corresponding spare cloud service, Yi Jichong Module 50 is opened for carrying out reboot operation to cloud service corresponding with the fault message.
The embodiment of the present application provides a kind of computer-readable medium, is stored thereon with computer program, wherein the program The method of the cloud service scheduling and recovery based on fault detection of the above each method embodiment description is realized when being executed by processor.
The embodiment of the present application provides a kind of processor, and the processor is for running program, wherein real when the program is run The method of the cloud service scheduling and recovery based on fault detection of the now above each method embodiment description.
Present invention also provides a kind of computer program products, when executing on data processing equipment, so that at data The method that reason equipment realizes the cloud service scheduling and recovery based on fault detection of the above each method embodiment description.
Fig. 4 is a kind of schematic diagram for terminal device that one embodiment of the invention provides.As shown in figure 4, the end of the embodiment End equipment 6 includes: processor 60, memory 61 and is stored in the computer that can be run in memory 61 and on processor 60 Program 62, such as the program of the cloud service based on fault detection scheduling and recovery.Processor 60 executes real when computer program 62 Existing above-mentioned each cloud service scheduling based on fault detection and the step in the embodiment for the method restored, for example, it is above-mentioned shown in Step S1 to step S5.Alternatively, processor 60 realizes each module in above-mentioned each Installation practice/mono- when executing computer program 62 The function of member, such as the function of module 10 to 50 shown in Fig. 4.
Illustratively, computer program 62 can be divided into one or more module/units, one or more mould Block/unit is stored in memory 61, and is executed by processor 60, to complete the present invention.One or more module/units can To be the series of computation machine program instruction section that can complete specific function, the instruction segment is for describing computer program 62 at end Implementation procedure in end equipment 6.
Terminal device 6 can be desktop PC, notebook, palm PC and cloud server etc. and calculate equipment.Eventually End equipment 6 may include, but be not limited only to, processor 60, memory 61.It will be understood by those skilled in the art that Fig. 4 only terminal The example of equipment 6 does not constitute the restriction to terminal device 6, may include than illustrating more or fewer components, or combination Certain components or different components, for example, the terminal device can also include input-output equipment, network access equipment, Bus etc..
Alleged processor 60 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
Memory 61 can be the internal storage unit of terminal device 6, such as the hard disk or memory of terminal device 6.Storage Device 61 is also possible to the plug-in type hard disk being equipped on the External memory equipment of terminal device 6, such as terminal device 6, intelligent storage Block (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc.. Further, memory 61 can also both including terminal device 6 internal storage unit and also including External memory equipment.Memory 61 for other programs and data needed for storing computer program and terminal device 6.Memory 61 can be also used for temporarily Ground stores the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical 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, the functional units in various embodiments of the present invention may be integrated into 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 module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions Believe signal.
It should be understood by those ordinary skilled in the art that: the discussion of any of the above embodiment is exemplary only, not It is intended to imply that the scope of the present disclosure (including claim) is limited to these examples;Under thinking of the invention, above embodiments Or can also be combined between the technical characteristic in different embodiments, step can be realized with random order, and be existed such as Many other variations of the upper different aspect of the invention, for simplicity, they are not provided in details.
In addition, to simplify explanation and discussing, and in order not to obscure the invention, it can in provided attached drawing It is connect with showing or can not show with the well known power ground of integrated circuit (IC) chip and other components.Furthermore, it is possible to Device is shown in block diagram form, to avoid obscuring the invention, and this has also contemplated following facts, i.e., about this The details of the embodiment of a little block diagram arrangements be height depend on will implementing platform of the invention (that is, these details should It is completely within the scope of the understanding of those skilled in the art).Elaborating that detail (for example, circuit) is of the invention to describe In the case where exemplary embodiment, it will be apparent to those skilled in the art that can be in these no details In the case where or implement the present invention in the case that these details change.Therefore, these descriptions should be considered as explanation Property rather than it is restrictive.
Although having been incorporated with specific embodiments of the present invention, invention has been described, according to retouching for front It states, many replacements of these embodiments, modifications and variations will be apparent for those of ordinary skills.Example Such as, discussed embodiment can be used in other memory architectures (for example, dynamic ram (DRAM)).
In the technical solution that the present invention is implemented, first with designed depth convolutional neural networks model to natural scene Under instrument board information carry out feature extraction, then according to the information of extraction do number identification, pointer positioning and reading Determine.On the one hand the program solves natural scene on the basis of comparing and previous pointer instrument is combined to identify design Under instrument board information be difficult to the problem of extracting, on the other hand solve the problems, such as on instrument board that tilting digital identifies, be a kind of The good scheme of generalization height, strong robustness, versatility.
Those skilled in the art of the present technique are appreciated that the present invention includes being related to for executing in operation described herein One or more equipment.These equipment can specially design and manufacture for required purpose, or also may include general Known device in computer.These equipment have the computer program being stored in it, these computer programs are selectively Activation or reconstruct.Such computer program can be stored in equipment (for example, computer) readable medium or be stored in It e-command and is coupled in any kind of medium of bus respectively suitable for storage, the computer-readable medium includes but not Be limited to any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, only Read memory), RAM (Random Access Memory, immediately memory), EPROM (Erasable Programmable Read-Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or light card Piece.It is, readable medium includes by equipment (for example, computer) with any Jie for the form storage or transmission information that can be read Matter.Those skilled in the art of the present technique are appreciated that can realize these structure charts and/or block diagram with computer program instructions And/or the combination of each frame and these structure charts and/or the frame in block diagram and/or flow graph in flow graph.The art skill Art personnel be appreciated that these computer program instructions can be supplied to general purpose computer, special purpose computer or other can compile The processor of journey data processing method realizes, thus by computer or the processor of other programmable data processing methods come Execute the scheme specified in the frame or multiple frames of structure chart and/or block diagram and/or flow graph disclosed by the invention.
Those skilled in the art of the present technique have been appreciated that in the present invention the various operations crossed by discussion, method, in process Steps, measures, and schemes can be replaced, changed, combined or be deleted.Further, each with having been crossed by discussion in the present invention Kind of operation, method, other steps, measures, and schemes in process may also be alternated, changed, rearranged, decomposed, combined or deleted. Further, in the prior art to have and the step in various operations, method disclosed in the present invention, process, measure, scheme It may also be alternated, changed, rearranged, decomposed, combined or deleted.It should be understood by those ordinary skilled in the art that: to take up an official post The discussion of what embodiment is exemplary only, it is not intended that implies that the scope of the present disclosure (including claim) is limited to these examples Son;Under thinking of the invention, it can also be combined, walk between the technical characteristic in above embodiments or different embodiments Suddenly it can be realized with random order, and there are many other variations of different aspect present invention as described above, for simplicity They are not provided in details.Therefore, all within the spirits and principles of the present invention, any omission for being made, modification, equivalent Replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of method of cloud service scheduling and recovery based on fault detection, which is characterized in that the described method includes:
S1 the mapping table of multiple cloud services Yu spare cloud service) is established;
S2) in response to receiving detected fault message, the title of cloud service corresponding with the fault message is obtained;
S3) based on the corresponding spare cloud service of mapping table lookup cloud service corresponding with the fault message Title;
S4 the request for being directed toward cloud service corresponding with the fault message) is switched into corresponding spare cloud service;And
S5 reboot operation) is carried out to cloud service corresponding with the fault message.
2. the method for cloud service scheduling and recovery based on fault detection as described in claim 1, which is characterized in that in step S1 in), the cloud service and the spare cloud service are corresponded.
3. the method for cloud service scheduling and recovery based on fault detection as described in claim 1, which is characterized in that described In the step of fault message detected, monitoring center is monitored to obtain the multiple cloud in real time the multiple cloud service The operating status of service then sends failure message when the monitoring center detects some services exception.
4. the method for cloud service scheduling and recovery based on fault detection as claimed in claim 3, which is characterized in that in response to The fault message that the monitoring center is sent is received, control centre will be directed toward cloud clothes corresponding with the fault message The request of business switches to corresponding spare cloud service.
5. the method for cloud service scheduling and recovery based on fault detection as claimed in claim 3, which is characterized in that the prison Control center sends the request protocol of agreement to each server interval, judges its fortune according to the result that the server returns Row state.
6. the method for cloud service scheduling and recovery based on fault detection according to any one of claims 1 to 4, feature Be, in response to the reboot operation, to maintenance personal send the title of cloud service corresponding with the fault message with into The processing of row investigation.
Based on fault detection cloud service scheduling and the device that restores 7. a kind of, which is characterized in that described device includes:
Mapping block is used to establish the mapping table of multiple cloud services Yu spare cloud service;
Failure obtains module, is used to obtain corresponding with the fault message in response to receiving detected fault message Cloud service title;
Searching module is used to search cloud service corresponding with the fault message based on the mapping table corresponding The title of spare cloud service;
Switching module is used to the request for being directed toward cloud service corresponding with the fault message switching to corresponding spare cloud Service;And
Restart module, is used to carry out reboot operation to cloud service corresponding with the fault message.
8. a kind of computer-readable medium, is stored thereon with computer program, wherein realization when described program is executed by processor Such as the method for the cloud service scheduling and recovery as claimed in any one of claims 1 to 6 based on fault detection.
9. a kind of processor, the processor is for running program, wherein execute such as claim 1-6 when described program is run In it is any it is described based on fault detection cloud service scheduling and the method restored.
10. a kind of terminal device, comprising:
One or more processors;
Storage device is stored thereon with one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors The method for realizing the cloud service scheduling and recovery based on fault detection as described in any in claim 1-7.
CN201910796994.5A 2019-08-27 2019-08-27 Cloud service scheduling and recovering method based on fault detection and terminal equipment Pending CN110502326A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910796994.5A CN110502326A (en) 2019-08-27 2019-08-27 Cloud service scheduling and recovering method based on fault detection and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910796994.5A CN110502326A (en) 2019-08-27 2019-08-27 Cloud service scheduling and recovering method based on fault detection and terminal equipment

Publications (1)

Publication Number Publication Date
CN110502326A true CN110502326A (en) 2019-11-26

Family

ID=68590029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910796994.5A Pending CN110502326A (en) 2019-08-27 2019-08-27 Cloud service scheduling and recovering method based on fault detection and terminal equipment

Country Status (1)

Country Link
CN (1) CN110502326A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111143170A (en) * 2019-12-31 2020-05-12 北京云派网络科技有限公司 Cloud mobile phone monitoring system and method
CN111741077A (en) * 2020-05-29 2020-10-02 北京百度网讯科技有限公司 Network service scheduling method and device, electronic equipment and storage medium
CN112256498A (en) * 2020-11-17 2021-01-22 珠海大横琴科技发展有限公司 Fault processing method and device
CN115150400A (en) * 2022-07-05 2022-10-04 普联技术有限公司 Service fault processing method and device, cloud service platform and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168323A (en) * 2013-08-26 2014-11-26 天津书生投资有限公司 Cloud service system and method
CN107222320A (en) * 2016-03-22 2017-09-29 中兴通讯股份有限公司 The method and apparatus that Cloud Server cluster sets up High Availabitity connection
JP2018055518A (en) * 2016-09-30 2018-04-05 株式会社日立製作所 Disaster Recovery System
CN108289123A (en) * 2017-01-10 2018-07-17 横河电机株式会社 Cloud service control device, cloud service control system, cloud service control method and recording medium
CN108351823A (en) * 2015-10-22 2018-07-31 Netapp股份有限公司 It realizes and automatically switches
CN109445984A (en) * 2018-08-31 2019-03-08 成都华为技术有限公司 A kind of service restoration method, device, arbitrating server and storage system
CN109842505A (en) * 2017-11-27 2019-06-04 北京通号国铁城市轨道技术有限公司 A kind of cloud clustering fault processing method and processing device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168323A (en) * 2013-08-26 2014-11-26 天津书生投资有限公司 Cloud service system and method
CN108351823A (en) * 2015-10-22 2018-07-31 Netapp股份有限公司 It realizes and automatically switches
CN107222320A (en) * 2016-03-22 2017-09-29 中兴通讯股份有限公司 The method and apparatus that Cloud Server cluster sets up High Availabitity connection
JP2018055518A (en) * 2016-09-30 2018-04-05 株式会社日立製作所 Disaster Recovery System
CN108289123A (en) * 2017-01-10 2018-07-17 横河电机株式会社 Cloud service control device, cloud service control system, cloud service control method and recording medium
CN109842505A (en) * 2017-11-27 2019-06-04 北京通号国铁城市轨道技术有限公司 A kind of cloud clustering fault processing method and processing device
CN109445984A (en) * 2018-08-31 2019-03-08 成都华为技术有限公司 A kind of service restoration method, device, arbitrating server and storage system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111143170A (en) * 2019-12-31 2020-05-12 北京云派网络科技有限公司 Cloud mobile phone monitoring system and method
CN111741077A (en) * 2020-05-29 2020-10-02 北京百度网讯科技有限公司 Network service scheduling method and device, electronic equipment and storage medium
CN112256498A (en) * 2020-11-17 2021-01-22 珠海大横琴科技发展有限公司 Fault processing method and device
CN115150400A (en) * 2022-07-05 2022-10-04 普联技术有限公司 Service fault processing method and device, cloud service platform and storage medium
CN115150400B (en) * 2022-07-05 2024-04-30 普联技术有限公司 Service fault processing method and device, cloud service platform and storage medium

Similar Documents

Publication Publication Date Title
CN110502326A (en) Cloud service scheduling and recovering method based on fault detection and terminal equipment
CN104580424B (en) Data reporting method and device of intelligent home system
CN104065741A (en) Data collection system and method
CN106161060B (en) Data monitoring method and device
CN109618000A (en) Master-slave switching method, device and system of load balancing service and server
CN111737431B (en) Method and device for processing equipment exception, storage medium and electronic device
CN113516244B (en) Intelligent operation and maintenance method and device, electronic equipment and storage medium
CN105929697A (en) Smart home maintenance method and device and terminal
CN110380931A (en) Processing method, device, storage medium, processor and the system of connection status
CN107844406A (en) Method for detecting abnormality and system, service terminal, the memory of distributed system
CN108181546A (en) Localization method, positioning device and the terminal device of distribution network failure
CN109656783A (en) System platform monitoring method and device
CN109542928A (en) Mistake manages method, apparatus, storage medium and terminal device
CN104702647A (en) Information request method and information request system
CN110119314A (en) A kind of server calls method, apparatus, server and storage medium
CN109818808A (en) Method for diagnosing faults, device and electronic equipment
CN114157725B (en) Method, device, server, electronic equipment and storage medium for equipment linkage
CN115801548A (en) Communication control method, device, equipment and storage medium for daisy chain
CN116125200A (en) Line fault locating method, device, system, equipment and readable storage medium
CN109710442A (en) A kind of execution method and apparatus of task
CN112787868B (en) Information synchronization method and device
CN109033291A (en) A kind of job scheduling method, device, computer equipment and storage medium
CN113673917A (en) Intelligent matching method based on type and position of factory equipment
CN107317721A (en) It is automatically signing in method, device, computer equipment and user terminal
CN102036116A (en) Method and system for obtaining standby information based on web television

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191126

RJ01 Rejection of invention patent application after publication