A method and apparatus for distribute lock scheduling

A technology of distributed lock and scheduling method, which is applied in the field of Internet and cloud computing, which can solve problems such as occupation, Partition data access service interruption, and Master process sending service status information, so as to ensure normal working status and maintain continuity.

Active Publication Date: 2019-01-22
ALIBABA GRP HLDG LTD
View PDF12 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The actual distributed concurrency environment is often complicated and difficult to control. If the writing system disk of the machine where the Worker process is located fails, the following situation may occur: The heartbeat between the Worker process and the distributed consistency server is normal, that is, the Worker process fails before the session times out. The he

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

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0032] In order to enable those skilled in the art to better understand the technical solutions in this application, the following will clearly and completely describe the technical solutions in the embodiments of this application with reference to the drawings in the embodiments of this application. Obviously, the described The embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work should fall within the protection scope of this application.

[0033] In order to be able to clearly describe the technical solution of the present application, the technical environment of the present application is introduced through specific scenarios below.

[0034] On the client side of a large-scale distributed system, when performing large-scale data processing, the large-scale overall data can be divided into mu

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 application disclose a distributed lock scheduling method and apparatus. The method comprises the following steps: when a service process is started, a distributed lock anda session corresponding to the service process are created; if the service process fails and is disconnected from the scheduling process of the service process, and the scheduling process is restartedand a new scheduling process is generated, the new scheduling process obtains the identification information of the service process. The new scheduling process acquires at least one distributed lockassociated with the identification information according to the identification information, and acquires at least one historical session associated with the distributed lock according to the at leastone distributed lock, the at least one historical session including the session. The embodiment of the method and the device can ensure the normal working state of the client and maintain the continuity of the packet data access service of other service clients.

Description

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

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
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products