Data processing method and device, equipment, storage medium and product

By replicating and resetting the logical resource generator, a connection is established between objects within a local scope and the logical resource generator, solving the problem of resource identifier management after the isolation of Internet data centers, and realizing the effective management and allocation of resource identifiers.

CN120910056APending Publication Date: 2025-11-07TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410552088.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-06
Publication Date
2025-11-07

AI Technical Summary

Technical Problem

After internet data centers are isolated in a localized area, how to effectively manage the resource identification of objects has become a research hotspot, especially when data management strategies differ in different localized areas.

Method used

Copy and reset the logical resource generator, establish a connection between objects within a local scope and the logical resource generator, manage resource identifiers through the logical resource generator, and ensure that only traffic and allocated resource identifiers within this scope are retained.

Benefits of technology

It enables effective management of object resource identifiers after the Internet data center is isolated within a local area, ensuring the uniqueness of resource identifiers and allocation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120910056A_ABST
    Figure CN120910056A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a data processing method and device, equipment, a storage medium and a product. The method comprises the steps of copying a first logic resource generator to obtain a second logic resource generator, performing resource identifier resetting on the second logic resource generator to obtain a logic resource generator corresponding to a second range, and establishing connection between objects in the second range and the logic resource generator corresponding to the second range, and managing the resource identifiers of the objects in the second range through the logic resource generator corresponding to the second range. Visibly, by removing the allocated resource identifier irrelevant to the second range, the logic resource generator corresponding to the second range can be obtained. And deploying the logic resource generator corresponding to the second range in the second range, and establishing a connection between the object in the second range and the logic resource generator corresponding to the second range, so that the purpose of managing the resource identifier of the object in the second range can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer, in particular to a data processing method, a data processing device, a computer device, a computer readable storage medium and a data processing product. BACKGROUND

[0002] With the progress of scientific research, cloud technology is widely used in people's daily life because of its flexible use of on-demand allocation. Cloud technology includes cloud object storage, which manages resource identifiers of objects (such as clusters) in a target range through a logical resource generator; for example, the logical resource generator allocates resource identifiers to objects in the target range. Research has found that when a local range in the target range has a different data management strategy from other local ranges, the Internet data center in the local range needs to be isolated. How to manage the resource identifiers of the objects in the local range after the Internet data center in the local range is isolated has become a hot research topic. SUMMARY

[0003] The embodiments of the present application provide a data processing method, device, equipment, computer readable storage medium and product, which can manage the resource identifiers of the objects in the local range.

[0004] In one aspect, the embodiments of the present application provide a data processing method, comprising:

[0005] copying the first logical resource generator to obtain a second logical resource generator, the first logical resource generator and the second logical resource generator both including the resource identifiers allocated in the first range, the first range including a second range and a third range;

[0006] resetting the resource identifiers of the second logical resource generator to obtain a logical resource generator corresponding to the second range, the logical resource generator corresponding to the second range including the resource identifiers allocated in the second range;

[0007] deploying the logical resource generator corresponding to the second range in the second range, and establishing a connection between the objects in the second range and the logical resource generator corresponding to the second range;

[0008] managing the resource identifiers of the objects in the second range through the logical resource generator corresponding to the second range.

[0009] In the embodiment of the present application, the first logical resource generator is copied to obtain a second logical resource generator, the resource identifier of the second logical resource generator is reset to obtain a logical resource generator corresponding to the second range, the connection between the objects in the second range and the logical resource generator corresponding to the second range is established, and the resource identifier of the objects in the second range is managed through the logical resource generator corresponding to the second range. It can be seen that the logical resource generator corresponding to the second range can be obtained by removing the allocated resource identifiers irrelevant to the second range. The logical resource generator corresponding to the second range is deployed in the second range, and the connection between the objects in the second range and the logical resource generator corresponding to the second range is established, so that the purpose of managing the resource identifier of the objects in the second range through the logical resource generator corresponding to the second range is achieved.

[0010] In one aspect, the embodiment of the present application provides a data processing method, comprising:

[0011] In response to the completion of the resource identifier reset of the second logical resource generator, the first logical resource generator is subjected to traffic switching processing; the second logical resource generator is obtained by copying the first logical resource generator; the first logical resource generator includes the allocated resource identifiers in the first range, and the first range includes the second range and a third range;

[0012] The first logical resource generator subjected to the traffic switching processing is subjected to resource identifier reset to obtain a logical resource generator corresponding to the third range, and the logical resource generator corresponding to the third range includes the allocated resource identifiers in the third range;

[0013] The logical resource generator corresponding to the third range is deployed in the third range;

[0014] The resource identifier of the objects in the third range is managed through the logical resource generator corresponding to the third range.

[0015] In the embodiment of the present application, in response to the completion of the resource identifier reset of the second logical resource generator, the first logical resource generator is subjected to traffic switching processing, the first logical resource generator subjected to the traffic switching processing is subjected to resource identifier reset to obtain a logical resource generator corresponding to the third range, the logical resource generator corresponding to the third range is deployed in the third range, and the resource identifier of the objects in the third range is managed through the logical resource generator corresponding to the third range. It can be seen that the logical resource generator corresponding to the third range can be obtained by removing the irrelevant traffic and the allocated resource identifiers in the first logical resource generator. The logical resource generator corresponding to the third range is deployed in the third range, so that the purpose of managing the resource identifier of the objects in the third range through the logical resource generator corresponding to the third range is achieved.

[0016] In one aspect, an embodiment of the present application provides a data processing apparatus, comprising:

[0017] a processing unit configured to copy the first logical resource generator to obtain a second logical resource generator, the first logical resource generator and the second logical resource generator each comprising resource identifiers allocated in a first range, the first range comprising a second range and a third range;

[0018] and reset the resource identifiers of the second logical resource generator to obtain a logical resource generator corresponding to the second range, the logical resource generator corresponding to the second range comprising resource identifiers allocated in the second range;

[0019] a deployment unit configured to deploy the logical resource generator corresponding to the second range in the second range and establish a connection between an object in the second range and the logical resource generator corresponding to the second range;

[0020] the processing unit is further configured to manage the resource identifiers of the object in the second range through the logical resource generator corresponding to the second range.

[0021] In one embodiment, the processing unit is configured to copy the first logical resource generator to obtain the second logical resource generator, and specifically configured to:

[0022] configure an initial logical resource generator based on the configuration information;

[0023] copy a data directory in the first logical resource generator to the initial logical resource generator to obtain the second logical resource generator, the data directory comprising resource identifiers allocated in the first range.

[0024] In one embodiment, the logical resource generator corresponding to the second range comprises a resource identifier configurator; the processing unit is configured to manage the resource identifiers of the object in the second range through the logical resource generator corresponding to the second range, and specifically configured to:

[0025] periodically detect the allocable resource identifiers associated with the second range;

[0026] when it is detected that the allocable resource identifiers associated with the second range meet resource identifier application conditions, send a resource identifier request to a resource identifier manager through the resource identifier configurator, the resource identifier request being used to apply for a new resource identifier;

[0027] wherein the resource identifier application conditions comprise at least one of the following: a number of currently remaining allocable resource identifiers is lower than a number threshold, a current resource identifier expectation value reaches an expectation threshold; the resource identifier expectation value is obtained based on detection results of at least two allocable resource identifiers.

[0028] In an implementation, the resource identifier manager is not in the second range; the processing unit is configured to send, by the resource identifier configurator, a resource identifier request to the resource identifier manager when it is detected that the allocable resource identifier associated with the second range meets the resource identifier application condition, and specifically configured to:

[0029] When it is detected that the allocable resource identifier associated with the second range meets the resource identifier application condition, the resource identifier request is processed by the resource identifier configurator to make the resource identifier manager reserve the resource identifier based on the resource identifier request in the blockchain network.

[0030] In an implementation, the processing unit is further configured to:

[0031] obtain response information of the resource identifier request, the response information including an interval of the allocable resource identifier issued by the resource identifier manager;

[0032] update the allocable resource identifier associated with the second range based on the interval of the allocable resource identifier issued by the resource identifier manager.

[0033] In an implementation, the logical resource generator corresponding to the second range includes the resource identifier configurator; the objects in the second range include an operation support system and at least one cluster; the processing unit is configured to manage, by the logical resource generator corresponding to the second range, the resource identifier of the objects in the second range, and specifically configured to:

[0034] allocate, by the resource identifier configurator, the allocable resource identifier associated with the second range according to the demand information when it is detected that the demand information in the second range;

[0035] The demand information includes a cluster identifier demand and a space identifier demand; the cluster identifier demand is generated by the operation support system when a new cluster is created in the second range; the space identifier demand is generated by a data storage engine carried by any cluster in the second range when the space of the cluster is insufficient.

[0036] In an implementation, the logical resource generator corresponding to the second range includes the resource identifier configurator; the processing unit is further configured to:

[0037] persist the association information of the resource identifier configurator to obtain a resource identifier configuration record;

[0038] The association information of the resource identifier configurator includes at least one of the following: an applied resource identifier, an allocated resource identifier, and an unallocated resource identifier; the resource identifier configuration record is used to assist the resource identifier configurator to determine the configuration of the resource identifier in the second range after restart.

[0039] In an embodiment, the processing unit is configured to perform resource identification resetting on the second logical resource generator to obtain a logical resource generator corresponding to the second range, and specifically configured to:

[0040] start the second logical resource generator;

[0041] remove, from the allocated resource identifiers in the first range, the allocated resource identifiers other than the second range to obtain the logical resource generator corresponding to the second range.

[0042] In an aspect, an embodiment of the present application provides a data processing apparatus, which comprises:

[0043] a processing unit configured to perform traffic switching processing on the first logical resource generator in response to completion of resource identification resetting of the second logical resource generator, the second logical resource generator being obtained by copying the first logical resource generator, the first logical resource generator comprising allocated resource identifiers in a first range, the first range comprising a second range and a third range;

[0044] and perform resource identification resetting on the first logical resource generator after the traffic switching processing to obtain a logical resource generator corresponding to the third range, the logical resource generator corresponding to the third range comprising allocated resource identifiers in the third range;

[0045] a deployment unit configured to deploy the logical resource generator corresponding to the third range in the third range;

[0046] the processing unit is further configured to manage resource identifiers of objects in the third range through the logical resource generator corresponding to the third range.

[0047] In an embodiment, the logical resource generator corresponding to the third range comprises a resource identifier manager, the resource identifier manager carrying first division information, the first division information being used to indicate that the second range and the third range are not isolated from each other, and the processing unit is further configured to:

[0048] perform division mode resetting on the resource identifier manager to obtain a logically reset resource identifier manager, the logically reset resource identifier manager carrying second division information, the second division information being used to indicate that the second range and the third range are isolated from each other.

[0049] In an embodiment, the resource identifier manager carries boundary indication information, the boundary indication information being used to indicate a boundary between the applied resource identifiers and the unapplied resource identifiers in the first range, and the processing unit is further configured to:

[0050] obtain a resource identifier request, the resource identifier request comprising a quantity of resource identifiers to be applied;

[0051] In response to the resource identifier request being verified, based on the number of resource identifiers and the boundary indication information, a resource identifier reserved interval corresponding to the resource identifier request is determined.

[0052] According to the resource identifier reserved interval, a resource identifier is issued to the resource identifier requestor, and response information of the resource identifier request is generated; the response information includes an interval of the resource identifier issued by the resource identifier manager.

[0053] In an embodiment, the processing unit is configured to obtain a resource identifier request, and specifically configured to:

[0054] Periodically detecting the blockchain;

[0055] When it is detected that the resource identifier request is included in the new block, the resource identifier request is obtained from the blockchain network.

[0056] In an embodiment, the third range corresponds to a logical resource generator including a resource identifier manager; the processing unit is further configured to:

[0057] The association information of the resource identifier manager is persisted to obtain a resource identifier management record;

[0058] The association information of the resource identifier manager includes at least one of the following: response information of the resource identifier request, an identifier of the sender of the resource identifier request, and a reserved space corresponding to the resource identifier request; the resource identifier management record is used to assist the resource identifier manager to determine the management situation of the resource identifier in the first range after restart.

[0059] In an embodiment, the first logical resource generator is set to a write-prohibited state before being copied; the processing unit is further configured to:

[0060] The third range corresponds to a logical resource generator set to a write-allowed state.

[0061] Correspondingly, the present application provides a computer device, which comprises:

[0062] A memory, wherein the memory stores a computer program;

[0063] A processor configured to load the computer program to implement the above data processing method.

[0064] Correspondingly, the present application provides a computer readable storage medium, which stores a computer program, and the computer program is suitable for being loaded by a processor and executing the above data processing method.

[0065] Correspondingly, the present application provides a computer program product or computer program, which comprises computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned data processing method.

[0066] In the embodiment of the present application, the logic resource generator copying party copies the first logic resource generator to obtain a second logic resource generator, resets the resource identifier of the second logic resource generator to obtain a logic resource generator corresponding to the second range, establishes a connection between the objects in the second range and the logic resource generator corresponding to the second range, and manages the resource identifier of the objects in the second range through the logic resource generator corresponding to the second range. The logic resource generator is copied by the copying party, and in response to the completion of the resource identifier resetting of the second logic resource generator, the first logic resource generator is subjected to traffic switching processing, the first logic resource generator subjected to the traffic switching processing is subjected to resource identifier resetting to obtain a logic resource generator corresponding to a third range, the logic resource generator corresponding to the third range is deployed in the third range, and the resource identifier of the objects in the third range is managed through the logic resource generator corresponding to the third range. It can be seen that, by copying the logic resource generator and performing corresponding configuration, the logic resource generator corresponding to any range only retains the traffic corresponding to the range and the allocated resource identifier. By deploying the logic resource generators corresponding to the respective ranges in the corresponding ranges, the resource identifier of the objects in the local range can be managed after the local range of the Internet data center is isolated. BRIEF DESCRIPTION OF DRAWINGS

[0067] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description only constitute some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained from these drawings without creative labor.

[0068] Figure 1a A schematic diagram of the architecture of a data sharing system provided for the embodiments of the present application is shown in the figure.

[0069] Figure 1b A schematic diagram of the architecture of a data sharing system provided for the embodiments of the present application is shown in the figure.

[0070] Figure 1c A schematic diagram of the architecture of a data sharing system provided for the embodiments of the present application is shown in the figure.

[0071] Figure 1d A schematic diagram of the architecture of a data sharing system provided for the embodiments of the present application is shown in the figure.

[0072] Figure 2 A flow chart of a data processing method provided for an embodiment of the present application is shown in FIG. 1.

[0073] Figure 3 A flow chart of another data processing method provided for an embodiment of the present application is shown in FIG. 2.

[0074] Figure 4a A splitting process schematic diagram of a logical resource generator provided for an embodiment of the present application is shown in FIG. 3.

[0075] Figure 4b A relationship diagram between a resource identifier configurator and a resource identifier manager provided for an embodiment of the present application is shown in FIG. 4.

[0076] Figure 4c An information interaction architecture diagram of a logical resource generator provided for an embodiment of the present application is shown in FIG. 5.

[0077] Figure 5 A structural schematic diagram of a data processing apparatus provided for an embodiment of the present application is shown in FIG. 6.

[0078] Figure 6 A structural schematic diagram of another data processing apparatus provided for an embodiment of the present application is shown in FIG. 7.

[0079] Figure 7 A structural schematic diagram of a computer device provided for an embodiment of the present application is shown in FIG. 8. DETAILED DESCRIPTION

[0080] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.

[0081] The embodiments of the present application relate to cloud technology and blockchain technology. The related terms and concepts of cloud technology and blockchain technology are briefly introduced as follows:

[0082] Cloud technology refers to a kind of hosting technology that unifies a series of resources such as hardware, software, network, etc. in a wide area network or local area network to realize data calculation, storage, processing and sharing. Cloud technology is a general term of network technology, information technology, integration technology, management platform technology, application technology, etc. applied based on cloud computing business model. Cloud technology can form a resource pool by combining resources in the network, and allocate resources on demand, making the use of resources more flexible and convenient.

[0083] Cloud Computing is a computing mode that distributes computing tasks on a large number of computing resources, so that various application systems can obtain computing power, storage space and information services according to needs. The network providing resources is called "cloud". The resources in the "cloud" are infinitely expandable and can be obtained at any time and used on demand.

[0084] As a basic capability provider of cloud computing, a cloud computing resource pool (referred to as a cloud platform, generally referred to as an IaaS (Infrastructure as a Service) platform) is established, and a plurality of types of virtual resources are deployed in the resource pool for external customers to select and use. The cloud computing resource pool mainly includes: a computing device (a virtualized machine containing an operating system), a storage device, and a network device.

[0085] According to logical function division, the PaaS (Platform as a Service) layer can be deployed on the IaaS (Infrastructure as a Service) layer, and the SaaS (Software as a Service) layer is deployed above the PaaS layer, or the SaaS can be directly deployed on the IaaS. The PaaS is a platform for software running, such as a database, a web container, etc. The SaaS is various business software, such as a web portal website, a short message massager, etc. Generally, the SaaS and the PaaS are upper layers relative to the IaaS.

[0086] Cloud Storage is a new concept extended and developed on the basis of the concept of cloud computing. A distributed cloud storage system (hereinafter referred to as a storage system) refers to a storage system that cooperatively works together to provide data storage and business access functions by collecting a large number of various types of storage devices (storage nodes) in the network through cluster application, grid technology, and distributed storage file system functions, etc.

[0087] Blockchain is a new application mode of distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithm. Its essence is a decentralized database, which is a series of data blocks associated using cryptographic methods. Each data block contains information about a batch of network transactions, which is used to verify the validity (anti-fake) of the information and generate the next block. The blockchain can include a blockchain underlying platform, a platform product service layer, and an application service layer.

[0088] The blockchain network can be understood as a data sharing system 100, which refers to a system for data sharing between nodes. An exemplary structure of the data sharing system 100 can be seen in Figure 1a ; as shown in Figure 1a , the data sharing system can include a plurality of nodes 1001, which can refer to various clients in the data sharing system. Each node 1001 can receive input information during normal operation and maintain shared data within the data sharing system based on the received input information. In order to ensure information exchange within the data sharing system, each node in the data sharing system can have an information connection between nodes, and information can be transmitted between nodes through the above information connection. For example, when any node in the data sharing system receives input information, other nodes in the data sharing system obtain the input information according to a consensus algorithm, and store the input information as data in the shared data, so that the data stored on all nodes in the data sharing system is consistent.

[0089] For each node in the data sharing system, there is a node identifier corresponding to it, and each node in the data sharing system can store the node identifier of other nodes in the data sharing system, so as to subsequently broadcast the generated block to other nodes in the data sharing system according to the node identifier of the other nodes. Each node can maintain a node identifier list as shown in the following table, and store the node name and node identifier in the node identifier list. The node identifier can be an IP (Internet Protocol) address and any other information that can be used to identify the node; for example, the node identifier can also be a binary sequence code (such as 110001110), and the IP address is only used as an example in Table 1:

[0090] Table 1

[0091] Node name Node identification Node 1 xxx.xxx.xxx.xxx Node 2 yyy.yyy.yyy.yyy … … Node X (X is a positive integer) zzz.zzz.zzz.zzz

[0092] Each node in the data sharing system stores a same blockchain. The blockchain is composed of a plurality of blocks, as shown in Figure 1b , the blockchain is composed of a plurality of blocks, the genesis block includes a block header and a block body, the block header stores an input information feature value, a version number, a timestamp and a difficulty value, and the block body stores input information; the next block of the genesis block takes the genesis block as the parent block, the next block also includes a block header and a block body, the block header stores the input information feature value of the current block, the block header feature value of the parent block, the version number, the timestamp and the difficulty value, and so on, so that the block data stored in each block in the blockchain is associated with the block data stored in the parent block, ensuring the security of the input information in the block.

[0093] In generating each block in the blockchain, referring to Figure 1c , the node where the blockchain is located, upon receiving the input information, checks the input information, stores the input information into the memory pool after completing the check, and updates the hash tree used to record the input information; then, the update timestamp is updated to the time when the input information is received, and different random numbers are tried, and the feature value is calculated multiple times, so that the calculated feature value can satisfy the following formula:

[0094] SHA256(SHA256(version+prev_hash+merkle_root+ntime+nbits+x))<TARGET

[0095] Wherein, SHA256 is a feature value algorithm used for calculating the feature value; version (version number) is the version information of the relevant block protocol in the blockchain; prev_hash is the block header feature value of the parent block of the current block; merkle_root is the feature value of the input information; ntime is the update time of the update timestamp; nbits is the current difficulty, which is a constant value within a period of time, and is determined again after a fixed period of time; x is a random number; TARGET is a feature value threshold, which can be determined according to nbits.

[0096] In this way, when the random number satisfying the above formula is calculated, the information can be stored correspondingly, the block header and the block body are generated, and the current block is obtained. Subsequently, the node where the blockchain is located sends the newly generated block to other nodes in the data sharing system according to the node identifier of the other nodes in the data sharing system, and the other nodes check the newly generated block, and add the newly generated block to the stored blockchain after completing the check.

