Check patentability & draft patents in minutes with Patsnap Eureka AI!

A method and apparatus for allocate service identifiers

A technology of business identification and distribution method, which is applied in the computer field, can solve problems such as the difficulty of business identification, the inability to guarantee the uniqueness of business data business identification, and the inability to meet the system's high concurrency capability and global uniqueness, so as to improve high concurrency and The effect of high availability

Inactive Publication Date: 2019-02-26
珠海天燕科技有限公司
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Wherein, for the service ID allocation process provided in the prior art, after the service system receives the caller's service ID allocation request, it obtains the service ID from the distributed service node, and then assigns the acquired service ID to the corresponding caller , in the case of a relatively large amount of requests, it is more difficult for multiple distributed service nodes to generate a distributed global unique self-incrementing business identifier, and it may happen that the business identifiers obtained by the business system from multiple distributed service nodes are the same , leading to the situation that the same business ID is assigned to multiple callers, resulting in the inability to guarantee the uniqueness of the business ID corresponding to the business data, and thus unable to meet the high concurrency and global uniqueness of the 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
  • A method and apparatus for allocate service identifiers
  • A method and apparatus for allocate service identifiers
  • A method and apparatus for allocate service identifiers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0041] The embodiment of the present application provides a method and device for allocating service identifiers. For multiple service identifiers obtained from different distributed service nodes, the service system selects different service identifiers for storing in the local queue, and receives After the caller's allocation request, t...

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

A method and apparatus for allocate service identifiers are provided in embodiments of that present application, A service identifier satisfying a preset condition is selected from a plurality of service identifiers according to a preset modulo operation in advance and stored in a local queue, and the preset conditions for different distributed service nodes are different, such that for a plurality of service identifiers obtained from different distributed service nodes, A service identifier selected by the service system for storing in a local queue is different from each other, after receiving the caller's assignment request, the service ID is directly selected from the local queue and assigned to the caller, and when the service identifiers in the local queue are assigned, The service identifier joining operation is executed again, so that even if the service system obtains the same service identifier from multiple distributed service nodes at the same time, the service identifier duplicate assignment can be avoided due to the introduction of the module selection mechanism, the high concurrency capability and the high availability of the system can be improved, and the effect ofglobal uniqueness and trend self-increasing can be achieved.

Description

technical field [0001] The present application relates to the field of computers, and in particular to a method and device for allocating service identifiers. Background technique [0002] At present, with the rapid development of Internet technology, the growth rate of business data generated in the process of business processing is getting faster and faster. In order to facilitate the efficient management of business data, a unique identifier needs to be used for any business processing process Uniquely mark the generated business data. Specifically, when the business processing server processes the business request of the client, it needs to use a unique identifier to mark the generated business data. [0003] For example, in the case where the business processing server is an order system, after the shopping is completed, the order system generates the order data for this purchase. Before generating the order data, the order system requests the business system to assign...

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): G06F9/54G06Q10/06
CPCG06F9/546G06Q10/0631
Inventor 鄢华健李涛
Owner 珠海天燕科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More