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

Distributed system server online and offline method and server

A distributed system and server technology, applied in the field of computer networks, can solve problems such as user influence, poor stability of distributed systems, and call failures, and achieve the effect of avoiding negative influences, ensuring success rate, and improving stability

Active Publication Date: 2018-12-14
ALIBABA GRP HLDG LTD
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the end, when the server of the application system restarts or goes online, the problem of call failure will occur, which will affect users and lead to poor stability of the distributed system

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
  • Distributed system server online and offline method and server
  • Distributed system server online and offline method and server
  • Distributed system server online and offline method and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] figure 2 It is the flow chart of the offline method of the distributed system server provided by this embodiment, such as figure 2 As shown, the distributed system server offline method of this application includes:

[0041] S201. When the server of the application program receives an offline instruction sent by the control terminal of the application program, the server runs an offline operation and maintenance script.

[0042] When an application system needs to be restarted, for example, when it needs to update or add new functions or upgrade or expand capacity, or the application system is newly launched, there will be a situation where the distributed system server goes offline.

[0043] The operation and maintenance system shuts down the application systems that need to be updated in batches (that is, shuts down the servers corresponding to the application programs). The operation and maintenance system has a man-machine interface. The operation and maintenanc...

Embodiment 2

[0063] image 3 A specific processing flow chart of a distributed system server offline method provided in the embodiment of the present application, as shown in image 3 As shown, the offline method of the distributed system server includes:

[0064] S301. The server receives an offline instruction sent by the control terminal of the application program, runs an offline operation and maintenance script, and prepares for offline.

[0065] S302. The server judges whether the offline operation and maintenance script invokes the offline control command, and if so, proceeds to S304; otherwise, proceeds to S303.

[0066] The operation and maintenance personnel can modify the offline operation and maintenance script, and add an offline control command to the operation and maintenance script. If there is an offline control command in the offline operation and maintenance script, S304 and S305 can be directly executed.

[0067] If the offline operation and maintenance script is the ...

Embodiment 3

[0080] Figure 4 It is a flow chart of the distributed system server online method provided by the embodiment of this application, such as Figure 4 As shown, the online method includes:

[0081] S401. Perform server initialization when the server of the application program is online.

[0082] S402 , judging whether the initialization is successful, if yes, go to S403 , otherwise go to S405 .

[0083] After S401, the server needs to determine whether the initialization is successful. Items to be initialized by the server may include: loading data in the server cache, confirming whether the service to be called is available, and judging whether to enable the function of receiving web service requests.

[0084]The items that need to be initialized in the service area of ​​different applications can be different. For example, some applications may need to load the database or call other services, and some may not.

[0085] Correspondingly, when the server judges whether the i...

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

The invention relates to online and off line methods of a distributed system server, and the server. The offline method comprises the steps that when the server of an application program receives an offline instruction sent by a control end of the application program, the server operates an offline operation script; the server sends a first notification message to a configuration center of the distributed system, and the first notification message is used for notifying the configuration center to delete the address information of the server from an address service book; the server sends a second notification message to a client end calling the server, and the second notification message is used for notifying the client end to stop sending requests; and after a preset first time, the server stops the process of the server so as to enable the server to be offline. The methods and device provided by the invention can effectively avoid a calling failure problem of the client end of the server in the online and offline processes of the server of the application program, so that the stability of the distributed system is relatively good.

Description

technical field [0001] The present application relates to the technical field of computer networks, in particular to a method for logging on and off a distributed system server and the server. Background technique [0002] As the number of users and website traffic of e-commerce websites (such as Taobao, etc.) continue to increase, the number and complexity of application systems also increase sharply. Many front-end systems need to use some common business logic. These business logics usually have some common features, such as obtaining user information or querying baby details. If these business logics are implemented in each system, the development cost and later maintenance cost will be greatly increased. It is imperative to implement the SOA architecture through vertical splitting according to the business domain model. Service Oriented Architecture (SOA) is a component model that links different functional units of an application (called services) through well-defined...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08H04L29/06
Inventor 吕仁琦
Owner ALIBABA GRP HLDG LTD
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