[0097] Based on the above cloud technology and blockchain technology, the data processing scheme provided by the embodiments of the present application can manage the resource identifier of the object in the local range. Figure 1d A data processing architecture diagram is provided for the embodiments of the present application, as Figure 1dAs shown, the data processing scenario provided in the present application includes computer device 101 and computer device 102, each cluster can include one or more terminal devices, and one or more servers. The data processing scheme provided in the present application can be executed by computer device 101 or computer device 102. Wherein, the terminal device can include but not limited to: smart phone (such as Android phone, IOS phone, etc.), tablet computer, portable personal computer, mobile Internet device (Mobile Internet Devices, referred to as MID), smart voice interaction device, smart home appliances, vehicle-mounted terminal, aircraft, wearable device, etc., the present application embodiment does not limit this; the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud service, cloud database, cloud computing, cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, content distribution network (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platform, etc. The present application embodiment does not limit this.

[0098] It should be noted that, Figure 1d The number of computer devices in the first range is only used for example, and does not constitute the actual limitation of the present application. The computer device 101 and the computer device 102 are isolated from each other, and the clusters and computer devices in the same range can be connected through wired or wireless means, and the present application does not limit this.

[0099] In combination Figure 1d It can be understood that the first range can be understood as a global range, and the second range and the third range can be understood as two local ranges in the global range. In addition to the second range and the third range, the first range can also include other ranges, and the present application does not limit this. It should be noted that the concepts of "global" and "local" involved in the present application can be adapted based on actual conditions, and the present application does not limit this; for example, for a company, the global can mean the entire company, and the local can mean the departments, groups, etc. of the company; for a region, the global can mean the entire region, and the local can mean the companies, streets, buildings, etc. in the region; for the whole world, the global can mean the global range, and the local can mean the country, region, continent, etc.

[0100] The computer device 101 comprises a first logical resource generator (Columbus) comprising resource identifiers allocated in a first range, the resource identifiers comprising at least one of a space identifier (SpaceId) and a cluster identifier (ClusterId). The resource identifiers are used to globally uniquely identify resources in the first range. When it is required to isolate an Internet Data Center (IDC) in the first range (after isolation, computer devices in different ranges cannot communicate through a network), the computer device 102 replicates the first logical resource generator to obtain a second logical resource generator, and the second logical resource generator comprises the resource identifiers allocated in the first range. The second logical resource generator is subjected to resource identifier resetting to obtain a logical resource generator corresponding to a second range. The resource identifier resetting is used to remove the allocated resource identifiers in the second range (including removing the allocated resource identifiers in a third range) except for the allocated resource identifiers in the second range. Then, the logical resource generator corresponding to the second range is deployed in the second range, and a connection between objects in the second range and the logical resource generator corresponding to the second range is established. The objects in the second range include but are not limited to clusters in the second range and an Operation Support Systems (OSS) in the second range. The OSS can also be referred to as a control system, and is used to manage a data storage engine. In this application, the OSS is mainly used to apply for a cluster identifier and perform resource identifier querying. After the connection between the objects in the second range and the logical resource generator corresponding to the second range is established, the computer device 102 can manage resource identifiers of the objects in the second range through the logical resource generator corresponding to the second range. The management of the resource identifiers of the objects in the second range includes applying for allocable resource identifiers in the second range and allocating the allocable resource identifiers.

[0101] Correspondingly, the computer device 101 performs traffic switching processing on the first logical resource generator in response to the second logical resource generator completing the resource identifier resetting. The traffic switching processing can be understood as: disconnecting the first logical resource generator from the objects in the second range, and establishing a connection between the objects in the second range and the logical resource generator corresponding to the second range. The second logical resource generator is obtained by copying the first logical resource generator. The first logical resource generator includes the allocated resource identifiers in the first range, and the first range includes the second range and the third range. Then, the computer device 101 performs resource identifier resetting on the first logical resource generator after the traffic switching processing, to obtain the logical resource generator corresponding to the third range, and the resource identifier resetting is used to remove the allocated resource identifiers in the third range (including the allocated resource identifiers in the second range) from the allocated resource identifiers. The logical resource generator corresponding to the third range is deployed in the third range, and after the deployment is completed, the computer device 101 can manage the resource identifiers of the objects in the third range through the logical resource generator corresponding to the third range.

[0102] In the embodiment of the application, the logical resource generator copying party copies the first logical resource generator to obtain the second logical resource generator, performs resource identifier resetting on the second logical resource generator to obtain the logical resource generator corresponding to the second range, establishes a connection between the objects in the second range and the logical resource generator corresponding to the second range, and manages the resource identifiers of the objects in the second range through the logical resource generator corresponding to the second range. The logical resource generator copied party performs traffic switching processing on the first logical resource generator in response to the second logical resource generator completing the resource identifier resetting, performs resource identifier resetting on the first logical resource generator after the traffic switching processing, to obtain the logical resource generator corresponding to the third range, deploys the logical resource generator corresponding to the third range in the third range, and manages the resource identifiers of the objects in the third range through the logical resource generator corresponding to the third range. It can be seen that, by copying the logical resource generator and performing corresponding configuration, the logical resource generator corresponding to any range only retains the traffic corresponding to the range and the allocated resource identifiers. Deploying the logical resource generators corresponding to the respective ranges in the corresponding ranges can manage the resource identifiers of the objects in the local range after the local range of the Internet data center is isolated.

[0103] Based on the above data processing scheme, the embodiment of the application proposes a more detailed data processing method, which will be described in detail below with reference to the accompanying drawings.

[0104] Please refer to Figure 2 , Figure 2 The flowchart of the data processing method provided in the embodiment of the application can be executed by a computer device; for example, by a computer device 101. The computer device 101 can be a server, a personal computer, a mobile phone, a tablet computer, a wearable device, or any other device with a processor and a memory.Figure 1d The computer device 102 shown in the middle performs. As shown Figure 2 The data processing method can include the following steps S201-S204:

[0105] S201, copy the first logical resource generator to obtain a second logical resource generator.

[0106] The first logical resource generator and the second logical resource generator each include an allocated resource identifier in a first range, the first range including a second range and a third range. The resource identifier is used to globally uniquely identify a resource in the first range. The resource identifier includes at least one of the following: a space identifier, a cluster identifier.

[0107] The first logical resource generator is used to manage the resource identifier of the object in the first range. In one embodiment, the first logical resource generator includes a resource identifier manager and a resource identifier configurator; wherein the resource identifier manager is used to issue allocable resource identifiers to the resource identifier configurator, and to ensure the global uniqueness of the issued allocable resource identifiers in the first range; the resource identifier configurator, on the one hand, applies for allocable resource identifiers from the resource identifier manager when the resource identifier application conditions (such as insufficient allocable resource identifiers) are met; on the other hand, allocates the allocable resource identifiers associated with the first range according to the demand information when the demand information in the first range is detected; wherein the allocable resource identifiers associated with the first range refer to the resource identifiers issued by the resource identifier manager to the resource identifier configurator, which have not been allocated by the resource identifier configurator. The object in the first range includes an operation support system and at least one cluster, and the demand information includes a cluster identifier demand and a space identifier demand; the cluster identifier demand is generated by the operation support system when a new cluster is created in the first range; the space identifier demand is generated by a Center module in a data storage engine (such as YottaStore) carried by any cluster in the first range when the space of the cluster is insufficient. That is, the resource identifier configurator is used to apply for allocable resource identifiers, and to use the applied allocable resource identifiers (such as allocating to the object in the first range).

[0108] In an embodiment, the computer device obtains configuration information of the logical resource generator, and configures an initial logical resource generator based on the configuration information. It can be understood that the configuration information can be the same as that of the first logical resource generator, or can be different from that of the first logical resource generator; for example, the configuration information of the first logical resource generator includes configuration information of the resource identifier manager, while the configuration information of the logical resource generator obtained by the computer device does not include the configuration information of the resource identifier manager. After the initial logical resource generator is configured, the computer device copies the data directory in the first logical resource generator into the initial logical resource generator to obtain a second logical resource generator, and the data directory includes the allocated resource identifiers in the first range.

[0109] It can be understood that, if the configuration information of the logical resource generator is consistent with that of the first logical resource generator, the computer device can directly copy the first logical resource generator as a whole (including copying the configuration information and the data directory of the first logical resource generator).

[0110] S202, resetting the resource identifiers of the second logical resource generator.

[0111] The resource identifier resetting can be understood as removing the allocated resource identifiers that are irrelevant to the corresponding range. In an embodiment, the state of the second logical resource generator obtained by copying is a write-prohibited state. In an example, the computer device can obtain range division information corresponding to the second logical resource generator, and the range division information is used to indicate the division range corresponding to the second logical resource generator. If the division range corresponding to the second logical resource generator is the second range, the computer device starts the second logical resource generator, and removes the allocated resource identifiers in the first range except for those in the second range (the removed allocated resource identifiers include those in the third range) to obtain a logical resource generator corresponding to the second range.

[0112] Optionally, after obtaining the logical resource generator corresponding to the second range, the computer device can perform read-write testing on the logical resource generator corresponding to the second range to ensure normal operation of the logical resource generator corresponding to the second range.

[0113] S203, deploying the logical resource generator corresponding to the second range in the second range, and establishing a connection between an object in the second range and the logical resource generator corresponding to the second range.

[0114] Before the first range is divided into a plurality of mutually isolated sub-ranges (including the second range and the third range), the objects in the first range are all connected with the first logical resource generator. Therefore, after obtaining the logical resource generator corresponding to the second range, the computer device needs to deploy the logical resource generator corresponding to the second range in the second range, and establish the connection between the objects in the second range and the logical resource generator corresponding to the second range. Through the above implementation, it can be guaranteed that after the Internet data center in the second range is isolated, the computer device can manage the resource identifier of the objects in the second range through the logical resource generator corresponding to the second range.

[0115] S204, manage the resource identifier of the objects in the second range through the logical resource generator corresponding to the second range.

[0116] The objects in the second range include at least one cluster and an operation support system. The management of the resource identifier of the objects in the second range includes: applying for allocable resource identifiers, and allocating allocable resource identifiers based on the needs of the objects in the second range. It should be noted that when the logical resource generator corresponding to the second range includes a resource identifier configurator and a resource identifier manager, the computer device can apply for allocable resource identifiers from the resource identifier manager through the resource identifier configurator (within the logical resource generator corresponding to the second range); when the logical resource generator corresponding to the second range includes a resource identifier configurator (does not include a resource identifier manager), the computer device applies for allocable resource identifiers from the logical resource generator (which includes a resource identifier manager) in other ranges (such as the third range) except the second range through the resource identifier configurator.

[0117] In an implementation, the logical resource generator corresponding to the second range includes a resource identifier configurator. The computer device periodically detects the allocable resource identifiers associated with the second range. When it is detected that the allocable resource identifiers associated with the second range meet the resource identifier application condition, the computer device sends a resource identifier request to the resource identifier manager through the resource identifier configurator; wherein the resource identifier request is used to apply for a new resource identifier, and the resource identifier application condition includes at least one of the following: the number of currently remaining allocable resource identifiers is lower than a number threshold, and the current resource identifier expectation value reaches an expectation threshold. The resource identifier expectation value is obtained based on the detection results of at least two allocable resource identifiers. In an implementation, the computer device can calculate the current resource identifier expectation value based on the detection results of the allocable resource identifiers in a target time period, so as to calculate the consumption speed of the allocable resource identifiers.

[0118] In one embodiment, the resource identity manager is not in the second range, that is, the logical resource generator corresponding to the second range does not include the resource identity manager. The computer device sends the resource identity request to the resource identity manager through the resource identity configurator, and the specific implementation is that the resource identity configurator performs on-chain processing on the resource identity request, so that the resource identity manager performs resource identity reservation based on the resource identity request in the blockchain network; for example, the computer device can call the resource identity configurator to sign the resource identity request, and upload the signed resource identity request to the blockchain; for another example, the computer device can add the certificate of the resource identity configurator in the resource identity request, and perform on-chain processing on the resource identity request.

[0119] In another embodiment, the resource identity manager is in the second range, that is, the logical resource generator corresponding to the second range includes the resource identity manager. In this case, the resource identity configurator and the resource identity manager can directly communicate; the computer device can send the resource identity request to the resource identity manager through the resource identity configurator.

[0120] Optionally, the resource identity manager is not in the second range. The computer device can also send the resource identity request to the resource identity manager outside the second range through the regional agent (used to transfer information in different ranges, such as resource identity requests, response information, etc.) or artificial delivery.

[0121] In still another embodiment, the resource identity includes cluster identity and space identity. The resource identity application refers to the application of one or more of the cluster identity and the space identity.

[0122] Further, the computer device obtains the response information of the resource identity request, and the response information includes the interval of the allocable resource identity issued by the resource identity manager. In one embodiment, the resource identity manager is not in the second range, and the computer device can obtain the response information of the resource identity request uploaded in the blockchain by the resource identity manager from the blockchain network. In another embodiment, the resource identity manager is in the second range, and the computer device directly obtains the response information of the resource identity request from the resource identity manager.

[0123] After obtaining the response information of the resource identity request, the computer device updates the allocable resource identity associated with the second range based on the interval of the allocable resource identity issued by the resource identity manager; for example, assuming that the allocable resource identity associated with the second range before updating is [70, 78], the number is 9, and the interval of the allocable resource identity issued by the resource identity manager is [101, 150], then the allocable resource identity associated with the second range after updating is [70, 78], [101, 150], and the number is 59.

[0124] In another embodiment, the logical resource generator corresponding to the second range comprises a resource identifier configurator, and the objects in the second range comprise an operation support system and at least one cluster. When detecting the demand information in the second range, the computer device invokes the resource identifier configurator to allocate the allocable resource identifiers associated with the second range according to the demand information; wherein the demand information comprises a cluster identifier demand and a space identifier demand; the cluster identifier demand is generated by the operation support system when a new cluster is created in the second range; and the space identifier demand is generated by a Center module of a data storage engine carried by any cluster in the second range when the space of the cluster is insufficient.

[0125] For example, when the space of cluster 1 in the second range is insufficient, the Center module of the data storage engine carried by cluster 1 can generate a space identifier demand and apply for a space identifier to the resource identifier configurator in the second range through the space identifier demand. After receiving the space identifier demand, the computer device invokes the resource identifier configurator to allocate the allocable resource identifiers associated with the second range according to the space identifier demand. Similarly, when a new cluster (open area) is created in the second range, the operation support system in the second range can generate a cluster identifier demand and apply for a cluster identifier to the resource identifier configurator in the second range through the cluster identifier demand. After receiving the space identifier demand, the computer device invokes the resource identifier configurator to allocate the allocable resource identifiers associated with the second range according to the cluster identifier demand.

[0126] Optionally, the logical resource generator corresponding to the second range comprises a resource identifier configurator. The computer device can further persist the association information of the resource identifier configurator (e.g., store the association information of the resource identifier configurator in a hard disk) to obtain a resource identifier configuration record. The association information of the resource identifier configurator comprises at least one of the following: the resource identifiers applied for by the resource identifier configurator, the resource identifiers allocated in the second range, and the allocable resource identifiers associated with the second range; and the resource identifier configuration record is used to assist the resource identifier configurator to determine the configuration of the resource identifiers in the second range after a restart (e.g., determine the applied resource identifiers, the allocated resource identifiers, the unallocated resource identifiers, and the allocation of the resource identifiers of each object in the second range).

[0127] In the embodiment of the present application, the first logical resource generator is copied to obtain a second logical resource generator, the resource identifier of the second logical resource generator is reset to obtain a logical resource generator corresponding to the second range, the connection between the objects in the second range and the logical resource generator corresponding to the second range is established, and the resource identifier of the objects in the second range is managed through the logical resource generator corresponding to the second range. It can be seen that the logical resource generator corresponding to the second range can be obtained by removing the allocated resource identifiers irrelevant to the second range. The logical resource generator corresponding to the second range is deployed in the second range, and the connection between the objects in the second range and the logical resource generator corresponding to the second range is established, so that the purpose of managing the resource identifier of the objects in the second range through the logical resource generator corresponding to the second range can be achieved.

[0128] Referring to Figure 3 , Figure 3 The flowchart of another data processing method provided in the embodiment of the present application can be executed by a computer device, for example, the computer device 101 shown in Figure 1d . As shown in Figure 3 , the data processing method can include the following steps S301-S304:

[0129] S301, in response to the completion of the resource identifier reset of the second logical resource generator, performing traffic cut processing on the first logical resource generator.

[0130] The second logical resource generator is obtained by copying the first logical resource generator. The first logical resource generator includes the allocated resource identifiers in the first range, and the first range includes the second range and the third range. In one embodiment, the computer device performs write-prohibit processing on the first logical resource generator to avoid the inconsistency of data in the process of copying the first logical resource generator. The process of copying the first logical resource generator and resetting the resource identifier of the copied second logical resource generator can refer to the implementation of steps S201 and S202 in Figure 2 , and will not be described here.

[0131] In one implementation, before the first range is divided into a plurality of mutually isolated sub-ranges (including the second range and the third range), the objects in the first range are all connected with the first logical resource generator. The traffic cut processing on the first logical resource generator can be understood as: the computer device disconnects the connection between the objects except the third range and the first logical resource generator.

[0132] S302, performing resource identifier reset on the first logical resource generator after the traffic cut processing to obtain a logical resource generator corresponding to the third range.

[0133] The resource identifier resetting can be understood as removing the allocated resource identifiers irrelevant to the corresponding range from the allocated resource identifiers. In an embodiment, the computer device removes the allocated resource identifiers except the allocated resource identifiers in the third range (the removed allocated resource identifiers include the allocated resource identifiers in the second range) from the allocated resource identifiers in the first range, to obtain the logical resource generator corresponding to the third range.

[0134] In another embodiment, the logical resource generator corresponding to the third range includes a resource identifier manager, and the resource identifier manager carries first division information, where the first division information is used to indicate that the second range and the third range are not isolated from each other. The computer device resets the division manner of the resource identifier manager to obtain a logically reset resource identifier manager; the logically reset resource identifier manager carries second division information, where the second division information is used to indicate that the second range and the third range are isolated from each other. That is, the process of resetting the division manner includes resetting (updating) the division information carried by the resource identifier manager.

[0135] For example, before the first range is further divided, the first division information includes indication information of the first range (at this time, the second range and the third range included in the first range are not isolated from each other). After the second range and the third range are isolated, the computer device resets the division manner of the resource identifier manager, and the logically reset resource identifier manager carries the second division information, where the second division information includes indication information of the second range and indication information of the third range (at this time, the second range and the third range are isolated from each other). It can be understood that, with the change of the division information, the resource identifier manager will distinguish the requestor and generate corresponding issue records when responding to the resource identifier request, compared with before the division. Specifically, before the first range is further divided, the resource identifier manager does not distinguish whether the allocable resource identifier issued to the first range is issued to the second range or the third range (equivalent to that the two ranges share the allocable resource identifier issued to the first range by the resource identifier manager); after the first range is further divided, the resource identifier manager distinguishes the allocable resource identifier issued to the second range and the allocable resource identifier issued to the third range.

[0136] S303, deploying the logical resource generator corresponding to the third range in the third range.

[0137] It can be understood that, if the logical resource generator corresponding to the third range is already included in the third range (for example, the first logical resource generator is included in the third range), this step can be omitted.

[0138] Optionally, if the first logical resource generator is set to the write-inhibited state before the first logical resource generator is copied, the third-range corresponding logical resource generator is set to the write-allowed state after the third-range corresponding logical resource generator is deployed in the third range.

[0139] S304, managing the resource identifier of the object in the third range by the third-range corresponding logical resource generator.

[0140] In an embodiment, the third-range corresponding logical resource generator comprises a resource identifier configurator. The computer device applies the allocable resource identifier by the resource identifier configurator, and the process of allocating the third-range associated allocable resource identifier based on the demand information in the third range can refer to the implementation of step S204 in Figure 2

[0141] In another embodiment, the third-range corresponding logical resource generator comprises a resource identifier manager. The computer device can also guarantee the global uniqueness of the issued allocable resource identifier in the first range by the resource identifier manager.

[0142] In an embodiment, the resource identifier manager carries boundary indication information, which is used to indicate the boundary between the applied resource identifier and the unapplied resource identifier in the first range; for example, assuming that the boundary indication information is 100, it means that the resource identifier of 100 and before 100 has been applied, and the resource identifier after 100 has not been applied. The computer device obtains a resource identifier request, which comprises the number of resource identifiers to be applied. In an implementation, the resource identifier request is uploaded in the blockchain by the resource identifier configurator outside the third range; the computer device periodically detects the blockchain, and when it detects that the resource identifier request is included in the new block, it obtains the resource identifier request from the blockchain network. In another implementation, the resource identifier request is sent by the resource identifier configurator in the third-range corresponding logical resource generator, and the resource identifier manager can directly obtain the resource identifier request.

[0143] In response to the verification of the resource identifier request (such as signature verification of the applicant, compliance verification of the number of resource identifiers to be applied, etc., which are not limited in the present application), the computer device determines the resource identifier reservation interval corresponding to the resource identifier request based on the number of resource identifiers and the boundary indication information; for example, assuming that the boundary indication information is 100, and the number of resource identifiers to be applied in the resource identifier request is 50, then the resource identifier reservation interval corresponding to the resource identifier request is [101, 150].

[0144] ​After determining the resource identifier reservation interval corresponding to the resource identifier request, the computer device issues a resource identifier to the resource identifier requestor according to the resource identifier reservation interval, and generates response information of the resource identifier request; the response information includes an interval of the resource identifier issued by the resource identifier manager.

[0145] Further, after completing the response of the resource identifier request, the computer device updates the boundary indication information carried by the resource identifier manager. For example, assuming that the boundary indication information is 100, and the number of resource identifiers applied for by the resource identifier request is 50, after completing the response of the resource identifier request, the boundary indication information is updated to 150.

[0146] It can be understood that, by guaranteeing the global uniqueness of the issued allocable resource identifiers in the first range, the second range and the third range can be recombined, and it is ensured that there is no resource identifier conflict in the combined range.

[0147] In another embodiment, the resource identifier manager can also provide a resource identifier query interface, which can be used to query whether a resource identifier is issued (occupied). The resource identifier query information is obtained, the resource identifier query information carries identification indication information, the identification indication information includes one or more resource identifiers (such as a resource identifier interval), based on the resource identifier issue record and the identification indication information, or based on the boundary indication information and the identification indication information, it is determined whether the resource identifier indicated by the identification indication information is issued (occupied). The resource identifier query result is returned to the resource identifier query information.

[0148] Optionally, the logical resource generator corresponding to the third range includes the resource identifier manager. The computer device performs persistent processing (such as storing the association information of the resource identifier manager in a hard disk) on the association information of the resource identifier manager, to obtain a resource identifier management record. The association information of the resource identifier manager includes at least one of the following: the response information of the resource identifier request, the identifier of the sender of the resource identifier request, and the reservation space corresponding to the resource identifier request; the resource identifier management record is used to assist the resource identifier manager in determining the management situation of the resource identifiers in the first range (such as determining the current boundary indication information, the interval of the allocable resource identifiers issued to each range, etc.) after restarting.

[0149] It can be understood that, if the resource identifier manager is included in the resource generator corresponding to the second range, Figure 3 the method related to the resource identifier manager in the foregoing Figure 2 embodiments can also be applied to the method related to the resource identifier manager in the foregoing

[0150] In the embodiments of the present application, in response to the completion of resource identifier resetting by the second logical resource generator, traffic switching processing is performed on the first logical resource generator, resource identifier resetting is performed on the first logical resource generator after the traffic switching processing, a logical resource generator corresponding to the third range is obtained, the logical resource generator corresponding to the third range is deployed in the third range, and the logical resource generator corresponding to the third range is used to manage the resource identifiers of the objects in the third range. It can be seen that, by removing the traffic irrelevant to the third range and the allocated resource identifiers in the first logical resource generator, the logical resource generator corresponding to the third range can be obtained. By deploying the logical resource generator corresponding to the third range in the third range, the purpose of managing the resource identifiers of the objects in the third range by the logical resource generator corresponding to the third range can be achieved.

[0151] Figure 4a A splitting process diagram of a logical resource generator is provided in the embodiments of the present application. As shown in the figure, the first logical resource generator includes the allocated resource identifiers in the second range and the allocated resource identifiers in the third range. Assuming that the second range and the third range jointly constitute the first range, the first logical resource generator is used to manage the resource identifiers in the first range (including allocation of the resource identifiers, guarantee of global uniqueness of the allocated resource identifiers, etc.). Figure 4a

[0152] First, the first logical resource generator in the write-prohibited state is copied to obtain the second logical resource generator. Then, the second logical resource generator is set to the write-allowed state, and resource identifier resetting is performed on the second logical resource generator (by calling an interface or resetting a tool) to remove the allocated resource identifiers not included in the second range (i.e., the allocated resource identifiers in the third range), so as to obtain the logical resource generator corresponding to the second range. The logical resource generator corresponding to the second range includes a resource identifier configurator, which can apply allocatable resource identifiers to the resource identifier managers in the third range and allocate the allocatable resource identifiers associated with the second range based on demand information. The traffic in the second range associated with the first logical resource generator is switched to the logical resource generator corresponding to the second range, and whether the read-write function of the logical resource generator corresponding to the second range is normal is detected. After the read-write function of the logical resource generator corresponding to the second range is detected to be normal, the resource identifiers of the objects in the second range can be managed by the logical resource generator corresponding to the second range. Then, the resource identifier managers in the first logical resource generator can be reset in the division mode, the resource identifier configurator in the first logical resource generator is reset, the logical resource generator corresponding to the third range is obtained, and finally the logical resource generator corresponding to the third range is set to the write-allowed state, so that the resource identifiers of the objects in the third range can be managed by the logical resource generator corresponding to the third range. ​

[0153] It should be noted that a globally unique resource identifier manager can be included in any scope or can be independent of all scopes; for example, the resource identifier manager is included in the target scope, but the target scope does not include the resource identifier configurator, and the logical resource generator in any scope other than the target scope only includes the resource identifier configurator.

[0154] During the splitting process, if multiple resource identifier managers exist (e.g., logical resource generators within at least two ranges include resource identifier managers), one resource identifier manager can be retained based on preset rules (e.g., random selection, specified selection, selection based on computing power, etc.), while the remaining redundant resource identifier managers are removed. Furthermore, the partitioning method of the retained resource identifier manager is reset based on the current range partitioning, resulting in a globally unique resource identifier manager.

[0155] A logical resource generator can include a ResourceWorker (RW) and a ResourceManager (RM). After the ResourceWorker is split, each scope corresponds to one ResourceWorker. A globally unique ResourceManager (which is included in any logical resource generator within a scope) distributes allocatable resource identifiers to each ResourceWorker, ensuring the global uniqueness of these allocatable resource identifiers. The relationship between the ResourceWorker and the ResourceManager is as follows: Figure 4b As shown. The resource identifier manager records the distribution records of allocable resource identifiers (the distribution records may include resource identifier configurator identifiers or range indication information, and the corresponding resource identifier ranges). In one embodiment, the resource identifier manager also records the boundary between distributed and undistributed resource identifiers. The resource identifier configurator records the range of allocable resource identifiers distributed by the resource identifier manager, and the allocation status of the resource identifiers (including distributed and undistributed resource identifiers).

[0156] Figure 4c This document presents an information interaction architecture diagram for a logical resource generator provided for the implementation of this application. (For example...) Figure 4c As shown, logical resource generators in different scopes are isolated from each other. One of the logical resource generators includes a resource identifier manager ( Figure 4c The unique resource identifier manager is contained within the logical resource generator corresponding to the first scope, and each logical resource generator corresponding to each scope includes a resource identifier configurator. When the resource identifier configurator needs to request an allocatable resource identifier, it can request a resource identifier from the resource identifier manager in the first scope through the blockchain network. It is understandable that... Figure 4cIn the middle, the resource identity configurator in the first range can directly send the resource identity application to the resource identity manager (without uplink). In addition, the information transmission between different ranges can also be transmitted through the communication guarantor (Reliable Proxy, RP), which is not limited in the present application.

[0157] The implementation of the resource identity manager provided in the present application can refer to the code in Table 2:

[0158] Table 2

[0159]

[0160]

[0161] As shown in Table 2, the resource identifier manager includes: isolated area information (IsolatedAreaInfo), the isolated area information includes the name of the isolated area (isolated_area_name), and the list of clusters in each isolated area (cluster_list). Cluster identifier application (ApplyClusterResourceRequest) is used to request allocation of a certain number of cluster identifiers. The cluster identifier application includes the name of the isolated area (isolated_area_name), the number of cluster identifiers applied (count). Cluster identifier response (ApplyClusterResourceResponse) corresponds to the cluster identifier application, and includes the number of cluster identifiers issued (count), and cluster identifier interval indication information, which is used to indicate the start value (begin_cluster_id) and end value (end_cluster_id) of the cluster identifier. Space identifier application (ApplySpaceResourceRequest) is used to request allocation of a certain number of space identifiers. Space identifier response (ApplySpaceResourceResponse) corresponds to the space identifier application. The fields of the space identifier application and the space identifier response are similar to those of the cluster identifier application and the cluster identifier response, and will not be described here. Reset resource application (ResetResourceManagerRequest) is used to reset the allocated resource identifiers in one or more ranges. The reset resource application includes an isolated area list field (isolated_area_list), which is used to indicate the isolated area for which the resource identifier reset is required. Reset resource response (ResetResourceManagerResponse) corresponds to the reset resource application, and the reset resource response includes a status code, which is used to indicate the response result of the reset resource application (such as whether the reset is successful). Global resource information request (GetGlobalResourceInfoRequest) is used to trigger a global resource information acquisition event. Global resource information response (GetGlobalResourceInfoResponse) corresponds to the global resource information request. The global resource information response includes a status code, a space identifier mapping, and a cluster identifier mapping; wherein the space identifier mapping is used to indicate the mapping relationship between the name of the isolated area and the issued space identifier, and the cluster identifier mapping is used to indicate the mapping relationship between the name of the isolated area and the issued cluster identifier.The ApplyClusterResourceResponse, ApplySpaceResourceResponse and GetGlobalResourceInfoResponse can be invoked by an operation support system (OSS), and the ResetResourceManagerResponse can be invoked by a split tool in a splitting process of a logical resource generator. Based on the codes in Table 2, a resource identifier management interface can be constructed, which can be used to manage and allocate resource identifiers such as cluster identifiers and space identifiers.

[0162] The implementation of the resource identifier configurator provided in the application can refer to the codes in Table 3:

[0163] Table 3

[0164]

[0165]

[0166]

[0167]

[0168] As shown in Table 3, the resource identifier configuration includes a working status field (ResourceWorkerStatus). The working status field includes a read-write status (kResourceWorkerStatusNormal) and a read-only status (kResourceWorkerStatusReadOnly). The cluster identifier allocation (SetupClusterResourceRequest) is used to indicate the range of the allocated cluster identifier. The cluster identifier allocation includes an allocated cluster identifier range field (ClusterRangeapplied_cluster_range) used to indicate the range of the allocated cluster identifier. The cluster identifier response (SetupClusterResourceResponse) corresponds to the cluster identifier allocation. The cluster identifier response includes a status code used to indicate the response result corresponding to the cluster identifier allocation. The space identifier allocation (SetupSpaceResourceRequest) is used to indicate the range of the allocated space identifier. The space identifier response (SetupSpaceResourceResponse) corresponds to the space identifier allocation. The fields of the space identifier allocation and the space identifier response are similar to those of the cluster identifier allocation and the cluster identifier response, and thus are not described herein. The configuration reset request (ResetResourceWorkerRequest) is used to reset the resource identifier configuration. The configuration reset request includes an isolated range (IsolatedAreaInfo isolated_area) requiring resource identifier reset. The configuration reset response (ResetResourceWorkerResponse) corresponds to the configuration reset request. The configuration reset response includes a response code used to indicate the response result of the configuration reset request. The working status configuration request (SetResourceWorkerStatusRequest) is used to set the working status of the resource identifier configuration. The working status configuration request includes status indication information (ResourceWorkerStatus) used to indicate the working status requiring configuration. The working status acquisition request (GetResourceWorkerStatusRequest) is used to acquire the working status of the resource identifier configuration. The working status acquisition response (GetResourceWorkerStatusResponse) corresponds to the working status acquisition request. The working status acquisition response includes a status code and status indication information (ResourceWorkerStatus) used to indicate the current working status (read-only / read-write) of the resource identifier configuration.A resource identity configurator resource information request (struct GetWorkerResourceInfoRequest) is used to obtain identity configuration information. A resource identity configurator resource information response (struct GetWorkerResourceInfoResponse) corresponds to the resource identity configurator resource information request. The resource identity configurator resource information response includes a status code and a list of allocated space identities (list. <spacerange>applied_space_info), a list of allocated cluster identifications (list <clusterrange>applied_cluster_info), space identification boundary information (space.SpaceId used_max_space_id), cluster identification boundary information (cluster.ClusterId used_max_cluster_id). Among them, the status code is used to indicate the response result of the resource identification configurator resource information request; the allocated space identification list is used to indicate the allocated space identification; the allocated cluster identification list is used to indicate the allocated cluster identification; the space identification boundary information is used to indicate the boundary between the allocated space identification and the unallocated space identification; the cluster identification boundary information is used to indicate the boundary between the allocated cluster identification and the unallocated cluster identification. SetupClusterResourceResponse, SetupSpaceResourceResponse, GetResourceWorkerStatusResponse and GetWorkerResourceInfoResponse can be called by an operation support system (OSS), and ResetResourceWorkerResponse and SetResourceWorkerStatusResponse can be called by a splitting tool in the splitting process of the logical resource generator. The codes in Table 3 provide a convenient remote calling mode for resource identification allocation, resource identification configurator working state setting and query.

[0169] Based on the above data processing method, the resource identification of the object in the local range can be managed after the internet data center in the local range is isolated, and the global uniqueness of the resource identification can be ensured through the multiple resource identification configurators and the resource identification manager.

[0170] The above describes the method of the embodiments of the present application in detail. In order to facilitate better implementation of the above scheme of the embodiments of the present application, correspondingly, the device of the embodiments of the present application is provided below.

[0171] Please refer to Figure 5 , Figure 5 The structure diagram of a data processing device provided by the embodiments of the present application is shown in Figure 5 The data processing device can be carried in a computer device, which can be a terminal device or a server. Figure 5 The data processing device can be used to perform part or all of the functions of the method embodiments described above. Figure 2 Please refer to Figure 5 , the data processing device comprises:

[0172] The processing unit 501 is configured to copy the first logical resource generator to obtain a second logical resource generator, and the first logical resource generator and the second logical resource generator each include a resource identifier allocated in a first range, and the first range includes a second range and a third range.

[0173] The processing unit 501 is configured to copy the first logical resource generator to obtain a second logical resource generator, and the first logical resource generator and the second logical resource generator each include a resource identifier allocated in a first range, and the first range includes a second range and a third range.

[0174] The processing unit 501 is configured to copy the first logical resource generator to obtain a second logical resource generator, and the first logical resource generator and the second logical resource generator each include a resource identifier allocated in a first range, and the first range includes a second range and a third range.

[0175] The processing unit 501 is configured to copy the first logical resource generator to obtain a second logical resource generator, and the first logical resource generator and the second logical resource generator each include a resource identifier allocated in a first range, and the first range includes a second range and a third range.

[0176] In an embodiment, the processing unit 501 is configured to copy the first logical resource generator to obtain the second logical resource generator, and specifically configured to:

[0177] configure an initial logical resource generator based on the configuration information;

[0178] copy a data directory in the first logical resource generator to the initial logical resource generator to obtain the second logical resource generator, and the data directory includes the resource identifier allocated in the first range.

[0179] In an embodiment, the second range corresponding logical resource generator includes a resource identifier configurator, and the processing unit 501 is configured to manage the resource identifier of the object in the second range through the second range corresponding logical resource generator, and specifically configured to:

[0180] periodically detect the allocable resource identifier associated with the second range;

[0181] when the allocable resource identifier associated with the second range meets the resource identifier application condition, send a resource identifier request to the resource identifier manager through the resource identifier configurator, and the resource identifier request is used to apply for a new resource identifier;

[0182] wherein the resource identifier application condition includes at least one of the following: the number of currently remaining allocable resource identifiers is lower than a number threshold, and a current resource identifier expectation value reaches an expectation threshold; the resource identifier expectation value is obtained based on detection results of at least two allocable resource identifiers.

[0183] In an implementation, the resource identifier manager is not in the second range; the processing unit 501 is configured to send, by the resource identifier configurator, a resource identifier request to the resource identifier manager when it is detected that the allocable resource identifier associated with the second range meets the resource identifier application condition, and specifically configured to:

[0184] When it is detected that the allocable resource identifier associated with the second range meets the resource identifier application condition, the resource identifier request is processed by the resource identifier configurator to make the resource identifier manager reserve the resource identifier based on the resource identifier request in the blockchain network.

[0185] In an implementation, the processing unit 501 is further configured to:

[0186] Obtain response information of the resource identifier request, the response information including an interval of the allocable resource identifier issued by the resource identifier manager;

[0187] Update the allocable resource identifier associated with the second range based on the interval of the allocable resource identifier issued by the resource identifier manager.

[0188] In an implementation, the logical resource generator corresponding to the second range includes the resource identifier configurator; the objects in the second range include the operation support system and at least one cluster; the processing unit 501 is configured to manage, by the logical resource generator corresponding to the second range, the resource identifier of the objects in the second range, and specifically configured to:

[0189] When it is detected that the demand information in the second range, call the resource identifier configurator to allocate the allocable resource identifier associated with the second range according to the demand information;

[0190] The demand information includes a cluster identifier demand and a space identifier demand; the cluster identifier demand is generated by the operation support system when a new cluster is created in the second range; the space identifier demand is generated by the data storage engine carried by any cluster in the second range when the space of the cluster is insufficient.

[0191] In an implementation, the logical resource generator corresponding to the second range includes the resource identifier configurator; the processing unit 501 is further configured to:

[0192] Persist the association information of the resource identifier configurator to obtain a resource identifier configuration record;

[0193] The association information of the resource identifier configurator includes at least one of the following: the applied resource identifier, the allocated resource identifier, and the unallocated resource identifier; the resource identifier configuration record is used to assist the resource identifier configurator to determine the configuration of the resource identifier in the second range after restart.

[0194] In an embodiment, the processing unit 501 is configured to perform resource identification reset on the second logical resource generator to obtain the logical resource generator corresponding to the second range, and specifically configured to:

[0195] start the second logical resource generator;

[0196] remove, from the allocated resource identifiers in the first range, the allocated resource identifiers other than the second range to obtain the logical resource generator corresponding to the second range.

[0197] According to an embodiment of the present application, Figure 2 the steps involved in the data processing method shown in the Figure 5 embodiment can be performed by the respective units in the data processing apparatus shown in the Figure 2 For example, the steps S201, S202 and S204 shown in the Figure 5 embodiment can be performed by the processing unit 501 shown in the Figure 5 embodiment, and the step S203 can be performed by the deployment unit 502 shown in the Figure 5 The respective units in the data processing apparatus shown in the embodiment can be respectively or wholly merged into one or several other units to constitute, or some of the units can be further split into a plurality of units with smaller functions to constitute, which can achieve the same operation without affecting the implementation of the technical effects of the embodiments of the present application. The above units are logically divided, and in actual application, the functions of one unit can be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the data processing apparatus can also include other units, and in actual application, these functions can also be implemented by other units, and can be implemented by multiple units in cooperation.

[0198] According to another embodiment of the present application, the data processing apparatus shown in the Figure 2 embodiment, and the data processing method of the embodiments of the present application can be implemented by running a computer program (including program codes) capable of performing the steps involved in the corresponding method shown in the Figure 5 embodiment on a general computing device such as a computer device including processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), read-only memory (ROM) and the like.

[0199] Based on the same inventive concept, the data processing apparatus provided in the embodiments of the present application has similar principles and beneficial effects to those of the data processing method provided in the method embodiments of the present application. For brevity, the principles and beneficial effects of the method embodiments will not be described here again.

[0200] Please refer to Figure 6 , Figure 6 The structure diagram of another data processing apparatus provided in the embodiments of the present application is shown in Figure 6 The data processing apparatus shown in the figure can be mounted in a computer device, which can be a terminal device or a server. Figure 6 The data processing apparatus shown in the figure can be used to perform part or all of the functions of the method embodiments described above. Figure 3 Please refer to Figure 6 , the data processing apparatus comprises:

[0201] The processing unit 601 is configured to perform traffic switching processing on the first logical resource generator in response to the completion of resource identifier resetting by the second logical resource generator, the second logical resource generator being obtained by copying the first logical resource generator, the first logical resource generator including resource identifiers that have been allocated in a first range, the first range including a second range and a third range.

[0202] And the data processing apparatus is configured to perform resource identifier resetting on the first logical resource generator after the traffic switching processing to obtain a logical resource generator corresponding to the third range, the logical resource generator corresponding to the third range including resource identifiers that have been allocated in the third range.

[0203] The deployment unit 602 is configured to deploy the logical resource generator corresponding to the third range in the third range.

[0204] The processing unit 601 is further configured to manage resource identifiers of objects in the third range through the logical resource generator corresponding to the third range.

[0205] In an implementation, the logical resource generator corresponding to the third range includes a resource identifier manager, the resource identifier manager carrying first division information, the first division information being used to indicate that the second range and the third range are not isolated from each other.

[0206] The processing unit 601 is further configured to perform division mode resetting on the resource identifier manager to obtain a logically reset resource identifier manager, the logically reset resource identifier manager carrying second division information, the second division information being used to indicate that the second range and the third range are isolated from each other.

[0207] In an embodiment, the resource identifier manager carries boundary indication information, the boundary indication information being used to indicate a boundary between the resource identifiers that have been applied for and the resource identifiers that have not been applied for in the first range; the processing unit 601 is further configured to:

[0208] obtain a resource identifier request, the resource identifier request including a quantity of resource identifiers applied for;

[0209] in response to the resource identifier request passing verification, determine a resource identifier reservation interval corresponding to the resource identifier request based on the quantity of resource identifiers and the boundary indication information;

[0210] issue resource identifiers to the resource identifier request party according to the resource identifier reservation interval, and generate response information of the resource identifier request; the response information including an interval of the resource identifiers issued by the resource identifier manager.

[0211] In an embodiment, the processing unit 601 is configured to obtain a resource identifier request, and specifically configured to:

[0212] periodically detect the blockchain;

[0213] when detecting that the resource identifier request is included in a new block, obtain the resource identifier request from the blockchain network.

[0214] In an embodiment, the logical resource generator corresponding to the third range includes the resource identifier manager; the processing unit 601 is further configured to:

[0215] persist the association information of the resource identifier manager to obtain a resource identifier management record;

[0216] The association information of the resource identifier manager includes at least one of the following: the response information of the resource identifier request, an identifier of the sender of the resource identifier request, and a reservation space corresponding to the resource identifier request; the resource identifier management record is used to assist the resource identifier manager in determining the management situation of the resource identifiers in the first range after being restarted.

[0217] In an embodiment, the first logical resource generator is set to a write-prohibited state before being copied; the processing unit 601 is further configured to:

[0218] set the logical resource generator corresponding to the third range to a write-allowed state.

[0219] According to an embodiment of the present application, Figure 3 part of the steps involved in the data processing method shown can be performed by Figure 6 each unit in the data processing apparatus shown. For example, Figure 3 the step S301, the step S302 and the step S304 shown in Figure 6 The processing unit 601 shown performs, step S303 can be performed by Figure 6 The deployment unit 602 shown performs. Figure 6 The various units in the data processing apparatus shown can be respectively or all combined into one or several other units to constitute, or some of the units can be further split into a plurality of units that are functionally smaller to constitute, which can achieve the same operation without affecting the implementation of the technical effects of the embodiments of the present application. The above units are divided based on logical functions, and in actual applications, the functions of a unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the data processing apparatus can also include other units, and in actual applications, these functions can also be assisted by other units, and can be implemented by multiple units in cooperation.

[0220] According to another embodiment of the present application, the data processing apparatus as shown in Figure 3 , the data processing apparatus can be constructed, and the data processing method of the embodiments of the present application can be implemented, by running a computer program (including program codes) capable of performing the steps involved in the corresponding method as shown in Figure 6 . The computer program can be recorded on, for example, a computer readable recording medium, and loaded into the above computing device through the computer readable recording medium, and run therein.

[0221] Based on the same inventive concept, the principles and beneficial effects of the data processing apparatus provided in the embodiments of the present application for solving problems are similar to those of the data processing method in the method embodiments of the present application. For brevity, the principles and beneficial effects of the method are not described here.

[0222] Please refer to Figure 7 , Figure 7 The structure of a computer device provided in the embodiments of the present application is shown in the structural schematic diagram of the computer device, which can be a terminal device or a server. As shown in Figure 7 As shown, the computer device at least includes a processor 701, a communication interface 702 and a memory 703. Among them, the processor 701, the communication interface 702 and the memory 703 can be connected through a bus or other means. Among them, the processor 701 (or called Central Processing Unit (CPU)) is the computing core and control core of the computer device, which can parse various instructions in the computer device and process various data of the computer device, for example: the CPU can be used to parse the on-off instruction issued by the object to the computer device, and control the computer device to perform the on-off operation; for example: the CPU can transmit various interactive data between the internal structures of the computer device, and the like. The communication interface 702 can optionally include a standard wired interface, a wireless interface (such as WI-FI, a mobile communication interface, etc.), which can be controlled by the processor 701 to receive and transmit data; the communication interface 702 can also be used for internal data transmission and interaction of the computer device. The memory 703 is a memory device in the computer device, used to store programs and data. It can be understood that the memory 703 here can include the built-in memory of the computer device, and of course can also include the expansion memory supported by the computer device. The memory 703 provides a storage space, which stores the operating system of the computer device, which can include but is not limited to: Android system, iOS system, Windows Phone system, etc., and the present application does not make any limitation thereto.

[0223] The embodiment of the present application also provides a computer readable storage medium (Memory), which is a memory device in the computer device, used to store programs and data. It can be understood that the computer readable storage medium here can include the built-in storage medium in the computer device, and of course can also include the expansion storage medium supported by the computer device. The computer readable storage medium provides a storage space, which stores the processing system of the computer device. And in the storage space, there is also stored a computer program suitable for being loaded and executed by the processor 701. It should be noted that the computer readable storage medium here can be a high-speed RAM memory, or a non-volatile memory, for example, at least one disk memory; optionally, it can also be at least one computer readable storage medium located away from the aforementioned processor.

[0224] In one embodiment, the processor 701 executes the following operations by running the computer program in the memory 703:

[0225] copying the first logical resource generator to obtain a second logical resource generator, the first logical resource generator and the second logical resource generator both including the allocated resource identifiers in the first range, the first range including a second range and a third range;

[0226] resetting the resource identifiers of the second logical resource generator to obtain a second-range corresponding logical resource generator, the second-range corresponding logical resource generator including the allocated resource identifiers in the second range;

[0227] deploying the second-range corresponding logical resource generator in the second range, and establishing a connection between the objects in the second range and the second-range corresponding logical resource generator;

[0228] managing the resource identifiers of the objects in the second range through the second-range corresponding logical resource generator.

[0229] As an optional embodiment, the specific embodiment of the processor 701 copying the first logical resource generator to obtain a second logical resource generator is as follows:

[0230] configuring an initial logical resource generator based on the configuration information;

[0231] copying the data directory in the first logical resource generator into the initial logical resource generator to obtain a second logical resource generator, the data directory including the allocated resource identifiers in the first range.

[0232] As an optional embodiment, the second-range corresponding logical resource generator includes a resource identifier configurator; and the specific embodiment of the processor 701 managing the resource identifiers of the objects in the second range through the second-range corresponding logical resource generator is as follows:

[0233] periodically detecting the allocable resource identifiers associated with the second range;

[0234] when detecting that the allocable resource identifiers associated with the second range meet the resource identifier application condition, sending a resource identifier request to the resource identifier manager through the resource identifier configurator, the resource identifier request being used to apply for a new resource identifier;

[0235] wherein the resource identifier application condition includes at least one of the following: the number of the current remaining allocable resource identifiers is lower than a number threshold, and the current resource identifier expectation value reaches an expectation threshold; the resource identifier expectation value is obtained based on detection results of at least two allocable resource identifiers.

[0236] As an optional embodiment, the resource identifier manager is not in the second range; when it is detected that the allocable resource identifier associated with the second range meets the resource identifier application condition, the processor 701 sends a resource identifier request to the resource identifier manager through the resource identifier configurator, and a specific embodiment is as follows:

[0237] When it is detected that the allocable resource identifier associated with the second range meets the resource identifier application condition, the resource identifier request is processed upward through the resource identifier configurator, so that the resource identifier manager performs resource identifier reservation based on the resource identifier request in the blockchain network.

[0238] As an optional embodiment, the processor 701 further performs the following operations by running the computer program in the memory 703:

[0239] Obtain response information of the resource identifier request, and the response information includes an interval of the allocable resource identifier issued by the resource identifier manager;

[0240] Based on the interval of the allocable resource identifier issued by the resource identifier manager, update the allocable resource identifier associated with the second range.

[0241] As an optional embodiment, the logical resource generator corresponding to the second range includes the resource identifier configurator; the objects in the second range include an operation support system and at least one cluster; and a specific embodiment in which the processor 701 manages the resource identifier of the objects in the second range through the logical resource generator corresponding to the second range is as follows:

[0242] When it is detected that the demand information in the second range, call the resource identifier configurator to allocate the allocable resource identifier associated with the second range according to the demand information;

[0243] The demand information includes a cluster identifier demand and a space identifier demand; the cluster identifier demand is generated by the operation support system when a new cluster is created in the second range; and the space identifier demand is generated by a data storage engine carried by any cluster in the second range when the space of the cluster is insufficient.

[0244] As an optional embodiment, the logical resource generator corresponding to the second range includes the resource identifier configurator; and the processor 701 further performs the following operations by running the computer program in the memory 703:

[0245] Persist the association information of the resource identifier configurator to obtain a resource identifier configuration record;

[0246] The association information of the resource identifier configuration device includes at least one of the following: an applied resource identifier, an allocated resource identifier, and an unallocated resource identifier; and the resource identifier configuration record is used to assist the resource identifier configuration device in determining the configuration of the resource identifier in the second range after restart.

[0247] As an optional embodiment, the processor 701 performs resource identifier resetting on the second logical resource generator, and the specific embodiment of the second range corresponding logical resource generator is:

[0248] starting the second logical resource generator;

[0249] removing the allocated resource identifiers in the first range except for the allocated resource identifiers in the second range, to obtain the second range corresponding logical resource generator.

[0250] In another embodiment, the processor 701 executes the computer program in the memory 703 to perform the following operations:

[0251] in response to the second logical resource generator completing the resource identifier resetting, performing traffic switching processing on the first logical resource generator; the second logical resource generator is obtained by copying the first logical resource generator; the first logical resource generator includes the allocated resource identifiers in the first range, and the first range includes the second range and a third range;

[0252] performing resource identifier resetting on the first logical resource generator after the traffic switching processing, to obtain a third range corresponding logical resource generator, and the third range corresponding logical resource generator includes the allocated resource identifiers in the third range;

[0253] deploying the third range corresponding logical resource generator in the third range;

[0254] managing the resource identifiers of the objects in the third range through the third range corresponding logical resource generator.

[0255] As an optional embodiment, the third range corresponding logical resource generator includes a resource identifier manager, the resource identifier manager carries first division information, and the first division information is used to indicate that the second range and the third range are not isolated from each other; and the processor 701 executes the computer program in the memory 703 to further perform the following operations:

[0256] performing division mode resetting on the resource identifier manager, to obtain a logically reset resource identifier manager; the logically reset resource identifier manager carries second division information, and the second division information is used to indicate that the second range and the third range are isolated from each other.

[0257] As an optional embodiment, the resource identifier manager carries boundary indication information, the boundary indication information being used to indicate the boundary between the applied resource identifiers and the unapplied resource identifiers in the first range; the processor 701 further performs the following operations by running the computer program in the memory 703:

[0258] obtaining a resource identifier request, the resource identifier request including the number of resource identifiers to be applied for;

[0259] in response to the resource identifier request passing the verification, determining a resource identifier reservation interval corresponding to the resource identifier request based on the number of resource identifiers and the boundary indication information;

[0260] issuing resource identifiers to the resource identifier request party according to the resource identifier reservation interval, and generating response information of the resource identifier request; the response information including the interval of the resource identifiers issued by the resource identifier manager.

[0261] As an optional embodiment, the processor 701 obtains the specific embodiment of the resource identifier request, which is:

[0262] periodically detecting the blockchain;

[0263] when detecting that the resource identifier request is included in the new block, obtaining the resource identifier request from the blockchain network.

[0264] As an optional embodiment, the logical resource generator corresponding to the third range includes the resource identifier manager; the processor 701 further performs the following operations by running the computer program in the memory 703:

[0265] persistently processing the associated information of the resource identifier manager to obtain a resource identifier management record;

[0266] The associated information of the resource identifier manager includes at least one of the following: the response information of the resource identifier request, the identifier of the sender of the resource identifier request, and the reservation space corresponding to the resource identifier request; the resource identifier management record is used to assist the resource identifier manager to determine the management situation of the resource identifiers in the first range after restart.

[0267] As an optional embodiment, the first logical resource generator is set to the write-prohibited state before being copied; the processor 701 further performs the following operations by running the computer program in the memory 703:

[0268] setting the logical resource generator corresponding to the third range to the write-allowed state.

[0269] Based on the same inventive concept, the computer device provided in the embodiments of the present application has similar principles and beneficial effects to the principles and beneficial effects of the data processing method of the method embodiments of the present application. For brevity, the principles and beneficial effects of the method embodiments are not described here again.

[0270] The embodiments of the present application also provide a computer readable storage medium, which stores a computer program. The computer program is suitable for being loaded by a processor and performing the data processing method of the method embodiments.

[0271] The embodiments of the present application also provide a computer program product or a computer program, which includes computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device performs the data processing method.

[0272] The steps in the method embodiments of the present application can be adjusted in sequence, combined and deleted according to actual needs.

[0273] The modules in the device embodiments of the present application can be combined, divided and deleted according to actual needs.

[0274] In the embodiments of the present application, the "module" or "unit" refers to a computer program or a part of a computer program with a predetermined function, and works with other related parts to achieve a predetermined target, and can be implemented entirely or partially by using software, hardware (such as a processing circuit or a memory) or a combination thereof. Similarly, one processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be a part of an overall module or unit that includes the functions of the module or unit.

[0275] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by a program instructing related hardware, and the program can be stored in a computer readable storage medium, which can include a flash disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0276] The above only discloses a preferred embodiment of the present application, and of course cannot limit the scope of the rights of the present application. Those of ordinary skill in the art can understand that the implementation of all or part of the above embodiments, and the equivalent changes made according to the claims of the present application, still belong to the scope covered by the application.< / clusterrange> < / spacerange>

