Method for assigning resource IDs and ID segments
A technology for allocating resources and identifying segments, which is applied in the field of Internet communication and can solve the problem that the global uniqueness of resource IDs cannot be guaranteed.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] Such as figure 1 As shown, the embodiment of the present invention provides a method for allocating resource identifiers, including:
[0049] Step 101: Receive a new resource request message, the new resource request message carries the resource type of the resource requested by the user;
[0050] Step 102: Establish a resource corresponding to the resource type, assign an unallocated resource ID to the resource according to the stored correspondence between the resource type and the ID segment and the resource type, and the ID segment includes continuous unallocated resource IDs;
[0051] Step 103: Send a new resource response message, where the new resource response message carries the resource ID allocated for the resource.
[0052] In the embodiment of the present invention, a new resource request message carrying a resource type is received, a resource corresponding to the resource type is established, and an unallocated resource ID is assigned to the resource acc...
Embodiment 2
[0054] An embodiment of the present invention provides a method for allocating resource identifiers. This embodiment applies to figure 2 In the network architecture shown, the user sends a new resource request message to the distributed system to request the distributed system to create resources, and the new resource request message is routed to an application server in the distributed system, and the application server builds the resource requested by the user. resources, and use the method provided by this implementation to assign resource IDs to the established resources, see image 3 , the method includes:
[0055] Step 201: the application server receives a new resource request message sent by the user, and the new resource request message carries the resource type of the resource requested by the user;
[0056] Among them, see figure 2 , the distributed system includes one or more application servers and an identification segment allocation server; each application...
Embodiment 3
[0099] Such as Figure 4 As shown, the embodiment of the present invention provides a method for allocating an identification segment corresponding to a resource type, including:
[0100] Step 301: receiving an ID allocation request message sent by an application server, the ID allocation request message carrying a resource type;
[0101] Step 302: According to the corresponding relationship between the stored resource type and the allocated maximum resource ID, assign an ID segment to the resource type, and the ID segment includes a number of consecutive preset resource IDs;
[0102] Step 303: Send an ID allocation response message to the application server, where the ID allocation response message carries the allocated ID segment.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap