19-11-2020 дата публикации
Номер: US20200364095A1
Принадлежит:
The present application provides a method, a cluster system, an electronic device for operating a device, and a readable storage medium, involving the technical field of clusters. Sequential data operations on the communication device is implemented through the cooperation between the first cluster and the second cluster. The first nodes in the first cluster compete for the first distributed lock to implement sequential storage of the data operation requests. The second nodes in the second cluster compete for the second distributed lock to obtain the stored data operation requests sequentially, and complete the data operations on the target communication device. 1. A method for operating a device , which is applicable to a cluster system , wherein the cluster system comprises a first cluster and a second cluster , the first cluster comprises a plurality of first nodes , the second cluster comprises a plurality of second nodes , and the method comprises:obtaining, by at least two first nodes in the first cluster respectively, at least two data operation requests for a target communication device;performing competition, between the at least two first nodes, for a first distributed lock that is preset for the target communication device;storing the obtained data operation request by a first node that obtains the first distributed lock through competition;performing competition, between the second nodes in the second cluster, for a second distributed lock preset for the target communication device;obtaining, by a second node that obtains the second distributed lock through competition, a data operation request from stored data operation requests according to storage time information of the stored data operation requests, so as to perform a data operation on the target communication device.2. The method for operating a device of claim 1 , wherein claim 1 ,the data operation requests comprise identification information of the target communication device;performing ...
Подробнее