Claims

1. A data processing method, characterized by, The method comprises: copying a first logical resource generator to obtain a second logical resource generator, wherein the first logical resource generator and the second logical resource generator each comprise a resource identifier allocated in a first range, and the first range comprises a second range and a third range; resetting the resource identifier of the second logical resource generator to obtain a logical resource generator corresponding to the second range, wherein the logical resource generator corresponding to the second range comprises a resource identifier allocated in the second range; deploying the logical resource generator corresponding to the second range in the second range, and establishing a connection between an object in the second range and the logical resource generator corresponding to the second range; managing the resource identifier of the object in the second range through the logical resource generator corresponding to the second range.

2. The method of claim 1, wherein, The copying of the first logical resource generator to obtain the second logical resource generator comprises: configuring an initial logical resource generator based on configuration information; copying a data directory in the first logical resource generator into the initial logical resource generator to obtain the second logical resource generator, wherein the data directory comprises a resource identifier allocated in the first range.

3. The method of claim 1, wherein, The logical resource generator corresponding to the second range comprises a resource identifier configurator, and the management of the resource identifier of the object in the second range through the logical resource generator corresponding to the second range comprises: periodically detecting an allocable resource identifier associated with the second range; when it is detected that the allocable resource identifier associated with the second range meets a resource identifier application condition, sending, through the resource identifier configurator, a resource identifier request to a resource identifier manager, wherein the resource identifier request is used to apply for a new resource identifier; wherein the resource identifier application condition comprises at least one of the following: the number of currently remaining allocable resource identifiers is lower than a number threshold, and a current resource identifier expectation value reaches an expectation threshold; the resource identifier expectation value is obtained based on detection results of at least two allocable resource identifiers.

