Unlock instant, AI-driven research and patent intelligence for your innovation.

Service acquisition method and device, storage medium and computer equipment

An acquisition method and acquisition device technology, applied in the field of distributed application coordination service ZooKeeper, can solve problems such as repeated scheduling or scheduling conflicts

Inactive Publication Date: 2018-05-22
HAIER YOUJIA INTELLIGENT TECH (BEIJING) CO LTD +1
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention provides a service acquisition method, device, storage medium and computer equipment, which are used to solve the problems of repeated scheduling or scheduling conflicts in the execution of services in the prior art.

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
  • Service acquisition method and device, storage medium and computer equipment
  • Service acquisition method and device, storage medium and computer equipment
  • Service acquisition method and device, storage medium and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to solve the problems of repeated scheduling or scheduling conflicts in the execution of services in the prior art, the present invention provides a service acquisition method and storage medium. The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments . It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0026] The first embodiment of the present invention provides a service acquisition method, the flow chart of which is as follows figure 2 As shown, specifically steps S201 to S203 are included:

[0027] S201. Determine the modulus value corresponding to the scheduled service;

[0028] S202, detecting whether the server identification number corresponding to the list number with the same modulus value in the preset server list is the same as its own server identification number;

[0029]...

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 discloses a service acquisition method and device, a storage medium and computer equipment. The method comprises the following steps: acquiring modulus values corresponding to predetermined services; detecting whether server identification numbers corresponding to list numbers with the same modulus values in a preset server list are the same as own server identification numbers or not; and under the situation that the server identification numbers are the same as the own server identification numbers, acquiring the predetermined services. Modulus values corresponding to service serial numbers are calculated since different services have different service serial numbers, and which servers are to process the predetermined services actually are determined according to the modulus values, so that the servers only need to acquire predetermined services needing to be processed by the servers rather than other servers; the situation that a plurality of tasks process the same service on different servers at the same time is avoided; and the problems of repeated scheduling or scheduling conflict and the like during execution of the services in the prior art are solved.

Description

technical field [0001] The invention relates to the distributed application program coordination service ZooKeeper technology, in particular to a service acquisition method, device, storage medium and computer equipment. Background technique [0002] ZooKeeper is a distributed, open source distributed application coordination service. It is an open source implementation of Google's distributed file system Chubby. It is the manager of the cluster and monitors the status of each node in the cluster according to the feedback submitted by the node. Carry out reasonable operations in the next step, and finally, provide users with a simple and easy-to-use interface and a system with high performance and stable functions. [0003] figure 1 It is a schematic diagram of ZooKeeper's data model structure, such as figure 1 As shown, the structure of the ZooKeeper data model is similar to the Unix file system, which can be regarded as a tree as a whole, and each node is called a ZNode,...

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 Applications(China)
IPC IPC(8): H04L29/08G06F9/50
CPCG06F9/5027G06F9/5061H04L67/1044H04L67/1046
Inventor 蒋鹏
Owner HAIER YOUJIA INTELLIGENT TECH (BEIJING) CO LTD