Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and apparatus for providing application service, and electronic device

A technology of application programs and sub-modules, applied in the directions of response error generation, electrical digital data processing, non-redundancy-based fault handling, etc., can solve the problems of application business interruption, high cost of application program high availability, and high cost.

Active Publication Date: 2016-10-12
KINGSOFT
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the node (application) that exits abnormally needs to be manually restarted, special operation and maintenance personnel need to be equipped, which makes maintaining high availability of the application program expensive and expensive; furthermore, if the operation and maintenance personnel fail to restart in time Start the node (application) that exits due to abnormality. When the currently running node also exits due to abnormality, the provided application business will be interrupted, thereby reducing the availability of the application.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for providing application service, and electronic device
  • Method and apparatus for providing application service, and electronic device
  • Method and apparatus for providing application service, and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0108] Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0109] It should be clear that the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0110] figure 1 A schematic flowchart of a method for application services is provided for an embodiment of the present invention. see figure 1 , the method includes:

[0111] Step 11, constructing two application program nodes for the application program in the management cluster system of the electronic equipment;

[0112] In this step, as an optional embodiment, the management cluster system is a Zookeeper cluster system. The Zookeeper cluster system is a distributed, open-source, high-availability coordinatio...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the present invention disclose a method and an apparatus for providing an application service, and an electronic device. The method comprises: in a cluster management system of the electronic device, constructing two application nodes for an application; starting the two constructed application nodes, and separately configuring a master application mode and a backup application node; after the master application node has an anomaly, setting the configured backup application node as the master application node; and calling a command line that is pre-injected into the cluster management system and that is used for starting the application node, restarting the master application mode that has the anomaly, and setting the master application node that has the anomaly as the backup application node. By applying the method and apparatus, and the electronic device which are disclosed by the present invention, the usability of applications for providing application services can be enhanced.

Description

technical field [0001] The invention relates to computer communication reliability technology, in particular to a method, device and electronic equipment for providing application services. Background technique [0002] With the continuous development of computer communication and Internet technology, the application of electronic equipment is becoming more and more common. For example, smart mobile phones, personal digital assistants, handheld computers and desktop computers have been used more and more widely. There are also more and more various computer applications (APP, Application). However, as the application program is deployed and launched on the electronic device, due to various factors, such as code bugs, insufficient disk space, downtime, application program vulnerabilities, etc., the application program will be suspended or exited, resulting in The application service provided by the program is interrupted, which brings inconvenience to the user of the applica...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/07
CPCG06F11/0748G06F11/0793
Inventor 潘洪安
Owner KINGSOFT
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products