4. The method of claim 3, wherein, The resource identifier manager is not in the second range, and when it is detected that the allocable resource identifier associated with the second range meets the resource identifier application condition, the sending of the resource identifier request to the resource identifier manager through the resource identifier configurator comprises: when it is detected that the allocable resource identifier associated with the second range meets the resource identifier application condition, performing on-chain processing on the resource identifier request through the resource identifier configurator, so that the resource identifier manager performs resource identifier reservation based on resource identifier requests in a blockchain network.

5. The method of claim 3, wherein, The method further comprises: obtaining response information of the resource identifier request, wherein the response information comprises an interval of an allocable resource identifier issued by the resource identifier manager; updating the allocable resource identifier associated with the second range based on the interval of the allocable resource identifier issued by the resource identifier manager.

6. The method of claim 1, wherein, The second range corresponding logical resource generator comprises a resource identifier configurator; the objects in the second range comprise an operation support system and at least one cluster; the resource identifier of the objects in the second range is managed by the second range corresponding logical resource generator, comprising: When detecting the demand information in the second range, the resource identifier configurator is called to allocate the allocable resource identifier associated with the second range according to the demand information; The demand information comprises a cluster identifier demand and a space identifier demand; the cluster identifier demand is generated by the operation support system when a new cluster is created in the second range; the space identifier demand is generated by a data storage engine carried by any cluster in the second range when the space of the cluster is insufficient.

7. The method of claim 1, wherein, The second range corresponding logical resource generator comprises a resource identifier configurator; the method further comprises: The associated information of the resource identifier configurator is persisted to obtain a resource identifier configuration record; The associated information of the resource identifier configurator comprises at least one of the following: an applied resource identifier, an allocated resource identifier and an unallocated resource identifier; the resource identifier configuration record is used to assist the resource identifier configurator to determine the configuration of the resource identifier in the second range after restart.

8. The method of claim 1, wherein, The second logical resource generator is reset for resource identifier to obtain the second range corresponding logical resource generator, comprising: Starting the second logical resource generator; Removing the allocated resource identifiers in the first range except the allocated resource identifiers in the second range to obtain the second range corresponding logical resource generator.

9. A data processing method, characterized by, The method comprises: In response to the completion of resource identifier resetting of the second logical resource generator, the first logical resource generator is processed for traffic switching; the second logical resource generator is obtained by copying the first logical resource generator; the first logical resource generator comprises the allocated resource identifiers in the first range, and the first range comprises the second range and a third range; The first logical resource generator processed for traffic switching is reset for resource identifier to obtain the third range corresponding logical resource generator, and the third range corresponding logical resource generator comprises the allocated resource identifiers in the third range; The third range corresponding logical resource generator is deployed in the third range; The resource identifier of the objects in the third range is managed by the third range corresponding logical resource generator.

10. The method of claim 9, wherein, The third range corresponding logical resource generator comprises a resource identifier manager, and the resource identifier manager carries first division information; the first division information is used to indicate that the second range and the third range are not isolated from each other; the method further comprises: The resource identifier manager is reset for division mode to obtain a logically reset resource identifier manager; the logically reset resource identifier manager carries second division information; the second division information is used to indicate that the second range and the third range are isolated from each other.

11. The method of claim 10, wherein, The resource identifier manager carries boundary indication information, which is used to indicate the boundary between the applied resource identifiers and the unapplied resource identifiers in the first range; the method further comprises: obtaining a resource identifier request, the resource identifier request including the number of resource identifiers to be applied for; in response to the resource identifier request passing the verification, determining the resource identifier reservation interval corresponding to the resource identifier request based on the number of resource identifiers and the boundary indication information; issuing resource identifiers to the resource identifier requestor according to the resource identifier reservation interval, and generating response information of the resource identifier request; the response information includes the interval of the resource identifiers issued by the resource identifier manager.

12. The method of claim 11, wherein, The method further comprises: periodically detecting the blockchain; when detecting that the resource identifier request is included in the new block, obtaining the resource identifier request from the blockchain network.

13. The method of claim 9, wherein, The third range corresponds to a logical resource generator including a resource identifier manager; the method further comprises: persisting the association information of the resource identifier manager to obtain a resource identifier management record; wherein the association information of the resource identifier manager includes at least one of the following: response information of the resource identifier request, identifier of the sender of the resource identifier request, and reservation space corresponding to the resource identifier request; the resource identifier management record is used to assist the resource identifier manager in determining the management of the resource identifiers in the first range after restart.

14. The method of claim 9, wherein, The first logical resource generator is set to a write-prohibited state before being copied; the method further comprises: setting the logical resource generator corresponding to the third range to a write-allowed state.

15. A data processing apparatus, characterized by: The data processing apparatus comprises: a processing unit configured to copy a first logical resource generator to obtain a second logical resource generator, the first logical resource generator and the second logical resource generator each including resource identifiers allocated in a first range, the first range including a second range and a third range; and configured to reset resource identifiers of the second logical resource generator to obtain a logical resource generator corresponding to the second range, the logical resource generator corresponding to the second range including resource identifiers allocated in the second range; a deployment unit configured to deploy the logical resource generator corresponding to the second range in the second range, and establish a connection between an object in the second range and the logical resource generator corresponding to the second range; the processing unit is further configured to manage resource identifiers of the object in the second range through the logical resource generator corresponding to the second range.

16. A data processing apparatus, characterized by The data processing apparatus comprises: a processing unit configured to perform traffic switching processing on a first logical resource generator in response to a second logical resource generator completing resource identifier resetting, the second logical resource generator being obtained by copying the first logical resource generator; the first logical resource generator includes resource identifiers allocated in a first range, the first range including a second range and a third range. and the first logical resource generator for processing the cut flow is subjected to resource identification resetting to obtain a third range corresponding logical resource generator, the third range corresponding logical resource generator including the resource identification of the allocated resource in the third range; a deployment unit configured to deploy the third range corresponding logical resource generator in the third range; the processing unit is further configured to manage the resource identification of the object in the third range through the third range corresponding logical resource generator.

17. A computer device, comprising: comprising: a memory, wherein a computer program is stored in the memory; a processor configured to load the computer program to implement the data processing method according to any one of claims 1-8; or to load the computer program to implement the data processing method according to any one of claims 9-14.

18. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is adapted to be loaded by the processor and execute the data processing method according to any one of claims 1-8; or adapted to be loaded by the processor and execute the data processing method according to any one of claims 9-14.

19. A computer program product, characterised in that, The computer program product comprises a computer program, and the computer program is adapted to be loaded by the processor and execute the data processing method according to any one of claims 1-8; or adapted to be loaded by the processor and execute the data processing method according to any one of claims 9-14.